	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ticket_lifetime
_ticket_lifetime:                       ## @ticket_lifetime
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%esi, %r14d
	movl	%edi, %r12d
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	-36(%rbp), %rdx
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_krb5_cc_get_principal
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %edi
	movq	%rax, %rsi
	jmp	LBB0_7
LBB0_2:
	movl	-36(%rbp), %esi
	leaq	-40(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r15, %rdx
	callq	_get_server
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	movl	-36(%rbp), %esi
	movl	%r12d, %edi
	callq	_krb5_free_principal
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_4:
	movq	_KRB5_GC_CACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movl	%r12d, %edi
	movl	%r14d, %edx
	callq	_krb5_get_credentials
	movq	%rax, %rbx
	movl	-36(%rbp), %esi
	movl	%r12d, %edi
	callq	_krb5_free_principal
	movl	-40(%rbp), %esi
	movl	%r12d, %edi
	callq	_krb5_free_principal
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	movl	%r12d, %edi
	movq	%rbx, %rsi
LBB0_7:
	callq	_krb5_warn
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-64(%rbp), %rsi
	movq	(%rsi), %rax
	subq	8(%rsi), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	cmovgq	%rax, %rbx
	movl	%r12d, %edi
	callq	_krb5_free_creds
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_cc_get_principal"

L_.str.1:                               ## @.str.1
	.asciz	"get_server"

	.comm	_KRB5_GC_CACHED,4,2             ## @KRB5_GC_CACHED
L_.str.2:                               ## @.str.2
	.asciz	"krb5_get_credentials"

	.no_dead_strip	_ticket_lifetime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ticket_lifetime
_ticket_lifetime:                       ; @ticket_lifetime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x20, x1
	mov	x19, x0
	add	x22, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x2, x22, #20
	mov	x0, x19
	mov	x1, x20
	bl	_krb5_cc_get_principal
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_6
LBB0_2:
	ldr	w1, [sp, #28]
	add	x3, x22, #16
	mov	x0, x19
	mov	x2, x21
	bl	_get_server
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_krb5_free_principal
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _KRB5_GC_CACHED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KRB5_GC_CACHED@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x19
	mov	x2, x20
	bl	_krb5_get_credentials
	mov	x20, x0
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_krb5_free_principal
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_free_principal
	cbz	x20, LBB0_8
; %bb.5:
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
LBB0_6:
	bl	_krb5_warn
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	x1, [sp]
	ldp	x8, x9, [x1]
	sub	x8, x8, x9
	cmp	x8, #0
	csel	x20, x8, xzr, gt
	mov	x0, x19
	bl	_krb5_free_creds
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_cc_get_principal"

l_.str.1:                               ; @.str.1
	.asciz	"get_server"

	.comm	_KRB5_GC_CACHED,4,2             ; @KRB5_GC_CACHED
l_.str.2:                               ; @.str.2
	.asciz	"krb5_get_credentials"

	.no_dead_strip	_ticket_lifetime
.subsections_via_symbols
