	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__posix1e_acl_check             ## -- Begin function _posix1e_acl_check
	.p2align	4, 0x90
__posix1e_acl_check:                    ## @_posix1e_acl_check
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_26
## %bb.1:
	movq	8(%rdi), %rax
	movq	_ACL_PERM_BITS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %r13
	movl	$128, %ebx
	xorl	%ecx, %ecx
	notl	%edx
	leaq	LJTI0_0(%rip), %r9
	xorl	%r8d, %r8d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	jmp	LBB0_2
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$131, %ebx
	jae	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r8d
	movl	$130, %ebx
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rcx
	movl	%r15d, %edi
	cmpq	%rcx, %r13
	je	LBB0_22
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, (%rax,%rcx)
	jne	LBB0_26
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rax,%rcx), %esi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_26
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r9,%rsi,4), %rsi
	addq	%r9, %rsi
	jmpq	*%rsi
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %ebx
	jae	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movl	$129, %ebx
	jmp	LBB0_20
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %ebx
	jae	LBB0_26
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rax,%rcx), %r15d
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, %r15d
	jle	LBB0_26
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	movl	$129, %ebx
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$132, %ebx
	jae	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movl	$131, %ebx
	jmp	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$133, %ebx
	jae	LBB0_26
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r10d
	movl	$133, %ebx
	jmp	LBB0_20
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %esi
	movl	8(%rax,%rcx), %r8d
	testl	%r11d, %r11d
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-48(%rbp), %r8d                 ## 4-byte Folded Reload
	jle	LBB0_26
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r11d
	movl	$133, %ebx
	movl	%edi, %r15d
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r8d
	jmp	LBB0_21
LBB0_22:
	cmpl	$1, %r14d
	jne	LBB0_26
## %bb.23:
	cmpl	$1, %r10d
	jne	LBB0_26
## %bb.24:
	cmpl	$2, -44(%rbp)                   ## 4-byte Folded Reload
	jae	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	cmpl	$1, %r8d
	je	LBB0_27
LBB0_26:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_27:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_18
	.long	L0_0_set_16
	.long	L0_0_set_11
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_ACL_PERM_BITS,4,2              ## @ACL_PERM_BITS
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__posix1e_acl_check             ; -- Begin function _posix1e_acl_check
	.p2align	2
__posix1e_acl_check:                    ; @_posix1e_acl_check
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
	cmp	w10, #1
	b.lt	LBB0_25
; %bb.1:
	mov	w8, #0
	mov	w9, #0
	mov	w13, #0
	mov	w11, #0
	mov	w14, #0
	mov	w12, #0
	mov	w2, #0
	mov	w1, #0
Lloh0:
	adrp	x15, _ACL_PERM_BITS@GOTPAGE
Lloh1:
	ldr	x15, [x15, _ACL_PERM_BITS@GOTPAGEOFF]
	ldr	x16, [x0, #8]
Lloh2:
	ldr	w15, [x15]
	add	x16, x16, #8
	mov	w0, #128
Lloh3:
	adrp	x17, lJTI0_0@PAGE
Lloh4:
	add	x17, x17, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w13, w13, #1
	mov	w0, #133
	mov	x2, x3
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x16, x16, #12
	subs	x10, x10, #1
	b.eq	LBB0_21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w3, [x16, #-8]
	orr	w3, w15, w3
	cmp	w3, w15
	b.ne	LBB0_25
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w3, [x16, #-4]
	sub	w3, w3, #128
	cmp	w3, #5
	b.hi	LBB0_25
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x4, LBB0_7
	ldrb	w5, [x17, x3]
	add	x4, x4, x5, lsl #2
	br	x4
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #129
	b.hs	LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w12, w12, #1
	mov	w0, #129
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #130
	b.hs	LBB0_25
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x16]
	cbz	w14, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w3, w1
	b.le	LBB0_25
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w14, w14, #1
	mov	w0, #129
	mov	x1, x3
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #131
	b.hs	LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	mov	w0, #130
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #132
	b.hs	LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w9, #1
	mov	w0, #131
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #133
	b.hs	LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w11, w11, #1
	mov	w0, #133
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x16]
	cbz	w13, LBB0_2
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w3, w2
	b.gt	LBB0_2
	b	LBB0_25
LBB0_21:
	cmp	w12, #1
	b.ne	LBB0_25
; %bb.22:
	cmp	w11, #1
	b.ne	LBB0_25
; %bb.23:
	cmp	w9, #2
	b.hs	LBB0_25
; %bb.24:
Lloh5:
	adrp	x9, _EINVAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, #1
	csel	w0, wzr, w9, eq
	ret
LBB0_25:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
                                        ; -- End function
	.comm	_ACL_PERM_BITS,4,2              ; @ACL_PERM_BITS
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
