// File: /workspace/github_c_makefile_star2_O0/PoulinV[P]AxiCLASS/build/../tools/evolver_ndf15.c
// Function: numjac
int numjac(
       int (*derivs)(double x, double * y,double * dy,
             void * parameters_and_workspace, ErrorMsg error_message),
       double t, double *y, double *fval,
       struct jacobian *jac, struct numjac_workspace *nj_ws,
       double thresh, int neq, int *nfe, void * parameters_and_workspace_for_derivs,
       ErrorMsg error_message){
  /*    Routine that computes the jacobian numerically. It is based on the numjac
    implementation in MATLAB, but a feature for recognising sparsity in the
    jacobian and taking advantage of that has been added.
  */
  double eps=1e-16, br=pow(eps,0.875),bl=pow(eps,0.75),bu=pow(eps,0.25);
  double facmin=pow(eps,0.78),facmax=0.1;
  int logjpos, pattern_broken;
  double tmpfac,difmax2=0.,del2,ffscale;
  int i,j,rowmax2;
  double maxval1,maxval2;
  int colmax,group,row,nz,nz2;
  double Fdiff_absrm,Fdiff_new;
  double **dFdy,*fac;
  int *Ap=NULL, *Ai=NULL;

  dFdy = jac->dfdy; /* Assign pointer to dfdy directly for easier notation. */
  fac = jac->jacvec;
  if (jac->use_sparse){
    Ap = jac->spJ->Ap;
    Ai = jac->spJ->Ai;
  }

  /* Set new_jacobian flag: */
  jac->new_jacobian = _TRUE_;

  for(j=1;j<=neq;j++){
    nj_ws->yscale[j] = MAX(fabs(y[j]),thresh);
    nj_ws->del[j] = (y[j] + fac[j] * nj_ws->yscale[j]) - y[j];
  }

  /*Select an increment del for a difference approximation to
    column j of dFdy.  The vector fac accounts for experience
    gained in previous calls to numjac.
  */
  for(j=1;j<=neq;j++){
    if (nj_ws->del[j]==0.0){
      for(;;){
    if (fac[j] < facmax){
      fac[j] = MIN(100*fac[j],facmax);
      nj_ws->del[j] = (y[j] + fac[j]*nj_ws->yscale[j]) - y[j];
      if(nj_ws->del[j]==0.0){
        break;
      }
    }
    else{
      nj_ws->del[j] = thresh;
      break;
    }
      }
    }
  }

  /* keep del pointing into region: */
  for(j=1;j<=neq;j++){
    if (fval[j]>=0.0){
      nj_ws->del[j] = fabs(nj_ws->del[j]);
    }
    else{
      nj_ws->del[j] = -fabs(nj_ws->del[j]);
    }
  }

  /* Sparse calculation?*/
  if ((jac->use_sparse)&&(jac->repeated_pattern >= jac->trust_sparse)){
    /* printf("\n Sparse calculation..neq=%d, has grouping=%d",neq,jac->has_grouping);*/
    /* Everything done sparse'ly. Do we have a grouping? */
    if (jac->has_grouping==0){
      jac->max_group = column_grouping(jac->spJ,jac->col_group,jac->col_wi);
      jac->has_grouping = 1;
    }
    colmax = jac->max_group+1;
    /*    printf("\n                ->groups=%d/%d.",colmax,neq);  */
    for(j=1;j<=colmax;j++){
      /*loop over groups */
      group = j-1;
      for(i=1;i<=neq;i++){
        /*Add y-vector.. */
        nj_ws->ydel_Fdel[i][j] = y[i];
        /*Add del of all groupmembers:*/
        if(jac->col_group[i-1]==group) nj_ws->ydel_Fdel[i][j] +=nj_ws->del[i];
      }
    }
  }
  else{
    /*printf("\n Normal calculation..."); */
    /*Normal calculation: */
    colmax = neq;
    for(j=1;j<=neq;j++){
      for(i=1;i<=neq;i++){
        nj_ws->ydel_Fdel[i][j] = y[i];
      }
      nj_ws->ydel_Fdel[j][j] += nj_ws->del[j];
    }
  }

  /* The next section should work regardless of sparse...*/
  /* Evaluate the function at y+delta vectors:*/
  for(j=1;j<=colmax;j++){
    for(i=1;i<=neq;i++){
      nj_ws->yydel[i] = nj_ws->ydel_Fdel[i][j];
    }
    class_call((*derivs)(t,nj_ws->yydel+1,nj_ws->ffdel+1,
               parameters_and_workspace_for_derivs,error_message),
               error_message,error_message);

    *nfe+=1;
    for(i=1;i<=neq;i++) nj_ws->ydel_Fdel[i][j] = nj_ws->ffdel[i];
  }


  /*Using the Fdel array, form the jacobian and construct max-value arrays.
    First we do it for the sparse case, then for the normal case:*/
  if ((jac->use_sparse)&&(jac->repeated_pattern >= jac->trust_sparse)){
    /* Sparse case:*/
    for(j=0;j<neq;j++){
      /*Loop over columns, and assign corresponding group:*/
      group = jac->col_group[j];
      Fdiff_new = 0.0;
      Fdiff_absrm = 0.0;
      for(i=Ap[j];i<Ap[j+1];i++){
        /* Loop over rows in the sparse matrix */
        row = Ai[i]+1;
        /* Do I want to construct the full jacobian? No, that is ugly..*/
        Fdiff_absrm = MAX(Fdiff_absrm,fabs(Fdiff_new));
        Fdiff_new = nj_ws->ydel_Fdel[row][group+1]-fval[row]; /*Remember to access the column of the corresponding group */
        if (fabs(Fdiff_new)>=Fdiff_absrm){
          nj_ws->Rowmax[j+1] = row;
          nj_ws->Difmax[j+1] = Fdiff_new;
        }
        /* Assign value to sparse rep of jacobian: */
        jac->xjac[i] = Fdiff_new/nj_ws->del[j+1];
      }
      /* The maximum numerical value of Fdel in true column j+1*/
      nj_ws->absFdelRm[j+1] = fabs(nj_ws->ydel_Fdel[nj_ws->Rowmax[j+1]][group+1]);
    }
  }
  else{
    /*Normal case:*/
    for(j=1;j<=neq;j++){
      Fdiff_new = 0.0;
      Fdiff_absrm = 0.0;
      for(i=1;i<=neq;i++){
        Fdiff_absrm = MAX(fabs(Fdiff_new),Fdiff_absrm);
        Fdiff_new = nj_ws->ydel_Fdel[i][j] - fval[i];
        dFdy[i][j] = Fdiff_new/nj_ws->del[j];
        /*Find row maximums:*/
        if(fabs(Fdiff_new)>=Fdiff_absrm){
          /* Found new max location in column */
          nj_ws->Rowmax[j] = i;
          nj_ws->Difmax[j] = fabs(Fdiff_new);
        }
      }
      nj_ws->absFdelRm[j] = fabs(nj_ws->ydel_Fdel[nj_ws->Rowmax[j]][j]);
    }
  }

  /* Adjust fac for next call to numjac. */
  for(i=1;i<=neq;i++){
    nj_ws->absFvalue[i] = fabs(fval[i]);
  }
  for(j=1;j<=neq;j++){
    nj_ws->absFvalueRm[j] = nj_ws->absFvalue[nj_ws->Rowmax[j]];
  }

  logjpos = 0;
  for(j=1;j<=neq;j++){
    if (((nj_ws->absFdelRm[j]<TINY)&&(nj_ws->absFvalueRm[j] < TINY))||(fabs(nj_ws->Difmax[j])<TINY)){
      nj_ws->logj[j] = 1;/*.true.*/
      logjpos = 1;
    }
    else{
      nj_ws->logj[j] = 0;
    }
  }

  if (logjpos ==1){
    for(i=1;i<=neq;i++){
      nj_ws->yydel[i] = y[i];
      nj_ws->Fscale[i] = MAX(nj_ws->absFdelRm[i],nj_ws->absFvalueRm[i]);
    }
    /* If the difference in f values is so small that the column might be just
       ! roundoff error, try a bigger increment. */
    for(j=1;j<=neq;j++){
      if ((nj_ws->logj[j]==1)&&(nj_ws->Difmax[j]<=(br*nj_ws->Fscale[j]))){
        tmpfac = MIN(sqrt(fac[j]),facmax);
        del2 = (y[j] + tmpfac*nj_ws->yscale[j]) - y[j];
        if ((tmpfac!=fac[j])&&(del2!=0.0)){
          if (fval[j] >= 0.0){
            /*! keep del pointing into region */
            del2 = fabs(del2);
          }
          else{
            del2 = -fabs(del2);
          }
          nj_ws->yydel[j] = y[j] + del2;
          class_call((*derivs)(t,nj_ws->yydel+1,nj_ws->ffdel+1,
                     parameters_and_workspace_for_derivs,error_message),
                     error_message,error_message);
          *nfe+=1;
          nj_ws->yydel[j] = y[j];
          rowmax2 = 1;
          Fdiff_new=0.0;
          Fdiff_absrm = 0.0;
          for(i=1;i<=neq;i++){
            Fdiff_absrm = MAX(Fdiff_absrm,fabs(Fdiff_new));
            Fdiff_new = nj_ws->ffdel[i]-fval[i];
            nj_ws->tmp[i] = Fdiff_new/del2;
            if(fabs(Fdiff_new)>=Fdiff_absrm){
              rowmax2 = i;
              difmax2 = fabs(Fdiff_new);
            }
          }
          maxval1 = difmax2*fabs(del2)*tmpfac;
          maxval2 = nj_ws->Difmax[j]*fabs(nj_ws->del[j]);
          if(maxval1>=maxval2){
            /* The new difference is more significant, so
               use the column computed with this increment.
               This depends on wether we are in sparse mode or not: */
            if ((jac->use_sparse)&&(jac->repeated_pattern >= jac->trust_sparse)){
              for(i=Ap[j-1];i<Ap[j];i++) jac->xjac[i]=nj_ws->tmp[Ai[i]+1];
            }
            else{
              for(i=1;i<=neq;i++) dFdy[i][j]=nj_ws->tmp[i];
            }
            /* Adjust fac for the next call to numjac. */
            ffscale = MAX(fabs(nj_ws->ffdel[rowmax2]),nj_ws->absFvalue[rowmax2]);
            if (difmax2 <= bl*ffscale){
              /* The difference is small, so increase the increment. */
              fac[j] = MIN(10*tmpfac, facmax);
            }
            else if(difmax2 > bu*ffscale){
              /* The difference is large, so reduce the increment. */
              fac[j] = MAX(0.1*tmpfac, facmin);
            }
            else{
              fac[j] = tmpfac;
            }
          }
        }
      }
    }
  }
  /* If use_sparse is true but I still don't trust the sparsity pattern, go through the full calculated jacobi-
     matrix, deduce the sparsity pattern, compare with the old pattern, and write the new sparse Jacobi matrix.
     If I do this cleverly, I only have to walk through the jacobian once, and I don't need any local storage.*/

  if ((jac->use_sparse)&&(jac->repeated_pattern < jac->trust_sparse)){
    nz=0; /*Number of non-zeros */
    Ap[0]=0; /*<-Always is.. */
    pattern_broken = _FALSE_;
    for(j=1;j<=neq;j++){
      for(i=1;i<=neq;i++){
        if ((i==j)||(fabs(dFdy[i][j])!=0.0)){
          /* Diagonal or non-zero index found. */
          if (nz>=jac->max_nonzero){
            /* Too many non-zero points to take advantage of sparsity.*/
            jac->use_sparse = 0;
            break;
          }
          /* Test pattern if it is still unbroken: */
          /* Two conditions must be met if the pattern is intact: Ap[j-1]<=nz<Ap[j],
             so that we are in the right column, and (i-1) must exist in column. Ai[nz]*/
          /* We should first test if nz is in the column, otherwise pattern is dead:*/
          if ((pattern_broken==_FALSE_)&&(jac->has_pattern==_TRUE_)){
            if ((nz<Ap[j-1])||(nz>=Ap[j])){
              /* If we are no longer in the right column, pattern is broken for sure. */
              pattern_broken = _TRUE_;
            }
          }
          if ((pattern_broken==_FALSE_)&&(jac->has_pattern==_TRUE_)){
            /* Up to this point, the new jacobian has managed to fit in the old
               sparsity pattern..*/
            if (Ai[nz]!=(i-1)){
              /* The current non-zero rownumber does not fit the current entry in the
             sparse matrix. Pattern MIGHT be broken. Scan ahead in the sparse matrix
             to search for the row entry: (Remember: the indices are sorted..)*/
              pattern_broken = _TRUE_;
              for(nz2=nz; (nz2<Ap[j])&&(Ai[nz2]<=(i-1)); nz2++){
            /* Go through the rest of the column with the added constraint that
               the row index in the sparse matrix should be smaller than the current
               row index i-1:*/
            if (Ai[nz2]==(i-1)){
              /* sparsity pattern recovered.. */
              pattern_broken = _FALSE_;
              nz = nz2;
              break;
            }
            /* Write a zero entry in the sparse matrix, in case we recover pattern. */
            jac->xjac[nz2] = 0.0;
              }
            }
          }
          /* The following works no matter the status of the pattern: */
          /* Write row_number: */
          Ai[nz] = i-1;
          /* Write value: */
          jac->xjac[nz] = dFdy[i][j];
          nz++;
        }
      }
      /* Break this loop too if I have hit max non-zero points: */
      if (jac->use_sparse==_FALSE_) break;
      Ap[j]=nz;
    }
    if (jac->use_sparse==_TRUE_){
      if ((jac->has_pattern==_TRUE_)&&(pattern_broken==_FALSE_)){
        /*New jacobian fitted into the current sparsity pattern:*/
        jac->repeated_pattern++;
        /* printf("\n Found repeated pattern. nz=%d/%d and
           rep.pat=%d.",nz,neq*neq,jac->repeated_pattern); */
      }
      else{
        /*Something has changed (or first run), better still do the full calculation..*/
        jac->repeated_pattern = 0;
      }
      jac->has_pattern = 1;
    }
  }
  return _SUCCESS_;
}

// Assembly:
subq $0x1168, %rsp           # imm = 0x1168
movq 0x1180(%rsp), %rax
movq 0x1178(%rsp), %rax
movq 0x1170(%rsp), %rax
movq %rdi, 0x1158(%rsp)
movsd %xmm0, 0x1150(%rsp)
movq %rsi, 0x1148(%rsp)
movq %rdx, 0x1140(%rsp)
movq %rcx, 0x1138(%rsp)
movq %r8, 0x1130(%rsp)
movsd %xmm1, 0x1128(%rsp)
movl %r9d, 0x1124(%rsp)
movsd 0x1be18f(%rip), %xmm0   # 0x1d2c08
movsd %xmm0, 0x1118(%rsp)
movsd 0x1118(%rsp), %xmm0
movsd 0x1bd805(%rip), %xmm1   # 0x1d2298
callq 0x8610
movsd %xmm0, 0x1110(%rsp)
movsd 0x1118(%rsp), %xmm0
movsd 0x1be216(%rip), %xmm1   # 0x1d2cc8
callq 0x8610
movsd %xmm0, 0x1108(%rsp)
movsd 0x1118(%rsp), %xmm0
movsd 0x1be1ef(%rip), %xmm1   # 0x1d2cc0
callq 0x8610
movsd %xmm0, 0x1100(%rsp)
movsd 0x1118(%rsp), %xmm0
movsd 0x1be1c8(%rip), %xmm1   # 0x1d2cb8
callq 0x8610
movsd %xmm0, 0x10f8(%rsp)
movsd 0x1bd75a(%rip), %xmm0   # 0x1d2260
movsd %xmm0, 0x10f0(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x10d8(%rsp)
movq $0x0, 0x1068(%rsp)
movq $0x0, 0x1060(%rsp)
movq 0x1138(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x1078(%rsp)
movq 0x1138(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x1070(%rsp)
movq 0x1138(%rsp), %rax
cmpl $0x0, 0x28(%rax)
je 0x14b98
movq 0x1138(%rsp), %rax
movq 0x68(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1068(%rsp)
movq 0x1138(%rsp), %rax
movq 0x68(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, 0x1060(%rsp)
movq 0x1138(%rsp), %rax
movl $0x1, 0x44(%rax)
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x14cd8
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movaps 0x1bd64e(%rip), %xmm0   # 0x1d2230
pand %xmm0, %xmm1
movsd 0x1128(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x14c06
movsd 0x1128(%rsp), %xmm0
movsd %xmm0, 0x58(%rsp)
jmp 0x14c2c
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bd60e(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movsd %xmm0, 0x58(%rsp)
movsd 0x58(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq (%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq (%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x14bb2
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x14eab
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x14e93
jp 0x14e93
jmp 0x14d25
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd 0x10f0(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x14e68
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd 0x1bdef3(%rip), %xmm1   # 0x1d2c58
mulsd (%rax,%rcx,8), %xmm1
movsd 0x10f0(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x14d9e
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd 0x1bdec7(%rip), %xmm0   # 0x1d2c58
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x50(%rsp)
jmp 0x14dad
movsd 0x10f0(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
movsd 0x50(%rsp), %xmm0
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq (%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x14e66
jp 0x14e66
jmp 0x14e91
jmp 0x14e8c
movsd 0x1128(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x14e91
jmp 0x14d25
jmp 0x14e93
jmp 0x14e95
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x14ce3
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x14f93
movq 0x1140(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x14f27
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bd328(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x14f7b
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bd2e9(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x14f7d
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x14eb6
movq 0x1138(%rsp), %rax
cmpl $0x0, 0x28(%rax)
je 0x1514f
movq 0x1138(%rsp), %rax
movl 0x34(%rax), %eax
movq 0x1138(%rsp), %rcx
cmpl 0x38(%rcx), %eax
jl 0x1514f
movq 0x1138(%rsp), %rax
cmpl $0x0, 0x3c(%rax)
jne 0x15014
movq 0x1138(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x1138(%rsp), %rax
movq 0x50(%rax), %rsi
movq 0x1138(%rsp), %rax
movq 0x58(%rax), %rdx
callq 0xcc40
movl %eax, %ecx
movq 0x1138(%rsp), %rax
movl %ecx, 0x60(%rax)
movq 0x1138(%rsp), %rax
movl $0x1, 0x3c(%rax)
movq 0x1138(%rsp), %rax
movl 0x60(%rax), %eax
addl $0x1, %eax
movl %eax, 0x10a4(%rsp)
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x10a4(%rsp), %eax
jg 0x1514a
movl 0x10c0(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x10a0(%rsp)
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x15132
movq 0x1148(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1138(%rsp), %rax
movq 0x50(%rax), %rax
movl 0x10c4(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cmpl 0x10a0(%rsp), %eax
jne 0x1511a
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
jmp 0x1511c
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x15064
jmp 0x15134
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x15034
jmp 0x1523f
movl 0x1124(%rsp), %eax
movl %eax, 0x10a4(%rsp)
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x1523d
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x151e4
movq 0x1148(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x15187
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x15168
jmp 0x1523f
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x10a4(%rsp), %eax
jg 0x15404
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x152ca
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x40(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x15269
movq 0x1158(%rsp), %rax
movsd 0x1150(%rsp), %xmm0
movq 0x1130(%rsp), %rcx
movq 0x40(%rcx), %rdi
addq $0x8, %rdi
movq 0x1130(%rsp), %rcx
movq 0x38(%rcx), %rsi
addq $0x8, %rsi
movq 0x1178(%rsp), %rdx
movq 0x1180(%rsp), %rcx
callq *%rax
cmpl $0x1, %eax
jne 0x15371
leaq 0x860(%rsp), %rdi
movq 0x1180(%rsp), %rcx
leaq 0x1bd0af(%rip), %rsi    # 0x1d23d8
leaq 0x1be02b(%rip), %rdx    # 0x1d335b
movb $0x0, %al
callq 0x5b9c0
movq 0x1180(%rsp), %rdi
leaq 0x860(%rsp), %r8
leaq 0x1bcce6(%rip), %rsi    # 0x1d2034
leaq 0x1be064(%rip), %rdx    # 0x1d33b9
movl $0x51a, %ecx            # imm = 0x51A
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x1164(%rsp)
jmp 0x1679d
movq 0x1170(%rsp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x153ec
movq 0x1130(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x1538b
jmp 0x153ee
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x1524a
movq 0x1138(%rsp), %rax
cmpl $0x0, 0x28(%rax)
je 0x156ca
movq 0x1138(%rsp), %rax
movl 0x34(%rax), %eax
movq 0x1138(%rsp), %rcx
cmpl 0x38(%rcx), %eax
jl 0x156ca
movl $0x0, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jge 0x156c5
movq 0x1138(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x10a0(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x1080(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x1088(%rsp)
movq 0x1068(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
movq 0x1068(%rsp), %rcx
movl 0x10c0(%rsp), %edx
addl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x15647
movq 0x1060(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movl (%rax,%rcx,4), %eax
addl $0x1, %eax
movl %eax, 0x109c(%rsp)
movsd 0x1088(%rsp), %xmm1
movsd 0x1080(%rsp), %xmm0
movaps 0x1bcd34(%rip), %xmm2   # 0x1d2230
pand %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jbe 0x15522
movsd 0x1080(%rsp), %xmm0
movaps 0x1bcd1a(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movsd %xmm0, 0x48(%rsp)
jmp 0x15531
movsd 0x1088(%rsp), %xmm0
movsd %xmm0, 0x48(%rsp)
movsd 0x48(%rsp), %xmm0
movsd %xmm0, 0x1088(%rsp)
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x109c(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movl 0x10a0(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1140(%rsp), %rax
movslq 0x109c(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x1080(%rsp)
movsd 0x1080(%rsp), %xmm0
movaps 0x1bcc98(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
ucomisd 0x1088(%rsp), %xmm0
jb 0x155f1
movl 0x109c(%rsp), %edx
movq 0x1130(%rsp), %rax
movq 0x60(%rax), %rax
movl 0x10c0(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movsd 0x1080(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x10(%rax), %rax
movl 0x10c0(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x1080(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x10c0(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
divsd (%rax,%rcx,8), %xmm0
movq 0x1138(%rsp), %rax
movq 0x70(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x154a1
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movq 0x1130(%rsp), %rcx
movq 0x60(%rcx), %rcx
movl 0x10c0(%rsp), %edx
addl $0x1, %edx
movslq %edx, %rdx
movslq (%rcx,%rdx,4), %rcx
movq (%rax,%rcx,8), %rax
movl 0x10a0(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bcba3(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movq 0x1130(%rsp), %rax
movq 0x18(%rax), %rax
movl 0x10c0(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x1543d
jmp 0x158f6
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x158f4
xorps %xmm0, %xmm0
movsd %xmm0, 0x1080(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x1088(%rsp)
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x15885
movsd 0x1080(%rsp), %xmm1
movaps 0x1bcb00(%rip), %xmm0   # 0x1d2230
pand %xmm0, %xmm1
movsd 0x1088(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x15754
movsd 0x1088(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
jmp 0x1576e
movsd 0x1080(%rsp), %xmm0
movaps 0x1bcacc(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movsd %xmm0, 0x40(%rsp)
movsd 0x40(%rsp), %xmm0
movsd %xmm0, 0x1088(%rsp)
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1140(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x1080(%rsp)
movsd 0x1080(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
divsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x1080(%rsp), %xmm0
movaps 0x1bca1d(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
ucomisd 0x1088(%rsp), %xmm0
jb 0x1586d
movl 0x10c4(%rsp), %edx
movq 0x1130(%rsp), %rax
movq 0x60(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movsd 0x1080(%rsp), %xmm0
movaps 0x1bc9e0(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movq 0x1130(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x1586f
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x1570c
movq 0x1130(%rsp), %rax
movq 0x50(%rax), %rax
movq 0x1130(%rsp), %rcx
movq 0x60(%rcx), %rcx
movslq 0x10c0(%rsp), %rdx
movslq (%rcx,%rdx,4), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bc96f(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movq 0x1130(%rsp), %rax
movq 0x18(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x156d5
jmp 0x158f6
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x1595d
movq 0x1140(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bc903(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movq 0x1130(%rsp), %rax
movq 0x20(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x15901
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x159cd
movq 0x1130(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x1130(%rsp), %rcx
movq 0x60(%rcx), %rcx
movslq 0x10c0(%rsp), %rdx
movslq (%rcx,%rdx,4), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x28(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x15968
movl $0x0, 0x10ec(%rsp)
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x15aca
movq 0x1130(%rsp), %rax
movq 0x18(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd 0x1bd2bd(%rip), %xmm0   # 0x1d2cd0
ucomisd (%rax,%rcx,8), %xmm0
jbe 0x15a3d
movq 0x1130(%rsp), %rax
movq 0x28(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd 0x1bd29a(%rip), %xmm0   # 0x1d2cd0
ucomisd (%rax,%rcx,8), %xmm0
ja 0x15a6f
movq 0x1130(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movaps 0x1bc7d3(%rip), %xmm0   # 0x1d2230
pand %xmm0, %xmm1
movsd 0x1bd267(%rip), %xmm0   # 0x1d2cd0
ucomisd %xmm1, %xmm0
jbe 0x15a97
movq 0x1130(%rsp), %rax
movq 0x58(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movl $0x1, (%rax,%rcx,4)
movl $0x1, 0x10ec(%rsp)
jmp 0x15ab2
movq 0x1130(%rsp), %rax
movq 0x58(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movl $0x0, (%rax,%rcx,4)
jmp 0x15ab4
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x159e3
cmpl $0x1, 0x10ec(%rsp)
jne 0x163f1
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x15bd2
movq 0x1148(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x40(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1130(%rsp), %rax
movq 0x18(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1130(%rsp), %rax
movq 0x28(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x15b7e
movq 0x1130(%rsp), %rax
movq 0x28(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x38(%rsp)
jmp 0x15b9d
movq 0x1130(%rsp), %rax
movq 0x18(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x38(%rsp)
movsd 0x38(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x15ae3
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x163ef
movq 0x1130(%rsp), %rax
movq 0x58(%rax), %rax
movslq 0x10c0(%rsp), %rcx
cmpl $0x1, (%rax,%rcx,4)
jne 0x163d7
movq 0x1130(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd 0x1110(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x10c0(%rsp), %rcx
mulsd (%rax,%rcx,8), %xmm0
ucomisd %xmm1, %xmm0
jb 0x163d7
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
callq 0x82e0
movaps %xmm0, %xmm1
movsd 0x10f0(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x15ca2
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
callq 0x82e0
movsd %xmm0, 0x30(%rsp)
jmp 0x15cb1
movsd 0x10f0(%rsp), %xmm0
movsd %xmm0, 0x30(%rsp)
movsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x10e0(%rsp)
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd 0x10e0(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq (%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x10d0(%rsp)
movsd 0x10e0(%rsp), %xmm0
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
ucomisd (%rax,%rcx,8), %xmm0
jne 0x15d43
jp 0x15d43
jmp 0x163d5
movsd 0x10d0(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x15d5c
jp 0x15d5c
jmp 0x163d5
movq 0x1140(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x15d99
movsd 0x10d0(%rsp), %xmm0
movaps 0x1bc4a6(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movsd %xmm0, 0x10d0(%rsp)
jmp 0x15dcd
movsd 0x10d0(%rsp), %xmm0
movaps 0x1bc487(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, 0x10d0(%rsp)
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
addsd 0x10d0(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x40(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1158(%rsp), %rax
movsd 0x1150(%rsp), %xmm0
movq 0x1130(%rsp), %rcx
movq 0x40(%rcx), %rdi
addq $0x8, %rdi
movq 0x1130(%rsp), %rcx
movq 0x38(%rcx), %rsi
addq $0x8, %rsi
movq 0x1178(%rsp), %rdx
movq 0x1180(%rsp), %rcx
callq *%rax
cmpl $0x1, %eax
jne 0x15ea5
leaq 0x60(%rsp), %rdi
movq 0x1180(%rsp), %rcx
leaq 0x1bc578(%rip), %rsi    # 0x1d23d8
leaq 0x1bd4f4(%rip), %rdx    # 0x1d335b
movb $0x0, %al
callq 0x5b9c0
movq 0x1180(%rsp), %rdi
leaq 0x60(%rsp), %r8
leaq 0x1bc1b2(%rip), %rsi    # 0x1d2034
leaq 0x1bd530(%rip), %rdx    # 0x1d33b9
movl $0x578, %ecx            # imm = 0x578
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x1164(%rsp)
jmp 0x1679d
movq 0x1170(%rsp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
movq 0x1148(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x40(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl $0x1, 0x10bc(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x1080(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x1088(%rsp)
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x16045
movsd 0x1088(%rsp), %xmm1
movsd 0x1080(%rsp), %xmm0
movaps 0x1bc2f3(%rip), %xmm2   # 0x1d2230
pand %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jbe 0x15f63
movsd 0x1080(%rsp), %xmm0
movaps 0x1bc2d9(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movsd %xmm0, 0x28(%rsp)
jmp 0x15f72
movsd 0x1088(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
movsd 0x28(%rsp), %xmm0
movsd %xmm0, 0x1088(%rsp)
movq 0x1130(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1140(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x1080(%rsp)
movsd 0x1080(%rsp), %xmm0
divsd 0x10d0(%rsp), %xmm0
movq 0x1130(%rsp), %rax
movq 0x48(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x1080(%rsp), %xmm0
movaps 0x1bc23d(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
ucomisd 0x1088(%rsp), %xmm0
jb 0x1602d
movl 0x10c4(%rsp), %eax
movl %eax, 0x10bc(%rsp)
movsd 0x1080(%rsp), %xmm0
movaps 0x1bc210(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movsd %xmm0, 0x10d8(%rsp)
jmp 0x1602f
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x15f10
movsd 0x10d8(%rsp), %xmm0
movsd 0x10d0(%rsp), %xmm1
movaps 0x1bc1d2(%rip), %xmm2   # 0x1d2230
pand %xmm2, %xmm1
mulsd %xmm1, %xmm0
mulsd 0x10e0(%rsp), %xmm0
movsd %xmm0, 0x10b0(%rsp)
movq 0x1130(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1130(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movaps 0x1bc17f(%rip), %xmm2   # 0x1d2230
pand %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0x10a8(%rsp)
movsd 0x10b0(%rsp), %xmm0
ucomisd 0x10a8(%rsp), %xmm0
jb 0x163d3
movq 0x1138(%rsp), %rax
cmpl $0x0, 0x28(%rax)
je 0x1619b
movq 0x1138(%rsp), %rax
movl 0x34(%rax), %eax
movq 0x1138(%rsp), %rcx
cmpl 0x38(%rcx), %eax
jl 0x1619b
movq 0x1068(%rsp), %rax
movl 0x10c0(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
movq 0x1068(%rsp), %rcx
movslq 0x10c0(%rsp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x16199
movq 0x1130(%rsp), %rax
movq 0x48(%rax), %rax
movq 0x1060(%rsp), %rcx
movslq 0x10c4(%rsp), %rdx
movl (%rcx,%rdx,4), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1138(%rsp), %rax
movq 0x70(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x16127
jmp 0x16205
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x16203
movq 0x1130(%rsp), %rax
movq 0x48(%rax), %rax
movslq 0x10c4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x161a6
jmp 0x16205
movq 0x1130(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x10bc(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movaps 0x1bc00b(%rip), %xmm0   # 0x1d2230
pand %xmm0, %xmm1
movq 0x1130(%rsp), %rax
movq 0x20(%rax), %rax
movslq 0x10bc(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x16269
movq 0x1130(%rsp), %rax
movq 0x20(%rax), %rax
movslq 0x10bc(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x20(%rsp)
jmp 0x16293
movq 0x1130(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x10bc(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bbfa7(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
movsd %xmm0, 0x20(%rsp)
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x10c8(%rsp)
movsd 0x10d8(%rsp), %xmm1
movsd 0x1108(%rsp), %xmm0
mulsd 0x10c8(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jb 0x1632b
movsd 0x1bc515(%rip), %xmm1   # 0x1d27e0
mulsd 0x10e0(%rsp), %xmm1
movsd 0x10f0(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x162fc
movsd 0x1bc4f5(%rip), %xmm0   # 0x1d27e0
mulsd 0x10e0(%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
jmp 0x1630b
movsd 0x10f0(%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd 0x18(%rsp), %xmm0
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x163d1
movsd 0x10d8(%rsp), %xmm0
movsd 0x1100(%rsp), %xmm1
mulsd 0x10c8(%rsp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x163b1
movsd 0x1bbf0c(%rip), %xmm1   # 0x1d2260
mulsd 0x10e0(%rsp), %xmm1
movsd 0x10f8(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x1637d
movsd 0x10f8(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
jmp 0x16394
movsd 0x1bbedb(%rip), %xmm0   # 0x1d2260
mulsd 0x10e0(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd 0x10(%rsp), %xmm0
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x163cf
movsd 0x10e0(%rsp), %xmm0
movq 0x1070(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x163d1
jmp 0x163d3
jmp 0x163d5
jmp 0x163d7
jmp 0x163d9
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x15bdd
jmp 0x163f1
movq 0x1138(%rsp), %rax
cmpl $0x0, 0x28(%rax)
je 0x16792
movq 0x1138(%rsp), %rax
movl 0x34(%rax), %eax
movq 0x1138(%rsp), %rcx
cmpl 0x38(%rcx), %eax
jge 0x16792
movl $0x0, 0x1098(%rsp)
movq 0x1068(%rsp), %rax
movl $0x0, (%rax)
movl $0x0, 0x10e8(%rsp)
movl $0x1, 0x10c0(%rsp)
movl 0x10c0(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x16739
movl $0x1, 0x10c4(%rsp)
movl 0x10c4(%rsp), %eax
cmpl 0x1124(%rsp), %eax
jg 0x166f9
movl 0x10c4(%rsp), %eax
cmpl 0x10c0(%rsp), %eax
je 0x164cd
movq 0x1078(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movaps 0x1bbd77(%rip), %xmm1   # 0x1d2230
pand %xmm1, %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x164cd
jp 0x164cd
jmp 0x166e1
movl 0x1098(%rsp), %eax
movq 0x1138(%rsp), %rcx
cmpl 0x30(%rcx), %eax
jl 0x164f5
movq 0x1138(%rsp), %rax
movl $0x0, 0x28(%rax)
jmp 0x166f9
cmpl $0x0, 0x10e8(%rsp)
jne 0x16557
movq 0x1138(%rsp), %rax
cmpl $0x1, 0x40(%rax)
jne 0x16557
movl 0x1098(%rsp), %eax
movq 0x1068(%rsp), %rcx
movl 0x10c0(%rsp), %edx
subl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jl 0x1654a
movl 0x1098(%rsp), %eax
movq 0x1068(%rsp), %rcx
movslq 0x10c0(%rsp), %rdx
cmpl (%rcx,%rdx,4), %eax
jl 0x16555
movl $0x1, 0x10e8(%rsp)
jmp 0x16557
cmpl $0x0, 0x10e8(%rsp)
jne 0x16679
movq 0x1138(%rsp), %rax
cmpl $0x1, 0x40(%rax)
jne 0x16679
movq 0x1060(%rsp), %rax
movslq 0x1098(%rsp), %rcx
movl (%rax,%rcx,4), %eax
movl 0x10c4(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
je 0x16677
movl $0x1, 0x10e8(%rsp)
movl 0x1098(%rsp), %eax
movl %eax, 0x1094(%rsp)
movl 0x1094(%rsp), %ecx
movq 0x1068(%rsp), %rdx
movslq 0x10c0(%rsp), %rsi
xorl %eax, %eax
cmpl (%rdx,%rsi,4), %ecx
movb %al, 0xf(%rsp)
jge 0x165fd
movq 0x1060(%rsp), %rax
movslq 0x1094(%rsp), %rcx
movl (%rax,%rcx,4), %eax
movl 0x10c4(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
setle %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x16607
jmp 0x16675
movq 0x1060(%rsp), %rax
movslq 0x1094(%rsp), %rcx
movl (%rax,%rcx,4), %eax
movl 0x10c4(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x16643
movl $0x0, 0x10e8(%rsp)
movl 0x1094(%rsp), %eax
movl %eax, 0x1098(%rsp)
jmp 0x16675
movq 0x1138(%rsp), %rax
movq 0x70(%rax), %rax
movslq 0x1094(%rsp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x1094(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1094(%rsp)
jmp 0x165b5
jmp 0x16677
jmp 0x16679
movl 0x10c4(%rsp), %edx
subl $0x1, %edx
movq 0x1060(%rsp), %rax
movslq 0x1098(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movq 0x1078(%rsp), %rax
movslq 0x10c4(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x10c0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1138(%rsp), %rax
movq 0x70(%rax), %rax
movslq 0x1098(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x1098(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1098(%rsp)
jmp 0x166e3
movl 0x10c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c4(%rsp)
jmp 0x1646d
movq 0x1138(%rsp), %rax
cmpl $0x0, 0x28(%rax)
jne 0x16709
jmp 0x16739
movl 0x1098(%rsp), %edx
movq 0x1068(%rsp), %rax
movslq 0x10c0(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x10c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c0(%rsp)
jmp 0x1644e
movq 0x1138(%rsp), %rax
cmpl $0x1, 0x28(%rax)
jne 0x16790
movq 0x1138(%rsp), %rax
cmpl $0x1, 0x40(%rax)
jne 0x16772
cmpl $0x0, 0x10e8(%rsp)
jne 0x16772
movq 0x1138(%rsp), %rax
movl 0x34(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x34(%rax)
jmp 0x16781
movq 0x1138(%rsp), %rax
movl $0x0, 0x34(%rax)
movq 0x1138(%rsp), %rax
movl $0x1, 0x40(%rax)
jmp 0x16792
movl $0x0, 0x1164(%rsp)
movl 0x1164(%rsp), %eax
addq $0x1168, %rsp           # imm = 0x1168
retq
nopl (%rax)