	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_resolve_by_uuid     ## -- Begin function kcm_ccache_resolve_by_uuid
	.p2align	4, 0x90
_kcm_ccache_resolve_by_uuid:            ## @kcm_ccache_resolve_by_uuid
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r13d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	$0, (%rdx)
	movq	_KRB5_FCC_NOFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_ccache_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_lock
	movq	_ccache_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_KCM_FLAGS_VALID@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %edi
	movl	%r13d, %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_7
LBB0_5:
	testq	%r12, %r12
	jne	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_kcm_retain_ccache
	movq	%rbx, (%r15)
	xorl	%r12d, %r12d
LBB0_8:
	movq	_ccache_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_unlock
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_FCC_NOFILE,8,3            ## @KRB5_FCC_NOFILE
	.comm	_ccache_mutex,4,2               ## @ccache_mutex
	.comm	_ccache_head,8,3                ## @ccache_head
	.comm	_KCM_FLAGS_VALID,4,2            ## @KCM_FLAGS_VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_resolve_by_uuid     ; -- Begin function kcm_ccache_resolve_by_uuid
	.p2align	2
_kcm_ccache_resolve_by_uuid:            ; @kcm_ccache_resolve_by_uuid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	str	xzr, [x2]
Lloh0:
	adrp	x8, _KRB5_FCC_NOFILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_FCC_NOFILE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x0, _ccache_mutex@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ccache_mutex@GOTPAGEOFF]
	bl	_HEIMDAL_MUTEX_lock
Lloh5:
	adrp	x8, _ccache_head@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ccache_head@GOTPAGEOFF]
Lloh7:
	ldr	x23, [x8]
	cbz	x23, LBB0_5
; %bb.1:
Lloh8:
	adrp	x24, _KCM_FLAGS_VALID@GOTPAGE
Lloh9:
	ldr	x24, [x24, _KCM_FLAGS_VALID@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x23, #8]
	cbz	x23, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x23, #4]
	mov	x1, x22
	mov	w2, #4
	bl	_memcmp
	cbnz	x0, LBB0_2
	b	LBB0_7
LBB0_5:
	cbnz	x21, LBB0_8
; %bb.6:
	mov	x23, #0
LBB0_7:
	mov	x0, x20
	mov	x1, x23
	bl	_kcm_retain_ccache
	mov	x21, #0
	str	x23, [x19]
LBB0_8:
Lloh10:
	adrp	x0, _ccache_mutex@GOTPAGE
Lloh11:
	ldr	x0, [x0, _ccache_mutex@GOTPAGEOFF]
	bl	_HEIMDAL_MUTEX_unlock
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_FCC_NOFILE,8,3            ; @KRB5_FCC_NOFILE
	.comm	_ccache_mutex,4,2               ; @ccache_mutex
	.comm	_ccache_head,8,3                ; @ccache_head
	.comm	_KCM_FLAGS_VALID,4,2            ; @KCM_FLAGS_VALID
.subsections_via_symbols
