	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authhavekey                    ## -- Begin function authhavekey
	.p2align	4, 0x90
_authhavekey:                           ## @authhavekey
	.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	_authkeylookups@GOTPCREL(%rip), %rax
	incl	(%rax)
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_cache_keyid@GOTPCREL(%rip), %rbx
	cmpq	%rdi, (%rbx)
	je	LBB0_2
## %bb.3:
	movq	_authkeyuncached@GOTPCREL(%rip), %rax
	incl	(%rax)
	callq	_auth_findkey
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.7:
	movq	_KEY_TRUSTED@GOTPCREL(%rip), %rdx
	movl	8(%rax), %ecx
	testl	%ecx, (%rdx)
	je	LBB0_8
## %bb.9:
	movq	16(%rax), %rdx
	movq	%rdx, (%rbx)
	movq	(%rax), %rdx
	movq	_cache_type@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movq	_cache_flags@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	32(%rax), %ecx
	movq	_cache_secret@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	28(%rax), %ecx
	movq	_cache_secretsize@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	24(%rax), %eax
	movq	_cache_keyacclist@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_KEY_TRUSTED@GOTPCREL(%rip), %rcx
	movq	_cache_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	setne	%al
	jmp	LBB0_11
LBB0_5:
	movq	_authkeynotfound@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_authnokey@GOTPCREL(%rip), %rax
LBB0_6:
	incl	(%rax)
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_authkeylookups,4,2             ## @authkeylookups
	.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	_authnokey,4,2                  ## @authnokey
	.comm	_cache_type,8,3                 ## @cache_type
	.comm	_cache_secret,4,2               ## @cache_secret
	.comm	_cache_secretsize,4,2           ## @cache_secretsize
	.comm	_cache_keyacclist,4,2           ## @cache_keyacclist
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authhavekey                    ; -- Begin function authhavekey
	.p2align	2
_authhavekey:                           ; @authhavekey
	.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
Lloh0:
	adrp	x8, _authkeylookups@GOTPAGE
Lloh1:
	ldr	x8, [x8, _authkeylookups@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x19, _cache_keyid@GOTPAGE
Lloh3:
	ldr	x19, [x19, _cache_keyid@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, x0
	b.eq	LBB0_6
; %bb.2:
Lloh4:
	adrp	x8, _authkeyuncached@GOTPAGE
Lloh5:
	ldr	x8, [x8, _authkeyuncached@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_auth_findkey
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.4:
Lloh6:
	adrp	x8, _KEY_TRUSTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_TRUSTED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
	ldr	w8, [x0, #8]
	tst	w8, w9
	b.eq	LBB0_8
; %bb.5:
	ldr	x9, [x0, #16]
	str	x9, [x19]
	ldr	x9, [x0]
Lloh9:
	adrp	x10, _cache_type@GOTPAGE
Lloh10:
	ldr	x10, [x10, _cache_type@GOTPAGEOFF]
Lloh11:
	str	x9, [x10]
Lloh12:
	adrp	x9, _cache_flags@GOTPAGE
Lloh13:
	ldr	x9, [x9, _cache_flags@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	ldr	w8, [x0, #32]
Lloh15:
	adrp	x9, _cache_secret@GOTPAGE
Lloh16:
	ldr	x9, [x9, _cache_secret@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
Lloh18:
	adrp	x8, _cache_secretsize@GOTPAGE
Lloh19:
	ldr	x8, [x8, _cache_secretsize@GOTPAGEOFF]
	ldp	w10, w9, [x0, #24]
Lloh20:
	str	w9, [x8]
Lloh21:
	adrp	x8, _cache_keyacclist@GOTPAGE
Lloh22:
	ldr	x8, [x8, _cache_keyacclist@GOTPAGEOFF]
Lloh23:
	str	w10, [x8]
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh26:
	adrp	x8, _KEY_TRUSTED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _KEY_TRUSTED@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _cache_flags@GOTPAGE
Lloh30:
	ldr	x9, [x9, _cache_flags@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	b	LBB0_11
LBB0_7:
Lloh32:
	adrp	x8, _authkeynotfound@GOTPAGE
Lloh33:
	ldr	x8, [x8, _authkeynotfound@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh34:
	adrp	x8, _authnokey@GOTPAGE
Lloh35:
	ldr	x8, [x8, _authnokey@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh36:
	adrp	x8, _FALSE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_authkeylookups,4,2             ; @authkeylookups
	.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	_authnokey,4,2                  ; @authnokey
	.comm	_cache_type,8,3                 ; @cache_type
	.comm	_cache_secret,4,2               ; @cache_secret
	.comm	_cache_secretsize,4,2           ; @cache_secretsize
	.comm	_cache_keyacclist,4,2           ; @cache_keyacclist
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
