	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extattr_namespace_to_string    ## -- Begin function extattr_namespace_to_string
	.p2align	4, 0x90
_extattr_namespace_to_string:           ## @extattr_namespace_to_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	cmpl	$129, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$128, %edi
	jne	LBB0_7
## %bb.2:
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	_EXTATTR_NAMESPACE_USER_STRING@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.6:
	movq	_EXTATTR_NAMESPACE_SYSTEM_STRING@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	callq	_strdup
	movq	%rax, (%rbx)
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTATTR_NAMESPACE_USER_STRING,4,2 ## @EXTATTR_NAMESPACE_USER_STRING
	.comm	_EXTATTR_NAMESPACE_SYSTEM_STRING,4,2 ## @EXTATTR_NAMESPACE_SYSTEM_STRING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extattr_namespace_to_string    ; -- Begin function extattr_namespace_to_string
	.p2align	2
_extattr_namespace_to_string:           ; @extattr_namespace_to_string
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_7
; %bb.2:
	cbz	x19, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _EXTATTR_NAMESPACE_USER_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXTATTR_NAMESPACE_USER_STRING@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	cbz	x19, LBB0_8
; %bb.5:
Lloh2:
	adrp	x8, _EXTATTR_NAMESPACE_SYSTEM_STRING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXTATTR_NAMESPACE_SYSTEM_STRING@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	bl	_strdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_9
LBB0_7:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _errno@GOTPAGE
Lloh8:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTATTR_NAMESPACE_USER_STRING,4,2 ; @EXTATTR_NAMESPACE_USER_STRING
	.comm	_EXTATTR_NAMESPACE_SYSTEM_STRING,4,2 ; @EXTATTR_NAMESPACE_SYSTEM_STRING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
