	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kcm_op_get_default_cache
_kcm_op_get_default_cache:              ## @kcm_op_get_default_cache
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rsi, %r15
	movq	$0, -32(%rbp)
	callq	_KCM_LOG_REQUEST
	movq	_default_caches@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r15, %rdi
	callq	_kcm_is_same_session
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_5:
	movq	%r15, %rdi
	callq	_kcm_ccache_first_name
	movq	%rax, %rsi
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_asprintf
	movq	-32(%rbp), %rsi
	testq	%rsi, %rsi
	jne	LBB0_8
## %bb.7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
LBB0_8:
	movq	%r14, %rdi
	callq	_krb5_store_stringz
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_free
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_default_caches,8,3             ## @default_caches
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_kcm_op_get_default_cache
.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_default_cache
_kcm_op_get_default_cache:              ; @kcm_op_get_default_cache
	.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	x19, x4
	mov	x20, x1
	str	xzr, [sp, #8]
	bl	_KCM_LOG_REQUEST
Lloh0:
	adrp	x8, _default_caches@GOTPAGE
Lloh1:
	ldr	x8, [x8, _default_caches@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cbz	x21, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x21, #8]
	mov	x0, x20
	bl	_kcm_is_same_session
	cbnz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_1
	b	LBB0_4
LBB0_3:
	ldr	x1, [x21]
	cbnz	x1, LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_kcm_ccache_first_name
	mov	x1, x0
	str	x0, [sp, #8]
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w2, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_9
LBB0_6:
	mov	x0, x19
	bl	_krb5_store_stringz
	mov	x19, x0
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_free
LBB0_8:
	mov	x0, x19
	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
LBB0_9:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_default_caches,8,3             ; @default_caches
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_kcm_op_get_default_cache
.subsections_via_symbols
