	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_store_cred_internal ## -- Begin function kcm_ccache_store_cred_internal
	.p2align	4, 0x90
_kcm_ccache_store_cred_internal:        ## @kcm_ccache_store_cred_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	%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	%r8, %r12
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movl	%edi, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	leaq	8(%rax), %rsi
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	4(%rax), %edi
	movl	$4, %esi
	callq	_RAND_bytes
	movq	(%rbx), %rdx
	movq	%rdx, (%r12)
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.5:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_krb5_copy_creds_contents
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%rbx)
	jmp	LBB0_9
LBB0_3:
	movq	_KRB5_CC_NOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_9
LBB0_7:
	movl	(%r15), %eax
	movl	%eax, (%rdx)
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_CC_NOMEM,8,3              ## @KRB5_CC_NOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_store_cred_internal ; -- Begin function kcm_ccache_store_cred_internal
	.p2align	2
_kcm_ccache_store_cred_internal:        ; @kcm_ccache_store_cred_internal
	.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	x22, x4
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x1
	ldr	x8, [x1]
	add	x1, x8, #8
	cbnz	x8, LBB0_1
; %bb.2:
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	str	x0, [x23]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x0, #4]
	mov	w1, #4
	bl	_RAND_bytes
	ldr	x2, [x23]
	str	x2, [x22]
	cbz	w21, LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_krb5_copy_creds_contents
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x0, [x23]
	bl	_free
	str	xzr, [x23]
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _KRB5_CC_NOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_CC_NOMEM@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	b	LBB0_8
LBB0_7:
	mov	x20, #0
	ldr	w8, [x19]
	str	w8, [x2]
LBB0_8:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_CC_NOMEM,8,3              ; @KRB5_CC_NOMEM
.subsections_via_symbols
