	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_getcred                    ## -- Begin function svc_getcred
	.p2align	4, 0x90
_svc_getcred:                           ## @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	%rsi, %r14
	movl	8(%rdi), %eax
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	%eax, (%rdx)
LBB0_2:
	cmpl	$128, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:
	movq	(%rdi), %r15
	xorl	%eax, %eax
	callq	_crget
	movq	%rax, %rbx
	movl	8(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	%eax, 28(%rbx)
	movl	%eax, 32(%rbx)
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_crsetgroups
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	%eax, 20(%rbx)
	movq	_prison0@GOTPCREL(%rip), %rdi
	movq	%rdi, (%rbx)
	callq	_prison_hold
	movq	%rbx, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__svcauth_rpcsec_gss_getcred    ## TAILCALL
LBB0_6:
	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	_prison0,4,2                    ## @prison0
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_getcred                    ; -- Begin function svc_getcred
	.p2align	2
_svc_getcred:                           ; @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
	mov	x19, x1
	ldr	w8, [x0, #8]
	cbz	x2, LBB0_2
; %bb.1:
	str	w8, [x2]
LBB0_2:
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.4:
	ldr	x21, [x0]
	bl	_crget
	mov	x20, x0
	ldr	w8, [x21, #8]
	stp	w8, w8, [x0, #24]
	str	w8, [x0, #32]
	ldp	w2, w1, [x21]
	bl	_crsetgroups
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	stp	w8, w8, [x20, #16]
Lloh0:
	adrp	x0, _prison0@GOTPAGE
Lloh1:
	ldr	x0, [x0, _prison0@GOTPAGEOFF]
	str	x0, [x20]
	bl	_prison_hold
	str	x20, [x19]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	x1, x19
	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
	b	__svcauth_rpcsec_gss_getcred
LBB0_6:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_prison0,4,2                    ; @prison0
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
