	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_clear_changed_ns_log
_nvme_clear_changed_ns_log:             ## @nvme_clear_changed_ns_log
	.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	%rdi, %r14
	movq	_NVME_MAX_CHANGED_NAMESPACES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	shlq	$2, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movq	_NVME_NSID_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NVME_LOG_CHANGED_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movq	%rbx, %r9
	callq	_nvme_get_log
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
LBB0_3:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_MAX_CHANGED_NAMESPACES,4,2 ## @NVME_MAX_CHANGED_NAMESPACES
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_NVME_NSID_ALL,4,2              ## @NVME_NSID_ALL
	.comm	_NVME_LOG_CHANGED_NS,4,2        ## @NVME_LOG_CHANGED_NS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading changed ns log failed: %d\n"

	.no_dead_strip	_nvme_clear_changed_ns_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_clear_changed_ns_log
_nvme_clear_changed_ns_log:             ; @nvme_clear_changed_ns_log
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _NVME_MAX_CHANGED_NAMESPACES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_MAX_CHANGED_NAMESPACES@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	lsl	x21, x8, #2
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x8, _NVME_NSID_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_NSID_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _NVME_LOG_CHANGED_NS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NVME_LOG_CHANGED_NS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	x4, x20
	mov	x5, x21
	mov	w6, #0
	bl	_nvme_get_log
	cbz	w0, LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_MAX_CHANGED_NAMESPACES,4,2 ; @NVME_MAX_CHANGED_NAMESPACES
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_NVME_NSID_ALL,4,2              ; @NVME_NSID_ALL
	.comm	_NVME_LOG_CHANGED_NS,4,2        ; @NVME_LOG_CHANGED_NS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading changed ns log failed: %d\n"

	.no_dead_strip	_nvme_clear_changed_ns_log
.subsections_via_symbols
