	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_free_host_mem
_nvme_free_host_mem:                    ## @nvme_free_host_mem
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r15
	movl	4(%r15,%rbx,8), %edi
	callq	_le32_to_cpu
	movq	%rax, %r13
	imulq	32(%r14), %r13
	movl	20(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	24(%r14), %rax
	movl	(%rax,%rbx,4), %r12d
	movl	(%r15,%rbx,8), %edi
	callq	_le64_to_cpu
	movq	_DMA_ATTR_NO_WARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_DMA_ATTR_NO_KERNEL_MAPPING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_dma_free_attrs
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	24(%r14), %rdi
	callq	_kfree
	movq	$0, 24(%r14)
	movl	20(%r14), %edi
	movl	(%r14), %esi
	shll	$3, %esi
	movq	8(%r14), %rdx
	movl	16(%r14), %ecx
	callq	_dma_free_coherent
	movq	$0, 8(%r14)
	movl	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_ATTR_NO_KERNEL_MAPPING,4,2 ## @DMA_ATTR_NO_KERNEL_MAPPING
	.comm	_DMA_ATTR_NO_WARN,4,2           ## @DMA_ATTR_NO_WARN
	.no_dead_strip	_nvme_free_host_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_free_host_mem
_nvme_free_host_mem:                    ; @nvme_free_host_mem
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh0:
	adrp	x25, _DMA_ATTR_NO_KERNEL_MAPPING@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DMA_ATTR_NO_KERNEL_MAPPING@GOTPAGEOFF]
Lloh2:
	adrp	x26, _DMA_ATTR_NO_WARN@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DMA_ATTR_NO_WARN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x27, x8, x23
	ldr	w0, [x27, #4]
	bl	_le32_to_cpu
	ldp	x9, x8, [x19, #24]
	mul	x20, x8, x0
	ldr	w21, [x19, #20]
	ldr	w22, [x9, x24, lsl #2]
	ldr	w0, [x27]
	bl	_le64_to_cpu
	mov	x3, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_dma_free_attrs
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x23, x23, #8
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x0, [x19, #24]
	bl	_kfree
	str	xzr, [x19, #24]
	ldr	w8, [x19]
	lsl	w1, w8, #3
	ldr	x2, [x19, #8]
	ldp	w3, w0, [x19, #16]
	bl	_dma_free_coherent
	str	xzr, [x19, #8]
	str	wzr, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_ATTR_NO_KERNEL_MAPPING,4,2 ; @DMA_ATTR_NO_KERNEL_MAPPING
	.comm	_DMA_ATTR_NO_WARN,4,2           ; @DMA_ATTR_NO_WARN
	.no_dead_strip	_nvme_free_host_mem
.subsections_via_symbols
