	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function export_lucid_sec_context_v1
_export_lucid_sec_context_v1:           ## @export_lucid_sec_context_v1
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	$0, -56(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdi)
	leaq	8(%rsi), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_HEIMDAL_MUTEX_lock
	movq	_IS_CFX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	andl	(%r12), %r15d
	xorl	%eax, %eax
	callq	_krb5_storage_emem
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_krb5_store_int32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.3:
	movq	_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	andl	(%r12), %eax
	setne	%sil
	movq	%r13, %rdi
	callq	_krb5_store_int32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.4:
	movl	4(%r12), %esi
	movq	%r13, %rdi
	callq	_krb5_store_int32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.5:
	movl	12(%r12), %esi
	leaq	-64(%rbp), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_krb5_auth_con_getlocalseqnumber
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_krb5_store_uint32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.6:
	movl	-64(%rbp), %esi
	movq	%r13, %rdi
	callq	_krb5_store_uint32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.7:
	movl	12(%r12), %esi
	leaq	-64(%rbp), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_krb5_auth_con_getremoteseqnumber
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_krb5_store_uint32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.8:
	movl	-64(%rbp), %esi
	movq	%r13, %rdi
	callq	_krb5_store_uint32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.9:
	xorl	%esi, %esi
	testl	%r15d, %r15d
	setne	%sil
	movq	%r13, %rdi
	callq	_krb5_store_int32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.10:
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	__gsskrb5i_get_token_key
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.11:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.16:
	movq	_ACCEPTOR_SUBKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%esi, %esi
	andl	(%r12), %r15d
	setne	%sil
	movq	%r13, %rdi
	callq	_krb5_store_int32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.17:
	movq	-56(%rbp), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_krb5_store_keyblock
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.18:
	testl	%r15d, %r15d
	jne	LBB0_19
	jmp	LBB0_20
LBB0_1:
	xorl	%eax, %eax
	callq	__gsskrb5_clear_status
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_22:
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.23:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_krb5_free_keyblock
LBB0_24:
	testq	%r13, %r13
	je	LBB0_26
## %bb.25:
	movq	%r13, %rdi
	callq	_krb5_storage_free
LBB0_26:
	testq	%r14, %r14
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_28
## %bb.27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_28:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_HEIMDAL_MUTEX_unlock
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	-56(%rbp), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	movl	$-1, %esi
	movl	$-1, %r12d
	cmpl	$6, %eax
	ja	LBB0_14
## %bb.13:
	cltq
	leaq	l_switch.table.export_lucid_sec_context_v1(%rip), %rcx
	movl	(%rcx,%rax,4), %esi
	leaq	l_switch.table.export_lucid_sec_context_v1.1(%rip), %rcx
	movl	(%rcx,%rax,4), %r12d
LBB0_14:
	movq	%r13, %rdi
	callq	_krb5_store_int32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.15:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_krb5_store_int32
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
LBB0_19:
	movq	-56(%rbp), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_krb5_store_keyblock
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
LBB0_20:
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_krb5_storage_to_data
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:
	movq	-80(%rbp), %rax
	movq	%rax, -112(%rbp)
	leaq	-112(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_gss_add_buffer_set_member
	movq	%rax, %r14
	leaq	-80(%rbp), %rdi
	callq	_krb5_data_free
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_IS_CFX,4,2                     ## @IS_CFX
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_LOCAL,4,2                      ## @LOCAL
	.comm	_ACCEPTOR_SUBKEY,4,2            ## @ACCEPTOR_SUBKEY
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.no_dead_strip	_export_lucid_sec_context_v1
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.export_lucid_sec_context_v1
l_switch.table.export_lucid_sec_context_v1:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	17                              ## 0x11
	.long	17                              ## 0x11

	.p2align	2                               ## @switch.table.export_lucid_sec_context_v1.1
l_switch.table.export_lucid_sec_context_v1.1:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	16                              ## 0x10
	.long	16                              ## 0x10

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function export_lucid_sec_context_v1
_export_lucid_sec_context_v1:           ; @export_lucid_sec_context_v1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x24, x3
	mov	x22, x2
	mov	x25, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	str	xzr, [sp, #24]
	str	xzr, [x0]
	add	x20, x1, #8
	mov	x0, x20
	bl	_HEIMDAL_MUTEX_lock
	ldr	w27, [x25]
Lloh3:
	adrp	x8, _IS_CFX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_CFX@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	bl	_krb5_storage_emem
	mov	x23, x0
	cbz	x0, LBB0_14
; %bb.1:
	mov	x0, x23
	mov	w1, #1
	bl	_krb5_store_int32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.2:
	ldr	w8, [x25]
Lloh6:
	adrp	x9, _LOCAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LOCAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w1, ne
	mov	x0, x23
	bl	_krb5_store_int32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.3:
	ldr	w1, [x25, #4]
	mov	x0, x23
	bl	_krb5_store_int32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.4:
	ldr	w1, [x25, #12]
	add	x2, sp, #16
	mov	x0, x22
	bl	_krb5_auth_con_getlocalseqnumber
	mov	x0, x23
	mov	w1, #0
	bl	_krb5_store_uint32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.5:
	ldr	w1, [sp, #16]
	mov	x0, x23
	bl	_krb5_store_uint32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.6:
	ldr	w1, [x25, #12]
	add	x2, sp, #16
	mov	x0, x22
	bl	_krb5_auth_con_getremoteseqnumber
	mov	x0, x23
	mov	w1, #0
	bl	_krb5_store_uint32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.7:
	ldr	w1, [sp, #16]
	mov	x0, x23
	bl	_krb5_store_uint32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.8:
	and	w27, w28, w27
	cmp	w27, #0
	cset	w1, ne
	mov	x0, x23
	bl	_krb5_store_int32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.9:
	add	x2, sp, #24
	mov	x0, x25
	mov	x1, x22
	bl	__gsskrb5i_get_token_key
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.10:
	cbz	w27, LBB0_22
; %bb.11:
	ldr	w8, [x25]
Lloh9:
	adrp	x9, _ACCEPTOR_SUBKEY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACCEPTOR_SUBKEY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ands	w25, w9, w8
	cset	w1, ne
	mov	x0, x23
	bl	_krb5_store_int32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.12:
	ldr	x8, [sp, #24]
	ldr	w1, [x8]
	mov	x0, x23
	bl	_krb5_store_keyblock
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.13:
	cbnz	w25, LBB0_27
	b	LBB0_28
LBB0_14:
	bl	__gsskrb5_clear_status
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	x26, [x8]
LBB0_15:
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_17
; %bb.16:
	mov	x0, x22
	bl	_krb5_free_keyblock
LBB0_17:
	cbz	x23, LBB0_19
; %bb.18:
	mov	x0, x23
	bl	_krb5_storage_free
LBB0_19:
	cbz	x26, LBB0_21
; %bb.20:
	str	x26, [x21]
Lloh15:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	x19, [x8]
LBB0_21:
	mov	x0, x20
	bl	_HEIMDAL_MUTEX_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_24
; %bb.23:
	sbfiz	x8, x8, #2, #32
Lloh18:
	adrp	x9, l_switch.table.export_lucid_sec_context_v1@PAGE
Lloh19:
	add	x9, x9, l_switch.table.export_lucid_sec_context_v1@PAGEOFF
	ldr	w1, [x9, x8]
Lloh20:
	adrp	x9, l_switch.table.export_lucid_sec_context_v1.1@PAGE
Lloh21:
	add	x9, x9, l_switch.table.export_lucid_sec_context_v1.1@PAGEOFF
	ldr	w25, [x9, x8]
	b	LBB0_25
LBB0_24:
	mov	w1, #-1
	mov	w25, #-1
LBB0_25:
	mov	x0, x23
	bl	_krb5_store_int32
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.26:
	mov	x0, x23
	mov	x1, x25
	bl	_krb5_store_int32
	mov	x26, x0
	cbnz	x0, LBB0_15
LBB0_27:
	ldr	x8, [sp, #24]
	ldr	w1, [x8]
	mov	x0, x23
	bl	_krb5_store_keyblock
	mov	x26, x0
	cbnz	x0, LBB0_15
LBB0_28:
	add	x1, sp, #8
	mov	x0, x23
	bl	_krb5_storage_to_data
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.29:
	ldr	d0, [sp, #8]
	str	d0, [sp]
	mov	x1, sp
	mov	x0, x21
	mov	x2, x24
	bl	_gss_add_buffer_set_member
	mov	x26, x0
	add	x0, sp, #8
	bl	_krb5_data_free
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_IS_CFX,4,2                     ; @IS_CFX
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_LOCAL,4,2                      ; @LOCAL
	.comm	_ACCEPTOR_SUBKEY,4,2            ; @ACCEPTOR_SUBKEY
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.no_dead_strip	_export_lucid_sec_context_v1
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.export_lucid_sec_context_v1
l_switch.table.export_lucid_sec_context_v1:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	17                              ; 0x11
	.long	17                              ; 0x11

	.p2align	2                               ; @switch.table.export_lucid_sec_context_v1.1
l_switch.table.export_lucid_sec_context_v1.1:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	16                              ; 0x10
	.long	16                              ; 0x10

.subsections_via_symbols
