	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authistrusted                  ## -- Begin function authistrusted
	.p2align	4, 0x90
_authistrusted:                         ## @authistrusted
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cache_keyid@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_KEY_TRUSTED@GOTPCREL(%rip), %rcx
	movq	_cache_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	setne	%al
	popq	%rbp
	retq
LBB0_2:
	movq	_authkeyuncached@GOTPCREL(%rip), %rax
	incl	(%rax)
	callq	_auth_findkey
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_KEY_TRUSTED@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_authkeynotfound@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cache_keyid,8,3                ## @cache_keyid
	.comm	_KEY_TRUSTED,4,2                ## @KEY_TRUSTED
	.comm	_cache_flags,4,2                ## @cache_flags
	.comm	_authkeyuncached,4,2            ## @authkeyuncached
	.comm	_authkeynotfound,4,2            ## @authkeynotfound
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authistrusted                  ; -- Begin function authistrusted
	.p2align	2
_authistrusted:                         ; @authistrusted
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _cache_keyid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cache_keyid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _KEY_TRUSTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEY_TRUSTED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _cache_flags@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cache_flags@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh9:
	adrp	x8, _authkeyuncached@GOTPAGE
Lloh10:
	ldr	x8, [x8, _authkeyuncached@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_auth_findkey
	cbz	x0, LBB0_5
; %bb.3:
Lloh11:
	adrp	x8, _KEY_TRUSTED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KEY_TRUSTED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x0]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _authkeynotfound@GOTPAGE
Lloh17:
	ldr	x8, [x8, _authkeynotfound@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_cache_keyid,8,3                ; @cache_keyid
	.comm	_KEY_TRUSTED,4,2                ; @KEY_TRUSTED
	.comm	_cache_flags,4,2                ; @cache_flags
	.comm	_authkeyuncached,4,2            ; @authkeyuncached
	.comm	_authkeynotfound,4,2            ; @authkeynotfound
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
