	.file	"extr_virtio_net.c_try_fill_recv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	try_fill_recv, @function
try_fill_recv:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	call	add_recvbuf_big@PLT
	mov	ebx, eax
.L3:
	mov	rdi, QWORD PTR 8[r13]
	test	ebx, ebx
	jne	.L5
.L18:
	cmp	QWORD PTR [rdi], 0
	je	.L5
.L6:
	cmp	QWORD PTR 8[rbp], 0
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	jne	.L16
	cmp	QWORD PTR 0[rbp], 0
	jne	.L17
	call	add_recvbuf_small@PLT
	mov	rdi, QWORD PTR 8[r13]
	mov	ebx, eax
	test	ebx, ebx
	je	.L18
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ebp, DWORD PTR ENOMEM[rip]
	call	virtqueue_kick_prepare@PLT
	test	rax, rax
	jne	.L19
.L8:
	xor	eax, eax
	add	ebx, ebp
	setne	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	call	add_recvbuf_mergeable@PLT
	mov	ebx, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, QWORD PTR 8[r13]
	call	virtqueue_notify@PLT
	test	rax, rax
	je	.L8
	mov	rdi, r13
	call	u64_stats_update_begin@PLT
	add	DWORD PTR 4[r13], 1
	mov	rdi, r13
	call	u64_stats_update_end@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	try_fill_recv, .-try_fill_recv
	.comm	ENOMEM,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_virtio_net.c_try_fill_recv.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	try_fill_recv, %function
try_fill_recv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r1
	mov	r7, r2
	b	.L6
.L17:
	bl	add_recvbuf_big
	mov	r4, r0
.L3:
	cmp	r4, #0
	ldr	r0, [r6, #8]
	bne	.L5
.L18:
	ldr	r4, [r0]
	cmp	r4, #0
	beq	.L5
.L6:
	ldr	r3, [r5, #4]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [r5]
	mov	r2, r7
	cmp	r3, #0
	mov	r1, r6
	mov	r0, r5
	bne	.L17
	bl	add_recvbuf_small
	mov	r4, r0
	cmp	r4, #0
	ldr	r0, [r6, #8]
	beq	.L18
.L5:
	ldr	r3, .L20
	ldr	r5, [r3]
	bl	virtqueue_kick_prepare
	cmp	r0, #0
	bne	.L19
.L8:
	cmn	r4, r5
	movne	r0, #1
	moveq	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	add_recvbuf_mergeable
	mov	r4, r0
	b	.L3
.L19:
	ldr	r0, [r6, #8]
	bl	virtqueue_notify
	cmp	r0, #0
	beq	.L8
	mov	r0, r6
	bl	u64_stats_update_begin
	ldr	r3, [r6, #4]
	mov	r0, r6
	add	r3, r3, #1
	str	r3, [r6, #4]
	bl	u64_stats_update_end
	b	.L8
.L21:
	.align	2
.L20:
	.word	ENOMEM
	.size	try_fill_recv, .-try_fill_recv
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
