	.file	"extr_buffer.c_recvraw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	recvraw, @function
recvraw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rdx
	lea	r15, 24[rsp]
	lea	r14, 32[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	DWORD PTR IO_DONE[rip], r13d
	jne	.L1
.L3:
	mov	rdx, r15
	mov	rsi, r14
	mov	edi, r12d
	call	buffer_get@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbp
	sub	rsi, rbx
	mov	r13d, eax
	call	MIN@PLT
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, rax
	mov	QWORD PTR 24[rsp], rax
	call	luaL_addlstring@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	edi, r12d
	call	buffer_skip@PLT
	add	rbx, QWORD PTR 24[rsp]
	cmp	rbp, rbx
	ja	.L9
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	recvraw, .-recvraw
	.comm	IO_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_buffer.c_recvraw.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	recvraw, %function
recvraw:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L11
	sub	sp, sp, #20
	mov	r7, r0
	mov	r6, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, #0
	ldr	r9, .L11+4
	b	.L3
.L9:
	ldr	r3, [r9]
	cmp	r3, r5
	bne	.L1
.L3:
	add	r2, sp, #4
	add	r1, sp, #8
	mov	r0, r7
	bl	buffer_get
	sub	r1, r6, r4
	mov	r5, r0
	ldr	r0, [sp, #4]
	bl	MIN
	mov	r2, r0
	ldr	r1, [sp, #8]
	mov	r0, r8
	str	r2, [sp, #4]
	bl	luaL_addlstring
	mov	r0, r7
	ldr	r1, [sp, #4]
	bl	buffer_skip
	ldr	r3, [sp, #4]
	add	r4, r4, r3
	cmp	r6, r4
	bhi	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	IO_DONE
	.size	recvraw, .-recvraw
	.comm	IO_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
