	.file	"extr_cg_particles.c_CG_ParticleSnowFlurry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CG_ParticleSnowFlurry pshader == ZERO!\n"
	.text
	.p2align 4
	.globl	CG_ParticleSnowFlurry
	.type	CG_ParticleSnowFlurry, @function
CG_ParticleSnowFlurry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR qtrue[rip]
	test	rdi, rdi
	je	.L15
.L2:
	mov	rbx, QWORD PTR free_particles[rip]
	test	rbx, rbx
	je	.L1
	mov	rdx, QWORD PTR 32[rbp]
	mov	rax, QWORD PTR 104[rbx]
	mov	QWORD PTR 88[rbx], 0
	mov	QWORD PTR 80[rbx], 0
	mov	ecx, DWORD PTR [rdx]
	mov	QWORD PTR free_particles[rip], rax
	mov	rax, QWORD PTR active_particles[rip]
	mov	QWORD PTR active_particles[rip], rbx
	mov	DWORD PTR 76[rbx], ecx
	mov	edx, DWORD PTR 4[rdx]
	mov	QWORD PTR 104[rbx], rax
	mov	rax, QWORD PTR cg[rip]
	mov	DWORD PTR 72[rbx], edx
	mov	rdx, QWORD PTR 24[rbp]
	mov	QWORD PTR 96[rbx], rax
	add	rdx, rax
	add	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR [rbx], 0x3f666666
	mov	QWORD PTR 64[rbx], rdx
	mov	QWORD PTR 56[rbx], rax
	xor	eax, eax
	mov	QWORD PTR 48[rbx], r13
	call	rand@PLT
	movsx	rdx, eax
	mov	ecx, eax
	imul	rdx, rdx, 1374389535
	sar	ecx, 31
	sar	rdx, 37
	sub	edx, ecx
	imul	edx, edx, 100
	sub	eax, edx
	cmp	eax, 90
	jg	.L16
	movabs	rax, 4294967297
	mov	QWORD PTR 4[rbx], rax
.L6:
	mov	edx, DWORD PTR P_WEATHER_FLURRY[rip]
	mov	rax, QWORD PTR 16[rbx]
	mov	DWORD PTR 8[rax], -20
	mov	DWORD PTR 40[rbx], edx
	mov	edx, -10
	test	r12, r12
	jne	.L7
	mov	edx, DWORD PTR 8[rax]
.L7:
	mov	DWORD PTR 8[rax], edx
	mov	rsi, QWORD PTR 32[rbx]
	mov	edi, DWORD PTR 8[rbp]
	call	VectorCopy@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR 24[rbx]
	mov	QWORD PTR [rax], 0
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR 0[rbp]
	mov	r13d, DWORD PTR [rax]
	xor	eax, eax
	call	crandom@PLT
	mov	rdx, QWORD PTR 16[rbx]
	add	r13d, r13d
	add	r13d, eax
	mov	rax, QWORD PTR 0[rbp]
	sal	r13d, 4
	add	DWORD PTR [rdx], r13d
	mov	r13d, DWORD PTR 4[rax]
	xor	eax, eax
	add	r13d, r13d
	call	crandom@PLT
	mov	rdx, QWORD PTR 16[rbx]
	add	r13d, eax
	mov	rax, QWORD PTR 0[rbp]
	sal	r13d, 4
	add	DWORD PTR 4[rdx], r13d
	mov	eax, DWORD PTR 8[rax]
	add	DWORD PTR 8[rdx], eax
	test	r12, r12
	je	.L1
	xor	eax, eax
	call	crandom@PLT
	mov	rdx, QWORD PTR 24[rbx]
	sal	eax, 4
	mov	DWORD PTR [rdx], eax
	xor	eax, eax
	call	crandom@PLT
	mov	rdx, QWORD PTR 24[rbx]
	sal	eax, 4
	mov	DWORD PTR 4[rdx], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	movabs	rax, 138475785421
	mov	DWORD PTR 8[rbx], 32
	mov	QWORD PTR [rbx], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, .LC0[rip]
	call	CG_Printf@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	CG_ParticleSnowFlurry, .-CG_ParticleSnowFlurry
	.comm	qtrue,8,8
	.comm	free_particles,8,8
	.comm	cg,8,8
	.comm	active_particles,8,8
	.comm	P_WEATHER_FLURRY,4,4
	.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_ParticleSnowFlurry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CG_ParticleSnowFlurry pshader == ZERO!\012\000"
	.text
	.align	2
	.global	CG_ParticleSnowFlurry
	.syntax unified
	.arm
	.fpu softvfp
	.type	CG_ParticleSnowFlurry, %function
CG_ParticleSnowFlurry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	push	{r4, r5, r6, r7, r8, lr}
	subs	r7, r0, #0
	mov	r5, r1
	ldr	r6, [r3]
	beq	.L15
.L2:
	ldr	r0, .L16+4
	ldr	r4, [r0]
	cmp	r4, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r3, #0
	ldr	r2, [r5, #16]
	ldr	r1, .L16+8
	ldr	ip, [r2]
	ldr	r1, [r1]
	str	ip, [r4, #44]
	ldr	r2, [r2, #4]
	str	r3, [r4, #52]
	str	r2, [r4, #40]
	ldr	r2, [r5, #12]
	str	r3, [r4, #48]
	ldr	r3, [r5, #8]
	ldr	ip, .L16+12
	add	r2, r2, r1
	add	r3, r3, r1
	str	r1, [r4, #56]
	str	r2, [r4, #36]
	ldr	r1, [ip]
	ldr	r2, [r4, #60]
	str	r3, [r4, #32]
	ldr	r3, .L16+16
	str	r4, [ip]
	str	r1, [r4, #60]
	str	r2, [r0]
	str	r7, [r4, #28]
	str	r3, [r4]	@ float
	bl	rand
	ldr	r2, .L16+20
	asr	r3, r0, #31
	smull	r1, r2, r0, r2
	rsb	r3, r3, r2, asr #5
	add	r3, r3, r3, lsl #2
	add	r3, r3, r3, lsl #2
	sub	r3, r0, r3, lsl #2
	cmp	r3, #90
	movgt	r3, #32
	movle	r3, #1
	mvn	r1, #19
	ldrgt	r2, .L16+24
	strgt	r3, [r4, #4]
	strgt	r2, [r4]	@ float
	ldr	r2, .L16+28
	strgt	r3, [r4, #8]
	ldr	r2, [r2]
	strle	r3, [r4, #4]
	strle	r3, [r4, #8]
	ldr	r3, [r4, #12]
	cmp	r6, #0
	str	r1, [r3, #8]
	str	r2, [r4, #24]
	mvnne	r2, #9
	ldreq	r2, [r3, #8]
	str	r2, [r3, #8]
	ldr	r1, [r4, #20]
	ldr	r0, [r5, #4]
	bl	VectorCopy
	mov	r3, #0
	ldr	r1, [r4, #12]
	ldr	r2, [r4, #16]
	ldr	r0, [r5]
	str	r3, [r1, #4]
	str	r3, [r1]
	str	r3, [r2, #8]
	str	r3, [r2, #4]
	str	r3, [r2]
	ldr	r7, [r0]
	bl	crandom
	ldr	r3, [r4, #12]
	lsl	r7, r7, #1
	add	r7, r7, r0
	ldr	r0, [r3]
	ldr	r2, [r5]
	add	r7, r0, r7, lsl #4
	str	r7, [r3]
	ldr	r7, [r2, #4]
	bl	crandom
	ldr	r3, [r4, #12]
	lsl	r7, r7, #1
	add	r7, r7, r0
	ldr	r0, [r3, #4]
	ldr	r2, [r5]
	add	r7, r0, r7, lsl #4
	str	r7, [r3, #4]
	ldr	r1, [r2, #8]
	ldr	r2, [r3, #8]
	cmp	r6, #0
	add	r2, r2, r1
	str	r2, [r3, #8]
	popeq	{r4, r5, r6, r7, r8, pc}
	bl	crandom
	ldr	r3, [r4, #16]
	lsl	r0, r0, #4
	str	r0, [r3]
	bl	crandom
	ldr	r3, [r4, #16]
	lsl	r0, r0, #4
	str	r0, [r3, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	ldr	r0, .L16+32
	bl	CG_Printf
	b	.L2
.L17:
	.align	2
.L16:
	.word	qtrue
	.word	free_particles
	.word	cg
	.word	active_particles
	.word	1063675494
	.word	1374389535
	.word	1036831949
	.word	P_WEATHER_FLURRY
	.word	.LC0
	.size	CG_ParticleSnowFlurry, .-CG_ParticleSnowFlurry
	.comm	qtrue,4,4
	.comm	free_particles,4,4
	.comm	cg,4,4
	.comm	active_particles,4,4
	.comm	P_WEATHER_FLURRY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
