	.file	"extr_bfa_fcpim.c_bfa_ioim_notify_cleanup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfa_ioim_notify_cleanup, @function
bfa_ioim_notify_cleanup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, 16[rdi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	list_del@PLT
	mov	rax, QWORD PTR 24[rbx]
	mov	rdi, rbp
	lea	rsi, 8[rax]
	call	list_add_tail@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	bfa_wc_down@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	cmp	QWORD PTR [rax], 0
	je	.L3
	cmp	QWORD PTR 8[rdi], 0
	jne	.L7
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	bfa_itnim_iodone@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, 20[rbx]
	call	bfa_cb_dequeue@PLT
	mov	rdi, rbp
	call	list_del@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, rbp
	call	list_add_tail@PLT
	mov	rdi, QWORD PTR 8[rbx]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	bfa_ioim_notify_cleanup, .-bfa_ioim_notify_cleanup
	.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_notify_cleanup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_ioim_notify_cleanup, %function
bfa_ioim_notify_cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r5, r0, #8
	mov	r0, r5
	bl	list_del
	ldr	r1, [r4, #16]
	mov	r0, r5
	add	r1, r1, #4
	bl	list_add_tail
	ldr	r3, [r4]
	ldr	r0, [r3]
	cmp	r0, #0
	beq	.L12
	pop	{r4, r5, r6, lr}
	b	bfa_wc_down
.L12:
	ldr	r3, [r4, #16]
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L13
.L3:
	pop	{r4, r5, r6, lr}
	b	bfa_itnim_iodone
.L13:
	add	r0, r4, #12
	bl	bfa_cb_dequeue
	mov	r0, r5
	bl	list_del
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	list_add_tail
	ldr	r0, [r4, #4]
	b	.L3
	.size	bfa_ioim_notify_cleanup, .-bfa_ioim_notify_cleanup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
