	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_vfs_clearsugid_extattr    ## -- Begin function priv_vfs_clearsugid_extattr
	.p2align	4, 0x90
_priv_vfs_clearsugid_extattr:           ## @priv_vfs_clearsugid_extattr
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_fpath@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EA_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EA_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EA_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_EA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_extattr_set_file
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	testl	%ebx, %ebx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	testl	%r14d, %r14d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_2:
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_confirm_sugid                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fpath,4,2                      ## @fpath
	.comm	_EA_NAMESPACE,4,2               ## @EA_NAMESPACE
	.comm	_EA_NAME,4,2                    ## @EA_NAME
	.comm	_EA_DATA,4,2                    ## @EA_DATA
	.comm	_EA_SIZE,4,2                    ## @EA_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"priv_vfs_clearsugid_extattr(%s, %s): extattr_set_file"

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

L_.str.2:                               ## @.str.2
	.asciz	"!root"

L_.str.3:                               ## @.str.3
	.asciz	"jail"

L_.str.4:                               ## @.str.4
	.asciz	"!jail"

L_.str.5:                               ## @.str.5
	.asciz	"priv_vfs_clearsugid_extattr"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_vfs_clearsugid_extattr    ; -- Begin function priv_vfs_clearsugid_extattr
	.p2align	2
_priv_vfs_clearsugid_extattr:           ; @priv_vfs_clearsugid_extattr
	.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, _fpath@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpath@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EA_NAMESPACE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EA_NAMESPACE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _EA_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EA_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _EA_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EA_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _EA_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EA_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	bl	_extattr_set_file
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, l_.str.1@PAGE
Lloh16:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh17:
	adrp	x9, l_.str.2@PAGE
Lloh18:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, eq
Lloh19:
	adrp	x8, l_.str.3@PAGE
Lloh20:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh21:
	adrp	x9, l_.str.4@PAGE
Lloh22:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w19, #0
	csel	x3, x9, x8, eq
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_2:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_confirm_sugid
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_fpath,4,2                      ; @fpath
	.comm	_EA_NAMESPACE,4,2               ; @EA_NAMESPACE
	.comm	_EA_NAME,4,2                    ; @EA_NAME
	.comm	_EA_DATA,4,2                    ; @EA_DATA
	.comm	_EA_SIZE,4,2                    ; @EA_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"priv_vfs_clearsugid_extattr(%s, %s): extattr_set_file"

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

l_.str.2:                               ; @.str.2
	.asciz	"!root"

l_.str.3:                               ; @.str.3
	.asciz	"jail"

l_.str.4:                               ; @.str.4
	.asciz	"!jail"

l_.str.5:                               ; @.str.5
	.asciz	"priv_vfs_clearsugid_extattr"

.subsections_via_symbols
