	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AddLocalEntities            ## -- Begin function CG_AddLocalEntities
	.p2align	4, 0x90
_CG_AddLocalEntities:                   ## @CG_AddLocalEntities
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cg_activeLocalEntities@GOTPCREL(%rip), %r15
	movq	16(%r15), %rbx
	cmpq	%r15, %rbx
	je	LBB0_16
## %bb.1:
	movq	_cg@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_FreeLocalEntity
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %rbx
	je	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	16(%rbx), %rbx
	movq	(%r12), %rax
	cmpq	(%rdi), %rax
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rdi), %esi
	leal	-128(%rsi), %eax
	cmpl	$12, %eax
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddSpriteExplosion
	jmp	LBB0_15
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_CG_Error
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddScorePlum
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddScaleFade
	jmp	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddMoveScaleFade
	jmp	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddFragment
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddFallScaleFade
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddFadeRGB
	jmp	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_CG_AddExplosion
	jmp	LBB0_15
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_15
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_cg_activeLocalEntities,24,3    ## @cg_activeLocalEntities
	.comm	_cg,8,3                         ## @cg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad leType: %i"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AddLocalEntities            ; -- Begin function CG_AddLocalEntities
	.p2align	2
_CG_AddLocalEntities:                   ; @CG_AddLocalEntities
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x20, _cg_activeLocalEntities@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cg_activeLocalEntities@GOTPAGEOFF]
	ldr	x0, [x20, #16]
	cmp	x0, x20
	b.eq	LBB0_16
; %bb.1:
Lloh2:
	adrp	x21, _cg@GOTPAGE
Lloh3:
	ldr	x21, [x21, _cg@GOTPAGEOFF]
Lloh4:
	adrp	x19, l_.str@PAGE
Lloh5:
	add	x19, x19, l_.str@PAGEOFF
Lloh6:
	adrp	x22, lJTI0_0@PAGE
Lloh7:
	add	x22, x22, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_FreeLocalEntity
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	cmp	x23, x20
	b.eq	LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x0, #16]
	ldr	x8, [x21]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x0, #8]
	sub	w8, w1, #128
	cmp	w8, #12
	b.hi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddSpriteExplosion
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_CG_Error
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddScorePlum
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddScaleFade
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddMoveScaleFade
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddFragment
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddFallScaleFade
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddFadeRGB
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CG_AddExplosion
	b	LBB0_3
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_cg_activeLocalEntities,24,3    ; @cg_activeLocalEntities
	.comm	_cg,8,3                         ; @cg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad leType: %i"

.subsections_via_symbols
