	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svcauth_gss_import_name
_svcauth_gss_import_name:               ## @svcauth_gss_import_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_log_debug
	movq	%rbx, -40(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -32(%rbp)
	movq	_GSS_C_NT_HOSTBASED_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	leaq	-12(%rbp), %rcx
	callq	_gss_import_name
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	-12(%rbp), %edi
	callq	_svcauth_gss_set_svc_name
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	leaq	-24(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	callq	_gss_release_name
	jmp	LBB0_4
LBB0_1:
	movq	-24(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_log_status
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in svcauth_gss_import_name()"

	.comm	_GSS_C_NT_HOSTBASED_SERVICE,8,3 ## @GSS_C_NT_HOSTBASED_SERVICE
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
L_.str.1:                               ## @.str.1
	.asciz	"gss_import_name"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_svcauth_gss_import_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svcauth_gss_import_name
_svcauth_gss_import_name:               ; @svcauth_gss_import_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debug
	str	x19, [sp, #8]
	mov	x0, x19
	bl	_strlen
	str	w0, [sp, #16]
Lloh2:
	adrp	x8, _GSS_C_NT_HOSTBASED_SERVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_C_NT_HOSTBASED_SERVICE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, sp
	add	x1, sp, #8
	sub	x3, x29, #20
	bl	_gss_import_name
Lloh5:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldur	w0, [x29, #-20]
	bl	_svcauth_gss_set_svc_name
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.2:
	mov	x0, sp
	sub	x1, x29, #20
	bl	_gss_release_name
	b	LBB0_4
LBB0_3:
	mov	x1, x0
	ldr	x2, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_status
LBB0_4:
Lloh13:
	adrp	x8, _FALSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in svcauth_gss_import_name()"

	.comm	_GSS_C_NT_HOSTBASED_SERVICE,8,3 ; @GSS_C_NT_HOSTBASED_SERVICE
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
l_.str.1:                               ; @.str.1
	.asciz	"gss_import_name"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_svcauth_gss_import_name
.subsections_via_symbols
