	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_cred
_find_cred:                             ## @find_cred
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movl	%esi, %r13d
	movl	%edi, %r12d
	leaq	-48(%rbp), %rdi
	callq	_krb5_cc_clear_mcred
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, -48(%rbp)
	movq	_KRB5_TC_DONT_MATCH_REALM@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%r12d, %edi
	movl	%r13d, %esi
	leaq	-48(%rbp), %rcx
	movq	%r14, %r8
	callq	_krb5_cc_retrieve_cred
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.4:
	addq	$8, %rbx
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	%r12d, %edi
	movq	%r13, %rdx
	callq	_krb5_compare_creds
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rcx
	addq	$8, %rbx
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_8:
	movq	_KRB5_CC_NOTFOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_not_found
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movq	-8(%rbx), %rsi
	movl	%r12d, %edi
	movq	%r14, %rdx
	callq	_krb5_copy_creds_contents
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_TC_DONT_MATCH_REALM,4,2   ## @KRB5_TC_DONT_MATCH_REALM
	.comm	_KRB5_CC_NOTFOUND,4,2           ## @KRB5_CC_NOTFOUND
	.no_dead_strip	_find_cred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_cred
_find_cred:                             ; @find_cred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	add	x0, sp, #8
	bl	_krb5_cc_clear_mcred
	str	w21, [sp, #8]
Lloh0:
	adrp	x24, _KRB5_TC_DONT_MATCH_REALM@GOTPAGE
Lloh1:
	ldr	x24, [x24, _KRB5_TC_DONT_MATCH_REALM@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x23
	mov	x4, x19
	bl	_krb5_cc_retrieve_cred
	cbz	x0, LBB0_7
; %bb.1:
	cbz	x22, LBB0_6
; %bb.2:
	ldr	x3, [x22]
	cbz	x3, LBB0_6
; %bb.3:
	add	x22, x22, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	add	x2, sp, #8
	mov	x0, x20
	bl	_krb5_compare_creds
	cbnz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x22], #8
	cbnz	x3, LBB0_4
LBB0_6:
Lloh2:
	adrp	x8, _KRB5_CC_NOTFOUND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KRB5_CC_NOTFOUND@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_not_found
LBB0_7:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldur	x1, [x22, #-8]
	mov	x0, x20
	mov	x2, x19
	bl	_krb5_copy_creds_contents
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_TC_DONT_MATCH_REALM,4,2   ; @KRB5_TC_DONT_MATCH_REALM
	.comm	_KRB5_CC_NOTFOUND,4,2           ; @KRB5_CC_NOTFOUND
	.no_dead_strip	_find_cred
.subsections_via_symbols
