	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authistrustedip                ## -- Begin function authistrustedip
	.p2align	4, 0x90
_authistrustedip:                       ## @authistrustedip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_cache_keyid@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_KEY_TRUSTED@GOTPCREL(%rip), %rax
	movq	_cache_flags@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.2:
	movq	_cache_keyacclist@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_6
LBB0_3:
	callq	_auth_findkey
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_authkeyuncached@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movq	_KEY_TRUSTED@GOTPCREL(%rip), %rcx
	movl	(%rax), %edx
	testl	%edx, (%rcx)
	je	LBB0_9
## %bb.5:
	movl	4(%rax), %edi
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_keyacc_contains
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	movq	_authkeynotfound@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	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	_cache_keyacclist,4,2           ## @cache_keyacclist
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_authkeyuncached,4,2            ## @authkeyuncached
	.comm	_authkeynotfound,4,2            ## @authkeynotfound
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authistrustedip                ; -- Begin function authistrustedip
	.p2align	2
_authistrustedip:                       ; @authistrustedip
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _cache_keyid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cache_keyid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_3
; %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
	b.eq	LBB0_7
; %bb.2:
Lloh9:
	adrp	x8, _cache_keyacclist@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cache_keyacclist@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_3:
	bl	_auth_findkey
	cbz	x0, LBB0_8
; %bb.4:
Lloh12:
	adrp	x8, _authkeyuncached@GOTPAGE
Lloh13:
	ldr	x8, [x8, _authkeyuncached@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh14:
	adrp	x8, _KEY_TRUSTED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _KEY_TRUSTED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x0]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	w0, [x0, #4]
LBB0_6:
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_keyacc_contains
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x8, _authkeynotfound@GOTPAGE
Lloh21:
	ldr	x8, [x8, _authkeynotfound@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.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	_cache_keyacclist,4,2           ; @cache_keyacclist
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_authkeyuncached,4,2            ; @authkeyuncached
	.comm	_authkeynotfound,4,2            ; @authkeynotfound
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
