	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_new_client          ## -- Begin function kcm_ccache_new_client
	.p2align	4, 0x90
_kcm_ccache_new_client:                 ## @kcm_ccache_new_client
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_name_constraints@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movb	$0, -1(%r14,%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_CLIENT_IS_ROOT
	testq	%rax, %rax
	je	LBB0_28
LBB0_4:
	leaq	-112(%rbp), %rdx
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_kcm_ccache_resolve
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_KRB5_FCC_NOFILE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_11
## %bb.6:
	movq	%r12, %rdi
	callq	_CLIENT_IS_ROOT
	testq	%rax, %rax
	je	LBB0_30
## %bb.7:
	movq	_KRB5_FCC_PERM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_11
	jmp	LBB0_30
LBB0_8:
	movq	-112(%rbp), %rax
	movq	(%rax), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_10
## %bb.9:
	movq	8(%rax), %rax
	cmpq	8(%r12), %rax
	je	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	callq	_CLIENT_IS_ROOT
	testq	%rax, %rax
	je	LBB0_20
LBB0_11:
	movq	_KRB5_FCC_NOFILE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_14
## %bb.12:
	leaq	-112(%rbp), %rdx
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_kcm_ccache_new
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_krb5_get_err_text
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_kcm_log
	jmp	LBB0_30
LBB0_14:
	movq	-112(%rbp), %rsi
	movl	%r15d, %edi
	callq	_kcm_zero_ccache_data
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_krb5_get_err_text
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_kcm_log
	movq	-112(%rbp), %rsi
	movl	%r15d, %edi
	callq	_kcm_release_ccache
	jmp	LBB0_30
LBB0_16:
	movq	-112(%rbp), %rcx
	movups	(%r12), %xmm0
	movups	%xmm0, (%rcx)
	movl	16(%r12), %eax
	movl	%eax, 16(%rcx)
	jmp	LBB0_18
LBB0_17:
	movq	-112(%rbp), %rsi
	movl	%r15d, %edi
	callq	_kcm_cleanup_events
	movq	-112(%rbp), %rcx
LBB0_18:
	movq	_KCM_OP_INITIALIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_kcm_access
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	%rax, %rbx
	movq	-112(%rbp), %rsi
	movl	%r15d, %edi
	callq	_kcm_release_ccache
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_kcm_ccache_destroy
	jmp	LBB0_30
LBB0_20:
	movq	_KRB5_FCC_PERM@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_21:
	movq	%r12, %rdi
	callq	_CLIENT_IS_ROOT
	testq	%rax, %rax
	je	LBB0_27
## %bb.22:
	leaq	L_.str(%rip), %rsi
	leaq	-120(%rbp), %rdx
	movq	%r13, %rdi
	callq	_sscanf
	testl	%eax, %eax
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.3(%rip), %rsi
	leaq	-120(%rbp), %rdx
	movq	%r13, %rdi
	callq	_sscanf
LBB0_24:
	cmpl	$1, %eax
	jne	LBB0_27
## %bb.25:
	movq	-120(%rbp), %rdi
	callq	_getpwuid
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movl	(%rax), %r8d
	movq	-112(%rbp), %rdx
	movq	-120(%rbp), %rcx
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_kcm_chown
LBB0_27:
	movq	-112(%rbp), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_30
LBB0_28:
	movq	_KRB5_CC_BADNAME@GOTPCREL(%rip), %rax
LBB0_29:
	movq	(%rax), %rbx
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_name_constraints,8,3           ## @name_constraints
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ld:"

	.comm	_KRB5_CC_BADNAME,8,3            ## @KRB5_CC_BADNAME
	.comm	_KRB5_FCC_PERM,8,3              ## @KRB5_FCC_PERM
	.comm	_KRB5_FCC_NOFILE,8,3            ## @KRB5_FCC_NOFILE
L_.str.1:                               ## @.str.1
	.asciz	"Failed to initialize cache %s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to empty cache %s: %s"

	.comm	_KCM_OP_INITIALIZE,4,2          ## @KCM_OP_INITIALIZE
L_.str.3:                               ## @.str.3
	.asciz	"%ld"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kcm_ccache_new_client          ; -- Begin function kcm_ccache_new_client
	.p2align	2
_kcm_ccache_new_client:                 ; @kcm_ccache_new_client
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _name_constraints@GOTPAGE
Lloh4:
	ldr	x8, [x8, _name_constraints@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x3, [x22]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x24, sp, #8
	add	x0, sp, #8
	mov	w1, #64
	bl	_snprintf
	add	x0, sp, #8
	bl	_strlen
	mov	x23, x0
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x23
	bl	_strncmp
	cbz	x0, LBB0_4
; %bb.2:
	add	x8, x23, x24
	sturb	wzr, [x8, #-1]
	add	x1, sp, #8
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_CLIENT_IS_ROOT
	cbz	x0, LBB0_28
LBB0_4:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_kcm_ccache_resolve
	mov	x23, x0
Lloh8:
	adrp	x24, _KRB5_FCC_NOFILE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _KRB5_FCC_NOFILE@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x24]
	cmp	x23, x8
	b.eq	LBB0_11
; %bb.6:
	mov	x0, x22
	bl	_CLIENT_IS_ROOT
	cbz	x0, LBB0_30
; %bb.7:
Lloh10:
	adrp	x8, _KRB5_FCC_PERM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KRB5_FCC_PERM@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x23, x8
	b.eq	LBB0_11
	b	LBB0_30
LBB0_8:
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x8, #8]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	b.eq	LBB0_11
LBB0_10:
	mov	x0, x22
	bl	_CLIENT_IS_ROOT
	cbz	x0, LBB0_20
LBB0_11:
	ldr	x8, [x24]
	cmp	x23, x8
	b.ne	LBB0_14
; %bb.12:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_kcm_ccache_new
	cbz	x0, LBB0_16
; %bb.13:
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	bl	_krb5_get_err_text
	mov	x3, x0
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_kcm_log
	b	LBB0_30
LBB0_14:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_kcm_zero_ccache_data
	cbz	x0, LBB0_17
; %bb.15:
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	bl	_krb5_get_err_text
	mov	x3, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_kcm_log
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_kcm_release_ccache
	b	LBB0_30
LBB0_16:
	ldr	x3, [sp, #8]
	ldr	q0, [x22]
	str	q0, [x3]
	ldr	w8, [x22, #16]
	str	w8, [x3, #16]
	b	LBB0_18
LBB0_17:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_kcm_cleanup_events
	ldr	x3, [sp, #8]
LBB0_18:
Lloh17:
	adrp	x8, _KCM_OP_INITIALIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _KCM_OP_INITIALIZE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_kcm_access
	cbz	x0, LBB0_21
; %bb.19:
	mov	x23, x0
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_kcm_release_ccache
	mov	x0, x19
	mov	x1, x21
	bl	_kcm_ccache_destroy
	b	LBB0_30
LBB0_20:
Lloh20:
	adrp	x8, _KRB5_FCC_PERM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KRB5_FCC_PERM@GOTPAGEOFF]
	b	LBB0_29
LBB0_21:
	mov	x0, x22
	bl	_CLIENT_IS_ROOT
	cbz	x0, LBB0_27
; %bb.22:
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, sp
	mov	x0, x21
	bl	_sscanf
	cbnz	w0, LBB0_24
; %bb.23:
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, sp
	mov	x0, x21
	bl	_sscanf
LBB0_24:
	cmp	w0, #1
	b.ne	LBB0_27
; %bb.25:
	ldr	x0, [sp]
	bl	_getpwuid
	cbz	x0, LBB0_27
; %bb.26:
	ldr	w4, [x0]
	ldp	x3, x2, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_kcm_chown
LBB0_27:
	mov	x23, #0
	ldr	x8, [sp, #8]
	str	x8, [x20]
	b	LBB0_30
LBB0_28:
Lloh26:
	adrp	x8, _KRB5_CC_BADNAME@GOTPAGE
Lloh27:
	ldr	x8, [x8, _KRB5_CC_BADNAME@GOTPAGEOFF]
LBB0_29:
	ldr	x23, [x8]
LBB0_30:
	ldur	x8, [x29, #-56]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.31:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_name_constraints,8,3           ; @name_constraints
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ld:"

	.comm	_KRB5_CC_BADNAME,8,3            ; @KRB5_CC_BADNAME
	.comm	_KRB5_FCC_PERM,8,3              ; @KRB5_FCC_PERM
	.comm	_KRB5_FCC_NOFILE,8,3            ; @KRB5_FCC_NOFILE
l_.str.1:                               ; @.str.1
	.asciz	"Failed to initialize cache %s: %s"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to empty cache %s: %s"

	.comm	_KCM_OP_INITIALIZE,4,2          ; @KCM_OP_INITIALIZE
l_.str.3:                               ; @.str.3
	.asciz	"%ld"

.subsections_via_symbols
