// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_target.c
// Function: target_earthquake_think
void target_earthquake_think (edict_t *self)
{
	int		i;
	edict_t	*e;

	if (self->last_move_time < level.time)
	{
		gi.positioned_sound (self->s.origin, self, CHAN_AUTO, self->noise_index, 1.0, ATTN_NONE, 0);
		self->last_move_time = level.time + 0.5;
	}

	for (i=1, e=g_edicts+i; i < globals.num_edicts; i++,e++)
	{
		if (!e->inuse)
			continue;
		if (!e->client)
			continue;
		if (!e->groundentity)
			continue;

		e->groundentity = NULL;
		e->velocity[0] += crandom()* 150;
		e->velocity[1] += crandom()* 150;
		e->velocity[2] = self->speed * (100.0 / e->mass);
	}

	if (level.time < self->timestamp)
		self->nextthink = level.time + FRAMETIME;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movss 0x250(%rax), %xmm1
movq 0x34471(%rip), %rax     # 0x82da0
movss 0x4(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x4e998
movq 0x33cc0(%rip), %rax     # 0x82600
movq 0x28(%rax), %rax
movq -0x8(%rbp), %rdi
addq $0x4, %rdi
movq -0x8(%rbp), %rsi
movq -0x8(%rbp), %rcx
movl 0x2e8(%rcx), %ecx
xorl %edx, %edx
movss 0x21588(%rip), %xmm0    # 0x6feec
xorps %xmm2, %xmm2
movaps %xmm2, %xmm1
callq *%rax
movq 0x3442d(%rip), %rax     # 0x82da0
movss 0x4(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x22aa4(%rip), %xmm1    # 0x71428
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x250(%rax)
movl $0x1, -0xc(%rbp)
movq 0x33bb2(%rip), %rax     # 0x82558
movq (%rax), %rax
movslq -0xc(%rbp), %rcx
imulq $0x4a8, %rcx, %rcx      # imm = 0x4A8
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %eax
movq 0x34143(%rip), %rcx     # 0x82b08
cmpl 0x8c(%rcx), %eax
jge 0x4eb2e
movq -0x18(%rbp), %rax
cmpl $0x0, 0x60(%rax)
jne 0x4e9e0
jmp 0x4eb12
movq -0x18(%rbp), %rax
cmpq $0x0, 0x58(%rax)
jne 0x4e9f0
jmp 0x4eb12
movq -0x18(%rbp), %rax
cmpq $0x0, 0x2b8(%rax)
jne 0x4ea03
jmp 0x4eb12
movq -0x18(%rbp), %rax
movq $0x0, 0x2b8(%rax)
callq 0x19c80
andl $0x7fff, %eax           # imm = 0x7FFF
cvtsi2ss %eax, %xmm0
movss 0x21860(%rip), %xmm1    # 0x70288
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm1
movsd 0x229f0(%rip), %xmm0    # 0x71428
subsd %xmm0, %xmm1
movsd 0x24154(%rip), %xmm0    # 0x72b98
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movss 0x1c0(%rax), %xmm1
cvtss2sd %xmm1, %xmm1
movsd 0x273e0(%rip), %xmm2    # 0x75e40
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x1c0(%rax)
callq 0x19c80
andl $0x7fff, %eax           # imm = 0x7FFF
cvtsi2ss %eax, %xmm0
movss 0x217fe(%rip), %xmm1    # 0x70288
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm1
movsd 0x2298e(%rip), %xmm0    # 0x71428
subsd %xmm0, %xmm1
movsd 0x240f2(%rip), %xmm0    # 0x72b98
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movss 0x1c4(%rax), %xmm1
cvtss2sd %xmm1, %xmm1
movsd 0x2737e(%rip), %xmm2    # 0x75e40
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x1c4(%rax)
movq -0x8(%rbp), %rax
movss 0x190(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movq -0x18(%rbp), %rax
cvtsi2sdl 0x1d8(%rax), %xmm2
movsd 0x256c6(%rip), %xmm1    # 0x741c0
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x18(%rbp), %rax
movss %xmm0, 0x1c8(%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
movq -0x18(%rbp), %rax
addq $0x4a8, %rax            # imm = 0x4A8
movq %rax, -0x18(%rbp)
jmp 0x4e9bb
movq 0x3426b(%rip), %rax     # 0x82da0
movss 0x4(%rax), %xmm1
movq -0x8(%rbp), %rax
movss 0x144(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x4eb6b
movss 0x21741(%rip), %xmm0    # 0x70294
movq 0x34246(%rip), %rax     # 0x82da0
addss 0x4(%rax), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x200(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)