	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_creds
_get_creds:                             ## @get_creds
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.1:
	leaq	-304(%rbp), %r12
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	$256, %edx                      ## imm = 0x100
	callq	_krb5_kt_default_name
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_3:
	leaq	-316(%rbp), %rdx
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_krb5_kt_resolve
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_5:
	movq	_slave_str@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPROP_NAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_KRB5_NT_SRV_HST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-308(%rbp), %r8
	movl	%r13d, %edi
	callq	_krb5_sname_to_principal
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_7:
	leaq	-336(%rbp), %rsi
	movl	%r13d, %edi
	callq	_krb5_get_init_creds_opt_alloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_9:
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	leaq	-328(%rbp), %rdi
	movq	%r15, %rcx
	callq	_asprintf
	movq	-328(%rbp), %r9
	testq	%r9, %r9
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rdx
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_krb5_errx
	movq	-328(%rbp), %r9
LBB0_11:
	movl	-308(%rbp), %edx
	movl	-316(%rbp), %ecx
	movq	-336(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-312(%rbp), %rsi
	movl	%r13d, %edi
	xorl	%r8d, %r8d
	callq	_krb5_get_init_creds_keytab
	movq	%rax, %rbx
	movq	-328(%rbp), %rdi
	callq	_free
	movq	-336(%rbp), %rsi
	movl	%r13d, %edi
	callq	_krb5_get_init_creds_opt_free
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	leaq	L_.str.6(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_13:
	movl	-316(%rbp), %esi
	movl	%r13d, %edi
	callq	_krb5_kt_close
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.7(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_15:
	movq	_krb5_cc_type_memory@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_krb5_cc_new_unique
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.8(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_17:
	movl	(%r14), %esi
	movl	-308(%rbp), %edx
	movl	%r13d, %edi
	callq	_krb5_cc_initialize
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.9(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_19:
	movl	(%r14), %esi
	leaq	-312(%rbp), %rdx
	movl	%r13d, %edi
	callq	_krb5_cc_store_cred
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.10(%rip), %rcx
	movl	%r13d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_21:
	leaq	-312(%rbp), %rsi
	movl	%r13d, %edi
	callq	_krb5_free_cred_contents
	movl	-308(%rbp), %esi
	movl	%r13d, %edi
	callq	_krb5_free_principal
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_kt_default_name"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_slave_str,4,2                  ## @slave_str
	.comm	_IPROP_NAME,4,2                 ## @IPROP_NAME
	.comm	_KRB5_NT_SRV_HST,4,2            ## @KRB5_NT_SRV_HST
L_.str.2:                               ## @.str.2
	.asciz	"krb5_sname_to_principal"

L_.str.3:                               ## @.str.3
	.asciz	"krb5_get_init_creds_opt_alloc"

L_.str.4:                               ## @.str.4
	.asciz	"%s/%s"

L_.str.5:                               ## @.str.5
	.asciz	"malloc: no memory"

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

L_.str.7:                               ## @.str.7
	.asciz	"krb5_kt_close"

	.comm	_krb5_cc_type_memory,4,2        ## @krb5_cc_type_memory
L_.str.8:                               ## @.str.8
	.asciz	"krb5_cc_new_unique"

L_.str.9:                               ## @.str.9
	.asciz	"krb5_cc_initialize"

L_.str.10:                              ## @.str.10
	.asciz	"krb5_cc_store_cred"

	.no_dead_strip	_get_creds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_creds
_get_creds:                             ; @get_creds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x21, x3
	mov	x20, 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]
	cbnz	x1, LBB0_3
; %bb.1:
	add	x22, sp, #40
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #256
	bl	_krb5_kt_default_name
	cbz	x0, LBB0_3
; %bb.2:
	mov	x2, x0
	add	x22, sp, #40
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_3:
	add	x2, sp, #36
	mov	x0, x19
	mov	x1, x22
	bl	_krb5_kt_resolve
	cbz	x0, LBB0_5
; %bb.4:
	mov	x2, x0
	str	x22, [sp]
Lloh5:
	adrp	x3, l_.str.1@PAGE
Lloh6:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_5:
Lloh7:
	adrp	x8, _slave_str@GOTPAGE
Lloh8:
	ldr	x8, [x8, _slave_str@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x22, _IPROP_NAME@GOTPAGE
Lloh11:
	ldr	x22, [x22, _IPROP_NAME@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh12:
	adrp	x8, _KRB5_NT_SRV_HST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KRB5_NT_SRV_HST@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x4, sp, #32
	mov	x0, x19
	bl	_krb5_sname_to_principal
	cbz	x0, LBB0_7
; %bb.6:
	mov	x2, x0
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_7:
	add	x1, sp, #24
	mov	x0, x19
	bl	_krb5_get_init_creds_opt_alloc
	cbz	x0, LBB0_9
; %bb.8:
	mov	x2, x0
Lloh17:
	adrp	x3, l_.str.3@PAGE
Lloh18:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_9:
	ldr	w2, [x22]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	mov	x3, x21
	bl	_asprintf
	ldr	x5, [sp, #8]
	cbnz	x5, LBB0_11
; %bb.10:
Lloh21:
	adrp	x2, l_.str.5@PAGE
Lloh22:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
	ldr	x5, [sp, #8]
LBB0_11:
	ldp	w2, w3, [sp, #32]
	ldr	x6, [sp, #24]
	add	x1, sp, #20
	mov	x0, x19
	mov	w4, #0
	bl	_krb5_get_init_creds_keytab
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_free
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_krb5_get_init_creds_opt_free
	cbz	x21, LBB0_13
; %bb.12:
Lloh23:
	adrp	x3, l_.str.6@PAGE
Lloh24:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	bl	_krb5_err
LBB0_13:
	ldr	w1, [sp, #36]
	mov	x0, x19
	bl	_krb5_kt_close
	cbz	x0, LBB0_15
; %bb.14:
	mov	x2, x0
Lloh25:
	adrp	x3, l_.str.7@PAGE
Lloh26:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_15:
Lloh27:
	adrp	x8, _krb5_cc_type_memory@GOTPAGE
Lloh28:
	ldr	x8, [x8, _krb5_cc_type_memory@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	x3, x20
	bl	_krb5_cc_new_unique
	cbz	x0, LBB0_17
; %bb.16:
	mov	x2, x0
Lloh30:
	adrp	x3, l_.str.8@PAGE
Lloh31:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_17:
	ldr	w1, [x20]
	ldr	w2, [sp, #32]
	mov	x0, x19
	bl	_krb5_cc_initialize
	cbz	x0, LBB0_19
; %bb.18:
	mov	x2, x0
Lloh32:
	adrp	x3, l_.str.9@PAGE
Lloh33:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_19:
	ldr	w1, [x20]
	add	x2, sp, #20
	mov	x0, x19
	bl	_krb5_cc_store_cred
	cbz	x0, LBB0_21
; %bb.20:
	mov	x2, x0
Lloh34:
	adrp	x3, l_.str.10@PAGE
Lloh35:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_21:
	add	x1, sp, #20
	mov	x0, x19
	bl	_krb5_free_cred_contents
	ldr	w1, [sp, #32]
	mov	x0, x19
	bl	_krb5_free_principal
	ldur	x8, [x29, #-56]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_kt_default_name"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_slave_str,4,2                  ; @slave_str
	.comm	_IPROP_NAME,4,2                 ; @IPROP_NAME
	.comm	_KRB5_NT_SRV_HST,4,2            ; @KRB5_NT_SRV_HST
l_.str.2:                               ; @.str.2
	.asciz	"krb5_sname_to_principal"

l_.str.3:                               ; @.str.3
	.asciz	"krb5_get_init_creds_opt_alloc"

l_.str.4:                               ; @.str.4
	.asciz	"%s/%s"

l_.str.5:                               ; @.str.5
	.asciz	"malloc: no memory"

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

l_.str.7:                               ; @.str.7
	.asciz	"krb5_kt_close"

	.comm	_krb5_cc_type_memory,4,2        ; @krb5_cc_type_memory
l_.str.8:                               ; @.str.8
	.asciz	"krb5_cc_new_unique"

l_.str.9:                               ; @.str.9
	.asciz	"krb5_cc_initialize"

l_.str.10:                              ; @.str.10
	.asciz	"krb5_cc_store_cred"

	.no_dead_strip	_get_creds
.subsections_via_symbols
