	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function import_export_name
_import_export_name:                    ## @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	_GSS_KRB5_MECHANISM@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %eax
	addl	$10, %eax
	cmpl	%eax, (%rdx)
	jl	LBB0_7
## %bb.1:
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	$3, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movzbl	3(%r13), %ecx
	movq	(%r14), %rax
	movl	(%rax), %edx
	leal	2(%rdx), %esi
	cmpl	%ecx, %esi
	jne	LBB0_7
## %bb.3:
	cmpb	$6, 4(%r13)
	jne	LBB0_7
## %bb.4:
	movzbl	5(%r13), %ecx
	cmpl	%ecx, %edx
	jne	LBB0_7
## %bb.5:
	leaq	6(%r13), %rdi
	movq	8(%rax), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	(%r14), %rax
	movslq	(%rax), %r14
	movzbl	6(%r14,%r13), %eax
	shll	$24, %eax
	movzbl	7(%r14,%r13), %ecx
	shlq	$16, %rcx
	cltq
	orq	%rcx, %rax
	movzbl	8(%r14,%r13), %ecx
	shlq	$8, %rcx
	orq	%rax, %rcx
	movzbl	9(%r14,%r13), %edx
	orq	%rcx, %rdx
	movl	(%rbx), %eax
	subl	%r14d, %eax
	addl	$-10, %eax
	cmpl	%eax, %edx
	jle	LBB0_10
LBB0_7:
	movq	_GSS_S_BAD_NAME@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	leal	1(%rdx), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %rbx
	leaq	(%r14,%r13), %rsi
	addq	$10, %rsi
	movq	%rax, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	movb	$0, (%rbx,%r14)
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_parse_krb5_name
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	movl	%r14d, %eax
	jmp	LBB0_9
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_KRB5_MECHANISM,8,3         ## @GSS_KRB5_MECHANISM
	.comm	_GSS_S_BAD_NAME,4,2             ## @GSS_S_BAD_NAME
	.section	__TEXT,__literal4,4byte_literals
L_.str:                                 ## @.str
	.asciz	"\004\001\000"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.no_dead_strip	_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 import_export_name
_import_export_name:                    ; @import_export_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x2]
Lloh0:
	adrp	x24, _GSS_KRB5_MECHANISM@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GSS_KRB5_MECHANISM@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	w9, [x9]
	add	w9, w9, #10
	cmp	w8, w9
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x2, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	w2, #3
	bl	_memcmp
	cbnz	x0, LBB0_7
; %bb.2:
	ldrb	w9, [x23, #3]
	ldr	x8, [x24]
	ldr	w2, [x8]
	add	w10, w2, #2
	cmp	w10, w9
	b.ne	LBB0_7
; %bb.3:
	ldrb	w9, [x23, #4]
	cmp	w9, #6
	b.ne	LBB0_7
; %bb.4:
	ldrb	w9, [x23, #5]
	cmp	w2, w9
	b.ne	LBB0_7
; %bb.5:
	add	x0, x23, #6
	ldr	x1, [x8, #8]
	bl	_memcmp
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x24]
	ldrsw	x8, [x8]
	add	x24, x8, x23
	ldrb	w9, [x24, #6]
	lsl	w9, w9, #24
	ldrb	w10, [x24, #7]
	sxtw	x9, w9
	bfi	x9, x10, #16, #8
	ldrb	w10, [x24, #8]
	bfi	x9, x10, #8, #8
	ldrb	w10, [x24, #9]
	orr	x23, x9, x10
	ldr	w9, [x22]
	sub	w8, w9, w8
	sub	w8, w8, #10
	cmp	w23, w8
	b.le	LBB0_10
LBB0_7:
Lloh4:
	adrp	x8, _GSS_S_BAD_NAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GSS_S_BAD_NAME@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	add	w0, w23, #1
	bl	_malloc
	cbz	x0, LBB0_12
; %bb.11:
	mov	x22, x0
	add	x1, x24, #10
	mov	x2, x23
	bl	_memcpy
	strb	wzr, [x22, x23]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	bl	_parse_krb5_name
	mov	x19, x0
	mov	x0, x22
	bl	_free
	mov	x0, x19
	b	LBB0_9
LBB0_12:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh9:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_KRB5_MECHANISM,8,3         ; @GSS_KRB5_MECHANISM
	.comm	_GSS_S_BAD_NAME,4,2             ; @GSS_S_BAD_NAME
	.section	__TEXT,__literal4,4byte_literals
l_.str:                                 ; @.str
	.asciz	"\004\001\000"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.no_dead_strip	_import_export_name
.subsections_via_symbols
