	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_import_sec_context         ## -- Begin function gss_import_sec_context
	.p2align	4, 0x90
_gss_import_sec_context:                ## @gss_import_sec_context
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, (%rdi)
	movq	_GSS_C_NO_CONTEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movq	8(%rsi), %rax
	cmpq	$1, %rax
	jbe	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	(%rsi), %rcx
	movzbl	1(%rcx), %edx
	movb	%dl, -72(%rbp)
	leaq	2(%rdx), %rsi
	cmpq	%rsi, %rax
	jb	LBB0_6
## %bb.2:
	movq	%rdi, %r15
	leaq	2(%rcx), %rsi
	movq	%rsi, -64(%rbp)
	subq	%rdx, %rax
	addq	$-2, %rax
	movq	%rax, -56(%rbp)
	leaq	(%rcx,%rdx), %rax
	addq	$2, %rax
	movq	%rax, -48(%rbp)
	leaq	-72(%rbp), %rdi
	callq	__gss_find_mech_switch
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r12
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r13
	movq	%r12, 8(%rax)
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	*(%r12)
	movq	%rax, %rbx
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_10
## %bb.5:
	movq	%r13, (%r14)
	jmp	LBB0_8
LBB0_6:
	movq	_GSS_S_DEFECTIVE_TOKEN@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_10:
	movq	(%r15), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	__gss_mg_error
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_CONTEXT,8,3           ## @GSS_C_NO_CONTEXT
	.comm	_GSS_S_DEFECTIVE_TOKEN,8,3      ## @GSS_S_DEFECTIVE_TOKEN
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_import_sec_context         ; -- Begin function gss_import_sec_context
	.p2align	2
_gss_import_sec_context:                ; @gss_import_sec_context
	.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
	str	xzr, [x0]
Lloh0:
	adrp	x8, _GSS_C_NO_CONTEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NO_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x2]
	ldr	x8, [x1, #8]
	cmp	x8, #1
	b.ls	LBB0_6
; %bb.1:
	ldr	x10, [x1]
	ldrb	w9, [x10, #1]
	strb	w9, [sp, #16]
	add	x11, x9, #2
	cmp	x8, x11
	b.lo	LBB0_6
; %bb.2:
	mov	x20, x2
	mov	x19, x0
	add	x10, x10, #2
	str	x10, [sp, #24]
	sub	x8, x8, x9
	sub	x8, x8, #2
	add	x9, x10, x9
	stp	x8, x9, [sp]
	add	x0, sp, #16
	bl	__gss_find_mech_switch
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x23, x0
	str	x22, [x0, #8]
	ldr	x8, [x22]
	mov	x1, sp
	mov	x0, x19
	mov	x2, x23
	blr	x8
	mov	x21, x0
Lloh3:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:
	str	x23, [x20]
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
LBB0_7:
	ldr	x21, [x8]
LBB0_8:
	mov	x0, x21
	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_9:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh11:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_7
LBB0_10:
	ldr	x2, [x19]
	mov	x0, x22
	mov	x1, x21
	bl	__gss_mg_error
	mov	x0, x23
	bl	_free
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_CONTEXT,8,3           ; @GSS_C_NO_CONTEXT
	.comm	_GSS_S_DEFECTIVE_TOKEN,8,3      ; @GSS_S_DEFECTIVE_TOKEN
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
.subsections_via_symbols
