	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function kcm_free_ccache_data_internal
LCPI0_0:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_kcm_free_ccache_data_internal:         ## @kcm_free_ccache_data_internal
	.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	%rsi, %rbx
	movl	%edi, %r14d
	movq	%rsi, %rdi
	callq	_KCM_ASSERT_VALID
	movq	80(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free
	movq	$0, 80(%rbx)
LBB0_2:
	movl	(%rbx), %eax
	movq	_KCM_FLAGS_USE_KEYTAB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	72(%rbx), %rsi
	movl	%r14d, %edi
	callq	_krb5_kt_close
	movq	$0, 72(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	_KCM_FLAGS_USE_CACHED_KEY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	leaq	64(%rbx), %r15
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_krb5_free_keyblock_contents
	movq	%r15, %rdi
	callq	_krb5_keyblock_zero
LBB0_6:
	movq	$0, 56(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,4294967295,4294967295,4294967295]
	movups	%xmm0, (%rbx)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_kcm_zero_ccache_data_internal
	leaq	16(%rbx), %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	%r14, %rdi
	callq	_HEIMDAL_MUTEX_unlock
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HEIMDAL_MUTEX_destroy          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KCM_FLAGS_USE_KEYTAB,4,2       ## @KCM_FLAGS_USE_KEYTAB
	.comm	_KCM_FLAGS_USE_CACHED_KEY,4,2   ## @KCM_FLAGS_USE_CACHED_KEY
	.no_dead_strip	_kcm_free_ccache_data_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kcm_free_ccache_data_internal
_kcm_free_ccache_data_internal:         ; @kcm_free_ccache_data_internal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_KCM_ASSERT_VALID
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
	str	xzr, [x19, #80]
LBB0_2:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _KCM_FLAGS_USE_KEYTAB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KCM_FLAGS_USE_KEYTAB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x1, [x19, #72]
	mov	x0, x20
	bl	_krb5_kt_close
	str	xzr, [x19, #72]
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x9, _KCM_FLAGS_USE_CACHED_KEY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KCM_FLAGS_USE_CACHED_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	add	x21, x19, #64
	mov	x0, x20
	mov	x1, x21
	bl	_krb5_free_keyblock_contents
	mov	x0, x21
	bl	_krb5_keyblock_zero
LBB0_6:
	str	wzr, [x19]
	str	xzr, [x19, #56]
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x19, #4]
	mov	w8, #-1
	str	w8, [x19, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_kcm_zero_ccache_data_internal
	add	x20, x19, #16
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #24]
	stur	q0, [x19, #40]
	mov	x0, x20
	bl	_HEIMDAL_MUTEX_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_HEIMDAL_MUTEX_destroy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_KCM_FLAGS_USE_KEYTAB,4,2       ; @KCM_FLAGS_USE_KEYTAB
	.comm	_KCM_FLAGS_USE_CACHED_KEY,4,2   ; @KCM_FLAGS_USE_CACHED_KEY
	.no_dead_strip	_kcm_free_ccache_data_internal
.subsections_via_symbols
