	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acl_delete_entry               ## -- Begin function acl_delete_entry
	.p2align	4, 0x90
_acl_delete_entry:                      ## @acl_delete_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
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rdi, %r13
	movq	%r14, %rdi
	callq	__entry_brand
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	__acl_brand
	cmpq	%rax, %r15
	jne	LBB0_15
## %bb.3:
	movl	8(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.4:
	movq	_ACL_MAX_ENTRIES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_15
## %bb.5:
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)
	xorl	%r14d, %r14d
	movb	$1, %r15b
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movslq	%r14d, %r14
	leaq	(,%r14,4), %r12
	movq	%r14, %rbx
	shlq	$32, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rdi
	addq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	callq	__entry_matches
	testq	%rax, %rax
	jne	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	incq	%r14
	addq	$4, %r12
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	addq	%rax, %rbx
	cmpl	8(%r13), %r14d
	jl	LBB0_7
	jmp	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%r13), %ecx
	decl	%ecx
	movq	16(%r13), %rax
	movq	%r14, %rdx
	cmpl	%ecx, %r14d
	jge	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdx
	movabsq	$4294967296, %rdi               ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rax,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	leaq	1(%rdx), %rsi
	movslq	8(%r13), %rcx
	decq	%rcx
	addq	%rdi, %rbx
	movq	%rsi, %rdx
	cmpq	%rcx, %rsi
	jl	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	sarq	$32, %rbx
	movq	%rbx, %rdx
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ecx, 8(%r13)
	leaq	(%rax,%rdx,4), %rdi
	movl	$4, %esi
	callq	_bzero
	movq	$0, (%r13)
	xorl	%r15d, %r15d
	cmpl	8(%r13), %r14d
	jl	LBB0_6
	jmp	LBB0_16
LBB0_14:
	testb	$1, %r15b
	movl	$0, %r15d
	je	LBB0_16
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %r15d
LBB0_16:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acl_delete_entry               ; -- Begin function acl_delete_entry
	.p2align	2
_acl_delete_entry:                      ; @acl_delete_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_15
; %bb.2:
	mov	x19, x0
	mov	x0, x20
	bl	__entry_brand
	mov	x21, x0
	mov	x0, x19
	bl	__acl_brand
	cmp	x21, x0
	b.ne	LBB0_15
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.4:
Lloh0:
	adrp	x9, _ACL_MAX_ENTRIES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACL_MAX_ENTRIES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_15
; %bb.5:
	mov	w21, #0
	ldr	w8, [x20]
	str	w8, [sp, #8]
	mov	w23, #1
	mov	x20, #4294967296
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sbfiz	x24, x21, #2, #32
	sbfiz	x22, x21, #32, #32
	sxtw	x21, w21
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	add	x0, x8, x24
	add	x1, sp, #8
	bl	__entry_matches
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x19, #8]
	add	x21, x21, #1
	add	x24, x24, #4
	add	x22, x22, x20
	cmp	w21, w8
	b.lt	LBB0_7
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #8]
	sub	w9, w8, #1
	ldr	x8, [x19, #16]
	mov	x10, x21
	cmp	w21, w9
	b.ge	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x10, x21
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x9, x8, x10, lsl #2
	add	x11, x10, #1
	ldr	w10, [x9, #4]
	str	w10, [x9]
	ldrsw	x9, [x19, #8]
	sub	x9, x9, #1
	add	x22, x22, x20
	mov	x10, x11
	cmp	x11, x9
	b.lt	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	asr	x10, x22, #32
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w9, [x19, #8]
	add	x0, x8, x10, lsl #2
	mov	w1, #4
	bl	_bzero
	mov	w23, #0
	mov	w0, #0
	str	xzr, [x19]
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.lt	LBB0_6
	b	LBB0_16
LBB0_14:
	tbz	w23, #0, LBB0_17
LBB0_15:
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
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
	mov	w0, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_ACL_MAX_ENTRIES,4,2            ; @ACL_MAX_ENTRIES
.subsections_via_symbols
