	.file	"extr_cache.c_kcm_ccache_resolve_by_uuid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kcm_ccache_resolve_by_uuid
	.type	kcm_ccache_resolve_by_uuid, @function
kcm_ccache_resolve_by_uuid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, QWORD PTR KRB5_FCC_NOFILE[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edi
	lea	rdi, ccache_mutex[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	QWORD PTR [rdx], 0
	call	HEIMDAL_MUTEX_lock@PLT
	mov	rbx, QWORD PTR ccache_head[rip]
	test	rbx, rbx
	je	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR KCM_FLAGS_VALID[rip], eax
	je	.L6
	mov	edi, DWORD PTR 4[rbx]
	mov	edx, 4
	mov	esi, ebp
	call	memcmp@PLT
	test	rax, rax
	je	.L5
.L6:
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	jne	.L4
.L2:
	test	r14, r14
	je	.L17
.L7:
	lea	rdi, ccache_mutex[rip]
	call	HEIMDAL_MUTEX_unlock@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rbx
	mov	edi, r13d
	xor	r14d, r14d
	call	kcm_retain_ccache@PLT
	mov	QWORD PTR [r12], rbx
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	kcm_ccache_resolve_by_uuid, .-kcm_ccache_resolve_by_uuid
	.comm	ccache_mutex,4,4
	.comm	ccache_head,8,8
	.comm	KRB5_FCC_NOFILE,8,8
	.comm	KCM_FLAGS_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cache.c_kcm_ccache_resolve_by_uuid.c"
	.text
	.align	2
	.global	kcm_ccache_resolve_by_uuid
	.syntax unified
	.arm
	.fpu softvfp
	.type	kcm_ccache_resolve_by_uuid, %function
kcm_ccache_resolve_by_uuid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	ldr	r3, .L18
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	str	ip, [r2]
	ldr	r0, .L18+4
	ldr	r9, [r3]
	mov	r7, r2
	mov	r6, r1
	bl	HEIMDAL_MUTEX_lock
	ldr	r3, .L18+8
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L2
	ldr	r5, .L18+12
.L4:
	ldr	ip, [r4]
	ldr	r3, [r5]
	tst	ip, r3
	beq	.L6
	mov	r2, #4
	mov	r1, r6
	ldr	r0, [r4, #4]
	bl	memcmp
	cmp	r0, #0
	beq	.L5
.L6:
	ldr	r4, [r4, #8]
	cmp	r4, #0
	bne	.L4
.L2:
	cmp	r9, #0
	beq	.L17
.L7:
	ldr	r0, .L18+4
	bl	HEIMDAL_MUTEX_unlock
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	mov	r4, r9
.L5:
	mov	r0, r8
	mov	r1, r4
	bl	kcm_retain_ccache
	mov	r9, #0
	str	r4, [r7]
	b	.L7
.L19:
	.align	2
.L18:
	.word	KRB5_FCC_NOFILE
	.word	ccache_mutex
	.word	ccache_head
	.word	KCM_FLAGS_VALID
	.size	kcm_ccache_resolve_by_uuid, .-kcm_ccache_resolve_by_uuid
	.comm	ccache_mutex,4,4
	.comm	ccache_head,4,4
	.comm	KRB5_FCC_NOFILE,4,4
	.comm	KCM_FLAGS_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
