	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CalcFastVis                    ## -- Begin function CalcFastVis
	.p2align	4, 0x90
_CalcFastVis:                           ## @CalcFastVis
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_numportals@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	_portals@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	$8, %rcx
	xorl	%edx, %edx
	movq	_stat_done@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rcx), %edi
	movl	%edi, (%rcx)
	movl	(%rsi), %edi
	movl	%edi, -8(%rcx)
	incq	%rdx
	movslq	(%rax), %rdi
	addq	%rdi, %rdi
	addq	$12, %rcx
	cmpq	%rdi, %rdx
	jl	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numportals,4,2                 ## @numportals
	.comm	_portals,8,3                    ## @portals
	.comm	_stat_done,4,2                  ## @stat_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CalcFastVis                    ; -- Begin function CalcFastVis
	.p2align	2
_CalcFastVis:                           ; @CalcFastVis
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _numportals@GOTPAGE
Lloh1:
	ldr	x8, [x8, _numportals@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _portals@GOTPAGE
Lloh3:
	ldr	x10, [x10, _portals@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	add	x10, x10, #4
Lloh5:
	adrp	x11, _stat_done@GOTPAGE
Lloh6:
	ldr	x11, [x11, _stat_done@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10]
	str	w12, [x10, #4]
	ldr	w12, [x11]
	stur	w12, [x10, #-4]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	add	x10, x10, #12
	cmp	x9, x12, lsl #1
	b.lt	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_numportals,4,2                 ; @numportals
	.comm	_portals,8,3                    ; @portals
	.comm	_stat_done,4,2                  ; @stat_done
.subsections_via_symbols
