	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_a_valid_tgt_cache
_is_a_valid_tgt_cache:                  ## @is_a_valid_tgt_cache
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_getpwuid
	movq	%rax, %r12
	leaq	-44(%rbp), %rdi
	callq	_krb5_init_context
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_33
## %bb.1:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movl	-44(%rbp), %edi
	leaq	-64(%rbp), %rdx
	movq	%r15, %rsi
	callq	_krb5_cc_resolve
	movl	-44(%rbp), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_krb5_free_context
	jmp	LBB0_33
LBB0_3:
	movl	-64(%rbp), %esi
	leaq	-68(%rbp), %rdx
	callq	_krb5_cc_start_seq_get
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_31
LBB0_5:
	movl	-44(%rbp), %edi
	movl	-64(%rbp), %esi
	leaq	-68(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	callq	_krb5_cc_next_cred
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_30:
	movl	-44(%rbp), %edi
	movl	-64(%rbp), %esi
	leaq	-68(%rbp), %rdx
	callq	_krb5_cc_end_seq_get
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
LBB0_31:
	movl	-44(%rbp), %edi
	movl	-64(%rbp), %esi
	callq	_krb5_cc_close
	movl	-44(%rbp), %edi
	callq	_krb5_free_context
	testl	%r15d, %r15d
	je	LBB0_33
## %bb.32:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	%r12, (%r13)
	movl	%r15d, %r14d
LBB0_33:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rbx
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	callq	_free
LBB0_28:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %edi
	leaq	-112(%rbp), %r15
	movq	%r15, %rsi
	callq	_krb5_free_cred_contents
	movl	-44(%rbp), %edi
	movl	-64(%rbp), %esi
	leaq	-68(%rbp), %rdx
	movq	%r15, %rcx
	callq	_krb5_cc_next_cred
	testq	%rax, %rax
	jne	LBB0_30
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi
	movl	-100(%rbp), %esi
	movq	%rbx, %rdx
	callq	_krb5_unparse_name
	testq	%rax, %rax
	jne	LBB0_29
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r13
	movb	$0, (%rax)
	movq	-56(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-112(%rbp), %rbx
	xorl	%edi, %edi
	callq	_time
	cmpq	%rax, %rbx
	leaq	-56(%rbp), %rbx
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%r13
	movq	%r13, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rsi
	incq	%rsi
	movb	$0, (%rax)
	movq	%r13, %rdi
	callq	_strcmp
	xorl	%r13d, %r13d
	testq	%rax, %rax
	sete	%r13b
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r13d, %r13d
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	callq	_free
	movl	-44(%rbp), %edi
	movl	-104(%rbp), %esi
	movq	%rbx, %rdx
	callq	_krb5_unparse_name
	testq	%rax, %rax
	jne	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rbx
	movb	$0, (%rax)
	testq	%r12, %r12
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	movq	(%r12), %rsi
	callq	_strcmp
	cmpq	$1, %rax
	adcl	$0, %r13d
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	movl	$47, %esi
	callq	_strchr
	cmpq	$1, %rax
	adcl	$0, %r13d
	movq	_pref_realm@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	%rbx, %rdi
	callq	_strcmp
	cmpq	$1, %rax
	adcl	$0, %r13d
LBB0_22:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	-56(%rbp), %rbx
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	callq	_free
	cmpl	-88(%rbp), %r13d                ## 4-byte Folded Reload
	jle	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movq	-112(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r13d, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_28
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movq	-112(%rbp), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %rax
	cmovgq	%rax, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krbtgt"

	.comm	_pref_realm,8,3                 ## @pref_realm
	.no_dead_strip	_is_a_valid_tgt_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_a_valid_tgt_cache
_is_a_valid_tgt_cache:                  ; @is_a_valid_tgt_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x22, x0
	mov	x0, x1
	bl	_getpwuid
	mov	x21, x0
	add	x0, sp, #44
	bl	_krb5_init_context
	cbz	x0, LBB0_2
; %bb.1:
	mov	w23, #0
	b	LBB0_11
LBB0_2:
	ldr	w0, [sp, #44]
	add	x2, sp, #40
	mov	x1, x22
	bl	_krb5_cc_resolve
	mov	x8, x0
	ldr	w0, [sp, #44]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_krb5_free_context
	mov	w23, #0
	b	LBB0_11
LBB0_4:
	ldr	w1, [sp, #40]
	add	x2, sp, #36
	bl	_krb5_cc_start_seq_get
	cbz	x0, LBB0_6
; %bb.5:
	mov	w25, #0
	mov	w23, #0
	mov	x26, #0
	b	LBB0_9
LBB0_6:
	ldp	w1, w0, [sp, #40]
	add	x2, sp, #36
	add	x3, sp, #16
	bl	_krb5_cc_next_cred
	cbz	x0, LBB0_12
; %bb.7:
	mov	w25, #0
	mov	w23, #0
	mov	x26, #0
LBB0_8:
	ldp	w1, w0, [sp, #40]
	add	x2, sp, #36
	bl	_krb5_cc_end_seq_get
LBB0_9:
	ldp	w1, w0, [sp, #40]
	bl	_krb5_cc_close
	ldr	w0, [sp, #44]
	bl	_krb5_free_context
	cbz	w23, LBB0_11
; %bb.10:
	str	w25, [x20]
	str	x26, [x19]
LBB0_11:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_12:
	mov	x26, #0
	mov	w23, #0
	mov	w25, #0
Lloh0:
	adrp	x27, _pref_realm@GOTPAGE
Lloh1:
	ldr	x27, [x27, _pref_realm@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #8]
	bl	_free
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [sp, #44]
	add	x1, sp, #16
	bl	_krb5_free_cred_contents
	ldp	w1, w0, [sp, #40]
	add	x2, sp, #36
	add	x3, sp, #16
	bl	_krb5_cc_next_cred
	cbnz	x0, LBB0_8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #44]
	ldr	w1, [sp, #28]
	add	x2, sp, #8
	bl	_krb5_unparse_name
	cbnz	x0, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #8]
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x24, x0
	strb	wzr, [x24], #1
	ldr	x0, [sp, #8]
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x28, [sp, #16]
	bl	_time
	cmp	x28, x0
	b.le	LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x24
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x1, x0
	strb	wzr, [x1], #1
	mov	x0, x24
	bl	_strcmp
	cmp	x0, #0
	cset	w24, eq
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w24, #0
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #8]
	bl	_free
	ldr	w0, [sp, #44]
	ldr	w1, [sp, #24]
	add	x2, sp, #8
	bl	_krb5_unparse_name
	cbnz	x0, LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #8]
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, x0
	strb	wzr, [x23], #1
	cbz	x21, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #8]
	ldr	x1, [x21]
	bl	_strcmp
	cmp	x0, #0
	cinc	w24, w24, eq
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #8]
	mov	w1, #47
	bl	_strchr
	cmp	x0, #0
	cinc	w24, w24, eq
	ldr	x1, [x27]
	ldrb	w8, [x1]
	cbz	w8, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x23
	bl	_strcmp
	cmp	x0, #0
	cinc	w24, w24, eq
LBB0_28:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #8]
	bl	_free
	cmp	w24, w25
	b.le	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w23, #1
	ldr	x26, [sp, #16]
	mov	x25, x24
	b	LBB0_14
LBB0_30:                                ;   in Loop: Header=BB0_15 Depth=1
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #16]
	cmp	x8, x26
	csel	x26, x8, x26, gt
LBB0_32:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w23, #1
	b	LBB0_14
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krbtgt"

	.comm	_pref_realm,8,3                 ; @pref_realm
	.no_dead_strip	_is_a_valid_tgt_cache
.subsections_via_symbols
