	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kcm_op_get_cred_by_uuid
_kcm_op_get_cred_by_uuid:               ## @kcm_op_get_cred_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %r14
	movl	%edi, %r15d
	leaq	-56(%rbp), %rsi
	movq	%rcx, %rdi
	callq	_krb5_ret_stringz
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	-56(%rbp), %rcx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_KCM_LOG_REQUEST_NAME
	movq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_kcm_ccache_resolve_client
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_free
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.2:
	leaq	-60(%rbp), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_krb5_storage_read
	movq	-48(%rbp), %rsi
	cmpl	$4, %eax
	jne	LBB0_5
## %bb.3:
	movl	-60(%rbp), %edx
	movl	%r15d, %edi
	callq	_kcm_ccache_find_cred_uuid
	movq	-48(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	movq	%rsi, %rdi
	callq	_HEIMDAL_MUTEX_lock
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_krb5_store_creds
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	callq	_HEIMDAL_MUTEX_unlock
	movq	-48(%rbp), %rsi
	movl	%r15d, %edi
	callq	_kcm_release_ccache
	jmp	LBB0_8
LBB0_5:
	movl	%r15d, %edi
	callq	_kcm_release_ccache
	movl	%r15d, %edi
	callq	_krb5_clear_error_message
	movq	_KRB5_CC_IO@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movl	%r15d, %edi
	callq	_kcm_release_ccache
	movq	_KRB5_CC_END@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_CC_IO,8,3                 ## @KRB5_CC_IO
	.comm	_KRB5_CC_END,8,3                ## @KRB5_CC_END
	.no_dead_strip	_kcm_op_get_cred_by_uuid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kcm_op_get_cred_by_uuid
_kcm_op_get_cred_by_uuid:               ; @kcm_op_get_cred_by_uuid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	add	x1, sp, #16
	mov	x0, x3
	bl	_krb5_ret_stringz
	mov	x22, x0
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	x3, [sp, #16]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_KCM_LOG_REQUEST_NAME
	ldr	x3, [sp, #16]
	add	x4, sp, #24
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_kcm_ccache_resolve_client
	mov	x22, x0
	ldr	x0, [sp, #16]
	bl	_free
	cbnz	x22, LBB0_8
; %bb.2:
	add	x1, sp, #12
	mov	x0, x21
	mov	w2, #4
	bl	_krb5_storage_read
	ldr	x1, [sp, #24]
	cmp	w0, #4
	b.ne	LBB0_5
; %bb.3:
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_kcm_ccache_find_cred_uuid
	ldr	x1, [sp, #24]
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	mov	x0, x1
	bl	_HEIMDAL_MUTEX_lock
	mov	x0, x20
	mov	x1, x21
	bl	_krb5_store_creds
	mov	x22, x0
	ldr	x0, [sp, #24]
	bl	_HEIMDAL_MUTEX_unlock
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_kcm_release_ccache
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_kcm_release_ccache
	mov	x0, x19
	bl	_krb5_clear_error_message
Lloh0:
	adrp	x8, _KRB5_CC_IO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_CC_IO@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_kcm_release_ccache
Lloh2:
	adrp	x8, _KRB5_CC_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KRB5_CC_END@GOTPAGEOFF]
LBB0_7:
	ldr	x22, [x8]
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_CC_IO,8,3                 ; @KRB5_CC_IO
	.comm	_KRB5_CC_END,8,3                ; @KRB5_CC_END
	.no_dead_strip	_kcm_op_get_cred_by_uuid
.subsections_via_symbols
