// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_phys.c
// Function: SV_Push
qboolean SV_Push (edict_t *pusher, vec3_t move, vec3_t amove)
{
	int			i, e;
	edict_t		*check, *block;
	vec3_t		mins, maxs;
	pushed_t	*p;
	vec3_t		org, org2, move2, forward, right, up;

	if (!pusher)
	{
		gi.dprintf("NULL pusher passed to %s", __func__);
		return false;
	}

	// clamp the move to 1/8 units, so the position will
	// be accurate for client side prediction
	for (i=0 ; i<3 ; i++)
	{
		float	temp;
		temp = move[i]*8.0;
		if (temp > 0.0)
			temp += 0.5;
		else
			temp -= 0.5;
		move[i] = 0.125 * (int)temp;
	}

	// find the bounding box
	for (i=0 ; i<3 ; i++)
	{
		mins[i] = pusher->absmin[i] + move[i];
		maxs[i] = pusher->absmax[i] + move[i];
	}

// we need this for pushing things later
	VectorSubtract (vec3_origin, amove, org);
	AngleVectors (org, forward, right, up);

// save the pusher's original position
	pushed_p->ent = pusher;
	VectorCopy (pusher->s.origin, pushed_p->origin);
	VectorCopy (pusher->s.angles, pushed_p->angles);
	if (pusher->client)
		pushed_p->deltayaw = pusher->client->ps.pmove.delta_angles[YAW];
	pushed_p++;

// move the pusher to it's final position
	VectorAdd (pusher->s.origin, move, pusher->s.origin);
	VectorAdd (pusher->s.angles, amove, pusher->s.angles);
	gi.linkentity (pusher);

// see if any solid entities are inside the final position
	check = g_edicts+1;
	for (e = 1; e < globals.num_edicts; e++, check++)
	{
		if (!check->inuse)
			continue;
		if (check->movetype == MOVETYPE_PUSH
		|| check->movetype == MOVETYPE_STOP
		|| check->movetype == MOVETYPE_NONE
		|| check->movetype == MOVETYPE_NOCLIP)
			continue;

		if (!check->area.prev)
			continue;		// not linked in anywhere

	// if the entity is standing on the pusher, it will definitely be moved
		if (check->groundentity != pusher)
		{
			// see if the ent needs to be tested
			if ( check->absmin[0] >= maxs[0]
			|| check->absmin[1] >= maxs[1]
			|| check->absmin[2] >= maxs[2]
			|| check->absmax[0] <= mins[0]
			|| check->absmax[1] <= mins[1]
			|| check->absmax[2] <= mins[2] )
				continue;

			// see if the ent's bbox is inside the pusher's final position
			if (!SV_TestEntityPosition (check))
				continue;
		}

		if ((pusher->movetype == MOVETYPE_PUSH) || (check->groundentity == pusher))
		{
			// move this entity
			pushed_p->ent = check;
			VectorCopy (check->s.origin, pushed_p->origin);
			VectorCopy (check->s.angles, pushed_p->angles);
			pushed_p++;

			// try moving the contacted entity 
			VectorAdd (check->s.origin, move, check->s.origin);
			if (check->client)
			{	// FIXME: doesn't rotate monsters?
				check->client->ps.pmove.delta_angles[YAW] += amove[YAW];
			}

			// figure movement due to the pusher's amove
			VectorSubtract (check->s.origin, pusher->s.origin, org);
			org2[0] = DotProduct (org, forward);
			org2[1] = -DotProduct (org, right);
			org2[2] = DotProduct (org, up);
			VectorSubtract (org2, org, move2);
			VectorAdd (check->s.origin, move2, check->s.origin);

			// may have pushed them off an edge
			if (check->groundentity != pusher)
				check->groundentity = NULL;

			block = SV_TestEntityPosition (check);
			if (!block)
			{	// pushed ok
				gi.linkentity (check);
				// impact?
				continue;
			}

			// if it is ok to leave in the old position, do it
			// this is only relevent for riding entities, not pushed
			// FIXME: this doesn't acount for rotation
			VectorSubtract (check->s.origin, move, check->s.origin);
			block = SV_TestEntityPosition (check);
			if (!block)
			{
				pushed_p--;
				continue;
			}
		}
		
		// save off the obstacle so we can call the block function
		obstacle = check;

		// move back any entities we already moved
		// go backwards, so if the same entity was pushed
		// twice, it goes back to the original position
		for (p=pushed_p-1 ; p>=pushed ; p--)
		{
			VectorCopy (p->origin, p->ent->s.origin);
			VectorCopy (p->angles, p->ent->s.angles);
			if (p->ent->client)
			{
				p->ent->client->ps.pmove.delta_angles[YAW] = p->deltayaw;
			}
			gi.linkentity (p->ent);
		}
		return false;
	}

//FIXME: is there a better way to handle this?
	// see if anything we moved has touched a trigger
	for (p=pushed_p-1 ; p>=pushed ; p--)
		G_TouchTriggers (p->ent);

	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x469b4
leaq 0x2ddab(%rip), %rdi     # 0x74740
leaq 0x2ddbd(%rip), %rsi     # 0x74759
movq 0x3bc5d(%rip), %rcx     # 0x82600
movb $0x0, %al
callq *0x8(%rcx)
movl $0x0, -0x4(%rbp)
jmp 0x47327
movl $0x0, -0x24(%rbp)
cmpl $0x3, -0x24(%rbp)
jge 0x46a84
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x2dd12(%rip), %xmm1    # 0x746f0
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0xa4(%rbp)
movss -0xa4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x46a29
movss -0xa4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x2aa11(%rip), %xmm1    # 0x71428
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0xa4(%rbp)
jmp 0x46a4d
movss -0xa4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x2a9eb(%rip), %xmm1    # 0x71428
subsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0xa4(%rbp)
cvttss2si -0xa4(%rbp), %eax
cvtsi2sd %eax, %xmm1
movsd 0x2dc97(%rip), %xmm0    # 0x746f8
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x469bb
movl $0x0, -0x24(%rbp)
cmpl $0x3, -0x24(%rbp)
jge 0x46aec
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movss 0xe4(%rax,%rcx,4), %xmm0
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movslq -0x24(%rbp), %rax
movss %xmm0, -0x44(%rbp,%rax,4)
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movss 0xf0(%rax,%rcx,4), %xmm0
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movslq -0x24(%rbp), %rax
movss %xmm0, -0x50(%rbp,%rax,4)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x46a8b
movq 0x3bc75(%rip), %rax     # 0x82768
movss (%rax), %xmm0
movq -0x20(%rbp), %rax
subss (%rax), %xmm0
movss %xmm0, -0x64(%rbp)
movq 0x3bc5d(%rip), %rax     # 0x82768
movss 0x4(%rax), %xmm0
movq -0x20(%rbp), %rax
subss 0x4(%rax), %xmm0
movss %xmm0, -0x60(%rbp)
movq 0x3bc43(%rip), %rax     # 0x82768
movss 0x8(%rax), %xmm0
movq -0x20(%rbp), %rax
subss 0x8(%rax), %xmm0
movss %xmm0, -0x5c(%rbp)
leaq -0x64(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0x94(%rbp), %rdx
leaq -0xa0(%rbp), %rcx
callq 0x183e0
movq -0x10(%rbp), %rcx
movq 0x3bce7(%rip), %rax     # 0x82848
movq (%rax), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movss 0x4(%rax), %xmm0
movq 0x3bcd1(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x8(%rax)
movq -0x10(%rbp), %rax
movss 0x8(%rax), %xmm0
movq 0x3bcb9(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0xc(%rax)
movq -0x10(%rbp), %rax
movss 0xc(%rax), %xmm0
movq 0x3bca1(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x10(%rax)
movq -0x10(%rbp), %rax
movss 0x10(%rax), %xmm0
movq 0x3bc89(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x14(%rax)
movq -0x10(%rbp), %rax
movss 0x14(%rax), %xmm0
movq 0x3bc71(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x18(%rax)
movq -0x10(%rbp), %rax
movss 0x18(%rax), %xmm0
movq 0x3bc59(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x1c(%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x58(%rax)
je 0x46c21
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rax
movswl 0x16(%rax), %eax
cvtsi2ss %eax, %xmm0
movq 0x3bc2f(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x20(%rax)
movq 0x3bc20(%rip), %rax     # 0x82848
movq (%rax), %rcx
addq $0x28, %rcx
movq 0x3bc12(%rip), %rax     # 0x82848
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x18(%rbp), %rax
addss (%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x4(%rax)
movq -0x10(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x18(%rbp), %rax
addss 0x4(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x8(%rax)
movq -0x10(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x18(%rbp), %rax
addss 0x8(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0xc(%rax)
movq -0x10(%rbp), %rax
movss 0x10(%rax), %xmm0
movq -0x20(%rbp), %rax
addss (%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x10(%rax)
movq -0x10(%rbp), %rax
movss 0x14(%rax), %xmm0
movq -0x20(%rbp), %rax
addss 0x4(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x14(%rax)
movq -0x10(%rbp), %rax
movss 0x18(%rax), %xmm0
movq -0x20(%rbp), %rax
addss 0x8(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x18(%rax)
movq 0x3b920(%rip), %rax     # 0x82600
movq 0x90(%rax), %rax
movq -0x10(%rbp), %rdi
callq *%rax
movq 0x3b864(%rip), %rax     # 0x82558
movq (%rax), %rax
addq $0x4a8, %rax            # imm = 0x4A8
movq %rax, -0x30(%rbp)
movl $0x1, -0x28(%rbp)
movl -0x28(%rbp), %eax
movq 0x3bdf6(%rip), %rcx     # 0x82b08
cmpl 0x8c(%rcx), %eax
jge 0x472e7
movq -0x30(%rbp), %rax
cmpl $0x0, 0x60(%rax)
jne 0x46d2d
jmp 0x472cb
movq -0x30(%rbp), %rax
cmpl $0x2, 0x118(%rax)
je 0x46d61
movq -0x30(%rbp), %rax
cmpl $0x3, 0x118(%rax)
je 0x46d61
movq -0x30(%rbp), %rax
cmpl $0x0, 0x118(%rax)
je 0x46d61
movq -0x30(%rbp), %rax
cmpl $0x1, 0x118(%rax)
jne 0x46d66
jmp 0x472cb
movq -0x30(%rbp), %rax
cmpq $0x0, 0x68(%rax)
jne 0x46d76
jmp 0x472cb
movq -0x30(%rbp), %rax
movq 0x2b8(%rax), %rax
cmpq -0x10(%rbp), %rax
je 0x46e1e
movq -0x30(%rbp), %rax
movss 0xe4(%rax), %xmm0
ucomiss -0x50(%rbp), %xmm0
jae 0x46e03
movq -0x30(%rbp), %rax
movss 0xe8(%rax), %xmm0
ucomiss -0x4c(%rbp), %xmm0
jae 0x46e03
movq -0x30(%rbp), %rax
movss 0xec(%rax), %xmm0
ucomiss -0x48(%rbp), %xmm0
jae 0x46e03
movq -0x30(%rbp), %rax
movss 0xf0(%rax), %xmm1
movss -0x44(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jae 0x46e03
movq -0x30(%rbp), %rax
movss 0xf4(%rax), %xmm1
movss -0x40(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jae 0x46e03
movq -0x30(%rbp), %rax
movss 0xf8(%rax), %xmm1
movss -0x3c(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x46e08
jmp 0x472cb
movq -0x30(%rbp), %rdi
callq 0x18990
cmpq $0x0, %rax
jne 0x46e1c
jmp 0x472cb
jmp 0x46e1e
movq -0x10(%rbp), %rax
cmpl $0x2, 0x118(%rax)
je 0x46e40
movq -0x30(%rbp), %rax
movq 0x2b8(%rax), %rax
cmpq -0x10(%rbp), %rax
jne 0x471be
movq -0x30(%rbp), %rcx
movq 0x3b9fd(%rip), %rax     # 0x82848
movq (%rax), %rax
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
movss 0x4(%rax), %xmm0
movq 0x3b9e7(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x8(%rax)
movq -0x30(%rbp), %rax
movss 0x8(%rax), %xmm0
movq 0x3b9cf(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0xc(%rax)
movq -0x30(%rbp), %rax
movss 0xc(%rax), %xmm0
movq 0x3b9b7(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x10(%rax)
movq -0x30(%rbp), %rax
movss 0x10(%rax), %xmm0
movq 0x3b99f(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x14(%rax)
movq -0x30(%rbp), %rax
movss 0x14(%rax), %xmm0
movq 0x3b987(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x18(%rax)
movq -0x30(%rbp), %rax
movss 0x18(%rax), %xmm0
movq 0x3b96f(%rip), %rax     # 0x82848
movq (%rax), %rax
movss %xmm0, 0x1c(%rax)
movq 0x3b960(%rip), %rax     # 0x82848
movq (%rax), %rcx
addq $0x28, %rcx
movq 0x3b952(%rip), %rax     # 0x82848
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x18(%rbp), %rax
addss (%rax), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0x4(%rax)
movq -0x30(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x18(%rbp), %rax
addss 0x4(%rax), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0x8(%rax)
movq -0x30(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x18(%rbp), %rax
addss 0x8(%rax), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0xc(%rax)
movq -0x30(%rbp), %rax
cmpq $0x0, 0x58(%rax)
je 0x46f79
movq -0x20(%rbp), %rax
movss 0x4(%rax), %xmm1
movq -0x30(%rbp), %rax
movq 0x58(%rax), %rax
movswl 0x16(%rax), %ecx
cvtsi2ss %ecx, %xmm0
addss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movw %cx, 0x16(%rax)
movq -0x30(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x10(%rbp), %rax
subss 0x4(%rax), %xmm0
movss %xmm0, -0x64(%rbp)
movq -0x30(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x10(%rbp), %rax
subss 0x8(%rax), %xmm0
movss %xmm0, -0x60(%rbp)
movq -0x30(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x10(%rbp), %rax
subss 0xc(%rax), %xmm0
movss %xmm0, -0x5c(%rbp)
movss -0x64(%rbp), %xmm1
movss -0x88(%rbp), %xmm2
movss -0x60(%rbp), %xmm0
mulss -0x84(%rbp), %xmm0
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0x5c(%rbp), %xmm0
movss -0x80(%rbp), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x70(%rbp)
movss -0x64(%rbp), %xmm1
movss -0x94(%rbp), %xmm2
movss -0x60(%rbp), %xmm0
mulss -0x90(%rbp), %xmm0
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0x5c(%rbp), %xmm0
movss -0x8c(%rbp), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, -0x6c(%rbp)
movss -0x64(%rbp), %xmm1
movss -0xa0(%rbp), %xmm2
movss -0x60(%rbp), %xmm0
mulss -0x9c(%rbp), %xmm0
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0x5c(%rbp), %xmm0
movss -0x98(%rbp), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x68(%rbp)
movss -0x70(%rbp), %xmm0
subss -0x64(%rbp), %xmm0
movss %xmm0, -0x7c(%rbp)
movss -0x6c(%rbp), %xmm0
subss -0x60(%rbp), %xmm0
movss %xmm0, -0x78(%rbp)
movss -0x68(%rbp), %xmm0
subss -0x5c(%rbp), %xmm0
movss %xmm0, -0x74(%rbp)
movq -0x30(%rbp), %rax
movss 0x4(%rax), %xmm0
addss -0x7c(%rbp), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0x4(%rax)
movq -0x30(%rbp), %rax
movss 0x8(%rax), %xmm0
addss -0x78(%rbp), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0x8(%rax)
movq -0x30(%rbp), %rax
movss 0xc(%rax), %xmm0
addss -0x74(%rbp), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0xc(%rax)
movq -0x30(%rbp), %rax
movq 0x2b8(%rax), %rax
cmpq -0x10(%rbp), %rax
je 0x4710e
movq -0x30(%rbp), %rax
movq $0x0, 0x2b8(%rax)
movq -0x30(%rbp), %rdi
callq 0x18990
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x4713b
movq 0x3b4d7(%rip), %rax     # 0x82600
movq 0x90(%rax), %rax
movq -0x30(%rbp), %rdi
callq *%rax
jmp 0x472cb
movq -0x30(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x18(%rbp), %rax
subss (%rax), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0x4(%rax)
movq -0x30(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x18(%rbp), %rax
subss 0x4(%rax), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0x8(%rax)
movq -0x30(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x18(%rbp), %rax
subss 0x8(%rax), %xmm0
movq -0x30(%rbp), %rax
movss %xmm0, 0xc(%rax)
movq -0x30(%rbp), %rdi
callq 0x18990
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x471bc
movq 0x3b6a2(%rip), %rax     # 0x82848
movq (%rax), %rcx
addq $-0x28, %rcx
movq 0x3b694(%rip), %rax     # 0x82848
movq %rcx, (%rax)
jmp 0x472cb
jmp 0x471be
movq -0x30(%rbp), %rcx
movq 0x3b6af(%rip), %rax     # 0x82878
movq %rcx, (%rax)
movq 0x3b675(%rip), %rax     # 0x82848
movq (%rax), %rax
addq $-0x28, %rax
movq %rax, -0x58(%rbp)
movq 0x3baf3(%rip), %rax     # 0x82cd8
cmpq %rax, -0x58(%rbp)
jb 0x472c2
movq -0x58(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movss %xmm0, 0x4(%rax)
movq -0x58(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movss %xmm0, 0x8(%rax)
movq -0x58(%rbp), %rax
movss 0x10(%rax), %xmm0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movss %xmm0, 0xc(%rax)
movq -0x58(%rbp), %rax
movss 0x14(%rax), %xmm0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movss %xmm0, 0x10(%rax)
movq -0x58(%rbp), %rax
movss 0x18(%rax), %xmm0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movss %xmm0, 0x14(%rax)
movq -0x58(%rbp), %rax
movss 0x1c(%rax), %xmm0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movss %xmm0, 0x18(%rax)
movq -0x58(%rbp), %rax
movq (%rax), %rax
cmpq $0x0, 0x58(%rax)
je 0x4729a
movq -0x58(%rbp), %rax
movss 0x20(%rax), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq 0x58(%rax), %rax
movw %cx, 0x16(%rax)
movq 0x3b35f(%rip), %rax     # 0x82600
movq 0x90(%rax), %rax
movq -0x58(%rbp), %rcx
movq (%rcx), %rdi
callq *%rax
movq -0x58(%rbp), %rax
addq $-0x28, %rax
movq %rax, -0x58(%rbp)
jmp 0x471de
movl $0x0, -0x4(%rbp)
jmp 0x47327
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
movq -0x30(%rbp), %rax
addq $0x4a8, %rax            # imm = 0x4A8
movq %rax, -0x30(%rbp)
jmp 0x46d08
movq 0x3b55a(%rip), %rax     # 0x82848
movq (%rax), %rax
addq $-0x28, %rax
movq %rax, -0x58(%rbp)
movq 0x3b9d8(%rip), %rax     # 0x82cd8
cmpq %rax, -0x58(%rbp)
jb 0x47320
movq -0x58(%rbp), %rax
movq (%rax), %rdi
callq 0x193f0
movq -0x58(%rbp), %rax
addq $-0x28, %rax
movq %rax, -0x58(%rbp)
jmp 0x472f9
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0xb0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)