	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CalcPassagePortalVis           ## -- Begin function CalcPassagePortalVis
	.p2align	4, 0x90
_CalcPassagePortalVis:                  ## @CalcPassagePortalVis
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_PassageMemory
	movq	_numportals@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	addl	%edi, %edi
	movq	_qtrue@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_CreatePassages@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_RunThreadsOnIndividual
	movl	(%r14), %edi
	addl	%edi, %edi
	movl	(%rbx), %esi
	movq	_PassagePortalFlow@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_RunThreadsOnIndividual         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_numportals,4,2                 ## @numportals
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_CreatePassages,4,2             ## @CreatePassages
	.comm	_PassagePortalFlow,4,2          ## @PassagePortalFlow
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CalcPassagePortalVis           ; -- Begin function CalcPassagePortalVis
	.p2align	2
_CalcPassagePortalVis:                  ; @CalcPassagePortalVis
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_PassageMemory
Lloh0:
	adrp	x19, _numportals@GOTPAGE
Lloh1:
	ldr	x19, [x19, _numportals@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w0, w8, #1
Lloh2:
	adrp	x20, _qtrue@GOTPAGE
Lloh3:
	ldr	x20, [x20, _qtrue@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh4:
	adrp	x8, _CreatePassages@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CreatePassages@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_RunThreadsOnIndividual
	ldr	w8, [x19]
	lsl	w0, w8, #1
	ldr	w1, [x20]
Lloh7:
	adrp	x8, _PassagePortalFlow@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PassagePortalFlow@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RunThreadsOnIndividual
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_numportals,4,2                 ; @numportals
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_CreatePassages,4,2             ; @CreatePassages
	.comm	_PassagePortalFlow,4,2          ; @PassagePortalFlow
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
