	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_entry_compare_acls   ## -- Begin function assertion_entry_compare_acls
	.p2align	4, 0x90
_assertion_entry_compare_acls:          ## @assertion_entry_compare_acls
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_assertion_count
	leal	(,%r12,4), %edi
	callq	_malloc
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.1:
	movq	%rax, %r14
	movl	%r12d, %ecx
	cmpl	$1, %r12d
	jne	LBB0_19
## %bb.2:
	movq	%rbx, %r8
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
LBB0_3:
	testb	$1, %cl
	je	LBB0_6
## %bb.4:
	leaq	(%rax,%rax,2), %rcx
	testl	%ebx, (%r8,%rcx,8)
	je	LBB0_6
## %bb.5:
	movslq	%r13d, %r13
	movl	%eax, (%r14,%r13,4)
	incl	%r13d
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_17
## %bb.7:
	movq	%r8, %rbx
	subq	$8, %rsp
	leaq	-72(%rbp), %rax
	leaq	-84(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-76(%rbp), %r8
	leaq	-80(%rbp), %r9
	movq	%r15, %rdi
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	pushq	%rax
	callq	_archive_entry_acl_next
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_25
## %bb.8:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r13d
LBB0_9:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.8(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_failure_start
	xorl	%edi, %edi
	callq	_failure_finish
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_11:
	movq	_ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_14
## %bb.12:
	movq	%r15, %rdi
	callq	_archive_entry_mode
	movl	16(%rbp), %r12d
	xorl	%r12d, %eax
	testl	$511, %eax                      ## imm = 0x1FF
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_archive_entry_mode
	leaq	L_.str.9(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_failure_start
	xorl	%edi, %edi
	callq	_failure_finish
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_14:
	testl	%r13d, %r13d
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_16
## %bb.15:
	movslq	(%r14), %rax
	leaq	(%rax,%rax,2), %r10
	movl	(%rbx,%r10,8), %ecx
	movl	4(%rbx,%r10,8), %r8d
	movl	8(%rbx,%r10,8), %r9d
	movl	12(%rbx,%r10,8), %r11d
	leaq	L_.str.7(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	16(%rbx,%r10,8)
	pushq	%r11
	callq	_failure_start
	addq	$16, %rsp
	xorl	%edi, %edi
	callq	_failure_finish
	movl	$1, %r15d
LBB0_16:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_failure_start
	movl	$1, %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	%ecx, %edx
	andl	$-2, %edx
	xorl	%eax, %eax
	movq	%rbx, %r8
	movq	%rbx, %rsi
	xorl	%r13d, %r13d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	addq	$2, %rax
	addq	$48, %rsi
	cmpq	%rax, %rdx
	je	LBB0_3
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	testl	%ebx, (%rsi)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r13d, %r13
	movl	%eax, (%r14,%r13,4)
	incl	%r13d
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	testl	%ebx, 24(%rsi)
	je	LBB0_20
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r13d, %r13
	leal	1(%rax), %edi
	movl	%edi, (%r14,%r13,4)
	incl	%r13d
	jmp	LBB0_20
LBB0_25:
	movl	16(%rbp), %ecx
	movl	%ecx, %eax
	andl	$7, %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	%ecx, %eax
	andl	$56, %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movl	%ecx, %eax
	shrl	$3, %eax
	andl	$7, %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%ecx, %eax
	andl	$448, %eax                      ## imm = 0x1C0
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	%ecx, %eax
	shrl	$6, %eax
	andl	$7, %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_30
LBB0_26:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.6(%rip), %rdx
	movl	-88(%rbp), %r8d                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	callq	_failure_start
LBB0_28:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%edi, %edi
	callq	_failure_finish
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	leaq	-72(%rbp), %rbx
LBB0_29:                                ##   in Loop: Header=BB0_30 Depth=1
	subq	$8, %rsp
	movq	%r15, %rdi
	movl	%r12d, %esi
	leaq	-84(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-76(%rbp), %r8
	leaq	-80(%rbp), %r9
	pushq	%rbx
	callq	_archive_entry_acl_next
	addq	$16, %rsp
	testl	%eax, %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_9
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
	movb	$1, %dil
	testl	%r13d, %r13d
	jle	LBB0_35
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movslq	%r13d, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r14,%r12,4), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rbx,%rax,8), %rdi
	movl	-84(%rbp), %esi
	movl	-56(%rbp), %edx
	movl	-76(%rbp), %ecx
	movl	-80(%rbp), %r8d
	movq	-72(%rbp), %r9
	callq	_archive_test_acl_match
	testq	%rax, %rax
	jne	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	incq	%r12
	cmpq	%r15, %r12
	jl	LBB0_32
## %bb.34:                              ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	leaq	-72(%rbp), %rbx
	movb	$1, %dil
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_30 Depth=1
	decl	%r13d
	movl	-4(%r14,%r15,4), %eax
	movl	%eax, (%r14,%r12,4)
	movb	$1, %al
	xorl	%edi, %edi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movl	-52(%rbp), %r12d                ## 4-byte Reload
LBB0_37:                                ##   in Loop: Header=BB0_30 Depth=1
	leaq	-72(%rbp), %rbx
LBB0_38:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	-84(%rbp), %ecx
	movq	_ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_53
## %bb.39:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	-76(%rbp), %edx
	movq	_ARCHIVE_ENTRY_ACL_USER_OBJ@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_44
## %bb.40:                              ##   in Loop: Header=BB0_30 Depth=1
	testb	%dil, %dil
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_failure_start
	xorl	%edi, %edi
	callq	_failure_finish
	leaq	-72(%rbp), %rbx
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_42:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	-56(%rbp), %ecx
	movl	%ecx, %eax
	shll	$6, %eax
	cmpl	-104(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_29
## %bb.43:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.2(%rip), %rdx
	movl	-96(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	_ARCHIVE_ENTRY_ACL_GROUP_OBJ@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_49
## %bb.45:                              ##   in Loop: Header=BB0_30 Depth=1
	testb	%dil, %dil
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_failure_start
	xorl	%edi, %edi
	callq	_failure_finish
	leaq	-72(%rbp), %rbx
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_47:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	-56(%rbp), %ecx
	leal	(,%rcx,8), %eax
	cmpl	-100(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_29
## %bb.48:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.4(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-92(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_27
LBB0_49:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	_ARCHIVE_ENTRY_ACL_OTHER@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_53
## %bb.50:                              ##   in Loop: Header=BB0_30 Depth=1
	testb	%dil, %dil
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_failure_start
	xorl	%edi, %edi
	callq	_failure_finish
	leaq	-72(%rbp), %rbx
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_52:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	-56(%rbp), %ecx
	cmpl	-88(%rbp), %ecx                 ## 4-byte Folded Reload
	jne	LBB0_26
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_30 Depth=1
	testb	%al, %al
	jne	LBB0_29
## %bb.54:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	-56(%rbp), %r8d
	movl	-76(%rbp), %r9d
	movl	-80(%rbp), %r10d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	pushq	-72(%rbp)
	pushq	%r10
	callq	_failure_start
	addq	$16, %rsp
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No ACL's to compare, type mask: %d"

	.comm	_ARCHIVE_ENTRY_ACL_TYPE_ACCESS,4,2 ## @ARCHIVE_ENTRY_ACL_TYPE_ACCESS
	.comm	_ARCHIVE_ENTRY_ACL_USER_OBJ,4,2 ## @ARCHIVE_ENTRY_ACL_USER_OBJ
L_.str.1:                               ## @.str.1
	.asciz	"No match for user_obj perm"

L_.str.2:                               ## @.str.2
	.asciz	"USER_OBJ permset (%02o) != user mode (%02o)"

	.comm	_ARCHIVE_ENTRY_ACL_GROUP_OBJ,4,2 ## @ARCHIVE_ENTRY_ACL_GROUP_OBJ
L_.str.3:                               ## @.str.3
	.asciz	"No match for group_obj perm"

L_.str.4:                               ## @.str.4
	.asciz	"GROUP_OBJ permset (%02o) != group mode (%02o)"

	.comm	_ARCHIVE_ENTRY_ACL_OTHER,4,2    ## @ARCHIVE_ENTRY_ACL_OTHER
L_.str.5:                               ## @.str.5
	.asciz	"No match for other perm"

L_.str.6:                               ## @.str.6
	.asciz	"OTHER permset (%02o) != other mode (%02o)"

L_.str.7:                               ## @.str.7
	.asciz	"Could not find match for ACL (type=%#010x,permset=%#010x,tag=%d,qual=%d,name=``%s'')"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
L_.str.8:                               ## @.str.8
	.asciz	"Should not exit before EOF"

L_.str.9:                               ## @.str.9
	.asciz	"Mode (%02o) and entry mode (%02o) mismatch"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_entry_compare_acls   ; -- Begin function assertion_entry_compare_acls
	.p2align	2
_assertion_entry_compare_acls:          ; @assertion_entry_compare_acls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x25, x5
	mov	x26, x4
	mov	x22, x3
	mov	x24, x2
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	str	w1, [sp, #100]                  ; 4-byte Folded Spill
	bl	_assertion_count
	lsl	w0, w26, #2
	bl	_malloc
	cmp	w26, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x21, x0
	mov	x8, #0
	mov	w27, #0
	mov	x9, x22
	mov	w10, w26
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x9, x9, #24
	cmp	x10, x8
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	tst	w11, w25
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w8, [x21, w27, sxtw #2]
	add	w27, w27, #1
	b	LBB0_2
LBB0_5:
	cbz	w27, LBB0_8
; %bb.6:
	sub	x2, x29, #84
	sub	x3, x29, #88
	sub	x4, x29, #92
	sub	x5, x29, #96
	add	x6, sp, #104
	mov	x0, x24
	mov	x1, x25
	bl	_archive_entry_acl_next
	mov	w26, #0
	cbz	w0, LBB0_9
; %bb.7:
	mov	w27, #1
	b	LBB0_37
LBB0_8:
	str	x25, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
	bl	_failure_start
	mov	w26, #1
	b	LBB0_45
LBB0_9:
	and	w9, w19, #0x7
	and	w10, w19, #0x38
	ubfx	w8, w19, #3, #3
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	and	w8, w19, #0x1c0
	stp	w10, w8, [sp, #80]              ; 8-byte Folded Spill
	str	x19, [sp, #48]                  ; 8-byte Folded Spill
	ubfx	w8, w19, #6, #3
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	mov	w23, #24
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
Lloh2:
	adrp	x2, l_.str.6@PAGE
Lloh3:
	add	x2, x2, l_.str.6@PAGEOFF
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w26, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	x2, x29, #84
	sub	x3, x29, #88
	sub	x4, x29, #92
	sub	x5, x29, #96
	add	x6, sp, #104
	mov	x0, x24
	mov	x1, x25
	bl	_archive_entry_acl_next
	cbnz	w0, LBB0_36
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	subs	w28, w27, #1
	b.lt	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x19, #0
	sxtw	x20, w27
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x21, x19, lsl #2]
	madd	x0, x8, x23, x22
	ldp	w2, w1, [x29, #-88]
	ldp	w4, w3, [x29, #-96]
	ldr	x5, [sp, #104]
	bl	_archive_test_acl_match
	cbnz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x19, x19, #1
	cmp	x19, x20
	b.lt	LBB0_15
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w9, #0
	mov	w8, #1
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w8, #0
	ldr	w9, [x21, w28, sxtw #2]
	str	w9, [x21, x19, lsl #2]
	mov	w9, #1
	mov	x27, x28
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	ldur	w10, [x29, #-84]
Lloh4:
	adrp	x11, _ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPAGEOFF]
Lloh6:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_34
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	w11, [x29, #-92]
Lloh7:
	adrp	x12, _ARCHIVE_ENTRY_ACL_USER_OBJ@GOTPAGE
Lloh8:
	ldr	x12, [x12, _ARCHIVE_ENTRY_ACL_USER_OBJ@GOTPAGEOFF]
Lloh9:
	ldr	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w8, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w26, #1
LBB0_23:                                ;   in Loop: Header=BB0_13 Depth=1
	ldur	w8, [x29, #-88]
	ldr	w9, [sp, #84]                   ; 4-byte Folded Reload
	cmp	w9, w8, lsl #6
	b.eq	LBB0_12
; %bb.24:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_25:                                ;   in Loop: Header=BB0_13 Depth=1
Lloh14:
	adrp	x12, _ARCHIVE_ENTRY_ACL_GROUP_OBJ@GOTPAGE
Lloh15:
	ldr	x12, [x12, _ARCHIVE_ENTRY_ACL_GROUP_OBJ@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w8, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
Lloh17:
	adrp	x2, l_.str.3@PAGE
Lloh18:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w26, #1
LBB0_28:                                ;   in Loop: Header=BB0_13 Depth=1
	ldur	w8, [x29, #-88]
	ldr	w9, [sp, #80]                   ; 4-byte Folded Reload
	cmp	w9, w8, lsl #3
	b.eq	LBB0_12
; %bb.29:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
Lloh19:
	adrp	x2, l_.str.4@PAGE
Lloh20:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_30:                                ;   in Loop: Header=BB0_13 Depth=1
Lloh21:
	adrp	x12, _ARCHIVE_ENTRY_ACL_OTHER@GOTPAGE
Lloh22:
	ldr	x12, [x12, _ARCHIVE_ENTRY_ACL_OTHER@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w8, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
Lloh24:
	adrp	x2, l_.str.5@PAGE
Lloh25:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w26, #1
LBB0_33:                                ;   in Loop: Header=BB0_13 Depth=1
	ldur	w8, [x29, #-88]
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	cmp	w8, w9
	b.ne	LBB0_10
	b	LBB0_12
LBB0_34:                                ;   in Loop: Header=BB0_13 Depth=1
	tbnz	w9, #0, LBB0_12
; %bb.35:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #104]
	ldp	w11, w9, [x29, #-92]
	ldur	w12, [x29, #-96]
	stp	x12, x8, [sp, #24]
	stp	x9, x11, [sp, #8]
	str	x10, [sp]
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
Lloh26:
	adrp	x2, l_.str.7@PAGE
Lloh27:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_36:
	ldr	x19, [sp, #48]                  ; 8-byte Folded Reload
LBB0_37:
Lloh28:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_39
; %bb.38:
Lloh31:
	adrp	x2, l_.str.8@PAGE
Lloh32:
	add	x2, x2, l_.str.8@PAGEOFF
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w26, #1
LBB0_39:
Lloh33:
	adrp	x8, _ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_42
; %bb.40:
	mov	x0, x24
	bl	_archive_entry_mode
	eor	w8, w0, w19
	tst	w8, #0x1ff
	b.eq	LBB0_42
; %bb.41:
	mov	x0, x24
	bl	_archive_entry_mode
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh36:
	adrp	x2, l_.str.9@PAGE
Lloh37:
	add	x2, x2, l_.str.9@PAGEOFF
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w26, #1
LBB0_42:
	cbz	w27, LBB0_44
; %bb.43:
	ldrsw	x8, [x21]
	mov	w9, #24
	madd	x8, x8, x9, x22
	ldr	x9, [x8, #16]
	ldp	w10, w11, [x8]
	ldp	w12, w8, [x8, #8]
	stp	x8, x9, [sp, #24]
	stp	x11, x12, [sp, #8]
	str	x10, [sp]
Lloh38:
	adrp	x2, l_.str.7@PAGE
Lloh39:
	add	x2, x2, l_.str.7@PAGEOFF
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #100]                  ; 4-byte Folded Reload
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w26, #1
LBB0_44:
	mov	x0, x21
	bl	_free
LBB0_45:
	mov	x0, x26
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No ACL's to compare, type mask: %d"

	.comm	_ARCHIVE_ENTRY_ACL_TYPE_ACCESS,4,2 ; @ARCHIVE_ENTRY_ACL_TYPE_ACCESS
	.comm	_ARCHIVE_ENTRY_ACL_USER_OBJ,4,2 ; @ARCHIVE_ENTRY_ACL_USER_OBJ
l_.str.1:                               ; @.str.1
	.asciz	"No match for user_obj perm"

l_.str.2:                               ; @.str.2
	.asciz	"USER_OBJ permset (%02o) != user mode (%02o)"

	.comm	_ARCHIVE_ENTRY_ACL_GROUP_OBJ,4,2 ; @ARCHIVE_ENTRY_ACL_GROUP_OBJ
l_.str.3:                               ; @.str.3
	.asciz	"No match for group_obj perm"

l_.str.4:                               ; @.str.4
	.asciz	"GROUP_OBJ permset (%02o) != group mode (%02o)"

	.comm	_ARCHIVE_ENTRY_ACL_OTHER,4,2    ; @ARCHIVE_ENTRY_ACL_OTHER
l_.str.5:                               ; @.str.5
	.asciz	"No match for other perm"

l_.str.6:                               ; @.str.6
	.asciz	"OTHER permset (%02o) != other mode (%02o)"

l_.str.7:                               ; @.str.7
	.asciz	"Could not find match for ACL (type=%#010x,permset=%#010x,tag=%d,qual=%d,name=``%s'')"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
l_.str.8:                               ; @.str.8
	.asciz	"Should not exit before EOF"

l_.str.9:                               ; @.str.9
	.asciz	"Mode (%02o) and entry mode (%02o) mismatch"

.subsections_via_symbols
