	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acl_from_stat
_acl_from_stat:                         ## @acl_from_stat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$3, %edi
	callq	_acl_init
	movq	%rax, -24(%rbp)
	testq	%rax, %rax
	je	LBB0_65
## %bb.1:
	leaq	-24(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_acl_create_entry
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.2:
	movl	-16(%rbp), %edi
	movq	_ACL_USER_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_set_tag_type
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.3:
	movl	-16(%rbp), %edi
	leaq	-12(%rbp), %rsi
	callq	_acl_get_permset
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.4:
	movl	-12(%rbp), %edi
	callq	_acl_clear_perms
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.5:
	movl	(%rbx), %eax
	movq	_S_IRUSR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	movl	-12(%rbp), %edi
	movq	_ACL_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.7:
	movl	(%rbx), %eax
LBB0_8:
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	movl	-12(%rbp), %edi
	movq	_ACL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.10:
	movl	(%rbx), %eax
LBB0_11:
	movq	_S_IXUSR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movl	-12(%rbp), %edi
	movq	_ACL_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
LBB0_13:
	movl	-16(%rbp), %edi
	movl	-12(%rbp), %esi
	callq	_acl_set_permset
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.14:
	leaq	-24(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_acl_create_entry
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.15:
	movl	-16(%rbp), %edi
	movq	_ACL_GROUP_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_set_tag_type
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.16:
	movl	-16(%rbp), %edi
	leaq	-12(%rbp), %rsi
	callq	_acl_get_permset
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.17:
	movl	-12(%rbp), %edi
	callq	_acl_clear_perms
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.18:
	movl	(%rbx), %eax
	movq	_S_IRGRP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.19:
	movl	-12(%rbp), %edi
	movq	_ACL_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.20:
	movl	(%rbx), %eax
LBB0_21:
	movq	_S_IWGRP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.22:
	movl	-12(%rbp), %edi
	movq	_ACL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.23:
	movl	(%rbx), %eax
LBB0_24:
	movq	_S_IXGRP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.25:
	movl	-12(%rbp), %edi
	movq	_ACL_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
LBB0_26:
	movl	-16(%rbp), %edi
	movl	-12(%rbp), %esi
	callq	_acl_set_permset
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.27:
	leaq	-24(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_acl_create_entry
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.28:
	movl	-16(%rbp), %edi
	movq	_ACL_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_set_tag_type
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.29:
	movl	-16(%rbp), %edi
	leaq	-12(%rbp), %rsi
	callq	_acl_get_permset
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.30:
	movl	-12(%rbp), %edi
	callq	_acl_clear_perms
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.31:
	movl	(%rbx), %eax
	movq	_S_IROTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_34
## %bb.32:
	movl	-12(%rbp), %edi
	movq	_ACL_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.33:
	movl	(%rbx), %eax
LBB0_34:
	movq	_S_IWOTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.35:
	movl	-12(%rbp), %edi
	movq	_ACL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.36:
	movl	(%rbx), %eax
LBB0_37:
	movq	_S_IXOTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_39
## %bb.38:
	movl	-12(%rbp), %edi
	movq	_ACL_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_add_perm
	cmpl	$-1, %eax
	je	LBB0_65
LBB0_39:
	movl	-16(%rbp), %edi
	movl	-12(%rbp), %esi
	callq	_acl_set_permset
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.40:
	movq	-24(%rbp), %rax
	jmp	LBB0_66
LBB0_65:
	xorl	%eax, %eax
LBB0_66:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACL_USER_OBJ,4,2               ## @ACL_USER_OBJ
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_ACL_READ,4,2                   ## @ACL_READ
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_ACL_WRITE,4,2                  ## @ACL_WRITE
	.comm	_S_IXUSR,4,2                    ## @S_IXUSR
	.comm	_ACL_EXECUTE,4,2                ## @ACL_EXECUTE
	.comm	_ACL_GROUP_OBJ,4,2              ## @ACL_GROUP_OBJ
	.comm	_S_IRGRP,4,2                    ## @S_IRGRP
	.comm	_S_IWGRP,4,2                    ## @S_IWGRP
	.comm	_S_IXGRP,4,2                    ## @S_IXGRP
	.comm	_ACL_OTHER,4,2                  ## @ACL_OTHER
	.comm	_S_IROTH,4,2                    ## @S_IROTH
	.comm	_S_IWOTH,4,2                    ## @S_IWOTH
	.comm	_S_IXOTH,4,2                    ## @S_IXOTH
	.no_dead_strip	_acl_from_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acl_from_stat
_acl_from_stat:                         ; @acl_from_stat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w0, #3
	bl	_acl_init
	str	x0, [sp, #8]
	cbz	x0, LBB0_41
; %bb.1:
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_acl_create_entry
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.2:
	ldr	w0, [sp, #4]
Lloh0:
	adrp	x8, _ACL_USER_OBJ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACL_USER_OBJ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_acl_set_tag_type
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.3:
	ldr	w0, [sp, #4]
	mov	x1, sp
	bl	_acl_get_permset
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.4:
	ldr	w0, [sp]
	bl	_acl_clear_perms
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.5:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _S_IRUSR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _S_IRUSR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	w0, [sp]
Lloh6:
	adrp	x8, _ACL_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACL_READ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.7:
	ldr	w8, [x19]
LBB0_8:
Lloh9:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
	ldr	w0, [sp]
Lloh12:
	adrp	x8, _ACL_WRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACL_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.10:
	ldr	w8, [x19]
LBB0_11:
Lloh15:
	adrp	x9, _S_IXUSR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _S_IXUSR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w0, [sp]
Lloh18:
	adrp	x8, _ACL_EXECUTE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ACL_EXECUTE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
LBB0_13:
	ldp	w1, w0, [sp]
	bl	_acl_set_permset
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.14:
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_acl_create_entry
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.15:
	ldr	w0, [sp, #4]
Lloh21:
	adrp	x8, _ACL_GROUP_OBJ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ACL_GROUP_OBJ@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_acl_set_tag_type
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.16:
	ldr	w0, [sp, #4]
	mov	x1, sp
	bl	_acl_get_permset
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.17:
	ldr	w0, [sp]
	bl	_acl_clear_perms
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.18:
	ldr	w8, [x19]
Lloh24:
	adrp	x9, _S_IRGRP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _S_IRGRP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:
	ldr	w0, [sp]
Lloh27:
	adrp	x8, _ACL_READ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ACL_READ@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.20:
	ldr	w8, [x19]
LBB0_21:
Lloh30:
	adrp	x9, _S_IWGRP@GOTPAGE
Lloh31:
	ldr	x9, [x9, _S_IWGRP@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.22:
	ldr	w0, [sp]
Lloh33:
	adrp	x8, _ACL_WRITE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ACL_WRITE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.23:
	ldr	w8, [x19]
LBB0_24:
Lloh36:
	adrp	x9, _S_IXGRP@GOTPAGE
Lloh37:
	ldr	x9, [x9, _S_IXGRP@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.25:
	ldr	w0, [sp]
Lloh39:
	adrp	x8, _ACL_EXECUTE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ACL_EXECUTE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
LBB0_26:
	ldp	w1, w0, [sp]
	bl	_acl_set_permset
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.27:
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_acl_create_entry
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.28:
	ldr	w0, [sp, #4]
Lloh42:
	adrp	x8, _ACL_OTHER@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ACL_OTHER@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_acl_set_tag_type
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.29:
	ldr	w0, [sp, #4]
	mov	x1, sp
	bl	_acl_get_permset
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.30:
	ldr	w0, [sp]
	bl	_acl_clear_perms
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.31:
	ldr	w8, [x19]
Lloh45:
	adrp	x9, _S_IROTH@GOTPAGE
Lloh46:
	ldr	x9, [x9, _S_IROTH@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.32:
	ldr	w0, [sp]
Lloh48:
	adrp	x8, _ACL_READ@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ACL_READ@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.33:
	ldr	w8, [x19]
LBB0_34:
Lloh51:
	adrp	x9, _S_IWOTH@GOTPAGE
Lloh52:
	ldr	x9, [x9, _S_IWOTH@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.35:
	ldr	w0, [sp]
Lloh54:
	adrp	x8, _ACL_WRITE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ACL_WRITE@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.36:
	ldr	w8, [x19]
LBB0_37:
Lloh57:
	adrp	x9, _S_IXOTH@GOTPAGE
Lloh58:
	ldr	x9, [x9, _S_IXOTH@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.38:
	ldr	w0, [sp]
Lloh60:
	adrp	x8, _ACL_EXECUTE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ACL_EXECUTE@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_acl_add_perm
	cmn	w0, #1
	b.eq	LBB0_40
LBB0_39:
	ldp	w1, w0, [sp]
	bl	_acl_set_permset
	ldr	x8, [sp, #8]
	cmn	w0, #1
	csel	x0, xzr, x8, eq
	b	LBB0_41
LBB0_40:
	mov	x0, #0
LBB0_41:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_ACL_USER_OBJ,4,2               ; @ACL_USER_OBJ
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_ACL_READ,4,2                   ; @ACL_READ
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_ACL_WRITE,4,2                  ; @ACL_WRITE
	.comm	_S_IXUSR,4,2                    ; @S_IXUSR
	.comm	_ACL_EXECUTE,4,2                ; @ACL_EXECUTE
	.comm	_ACL_GROUP_OBJ,4,2              ; @ACL_GROUP_OBJ
	.comm	_S_IRGRP,4,2                    ; @S_IRGRP
	.comm	_S_IWGRP,4,2                    ; @S_IWGRP
	.comm	_S_IXGRP,4,2                    ; @S_IXGRP
	.comm	_ACL_OTHER,4,2                  ; @ACL_OTHER
	.comm	_S_IROTH,4,2                    ; @S_IROTH
	.comm	_S_IWOTH,4,2                    ; @S_IWOTH
	.comm	_S_IXOTH,4,2                    ; @S_IXOTH
	.no_dead_strip	_acl_from_stat
.subsections_via_symbols
