	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_gss_set_svc_name           ## -- Begin function rpc_gss_set_svc_name
	.p2align	4, 0x90
_rpc_gss_set_svc_name:                  ## @rpc_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_svc_rpc_gss_init
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rpc_gss_mech_to_oid
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	$1, -88(%rbp)
	movq	-56(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	%r14, -96(%rbp)
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, -104(%rbp)
	movq	_GSS_C_NT_HOSTBASED_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	callq	_gss_import_name
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_5
## %bb.2:
	movl	-44(%rbp), %esi
	movq	_GSS_C_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-64(%rbp), %rdi
	leaq	-88(%rbp), %rcx
	leaq	-48(%rbp), %r9
	movq	%r12, %rdx
	callq	_gss_acquire_cred
	cmpq	(%r13), %rax
	jne	LBB0_5
## %bb.3:
	leaq	-64(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	callq	_gss_release_name
	movl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_strdup
	movl	%eax, 40(%r13)
	movq	-56(%rbp), %rax
	movq	%rax, 32(%r13)
	movq	%r12, 24(%r13)
	movl	-48(%rbp), %eax
	movl	%eax, 16(%r13)
	movq	%r15, 8(%r13)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	_sn_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_svc_rpc_gss_svc_names@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_SLIST_INSERT_HEAD
	movq	_TRUE@GOTPCREL(%rip), %rbx
LBB0_5:
	movl	(%rbx), %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_GSS_C_NT_HOSTBASED_SERVICE,4,2 ## @GSS_C_NT_HOSTBASED_SERVICE
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_GSS_C_ACCEPT,4,2               ## @GSS_C_ACCEPT
	.comm	_svc_rpc_gss_svc_names,4,2      ## @svc_rpc_gss_svc_names
	.comm	_sn_link,4,2                    ## @sn_link
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_gss_set_svc_name           ; -- Begin function rpc_gss_set_svc_name
	.p2align	2
_rpc_gss_set_svc_name:                  ; @rpc_gss_set_svc_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_svc_rpc_gss_init
	add	x1, sp, #24
	mov	x0, x23
	bl	_rpc_gss_mech_to_oid
	cbz	w0, LBB0_5
; %bb.1:
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	x8, [sp, #24]
	str	x8, [sp, #16]
	str	x22, [sp, #48]
	mov	x0, x22
	bl	_strlen
	str	w0, [sp, #40]
Lloh0:
	adrp	x8, _GSS_C_NT_HOSTBASED_SERVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NT_HOSTBASED_SERVICE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #56
	add	x1, sp, #40
	add	x3, sp, #36
	bl	_gss_import_name
Lloh3:
	adrp	x23, _GSS_S_COMPLETE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GSS_S_COMPLETE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [sp, #36]
Lloh5:
	adrp	x8, _GSS_C_ACCEPT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_C_ACCEPT@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	add	x0, sp, #56
	add	x3, sp, #8
	add	x5, sp, #4
	mov	x2, x21
	mov	x6, #0
	mov	x7, #0
	bl	_gss_acquire_cred
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	add	x0, sp, #56
	add	x1, sp, #36
	bl	_gss_release_name
	mov	w0, #48
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.4:
	mov	x23, x0
	mov	x0, x22
	bl	_strdup
	str	w0, [x23, #40]
	ldr	x8, [sp, #24]
	stp	x21, x8, [x23, #24]
	ldr	w8, [sp, #4]
	str	w8, [x23, #16]
	stp	x19, x20, [x23]
Lloh8:
	adrp	x8, _sn_link@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sn_link@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x0, _svc_rpc_gss_svc_names@GOTPAGE
Lloh12:
	ldr	x0, [x0, _svc_rpc_gss_svc_names@GOTPAGEOFF]
	mov	x1, x23
	bl	_SLIST_INSERT_HEAD
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_GSS_C_NT_HOSTBASED_SERVICE,4,2 ; @GSS_C_NT_HOSTBASED_SERVICE
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_GSS_C_ACCEPT,4,2               ; @GSS_C_ACCEPT
	.comm	_svc_rpc_gss_svc_names,4,2      ; @svc_rpc_gss_svc_names
	.comm	_sn_link,4,2                    ; @sn_link
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
