	.file	"extr_Network.c_RecvAllWithDiscard.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	RecvAllWithDiscard
	.type	RecvAllWithDiscard, @function
RecvAllWithDiscard:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L14
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rsi, rsi
	je	.L5
	mov	rbx, QWORD PTR [rdi]
	mov	rbp, rdi
	test	rbx, rbx
	jne	.L2
	mov	r12d, edx
	lea	r13, buffer.1936[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	cmp	QWORD PTR SOCK_LATER[rip], rax
	je	.L2
	add	rbx, rax
	cmp	r14, rbx
	jle	.L5
.L6:
	mov	rdi, r14
	mov	esi, 16384
	sub	rdi, rbx
	call	MIN@PLT
	mov	ecx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	mov	rdx, rax
	call	Recv@PLT
	test	rax, rax
	jne	.L19
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	RecvAllWithDiscard, .-RecvAllWithDiscard
	.local	buffer.1936
	.comm	buffer.1936,16384,32
	.comm	SOCK_LATER,8,8
	.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_Network.c_RecvAllWithDiscard.c"
	.text
	.align	2
	.global	RecvAllWithDiscard
	.syntax unified
	.arm
	.fpu softvfp
	.type	RecvAllWithDiscard, %function
RecvAllWithDiscard:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r6, r0, #0
	beq	.L2
	cmp	r1, #0
	mov	r5, r1
	beq	.L5
	ldr	r4, [r6]
	cmp	r4, #0
	bne	.L2
	mov	r7, r2
	ldr	r8, .L16
	ldr	r9, .L16+4
	b	.L6
.L15:
	ldr	r3, [r9]
	cmp	r3, r0
	beq	.L2
	cmp	r5, r4
	ble	.L5
.L6:
	mov	r1, #16384
	sub	r0, r5, r4
	bl	MIN
	mov	r3, r7
	mov	r2, r0
	mov	r1, r8
	mov	r0, r6
	bl	Recv
	cmp	r0, #0
	add	r4, r4, r0
	bne	.L15
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	buffer.4220
	.word	SOCK_LATER
	.size	RecvAllWithDiscard, .-RecvAllWithDiscard
	.comm	SOCK_LATER,4,4
	.bss
	.align	2
	.type	buffer.4220, %object
	.size	buffer.4220, 16384
buffer.4220:
	.space	16384
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
