	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_BuildSolidList              ## -- Begin function CG_BuildSolidList
	.p2align	4, 0x90
_CG_BuildSolidList:                     ## @CG_BuildSolidList
	.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	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cg_numSolidEntities@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_cg_numTriggerEntities@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_cg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	20(%rax), %edx
	orl	16(%rax), %edx
	movq	8(%rax), %rax
	movq	%rax, %r9
	cmovneq	%rcx, %r9
	testq	%rax, %rax
	cmoveq	%rcx, %r9
	movl	(%r9), %r13d
	testl	%r13d, %r13d
	jle	LBB0_9
## %bb.1:
	movq	_ET_ITEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	movq	_cg_entities@GOTPCREL(%rip), %r12
	movq	_ET_PUSH_TRIGGER@GOTPCREL(%rip), %r10
	movq	_ET_TELEPORT_TRIGGER@GOTPCREL(%rip), %r11
	movq	_cg_triggerEntities@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdx
	movq	%rsi, (%rdx,%rax,8)
	incq	%rax
	movq	_cg_numTriggerEntities@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rcx, %r13
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	8(%r9), %rsi
	movq	(%rsi,%rcx,8), %rdx
	shlq	$4, %rdx
	leaq	(%rdi,%rdx), %rsi
	movq	8(%rdi,%rdx), %r8
	cmpq	%r14, %r8
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r10), %r8
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r11), %r8
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rsi)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_cg_solidEntities@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rsi, (%rdx,%rbx,8)
	incq	%rbx
	movq	_cg_numSolidEntities@GOTPCREL(%rip), %rdx
	movq	%rbx, (%rdx)
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg_numSolidEntities,8,3        ## @cg_numSolidEntities
	.comm	_cg_numTriggerEntities,8,3      ## @cg_numTriggerEntities
	.comm	_cg,24,3                        ## @cg
	.comm	_cg_entities,8,3                ## @cg_entities
	.comm	_ET_ITEM,8,3                    ## @ET_ITEM
	.comm	_ET_PUSH_TRIGGER,8,3            ## @ET_PUSH_TRIGGER
	.comm	_ET_TELEPORT_TRIGGER,8,3        ## @ET_TELEPORT_TRIGGER
	.comm	_cg_triggerEntities,8,3         ## @cg_triggerEntities
	.comm	_cg_solidEntities,8,3           ## @cg_solidEntities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_BuildSolidList              ; -- Begin function CG_BuildSolidList
	.p2align	2
_CG_BuildSolidList:                     ; @CG_BuildSolidList
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cg_numSolidEntities@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg_numSolidEntities@GOTPAGEOFF]
	str	xzr, [x8]
Lloh2:
	adrp	x9, _cg_numTriggerEntities@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cg_numTriggerEntities@GOTPAGEOFF]
	str	xzr, [x9]
Lloh4:
	adrp	x10, _cg@GOTPAGE
Lloh5:
	ldr	x10, [x10, _cg@GOTPAGEOFF]
	ldp	w12, w11, [x10, #16]
	cmp	w12, #0
	ccmp	w11, #0, #0, eq
	ldp	x10, x11, [x10]
	ccmp	x11, #0, #4, eq
	csel	x10, x10, x11, eq
	ldr	w15, [x10]
	cmp	w15, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x11, #0
	mov	x12, #0
	mov	x13, #0
Lloh6:
	adrp	x14, _ET_ITEM@GOTPAGE
Lloh7:
	ldr	x14, [x14, _ET_ITEM@GOTPAGEOFF]
Lloh8:
	ldr	x14, [x14]
	lsl	x15, x15, #3
Lloh9:
	adrp	x16, _cg_entities@GOTPAGE
Lloh10:
	ldr	x16, [x16, _cg_entities@GOTPAGEOFF]
Lloh11:
	adrp	x17, _ET_PUSH_TRIGGER@GOTPAGE
Lloh12:
	ldr	x17, [x17, _ET_PUSH_TRIGGER@GOTPAGEOFF]
Lloh13:
	adrp	x0, _ET_TELEPORT_TRIGGER@GOTPAGE
Lloh14:
	ldr	x0, [x0, _ET_TELEPORT_TRIGGER@GOTPAGEOFF]
Lloh15:
	adrp	x1, _cg_triggerEntities@GOTPAGE
Lloh16:
	ldr	x1, [x1, _cg_triggerEntities@GOTPAGEOFF]
Lloh17:
	adrp	x2, _cg_solidEntities@GOTPAGE
Lloh18:
	ldr	x2, [x2, _cg_solidEntities@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x1]
	str	x3, [x4, x12, lsl #3]
	add	x12, x12, #1
	str	x12, [x9]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #8
	cmp	x15, x11
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x3, [x16]
	ldr	x4, [x10, #8]
	ldr	x4, [x4, x11]
	add	x3, x3, x4, lsl #4
	ldr	x4, [x3, #8]
	ldr	x5, [x17]
	ldr	x6, [x0]
	cmp	x4, x14
	ccmp	x4, x5, #4, ne
	ccmp	x4, x6, #4, ne
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x3]
	cbz	x4, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x2]
	str	x3, [x4, x13, lsl #3]
	add	x13, x13, #1
	str	x13, [x8]
	b	LBB0_3
LBB0_7:
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_cg_numSolidEntities,8,3        ; @cg_numSolidEntities
	.comm	_cg_numTriggerEntities,8,3      ; @cg_numTriggerEntities
	.comm	_cg,24,3                        ; @cg
	.comm	_cg_entities,8,3                ; @cg_entities
	.comm	_ET_ITEM,8,3                    ; @ET_ITEM
	.comm	_ET_PUSH_TRIGGER,8,3            ; @ET_PUSH_TRIGGER
	.comm	_ET_TELEPORT_TRIGGER,8,3        ; @ET_TELEPORT_TRIGGER
	.comm	_cg_triggerEntities,8,3         ; @cg_triggerEntities
	.comm	_cg_solidEntities,8,3           ; @cg_solidEntities
.subsections_via_symbols
