	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svcauth_gss_set_svc_name       ## -- Begin function svcauth_gss_set_svc_name
	.p2align	4, 0x90
_svcauth_gss_set_svc_name:              ## @svcauth_gss_set_svc_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_log_debug
	movq	__svcauth_gss_name@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	__svcauth_gss_name@GOTPCREL(%rip), %r14
	leaq	-24(%rbp), %rdi
	movq	%r14, %rsi
	callq	_gss_release_name
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	$0, (%r14)
LBB0_4:
	movq	__svcauth_gss_name@GOTPCREL(%rip), %rdx
	leaq	-24(%rbp), %rdi
	movl	%ebx, %esi
	callq	_gss_duplicate_name
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	-24(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	movq	-24(%rbp), %rdx
	leaq	L_.str.2(%rip), %rdi
LBB0_7:
	movq	%rax, %rsi
	callq	_log_status
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in svcauth_gss_set_svc_name()"

	.comm	__svcauth_gss_name,8,3          ## @_svcauth_gss_name
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
L_.str.1:                               ## @.str.1
	.asciz	"gss_release_name"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.2:                               ## @.str.2
	.asciz	"gss_duplicate_name"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svcauth_gss_set_svc_name       ; -- Begin function svcauth_gss_set_svc_name
	.p2align	2
_svcauth_gss_set_svc_name:              ; @svcauth_gss_set_svc_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debug
Lloh2:
	adrp	x8, __svcauth_gss_name@GOTPAGE
Lloh3:
	ldr	x8, [x8, __svcauth_gss_name@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x21, _GSS_S_COMPLETE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _GSS_S_COMPLETE@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
Lloh7:
	adrp	x20, __svcauth_gss_name@GOTPAGE
Lloh8:
	ldr	x20, [x20, __svcauth_gss_name@GOTPAGEOFF]
	add	x0, sp, #8
	mov	x1, x20
	bl	_gss_release_name
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	str	xzr, [x20]
LBB0_3:
Lloh9:
	adrp	x2, __svcauth_gss_name@GOTPAGE
Lloh10:
	ldr	x2, [x2, __svcauth_gss_name@GOTPAGEOFF]
	add	x0, sp, #8
	mov	x1, x19
	bl	_gss_duplicate_name
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	x1, x0
	ldr	x2, [sp, #8]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
	mov	x1, x0
	ldr	x2, [sp, #8]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	bl	_log_status
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in svcauth_gss_set_svc_name()"

	.comm	__svcauth_gss_name,8,3          ; @_svcauth_gss_name
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
l_.str.1:                               ; @.str.1
	.asciz	"gss_release_name"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.2:                               ; @.str.2
	.asciz	"gss_duplicate_name"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
