	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acl_create_entry               ## -- Begin function acl_create_entry
	.p2align	4, 0x90
_acl_create_entry:                      ## @acl_create_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rcx
	movq	8(%rcx), %rax
	leaq	1(%rax), %r8
	movq	_ACL_MAX_ENTRIES@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r8
	jge	LBB0_1
## %bb.3:
	movq	16(%rcx), %rdx
	movq	%r8, 8(%rcx)
	shlq	$5, %rax
	leaq	(%rdx,%rax), %rcx
	movq	%rcx, (%rsi)
	movq	_ACL_UNDEFINED_TAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rdx,%rax)
	movq	_ACL_UNDEFINED_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rdx,%rax)
	movq	_ACL_PERM_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rdx,%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdx,%rax)
	movq	(%rdi), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_ACL_MAX_ENTRIES,8,3            ## @ACL_MAX_ENTRIES
	.comm	_ACL_UNDEFINED_TAG,4,2          ## @ACL_UNDEFINED_TAG
	.comm	_ACL_UNDEFINED_ID,4,2           ## @ACL_UNDEFINED_ID
	.comm	_ACL_PERM_NONE,4,2              ## @ACL_PERM_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acl_create_entry               ; -- Begin function acl_create_entry
	.p2align	2
_acl_create_entry:                      ; @acl_create_entry
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	mov	x8, x0
	ldr	x9, [x0]
	ldr	x10, [x9, #8]
	add	x11, x10, #1
Lloh0:
	adrp	x12, _ACL_MAX_ENTRIES@GOTPAGE
Lloh1:
	ldr	x12, [x12, _ACL_MAX_ENTRIES@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ge	LBB0_3
; %bb.2:
	mov	w0, #0
	str	x11, [x9, #8]
	ldr	x9, [x9, #16]
	add	x9, x9, x10, lsl #5
	str	x9, [x1]
Lloh3:
	adrp	x10, _ACL_UNDEFINED_TAG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ACL_UNDEFINED_TAG@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	str	w10, [x9, #24]
Lloh6:
	adrp	x10, _ACL_UNDEFINED_ID@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ACL_UNDEFINED_ID@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	str	w10, [x9, #20]
Lloh9:
	adrp	x10, _ACL_PERM_NONE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ACL_PERM_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	str	w10, [x9, #16]
	stp	xzr, xzr, [x9]
	ldr	x8, [x8]
	str	xzr, [x8]
	ret
LBB0_3:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _errno@GOTPAGE
Lloh16:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_ACL_MAX_ENTRIES,8,3            ; @ACL_MAX_ENTRIES
	.comm	_ACL_UNDEFINED_TAG,4,2          ; @ACL_UNDEFINED_TAG
	.comm	_ACL_UNDEFINED_ID,4,2           ; @ACL_UNDEFINED_ID
	.comm	_ACL_PERM_NONE,4,2              ; @ACL_PERM_NONE
.subsections_via_symbols
