	.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	%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	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_is_namespace_pmem
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	callq	_to_nd_namespace_pmem
	jmp	LBB0_2
LBB0_5:
	callq	_is_namespace_blk
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_to_nd_namespace_blk
LBB0_2:
	movq	%rax, %r14
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_to_ndns
	cmpq	$0, (%rax)
	je	LBB0_9
LBB0_4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r12d, %r12d
	subq	(%rax), %r12
LBB0_18:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_9:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_kstrndup
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strim
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_strlen
	movq	_NSLABEL_NAME_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpq	%rdi, %rax
	jge	LBB0_12
## %bb.14:
	movl	(%rbx), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_kfree
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strcpy
	jmp	LBB0_17
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%r12d, %r12d
	subq	(%rax), %r12
LBB0_17:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,8,3                      ## @ENXIO
	.comm	_EBUSY,8,3                      ## @EBUSY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_NSLABEL_NAME_LEN,8,3           ## @NSLABEL_NAME_LEN
	.comm	_EINVAL,8,3                     ## @EINVAL
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_is_namespace_pmem
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_to_nd_namespace_pmem
	b	LBB0_4
LBB0_2:
	mov	x0, x22
	bl	_is_namespace_blk
	cbz	x0, LBB0_9
; %bb.3:
	mov	x0, x22
	bl	_to_nd_namespace_blk
LBB0_4:
	mov	x20, x0
	ldr	x8, [x22]
	cbnz	x8, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_to_ndns
	ldr	x8, [x0]
	cbz	x8, LBB0_10
LBB0_6:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_8:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh2:
	adrp	x8, _ENXIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_10:
Lloh4:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x21
	mov	x1, x19
	bl	_kstrndup
	cbz	x0, LBB0_14
; %bb.11:
	mov	x21, x0
	bl	_strim
	mov	x22, x0
	bl	_strlen
	mov	x8, x0
Lloh6:
	adrp	x9, _NSLABEL_NAME_LEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NSLABEL_NAME_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x9]
	cmp	x8, x0
	b.ge	LBB0_15
; %bb.12:
	ldr	w1, [x23]
	bl	_kzalloc
	cbz	x0, LBB0_16
; %bb.13:
	mov	x23, x0
	ldr	x0, [x20]
	bl	_kfree
	str	x23, [x20]
	mov	x0, x23
	mov	x1, x22
	bl	_strcpy
	b	LBB0_18
LBB0_14:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_15:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_17:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_18:
	mov	x0, x21
	bl	_kfree
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,8,3                      ; @ENXIO
	.comm	_EBUSY,8,3                      ; @EBUSY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_NSLABEL_NAME_LEN,8,3           ; @NSLABEL_NAME_LEN
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	___alt_name_store
.subsections_via_symbols
