	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_export_sec_context         ## -- Begin function gss_export_sec_context
	.p2align	4, 0x90
_gss_export_sec_context:                ## @gss_export_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	movq	8(%r14), %r15
	movq	%rdx, %rdi
	callq	__gss_buffer_zero
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%r15)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_free
	movq	_GSS_C_NO_CONTEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movl	-48(%rbp), %eax
	movl	8(%r15), %ecx
	leal	(%rax,%rcx), %edi
	addl	$2, %edi
	movl	%edi, (%r12)
	callq	_malloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movb	9(%r15), %al
	movb	%al, (%rbx)
	movb	8(%r15), %al
	movb	%al, 1(%rbx)
	leaq	2(%rbx), %rdi
	movl	8(%r15), %edx
	movl	12(%r15), %esi
	callq	_memcpy
	movslq	8(%r15), %rax
	leaq	(%rbx,%rax), %rdi
	addq	$2, %rdi
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	callq	_memcpy
	leaq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_gss_release_buffer
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_4:
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%rax, %rbx
	movq	%rax, %rsi
	callq	__gss_mg_error
	movq	%rbx, %rax
	jmp	LBB0_5
LBB0_2:
	movq	%r12, %rdi
	callq	__gss_buffer_zero
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_GSS_C_NO_CONTEXT,8,3           ## @GSS_C_NO_CONTEXT
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_export_sec_context         ; -- Begin function gss_export_sec_context
	.p2align	2
_gss_export_sec_context:                ; @gss_export_sec_context
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x24, [x1]
	ldr	x21, [x24, #8]
	mov	x0, x2
	bl	__gss_buffer_zero
	ldr	x8, [x21]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x24
	blr	x8
	mov	x20, x0
Lloh0:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x24
	bl	_free
Lloh3:
	adrp	x8, _GSS_C_NO_CONTEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_C_NO_CONTEXT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x23]
	ldr	w8, [sp, #8]
	ldr	w9, [x21, #8]
	add	w8, w8, w9
	add	w0, w8, #2
	str	w0, [x22]
	bl	_malloc
	str	x0, [x22, #8]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x21, #8]
	lsr	w8, w8, #8
	strb	w8, [x0]
	ldr	w8, [x21, #8]
	strb	w8, [x0, #1]
	add	x22, x0, #2
	ldp	w2, w1, [x21, #8]
	mov	x0, x22
	bl	_memcpy
	ldrsw	x8, [x21, #8]
	add	x0, x22, x8
	ldp	w2, w1, [sp, #8]
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer
	b	LBB0_5
LBB0_3:
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x20
	bl	__gss_mg_error
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	bl	__gss_buffer_zero
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh9:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	x20, [x8]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_GSS_C_NO_CONTEXT,8,3           ; @GSS_C_NO_CONTEXT
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
.subsections_via_symbols
