	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rax
	movq	%rdi, %r13
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	callq	_rpc_gss_mech_to_oid
	movq	_FALSE@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$48, %edi
	callq	_mem_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %rbx
	movq	_M_RPC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_strdup
	movl	%eax, (%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, 40(%rbx)
	movq	%r12, 32(%rbx)
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_rpc_gss_acquire_svc_cred
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_svc_rpc_gss_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_sx_xlock
	movq	_sn_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_svc_rpc_gss_svc_names@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_SLIST_INSERT_HEAD
	movq	%r14, %rdi
	callq	_sx_xunlock
	movq	_TRUE@GOTPCREL(%rip), %r14
	jmp	LBB0_5
LBB0_3:
	movl	(%rbx), %edi
	movq	_M_RPC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_mem_free
LBB0_5:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_M_RPC,4,2                      ## @M_RPC
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ## @GSS_C_NO_CREDENTIAL
	.comm	_svc_rpc_gss_lock,4,2           ## @svc_rpc_gss_lock
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x8, x1
	mov	x23, x0
	add	x1, sp, #12
	mov	x0, x8
	bl	_rpc_gss_mech_to_oid
	cbz	w0, LBB0_5
; %bb.1:
	mov	w0, #48
	bl	_mem_alloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x24, _M_RPC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_RPC@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x23
	bl	_strdup
	str	w0, [x19]
	ldr	w8, [sp, #12]
	str	w8, [x19, #40]
	str	x22, [x19, #32]
Lloh2:
	adrp	x8, _GSS_C_NO_CREDENTIAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	stp	x20, x21, [x19, #8]
	mov	x0, x19
	bl	_rpc_gss_acquire_svc_cred
	cbz	w0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x20, _svc_rpc_gss_lock@GOTPAGE
Lloh6:
	ldr	x20, [x20, _svc_rpc_gss_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_sx_xlock
Lloh7:
	adrp	x8, _sn_link@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sn_link@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x0, _svc_rpc_gss_svc_names@GOTPAGE
Lloh11:
	ldr	x0, [x0, _svc_rpc_gss_svc_names@GOTPAGEOFF]
	mov	x1, x19
	bl	_SLIST_INSERT_HEAD
	mov	x0, x20
	bl	_sx_xunlock
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x19]
	ldr	w1, [x24]
	bl	_free
	mov	x0, x19
	mov	w1, #48
	bl	_mem_free
LBB0_5:
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_M_RPC,4,2                      ; @M_RPC
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ; @GSS_C_NO_CREDENTIAL
	.comm	_svc_rpc_gss_lock,4,2           ; @svc_rpc_gss_lock
	.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
