	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alt_name_store
_alt_name_store:                        ## @alt_name_store
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_nd_region
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_nd_device_lock
	movq	%rbx, %rdi
	callq	_nvdimm_bus_lock
	movq	%rbx, %rdi
	callq	_wait_nvdimm_bus_probe_idle
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	___alt_name_store
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nd_namespace_label_update
LBB0_2:
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rdx
	cmovsq	%rcx, %rdx
	leaq	L_.str(%rip), %rsi
	cmovsq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rcx
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_nvdimm_bus_unlock
	movq	%rbx, %rdi
	callq	_nd_device_unlock
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(%zd)\n"

L_.str.1:                               ## @.str.1
	.asciz	"fail "

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_alt_name_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alt_name_store
_alt_name_store:                        ; @alt_name_store
	.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	x20, x3
	mov	x22, x2
	mov	x19, x0
	ldr	w0, [x0]
	bl	_to_nd_region
	mov	x21, x0
	mov	x0, x19
	bl	_nd_device_lock
	mov	x0, x19
	bl	_nvdimm_bus_lock
	mov	x0, x19
	bl	_wait_nvdimm_bus_probe_idle
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	___alt_name_store
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_nd_namespace_label_update
LBB0_2:
	mov	x3, x0
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x2, x9, x8, lt
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	csel	x20, x0, x20, lt
	mov	x0, x19
	bl	_dev_dbg
	mov	x0, x19
	bl	_nvdimm_bus_unlock
	mov	x0, x19
	bl	_nd_device_unlock
	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
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%zd)\n"

l_.str.1:                               ; @.str.1
	.asciz	"fail "

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_alt_name_store
.subsections_via_symbols
