	.file	"extr_bfa_fcpim.c_bfa_ioim_free.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfa_ioim_free
	.type	bfa_ioim_free, @function
bfa_ioim_free:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR [rdi]
	mov	rbp, QWORD PTR 32[rdi]
	test	rdx, rdx
	jle	.L2
	lea	rsi, 20[rdi]
	mov	edi, DWORD PTR 24[rdi]
	call	bfa_sgpg_mfree@PLT
.L2:
	mov	esi, DWORD PTR io_comps[rip]
	mov	edi, DWORD PTR 16[rbx]
	call	bfa_stats@PLT
	mov	rcx, QWORD PTR 0[rbp]
	sub	DWORD PTR 8[rbp], 1
	xor	edi, edi
	mov	eax, DWORD PTR 12[rbx]
	and	eax, DWORD PTR BFA_IOIM_IOTAG_MASK[rip]
	mov	edx, DWORD PTR [rcx]
	add	edx, DWORD PTR 12[rcx]
	mov	DWORD PTR 12[rbx], eax
	cmp	eax, edx
	setge	dil
	call	WARN_ON@PLT
	mov	esi, DWORD PTR 12[rbx]
	mov	rdi, QWORD PTR 0[rbp]
	call	BFA_IOTAG_FROM_TAG@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, rax
	mov	eax, DWORD PTR 12[rsi]
	cmp	DWORD PTR 12[rbx], eax
	jge	.L3
	add	rsi, 8
	call	list_add_tail@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, 8[rbx]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	list_del@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	add	rsi, 4
	call	list_add_tail@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, 8[rbx]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	list_del@PLT
	.cfi_endproc
.LFE0:
	.size	bfa_ioim_free, .-bfa_ioim_free
	.comm	io_comps,4,4
	.comm	BFA_IOIM_IOTAG_MASK,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_bfa_fcpim.c_bfa_ioim_free.c"
	.text
	.align	2
	.global	bfa_ioim_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_ioim_free, %function
bfa_ioim_free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	push	{r4, r5, r6, lr}
	cmp	r2, #0
	mov	r4, r0
	ldr	r5, [r0, #24]
	ble	.L2
	add	r1, r0, #16
	ldr	r0, [r0, #20]
	bl	bfa_sgpg_mfree
.L2:
	ldr	r3, .L7
	ldr	r0, [r4, #12]
	ldr	r1, [r3]
	bl	bfa_stats
	ldr	r3, .L7+4
	ldr	r1, [r5]
	ldr	r0, [r3]
	ldr	r3, [r4, #8]
	ldr	r2, [r5, #4]
	and	r3, r3, r0
	ldr	r0, [r1, #12]
	ldr	r1, [r1]
	sub	r2, r2, #1
	add	r0, r0, r1
	cmp	r3, r0
	str	r2, [r5, #4]
	movlt	r0, #0
	str	r3, [r4, #8]
	movge	r0, #1
	bl	WARN_ON
	ldr	r1, [r4, #8]
	ldr	r0, [r5]
	bl	BFA_IOTAG_FROM_TAG
	ldr	r1, [r5]
	ldr	r2, [r4, #8]
	ldr	r3, [r1, #12]
	cmp	r2, r3
	addlt	r1, r1, #8
	addge	r1, r1, #4
	bl	list_add_tail
	add	r0, r4, #4
	pop	{r4, r5, r6, lr}
	b	list_del
.L8:
	.align	2
.L7:
	.word	io_comps
	.word	BFA_IOIM_IOTAG_MASK
	.size	bfa_ioim_free, .-bfa_ioim_free
	.comm	io_comps,4,4
	.comm	BFA_IOIM_IOTAG_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
