	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_revalidate_disk
_nvme_revalidate_disk:                  ## @nvme_revalidate_disk
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	16(%rbx), %r14
	movq	_NVME_NS_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_capacity
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_nvme_identify_ns
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	-48(%rbp), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	callq	___nvme_revalidate_disk
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	_nvme_report_ns_ids
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	leaq	-40(%rbp), %rsi
	callq	_nvme_ns_ids_equal
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movl	(%r14), %edi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_8:
	movq	-48(%rbp), %rdi
	callq	_kfree
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %eax
	addl	%r15d, %eax
	je	LBB0_14
## %bb.10:
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.12:
	movq	_NVME_SC_DNR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_14
## %bb.13:
	movl	%r15d, %edi
	callq	_nvme_error_status
	movl	%eax, %edi
	callq	_blk_status_to_errno
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_11:
	movl	%r15d, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_NS_DEAD,4,2               ## @NVME_NS_DEAD
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"identifiers changed for nsid %d\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NVME_SC_DNR,4,2                ## @NVME_SC_DNR
	.no_dead_strip	_nvme_revalidate_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_revalidate_disk
_nvme_revalidate_disk:                  ; @nvme_revalidate_disk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	ldr	x22, [x0]
	ldr	x19, [x22, #16]
Lloh0:
	adrp	x8, _NVME_NS_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_NS_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x22, #8
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	bl	_set_capacity
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_2:
	ldr	x8, [x22]
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_nvme_identify_ns
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.3:
	ldr	x1, [sp, #8]
	ldr	x8, [x1]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	___nvme_revalidate_disk
	ldr	x8, [x22]
	ldr	w1, [x8]
	ldr	x2, [sp, #8]
	mov	x3, sp
	mov	x0, x19
	bl	_nvme_report_ns_ids
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	x8, [x22]
	add	x0, x8, #4
	mov	x1, sp
	bl	_nvme_ns_ids_equal
	cbz	w0, LBB0_7
; %bb.6:
	mov	w20, #0
	b	LBB0_9
LBB0_7:
	ldr	w0, [x19]
	ldr	x8, [x22]
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_8:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	ldr	x0, [sp, #8]
	bl	_kfree
LBB0_10:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmn	w20, w8
	b.ne	LBB0_12
LBB0_11:
	mov	w20, #0
	b	LBB0_15
LBB0_12:
	cmp	w20, #1
	b.lt	LBB0_15
; %bb.13:
Lloh14:
	adrp	x8, _NVME_SC_DNR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NVME_SC_DNR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.14:
	mov	x0, x20
	bl	_nvme_error_status
	bl	_blk_status_to_errno
	mov	x20, x0
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_NS_DEAD,4,2               ; @NVME_NS_DEAD
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"identifiers changed for nsid %d\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NVME_SC_DNR,4,2                ; @NVME_SC_DNR
	.no_dead_strip	_nvme_revalidate_disk
.subsections_via_symbols
