// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_cmds.c
// Function: Cmd_InfoEnt_f
void Cmd_InfoEnt_f (edict_t *ent)
{
	edict_t	*banner;
	FILE	*fp;
	char	*p;
	char	name[MAX_INFO_STRING];
	char	entities[MAX_INFO_STRING];
	double f1, f2, f3, a1, a2, a3;
	int	red = 0;
	vec3_t	forward, right, start, offset, mins, maxs, end;
	trace_t	tr;
	float	*v;
	char	enttype[100] = { 0 };
	char	entcolor[100] = { 0 };

	v = tv(-8,-8,-2);
	VectorCopy (v, mins);
	v = tv(8,8,2);
	VectorCopy (v, maxs);

	// Set out ending point to our starting point
	AngleVectors (ent->client->v_angle, forward, right, NULL);
	VectorSet(offset, 8, 0, ent->viewheight-8);
	G_ProjectSource (ent->s.origin, offset, forward, right, start);

	VectorSet(offset, 10000, 0, 0);
	G_ProjectSource (start, offset, forward, right, end);

	tr = gi.trace (start, mins, maxs, end, ent, MASK_SHOT);


	p = gi.args();

	if (sscanf(p, "%s %[^\n]", enttype, entcolor))
	{
		if (!Q_stricmp(entcolor, "red"))
			red = 1;
		else
			red = 0;
		p = entcolor;
		if (*p == '"')
		{
			p++;
			p[strlen(p)-1] = 0;
			strcpy(name, p);
			strcpy(entcolor, name);
		}
	}
	else if (p)
		strcpy(p, enttype);
	else
		return;


	// MISC_CTF_BANNER

	if (!strcmp(enttype, "misc_ctf_banner"))
	{
		if (tr.ent)
		{
			vectoangles(tr.plane.normal, end);
			a1 = end[0] = 0;
			a2 = end[1];
			a3 = end[2] = 0;
		}
		else
		{
			return;
		}


		tr.endpos[2] -= 248;

		f1 = tr.endpos[0];
		f2 = tr.endpos[1];
		f3 = tr.endpos[2];


		banner = G_Spawn();
		banner->classname = ED_NewString ("misc_ctf_banner");
		if (red)
			banner->spawnflags = 0;
		else
			banner->spawnflags = 1;
		VectorCopy(tr.endpos, banner->s.origin);
		VectorCopy(end, banner->s.angles);
		ED_CallSpawn(banner);

		v = tv(-8,-8,0);
		VectorCopy (v, mins);
		v = tv(8,8,248);
		VectorCopy (v, maxs);
		tr = gi.trace (banner->s.origin, mins, maxs, banner->s.origin, banner, MASK_SOLID);
		if (tr.startsolid)
		{
			G_FreeEdict(banner);
			gi.centerprintf(ent, "Banner Failed. Deleting Entity\n");
			return;
		}

		if (red)
		{
			sprintf(entities, "{\n\"origin\" \"%.0f %.0f %.0f\"\n"
				"\"angles\" \"%.0f %.0f %.0f\"\n"
				"\"classname\" \"misc_ctf_banner\"\n"
				"}\n",
				f1, f2, f3, a1, a2, a3);
		}
		else
		{
			sprintf(entities, "{\n\"origin\" \"%.0f %.0f %.0f\"\n"
				"\"angles\" \"%.0f %.0f %.0f\"\n"
				"\"classname\" \"misc_ctf_banner\"\n"
				"\"spawnflags\" \"1\"\n"
				"}\n",
				f1, f2, f3, a1, a2, a3);
		}
	}

	// MISC_CTF_SMALL_BANNER

	else if (!strcmp(enttype, "misc_ctf_small_banner"))
	{
		if (tr.ent)
		{
			tr.plane.normal[2] = 0;
			vectoangles(tr.plane.normal, end);
			a1 = end[0] = 0;
			a2 = end[1];
			a3 = end[2] = 0;
		}
		else
		{
			return;
		}


		tr.endpos[2] -= 124;

		f1 = tr.endpos[0];
		f2 = tr.endpos[1];
		f3 = tr.endpos[2];


		banner = G_Spawn();
		banner->classname = ED_NewString ("misc_ctf_small_banner");
		if (red)
			banner->spawnflags = 0;
		else
			banner->spawnflags = 1;
		VectorCopy(tr.endpos, banner->s.origin);
		VectorCopy(end, banner->s.angles);
		ED_CallSpawn(banner);

		v = tv(-8,-8,0);
		VectorCopy (v, mins);
		v = tv(8,8,124);
		VectorCopy (v, maxs);
		tr = gi.trace (banner->s.origin, mins, maxs, banner->s.origin, banner, MASK_SOLID);
		if (tr.startsolid)
		{
			G_FreeEdict(banner);
			gi.centerprintf(ent, "Small Banner Failed. Deleting Entity\n");
			return;
		}

		if (red)
		{
			sprintf(entities, "{\n\"origin\" \"%.0f %.0f %.0f\"\n"
				"\"angles\" \"%.0f %.0f %.0f\"\n"
				"\"classname\" \"misc_ctf_small_banner\"\n"
				"}\n",
				f1, f2, f3, a1, a2, a3);
		}
		else
		{
			sprintf(entities, "{\n\"origin\" \"%.0f %.0f %.0f\"\n"
				"\"angles\" \"%.0f %.0f %.0f\"\n"
				"\"classname\" \"misc_ctf_small_banner\"\n"
				"\"spawnflags\" \"1\"\n"
				"}\n",
				f1, f2, f3, a1, a2, a3);
		}
	}
	// INFO_POSITION

	else if (!strcmp(enttype, "info_position"))
	{
		f1 = ent->s.origin[0];
		f2 = ent->s.origin[1];
		f3 = ent->s.origin[2];

		sprintf(entities, "{\n\"origin\" \"%.0f %.0f %.0f\"\n"
			"\"classname\" \"info_position\"\n"
			"\"message\" \"%s\"\n}\n",
			f1, f2, f3, entcolor);

		banner = G_Spawn();
		banner->classname = ED_NewString (enttype);
		banner->message = ED_NewString (entcolor);
		VectorCopy(ent->s.origin, banner->s.origin);
		ED_CallSpawn(banner);

	}
		// INFO_FLAG_RED

	else if (!strcmp(enttype, "info_flag_red") ||
			 !strcmp(enttype, "info_flag_blue") ||
			 !strcmp(enttype, "info_player_red") ||
			 !strcmp(enttype, "info_player_blue"))
	{
		f1 = ent->s.origin[0];
		f2 = ent->s.origin[1];
		f3 = ent->s.origin[2];

		a1 = ent->s.angles[0];  // Filled out this so the
		a2 = ent->s.angles[1];  // sprintf below has enough
		a3 = ent->s.angles[2];  // fodder


		sprintf(entities, "{\n\"origin\" \"%.0f %.0f %.0f\"\n"
			"\"classname\" \"%s\"\n"
			"\"angle\" \"%.0f %.0f %.0f\"\n}\n",
			f1, f2, f3, enttype, a1,a2,a3);
			// Added a1,a2,a3 to fill out format

		banner = G_Spawn();
		banner->classname = ED_NewString (enttype);
		VectorCopy(ent->s.origin, banner->s.origin);
		VectorCopy(ent->s.angles, banner->s.angles);
		ED_CallSpawn(banner);
	}

	else
		return;


	strcpy (name, gamedir->string);
	strcat (name, "/info/");
	strcat (name, level.mapname);
	strcat (name, ".ent");

	fp = fopen (name, "a");
	fwrite(entities, 1, strlen(entities), fp);
	fclose(fp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x6c0, %rsp            # imm = 0x6C0
movq %rdi, -0x8(%rbp)
movl $0x0, -0x454(%rbp)
leaq -0x560(%rbp), %rdi
xorl %esi, %esi
movl $0x64, %edx
callq 0x188f0
leaq -0x5d0(%rbp), %rdi
xorl %esi, %esi
movl $0x64, %edx
callq 0x188f0
movss 0x42d49(%rip), %xmm1    # 0x71410
movss 0x42d45(%rip), %xmm2    # 0x71414
movaps %xmm1, %xmm0
callq 0x19740
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x490(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x48c(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x488(%rbp)
movss 0x417db(%rip), %xmm1    # 0x6fefc
movss 0x417bf(%rip), %xmm2    # 0x6fee8
movaps %xmm1, %xmm0
callq 0x19740
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x49c(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x498(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x494(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rdi
addq $0xebc, %rdi            # imm = 0xEBC
leaq -0x460(%rbp), %rsi
leaq -0x46c(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x183e0
movss 0x4175b(%rip), %xmm0    # 0x6fefc
movss %xmm0, -0x484(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x480(%rbp)
movq -0x8(%rbp), %rax
movl 0x278(%rax), %eax
subl $0x8, %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x47c(%rbp)
movq -0x8(%rbp), %rdi
addq $0x4, %rdi
leaq -0x484(%rbp), %rsi
leaq -0x460(%rbp), %rdx
leaq -0x46c(%rbp), %rcx
leaq -0x478(%rbp), %r8
callq 0x19140
movss 0x42c0a(%rip), %xmm0    # 0x71408
movss %xmm0, -0x484(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x480(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x47c(%rbp)
leaq -0x478(%rbp), %rdi
leaq -0x484(%rbp), %rsi
leaq -0x460(%rbp), %rdx
leaq -0x46c(%rbp), %rcx
leaq -0x4a8(%rbp), %r8
callq 0x19140
movq 0x53db5(%rip), %rax     # 0x82600
movq 0x60(%rax), %rax
leaq -0x478(%rbp), %rsi
leaq -0x490(%rbp), %rdx
leaq -0x49c(%rbp), %rcx
leaq -0x4a8(%rbp), %r8
movq -0x8(%rbp), %r9
leaq -0x618(%rbp), %rdi
movl $0x6000003, (%rsp)      # imm = 0x6000003
callq *%rax
leaq -0x4f0(%rbp), %rdi
leaq -0x618(%rbp), %rsi
movl $0x48, %edx
callq 0x18dc0
movq 0x53d62(%rip), %rax     # 0x82600
callq *0x148(%rax)
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
leaq -0x560(%rbp), %rdx
leaq -0x5d0(%rbp), %rcx
leaq 0x43449(%rip), %rsi     # 0x71d0a
movb $0x0, %al
callq 0x19180
cmpl $0x0, %eax
je 0x2e96d
leaq -0x5d0(%rbp), %rdi
leaq 0x41bd0(%rip), %rsi     # 0x704af
callq 0x186f0
cmpl $0x0, %eax
jne 0x2e8f5
movl $0x1, -0x454(%rbp)
jmp 0x2e8ff
movl $0x0, -0x454(%rbp)
leaq -0x5d0(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x22, %eax
jne 0x2e96b
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x6b0(%rbp)
movq -0x20(%rbp), %rdi
callq 0x186e0
movq %rax, %rcx
movq -0x6b0(%rbp), %rax
subq $0x1, %rcx
movb $0x0, (%rax,%rcx)
leaq -0x220(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x182c0
leaq -0x5d0(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0x182c0
jmp 0x2e98d
cmpq $0x0, -0x20(%rbp)
je 0x2e986
movq -0x20(%rbp), %rdi
leaq -0x560(%rbp), %rsi
callq 0x182c0
jmp 0x2e98b
jmp 0x2f3ec
jmp 0x2e98d
leaq -0x560(%rbp), %rdi
leaq 0x43378(%rip), %rsi     # 0x71d13
callq 0x18bf0
cmpl $0x0, %eax
jne 0x2ecf1
cmpq $0x0, -0x4b0(%rbp)
je 0x2ea0c
leaq -0x4f0(%rbp), %rdi
addq $0x18, %rdi
leaq -0x4a8(%rbp), %rsi
callq 0x192a0
xorps %xmm0, %xmm0
movss %xmm0, -0x4a8(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x440(%rbp)
movss -0x4a4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x448(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x4a0(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x450(%rbp)
jmp 0x2ea11
jmp 0x2f3ec
movss -0x4dc(%rbp), %xmm0
movss 0x429f7(%rip), %xmm1    # 0x71418
subss %xmm1, %xmm0
movss %xmm0, -0x4dc(%rbp)
movss -0x4e4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x428(%rbp)
movss -0x4e0(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x430(%rbp)
movss -0x4dc(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x438(%rbp)
callq 0x19950
movq %rax, -0x10(%rbp)
leaq 0x4329a(%rip), %rdi     # 0x71d13
callq 0x18280
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x138(%rax)
cmpl $0x0, -0x454(%rbp)
je 0x2eaa5
movq -0x10(%rbp), %rax
movl $0x0, 0x140(%rax)
jmp 0x2eab3
movq -0x10(%rbp), %rax
movl $0x1, 0x140(%rax)
movss -0x4e4(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x4(%rax)
movss -0x4e0(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x8(%rax)
movss -0x4dc(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0xc(%rax)
movss -0x4a8(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x10(%rax)
movss -0x4a4(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x14(%rax)
movss -0x4a0(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x18(%rax)
movq -0x10(%rbp), %rdi
callq 0x19520
movss 0x428e6(%rip), %xmm1    # 0x71410
xorps %xmm2, %xmm2
movaps %xmm1, %xmm0
callq 0x19740
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x490(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x48c(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x488(%rbp)
movss 0x4137d(%rip), %xmm1    # 0x6fefc
movss 0x42891(%rip), %xmm2    # 0x71418
movaps %xmm1, %xmm0
callq 0x19740
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x49c(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x498(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x494(%rbp)
movq 0x53a28(%rip), %rax     # 0x82600
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rsi
addq $0x4, %rsi
leaq -0x490(%rbp), %rdx
leaq -0x49c(%rbp), %rcx
movq -0x10(%rbp), %r8
addq $0x4, %r8
movq -0x10(%rbp), %r9
leaq -0x660(%rbp), %rdi
movl $0x3, (%rsp)
callq *%rax
leaq -0x4f0(%rbp), %rdi
leaq -0x660(%rbp), %rsi
movl $0x48, %edx
callq 0x18dc0
cmpl $0x0, -0x4ec(%rbp)
je 0x2ec57
movq -0x10(%rbp), %rdi
callq 0x19cd0
movq 0x539c1(%rip), %rax     # 0x82600
movq 0x18(%rax), %rcx
movq -0x8(%rbp), %rdi
leaq 0x431b0(%rip), %rsi     # 0x71dfe
movb $0x0, %al
callq *%rcx
jmp 0x2f3ec
cmpl $0x0, -0x454(%rbp)
je 0x2eca7
leaq -0x420(%rbp), %rdi
movsd -0x428(%rbp), %xmm0
movsd -0x430(%rbp), %xmm1
movsd -0x438(%rbp), %xmm2
movsd -0x440(%rbp), %xmm3
movsd -0x448(%rbp), %xmm4
movsd -0x450(%rbp), %xmm5
leaq 0x43085(%rip), %rsi     # 0x71d23
movb $0x6, %al
callq 0x19940
jmp 0x2ecec
leaq -0x420(%rbp), %rdi
movsd -0x428(%rbp), %xmm0
movsd -0x430(%rbp), %xmm1
movsd -0x438(%rbp), %xmm2
movsd -0x440(%rbp), %xmm3
movsd -0x448(%rbp), %xmm4
movsd -0x450(%rbp), %xmm5
leaq 0x43095(%rip), %rsi     # 0x71d7a
movb $0x6, %al
callq 0x19940
jmp 0x2f343
leaq -0x560(%rbp), %rdi
leaq 0x430e3(%rip), %rsi     # 0x71de2
callq 0x18bf0
cmpl $0x0, %eax
jne 0x2f060
cmpq $0x0, -0x4b0(%rbp)
je 0x2ed7b
xorps %xmm0, %xmm0
movss %xmm0, -0x4d0(%rbp)
leaq -0x4f0(%rbp), %rdi
addq $0x18, %rdi
leaq -0x4a8(%rbp), %rsi
callq 0x192a0
xorps %xmm0, %xmm0
movss %xmm0, -0x4a8(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x440(%rbp)
movss -0x4a4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x448(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x4a0(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x450(%rbp)
jmp 0x2ed80
jmp 0x2f3ec
movss -0x4dc(%rbp), %xmm0
movss 0x4268c(%rip), %xmm1    # 0x7141c
subss %xmm1, %xmm0
movss %xmm0, -0x4dc(%rbp)
movss -0x4e4(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x428(%rbp)
movss -0x4e0(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x430(%rbp)
movss -0x4dc(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x438(%rbp)
callq 0x19950
movq %rax, -0x10(%rbp)
leaq 0x42ffa(%rip), %rdi     # 0x71de2
callq 0x18280
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x138(%rax)
cmpl $0x0, -0x454(%rbp)
je 0x2ee14
movq -0x10(%rbp), %rax
movl $0x0, 0x140(%rax)
jmp 0x2ee22
movq -0x10(%rbp), %rax
movl $0x1, 0x140(%rax)
movss -0x4e4(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x4(%rax)
movss -0x4e0(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x8(%rax)
movss -0x4dc(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0xc(%rax)
movss -0x4a8(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x10(%rax)
movss -0x4a4(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x14(%rax)
movss -0x4a0(%rbp), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x18(%rax)
movq -0x10(%rbp), %rdi
callq 0x19520
movss 0x42577(%rip), %xmm1    # 0x71410
xorps %xmm2, %xmm2
movaps %xmm1, %xmm0
callq 0x19740
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x490(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x48c(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x488(%rbp)
movss 0x4100e(%rip), %xmm1    # 0x6fefc
movss 0x42526(%rip), %xmm2    # 0x7141c
movaps %xmm1, %xmm0
callq 0x19740
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x49c(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x498(%rbp)
movq -0x4f8(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x494(%rbp)
movq 0x536b9(%rip), %rax     # 0x82600
movq 0x60(%rax), %rax
movq -0x10(%rbp), %rsi
addq $0x4, %rsi
leaq -0x490(%rbp), %rdx
leaq -0x49c(%rbp), %rcx
movq -0x10(%rbp), %r8
addq $0x4, %r8
movq -0x10(%rbp), %r9
leaq -0x6a8(%rbp), %rdi
movl $0x3, (%rsp)
callq *%rax
leaq -0x4f0(%rbp), %rdi
leaq -0x6a8(%rbp), %rsi
movl $0x48, %edx
callq 0x18dc0
cmpl $0x0, -0x4ec(%rbp)
je 0x2efc6
movq -0x10(%rbp), %rdi
callq 0x19cd0
movq 0x53652(%rip), %rax     # 0x82600
movq 0x18(%rax), %rcx
movq -0x8(%rbp), %rdi
leaq 0x42e3b(%rip), %rsi     # 0x71df8
movb $0x0, %al
callq *%rcx
jmp 0x2f3ec
cmpl $0x0, -0x454(%rbp)
je 0x2f016
leaq -0x420(%rbp), %rdi
movsd -0x428(%rbp), %xmm0
movsd -0x430(%rbp), %xmm1
movsd -0x438(%rbp), %xmm2
movsd -0x440(%rbp), %xmm3
movsd -0x448(%rbp), %xmm4
movsd -0x450(%rbp), %xmm5
leaq 0x42e11(%rip), %rsi     # 0x71e1e
movb $0x6, %al
callq 0x19940
jmp 0x2f05b
leaq -0x420(%rbp), %rdi
movsd -0x428(%rbp), %xmm0
movsd -0x430(%rbp), %xmm1
movsd -0x438(%rbp), %xmm2
movsd -0x440(%rbp), %xmm3
movsd -0x448(%rbp), %xmm4
movsd -0x450(%rbp), %xmm5
leaq 0x42e27(%rip), %rsi     # 0x71e7b
movb $0x6, %al
callq 0x19940
jmp 0x2f341
leaq -0x560(%rbp), %rdi
leaq 0x40efc(%rip), %rsi     # 0x6ff6a
callq 0x18bf0
cmpl $0x0, %eax
jne 0x2f170
movq -0x8(%rbp), %rax
movss 0x4(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x428(%rbp)
movq -0x8(%rbp), %rax
movss 0x8(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x430(%rbp)
movq -0x8(%rbp), %rax
movss 0xc(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x438(%rbp)
leaq -0x420(%rbp), %rdi
movsd -0x428(%rbp), %xmm0
movsd -0x430(%rbp), %xmm1
movsd -0x438(%rbp), %xmm2
leaq -0x5d0(%rbp), %rdx
leaq 0x42e01(%rip), %rsi     # 0x71ee9
movb $0x3, %al
callq 0x19940
callq 0x19950
movq %rax, -0x10(%rbp)
leaq -0x560(%rbp), %rdi
callq 0x18280
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x138(%rax)
leaq -0x5d0(%rbp), %rdi
callq 0x18280
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x130(%rax)
movq -0x8(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x4(%rax)
movq -0x8(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x8(%rax)
movq -0x8(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0xc(%rax)
movq -0x10(%rbp), %rdi
callq 0x19520
jmp 0x2f33f
leaq -0x560(%rbp), %rdi
leaq 0x40dca(%rip), %rsi     # 0x6ff48
callq 0x18bf0
cmpl $0x0, %eax
je 0x2f1d4
leaq -0x560(%rbp), %rdi
leaq 0x40dc0(%rip), %rsi     # 0x6ff56
callq 0x18bf0
cmpl $0x0, %eax
je 0x2f1d4
leaq -0x560(%rbp), %rdi
leaq 0x42d85(%rip), %rsi     # 0x71f33
callq 0x18bf0
cmpl $0x0, %eax
je 0x2f1d4
leaq -0x560(%rbp), %rdi
leaq 0x42d7d(%rip), %rsi     # 0x71f43
callq 0x18bf0
cmpl $0x0, %eax
jne 0x2f338
movq -0x8(%rbp), %rax
movss 0x4(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x428(%rbp)
movq -0x8(%rbp), %rax
movss 0x8(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x430(%rbp)
movq -0x8(%rbp), %rax
movss 0xc(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x438(%rbp)
movq -0x8(%rbp), %rax
movss 0x10(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x440(%rbp)
movq -0x8(%rbp), %rax
movss 0x14(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x448(%rbp)
movq -0x8(%rbp), %rax
movss 0x18(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x450(%rbp)
leaq -0x420(%rbp), %rdi
movsd -0x428(%rbp), %xmm0
movsd -0x430(%rbp), %xmm1
movsd -0x438(%rbp), %xmm2
leaq -0x560(%rbp), %rdx
movsd -0x440(%rbp), %xmm3
movsd -0x448(%rbp), %xmm4
movsd -0x450(%rbp), %xmm5
leaq 0x42cbd(%rip), %rsi     # 0x71f54
movb $0x6, %al
callq 0x19940
callq 0x19950
movq %rax, -0x10(%rbp)
leaq -0x560(%rbp), %rdi
callq 0x18280
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x138(%rax)
movq -0x8(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x4(%rax)
movq -0x8(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x8(%rax)
movq -0x8(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0xc(%rax)
movq -0x8(%rbp), %rax
movss 0x10(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x10(%rax)
movq -0x8(%rbp), %rax
movss 0x14(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x14(%rax)
movq -0x8(%rbp), %rax
movss 0x18(%rax), %xmm0
movq -0x10(%rbp), %rax
movss %xmm0, 0x18(%rax)
movq -0x10(%rbp), %rdi
callq 0x19520
jmp 0x2f33d
jmp 0x2f3ec
jmp 0x2f33f
jmp 0x2f341
jmp 0x2f343
leaq -0x220(%rbp), %rdi
movq 0x53b5f(%rip), %rax     # 0x82eb0
movq (%rax), %rax
movq 0x8(%rax), %rsi
callq 0x182c0
leaq -0x220(%rbp), %rdi
leaq 0x42c32(%rip), %rsi     # 0x71f9d
callq 0x19880
leaq -0x220(%rbp), %rdi
movq 0x53a22(%rip), %rsi     # 0x82da0
addq $0x48, %rsi
callq 0x19880
leaq -0x220(%rbp), %rdi
leaq 0x42c0f(%rip), %rsi     # 0x71fa4
callq 0x19880
leaq -0x220(%rbp), %rdi
leaq 0x40310(%rip), %rsi     # 0x6f6b8
callq 0x196a0
movq %rax, -0x18(%rbp)
leaq -0x420(%rbp), %rax
movq %rax, -0x6b8(%rbp)
leaq -0x420(%rbp), %rdi
callq 0x186e0
movq -0x6b8(%rbp), %rdi
movq %rax, %rdx
movq -0x18(%rbp), %rcx
movl $0x1, %esi
callq 0x19960
movq -0x18(%rbp), %rdi
callq 0x18600
addq $0x6c0, %rsp            # imm = 0x6C0
popq %rbp
retq
nopw %cs:(%rax,%rax)