	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_destroy             ## -- Begin function kcm_ccache_destroy
	.p2align	4, 0x90
_kcm_ccache_destroy:                    ## @kcm_ccache_destroy
	.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	%rsi, %r12
	movl	%edi, %r14d
	movq	_KRB5_FCC_NOFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_ccache_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_lock
	movq	_ccache_head@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_KCM_FLAGS_VALID@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	movq	8(%r13), %rax
	addq	$8, %rbx
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r13), %edi
	movq	%r12, %rsi
	callq	_strcmp
	movq	(%rbx), %r13
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	cmpl	$1, 4(%r13)
	jne	LBB0_6
## %bb.7:
	movq	8(%r13), %rax
	movq	%rax, (%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	callq	_kcm_free_ccache_data_internal
	movq	%r13, %rdi
	callq	_free
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_6:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_8:
	movq	_ccache_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_unlock
	movq	%r15, %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
	.comm	_EAGAIN,8,3                     ## @EAGAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_destroy             ; -- Begin function kcm_ccache_destroy
	.p2align	2
_kcm_ccache_destroy:                    ; @kcm_ccache_destroy
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _KRB5_FCC_NOFILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_FCC_NOFILE@GOTPAGEOFF]
Lloh2:
	ldr	x19, [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	x22, [x8]
	cbz	x22, LBB0_8
; %bb.1:
Lloh8:
	adrp	x23, _ccache_head@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ccache_head@GOTPAGEOFF]
Lloh10:
	adrp	x24, _KCM_FLAGS_VALID@GOTPAGE
Lloh11:
	ldr	x24, [x24, _KCM_FLAGS_VALID@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #8]!
	mov	x23, x22
	mov	x22, x8
	cbz	x8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x22, #16]
	mov	x1, x21
	bl	_strcmp
	ldr	x22, [x23]
	cbnz	x0, LBB0_2
; %bb.5:
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x22, #8]
	str	x8, [x23]
	mov	x0, x20
	mov	x1, x22
	bl	_kcm_free_ccache_data_internal
	mov	x0, x22
	bl	_free
	mov	x19, #0
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	x19, [x8]
LBB0_8:
Lloh15:
	adrp	x0, _ccache_mutex@GOTPAGE
Lloh16:
	ldr	x0, [x0, _ccache_mutex@GOTPAGEOFF]
	bl	_HEIMDAL_MUTEX_unlock
	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
	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	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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
	.comm	_EAGAIN,8,3                     ; @EAGAIN
.subsections_via_symbols
