	.file	"extr_cg_localents.c_CG_AddLocalEntities.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Bad leType: %i"
	.text
	.p2align 4
	.globl	CG_AddLocalEntities
	.type	CG_AddLocalEntities, @function
CG_AddLocalEntities:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, cg_activeLocalEntities[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR cg_activeLocalEntities[rip+16]
	cmp	rbx, r12
	je	.L1
	lea	rbp, .L7[rip]
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbx
	mov	rbx, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR cg[rip], rax
	jge	.L19
	mov	esi, DWORD PTR 8[rdi]
	lea	eax, -128[rsi]
	cmp	eax, 12
	ja	.L5
	movsx	rax, DWORD PTR 0[rbp+rax*4]
	add	rax, rbp
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L14-.L7
	.long	.L5-.L7
	.long	.L13-.L7
	.long	.L12-.L7
	.long	.L11-.L7
	.long	.L4-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L8-.L7
	.long	.L6-.L7
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rdi, .LC0[rip]
	call	CG_Error@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	rbx, r12
	jne	.L15
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	call	CG_AddExplosion@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	call	CG_AddFragment@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	call	CG_AddFadeRGB@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	call	CG_AddFallScaleFade@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	call	CG_AddMoveScaleFade@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	call	CG_AddScaleFade@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	call	CG_AddScorePlum@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	call	CG_AddSpriteExplosion@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	call	CG_FreeLocalEntity@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	CG_AddLocalEntities, .-CG_AddLocalEntities
	.comm	cg_activeLocalEntities,24,16
	.comm	cg,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cg_localents.c_CG_AddLocalEntities.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad leType: %i\000"
	.text
	.align	2
	.global	CG_AddLocalEntities
	.syntax unified
	.arm
	.fpu softvfp
	.type	CG_AddLocalEntities, %function
CG_AddLocalEntities:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L20
	ldr	r4, [r5, #8]
	cmp	r4, r5
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L20+4
	ldr	r6, .L20+8
.L15:
	ldr	r3, [r4]
	ldr	r2, [r7]
	mov	r0, r4
	cmp	r2, r3
	ldr	r4, [r4, #8]
	bge	.L19
	ldr	r1, [r0, #4]
	sub	r3, r1, #128
	cmp	r3, #12
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L14
	.word	.L5
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L4
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L6
.L5:
	mov	r0, r6
	bl	CG_Error
.L4:
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	bl	CG_AddFragment
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	bl	CG_AddExplosion
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	bl	CG_AddFadeRGB
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	bl	CG_AddFallScaleFade
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	bl	CG_AddMoveScaleFade
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	bl	CG_AddScaleFade
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	bl	CG_AddScorePlum
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	bl	CG_AddSpriteExplosion
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	bl	CG_FreeLocalEntity
	cmp	r4, r5
	bne	.L15
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	.align	2
.L20:
	.word	cg_activeLocalEntities
	.word	cg
	.word	.LC0
	.size	CG_AddLocalEntities, .-CG_AddLocalEntities
	.comm	cg_activeLocalEntities,12,4
	.comm	cg,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
