	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _gss_import_export_name
__gss_import_export_name:               ## @_gss_import_export_name
	.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	(%rsi), %rcx
	movq	8(%rsi), %rax
	movq	$0, (%rdi)
	movq	$0, (%rdx)
	cmpq	$1, %rax
	jbe	LBB0_21
## %bb.1:
	cmpb	$4, (%rcx)
	jne	LBB0_21
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movb	1(%rcx), %dl
	cmpb	$1, %dl
	je	LBB0_5
## %bb.3:
	cmpb	$2, %dl
	jne	LBB0_21
## %bb.4:
	xorl	%r8d, %r8d
	jmp	LBB0_6
LBB0_5:
	movb	$1, %r8b
LBB0_6:
	movq	%rax, %rdx
	andq	$-2, %rdx
	cmpq	$2, %rdx
	je	LBB0_21
## %bb.7:
	cmpb	$6, 4(%rcx)
	jne	LBB0_21
## %bb.8:
	movzwl	2(%rcx), %edx
	rolw	$8, %dx
	movzwl	%dx, %r10d
	movzbl	5(%rcx), %r11d
	testb	$-128, %r11b
	jne	LBB0_10
## %bb.9:
	movl	%r11d, -56(%rbp)
	addq	$6, %rcx
	addq	$-6, %rax
	addq	$-2, %r10
	jmp	LBB0_19
LBB0_10:
	addq	$6, %rcx
	addq	$-6, %rax
	addq	$-2, %r10
	movl	$0, -56(%rbp)
	testl	%r11d, %r11d
	je	LBB0_13
## %bb.11:
	cmpb	$1, %r11b
	jne	LBB0_14
## %bb.12:
	xorl	%r9d, %r9d
                                        ## implicit-def: $esi
	jmp	LBB0_17
LBB0_13:
	xorl	%r11d, %r11d
	jmp	LBB0_19
LBB0_14:
	movl	%r11d, %r9d
	andl	$-2, %r9d
	xorl	%edx, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %esi
	movzbl	(%rcx,%rdx), %edi
	orl	%esi, %edi
	movl	%edi, -56(%rbp)
	shll	$8, %edi
	movzbl	1(%rcx,%rdx), %esi
	orl	%edi, %esi
	movl	%esi, -56(%rbp)
	addq	$2, %rdx
	cmpl	%edx, %r9d
	jne	LBB0_15
## %bb.16:
	movl	%esi, %r9d
	shll	$8, %r9d
	addq	%rdx, %rcx
	subq	%rdx, %r10
	subq	%rdx, %rax
LBB0_17:
	testb	$1, %r11b
	movl	%esi, %r11d
	je	LBB0_19
## %bb.18:
	movzbl	(%rcx), %edx
	orl	%edx, %r9d
	movl	%r9d, -56(%rbp)
	incq	%rcx
	decq	%rax
	decq	%r10
	movl	%r9d, %r11d
LBB0_19:
	movslq	%r11d, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_21
## %bb.20:
	movq	%rcx, -48(%rbp)
	leaq	4(%r10), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_24
LBB0_21:
	movq	_GSS_S_BAD_NAME@GOTPCREL(%rip), %rax
LBB0_22:
	movq	(%rax), %rbx
LBB0_23:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	testb	%r8b, %r8b
	je	LBB0_26
## %bb.25:
	subq	%r10, %rax
	addq	$-4, %rax
	movzbl	(%rcx,%r10), %edx
	shll	$24, %edx
	movzbl	1(%rcx,%r10), %esi
	shlq	$16, %rsi
	movslq	%edx, %rdx
	orq	%rsi, %rdx
	movzbl	2(%rcx,%r10), %esi
	shlq	$8, %rsi
	orq	%rdx, %rsi
	movzbl	3(%rcx,%r10), %ecx
	orq	%rsi, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_21
LBB0_26:
	leaq	-56(%rbp), %rdi
	callq	___gss_get_mechanism
	testq	%rax, %rax
	je	LBB0_30
## %bb.27:
	movq	%rax, %r12
	movq	_GSS_C_NT_EXPORT_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*(%r12)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_31
## %bb.28:
	movq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	__gss_make_name
	testq	%rax, %rax
	je	LBB0_32
## %bb.29:
	movq	%rax, (%r15)
	movq	$0, (%r14)
	movq	(%r13), %rbx
	jmp	LBB0_23
LBB0_30:
	movq	_GSS_S_BAD_MECH@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_31:
	movq	%rax, %rbx
	movq	(%r14), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	__gss_mg_error
	jmp	LBB0_23
LBB0_32:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	*8(%r12)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_BAD_NAME,8,3             ## @GSS_S_BAD_NAME
	.comm	_GSS_S_BAD_MECH,8,3             ## @GSS_S_BAD_MECH
	.comm	_GSS_C_NT_EXPORT_NAME,4,2       ## @GSS_C_NT_EXPORT_NAME
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.no_dead_strip	__gss_import_export_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _gss_import_export_name
__gss_import_export_name:               ; @_gss_import_export_name
	.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
	ldp	x10, x9, [x1]
	str	xzr, [x0]
	str	xzr, [x2]
	cmp	x9, #1
	b.ls	LBB0_16
; %bb.1:
	ldrb	w8, [x10]
	cmp	w8, #4
	b.ne	LBB0_16
; %bb.2:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldrb	w8, [x10, #1]
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #2
	b.ne	LBB0_16
; %bb.4:
	mov	w8, #0
LBB0_5:
	and	x11, x9, #0xfffffffffffffffe
	cmp	x11, #2
	b.eq	LBB0_16
; %bb.6:
	ldrb	w11, [x10, #4]
	cmp	w11, #6
	b.ne	LBB0_16
; %bb.7:
	ldrh	w11, [x10, #2]
	rev16	w14, w11
	ldrb	w11, [x10, #5]
	tbnz	w11, #7, LBB0_9
; %bb.8:
	str	w11, [sp, #16]
	add	x10, x10, #6
	b	LBB0_13
LBB0_9:
	add	x10, x10, #6
	str	wzr, [sp, #16]
	cbz	w11, LBB0_13
; %bb.10:
	mov	w13, #0
	sub	w12, w11, #1
	sub	x14, x14, #3
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x10], #1
	bfi	w15, w13, #8, #24
	mov	x13, x15
	str	w15, [sp, #16]
	subs	w11, w11, #1
	b.ne	LBB0_11
; %bb.12:
	sub	x9, x9, x12
	sub	x9, x9, #7
	sub	x12, x14, x12
	mov	x11, x13
	b	LBB0_14
LBB0_13:
	sub	x9, x9, #6
	sub	x12, x14, #2
LBB0_14:
	cmp	x12, w11, sxtw
	b.ne	LBB0_16
; %bb.15:
	str	x10, [sp, #24]
	add	x11, x12, #4
	cmp	x9, x11
	b.hs	LBB0_19
LBB0_16:
Lloh0:
	adrp	x8, _GSS_S_BAD_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_BAD_NAME@GOTPAGEOFF]
LBB0_17:
	ldr	x21, [x8]
LBB0_18:
	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_19:
	cbz	w8, LBB0_21
; %bb.20:
	sub	x8, x9, x12
	sub	x8, x8, #4
	add	x9, x10, x12
	ldrb	w10, [x9]
	lsl	w10, w10, #24
	ldrb	w11, [x9, #1]
	sxtw	x10, w10
	bfi	x10, x11, #16, #8
	ldrb	w11, [x9, #2]
	bfi	x10, x11, #8, #8
	ldrb	w9, [x9, #3]
	orr	x9, x10, x9
	cmp	x8, x9
	b.ne	LBB0_16
LBB0_21:
	add	x0, sp, #16
	bl	___gss_get_mechanism
	cbz	x0, LBB0_25
; %bb.22:
	mov	x22, x0
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _GSS_C_NT_EXPORT_NAME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GSS_C_NT_EXPORT_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x21
	blr	x8
Lloh5:
	adrp	x23, _GSS_S_COMPLETE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _GSS_S_COMPLETE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.23:
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	__gss_make_name
	cbz	x0, LBB0_27
; %bb.24:
	str	x0, [x20]
	str	xzr, [x19]
	ldr	x21, [x23]
	b	LBB0_18
LBB0_25:
Lloh7:
	adrp	x8, _GSS_S_BAD_MECH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GSS_S_BAD_MECH@GOTPAGEOFF]
	b	LBB0_17
LBB0_26:
	mov	x21, x0
	ldr	x2, [x19]
	mov	x0, x22
	mov	x1, x21
	bl	__gss_mg_error
	b	LBB0_18
LBB0_27:
	ldr	x8, [x22, #8]
	add	x1, sp, #8
	mov	x0, x19
	blr	x8
Lloh9:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_BAD_NAME,8,3             ; @GSS_S_BAD_NAME
	.comm	_GSS_S_BAD_MECH,8,3             ; @GSS_S_BAD_MECH
	.comm	_GSS_C_NT_EXPORT_NAME,4,2       ; @GSS_C_NT_EXPORT_NAME
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.no_dead_strip	__gss_import_export_name
.subsections_via_symbols
