	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acl_create_entry_np            ## -- Begin function acl_create_entry_np
	.p2align	4, 0x90
_acl_create_entry_np:                   ## @acl_create_entry_np
	.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), %r8
	movslq	8(%r8), %r11
	leal	1(%r11), %r9d
	movq	_ACL_MAX_ENTRIES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r9d
	jge	LBB0_1
## %bb.3:
	testl	%edx, %edx
	js	LBB0_1
## %bb.4:
	cmpl	%edx, %r11d
	jl	LBB0_1
## %bb.5:
	movl	%edx, %r10d
	cmpl	%edx, %r11d
	jle	LBB0_9
## %bb.6:
	movq	%r11, %rdx
	shlq	$5, %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r8), %rcx
	decq	%r11
	movl	%r11d, %eax
	shlq	$5, %rax
	movups	(%rcx,%rax), %xmm0
	movups	16(%rcx,%rax), %xmm1
	movups	%xmm1, 16(%rcx,%rdx)
	movups	%xmm0, (%rcx,%rdx)
	addq	$-32, %rdx
	cmpq	%r10, %r11
	jg	LBB0_7
## %bb.8:
	movl	8(%r8), %r9d
	incl	%r9d
LBB0_9:
	movl	%r9d, 8(%r8)
	movq	16(%r8), %rax
	shlq	$5, %r10
	leaq	(%rax,%r10), %rcx
	movq	%rcx, (%rsi)
	movq	_ACL_UNDEFINED_TAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax,%r10)
	movq	_ACL_UNDEFINED_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax,%r10)
	movq	_ACL_PERM_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax,%r10)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%r10)
	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,4,2            ## @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_np            ; -- Begin function acl_create_entry_np
	.p2align	2
_acl_create_entry_np:                   ; @acl_create_entry_np
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x9, [x0]
	ldrsw	x8, [x9, #8]
	add	w11, w8, #1
Lloh0:
	adrp	x10, _ACL_MAX_ENTRIES@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ACL_MAX_ENTRIES@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w11, w10
	b.ge	LBB0_8
; %bb.2:
	tbnz	w2, #31, LBB0_8
; %bb.3:
	cmp	w8, w2
	b.lt	LBB0_8
; %bb.4:
	cmp	w8, w2
	b.le	LBB0_9
; %bb.5:
	lsl	x11, x8, #5
	mov	w10, w2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, #16]
	sub	x8, x8, #1
	and	x13, x8, #0xffffffff
	add	x13, x12, x13, lsl #5
	add	x12, x12, x11
	ldp	q0, q1, [x13]
	stp	q0, q1, [x12]
	sub	x11, x11, #32
	cmp	x8, x10
	b.gt	LBB0_6
; %bb.7:
	ldr	w8, [x9, #8]
	add	w11, w8, #1
	b	LBB0_10
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _errno@GOTPAGE
Lloh7:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	mov	w0, #-1
	ret
LBB0_9:
	mov	w10, w2
LBB0_10:
	str	w11, [x9, #8]
	ldr	x9, [x9, #16]
	add	x9, x9, x10, lsl #5
	str	x9, [x1]
Lloh9:
	adrp	x10, _ACL_UNDEFINED_TAG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ACL_UNDEFINED_TAG@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	str	w10, [x9, #24]
Lloh12:
	adrp	x10, _ACL_UNDEFINED_ID@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ACL_UNDEFINED_ID@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	str	w10, [x9, #20]
Lloh15:
	adrp	x10, _ACL_PERM_NONE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ACL_PERM_NONE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	str	w10, [x9, #16]
	stp	xzr, xzr, [x9]
	ldr	x9, [x0]
	str	xzr, [x9]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_ACL_MAX_ENTRIES,4,2            ; @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
