	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extattr_string_to_namespace    ## -- Begin function extattr_string_to_namespace
	.p2align	4, 0x90
_extattr_string_to_namespace:           ## @extattr_string_to_namespace
	.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, %r14
	movq	%rdi, %rbx
	movq	_EXTATTR_NAMESPACE_USER_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_EXTATTR_NAMESPACE_SYSTEM_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	$-1, %eax
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_8
## %bb.2:
	movq	_EXTATTR_NAMESPACE_USER@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_8
## %bb.6:
	movq	_EXTATTR_NAMESPACE_SYSTEM@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
LBB0_8:
	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_USER,4,2     ## @EXTATTR_NAMESPACE_USER
	.comm	_EXTATTR_NAMESPACE_SYSTEM_STRING,4,2 ## @EXTATTR_NAMESPACE_SYSTEM_STRING
	.comm	_EXTATTR_NAMESPACE_SYSTEM,4,2   ## @EXTATTR_NAMESPACE_SYSTEM
	.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_string_to_namespace    ; -- Begin function extattr_string_to_namespace
	.p2align	2
_extattr_string_to_namespace:           ; @extattr_string_to_namespace
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _EXTATTR_NAMESPACE_USER_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXTATTR_NAMESPACE_USER_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _EXTATTR_NAMESPACE_SYSTEM_STRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXTATTR_NAMESPACE_SYSTEM_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.2:
	mov	w0, #-1
Lloh6:
	adrp	x19, _errno@GOTPAGE
Lloh7:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	cbz	x19, LBB0_8
; %bb.4:
Lloh10:
	adrp	x8, _EXTATTR_NAMESPACE_USER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXTATTR_NAMESPACE_USER@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	cbz	x19, LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _EXTATTR_NAMESPACE_SYSTEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EXTATTR_NAMESPACE_SYSTEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTATTR_NAMESPACE_USER_STRING,4,2 ; @EXTATTR_NAMESPACE_USER_STRING
	.comm	_EXTATTR_NAMESPACE_USER,4,2     ; @EXTATTR_NAMESPACE_USER
	.comm	_EXTATTR_NAMESPACE_SYSTEM_STRING,4,2 ; @EXTATTR_NAMESPACE_SYSTEM_STRING
	.comm	_EXTATTR_NAMESPACE_SYSTEM,4,2   ; @EXTATTR_NAMESPACE_SYSTEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
