	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_krb5_import_cred           ## -- Begin function gss_krb5_import_cred
	.p2align	4, 0x90
_gss_krb5_import_cred:                  ## @gss_krb5_import_cred
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8)
	leaq	-44(%rbp), %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, (%r13)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_24
LBB0_2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_krb5_storage_emem
	testq	%rax, %rax
	je	LBB0_20
## %bb.3:
	movq	%rax, %r15
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.4:
	movl	-44(%rbp), %edi
	leaq	-56(%rbp), %rdx
	movl	%r14d, %esi
	callq	_krb5_cc_get_full_name
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%r15, %r14
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_8
## %bb.5:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_krb5_store_string
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_free
	testq	%rbx, %rbx
	jne	LBB0_8
	jmp	LBB0_10
LBB0_20:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %r14
	movq	%r15, %rdi
	callq	_krb5_store_string
	movq	%rax, %rbx
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_8
LBB0_10:
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.11:
	movl	-44(%rbp), %edi
	leaq	-56(%rbp), %rdx
	movl	%r12d, %esi
	callq	_krb5_unparse_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.12:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_krb5_store_string
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_free
	testq	%rbx, %rbx
	jne	LBB0_8
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_krb5_store_string
LBB0_14:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.15:
	movl	-44(%rbp), %edi
	leaq	-56(%rbp), %rdx
	movl	%r15d, %esi
	callq	_krb5_kt_get_full_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.16:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_krb5_store_string
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_free
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
LBB0_9:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_22:
	movq	%r14, %rdi
	callq	_krb5_storage_free
LBB0_23:
	movl	-44(%rbp), %edi
	callq	_krb5_free_context
LBB0_24:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_krb5_store_string
LBB0_18:
	leaq	-88(%rbp), %rsi
	movq	%r14, %rdi
	callq	_krb5_storage_to_data
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_9
LBB0_21:
	movq	-88(%rbp), %rax
	movq	%rax, -96(%rbp)
	movq	_GSS_KRB5_IMPORT_CRED_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_gss_set_cred_option
	movq	%rax, %rbx
	leaq	-88(%rbp), %rdi
	callq	_krb5_data_free
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ## @GSS_C_NO_CREDENTIAL
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_GSS_KRB5_IMPORT_CRED_X,4,2     ## @GSS_KRB5_IMPORT_CRED_X
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_krb5_import_cred           ; -- Begin function gss_krb5_import_cred
	.p2align	2
_gss_krb5_import_cred:                  ; @gss_krb5_import_cred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GSS_C_NO_CREDENTIAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x4]
	add	x0, sp, #20
	bl	_krb5_init_context
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [x20]
Lloh3:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	b	LBB0_16
LBB0_2:
	bl	_krb5_storage_emem
	cbz	x0, LBB0_10
; %bb.3:
	mov	x19, x0
	cbz	w24, LBB0_11
; %bb.4:
	ldr	w0, [sp, #20]
	mov	x2, sp
	mov	x1, x24
	bl	_krb5_cc_get_full_name
	mov	x24, x0
	cbnz	x0, LBB0_12
; %bb.5:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_krb5_store_string
	mov	x24, x0
	ldr	x0, [sp]
	bl	_free
	cbnz	x24, LBB0_12
LBB0_6:
	cbz	w23, LBB0_17
; %bb.7:
	ldr	w0, [sp, #20]
	mov	x2, sp
	mov	x1, x23
	bl	_krb5_unparse_name
	mov	x23, x0
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_krb5_store_string
	mov	x23, x0
	ldr	x0, [sp]
	bl	_free
	cbz	x23, LBB0_18
LBB0_9:
	str	x23, [x20]
	b	LBB0_13
LBB0_10:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x20]
Lloh9:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	x20, [x8]
	b	LBB0_15
LBB0_11:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_krb5_store_string
	mov	x24, x0
	cbz	x24, LBB0_6
LBB0_12:
	str	x24, [x20]
LBB0_13:
Lloh14:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh16:
	ldr	x20, [x8]
LBB0_14:
	mov	x0, x19
	bl	_krb5_storage_free
LBB0_15:
	ldr	w0, [sp, #20]
	bl	_krb5_free_context
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_krb5_store_string
LBB0_18:
	cbz	w22, LBB0_22
; %bb.19:
	ldr	w0, [sp, #20]
	mov	x2, sp
	mov	x1, x22
	bl	_krb5_kt_get_full_name
	mov	x22, x0
	cbnz	x0, LBB0_21
; %bb.20:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_krb5_store_string
	mov	x22, x0
	ldr	x0, [sp]
	bl	_free
	cbz	x22, LBB0_23
LBB0_21:
	str	x22, [x20]
	b	LBB0_13
LBB0_22:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_krb5_store_string
LBB0_23:
	add	x1, sp, #8
	mov	x0, x19
	bl	_krb5_storage_to_data
	cbz	x0, LBB0_25
; %bb.24:
	str	x0, [x20]
	b	LBB0_13
LBB0_25:
	ldr	d0, [sp, #8]
	str	d0, [sp, #24]
Lloh21:
	adrp	x8, _GSS_KRB5_IMPORT_CRED_X@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GSS_KRB5_IMPORT_CRED_X@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x21
	bl	_gss_set_cred_option
	mov	x20, x0
	add	x0, sp, #8
	bl	_krb5_data_free
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ; @GSS_C_NO_CREDENTIAL
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_GSS_KRB5_IMPORT_CRED_X,4,2     ; @GSS_KRB5_IMPORT_CRED_X
.subsections_via_symbols
