	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_cache_find
_test_cache_find:                       ## @test_cache_find
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	$0, -48(%rbp)
	leaq	-36(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movl	%r12d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	movq	%r14, %r8
	callq	_krb5_err
LBB0_2:
	movl	-36(%rbp), %esi
	leaq	-48(%rbp), %rdx
	movl	%r12d, %edi
	callq	_krb5_cc_cache_match
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rcx
	movl	%r12d, %edi
	movl	$1, %esi
	movq	%rbx, %rdx
	movq	%r14, %r8
	callq	_krb5_err
LBB0_5:
	testl	%r15d, %r15d
	jne	LBB0_8
## %bb.6:
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rcx
	movl	%r12d, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_krb5_err
LBB0_8:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movl	%r12d, %edi
	callq	_krb5_cc_close
LBB0_10:
	movl	-36(%rbp), %esi
	movl	%r12d, %edi
	callq	_krb5_free_principal
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parse_name for %s failed"

L_.str.1:                               ## @.str.1
	.asciz	"cc_cache_match for %s failed"

L_.str.2:                               ## @.str.2
	.asciz	"cc_cache_match for %s found"

	.no_dead_strip	_test_cache_find
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_cache_find
_test_cache_find:                       ; @test_cache_find
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp]
	add	x2, sp, #12
	bl	_krb5_parse_name
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x4, x20
	bl	_krb5_err
LBB0_2:
	ldr	w1, [sp, #12]
	mov	x2, sp
	mov	x0, x19
	bl	_krb5_cc_cache_match
	mov	x22, x0
	cbz	w21, LBB0_5
; %bb.3:
	cbz	x22, LBB0_5
; %bb.4:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x22
	mov	x4, x20
	bl	_krb5_err
LBB0_5:
	cbnz	w21, LBB0_8
; %bb.6:
	cbnz	x22, LBB0_8
; %bb.7:
Lloh4:
	adrp	x3, l_.str.2@PAGE
Lloh5:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, #0
	mov	x4, x20
	bl	_krb5_err
LBB0_8:
	ldr	x1, [sp]
	cbz	x1, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_krb5_cc_close
LBB0_10:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_krb5_free_principal
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parse_name for %s failed"

l_.str.1:                               ; @.str.1
	.asciz	"cc_cache_match for %s failed"

l_.str.2:                               ; @.str.2
	.asciz	"cc_cache_match for %s found"

	.no_dead_strip	_test_cache_find
.subsections_via_symbols
