	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_gss_acquire_svc_cred
_rpc_gss_acquire_svc_cred:              ## @rpc_gss_acquire_svc_cred
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$1, -40(%rbp)
	movl	16(%rdi), %eax
	movl	%eax, -36(%rbp)
	movq	8(%rdi), %rdi
	movq	%rdi, -56(%rbp)
	callq	_strlen
	movl	%eax, -64(%rbp)
	movq	_GSS_C_NT_HOSTBASED_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-28(%rbp), %rcx
	callq	_gss_import_name
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_1
## %bb.2:
	movl	(%rbx), %eax
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_gss_release_cred
LBB0_4:
	movl	-28(%rbp), %esi
	movl	4(%rbx), %edx
	movq	_GSS_C_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-48(%rbp), %r14
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %r9
	callq	_gss_acquire_cred
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.6:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rbx
LBB0_7:
	leaq	-28(%rbp), %rsi
	movq	%r14, %rdi
	callq	_gss_release_name
LBB0_8:
	movl	(%rbx), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NT_HOSTBASED_SERVICE,4,2 ## @GSS_C_NT_HOSTBASED_SERVICE
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ## @GSS_C_NO_CREDENTIAL
	.comm	_GSS_C_ACCEPT,4,2               ## @GSS_C_ACCEPT
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_rpc_gss_acquire_svc_cred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_gss_acquire_svc_cred
_rpc_gss_acquire_svc_cred:              ; @rpc_gss_acquire_svc_cred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	w8, #1
	ldr	w9, [x0, #16]
	stp	w8, w9, [sp, #8]
	ldr	x0, [x0, #8]
	str	x0, [sp, #32]
	bl	_strlen
	str	w0, [sp, #24]
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, #40
	add	x1, sp, #24
	add	x3, sp, #20
	bl	_gss_import_name
Lloh3:
	adrp	x21, _GSS_S_COMPLETE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GSS_S_COMPLETE@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh5:
	adrp	x20, _FALSE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _GSS_C_NO_CREDENTIAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.2:
	add	x0, sp, #40
	mov	x1, x19
	bl	_gss_release_cred
LBB0_3:
	ldr	w1, [sp, #20]
	ldr	w2, [x19, #4]
Lloh10:
	adrp	x8, _GSS_C_ACCEPT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GSS_C_ACCEPT@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	add	x0, sp, #40
	add	x3, sp, #8
	mov	x5, x19
	mov	x6, #0
	mov	x7, #0
	bl	_gss_acquire_cred
	mov	x19, x0
	ldr	x21, [x21]
	add	x0, sp, #40
	add	x1, sp, #20
	bl	_gss_release_name
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cmp	x19, x21
	csel	x20, x8, x20, eq
LBB0_4:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NT_HOSTBASED_SERVICE,4,2 ; @GSS_C_NT_HOSTBASED_SERVICE
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ; @GSS_C_NO_CREDENTIAL
	.comm	_GSS_C_ACCEPT,4,2               ; @GSS_C_ACCEPT
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_rpc_gss_acquire_svc_cred
.subsections_via_symbols
