	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccache_init_system
_ccache_init_system:                    ## @ccache_init_system
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_system_cache_name@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_kcm_system_config_get_string
	movq	%rax, (%rbx)
LBB0_2:
	movq	_kcm_context@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	-24(%rbp), %rdx
	callq	_kcm_ccache_new
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_30
## %bb.3:
	movq	_KCM_FLAGS_OWNER_IS_SYSTEM@GOTPCREL(%rip), %rax
	movq	-24(%rbp), %rdi
	movl	32(%rdi), %ecx
	orl	(%rax), %ecx
	movq	_KCM_FLAGS_USE_KEYTAB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 32(%rdi)
	callq	_parse_owners
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_30
## %bb.4:
	movl	(%r14), %edi
	movq	_system_principal@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-24(%rbp), %rdx
	addq	$28, %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	jne	LBB0_28
## %bb.5:
	movq	_system_server@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	_kcm_system_config_get_string
	movq	%rax, %rsi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movl	(%r14), %edi
	movq	-24(%rbp), %rdx
	addq	$24, %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_8
LBB0_28:
	movq	%rax, %rbx
LBB0_29:
	movl	(%r14), %edi
	movq	-24(%rbp), %rsi
	callq	_kcm_release_ccache
LBB0_30:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_system_keytab@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	callq	_kcm_system_config_get_string
	movq	%rax, %rsi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movl	(%r14), %edi
	movq	-24(%rbp), %rdx
	addq	$20, %rdx
	callq	_krb5_kt_resolve
LBB0_12:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_29
## %bb.13:
	movq	_renew_life@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rdi
	callq	_kcm_system_config_get_string
	testq	%rax, %rax
	leaq	L_.str.5(%rip), %rdi
	cmovneq	%rax, %rdi
	movq	%rdi, (%rbx)
LBB0_15:
	leaq	L_.str.6(%rip), %rsi
	callq	_parse_time
	movq	-24(%rbp), %rsi
	movq	%rax, (%rsi)
	testq	%rax, %rax
	js	LBB0_16
## %bb.18:
	movq	_ticket_life@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.7(%rip), %rdi
	callq	_kcm_system_config_get_string
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_21
LBB0_20:
	leaq	L_.str.6(%rip), %rsi
	callq	_parse_time
	movq	-24(%rbp), %rsi
	movq	%rax, 8(%rsi)
	testq	%rax, %rax
	jns	LBB0_21
LBB0_16:
	movl	(%r14), %edi
	callq	_kcm_release_ccache
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_30
LBB0_11:
	movl	(%r14), %edi
	movq	-24(%rbp), %rsi
	addq	$20, %rsi
	callq	_krb5_kt_default
	jmp	LBB0_12
LBB0_21:
	movq	_system_perms@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_23
## %bb.22:
	leaq	L_.str.8(%rip), %rdi
	callq	_kcm_system_config_get_string
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_25
LBB0_23:
	leaq	L_.str.9(%rip), %rsi
	leaq	-28(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.24:
	movl	-28(%rbp), %eax
	movq	-24(%rbp), %rcx
	movl	%eax, 16(%rcx)
LBB0_25:
	movq	_disallow_getting_krbtgt@GOTPCREL(%rip), %rbx
	cmpl	$-1, (%rbx)
	jne	LBB0_27
## %bb.26:
	movl	(%r14), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.10(%rip), %rcx
	leaq	L_.str.11(%rip), %r8
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	callq	_krb5_config_get_bool_default
	movl	%eax, (%rbx)
LBB0_27:
	movl	(%r14), %edi
	movq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_kcm_ccache_enqueue_default
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_system_cache_name,8,3          ## @system_cache_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cc_name"

	.comm	_kcm_context,4,2                ## @kcm_context
L_.str.1:                               ## @.str.1
	.asciz	"SYSTEM"

	.comm	_KCM_FLAGS_OWNER_IS_SYSTEM,4,2  ## @KCM_FLAGS_OWNER_IS_SYSTEM
	.comm	_KCM_FLAGS_USE_KEYTAB,4,2       ## @KCM_FLAGS_USE_KEYTAB
	.comm	_system_principal,8,3           ## @system_principal
	.comm	_system_server,8,3              ## @system_server
L_.str.2:                               ## @.str.2
	.asciz	"server"

	.comm	_system_keytab,8,3              ## @system_keytab
L_.str.3:                               ## @.str.3
	.asciz	"keytab_name"

	.comm	_renew_life,8,3                 ## @renew_life
L_.str.4:                               ## @.str.4
	.asciz	"renew_life"

L_.str.5:                               ## @.str.5
	.asciz	"1 month"

L_.str.6:                               ## @.str.6
	.asciz	"s"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_ticket_life,8,3                ## @ticket_life
L_.str.7:                               ## @.str.7
	.asciz	"ticket_life"

	.comm	_system_perms,8,3               ## @system_perms
L_.str.8:                               ## @.str.8
	.asciz	"mode"

L_.str.9:                               ## @.str.9
	.asciz	"%o"

	.comm	_disallow_getting_krbtgt,4,2    ## @disallow_getting_krbtgt
	.comm	_FALSE,4,2                      ## @FALSE
L_.str.10:                              ## @.str.10
	.asciz	"kcm"

L_.str.11:                              ## @.str.11
	.asciz	"disallow-getting-krbtgt"

	.no_dead_strip	_ccache_init_system
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccache_init_system
_ccache_init_system:                    ; @ccache_init_system
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _system_cache_name@GOTPAGE
Lloh1:
	ldr	x19, [x19, _system_cache_name@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_kcm_system_config_get_string
	str	x0, [x19]
LBB0_2:
Lloh4:
	adrp	x20, _kcm_context@GOTPAGE
Lloh5:
	ldr	x20, [x20, _kcm_context@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh6:
	adrp	x9, l_.str.1@PAGE
Lloh7:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x1, x9, x0, eq
	add	x2, sp, #8
	mov	x0, x8
	bl	_kcm_ccache_new
	mov	x19, x0
	cbnz	x0, LBB0_10
; %bb.3:
Lloh8:
	adrp	x8, _KCM_FLAGS_OWNER_IS_SYSTEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KCM_FLAGS_OWNER_IS_SYSTEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x0, [sp, #8]
	ldr	w9, [x0, #32]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _KCM_FLAGS_USE_KEYTAB@GOTPAGE
Lloh12:
	ldr	x9, [x9, _KCM_FLAGS_USE_KEYTAB@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0, #32]
	bl	_parse_owners
	mov	x19, x0
	cbnz	x0, LBB0_10
; %bb.4:
	ldr	w0, [x20]
Lloh14:
	adrp	x8, _system_principal@GOTPAGE
Lloh15:
	ldr	x8, [x8, _system_principal@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	ldr	x8, [sp, #8]
	add	x2, x8, #28
	bl	_krb5_parse_name
	cbnz	x0, LBB0_8
; %bb.5:
Lloh17:
	adrp	x19, _system_server@GOTPAGE
Lloh18:
	ldr	x19, [x19, _system_server@GOTPAGEOFF]
	ldr	x1, [x19]
	cbnz	x1, LBB0_7
; %bb.6:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_kcm_system_config_get_string
	mov	x1, x0
	str	x0, [x19]
	cbz	x0, LBB0_11
LBB0_7:
	ldr	w0, [x20]
	ldr	x8, [sp, #8]
	add	x2, x8, #24
	bl	_krb5_parse_name
	cbz	x0, LBB0_11
LBB0_8:
	mov	x19, x0
LBB0_9:
	ldr	w0, [x20]
	ldr	x1, [sp, #8]
	bl	_kcm_release_ccache
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
Lloh21:
	adrp	x19, _system_keytab@GOTPAGE
Lloh22:
	ldr	x19, [x19, _system_keytab@GOTPAGEOFF]
	ldr	x1, [x19]
	cbnz	x1, LBB0_13
; %bb.12:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_kcm_system_config_get_string
	mov	x1, x0
	str	x0, [x19]
	cbz	x0, LBB0_22
LBB0_13:
	ldr	w0, [x20]
	ldr	x8, [sp, #8]
	add	x2, x8, #20
	bl	_krb5_kt_resolve
	mov	x19, x0
	cbnz	x0, LBB0_9
LBB0_14:
Lloh25:
	adrp	x19, _renew_life@GOTPAGE
Lloh26:
	ldr	x19, [x19, _renew_life@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_16
; %bb.15:
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_kcm_system_config_get_string
Lloh29:
	adrp	x8, l_.str.5@PAGE
Lloh30:
	add	x8, x8, l_.str.5@PAGEOFF
	cmp	x0, #0
	csel	x0, x8, x0, eq
	str	x0, [x19]
LBB0_16:
Lloh31:
	adrp	x1, l_.str.6@PAGE
Lloh32:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_parse_time
	ldr	x1, [sp, #8]
	str	x0, [x1]
	tbnz	x0, #63, LBB0_20
; %bb.17:
Lloh33:
	adrp	x19, _ticket_life@GOTPAGE
Lloh34:
	ldr	x19, [x19, _ticket_life@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_19
; %bb.18:
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_kcm_system_config_get_string
	str	x0, [x19]
	cbz	x0, LBB0_23
LBB0_19:
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_parse_time
	ldr	x1, [sp, #8]
	str	x0, [x1, #8]
	tbz	x0, #63, LBB0_23
LBB0_20:
	ldr	w0, [x20]
	bl	_kcm_release_ccache
LBB0_21:
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	x19, [x8]
	b	LBB0_10
LBB0_22:
	ldr	w0, [x20]
	ldr	x8, [sp, #8]
	add	x1, x8, #20
	bl	_krb5_kt_default
	mov	x19, x0
	cbnz	x0, LBB0_9
	b	LBB0_14
LBB0_23:
Lloh42:
	adrp	x19, _system_perms@GOTPAGE
Lloh43:
	ldr	x19, [x19, _system_perms@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_25
; %bb.24:
Lloh44:
	adrp	x0, l_.str.8@PAGE
Lloh45:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_kcm_system_config_get_string
	str	x0, [x19]
	cbz	x0, LBB0_27
LBB0_25:
Lloh46:
	adrp	x1, l_.str.9@PAGE
Lloh47:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #4
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_21
; %bb.26:
	ldr	w8, [sp, #4]
	ldr	x9, [sp, #8]
	str	w8, [x9, #16]
LBB0_27:
Lloh48:
	adrp	x19, _disallow_getting_krbtgt@GOTPAGE
Lloh49:
	ldr	x19, [x19, _disallow_getting_krbtgt@GOTPAGEOFF]
	ldr	w8, [x19]
	cmn	w8, #1
	b.ne	LBB0_29
; %bb.28:
	ldr	w0, [x20]
Lloh50:
	adrp	x8, _FALSE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
Lloh53:
	adrp	x3, l_.str.10@PAGE
Lloh54:
	add	x3, x3, l_.str.10@PAGEOFF
Lloh55:
	adrp	x4, l_.str.11@PAGE
Lloh56:
	add	x4, x4, l_.str.11@PAGEOFF
	mov	x1, #0
	mov	x5, #0
	bl	_krb5_config_get_bool_default
	str	w0, [x19]
LBB0_29:
	ldr	w0, [x20]
	ldr	x1, [sp, #8]
	mov	x2, #0
	bl	_kcm_ccache_enqueue_default
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_system_cache_name,8,3          ; @system_cache_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cc_name"

	.comm	_kcm_context,4,2                ; @kcm_context
l_.str.1:                               ; @.str.1
	.asciz	"SYSTEM"

	.comm	_KCM_FLAGS_OWNER_IS_SYSTEM,4,2  ; @KCM_FLAGS_OWNER_IS_SYSTEM
	.comm	_KCM_FLAGS_USE_KEYTAB,4,2       ; @KCM_FLAGS_USE_KEYTAB
	.comm	_system_principal,8,3           ; @system_principal
	.comm	_system_server,8,3              ; @system_server
l_.str.2:                               ; @.str.2
	.asciz	"server"

	.comm	_system_keytab,8,3              ; @system_keytab
l_.str.3:                               ; @.str.3
	.asciz	"keytab_name"

	.comm	_renew_life,8,3                 ; @renew_life
l_.str.4:                               ; @.str.4
	.asciz	"renew_life"

l_.str.5:                               ; @.str.5
	.asciz	"1 month"

l_.str.6:                               ; @.str.6
	.asciz	"s"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_ticket_life,8,3                ; @ticket_life
l_.str.7:                               ; @.str.7
	.asciz	"ticket_life"

	.comm	_system_perms,8,3               ; @system_perms
l_.str.8:                               ; @.str.8
	.asciz	"mode"

l_.str.9:                               ; @.str.9
	.asciz	"%o"

	.comm	_disallow_getting_krbtgt,4,2    ; @disallow_getting_krbtgt
	.comm	_FALSE,4,2                      ; @FALSE
l_.str.10:                              ; @.str.10
	.asciz	"kcm"

l_.str.11:                              ; @.str.11
	.asciz	"disallow-getting-krbtgt"

	.no_dead_strip	_ccache_init_system
.subsections_via_symbols
