// File: /workspace/github_cpp_makefile_star2_O2/FreeSlave[P]vhlt/hlrad/lerp.cpp
// Function: CreateTriangulations(int)
void CreateTriangulations (int facenum)
{
	try
	{

	facetriangulation_t *facetrian;
	int patchnum;
	const patch_t *patch;
	localtriangulation_t *lt;

	g_facetriangulations[facenum] = new facetriangulation_t;
	facetrian = g_facetriangulations[facenum];

	facetrian->facenum = facenum;

	// Find neighbors
	FindNeighbors (facetrian);

	// Build walls
	BuildWalls (facetrian);

	// Create local triangulation around each patch
	facetrian->localtriangulations.resize (0);
	for (patch = g_face_patches[facenum]; patch; patch = patch->next)
	{
		patchnum = patch - g_patches;
		lt = CreateLocalTriangulation (facetrian, patchnum);
		facetrian->localtriangulations.push_back (lt);
	}

	// Collect used patches
	CollectUsedPatches (facetrian);

	}
	catch (std::bad_alloc)
	{
		hlassume (false, assume_NoMemory);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movl %edi, %ebp
pushq $0x68
popq %rdi
callq 0x42e0
movq %rax, 0x38(%rsp)
xorps %xmm0, %xmm0
movq 0x38(%rsp), %rcx
movups %xmm0, 0x58(%rcx)
movups %xmm0, 0x48(%rcx)
movups %xmm0, 0x38(%rcx)
movups %xmm0, 0x28(%rcx)
movups %xmm0, 0x18(%rcx)
movups %xmm0, 0x8(%rcx)
movslq %ebp, %rdx
leaq 0x20ba9f6(%rip), %rax   # 0x20c8920
movq %rcx, (%rax,%rdx,8)
movl %edx, (%rcx)
movl %edx, 0x60(%rsp)
movq %rdx, 0xf0(%rsp)
imulq $0x14, %rdx, %r14
addq 0x360a1(%rip), %r14     # 0x43fe8
movq %r14, %rdi
callq 0x2b6a1
movq %rax, %r15
movq 0x38(%rsp), %rax
leaq 0x8(%rax), %rdi
movq %rdi, 0xf8(%rsp)
xorl %esi, %esi
callq 0x1175e
leaq 0x60(%rsp), %rsi
movq 0xf8(%rsp), %rdi
callq 0x11790
xorl %ebx, %ebx
leaq 0x1b9f48b(%rip), %rbp   # 0x1bad410
leaq 0x20(%rsp), %r12
movswl 0x8(%r14), %eax
cmpl %eax, %ebx
jge 0xe07d
movslq 0x4(%r14), %rax
movslq %ebx, %rcx
addq %rax, %rcx
leaq 0x1e39488(%rip), %rax   # 0x1e47430
movl (%rax,%rcx,4), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
imulq $0xb0, %rcx, %rcx
leaq 0x213a960(%rip), %rdx   # 0x2148920
cmpb $0x1, 0x39(%rdx,%rcx)
jne 0xe076
addq 0x35f96(%rip), %rcx     # 0x43f68
xorl %edx, %edx
testl %eax, %eax
setg %dl
movq (%rcx,%rdx,8), %rdi
movq %rdi, %rax
subq %rbp, %rax
cqto
pushq $0x14
popq %rcx
idivq %rcx
movl %eax, 0x20(%rsp)
callq 0x2b6a1
movss (%r15), %xmm0
movss 0x4(%r15), %xmm1
mulss 0x4(%rax), %xmm1
mulss (%rax), %xmm0
addss %xmm1, %xmm0
movss 0x8(%r15), %xmm1
mulss 0x8(%rax), %xmm1
addss %xmm0, %xmm1
cvtss2sd %xmm1, %xmm0
movsd 0x27589(%rip), %xmm1    # 0x355b0
ucomisd %xmm0, %xmm1
ja 0xe076
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rax
subq %rcx, %rax
shrq $0x2, %rax
movl 0x20(%rsp), %esi
testl %eax, %eax
movl $0x0, %edx
cmovgl %eax, %edx
xorl %edi, %edi
cmpq %rdi, %rdx
je 0xe062
cmpl %esi, (%rcx,%rdi,4)
je 0xe060
incq %rdi
jmp 0xe051
movl %edi, %edx
cmpl %eax, %edx
jne 0xe076
movq 0xf8(%rsp), %rdi
movq %r12, %rsi
callq 0x11790
incl %ebx
jmp 0xdf8a
xorl %esi, %esi
leaq 0x20(%rsp), %r12
movq %r14, 0xc0(%rsp)
movswl %ax, %ecx
cmpl %ecx, %esi
jge 0xe1cc
movslq 0x4(%r14), %rcx
movslq %esi, %rdx
addq %rcx, %rdx
leaq 0x1e39388(%rip), %rcx   # 0x1e47430
movl (%rcx,%rdx,4), %ecx
movl %ecx, %edx
negl %edx
cmovsl %ecx, %edx
imulq $0xb0, %rdx, %r13
leaq 0x213a860(%rip), %rcx   # 0x2148920
cmpb $0x1, 0x39(%rcx,%r13)
jne 0xe1c5
movq %rsi, 0x90(%rsp)
addq 0x35e8d(%rip), %r13     # 0x43f68
addq $0x40, %r13
xorl %r14d, %r14d
cmpq $0x2, %r14
je 0xe1b0
leaq (,%r14,8), %rbx
addq %r13, %rbx
movq (%rbx), %rbx
testq %rbx, %rbx
je 0xe1a8
movq (%rbx), %rdi
movq %rdi, %rax
subq %rbp, %rax
cqto
pushq $0x14
popq %rcx
idivq %rcx
movl %eax, 0x20(%rsp)
callq 0x2b6a1
movss (%r15), %xmm0
movss 0x4(%r15), %xmm1
mulss 0x4(%rax), %xmm1
mulss (%rax), %xmm0
addss %xmm1, %xmm0
movss 0x8(%r15), %xmm1
mulss 0x8(%rax), %xmm1
addss %xmm0, %xmm1
cvtss2sd %xmm1, %xmm0
movsd 0x27460(%rip), %xmm1    # 0x355b0
ucomisd %xmm0, %xmm1
ja 0xe19f
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rax
subq %rcx, %rax
shrq $0x2, %rax
movl 0x20(%rsp), %esi
testl %eax, %eax
movl $0x0, %edx
cmovgl %eax, %edx
xorl %edi, %edi
cmpq %rdi, %rdx
je 0xe18b
cmpl %esi, (%rcx,%rdi,4)
je 0xe189
incq %rdi
jmp 0xe17a
movl %edi, %edx
cmpl %eax, %edx
jne 0xe19f
movq 0xf8(%rsp), %rdi
movq %r12, %rsi
callq 0x11790
addq $0x8, %rbx
jmp 0xe0f7
incq %r14
jmp 0xe0e2
movq 0xc0(%rsp), %r14
movzwl 0x8(%r14), %eax
movq 0x90(%rsp), %rsi
incl %esi
jmp 0xe08c
movq 0x38(%rsp), %rax
movslq (%rax), %rbx
imulq $0x14, %rbx, %rdi
addq 0x35e09(%rip), %rdi     # 0x43fe8
callq 0x2b6a1
movq %rax, %r14
movq 0x38(%rsp), %rax
leaq 0x20(%rax), %rdi
movq %rdi, 0x90(%rsp)
xorl %esi, %esi
callq 0x11a3c
imulq $0xc, %rbx, %rbx
addq 0x35d6e(%rip), %rbx     # 0x43f78
xorl %edx, %edx
leaq 0x101f1fd(%rip), %r15   # 0x102d410
movq 0x38(%rsp), %rcx
movq 0x8(%rcx), %rax
movq 0x10(%rcx), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rdx
jge 0xe436
movq %rdx, 0xc0(%rsp)
movslq (%rax,%rdx,4), %rax
imulq $0x14, %rax, %r13
addq %rbp, %r13
movq %r13, %rdi
callq 0x2b6a1
movss (%r14), %xmm0
movss 0x4(%r14), %xmm1
mulss 0x4(%rax), %xmm1
mulss (%rax), %xmm0
addss %xmm1, %xmm0
movss 0x8(%r14), %xmm1
mulss 0x8(%rax), %xmm1
addss %xmm0, %xmm1
cvtss2sd %xmm1, %xmm0
movsd 0x2738f(%rip), %xmm1    # 0x35610
ucomisd %xmm0, %xmm1
jae 0xe426
xorl %r12d, %r12d
movswl 0x8(%r13), %eax
cmpl %eax, %r12d
jge 0xe426
movslq 0x4(%r13), %rax
addq %r12, %rax
leaq 0x1e39186(%rip), %rcx   # 0x1e47430
movl (%rcx,%rax,4), %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
imulq $0xb0, %rax, %rcx
leaq 0x213a65e(%rip), %rdx   # 0x2148920
cmpb $0x0, 0x39(%rdx,%rcx)
jne 0xe41e
leaq 0x1d1f13c(%rip), %rdx   # 0x1d2d410
movzwl (%rdx,%rax,4), %ecx
imulq $0xc, %rcx, %rcx
movsd 0x4(%r15,%rcx), %xmm0
movzwl 0x2(%rdx,%rax,4), %eax
imulq $0xc, %rax, %rax
movss (%rbx), %xmm2
movss (%r15,%rcx), %xmm1
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movss (%r15,%rax), %xmm3
shufps $0xd4, %xmm0, %xmm3     # xmm3 = xmm3[0,1],xmm0[1,3]
shufps $0x24, %xmm3, %xmm1     # xmm1 = xmm1[0,1],xmm3[2,0]
movsd 0x4(%rbx), %xmm3
shufps $0x40, %xmm3, %xmm2     # xmm2 = xmm2[0,0],xmm3[0,1]
shufps $0x78, %xmm2, %xmm2     # xmm2 = xmm2[0,2,3,1]
addps %xmm1, %xmm2
movaps %xmm2, 0x60(%rsp)
movsd 0x4(%r15,%rax), %xmm0
addps %xmm3, %xmm0
movlps %xmm0, 0x70(%rsp)
movaps %xmm0, %xmm1
shufps $0xf4, %xmm2, %xmm0     # xmm0 = xmm0[0,1],xmm2[3,3]
shufps $0xe2, %xmm2, %xmm0     # xmm0 = xmm0[2,0],xmm2[2,3]
subps %xmm2, %xmm0
movhlps %xmm2, %xmm2            # xmm2 = xmm2[1,1]
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
subss %xmm2, %xmm1
movss 0x8(%r14), %xmm2
movsd (%r14), %xmm3
movaps %xmm0, %xmm4
mulps %xmm3, %xmm4
shufps $0x55, %xmm4, %xmm4     # xmm4 = xmm4[1,1,1,1]
movaps %xmm0, %xmm5
mulss %xmm3, %xmm5
addss %xmm4, %xmm5
movaps %xmm1, %xmm4
mulss %xmm2, %xmm4
addss %xmm5, %xmm4
movaps %xmm4, %xmm5
unpcklps %xmm4, %xmm5            # xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
mulps %xmm3, %xmm5
subps %xmm5, %xmm0
movlps %xmm0, 0x78(%rsp)
mulss %xmm2, %xmm4
subss %xmm4, %xmm1
movss %xmm1, 0x80(%rsp)
leaq 0x78(%rsp), %rdi
callq 0xc021
ucomiss 0x23cce(%rip), %xmm0    # 0x32070
jne 0xe3a6
jnp 0xe41e
movss 0x4(%r14), %xmm0
movss 0x8(%r14), %xmm1
movss 0x80(%rsp), %xmm2
movaps %xmm0, %xmm3
mulss %xmm2, %xmm3
movsd 0x78(%rsp), %xmm4
movaps %xmm4, %xmm5
shufps $0x55, %xmm4, %xmm5     # xmm5 = xmm5[1,1],xmm4[1,1]
mulss %xmm1, %xmm5
subss %xmm3, %xmm5
movss %xmm5, 0x84(%rsp)
movss (%r14), %xmm3
unpcklps %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
mulps %xmm4, %xmm1
unpcklps %xmm4, %xmm2            # xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
unpcklps %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
mulps %xmm2, %xmm3
subps %xmm1, %xmm3
movlps %xmm3, 0x88(%rsp)
leaq 0x84(%rsp), %rdi
callq 0xc021
movq 0x90(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x11a74
incq %r12
jmp 0xe28e
movq 0xc0(%rsp), %rdx
incq %rdx
jmp 0xe213
movq 0x38(%rsp), %rax
leaq 0x38(%rax), %rdi
movq %rdi, 0x140(%rsp)
xorl %esi, %esi
callq 0x116ae
movq 0xf0(%rsp), %rax
shlq $0x3, %rax
addq 0x35b4f(%rip), %rax     # 0x43fb0
movq %rax, 0xf0(%rsp)
movq 0xf0(%rsp), %rax
movq (%rax), %rax
testq %rax, %rax
je 0x10138
leaq 0x53a656c(%rip), %rcx   # 0x53b49f0
movq (%rcx), %rbx
movq %rax, 0xf0(%rsp)
subq %rbx, %rax
cqto
movl $0x138, %ecx            # imm = 0x138
idivq %rcx
movq %rax, %r14
movq 0x38(%rsp), %rax
movslq (%rax), %r15
movl $0xa0, %edi
callq 0x42e0
movq %rax, %rbp
movq %rax, %rdi
callq 0x11d9c
movl %r15d, %edi
callq 0x2b600
movl 0x10(%rax), %ecx
movl %ecx, 0x10(%rbp)
movslq %r14d, %rcx
movups (%rax), %xmm0
movups %xmm0, (%rbp)
imulq $0xc, %r15, %rax
leaq 0x5426521(%rip), %rdx   # 0x5434a00
movss (%rdx,%rax), %xmm0
movss 0x4(%rdx,%rax), %xmm1
mulss 0x4(%rbp), %xmm1
mulss (%rbp), %xmm0
addss %xmm1, %xmm0
movss 0x8(%rdx,%rax), %xmm1
mulss 0x8(%rbp), %xmm1
imulq $0x138, %rcx, %rax      # imm = 0x138
addss %xmm0, %xmm1
addss 0xc(%rbp), %xmm1
addq %rax, %rbx
movss %xmm1, 0xc(%rbp)
movq 0x28(%rbx), %rsi
leaq 0x18(%rbp), %r12
movq %r12, %rdi
callq 0xaa22
cvtss2sd 0x8(%rbx), %xmm2
leaq 0x38(%rbp), %r15
movss 0x8(%rbp), %xmm0
movsd (%rbp), %xmm1
cvtss2sd %xmm1, %xmm3
movsd 0x2706e(%rip), %xmm7    # 0x355b8
mulsd %xmm7, %xmm3
addsd %xmm2, %xmm3
cvtsd2ss %xmm3, %xmm2
cvtss2sd %xmm0, %xmm3
movss %xmm2, 0x38(%rbp)
cvtss2sd 0xc(%rbx), %xmm4
movaps %xmm1, %xmm5
shufps $0x55, %xmm1, %xmm5     # xmm5 = xmm5[1,1],xmm1[1,1]
cvtss2sd %xmm5, %xmm6
mulsd %xmm7, %xmm6
addsd %xmm4, %xmm6
cvtsd2ss %xmm6, %xmm4
movss %xmm4, 0x3c(%rbp)
cvtss2sd 0x10(%rbx), %xmm6
mulsd %xmm7, %xmm3
addsd %xmm6, %xmm3
cvtsd2ss %xmm3, %xmm3
mulss %xmm4, %xmm5
movaps %xmm2, %xmm6
mulss %xmm1, %xmm6
addss %xmm5, %xmm6
movaps %xmm3, %xmm5
mulss %xmm0, %xmm5
addss %xmm6, %xmm5
subss 0xc(%rbp), %xmm5
movaps %xmm5, %xmm6
unpcklps %xmm5, %xmm6            # xmm6 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
unpcklps %xmm4, %xmm2            # xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
mulps %xmm1, %xmm6
subps %xmm6, %xmm2
movlps %xmm2, 0x38(%rbp)
mulss %xmm0, %xmm5
subss %xmm5, %xmm3
movss %xmm3, 0x40(%rbp)
movq %r12, %rdi
movq %rbp, %rsi
movq %r15, %rdx
movss 0x27047(%rip), %xmm0    # 0x35628
callq 0x21939
testb %al, %al
jne 0xe608
movq %r12, %rdi
movq %rbp, %rsi
movq %r15, %rdx
movss 0x2702d(%rip), %xmm0    # 0x35628
movss 0x27029(%rip), %xmm1    # 0x3562c
callq 0x21e42
movsd (%rbp), %xmm0
movsd %xmm0, 0x44(%rbp)
movss 0x8(%rbp), %xmm0
movss %xmm0, 0x4c(%rbp)
movl %r14d, 0x50(%rbp)
leaq 0x58(%rbp), %rdi
movq 0xf8(%rsp), %rsi
callq 0x11dca
andq $0x0, 0x10(%rsp)
leaq 0x44(%rbp), %r15
andq $0x0, 0x30(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movaps %xmm0, 0x20(%rsp)
cmpl $0x0, 0x36d5c(%rip)     # 0x453b0
je 0xecc8
movq %rsp, %rdi
xorl %esi, %esi
callq 0x11ec6
xorl %ebx, %ebx
movq 0x58(%rbp), %rax
movq 0x60(%rbp), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jge 0xeb53
movl (%rax,%rbx,4), %r14d
movl %r14d, %edi
callq 0x2b600
movq %rax, %r13
movq %rbx, 0x100(%rsp)
movslq %r14d, %rbx
shlq $0x3, %rbx
addq 0x3590a(%rip), %rbx     # 0x43fb0
movq (%rbx), %rbx
testq %rbx, %rbx
je 0xeb43
movq %rbx, %rax
leaq 0x53a6334(%rip), %rcx   # 0x53b49f0
subq (%rcx), %rax
cqto
movl $0x138, %ecx            # imm = 0x138
idivq %rcx
movl %eax, 0x64(%rsp)
cvtps2pd 0x8(%rbx), %xmm0
cvtps2pd (%r13), %xmm1
mulpd 0x26f92(%rip), %xmm1    # 0x35670
addpd %xmm0, %xmm1
cvtpd2ps %xmm1, %xmm0
movlpd %xmm0, 0x40(%rsp)
cvtss2sd 0x10(%rbx), %xmm0
cvtss2sd 0x8(%r13), %xmm1
mulsd 0x26eb9(%rip), %xmm1    # 0x355b8
addsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm0
movss %xmm0, 0x48(%rsp)
cmpl %eax, 0x50(%rbp)
je 0xe6a6
xorps %xmm0, %xmm0
movq %r12, %rdi
movq %rbp, %rsi
leaq 0x40(%rsp), %rdx
callq 0x217e8
testb %al, %al
jne 0xe6a6
movq 0x38(%rsp), %rax
cmpl (%rax), %r14d
je 0xe9d1
movq 0x38(%rsp), %rax
movq 0x20(%rax), %rcx
movq 0x28(%rax), %rax
subq %rcx, %rax
cqto
pushq $0x30
popq %rsi
idivq %rsi
testl %eax, %eax
movl %eax, %edx
movl $0x0, %esi
cmovlel %esi, %edx
movss 0x40(%rsp), %xmm0
movaps %xmm0, 0x90(%rsp)
movss 0x44(%rsp), %xmm0
movaps %xmm0, 0xc0(%rsp)
movss 0x48(%rsp), %xmm2
addq $0x2c, %rcx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0xe9c6
movss -0x14(%rcx), %xmm5
movss -0x2c(%rcx), %xmm1
movss -0x28(%rcx), %xmm6
movss -0x10(%rcx), %xmm8
movss -0x24(%rcx), %xmm3
movss -0xc(%rcx), %xmm7
movss -0x1c(%rcx), %xmm13
mulss %xmm8, %xmm13
movss 0x38(%rbp), %xmm12
movss 0x3c(%rbp), %xmm14
movss -0x8(%rcx), %xmm10
movss -0x4(%rcx), %xmm0
movss (%rcx), %xmm9
movaps %xmm6, %xmm11
mulss %xmm0, %xmm11
movaps %xmm1, %xmm4
mulss %xmm10, %xmm4
addss %xmm11, %xmm4
movaps %xmm3, %xmm15
mulss %xmm9, %xmm15
addss %xmm4, %xmm15
movaps %xmm14, %xmm4
movaps 0xc0(%rsp), %xmm11
movlhps %xmm11, %xmm4           # xmm4 = xmm4[0],xmm11[0]
shufps $0xe2, %xmm11, %xmm4    # xmm4 = xmm4[2,0],xmm11[2,3]
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
mulps %xmm4, %xmm0
movaps %xmm12, %xmm4
movaps 0x90(%rsp), %xmm11
movlhps %xmm11, %xmm4           # xmm4 = xmm4[0],xmm11[0]
shufps $0xe2, %xmm11, %xmm4    # xmm4 = xmm4[2,0],xmm11[2,3]
shufps $0x0, %xmm10, %xmm10    # xmm10 = xmm10[0,0,0,0]
mulps %xmm4, %xmm10
movss 0x40(%rbp), %xmm11
addps %xmm0, %xmm10
movaps %xmm11, %xmm0
movlhps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0]
shufps $0xe2, %xmm2, %xmm0     # xmm0 = xmm0[2,0],xmm2[2,3]
shufps $0x0, %xmm9, %xmm9      # xmm9 = xmm9[0,0,0,0]
mulps %xmm0, %xmm9
movss -0x20(%rcx), %xmm0
mulss %xmm5, %xmm0
addps %xmm10, %xmm9
shufps $0x0, %xmm15, %xmm15    # xmm15 = xmm15[0,0,0,0]
subps %xmm15, %xmm9
cvtps2pd %xmm9, %xmm15
movapd %xmm15, %xmm4
unpckhpd %xmm15, %xmm4           # xmm4 = xmm4[1],xmm15[1]
ucomisd 0x26d28(%rip), %xmm4    # 0x355a8
movss -0x18(%rcx), %xmm10
mulss %xmm7, %xmm10
jbe 0xe89c
ucomisd 0x26d12(%rip), %xmm15   # 0x355a8
ja 0xe9b7
cmpltpd 0x26dda(%rip), %xmm15   # 0x35680
movmskpd %xmm15, %edi
cmpl $0x3, %edi
je 0xe9b7
addss %xmm13, %xmm0
addss %xmm0, %xmm10
mulss %xmm8, %xmm14
mulss %xmm5, %xmm12
addss %xmm14, %xmm12
mulss %xmm7, %xmm11
addss %xmm12, %xmm11
movaps 0xc0(%rsp), %xmm0
mulss %xmm8, %xmm0
movaps 0x90(%rsp), %xmm4
mulss %xmm5, %xmm4
addss %xmm0, %xmm4
movaps %xmm2, %xmm12
mulss %xmm7, %xmm12
addss %xmm4, %xmm12
movaps %xmm9, %xmm0
shufps $0x55, %xmm9, %xmm0     # xmm0 = xmm0[1,1],xmm9[1,1]
movaps %xmm0, %xmm4
movaps 0x2698a(%rip), %xmm13   # 0x352a0
andps %xmm13, %xmm4
cvtss2sd %xmm4, %xmm4
movsd 0x26c61(%rip), %xmm14   # 0x35588
ucomisd %xmm4, %xmm14
jb 0xe95a
movaps %xmm9, %xmm4
andps %xmm13, %xmm4
cvtss2sd %xmm4, %xmm4
ucomisd %xmm4, %xmm14
jb 0xe95a
movaps %xmm11, %xmm0
maxss %xmm12, %xmm0
minss %xmm0, %xmm10
minss %xmm12, %xmm11
movaps %xmm11, %xmm12
jmp 0xe989
movaps %xmm0, %xmm4
subss %xmm9, %xmm4
divss %xmm4, %xmm0
minss 0x236f6(%rip), %xmm0    # 0x32064
xorps %xmm4, %xmm4
maxss %xmm0, %xmm4
subss %xmm11, %xmm12
mulss %xmm4, %xmm12
addss %xmm11, %xmm12
minss %xmm12, %xmm10
mulss %xmm8, %xmm6
mulss %xmm5, %xmm1
addss %xmm6, %xmm1
mulss %xmm7, %xmm3
addss %xmm1, %xmm3
maxss %xmm12, %xmm3
subss %xmm3, %xmm10
cvtss2sd %xmm10, %xmm0
ucomisd 0x26be3(%rip), %xmm0    # 0x35598
jae 0xe9c3
incq %rsi
addq $0x30, %rcx
jmp 0xe787
movq %rsi, %rdx
cltq
cmpq %rax, %rdx
jl 0xe6a6
movq 0x28(%rbx), %rax
movl 0x20(%rbp), %ecx
imulq $0xc, %rcx, %rcx
xorps %xmm0, %xmm0
xorl %edx, %edx
cmpq %rdx, %rcx
je 0xea35
movq 0x28(%rbp), %rsi
movss 0x8(%rsi,%rdx), %xmm1
subss 0x40(%rbp), %xmm1
movsd (%rsi,%rdx), %xmm2
movsd 0x38(%rbp), %xmm3
subps %xmm3, %xmm2
mulps %xmm2, %xmm2
cvtps2pd %xmm2, %xmm2
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
addsd %xmm2, %xmm3
mulss %xmm1, %xmm1
cvtss2sd %xmm1, %xmm1
addsd %xmm3, %xmm1
sqrtsd %xmm1, %xmm1
cvtsd2ss %xmm1, %xmm1
maxss %xmm0, %xmm1
addq $0xc, %rdx
movaps %xmm1, %xmm0
jmp 0xe9e1
movl 0x8(%rax), %ecx
movq 0x10(%rax), %rax
movsd 0x40(%rsp), %xmm3
movss 0x48(%rsp), %xmm2
imulq $0xc, %rcx, %rcx
xorps %xmm1, %xmm1
xorl %edx, %edx
cmpq %rdx, %rcx
je 0xea9b
movss 0x8(%rax,%rdx), %xmm4
subss %xmm2, %xmm4
movsd (%rax,%rdx), %xmm5
subps %xmm3, %xmm5
mulps %xmm5, %xmm5
cvtps2pd %xmm5, %xmm5
movapd %xmm5, %xmm6
unpckhpd %xmm5, %xmm6            # xmm6 = xmm6[1],xmm5[1]
addsd %xmm5, %xmm6
mulss %xmm4, %xmm4
cvtss2sd %xmm4, %xmm4
addsd %xmm6, %xmm4
sqrtsd %xmm4, %xmm4
cvtsd2ss %xmm4, %xmm4
maxss %xmm1, %xmm4
addq $0xc, %rdx
movaps %xmm4, %xmm1
jmp 0xea51
subss 0x40(%rbp), %xmm2
movsd 0x38(%rbp), %xmm4
subps %xmm4, %xmm3
mulps %xmm3, %xmm3
cvtps2pd %xmm3, %xmm3
movapd %xmm3, %xmm4
unpckhpd %xmm3, %xmm4            # xmm4 = xmm4[1],xmm3[1]
addsd %xmm3, %xmm4
mulss %xmm2, %xmm2
cvtss2sd %xmm2, %xmm2
addsd %xmm4, %xmm2
sqrtsd %xmm2, %xmm2
cvtsd2ss %xmm2, %xmm2
cvtss2sd %xmm2, %xmm2
addss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0x26ade(%rip), %xmm0    # 0x355c0
ucomisd %xmm0, %xmm2
ja 0xe6a6
movq %rbp, %rdi
leaq 0x40(%rsp), %rsi
movl %r14d, %edx
leaq 0x68(%rsp), %rcx
callq 0xd1ce
testb %al, %al
je 0xe6a6
leaq 0x68(%rsp), %rdi
movq %r15, %rsi
leaq 0x74(%rsp), %rdx
callq 0x1044e
cvtss2sd %xmm0, %xmm0
movsd 0x26a61(%rip), %xmm1    # 0x35588
ucomisd %xmm0, %xmm1
jae 0xe6a6
movq %rsp, %rdi
leaq 0x60(%rsp), %rsi
callq 0x11efe
jmp 0xe6a6
movq 0x100(%rsp), %rbx
incq %rbx
jmp 0xe666
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
movslq %eax, %rsi
leaq 0x20(%rsp), %rdi
callq 0x11f2c
pushq $0x14
popq %rbx
xorl %r14d, %r14d
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
cltq
cmpq %rax, %r14
jge 0xec32
leaq 0x14(%rsi), %rdi
addq %rbx, %rsi
movq %r15, %rdx
callq 0x104b7
testq %r14, %r14
je 0xebaf
movaps %xmm0, %xmm3
jmp 0xebe9
leaq 0x54e7e9b(%rip), %rax   # 0x54f6a51
cmpb $0x1, (%rax)
jne 0xebe6
andps 0x266de(%rip), %xmm0    # 0x352a0
cvtss2sd %xmm0, %xmm0
ucomisd 0x234b2(%rip), %xmm0    # 0x32080
jbe 0xebe6
pushq $0x5
popq %rdi
leaq 0x26d87(%rip), %rsi     # 0x35961
xorl %eax, %eax
callq 0x9045
xorps %xmm3, %xmm3
jmp 0xebe9
xorps %xmm3, %xmm3
cvtss2sd %xmm3, %xmm0
addsd 0x269ab(%rip), %xmm0    # 0x355a0
cvtsd2ss %xmm0, %xmm0
movaps %xmm3, %xmm1
cmpltss 0x2346b(%rip), %xmm1    # 0x32070
movaps %xmm1, %xmm2
andnps %xmm3, %xmm2
andps %xmm0, %xmm1
orps %xmm2, %xmm1
movq 0x20(%rsp), %rax
movss %xmm1, (%rax,%r14,8)
movq 0x20(%rsp), %rax
movl %r14d, 0x4(%rax,%r14,8)
incq %r14
addq $0x2c, %rbx
jmp 0xeb77
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x123ff
leaq 0x70(%rbp), %r14
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
movslq %eax, %rsi
movq %r14, %rdi
callq 0x11ec6
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
subq %rcx, %rax
cqto
pushq $0x2c
popq %rsi
idivq %rsi
testl %eax, %eax
movl $0x0, %edx
cmovlel %edx, %eax
movq 0x20(%rsp), %rdx
addq $0x4, %rdx
imulq $0x2c, %rax, %rax
xorl %esi, %esi
cmpq %rsi, %rax
je 0xecd3
movslq (%rdx), %rdi
imulq $0x2c, %rdi, %rdi
movq (%r14), %r8
movups (%rcx,%rdi), %xmm0
movupd 0x10(%rcx,%rdi), %xmm1
movups 0x1c(%rcx,%rdi), %xmm2
movups %xmm2, 0x1c(%r8,%rsi)
movupd %xmm1, 0x10(%r8,%rsi)
movups %xmm0, (%r8,%rsi)
addq $0x2c, %rsi
addq $0x8, %rdx
jmp 0xec8e
leaq 0x70(%rbp), %rdi
xorl %esi, %esi
callq 0x11ec6
leaq 0x20(%rsp), %rdi
callq 0x129f6
movq %rsp, %rdi
callq 0x12a14
xorps %xmm1, %xmm1
movaps %xmm1, (%rsp)
andq $0x0, 0x10(%rsp)
movaps %xmm1, 0x20(%rsp)
andq $0x0, 0x30(%rsp)
movaps %xmm1, 0x40(%rsp)
andq $0x0, 0x50(%rsp)
movaps %xmm1, 0xd0(%rsp)
andq $0x0, 0xe0(%rsp)
leaq 0x70(%rbp), %r12
movupd 0x70(%rbp), %xmm0
movapd %xmm0, 0x60(%rsp)
movq 0x80(%rbp), %rax
movq %rax, 0x70(%rsp)
movups %xmm1, 0x70(%rbp)
andq $0x0, 0x80(%rbp)
movq %r12, %rdi
xorl %esi, %esi
callq 0x11ec6
pushq $0x2c
popq %rbx
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cqto
idivq %rbx
movslq %eax, %rsi
movq %rsp, %rdi
callq 0x1175e
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cqto
idivq %rbx
movslq %eax, %rsi
leaq 0x20(%rsp), %rdi
callq 0x1175e
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cqto
idivq %rbx
movslq %eax, %rsi
leaq 0x40(%rsp), %rdi
callq 0x1175e
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cqto
idivq %rbx
movslq %eax, %rsi
leaq 0xd0(%rsp), %rdi
callq 0x11f2c
pushq $0x7
popq %rdi
xorl %r8d, %r8d
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cqto
idivq %rbx
movq %rax, %rsi
movslq %esi, %rax
cmpq %rax, %r8
jge 0xee7d
leaq 0x1(%r8), %rcx
movl %ecx, %eax
cltd
idivl %esi
movq (%rsp), %rax
movl %edx, (%rax,%r8,4)
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cqto
idivq %rbx
movq %rax, %rsi
addl %r8d, %eax
decl %eax
cltd
idivl %esi
movq 0x20(%rsp), %rax
movl %edx, (%rax,%r8,4)
movq 0x40(%rsp), %rax
movl $0x1, (%rax,%r8,4)
movq 0x60(%rsp), %rax
movss -0x14(%rax,%rdi,4), %xmm0
movss -0x10(%rax,%rdi,4), %xmm1
mulss -0x4(%rax,%rdi,4), %xmm1
mulss -0x8(%rax,%rdi,4), %xmm0
addss %xmm1, %xmm0
movss -0xc(%rax,%rdi,4), %xmm1
mulss (%rax,%rdi,4), %xmm1
addss %xmm0, %xmm1
movq 0xd0(%rsp), %rax
movss %xmm1, (%rax,%r8,8)
movq 0xd0(%rsp), %rax
leal -0x1(%rcx), %edx
movl %edx, 0x4(%rax,%r8,8)
addq $0xb, %rdi
movq %rcx, %r8
jmp 0xedc4
movq 0xd0(%rsp), %rdi
movq 0xd8(%rsp), %rsi
callq 0x123ff
xorl %ebx, %ebx
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rcx
movq %rcx, %rax
subq %rsi, %rax
cqto
pushq $0x2c
popq %rdi
idivq %rdi
cltq
cmpq %rax, %rbx
jge 0xf40a
movq 0xd0(%rsp), %rax
movl 0x4(%rax,%rbx,8), %eax
movslq %eax, %r14
movq 0x40(%rsp), %rax
cmpl $0x0, (%rax,%r14,4)
je 0xf402
movl $0x2, (%rax,%r14,4)
movq 0x60(%rsp), %rax
imulq $0x2c, %r14, %r13
movss 0x48(%rbp), %xmm0
movss 0x4c(%rbp), %xmm1
movss 0x1c(%rax,%r13), %xmm2
mulss %xmm0, %xmm2
movss 0x18(%rax,%r13), %xmm3
mulss %xmm1, %xmm3
subss %xmm2, %xmm3
movss %xmm3, 0xa0(%rsp)
movss 0x44(%rbp), %xmm2
mulss 0x14(%rax,%r13), %xmm1
movss 0x1c(%rax,%r13), %xmm3
mulss %xmm2, %xmm3
subss %xmm1, %xmm3
movss %xmm3, 0xa4(%rsp)
mulss 0x18(%rax,%r13), %xmm2
mulss 0x14(%rax,%r13), %xmm0
subss %xmm2, %xmm0
movss %xmm0, 0xa8(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0xc021
cvtss2sd 0xa0(%rsp), %xmm0
movsd 0x2667f(%rip), %xmm3    # 0x355f0
mulsd %xmm3, %xmm0
cvtsd2ss %xmm0, %xmm0
cvtss2sd 0xa4(%rsp), %xmm1
mulsd %xmm3, %xmm1
cvtsd2ss %xmm1, %xmm1
cvtss2sd 0xa8(%rsp), %xmm2
mulsd %xmm3, %xmm2
cvtsd2ss %xmm2, %xmm2
cvtss2sd %xmm0, %xmm0
movq 0x60(%rsp), %rax
cvtss2sd 0x14(%rax,%r13), %xmm3
movsd 0x26645(%rip), %xmm4    # 0x355f8
mulsd %xmm4, %xmm3
addsd %xmm0, %xmm3
cvtsd2ss %xmm3, %xmm0
movss %xmm0, 0x90(%rsp)
cvtss2sd %xmm1, %xmm0
cvtss2sd 0x18(%rax,%r13), %xmm1
mulsd %xmm4, %xmm1
addsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm0
movss %xmm0, 0xc0(%rsp)
cvtss2sd %xmm2, %xmm0
cvtss2sd 0x1c(%rax,%r13), %xmm1
mulsd %xmm4, %xmm1
addsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm0
movss %xmm0, 0x100(%rsp)
movq (%rsp), %rax
movslq (%rax,%r14,4), %rcx
cmpl %r14d, %ecx
je 0xf170
movq 0x40(%rsp), %rax
cmpl $0x2, (%rax,%rcx,4)
movq 0x60(%rsp), %rax
je 0xf175
leaq (%rax,%r13), %rdi
addq $0x14, %rdi
imulq $0x2c, %rcx, %rcx
leaq (%rax,%rcx), %rsi
addq $0x14, %rsi
movq %r15, %rdx
callq 0x104b7
movaps %xmm0, %xmm1
andps 0x2624d(%rip), %xmm1    # 0x352a0
cvtss2sd %xmm1, %xmm1
movsd 0x265a1(%rip), %xmm2    # 0x35600
ucomisd %xmm1, %xmm2
jae 0xf13a
cvtss2sd %xmm0, %xmm1
addsd 0x2652b(%rip), %xmm1    # 0x355a0
cvtsd2ss %xmm1, %xmm1
movaps %xmm0, %xmm2
cmpltss 0x22feb(%rip), %xmm2    # 0x32070
movaps %xmm2, %xmm3
andnps %xmm0, %xmm3
andps %xmm1, %xmm2
orps %xmm3, %xmm2
cvtss2sd %xmm2, %xmm0
movsd 0x2653b(%rip), %xmm1    # 0x355d8
ucomisd %xmm0, %xmm1
movq 0x60(%rsp), %rax
jb 0xf175
movq (%rsp), %rcx
movslq (%rcx,%r14,4), %rcx
imulq $0x2c, %rcx, %rdx
movss 0xc(%rax,%rdx), %xmm0
movss 0xc0(%rsp), %xmm2
mulss %xmm2, %xmm0
movss 0x8(%rax,%rdx), %xmm1
movss 0x90(%rsp), %xmm3
mulss %xmm3, %xmm1
addss %xmm0, %xmm1
movss 0x10(%rax,%rdx), %xmm0
movss 0x100(%rsp), %xmm4
mulss %xmm4, %xmm0
addss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movss 0xc(%rax,%r13), %xmm1
mulss %xmm2, %xmm1
movss 0x8(%rax,%r13), %xmm2
mulss %xmm3, %xmm2
addss %xmm1, %xmm2
movss 0x10(%rax,%r13), %xmm1
mulss %xmm4, %xmm1
addss %xmm2, %xmm1
cvtss2sd %xmm1, %xmm1
addsd 0x264d6(%rip), %xmm1    # 0x35608
ucomisd %xmm1, %xmm0
jae 0xf142
jmp 0xf175
movq (%rsp), %rax
movslq (%rax,%r14,4), %rcx
movq 0x40(%rsp), %rax
andl $0x0, (%rax,%rcx,4)
movq (%rsp), %rax
movslq (%rax,%r14,4), %rcx
movl (%rax,%rcx,4), %ecx
movl %ecx, (%rax,%r14,4)
movq (%rsp), %rax
movslq (%rax,%r14,4), %rax
movq 0x20(%rsp), %rcx
movl %r14d, (%rcx,%rax,4)
jmp 0xf008
movq 0x60(%rsp), %rax
movss 0x48(%rbp), %xmm0
movss 0x4c(%rbp), %xmm1
movss 0x18(%rax,%r13), %xmm2
mulss %xmm1, %xmm2
movss 0x1c(%rax,%r13), %xmm3
mulss %xmm0, %xmm3
subss %xmm2, %xmm3
movss %xmm3, 0xa0(%rsp)
movss 0x44(%rbp), %xmm2
movss 0x1c(%rax,%r13), %xmm3
mulss %xmm2, %xmm3
mulss 0x14(%rax,%r13), %xmm1
subss %xmm3, %xmm1
movss %xmm1, 0xa4(%rsp)
mulss 0x14(%rax,%r13), %xmm0
mulss 0x18(%rax,%r13), %xmm2
subss %xmm0, %xmm2
movss %xmm2, 0xa8(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0xc021
cvtss2sd 0xa0(%rsp), %xmm0
movsd 0x263f1(%rip), %xmm3    # 0x355f0
mulsd %xmm3, %xmm0
cvtsd2ss %xmm0, %xmm0
cvtss2sd 0xa4(%rsp), %xmm1
mulsd %xmm3, %xmm1
cvtsd2ss %xmm1, %xmm1
cvtss2sd 0xa8(%rsp), %xmm2
mulsd %xmm3, %xmm2
cvtsd2ss %xmm2, %xmm2
cvtss2sd %xmm0, %xmm0
movq 0x60(%rsp), %rax
cvtss2sd 0x14(%rax,%r13), %xmm3
movsd 0x263b7(%rip), %xmm4    # 0x355f8
mulsd %xmm4, %xmm3
addsd %xmm0, %xmm3
cvtsd2ss %xmm3, %xmm0
movss %xmm0, 0x90(%rsp)
cvtss2sd %xmm1, %xmm0
cvtss2sd 0x18(%rax,%r13), %xmm1
mulsd %xmm4, %xmm1
addsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm0
movss %xmm0, 0xc0(%rsp)
cvtss2sd %xmm2, %xmm0
cvtss2sd 0x1c(%rax,%r13), %xmm1
mulsd %xmm4, %xmm1
addsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm0
movss %xmm0, 0x100(%rsp)
movq 0x20(%rsp), %rax
movslq (%rax,%r14,4), %rax
cmpl %r14d, %eax
je 0xf402
movq 0x40(%rsp), %rcx
cmpl $0x2, (%rcx,%rax,4)
je 0xf402
movq 0x60(%rsp), %rcx
imulq $0x2c, %rax, %rax
leaq (%rcx,%rax), %rdi
addq $0x14, %rdi
leaq (%rcx,%r13), %rsi
addq $0x14, %rsi
movq %r15, %rdx
callq 0x104b7
movaps %xmm0, %xmm1
andps 0x25fbe(%rip), %xmm1    # 0x352a0
cvtss2sd %xmm1, %xmm1
movsd 0x26312(%rip), %xmm2    # 0x35600
ucomisd %xmm1, %xmm2
jae 0xf3ca
cvtss2sd %xmm0, %xmm1
addsd 0x2629c(%rip), %xmm1    # 0x355a0
cvtsd2ss %xmm1, %xmm1
movaps %xmm0, %xmm2
cmpltss 0x22d5c(%rip), %xmm2    # 0x32070
movaps %xmm2, %xmm3
andnps %xmm0, %xmm3
andps %xmm1, %xmm2
orps %xmm3, %xmm2
cvtss2sd %xmm2, %xmm0
movsd 0x262ac(%rip), %xmm1    # 0x355d8
ucomisd %xmm0, %xmm1
jb 0xf402
movq 0x20(%rsp), %rax
movslq (%rax,%r14,4), %rax
movq 0x60(%rsp), %rcx
imulq $0x2c, %rax, %rdx
movss 0xc(%rcx,%rdx), %xmm0
movss 0xc0(%rsp), %xmm2
mulss %xmm2, %xmm0
movss 0x8(%rcx,%rdx), %xmm1
movss 0x90(%rsp), %xmm3
mulss %xmm3, %xmm1
addss %xmm0, %xmm1
movss 0x10(%rcx,%rdx), %xmm0
movss 0x100(%rsp), %xmm4
mulss %xmm4, %xmm0
addss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movss 0xc(%rcx,%r13), %xmm1
mulss %xmm2, %xmm1
movss 0x8(%rcx,%r13), %xmm2
mulss %xmm3, %xmm2
addss %xmm1, %xmm2
movss 0x10(%rcx,%r13), %xmm1
mulss %xmm4, %xmm1
addss %xmm2, %xmm1
cvtss2sd %xmm1, %xmm1
addsd 0x26246(%rip), %xmm1    # 0x35608
ucomisd %xmm1, %xmm0
jae 0xf3d3
jmp 0xf402
movq 0x20(%rsp), %rax
movslq (%rax,%r14,4), %rax
movq 0x40(%rsp), %rcx
andl $0x0, (%rcx,%rax,4)
movq 0x20(%rsp), %rax
movslq (%rax,%r14,4), %rcx
movl (%rax,%rcx,4), %ecx
movl %ecx, (%rax,%r14,4)
movq 0x20(%rsp), %rax
movslq (%rax,%r14,4), %rax
movq (%rsp), %rcx
movl %r14d, (%rcx,%rax,4)
jmp 0xf296
incq %rbx
jmp 0xee94
xorl %ebx, %ebx
xorl %r14d, %r14d
movq %rcx, %rax
subq %rsi, %rax
cqto
pushq $0x2c
popq %rdi
idivq %rdi
cltq
cmpq %rax, %r14
jge 0xf44e
movq 0x40(%rsp), %rax
cmpl $0x2, (%rax,%r14,4)
jne 0xf445
addq %rbx, %rsi
movq %r12, %rdi
callq 0x11efe
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rcx
incq %r14
addq $0x2c, %rbx
jmp 0xf40f
leaq 0xd0(%rsp), %rdi
callq 0x129f6
leaq 0x40(%rsp), %rdi
callq 0x12a3a
leaq 0x20(%rsp), %rdi
callq 0x12a3a
movq %rsp, %rdi
callq 0x12a3a
leaq 0x60(%rsp), %rdi
callq 0x12a14
xorpd %xmm0, %xmm0
movss %xmm0, 0xc0(%rsp)
pushq $0x14
popq %rbx
xorl %r14d, %r14d
movq 0x70(%rbp), %r12
movq 0x78(%rbp), %rax
subq %r12, %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
movq %rax, %rsi
movslq %esi, %rax
cmpq %rax, %r14
jge 0xf761
leal 0x1(%r14), %eax
cltd
idivl %esi
imulq $0x2c, %rdx, %r13
leaq (%r12,%rbx), %rdi
leaq (%r12,%r13), %rsi
addq $0x14, %rsi
movq %r15, %rdx
callq 0x104b7
movapd %xmm0, 0x90(%rsp)
movq 0x70(%rbp), %rsi
movq 0x78(%rbp), %rcx
leaq 0x54e7564(%rip), %rax   # 0x54f6a51
cmpb $0x1, (%rax)
jne 0xf53f
movq %rcx, %rax
subq %rsi, %rax
cqto
pushq $0x2c
popq %rdi
idivq %rdi
cmpl $0x2, %eax
jl 0xf53f
movaps 0x90(%rsp), %xmm0
andps 0x25d8c(%rip), %xmm0    # 0x352a0
cvtss2sd %xmm0, %xmm0
movsd 0x260c0(%rip), %xmm1    # 0x355e0
ucomisd %xmm0, %xmm1
jb 0xf53f
pushq $0x5
popq %rdi
leaq 0x263b4(%rip), %rsi     # 0x358e4
xorl %eax, %eax
callq 0x9045
movq 0x70(%rbp), %rsi
movq 0x78(%rbp), %rcx
subq %rsi, %rcx
movaps 0x90(%rsp), %xmm3
cvtss2sd %xmm3, %xmm0
addsd 0x2604a(%rip), %xmm0    # 0x355a0
movq %rcx, %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
movss 0x260c7(%rip), %xmm2    # 0x35630
cmpl $0x1, %eax
je 0xf58a
cvtsd2ss %xmm0, %xmm0
movaps %xmm3, %xmm2
cmpltss 0x22af2(%rip), %xmm2    # 0x32070
movaps %xmm2, %xmm1
andnps %xmm3, %xmm1
andps %xmm0, %xmm2
orps %xmm1, %xmm2
addq %r12, %r13
movaps %xmm2, 0x90(%rsp)
cvtss2sd %xmm2, %xmm0
movsd 0x26037(%rip), %xmm1    # 0x355d8
ucomisd %xmm0, %xmm1
jae 0xf6cf
leaq (%r12,%rbx), %rdx
addq $0xc, %rdx
movl $0x2, -0x20(%rdx)
movss 0x1c(%r13), %xmm3
movss -0x4(%rdx), %xmm4
movss 0x44(%rbp), %xmm2
movsd 0x14(%r13), %xmm5
movsd -0xc(%rdx), %xmm0
movaps %xmm5, %xmm6
addps %xmm0, %xmm6
movaps %xmm5, %xmm1
subps %xmm0, %xmm1
shufps $0x0, %xmm5, %xmm5      # xmm5 = xmm5[0,0,0,0]
movss %xmm3, %xmm5            # xmm5 = xmm3[0],xmm5[1,2,3]
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movss %xmm4, %xmm0            # xmm0 = xmm4[0],xmm0[1,2,3]
addps %xmm5, %xmm0
movaps %xmm0, %xmm7
shufps $0xd4, %xmm6, %xmm7     # xmm7 = xmm7[0,1],xmm6[1,3]
shufps $0xe2, %xmm6, %xmm7     # xmm7 = xmm7[2,0],xmm6[2,3]
movaps %xmm6, %xmm5
shufps $0x55, %xmm6, %xmm5     # xmm5 = xmm5[1,1],xmm6[1,1]
movlps %xmm1, 0x130(%rsp)
subss %xmm4, %xmm3
movss %xmm3, 0x138(%rsp)
movsd 0x48(%rbp), %xmm4
mulss %xmm2, %xmm5
shufps $0xd4, %xmm4, %xmm2     # xmm2 = xmm2[0,1],xmm4[1,3]
shufps $0x52, %xmm4, %xmm2     # xmm2 = xmm2[2,0],xmm4[1,1]
mulps %xmm2, %xmm7
movaps %xmm4, %xmm2
mulps %xmm0, %xmm2
subps %xmm7, %xmm2
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
mulss %xmm4, %xmm0
subss %xmm0, %xmm5
addps %xmm1, %xmm2
movlps %xmm2, 0x158(%rsp)
addss %xmm3, %xmm5
movss %xmm5, 0x160(%rsp)
leaq 0x158(%rsp), %rdi
movq %r15, %rsi
callq 0x1044e
leaq 0x54e73de(%rip), %rax   # 0x54f6a51
cmpb $0x1, (%rax)
jne 0xf73a
movsd 0xc(%r12,%rbx), %xmm0
mulps %xmm0, %xmm0
cvtps2pd %xmm0, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movss 0x14(%r12,%rbx), %xmm0
mulss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
ucomisd 0x25f64(%rip), %xmm0    # 0x35618
jne 0xf73a
jp 0xf73a
pushq $0x5
popq %rdi
leaq 0x26247(%rip), %rsi     # 0x3590d
xorl %eax, %eax
callq 0x9045
jmp 0xf73a
movsd 0x25f11(%rip), %xmm1    # 0x355e8
ucomisd %xmm0, %xmm1
jbe 0xf6f1
andl $0x0, -0x14(%r12,%rbx)
andl $0x0, 0x14(%r12,%rbx)
andq $0x0, 0xc(%r12,%rbx)
jmp 0xf73a
leaq (%r12,%rbx), %rdx
addq $0xc, %rdx
movl $0x1, -0x20(%rdx)
movsd 0x8(%r13), %xmm0
movsd -0x18(%rdx), %xmm1
subps %xmm1, %xmm0
movlps %xmm0, 0x130(%rsp)
movss 0x10(%r13), %xmm0
subss -0x10(%rdx), %xmm0
movss %xmm0, 0x138(%rsp)
leaq 0x130(%rsp), %rdi
movq %r15, %rsi
callq 0x1044e
movss 0xc0(%rsp), %xmm0
addss 0x90(%rsp), %xmm0
movss %xmm0, 0xc0(%rsp)
addq $0x2c, %rbx
incq %r14
jmp 0xf494
testl %esi, %esi
jle 0xf7b8
leaq 0x54e72e5(%rip), %rax   # 0x54f6a51
cmpb $0x0, (%rax)
je 0xf7b8
cvtss2sd 0xc0(%rsp), %xmm0
addsd 0x25e46(%rip), %xmm0    # 0x355c8
andpd 0x25f06(%rip), %xmm0    # 0x35690
ucomisd 0x25e3e(%rip), %xmm0    # 0x355d0
jbe 0xf7b8
pushq $0x5
popq %rdi
leaq 0x26199(%rip), %rsi     # 0x35937
xorl %eax, %eax
callq 0x9045
movq 0x78(%rbp), %rax
subq 0x70(%rbp), %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
movq %rax, %rsi
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
andq $0x0, 0x70(%rsp)
cmpl $0x3, %esi
jge 0xfec3
leaq 0x60(%rsp), %rdi
callq 0x129f6
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
movapd %xmm0, 0x20(%rsp)
andq $0x0, 0x30(%rsp)
movapd %xmm0, 0x40(%rsp)
andq $0x0, 0x50(%rsp)
movapd %xmm0, 0xd0(%rsp)
andq $0x0, 0xe0(%rsp)
movapd %xmm0, 0xa0(%rsp)
andq $0x0, 0xb0(%rsp)
movapd %xmm0, 0x110(%rsp)
andq $0x0, 0x120(%rsp)
movl 0x20(%rbp), %esi
movq %rsp, %rdi
callq 0x12a58
movq %rsp, %rdi
xorl %esi, %esi
callq 0x12b04
pushq $0x8
popq %rbx
xorl %r14d, %r14d
movslq 0x20(%rbp), %rax
cmpq %rax, %r14
jge 0xf8fc
movq 0x28(%rbp), %rax
movss (%rax,%rbx), %xmm0
subss 0x40(%rbp), %xmm0
movss 0x4c(%rbp), %xmm1
movsd -0x8(%rax,%rbx), %xmm2
movsd 0x38(%rbp), %xmm3
subps %xmm3, %xmm2
movsd 0x44(%rbp), %xmm3
movaps %xmm2, %xmm4
mulps %xmm3, %xmm4
shufps $0x55, %xmm4, %xmm4     # xmm4 = xmm4[1,1,1,1]
movaps %xmm2, %xmm5
mulss %xmm3, %xmm5
addss %xmm4, %xmm5
movaps %xmm0, %xmm4
mulss %xmm1, %xmm4
addss %xmm5, %xmm4
movaps %xmm4, %xmm5
unpcklps %xmm4, %xmm5            # xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
mulps %xmm3, %xmm5
subps %xmm5, %xmm2
movlps %xmm2, 0x60(%rsp)
mulss %xmm1, %xmm4
subss %xmm4, %xmm0
movss %xmm0, 0x68(%rsp)
leaq 0x60(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
leaq 0x6c(%rsp), %rdx
callq 0x1044e
ucomiss 0x2278f(%rip), %xmm0    # 0x32070
jne 0xf8e5
jnp 0xf8f0
movq %rsp, %rdi
movq %r12, %rsi
callq 0x12b3c
incq %r14
addq $0xc, %rbx
jmp 0xf853
movq 0x78(%rbp), %rax
subq 0x70(%rbp), %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
testl %eax, %eax
je 0xffa8
movq %rbp, %r12
addq $0x88, %r12
movq %r12, %rdi
xorl %esi, %esi
callq 0x12b04
xorl %r14d, %r14d
movq 0x70(%rbp), %rbx
movq 0x78(%rbp), %rax
subq %rbx, %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
movq %rax, %rcx
movslq %ecx, %rax
cmpq %rax, %r14
jge 0x100d3
leaq 0x1(%r14), %rax
movq %rax, 0x148(%rsp)
cltd
idivl %ecx
movl %edx, %r13d
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
movslq %eax, %rsi
leaq 0x20(%rsp), %rdi
callq 0x11f2c
imulq $0x2c, %r14, %rcx
addq %rbx, %rcx
imulq $0x2c, %r13, %rax
addq %rbx, %rax
movq %rax, 0x90(%rsp)
movq %rcx, 0xc0(%rsp)
leaq 0x14(%rcx), %r13
pushq $0xc
popq %rbx
xorl %r14d, %r14d
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cltq
cmpq %rax, %r14
jge 0xfa14
addq %rbx, %rsi
movq %r13, %rdi
movq %r15, %rdx
callq 0x104b7
cvtss2sd %xmm0, %xmm1
addsd 0x25bc6(%rip), %xmm1    # 0x355a0
cvtsd2ss %xmm1, %xmm1
movaps %xmm0, %xmm2
cmpltss 0x22686(%rip), %xmm2    # 0x32070
movaps %xmm2, %xmm3
andnps %xmm0, %xmm3
andps %xmm1, %xmm2
orps %xmm3, %xmm2
movq 0x20(%rsp), %rax
movss %xmm2, (%rax,%r14,8)
movq 0x20(%rsp), %rax
movl %r14d, 0x4(%rax,%r14,8)
incq %r14
addq $0x18, %rbx
jmp 0xf9a5
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x123ff
movq 0x90(%rsp), %rbx
leaq 0x14(%rbx), %rsi
movq %r13, %rdi
movq %r15, %rdx
callq 0x104b7
movq 0x78(%rbp), %rax
subq 0x70(%rbp), %rax
cqto
pushq $0x2c
popq %rcx
idivq %rcx
movss 0x25bde(%rip), %xmm3    # 0x35630
cmpl $0x1, %eax
je 0xfa7f
cvtss2sd %xmm0, %xmm1
addsd 0x25b3d(%rip), %xmm1    # 0x355a0
cvtsd2ss %xmm1, %xmm1
movaps %xmm0, %xmm3
cmpltss 0x225fd(%rip), %xmm3    # 0x32070
movaps %xmm3, %xmm2
andnps %xmm0, %xmm2
andps %xmm1, %xmm3
orps %xmm2, %xmm3
movaps %xmm3, 0x100(%rsp)
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
shlq $0x20, %rax
movabsq $0x200000000, %rcx      # imm = 0x200000000
leaq (%rax,%rcx), %rsi
sarq $0x20, %rsi
leaq 0x40(%rsp), %rdi
callq 0x12b04
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
shlq $0x20, %rax
movabsq $0x200000000, %rcx      # imm = 0x200000000
leaq (%rax,%rcx), %rsi
sarq $0x20, %rsi
leaq 0xd0(%rsp), %rdi
callq 0x115d0
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
shlq $0x20, %rax
movabsq $0x200000000, %rcx      # imm = 0x200000000
leaq (%rax,%rcx), %rsi
sarq $0x20, %rsi
leaq 0xa0(%rsp), %rdi
callq 0x1175e
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
shlq $0x20, %rax
movabsq $0x200000000, %rcx      # imm = 0x200000000
leaq (%rax,%rcx), %rsi
sarq $0x20, %rsi
leaq 0x110(%rsp), %rdi
callq 0x1175e
movq 0xc0(%rsp), %rcx
movss 0x8(%rcx), %xmm0
movq 0x40(%rsp), %rax
movss %xmm0, (%rax)
movss 0xc(%rcx), %xmm0
movq 0x40(%rsp), %rax
movss %xmm0, 0x4(%rax)
movss 0x10(%rcx), %xmm0
movq 0x40(%rsp), %rax
movss %xmm0, 0x8(%rax)
movss 0x14(%rcx), %xmm0
movss %xmm0, 0xc(%rax)
movss 0x18(%rcx), %xmm0
movss %xmm0, 0x10(%rax)
movss 0x1c(%rcx), %xmm0
movss %xmm0, 0x14(%rax)
movq 0xd0(%rsp), %rax
andl $0x0, (%rax)
movq 0xa0(%rsp), %rax
movl $0x1, (%rax)
movq 0x110(%rsp), %rax
orl $-0x1, (%rax)
movaps 0x100(%rsp), %xmm2
cvtss2sd %xmm2, %xmm0
addsd 0x259d2(%rip), %xmm0    # 0x355b0
xorl %ecx, %ecx
pushq $0x1
popq %rsi
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
cqto
pushq $0x18
popq %r8
idivq %r8
movslq %eax, %rdx
movslq %esi, %rax
cmpq %rdx, %rcx
jge 0xfc7d
movq 0x20(%rsp), %rdx
cvtss2sd (%rdx,%rcx,8), %xmm1
ucomisd 0x2246b(%rip), %xmm1    # 0x32080
jb 0xfc75
ucomisd %xmm1, %xmm0
jb 0xfc75
movslq 0x4(%rdx,%rcx,8), %rdx
imulq $0x18, %rdx, %rdx
movq 0x40(%rsp), %rsi
imulq $0x18, %rax, %r8
movq 0x10(%rdi,%rdx), %r9
movq %r9, 0x10(%rsi,%r8)
movups (%rdi,%rdx), %xmm1
movups %xmm1, (%rsi,%r8)
movq 0x20(%rsp), %rdx
movss (%rdx,%rcx,8), %xmm1
movq 0xd0(%rsp), %rdx
movss %xmm1, (%rdx,%rax,4)
leal 0x1(%rax), %esi
movq 0xa0(%rsp), %rdx
movl %esi, (%rdx,%rax,4)
leal -0x1(%rax), %edx
movq 0x110(%rsp), %rdi
movl %edx, (%rdi,%rax,4)
incq %rcx
jmp 0xfbe3
movss 0x8(%rbx), %xmm0
movq 0x40(%rsp), %rcx
imulq $0x18, %rax, %rdx
movss %xmm0, (%rcx,%rdx)
movss 0xc(%rbx), %xmm0
movq 0x40(%rsp), %rcx
movss %xmm0, 0x4(%rcx,%rdx)
movss 0x10(%rbx), %xmm0
movq 0x40(%rsp), %rcx
movss %xmm0, 0x8(%rcx,%rdx)
movss 0x14(%rbx), %xmm0
movq 0x40(%rsp), %rcx
movss %xmm0, 0xc(%rcx,%rdx)
movss 0x18(%rbx), %xmm0
movq 0x40(%rsp), %rcx
movss %xmm0, 0x10(%rcx,%rdx)
movss 0x1c(%rbx), %xmm0
movq 0x40(%rsp), %rcx
movss %xmm0, 0x14(%rcx,%rdx)
movq 0xd0(%rsp), %rcx
movss %xmm2, (%rcx,%rax,4)
movq 0xa0(%rsp), %rcx
orl $-0x1, (%rcx,%rax,4)
leal -0x1(%rax), %ecx
movq 0x110(%rsp), %rdx
movl %ecx, (%rdx,%rax,4)
movq 0xa0(%rsp), %rcx
pushq $0x1
popq %rax
movslq %eax, %rdx
cmpl $-0x1, (%rcx,%rdx,4)
je 0xfe8d
movslq %eax, %rbx
movq 0x110(%rsp), %rax
movslq (%rax,%rbx,4), %rdx
movl (%rcx,%rbx,4), %eax
movslq %eax, %rsi
cmpq $-0x1, %rdx
je 0xfd12
movq 0xd0(%rsp), %rdi
movss (%rdi,%rsi,4), %xmm0
subss (%rdi,%rdx,4), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x25880(%rip), %xmm1    # 0x355d8
ucomisd %xmm0, %xmm1
jb 0xfd12
movq 0x40(%rsp), %rax
imulq $0x18, %rdx, %rdi
addq %rax, %rdi
imulq $0x18, %rsi, %rsi
addq %rax, %rsi
imulq $0x18, %rbx, %r14
leaq (%rax,%r14), %rdx
addq $0xc, %rdx
movq %r15, %rcx
callq 0x1053c
movss 0x222d7(%rip), %xmm4    # 0x32064
subss %xmm0, %xmm4
movq 0x110(%rsp), %rax
movl (%rax,%rbx,4), %eax
movslq %eax, %rdx
movq 0x40(%rsp), %rsi
imulq $0x18, %rdx, %rcx
movss 0xc(%rsi,%r14), %xmm1
movss 0x10(%rsi,%r14), %xmm2
movss 0x4(%rsi,%rcx), %xmm3
mulss %xmm2, %xmm3
movss (%rsi,%rcx), %xmm5
mulss %xmm1, %xmm5
addss %xmm3, %xmm5
movss 0x14(%rsi,%r14), %xmm3
movss 0x8(%rsi,%rcx), %xmm6
mulss %xmm3, %xmm6
addss %xmm5, %xmm6
mulss %xmm4, %xmm6
movq 0xa0(%rsp), %rcx
movslq (%rcx,%rbx,4), %rdi
imulq $0x18, %rdi, %r8
movss 0x4(%rsi,%r8), %xmm4
mulss %xmm2, %xmm4
movss (%rsi,%r8), %xmm5
mulss %xmm1, %xmm5
addss %xmm4, %xmm5
movss 0x8(%rsi,%r8), %xmm4
mulss %xmm3, %xmm4
addss %xmm5, %xmm4
mulss %xmm0, %xmm4
mulss 0x4(%rsi,%r14), %xmm2
addss %xmm6, %xmm4
mulss (%rsi,%r14), %xmm1
addss %xmm2, %xmm1
mulss 0x8(%rsi,%r14), %xmm3
addss %xmm1, %xmm3
cvtss2sd %xmm3, %xmm0
cvtss2sd %xmm4, %xmm1
addsd 0x2222e(%rip), %xmm1    # 0x32080
ucomisd %xmm0, %xmm1
jb 0xfe86
movslq (%rcx,%rdx,4), %rsi
movl (%rcx,%rsi,4), %esi
movl %esi, (%rcx,%rdx,4)
movq 0xa0(%rsp), %rcx
movslq (%rcx,%rdx,4), %rcx
movq 0x110(%rsp), %rsi
movl %edx, (%rsi,%rcx,4)
movq 0xa0(%rsp), %rcx
jmp 0xfd1f
movl %edi, %eax
jmp 0xfd12
xorl %eax, %eax
movslq %eax, %rbx
cmpl $-0x1, (%rcx,%rbx,4)
je 0xfeb6
imulq $0x18, %rbx, %rsi
addq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x12b3c
movq 0xa0(%rsp), %rcx
movl (%rcx,%rbx,4), %eax
jmp 0xfe8f
movq 0x148(%rsp), %r14
jmp 0xf92b
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
leaq 0x60(%rsp), %rdi
callq 0x11f2c
pushq $0x1c
popq %rcx
xorl %esi, %esi
movq 0x70(%rbp), %rdi
movq 0x78(%rbp), %rax
subq %rdi, %rax
cqto
pushq $0x2c
popq %r8
idivq %r8
cltq
cmpq %rax, %rsi
jge 0xff3a
movss -0x14(%rdi,%rcx), %xmm0
movss -0x10(%rdi,%rcx), %xmm1
mulss -0x4(%rdi,%rcx), %xmm1
mulss -0x8(%rdi,%rcx), %xmm0
movss -0xc(%rdi,%rcx), %xmm2
mulss (%rdi,%rcx), %xmm2
addss %xmm1, %xmm0
addss %xmm0, %xmm2
movq 0x60(%rsp), %rax
movss %xmm2, (%rax,%rsi,8)
movq 0x60(%rsp), %rax
movl %esi, 0x4(%rax,%rsi,8)
incq %rsi
addq $0x2c, %rcx
jmp 0xfed8
movq 0x60(%rsp), %rdi
movq 0x68(%rsp), %rsi
callq 0x123ff
xorl %ebx, %ebx
pushq $0x2c
popq %r14
movq 0x78(%rbp), %rax
subq 0x70(%rbp), %rax
cqto
idivq %r14
cltq
cmpq %rax, %rbx
jge 0xf7d1
movq 0x60(%rsp), %rax
movl 0x4(%rax,%rbx,8), %esi
movq %rbp, %rdi
callq 0x11340
movq 0x60(%rsp), %rax
movl 0x4(%rax,%rbx,8), %esi
movq 0x78(%rbp), %rax
subq 0x70(%rbp), %rax
cqto
idivq %r14
movq %rax, %rcx
addl %esi, %eax
addl $-0x2, %eax
cltd
idivl %ecx
movq %rbp, %rdi
movl %edx, %esi
callq 0x11340
incq %rbx
jmp 0xff4f
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
movslq %eax, %rsi
leaq 0x20(%rsp), %rdi
callq 0x11f2c
pushq $0xc
popq %rbx
xorl %r14d, %r14d
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cltq
cmpq %rax, %r14
jge 0x10046
leaq 0xc(%rsi), %rdi
addq %rbx, %rsi
movq %r15, %rdx
callq 0x104b7
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
testq %r14, %r14
je 0x10004
movaps %xmm0, %xmm2
cvtss2sd %xmm2, %xmm0
addsd 0x25590(%rip), %xmm0    # 0x355a0
cvtsd2ss %xmm0, %xmm0
movaps %xmm2, %xmm3
cmpltss %xmm1, %xmm3
movaps %xmm3, %xmm1
andnps %xmm2, %xmm1
andps %xmm0, %xmm3
orps %xmm1, %xmm3
movq 0x20(%rsp), %rax
movss %xmm3, (%rax,%r14,8)
movq 0x20(%rsp), %rax
movl %r14d, 0x4(%rax,%r14,8)
incq %r14
addq $0x18, %rbx
jmp 0xffcc
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x123ff
movq %rbp, %r14
addq $0x88, %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x12b04
xorl %ebx, %ebx
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
subq %rcx, %rax
cqto
pushq $0x18
popq %rsi
idivq %rsi
cltq
cmpq %rax, %rbx
jge 0x100d3
movq 0x20(%rsp), %rax
leaq 0x54e69bf(%rip), %rdx   # 0x54f6a51
cmpb $0x1, (%rdx)
jne 0x100ba
movl 0x4(%rax,%rbx,8), %edx
cmpq %rdx, %rbx
je 0x100ba
pushq $0x5
popq %rdi
leaq 0x258e0(%rip), %rsi     # 0x3598a
xorl %eax, %eax
callq 0x9045
movq 0x20(%rsp), %rax
movq (%rsp), %rcx
movslq 0x4(%rax,%rbx,8), %rax
imulq $0x18, %rax, %rsi
addq %rcx, %rsi
movq %r14, %rdi
callq 0x12b3c
incq %rbx
jmp 0x1006b
leaq 0x110(%rsp), %rdi
callq 0x12a3a
leaq 0xa0(%rsp), %rdi
callq 0x12a3a
leaq 0xd0(%rsp), %rdi
callq 0x12ef2
leaq 0x40(%rsp), %rdi
callq 0x12e42
leaq 0x20(%rsp), %rdi
callq 0x129f6
movq %rsp, %rdi
callq 0x12e42
movq %rbp, 0x150(%rsp)
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rsi
callq 0x116e0
jmp 0xe469
movq 0x38(%rsp), %r14
addq $0x50, %r14
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq 0x1175e
leaq 0x60(%rsp), %r15
movq 0x38(%rsp), %rbp
movq 0x38(%rbp), %rax
movq 0x40(%rbp), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jge 0x10362
movq (%rax,%rbx,8), %r12
movl 0x50(%r12), %ecx
movl %ecx, 0x60(%rsp)
movq 0x50(%rbp), %rdx
movq 0x58(%rbp), %rax
subq %rdx, %rax
shrq $0x2, %rax
testl %eax, %eax
movl $0x0, %esi
cmovgl %eax, %esi
xorl %edi, %edi
cmpq %rdi, %rsi
je 0x101ab
cmpl %ecx, (%rdx,%rdi,4)
je 0x101a9
incq %rdi
jmp 0x1019a
movl %edi, %esi
cmpl %eax, %esi
jne 0x101ba
movq %r14, %rdi
movq %r15, %rsi
callq 0x11790
xorl %r13d, %r13d
movq 0x70(%r12), %rcx
movq 0x78(%r12), %rax
subq %rcx, %rax
cqto
pushq $0x2c
popq %rsi
idivq %rsi
cltq
cmpq %rax, %r13
jge 0x10225
imulq $0x2c, %r13, %rax
movl 0x4(%rcx,%rax), %ecx
movl %ecx, 0x60(%rsp)
movq 0x50(%rbp), %rdx
movq 0x58(%rbp), %rax
subq %rdx, %rax
shrq $0x2, %rax
testl %eax, %eax
movl $0x0, %esi
cmovgl %eax, %esi
xorl %edi, %edi
cmpq %rdi, %rsi
je 0x10211
cmpl %ecx, (%rdx,%rdi,4)
je 0x1020f
incq %rdi
jmp 0x10200
movl %edi, %esi
cmpl %eax, %esi
jne 0x10220
movq %r14, %rdi
movq %r15, %rsi
callq 0x11790
incq %r13
jmp 0x101bd
incq %rbx
jmp 0x10157
jmp 0x102d5
jmp 0x102d5
jmp 0x102d5
movq %rdx, %r14
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x129f6
jmp 0x10326
movq %rdx, %r14
movq %rax, %rbx
movl $0xa0, %esi
movq %rbp, %rdi
callq 0x42f0
jmp 0x10326
jmp 0x102d5
jmp 0x102b9
jmp 0x102b9
jmp 0x102dd
jmp 0x102d5
jmp 0x1027d
jmp 0x102d5
jmp 0x102d5
jmp 0x102dd
jmp 0x102d5
movq %rdx, %r14
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0x129f6
leaq 0x40(%rsp), %rdi
callq 0x12a3a
leaq 0x20(%rsp), %rdi
callq 0x12a3a
movq %rsp, %rdi
callq 0x12a3a
leaq 0x60(%rsp), %rdi
jmp 0x102cc
jmp 0x102b9
jmp 0x102dd
jmp 0x102dd
movq %rdx, %r14
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x129f6
movq %rsp, %rdi
callq 0x12a14
jmp 0x10326
jmp 0x102dd
movq %rdx, %r14
movq %rax, %rbx
jmp 0x10326
movq %rdx, %r14
movq %rax, %rbx
leaq 0x110(%rsp), %rdi
callq 0x12a3a
leaq 0xa0(%rsp), %rdi
callq 0x12a3a
leaq 0xd0(%rsp), %rdi
callq 0x12ef2
leaq 0x40(%rsp), %rdi
callq 0x12e42
leaq 0x20(%rsp), %rdi
callq 0x129f6
movq %rsp, %rdi
callq 0x12e42
cmpl $0x1, %r14d
jne 0x10384
movq %rbx, %rdi
callq 0x43d0
movq 0x33c55(%rip), %rax     # 0x43f90
addq $0x10, %rax
movq %rax, (%rsp)
movq %rbx, %rdi
callq 0x4140
pushq $0x1
popq %rsi
xorl %edi, %edi
callq 0x92cb
movq %rsp, %rdi
callq 0x41d0
callq 0x4570
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x41d0
callq 0x4570
movq %rbx, %rdi
callq 0x45a0
movq %rax, %rdi
callq 0x116a3