	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kcm_ccache_make_default_event
_kcm_ccache_make_default_event:         ## @kcm_ccache_make_default_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	32(%rsi), %r15
	movq	$0, 8(%rsi)
	movq	$0, 24(%rsi)
	movq	_KCM_EVENT_DEFAULT_BACKOFF_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.4:
	movq	%rdx, %r14
	movq	%r15, %rsi
	callq	_is_primary_credential_p
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.6:
	movq	_KCM_EVENT_RENEW_CREDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_KCM_FLAGS_RENEWABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_11
LBB0_1:
	movq	_KCM_MASK_KEY_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_time
	movq	%rax, 8(%rbx)
	movq	_KCM_EVENT_ACQUIRE_CREDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_14
LBB0_12:
	movq	_KCM_EVENT_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_13
LBB0_7:
	movl	(%r15), %eax
	movq	_KCM_MASK_KEY_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_8
## %bb.9:
	movq	_KCM_EVENT_NONE@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_2:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_kcm_log
	movq	_KRB5_FCC_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_14
LBB0_8:
	movq	_KCM_EVENT_ACQUIRE_CREDS@GOTPCREL(%rip), %rcx
LBB0_10:
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx)
	movq	_KCM_FLAGS_RENEWABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r15)
LBB0_11:
	movq	(%r14), %rax
	movq	_KCM_EVENT_QUEUE_INTERVAL@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, 8(%rbx)
LBB0_13:
	xorl	%r14d, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KCM_EVENT_DEFAULT_BACKOFF_TIME,4,2 ## @KCM_EVENT_DEFAULT_BACKOFF_TIME
	.comm	_KCM_MASK_KEY_PRESENT,4,2       ## @KCM_MASK_KEY_PRESENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot acquire credentials without a key"

	.comm	_KRB5_FCC_INTERNAL,4,2          ## @KRB5_FCC_INTERNAL
	.comm	_KCM_EVENT_ACQUIRE_CREDS,8,3    ## @KCM_EVENT_ACQUIRE_CREDS
	.comm	_KCM_EVENT_RENEW_CREDS,8,3      ## @KCM_EVENT_RENEW_CREDS
	.comm	_KCM_FLAGS_RENEWABLE,4,2        ## @KCM_FLAGS_RENEWABLE
	.comm	_KCM_EVENT_NONE,8,3             ## @KCM_EVENT_NONE
	.comm	_KCM_EVENT_QUEUE_INTERVAL,8,3   ## @KCM_EVENT_QUEUE_INTERVAL
	.no_dead_strip	_kcm_ccache_make_default_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kcm_ccache_make_default_event
_kcm_ccache_make_default_event:         ; @kcm_ccache_make_default_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x21, [x1, #32]
	str	xzr, [x1, #8]
	str	xzr, [x1, #24]
Lloh0:
	adrp	x8, _KCM_EVENT_DEFAULT_BACKOFF_TIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KCM_EVENT_DEFAULT_BACKOFF_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #16]
	cbz	x2, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x1, x21
	bl	_is_primary_credential_p
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _KCM_EVENT_RENEW_CREDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KCM_EVENT_RENEW_CREDS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh6:
	adrp	x8, _KCM_FLAGS_RENEWABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KCM_FLAGS_RENEWABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	b	LBB0_8
LBB0_4:
	ldr	w8, [x21]
Lloh9:
	adrp	x9, _KCM_MASK_KEY_PRESENT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KCM_MASK_KEY_PRESENT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.5:
	mov	x0, #0
	bl	_time
	mov	x8, x0
	mov	w0, #0
Lloh12:
	adrp	x9, _KCM_EVENT_ACQUIRE_CREDS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _KCM_EVENT_ACQUIRE_CREDS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	stp	x9, x8, [x19]
	b	LBB0_10
LBB0_6:
Lloh15:
	adrp	x8, _KCM_EVENT_NONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KCM_EVENT_NONE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_10
LBB0_7:
	ldr	w8, [x21]
Lloh18:
	adrp	x9, _KCM_MASK_KEY_PRESENT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _KCM_MASK_KEY_PRESENT@GOTPAGEOFF]
Lloh20:
	adrp	x10, _KCM_EVENT_NONE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _KCM_EVENT_NONE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x11, _KCM_EVENT_ACQUIRE_CREDS@GOTPAGE
Lloh24:
	ldr	x11, [x11, _KCM_EVENT_ACQUIRE_CREDS@GOTPAGEOFF]
	tst	w9, w8
	csel	x9, x10, x11, eq
	ldr	x9, [x9]
	str	x9, [x19]
Lloh25:
	adrp	x9, _KCM_FLAGS_RENEWABLE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _KCM_FLAGS_RENEWABLE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_8:
	str	w8, [x21]
	mov	w0, #0
	ldr	x8, [x20]
Lloh28:
	adrp	x9, _KCM_EVENT_QUEUE_INTERVAL@GOTPAGE
Lloh29:
	ldr	x9, [x9, _KCM_EVENT_QUEUE_INTERVAL@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	sub	x8, x8, x9
	str	x8, [x19, #8]
	b	LBB0_10
LBB0_9:
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_kcm_log
Lloh33:
	adrp	x8, _KRB5_FCC_INTERNAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _KRB5_FCC_INTERNAL@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_KCM_EVENT_DEFAULT_BACKOFF_TIME,4,2 ; @KCM_EVENT_DEFAULT_BACKOFF_TIME
	.comm	_KCM_MASK_KEY_PRESENT,4,2       ; @KCM_MASK_KEY_PRESENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot acquire credentials without a key"

	.comm	_KRB5_FCC_INTERNAL,4,2          ; @KRB5_FCC_INTERNAL
	.comm	_KCM_EVENT_ACQUIRE_CREDS,8,3    ; @KCM_EVENT_ACQUIRE_CREDS
	.comm	_KCM_EVENT_RENEW_CREDS,8,3      ; @KCM_EVENT_RENEW_CREDS
	.comm	_KCM_FLAGS_RENEWABLE,4,2        ; @KCM_FLAGS_RENEWABLE
	.comm	_KCM_EVENT_NONE,8,3             ; @KCM_EVENT_NONE
	.comm	_KCM_EVENT_QUEUE_INTERVAL,8,3   ; @KCM_EVENT_QUEUE_INTERVAL
	.no_dead_strip	_kcm_ccache_make_default_event
.subsections_via_symbols
