	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_free_iod                  ## -- Begin function nvme_free_iod
	.p2align	4, 0x90
_nvme_free_iod:                         ## @nvme_free_iod
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	movq	%rsi, %rdi
	callq	_iod_list
	movq	%r14, %rdi
	movq	%rax, %r14
	movl	(%rdi), %eax
	movl	4(%rdi), %r13d
	testl	%eax, %eax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movl	4(%r15), %edi
	movq	(%r14), %rsi
	movl	%r13d, %edx
	callq	_dma_pool_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %eax
LBB0_2:
	testl	%eax, %eax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_5
## %bb.3:
	sarl	$3, %ebx
	decl	%ebx
	movslq	%ebx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%r12,8), %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rbx,%rax,4), %edi
	callq	_le64_to_cpu
	movq	%r14, %r15
	movl	%eax, %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_dma_pool_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	incq	%r12
	movslq	(%rdi), %rax
	movl	%r14d, %r13d
	movq	%r15, %r14
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_free_iod                  ; -- Begin function nvme_free_iod
	.p2align	2
_nvme_free_iod:                         ; @nvme_free_iod
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w23, w9, w8, lt
	mov	x0, x1
	bl	_iod_list
	mov	x21, x0
	ldp	w8, w22, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	w8, #1
	b.ge	LBB0_3
	b	LBB0_5
LBB0_2:
	ldr	w0, [x20, #4]
	ldr	x1, [x21]
	mov	x2, x22
	bl	_dma_pool_free
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
LBB0_3:
	mov	x25, #0
	asr	w8, w23, #3
	sub	w8, w8, #1
	sxtw	x26, w8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x21, x25, lsl #3]
	ldr	w0, [x23, x26, lsl #2]
	bl	_le64_to_cpu
	mov	x24, x0
	ldr	w0, [x20]
	mov	x1, x23
	mov	x2, x22
	bl	_dma_pool_free
	add	x25, x25, #1
	ldrsw	x8, [x19]
	mov	x22, x24
	cmp	x25, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
