	.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	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_KRB5_PADATA_ENC_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_hdb_kt_ops@GOTPCREL(%rip), %rsi
	callq	_krb5_kt_register
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_2:
	movq	_ktname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_kt_resolve
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_4:
	movq	_HPROP_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.2(%rip), %rcx
	leaq	-20(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_krb5_make_principal
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_6:
	leaq	-40(%rbp), %rsi
	movl	%ebx, %edi
	callq	_krb5_get_init_creds_opt_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_8:
	movq	-40(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	movl	$1, %edx
	callq	_krb5_get_init_creds_opt_set_preauth_list
	movl	-20(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	-40(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-24(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_krb5_get_init_creds_keytab
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_10:
	movq	-40(%rbp), %rsi
	movl	%ebx, %edi
	callq	_krb5_get_init_creds_opt_free
	movl	-28(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_kt_close
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_12:
	movq	_krb5_cc_type_memory@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_krb5_cc_new_unique
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.7(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_14:
	movl	(%r14), %esi
	movl	-20(%rbp), %edx
	movl	%ebx, %edi
	callq	_krb5_cc_initialize
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.8(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_16:
	movl	-20(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	movl	(%r14), %esi
	leaq	-24(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_store_cred
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.9(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_18:
	leaq	-24(%rbp), %rsi
	movl	%ebx, %edi
	callq	_krb5_free_cred_contents
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_PADATA_ENC_TIMESTAMP,4,2  ## @KRB5_PADATA_ENC_TIMESTAMP
	.comm	_hdb_kt_ops,4,2                 ## @hdb_kt_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_kt_register"

	.comm	_ktname,4,2                     ## @ktname
L_.str.1:                               ## @.str.1
	.asciz	"krb5_kt_resolve"

L_.str.2:                               ## @.str.2
	.asciz	"kadmin"

	.comm	_HPROP_NAME,4,2                 ## @HPROP_NAME
L_.str.3:                               ## @.str.3
	.asciz	"krb5_make_principal"

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

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

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

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

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

L_.str.9:                               ## @.str.9
	.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, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _KRB5_PADATA_ENC_TIMESTAMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_PADATA_ENC_TIMESTAMP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x1, _hdb_kt_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _hdb_kt_ops@GOTPAGEOFF]
	bl	_krb5_kt_register
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
Lloh7:
	adrp	x8, _ktname@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ktname@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	sub	x2, x29, #20
	mov	x0, x19
	bl	_krb5_kt_resolve
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
Lloh12:
	adrp	x8, _HPROP_NAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HPROP_NAME@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, #0
	mov	x5, #0
	bl	_krb5_make_principal
	cbz	x0, LBB0_6
; %bb.5:
	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_6:
	add	x1, sp, #16
	mov	x0, x19
	bl	_krb5_get_init_creds_opt_alloc
	cbz	x0, LBB0_8
; %bb.7:
	mov	x2, x0
Lloh19:
	adrp	x3, l_.str.4@PAGE
Lloh20:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_8:
	ldr	x0, [sp, #16]
	add	x1, sp, #12
	mov	w2, #1
	bl	_krb5_get_init_creds_opt_set_preauth_list
	ldr	w2, [sp, #24]
	ldur	w3, [x29, #-20]
	ldr	x6, [sp, #16]
	add	x1, sp, #8
	mov	x0, x19
	mov	w4, #0
	mov	x5, #0
	bl	_krb5_get_init_creds_keytab
	cbz	x0, LBB0_10
; %bb.9:
	mov	x2, x0
Lloh21:
	adrp	x3, l_.str.5@PAGE
Lloh22:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_10:
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_krb5_get_init_creds_opt_free
	ldur	w1, [x29, #-20]
	mov	x0, x19
	bl	_krb5_kt_close
	cbz	x0, LBB0_12
; %bb.11:
	mov	x2, x0
Lloh23:
	adrp	x3, l_.str.6@PAGE
Lloh24:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_12:
Lloh25:
	adrp	x8, _krb5_cc_type_memory@GOTPAGE
Lloh26:
	ldr	x8, [x8, _krb5_cc_type_memory@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	x3, x20
	bl	_krb5_cc_new_unique
	cbz	x0, LBB0_14
; %bb.13:
	mov	x2, x0
Lloh28:
	adrp	x3, l_.str.7@PAGE
Lloh29:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_14:
	ldr	w1, [x20]
	ldr	w2, [sp, #24]
	mov	x0, x19
	bl	_krb5_cc_initialize
	cbz	x0, LBB0_16
; %bb.15:
	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_16:
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_free_principal
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_cc_store_cred
	cbz	x0, LBB0_18
; %bb.17:
	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_18:
	add	x1, sp, #8
	mov	x0, x19
	bl	_krb5_free_cred_contents
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_PADATA_ENC_TIMESTAMP,4,2  ; @KRB5_PADATA_ENC_TIMESTAMP
	.comm	_hdb_kt_ops,4,2                 ; @hdb_kt_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_kt_register"

	.comm	_ktname,4,2                     ; @ktname
l_.str.1:                               ; @.str.1
	.asciz	"krb5_kt_resolve"

l_.str.2:                               ; @.str.2
	.asciz	"kadmin"

	.comm	_HPROP_NAME,4,2                 ; @HPROP_NAME
l_.str.3:                               ; @.str.3
	.asciz	"krb5_make_principal"

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

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

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

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

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

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

	.no_dead_strip	_get_creds
.subsections_via_symbols
