	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acl_new_entry
_acl_new_entry:                         ## @acl_new_entry
	.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
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	_ARCHIVE_ENTRY_ACL_TYPE_NFS4@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%esi, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ecx
	notl	%ecx
	testl	%ecx, (%r12)
	jne	LBB0_24
## %bb.2:
	movq	_ARCHIVE_ENTRY_ACL_PERMS_NFS4@GOTPCREL(%rip), %rcx
	movq	_ARCHIVE_ENTRY_ACL_INHERITANCE_NFS4@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	testl	%r15d, %edx
	jne	LBB0_24
	jmp	LBB0_6
LBB0_3:
	movq	_ARCHIVE_ENTRY_ACL_TYPE_POSIX1E@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ebx, %ecx
	je	LBB0_24
## %bb.4:
	notl	%ecx
	testl	%ecx, (%r12)
	jne	LBB0_24
## %bb.5:
	movq	_ARCHIVE_ENTRY_ACL_PERMS_POSIX1E@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%r15d, %ecx
	jne	LBB0_24
LBB0_6:
	leal	-128(%r13), %ecx
	cmpl	$6, %ecx
	ja	LBB0_24
## %bb.7:
	movl	$51, %edx
	btl	%ecx, %edx
	jb	LBB0_8
## %bb.16:
	movl	$12, %edx
	btl	%ecx, %edx
	jae	LBB0_23
## %bb.17:
	movq	_ARCHIVE_ENTRY_ACL_TYPE_POSIX1E@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_23:
	notl	%eax
	testl	%ebx, %eax
	jne	LBB0_24
LBB0_8:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	24(%r12), %rdi
	callq	_free
	movq	$0, 24(%r12)
	movq	16(%r12), %rdi
	callq	_free
	movq	$0, 16(%r12)
	movq	8(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.9:
	movl	(%r14), %eax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %ecx
	notl	%ecx
	movl	%r13d, %esi
	andl	$-5, %esi
	xorl	$129, %esi
	orl	%ecx, %esi
	sete	%cl
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %r14
	testl	%ebx, %eax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%ebx, (%r14)
	jne	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%r13d, 4(%r14)
	jne	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%edi, 8(%r14)
	setne	%dl
	orb	%cl, %dl
	jne	LBB0_10
## %bb.15:
	movl	%r15d, 12(%r14)
	jmp	LBB0_25
LBB0_18:
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.19:
	movq	%rax, 16(%r14)
	movq	%rax, %r14
	jmp	LBB0_22
LBB0_20:
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.21:
	movq	%rax, %r14
	movq	%rax, 8(%r12)
LBB0_22:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%ebx, (%r14)
	movl	%r13d, 4(%r14)
	movl	%eax, 8(%r14)
	movl	%r15d, 12(%r14)
	orl	%ebx, (%r12)
	jmp	LBB0_25
LBB0_24:
	xorl	%r14d, %r14d
LBB0_25:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_NFS4,4,2 ## @ARCHIVE_ENTRY_ACL_TYPE_NFS4
	.comm	_ARCHIVE_ENTRY_ACL_PERMS_NFS4,4,2 ## @ARCHIVE_ENTRY_ACL_PERMS_NFS4
	.comm	_ARCHIVE_ENTRY_ACL_INHERITANCE_NFS4,4,2 ## @ARCHIVE_ENTRY_ACL_INHERITANCE_NFS4
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_POSIX1E,4,2 ## @ARCHIVE_ENTRY_ACL_TYPE_POSIX1E
	.comm	_ARCHIVE_ENTRY_ACL_PERMS_POSIX1E,4,2 ## @ARCHIVE_ENTRY_ACL_PERMS_POSIX1E
	.no_dead_strip	_acl_new_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acl_new_entry
_acl_new_entry:                         ; @acl_new_entry
	.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	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _ARCHIVE_ENTRY_ACL_TYPE_NFS4@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ARCHIVE_ENTRY_ACL_TYPE_NFS4@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w1
	b.eq	LBB0_3
; %bb.1:
	ldr	w9, [x20]
	bics	wzr, w9, w8
	b.ne	LBB0_24
; %bb.2:
Lloh2:
	adrp	x9, _ARCHIVE_ENTRY_ACL_PERMS_NFS4@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARCHIVE_ENTRY_ACL_PERMS_NFS4@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _ARCHIVE_ENTRY_ACL_INHERITANCE_NFS4@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ARCHIVE_ENTRY_ACL_INHERITANCE_NFS4@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w19, w9
	b.ne	LBB0_24
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x9, _ARCHIVE_ENTRY_ACL_TYPE_POSIX1E@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ARCHIVE_ENTRY_ACL_TYPE_POSIX1E@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w21
	b.eq	LBB0_24
; %bb.4:
	ldr	w10, [x20]
	bics	wzr, w10, w9
	b.ne	LBB0_24
; %bb.5:
Lloh11:
	adrp	x9, _ARCHIVE_ENTRY_ACL_PERMS_POSIX1E@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ARCHIVE_ENTRY_ACL_PERMS_POSIX1E@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	bics	wzr, w19, w9
	b.ne	LBB0_24
LBB0_6:
	sub	w9, w23, #128
	cmp	w9, #6
	b.hi	LBB0_24
; %bb.7:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #51
	tst	w9, w10
	b.eq	LBB0_16
LBB0_8:
	ldr	x0, [x20, #24]
	bl	_free
	str	xzr, [x20, #24]
	ldr	x0, [x20, #16]
	bl	_free
	str	xzr, [x20, #16]
	ldr	x10, [x20, #8]
	cbz	x10, LBB0_20
; %bb.9:
	ldr	w8, [x24]
	and	w8, w8, w21
	cmn	w22, #1
	and	w9, w23, #0xfffffffb
	mov	w11, #129
	ccmp	w9, w11, #0, eq
	cset	w9, eq
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x10, [x24, #16]
	cbz	x10, LBB0_18
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x24, x10
	cbnz	w8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w10, [x24]
	cmp	w10, w21
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w10, [x24, #4]
	cmp	w10, w23
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w10, [x24, #8]
	cmp	w10, w22
	cset	w10, ne
	orr	w10, w10, w9
	tbnz	w10, #0, LBB0_10
; %bb.15:
	str	w19, [x24, #12]
	b	LBB0_25
LBB0_16:
	tst	w9, #0xc
	b.eq	LBB0_23
; %bb.17:
Lloh14:
	adrp	x8, _ARCHIVE_ENTRY_ACL_TYPE_POSIX1E@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ARCHIVE_ENTRY_ACL_TYPE_POSIX1E@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	bics	wzr, w21, w8
	b.ne	LBB0_24
	b	LBB0_8
LBB0_18:
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	cbz	x0, LBB0_24
; %bb.19:
	str	x0, [x24, #16]
	mov	x24, x0
	b	LBB0_22
LBB0_20:
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	mov	x24, x0
	cbz	x0, LBB0_25
; %bb.21:
	str	x24, [x20, #8]
LBB0_22:
	stp	w21, w23, [x24]
	stp	w22, w19, [x24, #8]
	ldr	w8, [x20]
	orr	w8, w8, w21
	str	w8, [x20]
	b	LBB0_25
LBB0_23:
	bics	wzr, w21, w8
	b.eq	LBB0_8
LBB0_24:
	mov	x24, #0
LBB0_25:
	mov	x0, x24
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_NFS4,4,2 ; @ARCHIVE_ENTRY_ACL_TYPE_NFS4
	.comm	_ARCHIVE_ENTRY_ACL_PERMS_NFS4,4,2 ; @ARCHIVE_ENTRY_ACL_PERMS_NFS4
	.comm	_ARCHIVE_ENTRY_ACL_INHERITANCE_NFS4,4,2 ; @ARCHIVE_ENTRY_ACL_INHERITANCE_NFS4
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_POSIX1E,4,2 ; @ARCHIVE_ENTRY_ACL_TYPE_POSIX1E
	.comm	_ARCHIVE_ENTRY_ACL_PERMS_POSIX1E,4,2 ; @ARCHIVE_ENTRY_ACL_PERMS_POSIX1E
	.no_dead_strip	_acl_new_entry
.subsections_via_symbols
