	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_rpc_gss_build_ucred
_svc_rpc_gss_build_ucred:               ## @svc_rpc_gss_build_ucred
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movabsq	$281466386841598, %rax          ## imm = 0xFFFE0000FFFE
	movq	%rax, 8(%rdi)
	movl	$0, 16(%rdi)
	movl	(%rdi), %eax
	movl	4(%rdi), %edx
	movl	%eax, 20(%rdi)
	leaq	-168(%rbp), %rdi
	leaq	-152(%rbp), %rcx
	callq	_gss_pname_to_uid
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	-152(%rbp), %edi
	leaq	-184(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	leaq	-160(%rbp), %r8
	movl	$128, %ecx
	callq	_getpwuid_r
	movq	-160(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_NGRPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -148(%rbp)
	movl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movl	4(%rax), %esi
	movl	%esi, 12(%rbx)
	movl	(%rbx), %edx
	movl	%edx, 20(%rbx)
	movl	8(%rax), %edi
	leaq	-148(%rbp), %rcx
	callq	_getgrouplist
	movl	-148(%rbp), %eax
	movl	%eax, 16(%rbx)
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$184, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_NGRPS,4,2                      ## @NGRPS
	.no_dead_strip	_svc_rpc_gss_build_ucred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_rpc_gss_build_ucred
_svc_rpc_gss_build_ucred:               ; @svc_rpc_gss_build_ucred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #65534
	dup.2s	v0, w9
	stur	x8, [x29, #-24]
	str	d0, [x0, #8]
	ldp	w8, w2, [x0]
	stp	wzr, w8, [x0, #16]
	add	x0, sp, #32
	add	x3, sp, #28
	bl	_gss_pname_to_uid
Lloh3:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [sp, #28]
	add	x1, sp, #16
	add	x2, sp, #40
	add	x4, sp, #8
	mov	w3, #128
	bl	_getpwuid_r
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _NGRPS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NGRPS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [sp, #4]
	ldr	w9, [x8]
	str	w9, [x19, #8]
	ldr	w1, [x8, #4]
	str	w1, [x19, #12]
	ldr	w2, [x19]
	str	w2, [x19, #20]
	ldr	w0, [x8, #8]
	add	x3, sp, #4
	bl	_getgrouplist
	ldr	w8, [sp, #4]
	str	w8, [x19, #16]
LBB0_3:
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_NGRPS,4,2                      ; @NGRPS
	.no_dead_strip	_svc_rpc_gss_build_ucred
.subsections_via_symbols
