	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_test_set_acls          ## -- Begin function archive_test_set_acls
	.p2align	4, 0x90
_archive_test_set_acls:                 ## @archive_test_set_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_archive_entry_acl_clear
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movl	%r15d, %eax
	shlq	$2, %rax
	leaq	(%rax,%rax,4), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx,%r15), %esi
	movl	12(%rbx,%r15), %edx
	movl	8(%rbx,%r15), %ecx
	movl	(%rbx,%r15), %r9d
	movl	4(%rbx,%r15), %r8d
	leaq	L_.str(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	16(%rbx,%r15), %esi
	movl	12(%rbx,%r15), %edx
	movl	8(%rbx,%r15), %ecx
	movl	(%rbx,%r15), %r9d
	movl	4(%rbx,%r15), %r8d
	movq	%r14, %rdi
	callq	_archive_entry_acl_add_entry
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	addq	$20, %r15
	cmpq	%r15, %r13
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type=%#010x, permset=%#010x, tag=%d, qual=%d name=%s"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_test_set_acls          ; -- Begin function archive_test_set_acls
	.p2align	2
_archive_test_set_acls:                 ; @archive_test_set_acls
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_archive_entry_acl_clear
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, w21
	add	x23, x20, #8
Lloh0:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x23, #4]
	ldp	w4, w3, [x23, #-4]
	ldur	w5, [x23, #-8]
	mov	x0, x20
	bl	_failure
	ldr	w21, [x24]
	ldp	w2, w1, [x23, #4]
	ldp	w4, w3, [x23, #-4]
	ldur	w5, [x23, #-8]
	mov	x0, x19
	bl	_archive_entry_acl_add_entry
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	add	x23, x23, #20
	subs	x22, x22, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type=%#010x, permset=%#010x, tag=%d, qual=%d name=%s"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
