	.file	"extr_virtqueue.c_virtqueue_free_indirect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	virtqueue_free_indirect, @function
virtqueue_free_indirect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L2
	xor	ebp, ebp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR M_DEVBUF[rip]
	add	rbp, 1
	call	free@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	cmp	DWORD PTR [r12], ebp
	jle	.L2
.L3:
	mov	rbx, rbp
	sal	rbx, 4
	add	rbx, QWORD PTR 24[r12]
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	jne	.L10
.L2:
	mov	eax, DWORD PTR VIRTQUEUE_FLAG_INDIRECT[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 8[r12], 0
	pop	rbp
	.cfi_def_cfa_offset 16
	not	eax
	and	DWORD PTR 16[r12], eax
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	virtqueue_free_indirect, .-virtqueue_free_indirect
	.comm	VIRTQUEUE_FLAG_INDIRECT,4,4
	.comm	M_DEVBUF,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_virtqueue.c_virtqueue_free_indirect.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	virtqueue_free_indirect, %function
virtqueue_free_indirect:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r3, #0
	mov	r7, r0
	ble	.L2
	mov	r4, #0
	ldr	r9, .L11
	mov	r8, r4
	b	.L3
.L10:
	ldr	r1, [r9]
	bl	free
	ldr	r3, [r7]
	str	r8, [r6, #4]
	str	r8, [r5, r4, lsl #3]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L2
.L3:
	ldr	r5, [r7, #12]
	add	r6, r5, r4, lsl #3
	ldr	r0, [r6, #4]
	cmp	r0, #0
	bne	.L10
.L2:
	mov	r1, #0
	ldr	r2, .L11+4
	ldr	r3, [r7, #8]
	ldr	r2, [r2]
	str	r1, [r7, #4]
	bic	r3, r3, r2
	str	r3, [r7, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	M_DEVBUF
	.word	VIRTQUEUE_FLAG_INDIRECT
	.size	virtqueue_free_indirect, .-virtqueue_free_indirect
	.comm	VIRTQUEUE_FLAG_INDIRECT,4,4
	.comm	M_DEVBUF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
