	.file	"extr_iop-adma.c_iop_adma_clean_slot.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"\tfree slot: %d slots_per_op: %d\n"
	.text
	.p2align 4
	.type	iop_adma_clean_slot, @function
iop_adma_clean_slot:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	add	rdi, 16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	async_tx_test_ack@PLT
	test	eax, eax
	je	.L1
	lea	rdx, 8[rbx]
	mov	eax, 1
	cmp	QWORD PTR 0[rbp], rdx
	je	.L1
	mov	rax, QWORD PTR [rbx]
	mov	ecx, DWORD PTR 8[rbp]
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR 12[rbp]
	mov	edi, DWORD PTR [rax]
	call	dev_dbg@PLT
	mov	rdi, rbp
	call	list_del@PLT
	mov	rdi, rbp
	call	iop_adma_free_slots@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	iop_adma_clean_slot, .-iop_adma_clean_slot
	.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_iop-adma.c_iop_adma_clean_slot.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\011free slot: %d slots_per_op: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iop_adma_clean_slot, %function
iop_adma_clean_slot:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r0, r0, #12
	mov	r5, r1
	bl	async_tx_test_ack
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r2, [r4]
	add	r3, r5, #4
	cmp	r2, r3
	beq	.L3
	ldr	r2, [r5]
	ldr	r3, [r4, #4]
	ldr	r1, .L9
	ldr	r0, [r2]
	ldr	r2, [r4, #8]
	bl	dev_dbg
	mov	r0, r4
	bl	list_del
	mov	r0, r4
	bl	iop_adma_free_slots
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	iop_adma_clean_slot, .-iop_adma_clean_slot
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
