	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_gss_svc_getcred
_rpc_gss_svc_getcred:                   ## @rpc_gss_svc_getcred
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	_RPCSEC_GSS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %eax
	movl	%eax, (%rdx)
LBB0_4:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_crget
	movq	%rax, %r15
	movq	%rax, 8(%rbx)
	movq	24(%rbx), %rax
	movq	%rax, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	shrq	$32, %rax
	movl	%eax, 24(%r15)
	movdqu	%xmm0, 8(%r15)
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%r15, %rdi
	callq	_crsetgroups
	movq	_prison0@GOTPCREL(%rip), %rdi
	movq	%rdi, (%r15)
	callq	_prison_hold
	movq	%r15, %rdi
LBB0_6:
	callq	_crhold
	movq	%rax, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPCSEC_GSS,8,3                 ## @RPCSEC_GSS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_prison0,4,2                    ## @prison0
	.no_dead_strip	_rpc_gss_svc_getcred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_gss_svc_getcred
_rpc_gss_svc_getcred:                   ; @rpc_gss_svc_getcred
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _RPCSEC_GSS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RPCSEC_GSS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x21, [x8]
	cbz	x2, LBB0_3
; %bb.2:
	ldr	w8, [x21]
	str	w8, [x2]
LBB0_3:
	ldr	x0, [x21, #8]
	cbnz	x0, LBB0_5
; %bb.4:
	bl	_crget
	mov	x20, x0
	ldr	d0, [x21, #24]
	dup.4s	v1, v0[1]
	str	x0, [x21, #8]
	zip1.4s	v1, v0, v1
	str	s0, [x0, #8]
	stur	q1, [x0, #12]
	ldp	w2, w1, [x21, #16]
	bl	_crsetgroups
Lloh3:
	adrp	x0, _prison0@GOTPAGE
Lloh4:
	ldr	x0, [x0, _prison0@GOTPAGEOFF]
	str	x0, [x20]
	bl	_prison_hold
	mov	x0, x20
LBB0_5:
	bl	_crhold
	str	x0, [x19]
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RPCSEC_GSS,8,3                 ; @RPCSEC_GSS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_prison0,4,2                    ; @prison0
	.no_dead_strip	_rpc_gss_svc_getcred
.subsections_via_symbols
