	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_acl_count              ## -- Begin function archive_acl_count
	.p2align	4, 0x90
_archive_acl_count:                     ## @archive_acl_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	andl	%esi, %edx
	cmpl	$1, %edx
	sbbl	$-1, %ecx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.4:
	movq	_ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPCREL(%rip), %rdx
	leal	3(%rcx), %eax
	testl	%esi, (%rdx)
	cmovel	%ecx, %eax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_ACCESS,4,2 ## @ARCHIVE_ENTRY_ACL_TYPE_ACCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_acl_count              ; -- Begin function archive_acl_count
	.p2align	2
_archive_acl_count:                     ; @archive_acl_count
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_5
; %bb.1:
	mov	w8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	tst	w10, w1
	cinc	w8, w8, ne
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_2
; %bb.3:
	cbz	w8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x9, _ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARCHIVE_ENTRY_ACL_TYPE_ACCESS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w10, w8, #3
	tst	w9, w1
	csel	w0, w8, w10, eq
	ret
LBB0_5:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_ACCESS,4,2 ; @ARCHIVE_ENTRY_ACL_TYPE_ACCESS
.subsections_via_symbols
