	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_vc_access                  ## -- Begin function smb_vc_access
	.p2align	4, 0x90
_smb_vc_access:                         ## @smb_vc_access
	.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
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_smb_suser
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rcx
	cmpq	(%r15), %rcx
	je	LBB0_4
## %bb.2:
	movl	12(%r15), %edi
	movq	%rbx, %rsi
	callq	_groupmember
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	leal	(%rcx,%rcx,2), %ecx
	addl	$3, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r14d
	movl	8(%r15), %eax
	notl	%eax
	andl	%r14d, %eax
	je	LBB0_4
## %bb.3:
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EACCES,4,2                     ## @EACCES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_vc_access                  ; -- Begin function smb_vc_access
	.p2align	2
_smb_vc_access:                         ; @smb_vc_access
	.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, x2
	mov	x20, x0
	ldr	x21, [x1]
	mov	x0, x21
	bl	_smb_suser
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldr	w0, [x20, #12]
	mov	x1, x21
	bl	_groupmember
	mov	w8, #3
	mov	w9, #6
	cmp	w0, #0
	csel	w8, w9, w8, eq
	asr	w8, w19, w8
	ldr	w9, [x20, #8]
Lloh0:
	adrp	x10, _EACCES@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EACCES@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	bics	wzr, w8, w9
	csel	w0, wzr, w10, eq
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EACCES,4,2                     ; @EACCES
.subsections_via_symbols
