	.file	"extr_cg_particles.c_CG_ParticleSmoke.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CG_ParticleSmoke == ZERO!\n"
	.text
	.p2align 4
	.globl	CG_ParticleSmoke
	.type	CG_ParticleSmoke, @function
CG_ParticleSmoke:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L11
.L2:
	mov	rbx, QWORD PTR free_particles[rip]
	test	rbx, rbx
	je	.L1
	mov	rax, QWORD PTR 120[rbx]
	mov	rdx, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 48[rbx]
	mov	QWORD PTR free_particles[rip], rax
	mov	rax, QWORD PTR active_particles[rip]
	mov	QWORD PTR active_particles[rip], rbx
	mov	QWORD PTR 120[rbx], rax
	mov	rax, QWORD PTR cg[rip]
	add	rdx, rax
	mov	QWORD PTR 112[rbx], rax
	add	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR 96[rbx], rax
	mov	rax, QWORD PTR .LC1[rip]
	mov	QWORD PTR 104[rbx], rdx
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR 8[rdi]
	mov	QWORD PTR 88[rbx], 0
	mov	DWORD PTR 76[rbx], eax
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR 80[rbx], 0
	mov	eax, DWORD PTR 8[rax]
	mov	QWORD PTR 64[rbx], r12
	mov	DWORD PTR 72[rbx], eax
	mov	eax, DWORD PTR qfalse[rip]
	mov	DWORD PTR 56[rbx], eax
	movabs	rax, 34359738376
	mov	QWORD PTR 8[rbx], rax
	movabs	rax, 137438953504
	mov	QWORD PTR 16[rbx], rax
	mov	eax, DWORD PTR P_SMOKE[rip]
	mov	DWORD PTR 52[rbx], eax
	call	VectorCopy@PLT
	mov	rax, QWORD PTR 24[rbx]
	mov	rdx, QWORD PTR 40[rbx]
	mov	ecx, 5
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 16[rdx], 0
	mov	QWORD PTR 8[rdx], 0
	mov	QWORD PTR [rdx], 0
	mov	edx, -5
	mov	DWORD PTR 8[rax], 5
	cmp	DWORD PTR 0[rbp], 1
	cmovne	edx, ecx
	mov	DWORD PTR 8[rax], edx
	xor	eax, eax
	call	crandom@PLT
	lea	eax, 8[0+rax*4]
	mov	DWORD PTR 32[rbx], eax
.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
.L11:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	CG_Printf@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	CG_ParticleSmoke, .-CG_ParticleSmoke
	.comm	qfalse,4,4
	.comm	free_particles,8,8
	.comm	cg,8,8
	.comm	active_particles,8,8
	.comm	P_SMOKE,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.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_particles.c_CG_ParticleSmoke.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CG_ParticleSmoke == ZERO!\012\000"
	.text
	.align	2
	.global	CG_ParticleSmoke
	.syntax unified
	.arm
	.fpu softvfp
	.type	CG_ParticleSmoke, %function
CG_ParticleSmoke:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r7, r0, #0
	mov	r5, r1
	beq	.L11
.L2:
	ldr	ip, .L12
	ldr	r4, [ip]
	cmp	r4, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r6, #0
	mov	lr, #32
	mov	r10, #8
	mov	r8, #0
	ldr	r0, [r5, #4]
	ldr	r1, [r5, #16]
	ldr	r3, [r0, #8]
	ldr	r2, [r5, #12]
	str	r3, [r4, #56]
	ldr	r3, [r5, #8]
	ldr	r9, .L12+4
	ldr	r3, [r3, #8]
	str	r7, [r4, #48]
	str	r3, [r4, #52]
	ldr	r3, .L12+8
	ldr	r7, .L12+12
	ldr	r3, [r3]
	str	lr, [r4, #16]
	add	r1, r1, r3
	add	r2, r2, r3
	str	r3, [r4, #76]
	ldr	r3, [r4, #80]
	str	r2, [r4, #68]
	str	r3, [ip]
	ldr	r2, .L12+16
	ldr	r3, .L12+20
	str	r1, [r4, #72]
	ldr	r3, [r3]
	ldr	r1, [r2]
	str	r4, [r2]
	ldr	r2, [r7]
	str	r1, [r4, #80]
	str	r2, [r4, #44]
	ldr	r1, [r4, #36]
	str	r3, [r4, #40]
	str	lr, [r4, #20]
	stm	r4, {r8-r9}
	str	r6, [r4, #64]
	str	r6, [r4, #60]
	str	r10, [r4, #8]
	str	r10, [r4, #12]
	bl	VectorCopy
	mov	r1, #5
	ldr	r2, [r4, #32]
	ldr	r3, [r4, #24]
	str	r6, [r3, #4]
	str	r6, [r3]
	str	r6, [r2, #8]
	str	r6, [r2, #4]
	str	r6, [r2]
	str	r1, [r3, #8]
	ldr	r2, [r5]
	cmp	r2, #1
	mvneq	r2, #4
	movne	r2, r1
	str	r2, [r3, #8]
	bl	crandom
	add	r0, r0, #2
	lsl	r0, r0, #2
	str	r0, [r4, #28]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r0, .L12+24
	bl	CG_Printf
	b	.L2
.L13:
	.align	2
.L12:
	.word	free_particles
	.word	1072693248
	.word	cg
	.word	qfalse
	.word	active_particles
	.word	P_SMOKE
	.word	.LC0
	.size	CG_ParticleSmoke, .-CG_ParticleSmoke
	.comm	qfalse,4,4
	.comm	free_particles,4,4
	.comm	cg,4,4
	.comm	active_particles,4,4
	.comm	P_SMOKE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
