	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iop_adma_clean_slot
_iop_adma_clean_slot:                   ## @iop_adma_clean_slot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$16, %rdi
	callq	_async_tx_test_ack
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	leaq	8(%r15), %rax
	cmpq	%rax, (%rbx)
	je	LBB0_2
## %bb.3:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_list_del
	movq	%rbx, %rdi
	callq	_iop_adma_free_slots
	jmp	LBB0_4
LBB0_2:
	movl	$1, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tfree slot: %d slots_per_op: %d\n"

	.no_dead_strip	_iop_adma_clean_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iop_adma_clean_slot
_iop_adma_clean_slot:                   ; @iop_adma_clean_slot
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #16
	bl	_async_tx_test_ack
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	add	x9, x20, #8
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldp	w3, w2, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	mov	x0, x19
	bl	_list_del
	mov	x0, x19
	bl	_iop_adma_free_slots
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tfree slot: %d slots_per_op: %d\n"

	.no_dead_strip	_iop_adma_clean_slot
.subsections_via_symbols
