	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gssd_init_sec_context_1_svc    ## -- Begin function gssd_init_sec_context_1_svc
	.p2align	4, 0x90
_gssd_init_sec_context_1_svc:           ## @gssd_init_sec_context_1_svc
	.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	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	_GSS_C_NO_CONTEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	_GSS_C_NO_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addl	$6, %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_hostbased_initiator_cred@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%r12)
	je	LBB0_3
LBB0_4:
	movq	_ccfile_dirlist@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpb	$0, (%r15)
	movq	(%r12), %rax
	je	LBB0_11
## %bb.5:
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movb	$0, (%rax)
	movq	8(%r12), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_find_ccache_file
	testl	%eax, %eax
	jne	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r15
	incq	%r15
	movb	$58, (%rbx)
	cmpb	$0, 1(%rbx)
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	8(%r12), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_find_ccache_file
	testl	%eax, %eax
	jne	LBB0_17
LBB0_10:
	movq	_GSS_S_CREDENTIALS_EXPIRED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	8(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_gssd_verbose_out
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_44
LBB0_11:
	testq	%rax, %rax
	je	LBB0_16
LBB0_12:
	cmpq	$0, 8(%r12)
	je	LBB0_16
## %bb.13:
	movq	_debug_level@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_16
LBB0_3:
	movq	_GSSD_CREDENTIAL_CACHE_FILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_17
LBB0_14:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_syslog
LBB0_16:
	movl	8(%r12), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_17:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	callq	_setenv
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.18:
	callq	_gssd_find_resource
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_19
LBB0_20:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_24
## %bb.21:
	callq	_gssd_find_resource
	movq	%rax, -88(%rbp)
	testq	%rax, %rax
	je	LBB0_22
LBB0_24:
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.25:
	callq	_gssd_find_resource
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_26
LBB0_27:
	movq	_use_old_des@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_28
## %bb.36:
	movq	-64(%rbp), %rax
	xorl	%r14d, %r14d
	movb	$1, %r15b
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_40
## %bb.37:
	movq	8(%r12), %rsi
	leaq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	callq	_gssd_get_user_cred
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.38:
	movl	$1, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_40
LBB0_19:
	movq	_GSS_S_CREDENTIALS_EXPIRED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_gssd_verbose_out
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_44
LBB0_22:
	movq	_GSS_S_CONTEXT_EXPIRED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_23
LBB0_28:
	xorl	%r14d, %r14d
	jmp	LBB0_29
LBB0_26:
	movq	_GSS_S_BAD_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	L_.str.8(%rip), %rdi
LBB0_23:
	xorl	%eax, %eax
	callq	_gssd_verbose_out
	jmp	LBB0_44
LBB0_39:
	movl	8(%r12), %esi
	movl	-80(%rbp), %ecx
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_gssd_verbose_out
LBB0_40:
	movq	-64(%rbp), %rax
	cmpq	(%rbx), %rax
	je	LBB0_29
## %bb.41:
	movq	_ETYPE_DES_CBC_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	bswapl	%eax
	movl	%eax, -96(%rbp)
	movl	$4, -128(%rbp)
	leaq	-96(%rbp), %rax
	movq	%rax, -120(%rbp)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	16(%rbx), %rdi
	movq	_GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	leaq	-128(%rbp), %rcx
	callq	_gss_set_cred_option
	movq	%rax, (%rbx)
	movl	16(%rbx), %edx
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_gssd_verbose_out
	movq	(%rbx), %rax
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_42
LBB0_29:
	movl	%r14d, -92(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leaq	16(%r15), %rdi
	movq	-64(%rbp), %rsi
	movl	48(%r12), %r8d
	movl	44(%r12), %r9d
	movl	36(%r12), %r11d
	movl	40(%r12), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	32(%r12), %r10
	leaq	36(%r15), %rax
	leaq	32(%r15), %rbx
	leaq	28(%r15), %r13
	leaq	24(%r15), %r14
	subq	$8, %rsp
	leaq	-88(%rbp), %rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	pushq	%r14
	pushq	%r13
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	pushq	%r11
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_gss_init_sec_context
	addq	$64, %rsp
	movq	%rax, (%r15)
	movl	16(%r15), %edx
	movl	8(%r12), %ecx
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_gssd_verbose_out
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_31
## %bb.30:
	leaq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_gss_release_cred
LBB0_31:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_33
## %bb.32:
	movq	_GSS_S_CONTINUE_NEEDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_44
LBB0_33:
	movq	16(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_35
## %bb.34:
	movq	-88(%rbp), %rdi
	callq	_gssd_make_resource
LBB0_35:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
LBB0_44:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_46
## %bb.45:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	testb	%r15b, %r15b
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_44
## %bb.43:
	leaq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_gss_release_cred
	jmp	LBB0_44
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_CREDENTIAL,8,3        ## @GSS_C_NO_CREDENTIAL
	.comm	_GSS_C_NO_CONTEXT,8,3           ## @GSS_C_NO_CONTEXT
	.comm	_GSS_C_NO_NAME,8,3              ## @GSS_C_NO_NAME
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_hostbased_initiator_cred,8,3   ## @hostbased_initiator_cred
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FILE:%s"

	.comm	_GSSD_CREDENTIAL_CACHE_FILE,8,3 ## @GSSD_CREDENTIAL_CACHE_FILE
	.comm	_ccfile_dirlist,8,3             ## @ccfile_dirlist
	.comm	_GSS_S_CREDENTIALS_EXPIRED,8,3  ## @GSS_S_CREDENTIALS_EXPIRED
L_.str.1:                               ## @.str.1
	.asciz	"gssd_init_sec_context: -s no credential cache file found for uid=%d\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_debug_level,8,3                ## @debug_level
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"gss_init_sec_context: cred for non-root"

	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"gss_init_sec_context: cred for non-root\n"

L_.str.4:                               ## @.str.4
	.asciz	"FILE:/tmp/krb5cc_%d"

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

L_.str.6:                               ## @.str.6
	.asciz	"gssd_init_sec_context: cred resource not found\n"

	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ## @GSS_S_CONTEXT_EXPIRED
L_.str.7:                               ## @.str.7
	.asciz	"gssd_init_sec_context: context resource not found\n"

	.comm	_GSS_S_BAD_NAME,8,3             ## @GSS_S_BAD_NAME
L_.str.8:                               ## @.str.8
	.asciz	"gssd_init_sec_context: name resource not found\n"

	.comm	_use_old_des,8,3                ## @use_old_des
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
L_.str.9:                               ## @.str.9
	.asciz	"gssd_init_sec_context: get user cred failed uid=%d major=0x%x minor=%d\n"

	.comm	_ETYPE_DES_CBC_CRC,4,2          ## @ETYPE_DES_CBC_CRC
	.comm	_GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X,4,2 ## @GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X
L_.str.10:                              ## @.str.10
	.asciz	"gssd_init_sec_context: set allowable enctype major=0x%x minor=%d\n"

L_.str.11:                              ## @.str.11
	.asciz	"gssd_init_sec_context: done major=0x%x minor=%d uid=%d\n"

	.comm	_GSS_S_CONTINUE_NEEDED,8,3      ## @GSS_S_CONTINUE_NEEDED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gssd_init_sec_context_1_svc    ; -- Begin function gssd_init_sec_context_1_svc
	.p2align	2
_gssd_init_sec_context_1_svc:           ; @gssd_init_sec_context_1_svc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x19, x1
	mov	x20, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _GSS_C_NO_CREDENTIAL@GOTPAGE
Lloh4:
	ldr	x27, [x27, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF]
	ldr	x8, [x27]
	stur	x8, [x29, #-96]
Lloh5:
	adrp	x8, _GSS_C_NO_CONTEXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_C_NO_CONTEXT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _GSS_C_NO_NAME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GSS_C_NO_NAME@GOTPAGEOFF]
	stur	x8, [x29, #-104]
Lloh10:
	ldr	x21, [x9]
Lloh11:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w23, w8, #6
	mov	x9, x23
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	mov	x0, x1
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh16:
	adrp	x8, _hostbased_initiator_cred@GOTPAGE
Lloh17:
	ldr	x8, [x8, _hostbased_initiator_cred@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x26, _TRUE@GOTPAGE
Lloh20:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
LBB0_3:
Lloh21:
	adrp	x8, _ccfile_dirlist@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ccfile_dirlist@GOTPAGEOFF]
Lloh23:
	ldr	x24, [x8]
	ldrb	w9, [x24]
	ldr	x8, [x20]
	cbz	w9, LBB0_9
; %bb.4:
	cbnz	x8, LBB0_10
; %bb.5:
	mov	w28, #58
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_31
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	strb	wzr, [x0]
	ldr	x1, [x20, #8]
	mov	x0, x24
	mov	x2, x22
	bl	_find_ccache_file
	cbnz	w0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x23
	ldrb	w8, [x24, #1]!
	strb	w28, [x23]
	cbnz	w8, LBB0_6
	b	LBB0_32
LBB0_9:
	cbz	x8, LBB0_15
LBB0_10:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_15
; %bb.11:
Lloh24:
	adrp	x8, _debug_level@GOTPAGE
Lloh25:
	ldr	x8, [x8, _debug_level@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.12:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	b	LBB0_15
LBB0_13:
Lloh32:
	adrp	x8, _GSSD_CREDENTIAL_CACHE_FILE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GSSD_CREDENTIAL_CACHE_FILE@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	str	x8, [sp, #-16]!
Lloh35:
	adrp	x2, l_.str@PAGE
Lloh36:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_16
LBB0_14:
Lloh37:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
LBB0_15:
	ldr	x8, [x20, #8]
	str	x8, [sp, #-16]!
Lloh42:
	adrp	x2, l_.str.4@PAGE
Lloh43:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_16:
	mov	x0, x22
	mov	x1, x23
	bl	_snprintf
	add	sp, sp, #16
LBB0_17:
	ldr	w2, [x26]
Lloh44:
	adrp	x0, l_.str.5@PAGE
Lloh45:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x22
	bl	_setenv
	ldr	x0, [x20]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_gssd_find_resource
	stur	x0, [x29, #-96]
	cbz	x0, LBB0_27
LBB0_19:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_gssd_find_resource
	stur	x0, [x29, #-104]
	cbz	x0, LBB0_28
LBB0_21:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_23
; %bb.22:
	bl	_gssd_find_resource
	mov	x21, x0
	cbz	x0, LBB0_30
LBB0_23:
Lloh46:
	adrp	x8, _use_old_des@GOTPAGE
Lloh47:
	ldr	x8, [x8, _use_old_des@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
Lloh49:
	adrp	x22, _GSS_S_COMPLETE@GOTPAGE
Lloh50:
	ldr	x22, [x22, _GSS_S_COMPLETE@GOTPAGEOFF]
	cbz	x8, LBB0_29
; %bb.24:
	ldur	x8, [x29, #-96]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.25:
	ldr	x1, [x20, #8]
	sub	x0, x29, #112
	sub	x2, x29, #96
	bl	_gssd_get_user_cred
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_33
; %bb.26:
	mov	w24, #0
	mov	w23, #1
	b	LBB0_35
LBB0_27:
Lloh51:
	adrp	x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGE
Lloh52:
	ldr	x8, [x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh54:
	adrp	x0, l_.str.6@PAGE
Lloh55:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_gssd_verbose_out
	b	LBB0_46
LBB0_28:
Lloh56:
	adrp	x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh59:
	adrp	x0, l_.str.7@PAGE
Lloh60:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_gssd_verbose_out
	b	LBB0_46
LBB0_29:
	mov	w23, #0
	b	LBB0_37
LBB0_30:
Lloh61:
	adrp	x8, _GSS_S_BAD_NAME@GOTPAGE
Lloh62:
	ldr	x8, [x8, _GSS_S_BAD_NAME@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh64:
	adrp	x0, l_.str.8@PAGE
Lloh65:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_gssd_verbose_out
	b	LBB0_46
LBB0_31:
	ldr	x1, [x20, #8]
	mov	x0, x24
	mov	x2, x22
	bl	_find_ccache_file
	cbnz	w0, LBB0_17
LBB0_32:
Lloh66:
	adrp	x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGE
Lloh67:
	ldr	x8, [x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	x8, [x20, #8]
	str	x8, [sp, #-16]!
Lloh69:
	adrp	x0, l_.str.1@PAGE
Lloh70:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_gssd_verbose_out
	add	sp, sp, #16
	b	LBB0_46
LBB0_33:
	ldr	x8, [x20, #8]
	ldur	x9, [x29, #-112]
	sub	sp, sp, #32
	stp	x0, x9, [sp, #8]
	str	x8, [sp]
Lloh71:
	adrp	x0, l_.str.9@PAGE
Lloh72:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_gssd_verbose_out
	add	sp, sp, #32
LBB0_34:
	mov	w23, #0
	mov	w24, #1
LBB0_35:
	ldur	x8, [x29, #-96]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_37
; %bb.36:
Lloh73:
	adrp	x8, _ETYPE_DES_CBC_CRC@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ETYPE_DES_CBC_CRC@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	rev	w9, w8
	mov	w8, #4
	stp	w9, w8, [x29, #-132]
	sub	x8, x29, #132
	stur	x8, [x29, #-120]
	add	x0, x19, #16
Lloh76:
	adrp	x8, _GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X@GOTPAGE
Lloh77:
	ldr	x8, [x8, _GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	sub	x1, x29, #96
	sub	x3, x29, #128
	bl	_gss_set_cred_option
	str	x0, [x19]
	ldr	x8, [x19, #16]
	stp	x0, x8, [sp, #-16]!
Lloh79:
	adrp	x0, l_.str.10@PAGE
Lloh80:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_gssd_verbose_out
	add	sp, sp, #16
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_44
LBB0_37:
	add	x0, x19, #16
	ldur	x1, [x29, #-96]
	ldp	w5, w4, [x20, #44]
	add	x8, x20, #32
	add	x9, x19, #36
	add	x10, x19, #32
	add	x11, x19, #28
	add	x12, x19, #24
	ldp	w7, w6, [x20, #36]
	sub	sp, sp, #48
	stp	x11, x12, [sp, #24]
	sub	x2, x29, #104
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x3, x21
	bl	_gss_init_sec_context
	add	sp, sp, #48
	str	x0, [x19]
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #8]
	sub	sp, sp, #32
	stp	x8, x9, [sp, #8]
	str	x0, [sp]
Lloh81:
	adrp	x0, l_.str.11@PAGE
Lloh82:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_gssd_verbose_out
	add	sp, sp, #32
	cbz	w23, LBB0_39
; %bb.38:
	sub	x0, x29, #112
	sub	x1, x29, #96
	bl	_gss_release_cred
LBB0_39:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_41
; %bb.40:
Lloh83:
	adrp	x9, _GSS_S_CONTINUE_NEEDED@GOTPAGE
Lloh84:
	ldr	x9, [x9, _GSS_S_CONTINUE_NEEDED@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_46
LBB0_41:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_43
; %bb.42:
	str	x8, [x19, #8]
	b	LBB0_46
LBB0_43:
	ldur	x0, [x29, #-104]
	bl	_gssd_make_resource
	str	x0, [x19, #8]
	b	LBB0_46
LBB0_44:
	tbnz	w24, #0, LBB0_46
; %bb.45:
	sub	x0, x29, #112
	sub	x1, x29, #96
	bl	_gss_release_cred
LBB0_46:
	ldr	w0, [x26]
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh86:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh87:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.47:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_48:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_CREDENTIAL,8,3        ; @GSS_C_NO_CREDENTIAL
	.comm	_GSS_C_NO_CONTEXT,8,3           ; @GSS_C_NO_CONTEXT
	.comm	_GSS_C_NO_NAME,8,3              ; @GSS_C_NO_NAME
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_hostbased_initiator_cred,8,3   ; @hostbased_initiator_cred
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FILE:%s"

	.comm	_GSSD_CREDENTIAL_CACHE_FILE,8,3 ; @GSSD_CREDENTIAL_CACHE_FILE
	.comm	_ccfile_dirlist,8,3             ; @ccfile_dirlist
	.comm	_GSS_S_CREDENTIALS_EXPIRED,8,3  ; @GSS_S_CREDENTIALS_EXPIRED
l_.str.1:                               ; @.str.1
	.asciz	"gssd_init_sec_context: -s no credential cache file found for uid=%d\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_debug_level,8,3                ; @debug_level
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"gss_init_sec_context: cred for non-root"

	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"gss_init_sec_context: cred for non-root\n"

l_.str.4:                               ; @.str.4
	.asciz	"FILE:/tmp/krb5cc_%d"

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

l_.str.6:                               ; @.str.6
	.asciz	"gssd_init_sec_context: cred resource not found\n"

	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ; @GSS_S_CONTEXT_EXPIRED
l_.str.7:                               ; @.str.7
	.asciz	"gssd_init_sec_context: context resource not found\n"

	.comm	_GSS_S_BAD_NAME,8,3             ; @GSS_S_BAD_NAME
l_.str.8:                               ; @.str.8
	.asciz	"gssd_init_sec_context: name resource not found\n"

	.comm	_use_old_des,8,3                ; @use_old_des
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
l_.str.9:                               ; @.str.9
	.asciz	"gssd_init_sec_context: get user cred failed uid=%d major=0x%x minor=%d\n"

	.comm	_ETYPE_DES_CBC_CRC,4,2          ; @ETYPE_DES_CBC_CRC
	.comm	_GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X,4,2 ; @GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X
l_.str.10:                              ; @.str.10
	.asciz	"gssd_init_sec_context: set allowable enctype major=0x%x minor=%d\n"

l_.str.11:                              ; @.str.11
	.asciz	"gssd_init_sec_context: done major=0x%x minor=%d uid=%d\n"

	.comm	_GSS_S_CONTINUE_NEEDED,8,3      ; @GSS_S_CONTINUE_NEEDED
.subsections_via_symbols
