// File: /workspace/github_c_makefile_star2_O0/josch[P]stride/nsc.c
// Function: ico_dot_arc
int ico_dot_arc(int densit) { /* densit...required dots per unit sphere */
/* dot distribution on a unit sphere based on an icosaeder *
 * great circle average refining of icosahedral face       */

  int i, j, k, tl, tl2, tn, tess;
  double a, d, x, y, z, x2, y2, z2, x3, y3, z3;
  double xij, yij, zij, xji, yji, zji, xik, yik, zik, xki, yki, zki,
    xjk, yjk, zjk, xkj, ykj, zkj;
  point_double xus=NULL;

/* calculate tessalation level */
  a = sqrt((((double) densit)-2.)/10.);
  tess = (int) ceil(a);
  n_dot = 10*tess*tess+2;
  if (n_dot < densit) {
    ERROR("ico_dot_arc: error in formula for tessalation level (%d->%d, %d)",
      tess, n_dot, densit);
    }

  xus = (double *) CALLOC(3*n_dot, sizeof(double));
  xpunsp = xus;
  icosaeder_vertices(xus);

  if (tess > 1) {
    tn = 12;
    a = rh*rh*2.*(1.-cos(TORAD(72.)));
/* calculate tessalation of icosaeder edges */
    for (i=0; i<11; i++) {
      for (j=i+1; j<12; j++) {
        x = xus[3*i]-xus[3*j];
        y = xus[1+3*i]-xus[1+3*j]; z = xus[2+3*i]-xus[2+3*j];
        d = x*x+y*y+z*z;
        if (fabs(a-d) > DP_TOL) continue;
        for (tl=1; tl<tess; tl++) {
          if (tn >= n_dot) { ERROR("ico_dot: tn exceeds dimension of xus"); }
          divarc(xus[3*i], xus[1+3*i], xus[2+3*i],
                 xus[3*j], xus[1+3*j], xus[2+3*j],
            tl, tess, &xus[3*tn], &xus[1+3*tn], &xus[2+3*tn]);
          tn++;
          }
        }
      }
/* calculate tessalation of icosaeder faces */
    for (i=0; i<10; i++) {
      for (j=i+1; j<11; j++) {
        x = xus[3*i]-xus[3*j];
        y = xus[1+3*i]-xus[1+3*j]; z = xus[2+3*i]-xus[2+3*j];
        d = x*x+y*y+z*z;
        if (fabs(a-d) > DP_TOL) continue;

        for (k=j+1; k<12; k++) {
          x = xus[3*i]-xus[3*k];
          y = xus[1+3*i]-xus[1+3*k]; z = xus[2+3*i]-xus[2+3*k];
          d = x*x+y*y+z*z;
          if (fabs(a-d) > DP_TOL) continue;
          x = xus[3*j]-xus[3*k];
          y = xus[1+3*j]-xus[1+3*k]; z = xus[2+3*j]-xus[2+3*k];
          d = x*x+y*y+z*z;
          if (fabs(a-d) > DP_TOL) continue;
          for (tl=1; tl<tess-1; tl++) {
            divarc(xus[3*j], xus[1+3*j], xus[2+3*j],
                   xus[3*i], xus[1+3*i], xus[2+3*i],
              tl, tess, &xji, &yji, &zji);
            divarc(xus[3*k], xus[1+3*k], xus[2+3*k],
                   xus[3*i], xus[1+3*i], xus[2+3*i],
              tl, tess, &xki, &yki, &zki);

            for (tl2=1; tl2<tess-tl; tl2++) {
              divarc(xus[3*i], xus[1+3*i], xus[2+3*i],
                     xus[3*j], xus[1+3*j], xus[2+3*j],
                tl2, tess, &xij, &yij, &zij);
              divarc(xus[3*k], xus[1+3*k], xus[2+3*k],
                     xus[3*j], xus[1+3*j], xus[2+3*j],
                tl2, tess, &xkj, &ykj, &zkj);
              divarc(xus[3*i], xus[1+3*i], xus[2+3*i],
                     xus[3*k], xus[1+3*k], xus[2+3*k],
                tess-tl-tl2, tess, &xik, &yik, &zik);
              divarc(xus[3*j], xus[1+3*j], xus[2+3*j],
                     xus[3*k], xus[1+3*k], xus[2+3*k],
                tess-tl-tl2, tess, &xjk, &yjk, &zjk);
              if (tn >= n_dot) ERROR("ico_dot: tn exceeds dimension of xus");
              divarc(xki, yki, zki, xji, yji, zji, tl2, tess-tl,
                &x, &y, &z);
              divarc(xkj, ykj, zkj, xij, yij, zij, tl, tess-tl2,
                &x2, &y2, &z2);
              divarc(xjk, yjk, zjk, xik, yik, zik, tl, tl+tl2,
                &x3, &y3, &z3);
              x = x+x2+x3; y = y+y2+y3; z = z+z2+z3;
              d = sqrt(x*x+y*y+z*z);
              xus[3*tn] = x/d;
              xus[1+3*tn] = y/d;
              xus[2+3*tn] = z/d;
              tn++;
              }		/* cycle tl2 */
            }		/* cycle tl */
          }		/* cycle k */
        }		/* cycle j */
      }			/* cycle i */
    if (n_dot != tn) {
      ERROR("ico_dot: n_dot(%d) and tn(%d) differ", n_dot, tn);
      }
    }		/* end of if (tess > 1) */
  return n_dot;
  }

// Assembly:
subq $0x118, %rsp            # imm = 0x118
movl %edi, 0x114(%rsp)
movq $0x0, 0x8(%rsp)
cvtsi2sdl 0x114(%rsp), %xmm0
movsd 0xd5a0(%rip), %xmm1     # 0x2bab8
subsd %xmm1, %xmm0
movsd 0xe17c(%rip), %xmm1     # 0x2c6a0
divsd %xmm1, %xmm0
callq 0x2220
movsd %xmm0, 0xf0(%rsp)
movsd 0xf0(%rsp), %xmm0
callq 0x2230
cvttsd2si %xmm0, %eax
movl %eax, 0xf8(%rsp)
imull $0xa, 0xf8(%rsp), %eax
imull 0xf8(%rsp), %eax
addl $0x2, %eax
movl %eax, 0x13950(%rip)     # 0x31eb8
movl 0x1394a(%rip), %eax     # 0x31eb8
cmpl 0x114(%rsp), %eax
jge 0x1e5b1
leaq 0xe1c3(%rip), %rax      # 0x2c741
movq %rax, 0x1391b(%rip)     # 0x31ea0
movl $0xbd, 0x13909(%rip)    # 0x31e98
movl 0xf8(%rsp), %esi
movl 0x1391c(%rip), %edx     # 0x31eb8
movl 0x114(%rsp), %ecx
leaq 0xe26a(%rip), %rdi      # 0x2c814
movb $0x0, %al
callq 0x1d4c0
imull $0x3, 0x13900(%rip), %eax # 0x31eb8
movslq %eax, %rdx
leaq 0xe17f(%rip), %rdi      # 0x2c741
movl $0xc1, %esi
movl $0x8, %ecx
callq 0x1d7a0
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x1388e(%rip)     # 0x31e70
movq 0x8(%rsp), %rdi
callq 0x1d8c0
cmpl $0x1, 0xf8(%rsp)
jle 0x1f4c8
movl $0xc, 0xfc(%rsp)
movsd 0x1389b(%rip), %xmm0    # 0x31ea8
mulsd 0x13893(%rip), %xmm0    # 0x31ea8
movsd 0xd49b(%rip), %xmm1     # 0x2bab8
mulsd %xmm1, %xmm0
movsd %xmm0, (%rsp)
movsd 0xe06a(%rip), %xmm0     # 0x2c698
callq 0x20f0
movaps %xmm0, %xmm2
movsd (%rsp), %xmm0
movsd 0xd1b5(%rip), %xmm1     # 0x2b7f8
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0xf0(%rsp)
movl $0x0, 0x110(%rsp)
cmpl $0xb, 0x110(%rsp)
jge 0x1e940
movl 0x110(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c(%rsp)
cmpl $0xc, 0x10c(%rsp)
jge 0x1e928
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xe0(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd8(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd0(%rsp)
movsd 0xe0(%rsp), %xmm1
movsd 0xe0(%rsp), %xmm2
movsd 0xd8(%rsp), %xmm0
mulsd 0xd8(%rsp), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd 0xd0(%rsp), %xmm0
movsd 0xd0(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xe8(%rsp)
movsd 0xf0(%rsp), %xmm0
subsd 0xe8(%rsp), %xmm0
movaps 0xd0b7(%rip), %xmm1     # 0x2b850
pand %xmm1, %xmm0
movsd 0xdea3(%rip), %xmm1     # 0x2c648
ucomisd %xmm1, %xmm0
jbe 0x1e7b0
jmp 0x1e912
movl $0x1, 0x104(%rsp)
movl 0x104(%rsp), %eax
cmpl 0xf8(%rsp), %eax
jge 0x1e910
movl 0xfc(%rsp), %eax
cmpl 0x136dc(%rip), %eax     # 0x31eb8
jl 0x1e804
leaq 0xdf5c(%rip), %rax      # 0x2c741
movq %rax, 0x136b4(%rip)     # 0x31ea0
movl $0xd0, 0x136a2(%rip)    # 0x31e98
leaq 0xe058(%rip), %rdi      # 0x2c855
movb $0x0, %al
callq 0x1d4c0
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm4
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm5
movl 0x104(%rsp), %edi
movl 0xf8(%rsp), %esi
movq 0x8(%rsp), %rdx
imull $0x3, 0xfc(%rsp), %eax
cltq
shlq $0x3, %rax
addq %rax, %rdx
movq 0x8(%rsp), %rcx
imull $0x3, 0xfc(%rsp), %eax
addl $0x1, %eax
cltq
shlq $0x3, %rax
addq %rax, %rcx
movq 0x8(%rsp), %r8
imull $0x3, 0xfc(%rsp), %eax
addl $0x2, %eax
cltq
shlq $0x3, %rax
addq %rax, %r8
callq 0x1df20
movl 0xfc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xfc(%rsp)
movl 0x104(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x104(%rsp)
jmp 0x1e7bb
jmp 0x1e912
movl 0x10c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c(%rsp)
jmp 0x1e67e
jmp 0x1e92a
movl 0x110(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x110(%rsp)
jmp 0x1e65f
movl $0x0, 0x110(%rsp)
cmpl $0xa, 0x110(%rsp)
jge 0x1f484
movl 0x110(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c(%rsp)
cmpl $0xb, 0x10c(%rsp)
jge 0x1f46c
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xe0(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd8(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd0(%rsp)
movsd 0xe0(%rsp), %xmm1
movsd 0xe0(%rsp), %xmm2
movsd 0xd8(%rsp), %xmm0
mulsd 0xd8(%rsp), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd 0xd0(%rsp), %xmm0
movsd 0xd0(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xe8(%rsp)
movsd 0xf0(%rsp), %xmm0
subsd 0xe8(%rsp), %xmm0
movaps 0xcdcb(%rip), %xmm1     # 0x2b850
pand %xmm1, %xmm0
movsd 0xdbb7(%rip), %xmm1     # 0x2c648
ucomisd %xmm1, %xmm0
jbe 0x1ea9c
jmp 0x1f456
movl 0x10c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x108(%rsp)
cmpl $0xc, 0x108(%rsp)
jge 0x1f454
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xe0(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd8(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd0(%rsp)
movsd 0xe0(%rsp), %xmm1
movsd 0xe0(%rsp), %xmm2
movsd 0xd8(%rsp), %xmm0
mulsd 0xd8(%rsp), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd 0xd0(%rsp), %xmm0
movsd 0xd0(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xe8(%rsp)
movsd 0xf0(%rsp), %xmm0
subsd 0xe8(%rsp), %xmm0
movaps 0xcc88(%rip), %xmm1     # 0x2b850
pand %xmm1, %xmm0
movsd 0xda74(%rip), %xmm1     # 0x2c648
ucomisd %xmm1, %xmm0
jbe 0x1ebdf
jmp 0x1f43e
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xe0(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd8(%rsp)
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xd0(%rsp)
movsd 0xe0(%rsp), %xmm1
movsd 0xe0(%rsp), %xmm2
movsd 0xd8(%rsp), %xmm0
mulsd 0xd8(%rsp), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd 0xd0(%rsp), %xmm0
movsd 0xd0(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xe8(%rsp)
movsd 0xf0(%rsp), %xmm0
subsd 0xe8(%rsp), %xmm0
movaps 0xcb64(%rip), %xmm1     # 0x2b850
pand %xmm1, %xmm0
movsd 0xd950(%rip), %xmm1     # 0x2c648
ucomisd %xmm1, %xmm0
jbe 0x1ed03
jmp 0x1f43e
movl $0x1, 0x104(%rsp)
movl 0x104(%rsp), %eax
movl 0xf8(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x1f43c
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm4
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm5
movl 0x104(%rsp), %edi
movl 0xf8(%rsp), %esi
leaq 0x80(%rsp), %rdx
leaq 0x78(%rsp), %rcx
leaq 0x70(%rsp), %r8
callq 0x1df20
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm4
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm5
movl 0x104(%rsp), %edi
movl 0xf8(%rsp), %esi
leaq 0x50(%rsp), %rdx
leaq 0x48(%rsp), %rcx
leaq 0x40(%rsp), %r8
callq 0x1df20
movl $0x1, 0x100(%rsp)
movl 0x100(%rsp), %eax
movl 0xf8(%rsp), %ecx
subl 0x104(%rsp), %ecx
cmpl %ecx, %eax
jge 0x1f424
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm4
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm5
movl 0x100(%rsp), %edi
movl 0xf8(%rsp), %esi
leaq 0x98(%rsp), %rdx
leaq 0x90(%rsp), %rcx
leaq 0x88(%rsp), %r8
callq 0x1df20
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm4
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm5
movl 0x100(%rsp), %edi
movl 0xf8(%rsp), %esi
leaq 0x20(%rsp), %rdx
leaq 0x18(%rsp), %rcx
leaq 0x10(%rsp), %r8
callq 0x1df20
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x8(%rsp), %rax
imull $0x3, 0x110(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm4
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm5
movl 0xf8(%rsp), %edi
subl 0x104(%rsp), %edi
subl 0x100(%rsp), %edi
movl 0xf8(%rsp), %esi
leaq 0x68(%rsp), %rdx
leaq 0x60(%rsp), %rcx
leaq 0x58(%rsp), %r8
callq 0x1df20
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x8(%rsp), %rax
imull $0x3, 0x10c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm4
movq 0x8(%rsp), %rax
imull $0x3, 0x108(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm5
movl 0xf8(%rsp), %edi
subl 0x104(%rsp), %edi
subl 0x100(%rsp), %edi
movl 0xf8(%rsp), %esi
leaq 0x38(%rsp), %rdx
leaq 0x30(%rsp), %rcx
leaq 0x28(%rsp), %r8
callq 0x1df20
movl 0xfc(%rsp), %eax
cmpl 0x12d2c(%rip), %eax     # 0x31eb8
jl 0x1f1b4
leaq 0xd5ac(%rip), %rax      # 0x2c741
movq %rax, 0x12d04(%rip)     # 0x31ea0
movl $0xfe, 0x12cf2(%rip)    # 0x31e98
leaq 0xd6a8(%rip), %rdi      # 0x2c855
movb $0x0, %al
callq 0x1d4c0
movsd 0x50(%rsp), %xmm0
movsd 0x48(%rsp), %xmm1
movsd 0x40(%rsp), %xmm2
movsd 0x80(%rsp), %xmm3
movsd 0x78(%rsp), %xmm4
movsd 0x70(%rsp), %xmm5
movl 0x100(%rsp), %edi
movl 0xf8(%rsp), %esi
subl 0x104(%rsp), %esi
leaq 0xe0(%rsp), %rdx
leaq 0xd8(%rsp), %rcx
leaq 0xd0(%rsp), %r8
callq 0x1df20
movsd 0x20(%rsp), %xmm0
movsd 0x18(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movsd 0x98(%rsp), %xmm3
movsd 0x90(%rsp), %xmm4
movsd 0x88(%rsp), %xmm5
movl 0x104(%rsp), %edi
movl 0xf8(%rsp), %esi
subl 0x100(%rsp), %esi
leaq 0xc8(%rsp), %rdx
leaq 0xc0(%rsp), %rcx
leaq 0xb8(%rsp), %r8
callq 0x1df20
movsd 0x38(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
movsd 0x28(%rsp), %xmm2
movsd 0x68(%rsp), %xmm3
movsd 0x60(%rsp), %xmm4
movsd 0x58(%rsp), %xmm5
movl 0x104(%rsp), %edi
movl 0x104(%rsp), %esi
addl 0x100(%rsp), %esi
leaq 0xb0(%rsp), %rdx
leaq 0xa8(%rsp), %rcx
leaq 0xa0(%rsp), %r8
callq 0x1df20
movsd 0xe0(%rsp), %xmm0
addsd 0xc8(%rsp), %xmm0
addsd 0xb0(%rsp), %xmm0
movsd %xmm0, 0xe0(%rsp)
movsd 0xd8(%rsp), %xmm0
addsd 0xc0(%rsp), %xmm0
addsd 0xa8(%rsp), %xmm0
movsd %xmm0, 0xd8(%rsp)
movsd 0xd0(%rsp), %xmm0
addsd 0xb8(%rsp), %xmm0
addsd 0xa0(%rsp), %xmm0
movsd %xmm0, 0xd0(%rsp)
movsd 0xe0(%rsp), %xmm1
movsd 0xe0(%rsp), %xmm2
movsd 0xd8(%rsp), %xmm0
mulsd 0xd8(%rsp), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd 0xd0(%rsp), %xmm0
movsd 0xd0(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x2220
movsd %xmm0, 0xe8(%rsp)
movsd 0xe0(%rsp), %xmm0
divsd 0xe8(%rsp), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0xfc(%rsp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0xd8(%rsp), %xmm0
divsd 0xe8(%rsp), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0xfc(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0xd0(%rsp), %xmm0
divsd 0xe8(%rsp), %xmm0
movq 0x8(%rsp), %rax
imull $0x3, 0xfc(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0xfc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xfc(%rsp)
movl 0x100(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x100(%rsp)
jmp 0x1ee8d
jmp 0x1f426
movl 0x104(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x104(%rsp)
jmp 0x1ed0e
jmp 0x1f43e
movl 0x108(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x108(%rsp)
jmp 0x1eaad
jmp 0x1f456
movl 0x10c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c(%rsp)
jmp 0x1e96a
jmp 0x1f46e
movl 0x110(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x110(%rsp)
jmp 0x1e94b
movl 0x12a2e(%rip), %eax     # 0x31eb8
cmpl 0xfc(%rsp), %eax
je 0x1f4c6
leaq 0xd2a7(%rip), %rax      # 0x2c741
movq %rax, 0x129ff(%rip)     # 0x31ea0
movl $0x111, 0x129ed(%rip)   # imm = 0x111
movl 0x12a07(%rip), %esi     # 0x31eb8
movl 0xfc(%rsp), %edx
leaq 0xd3bb(%rip), %rdi      # 0x2c87a
movb $0x0, %al
callq 0x1d4c0
jmp 0x1f4c8
movl 0x129ea(%rip), %eax     # 0x31eb8
addq $0x118, %rsp            # imm = 0x118
retq
nopw %cs:(%rax,%rax)