// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/dataset.c
// Function: k_way_anova_dataset_discrete
void k_way_anova_dataset_discrete(Datasetptr d, Instanceptr data, int* features, int fdependent)
{
 /*!Last Changed 07.05.2004 only for three way currently*/
 int ***counts, *rowsums, *colsums, *depsums, datasize, **rcsums, **rfsums, **cfsums;
 int rowsize, colsize, dependentsize, i, j, k, row, col, index;
 double expected, sum, completeconf, onefactorconf, conditionalconf;
 Instanceptr tmp;
 rowsize = d->features[features[0]].valuecount;
 colsize = d->features[features[1]].valuecount;
 dependentsize = d->features[fdependent].valuecount;
 counts = (int***) safecalloc_3d(sizeof(int **), sizeof(int *), sizeof(int), rowsize, colsize, colsize, "k_way_anova_dataset_discrete", 6);
 tmp = data;
 datasize = 0;
 while (tmp)
  {
   row = tmp->values[features[0]].stringindex;
   col = tmp->values[features[1]].stringindex;
   index = tmp->values[fdependent].stringindex;
   counts[row][col][index]++;
   tmp = tmp->next;
   datasize++;
  }
 rowsums = safecalloc(rowsize, sizeof(int), "k_way_anova_dataset_discrete", 20);
 colsums = safecalloc(colsize, sizeof(int), "k_way_anova_dataset_discrete", 21);
 depsums = safecalloc(dependentsize, sizeof(int), "k_way_anova_dataset_discrete", 22);
 rcsums = (int**) safecalloc_2d(sizeof(int *), sizeof(int), rowsize, colsize, "k_way_anova_dataset_discrete", 23);
 rfsums = (int**) safecalloc_2d(sizeof(int *), sizeof(int), rowsize, dependentsize, "k_way_anova_dataset_discrete", 24);
 cfsums = (int**) safecalloc_2d(sizeof(int *), sizeof(int), colsize, dependentsize, "k_way_anova_dataset_discrete", 25);
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
      {
       rowsums[i] += counts[i][j][k];
       colsums[j] += counts[i][j][k];
       depsums[k] += counts[i][j][k];
       rcsums[i][j] += counts[i][j][k];
       rfsums[i][k] += counts[i][j][k];
       cfsums[j][k] += counts[i][j][k];
      }
 /*Complete Independence*/
 sum = 0;
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
       if (counts[i][j][k] > 0)
        {
         expected = datasize * (rowsums[i] / (datasize + 0.0)) * (colsums[j] / (datasize + 0.0)) * (depsums[k] / (datasize + 0.0));
         if (expected > 0)
           sum += counts[i][j][k] * log(counts[i][j][k] / expected);
        }
 sum *= 2;
 completeconf = chi_square(rowsize * colsize * dependentsize - rowsize - colsize - dependentsize + 2, sum);
 if (get_parameter_o("displayresulton"))
  {
   if (completeconf < get_parameter_f("confidencelevel"))
     printf(m1253, features[0] + 1, features[1] + 1, fdependent + 1);
   else
     printf(m1254, features[0] + 1, features[1] + 1, fdependent + 1);       
  }
 /*One Factor Independence*/
 /*One Factor Independence - Dependent Factor*/
 sum = 0;
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
       if (counts[i][j][k] > 0)
        {
         expected = datasize * (rcsums[i][j] / (datasize + 0.0)) * (depsums[k] / (datasize + 0.0));
         if (expected > 0)
           sum += counts[i][j][k] * log(counts[i][j][k] / expected);
        }
 sum *= 2;
 onefactorconf = chi_square((rowsize - 1) * (colsize - 1), sum);
 if (get_parameter_o("displayresulton"))
  {
   if (onefactorconf < get_parameter_f("confidencelevel"))
     printf(m1255, fdependent + 1, features[0] + 1, features[1] + 1);
   else
     printf(m1256, fdependent + 1, features[0] + 1, features[1] + 1);
  }
 /*One Factor Independence - Factor 1*/
 sum = 0;
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
       if (counts[i][j][k] > 0)
        {
         expected = datasize * (rfsums[i][k] / (datasize + 0.0)) * (colsums[j] / (datasize + 0.0));
         if (expected > 0)
           sum += counts[i][j][k] * log(counts[i][j][k] / expected);
        }
 sum *= 2;
 onefactorconf = chi_square((rowsize - 1) * (dependentsize - 1), sum);
 if (get_parameter_o("displayresulton"))
  {
   if (onefactorconf < get_parameter_f("confidencelevel"))
     printf(m1255, features[1] + 1, fdependent + 1, features[0] + 1);
   else
     printf(m1256, features[1] + 1, fdependent + 1, features[0] + 1);
  }
 /*One Factor Independence - Factor 2*/
 sum = 0;
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
       if (counts[i][j][k] > 0)
        {
         expected = datasize * (cfsums[j][k] / (datasize + 0.0)) * (rowsums[i] / (datasize + 0.0));
         if (expected > 0)
           sum += counts[i][j][k] * log(counts[i][j][k] / expected);
        }
 sum *= 2;
 onefactorconf = chi_square((dependentsize - 1) * (colsize - 1), sum);
 if (get_parameter_o("displayresulton"))
  {  
   if (onefactorconf < get_parameter_f("confidencelevel"))
     printf(m1255, features[0] + 1, fdependent + 1, features[1] + 1);
   else
     printf(m1256, features[0] + 1, fdependent + 1, features[1] + 1);
  }
 /*Conditional Independence*/
 /*Conditional Independence - Dependent Factor*/
 sum = 0;
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
       if (counts[i][j][k] > 0)
        {
         expected = rfsums[i][k] * cfsums[j][k] / (depsums[k] + 0.0);
         if (expected > 0)
           sum += counts[i][j][k] * log(counts[i][j][k] / expected);
        }
 sum *= 2;
 conditionalconf = chi_square((rowsize - 1) * (colsize - 1) * dependentsize, sum);
 if (get_parameter_o("displayresulton"))
  {
   if (conditionalconf < get_parameter_f("confidencelevel"))
     printf(m1257, features[0] + 1, features[1] + 1, fdependent + 1);
   else
     printf(m1258, features[0] + 1, features[1] + 1, fdependent + 1);
  }
 /*Conditional Independence - 1 Factor*/
 sum = 0;
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
       if (counts[i][j][k] > 0)
        {
         expected = rcsums[i][j] * rfsums[i][k] / (rowsums[i] + 0.0);
         if (expected > 0)
           sum += counts[i][j][k] * log(counts[i][j][k] / expected);
        }
 sum *= 2;
 conditionalconf = chi_square((dependentsize - 1) * (colsize - 1) * rowsize, sum);
 if (get_parameter_o("displayresulton"))
  {
   if (conditionalconf < get_parameter_f("confidencelevel"))
     printf(m1257, features[1] + 1, fdependent + 1, features[0] + 1);
   else
     printf(m1258, features[1] + 1, fdependent + 1, features[0] + 1);
  }
 /*Conditional Independence - 2 Factor*/
 sum = 0;
 for (i = 0; i < rowsize; i++)
   for (j = 0; j < colsize; j++)
     for (k = 0; k < dependentsize; k++)
       if (counts[i][j][k] > 0)
        {
         expected = rcsums[i][j] * cfsums[j][k] / (colsums[j] + 0.0);
         if (expected > 0)
           sum += counts[i][j][k] * log(counts[i][j][k] / expected);
        }
 sum *= 2;
 conditionalconf = chi_square((rowsize - 1) * (dependentsize - 1) * colsize, sum);
 if (get_parameter_o("displayresulton"))
  {
   if (conditionalconf < get_parameter_f("confidencelevel"))
     printf(m1257, features[0] + 1, fdependent + 1, features[1] + 1);
   else
     printf(m1258, features[0] + 1, fdependent + 1, features[1] + 1);
  }
 safe_free(rowsums);
 safe_free(colsums);
 safe_free(depsums);
 free_2d((void**)rcsums, rowsize);
 free_2d((void**)rfsums, rowsize);
 free_2d((void**)cfsums, colsize);
 free_3d((void***)counts, rowsize, colsize);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movq -0x18(%rbp), %rcx
movslq (%rcx), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
movl 0x18(%rax), %eax
movl %eax, -0x64(%rbp)
movq -0x8(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movq -0x18(%rbp), %rcx
movslq 0x4(%rcx), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
movl 0x18(%rax), %eax
movl %eax, -0x68(%rbp)
movq -0x8(%rbp), %rax
addq $0x30f08, %rax          # imm = 0x30F08
movslq -0x1c(%rbp), %rcx
imulq $0x340, %rcx, %rcx      # imm = 0x340
addq %rcx, %rax
movl 0x18(%rax), %eax
movl %eax, -0x6c(%rbp)
movl -0x64(%rbp), %ecx
movl -0x68(%rbp), %r8d
movl -0x68(%rbp), %r9d
movl $0x8, %esi
movl $0x4, %edx
leaq 0xc6d2e(%rip), %rax     # 0xe32f5
movq %rsi, %rdi
movq %rax, (%rsp)
movl $0x6, 0x8(%rsp)
callq 0x53030
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb8(%rbp)
movl $0x0, -0x44(%rbp)
cmpq $0x0, -0xb8(%rbp)
je 0x1c689
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movslq (%rcx), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x7c(%rbp)
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movslq 0x4(%rcx), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x80(%rbp)
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x84(%rbp)
movq -0x28(%rbp), %rax
movslq -0x7c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x80(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
movl %edx, (%rax,%rcx,4)
movq -0xb8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0xb8(%rbp)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x1c5f1
movslq -0x64(%rbp), %rdi
movl $0x4, %esi
leaq 0xc6c5c(%rip), %rdx     # 0xe32f5
movl $0x14, %ecx
callq 0x52f40
movq %rax, -0x30(%rbp)
movslq -0x68(%rbp), %rdi
movl $0x4, %esi
leaq 0xc6c3e(%rip), %rdx     # 0xe32f5
movl $0x15, %ecx
callq 0x52f40
movq %rax, -0x38(%rbp)
movslq -0x6c(%rbp), %rdi
movl $0x4, %esi
leaq 0xc6c20(%rip), %rdx     # 0xe32f5
movl $0x16, %ecx
callq 0x52f40
movq %rax, -0x40(%rbp)
movl -0x64(%rbp), %edx
movl -0x68(%rbp), %ecx
movl $0x8, %edi
movl $0x4, %esi
leaq 0xc6bfb(%rip), %r8      # 0xe32f5
movl $0x17, %r9d
callq 0x52fa0
movq %rax, -0x50(%rbp)
movl -0x64(%rbp), %edx
movl -0x6c(%rbp), %ecx
movl $0x8, %edi
movl $0x4, %esi
leaq 0xc6bd5(%rip), %r8      # 0xe32f5
movl $0x18, %r9d
callq 0x52fa0
movq %rax, -0x58(%rbp)
movl -0x68(%rbp), %edx
movl -0x6c(%rbp), %ecx
movl $0x8, %edi
movl $0x4, %esi
leaq 0xc6baf(%rip), %r8      # 0xe32f5
movl $0x19, %r9d
callq 0x52fa0
movq %rax, -0x60(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1c8ca
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1c8ba
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1c8aa
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x30(%rbp), %rax
movslq -0x70(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x74(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x40(%rbp), %rax
movslq -0x78(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x50(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x58(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x60(%rbp), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1c782
jmp 0x1c8ac
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1c76f
jmp 0x1c8bc
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1c75c
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1ca55
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1ca45
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1ca35
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x1ca25
cvtsi2sdl -0x44(%rbp), %xmm0
movq -0x30(%rbp), %rax
movslq -0x70(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movslq -0x74(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movq -0x40(%rbp), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movsd -0x90(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1ca23
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
movsd %xmm0, -0xc0(%rbp)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
divsd -0x90(%rbp), %xmm0
callq 0x4120
movaps %xmm0, %xmm2
movsd -0xc0(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
jmp 0x1ca25
jmp 0x1ca27
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1c902
jmp 0x1ca37
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1c8ef
jmp 0x1ca47
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1c8dc
movsd 0xc6243(%rip), %xmm0    # 0xe2ca0
mulsd -0x98(%rbp), %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x64(%rbp), %edi
imull -0x68(%rbp), %edi
imull -0x6c(%rbp), %edi
subl -0x64(%rbp), %edi
subl -0x68(%rbp), %edi
subl -0x6c(%rbp), %edi
addl $0x2, %edi
movsd -0x98(%rbp), %xmm0
callq 0x2d5e0
movsd %xmm0, -0xa0(%rbp)
leaq 0xc67cb(%rip), %rdi     # 0xe326b
callq 0x79440
cmpl $0x0, %eax
je 0x1cb26
movsd -0xa0(%rbp), %xmm0
movsd %xmm0, -0xc8(%rbp)
leaq 0xc5bdc(%rip), %rdi     # 0xe269d
callq 0x79040
movsd -0xc8(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1cafd
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movq -0x18(%rbp), %rax
movl 0x4(%rax), %edx
addl $0x1, %edx
movl -0x1c(%rbp), %ecx
addl $0x1, %ecx
leaq 0xc681e(%rip), %rdi     # 0xe3312
movb $0x0, %al
callq 0x4030
jmp 0x1cb24
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movq -0x18(%rbp), %rax
movl 0x4(%rax), %edx
addl $0x1, %edx
movl -0x1c(%rbp), %ecx
addl $0x1, %ecx
leaq 0xc6826(%rip), %rdi     # 0xe3343
movb $0x0, %al
callq 0x4030
jmp 0x1cb26
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1cc98
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1cc88
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1cc78
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x1cc68
cvtsi2sdl -0x44(%rbp), %xmm0
movq -0x50(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movq -0x40(%rbp), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movsd -0x90(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1cc66
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
movsd %xmm0, -0xd0(%rbp)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
divsd -0x90(%rbp), %xmm0
callq 0x4120
movaps %xmm0, %xmm2
movsd -0xd0(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
jmp 0x1cc68
jmp 0x1cc6a
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1cb5e
jmp 0x1cc7a
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1cb4b
jmp 0x1cc8a
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1cb38
movsd 0xc6000(%rip), %xmm0    # 0xe2ca0
mulsd -0x98(%rbp), %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x64(%rbp), %edi
subl $0x1, %edi
movl -0x68(%rbp), %eax
subl $0x1, %eax
imull %eax, %edi
movsd -0x98(%rbp), %xmm0
callq 0x2d5e0
movsd %xmm0, -0xa8(%rbp)
leaq 0xc6590(%rip), %rdi     # 0xe326b
callq 0x79440
cmpl $0x0, %eax
je 0x1cd61
movsd -0xa8(%rbp), %xmm0
movsd %xmm0, -0xd8(%rbp)
leaq 0xc59a1(%rip), %rdi     # 0xe269d
callq 0x79040
movsd -0xd8(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1cd38
movl -0x1c(%rbp), %esi
addl $0x1, %esi
movq -0x18(%rbp), %rax
movl (%rax), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
leaq 0xc6649(%rip), %rdi     # 0xe3378
movb $0x0, %al
callq 0x4030
jmp 0x1cd5f
movl -0x1c(%rbp), %esi
addl $0x1, %esi
movq -0x18(%rbp), %rax
movl (%rax), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
leaq 0xc664f(%rip), %rdi     # 0xe33a7
movb $0x0, %al
callq 0x4030
jmp 0x1cd61
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1ced3
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1cec3
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1ceb3
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x1cea3
cvtsi2sdl -0x44(%rbp), %xmm0
movq -0x58(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movslq -0x74(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movsd -0x90(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1cea1
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
movsd %xmm0, -0xe0(%rbp)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
divsd -0x90(%rbp), %xmm0
callq 0x4120
movaps %xmm0, %xmm2
movsd -0xe0(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
jmp 0x1cea3
jmp 0x1cea5
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1cd99
jmp 0x1ceb5
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1cd86
jmp 0x1cec5
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1cd73
movsd 0xc5dc5(%rip), %xmm0    # 0xe2ca0
mulsd -0x98(%rbp), %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x64(%rbp), %edi
subl $0x1, %edi
movl -0x6c(%rbp), %eax
subl $0x1, %eax
imull %eax, %edi
movsd -0x98(%rbp), %xmm0
callq 0x2d5e0
movsd %xmm0, -0xa8(%rbp)
leaq 0xc6355(%rip), %rdi     # 0xe326b
callq 0x79440
cmpl $0x0, %eax
je 0x1cf9c
movsd -0xa8(%rbp), %xmm0
movsd %xmm0, -0xe8(%rbp)
leaq 0xc5766(%rip), %rdi     # 0xe269d
callq 0x79040
movsd -0xe8(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1cf73
movq -0x18(%rbp), %rax
movl 0x4(%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
leaq 0xc640e(%rip), %rdi     # 0xe3378
movb $0x0, %al
callq 0x4030
jmp 0x1cf9a
movq -0x18(%rbp), %rax
movl 0x4(%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
leaq 0xc6414(%rip), %rdi     # 0xe33a7
movb $0x0, %al
callq 0x4030
jmp 0x1cf9c
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1d10e
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1d0fe
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1d0ee
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x1d0de
cvtsi2sdl -0x44(%rbp), %xmm0
movq -0x60(%rbp), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movq -0x30(%rbp), %rax
movslq -0x70(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
cvtsi2sdl -0x44(%rbp), %xmm2
xorps %xmm3, %xmm3
addsd %xmm3, %xmm2
divsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movsd -0x90(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d0dc
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
movsd %xmm0, -0xf0(%rbp)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
divsd -0x90(%rbp), %xmm0
callq 0x4120
movaps %xmm0, %xmm2
movsd -0xf0(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
jmp 0x1d0de
jmp 0x1d0e0
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1cfd4
jmp 0x1d0f0
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1cfc1
jmp 0x1d100
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1cfae
movsd 0xc5b8a(%rip), %xmm0    # 0xe2ca0
mulsd -0x98(%rbp), %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x6c(%rbp), %edi
subl $0x1, %edi
movl -0x68(%rbp), %eax
subl $0x1, %eax
imull %eax, %edi
movsd -0x98(%rbp), %xmm0
callq 0x2d5e0
movsd %xmm0, -0xa8(%rbp)
leaq 0xc611a(%rip), %rdi     # 0xe326b
callq 0x79440
cmpl $0x0, %eax
je 0x1d1d7
movsd -0xa8(%rbp), %xmm0
movsd %xmm0, -0xf8(%rbp)
leaq 0xc552b(%rip), %rdi     # 0xe269d
callq 0x79040
movsd -0xf8(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d1ae
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
leaq 0xc61d3(%rip), %rdi     # 0xe3378
movb $0x0, %al
callq 0x4030
jmp 0x1d1d5
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
leaq 0xc61d9(%rip), %rdi     # 0xe33a7
movb $0x0, %al
callq 0x4030
jmp 0x1d1d7
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1d33d
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1d32d
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1d31d
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x1d30d
movq -0x58(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -0x60(%rbp), %rcx
movslq -0x74(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x78(%rbp), %rdx
imull (%rcx,%rdx,4), %eax
cvtsi2sd %eax, %xmm0
movq -0x40(%rbp), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
xorps %xmm2, %xmm2
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movsd -0x90(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d30b
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
movsd %xmm0, -0x100(%rbp)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
divsd -0x90(%rbp), %xmm0
callq 0x4120
movaps %xmm0, %xmm2
movsd -0x100(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
jmp 0x1d30d
jmp 0x1d30f
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1d20f
jmp 0x1d31f
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1d1fc
jmp 0x1d32f
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1d1e9
movsd 0xc595b(%rip), %xmm0    # 0xe2ca0
mulsd -0x98(%rbp), %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x64(%rbp), %edi
subl $0x1, %edi
movl -0x68(%rbp), %eax
subl $0x1, %eax
imull %eax, %edi
imull -0x6c(%rbp), %edi
movsd -0x98(%rbp), %xmm0
callq 0x2d5e0
movsd %xmm0, -0xb0(%rbp)
leaq 0xc5ee7(%rip), %rdi     # 0xe326b
callq 0x79440
cmpl $0x0, %eax
je 0x1d40a
movsd -0xb0(%rbp), %xmm0
movsd %xmm0, -0x108(%rbp)
leaq 0xc52f8(%rip), %rdi     # 0xe269d
callq 0x79040
movsd -0x108(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d3e1
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movq -0x18(%rbp), %rax
movl 0x4(%rax), %edx
addl $0x1, %edx
movl -0x1c(%rbp), %ecx
addl $0x1, %ecx
leaq 0xc6002(%rip), %rdi     # 0xe33da
movb $0x0, %al
callq 0x4030
jmp 0x1d408
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movq -0x18(%rbp), %rax
movl 0x4(%rax), %edx
addl $0x1, %edx
movl -0x1c(%rbp), %ecx
addl $0x1, %ecx
leaq 0xc601f(%rip), %rdi     # 0xe3420
movb $0x0, %al
callq 0x4030
jmp 0x1d40a
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1d570
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1d560
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1d550
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x1d540
movq -0x50(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -0x58(%rbp), %rcx
movslq -0x70(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x78(%rbp), %rdx
imull (%rcx,%rdx,4), %eax
cvtsi2sd %eax, %xmm0
movq -0x30(%rbp), %rax
movslq -0x70(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
xorps %xmm2, %xmm2
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movsd -0x90(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d53e
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
movsd %xmm0, -0x110(%rbp)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
divsd -0x90(%rbp), %xmm0
callq 0x4120
movaps %xmm0, %xmm2
movsd -0x110(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
jmp 0x1d540
jmp 0x1d542
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1d442
jmp 0x1d552
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1d42f
jmp 0x1d562
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1d41c
movsd 0xc5728(%rip), %xmm0    # 0xe2ca0
mulsd -0x98(%rbp), %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x6c(%rbp), %edi
subl $0x1, %edi
movl -0x68(%rbp), %eax
subl $0x1, %eax
imull %eax, %edi
imull -0x64(%rbp), %edi
movsd -0x98(%rbp), %xmm0
callq 0x2d5e0
movsd %xmm0, -0xb0(%rbp)
leaq 0xc5cb4(%rip), %rdi     # 0xe326b
callq 0x79440
cmpl $0x0, %eax
je 0x1d63d
movsd -0xb0(%rbp), %xmm0
movsd %xmm0, -0x118(%rbp)
leaq 0xc50c5(%rip), %rdi     # 0xe269d
callq 0x79040
movsd -0x118(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d614
movq -0x18(%rbp), %rax
movl 0x4(%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
leaq 0xc5dcf(%rip), %rdi     # 0xe33da
movb $0x0, %al
callq 0x4030
jmp 0x1d63b
movq -0x18(%rbp), %rax
movl 0x4(%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
leaq 0xc5dec(%rip), %rdi     # 0xe3420
movb $0x0, %al
callq 0x4030
jmp 0x1d63d
xorps %xmm0, %xmm0
movsd %xmm0, -0x98(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1d7a3
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x68(%rbp), %eax
jge 0x1d793
movl $0x0, -0x78(%rbp)
movl -0x78(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jge 0x1d783
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x1d773
movq -0x50(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -0x60(%rbp), %rcx
movslq -0x74(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x78(%rbp), %rdx
imull (%rcx,%rdx,4), %eax
cvtsi2sd %eax, %xmm0
movq -0x38(%rbp), %rax
movslq -0x74(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
xorps %xmm2, %xmm2
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movsd -0x90(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d771
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
movsd %xmm0, -0x120(%rbp)
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x74(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x78(%rbp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm0
divsd -0x90(%rbp), %xmm0
callq 0x4120
movaps %xmm0, %xmm2
movsd -0x120(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
jmp 0x1d773
jmp 0x1d775
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x1d675
jmp 0x1d785
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x1d662
jmp 0x1d795
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1d64f
movsd 0xc54f5(%rip), %xmm0    # 0xe2ca0
mulsd -0x98(%rbp), %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x64(%rbp), %edi
subl $0x1, %edi
movl -0x6c(%rbp), %eax
subl $0x1, %eax
imull %eax, %edi
imull -0x68(%rbp), %edi
movsd -0x98(%rbp), %xmm0
callq 0x2d5e0
movsd %xmm0, -0xb0(%rbp)
leaq 0xc5a81(%rip), %rdi     # 0xe326b
callq 0x79440
cmpl $0x0, %eax
je 0x1d870
movsd -0xb0(%rbp), %xmm0
movsd %xmm0, -0x128(%rbp)
leaq 0xc4e92(%rip), %rdi     # 0xe269d
callq 0x79040
movsd -0x128(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1d847
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
leaq 0xc5b9c(%rip), %rdi     # 0xe33da
movb $0x0, %al
callq 0x4030
jmp 0x1d86e
movq -0x18(%rbp), %rax
movl (%rax), %esi
addl $0x1, %esi
movl -0x1c(%rbp), %edx
addl $0x1, %edx
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
leaq 0xc5bb9(%rip), %rdi     # 0xe3420
movb $0x0, %al
callq 0x4030
jmp 0x1d870
movq -0x30(%rbp), %rdi
callq 0x52e80
movq -0x38(%rbp), %rdi
callq 0x52e80
movq -0x40(%rbp), %rdi
callq 0x52e80
movq -0x50(%rbp), %rdi
movl -0x64(%rbp), %esi
callq 0x52e20
movq -0x58(%rbp), %rdi
movl -0x64(%rbp), %esi
callq 0x52e20
movq -0x60(%rbp), %rdi
movl -0x68(%rbp), %esi
callq 0x52e20
movq -0x28(%rbp), %rdi
movl -0x64(%rbp), %esi
movl -0x68(%rbp), %edx
callq 0x52ea0
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopw (%rax,%rax)