// File: /workspace/github_c_makefile_star2_O2/PoulinV[P]AxiCLASS/build/../source/transfer.c
// Function: transfer_radial_function
int transfer_radial_function(
                             struct transfer_workspace * ptw,
                             struct perturbations * ppt,
                             struct transfer * ptr,
                             double k,
                             int index_q,
                             int index_l,
                             int x_size,
                             double * radial_function,
                             radial_function_type radial_type
                             ){

  HyperInterpStruct * pHIS;
  double *chi = ptw->chi;
  double *cscKgen = ptw->cscKgen;
  double *cotKgen = ptw->cotKgen;
  int j;
  double *Phi, *dPhi, *d2Phi, *chireverse;
  double K=0.,k2=1.0;
  double sqrt_absK_over_k;
  double absK_over_k2;
  double nu=0., chi_tp=0.;
  double factor, s0, s2, ssqrt3, si, ssqrt2, ssqrt2i;
  double l = (double)ptr->l[index_l];
  double rescale_argument;
  double rescale_amplitude;
  double* rescale_function;
  int (*interpolate_Phi)(HyperInterpStruct*, int, int, double*, double*, char*);
  int (*interpolate_dPhi)(HyperInterpStruct*, int, int, double*, double*, char*);
  int (*interpolate_Phid2Phi)(HyperInterpStruct*, int, int, double*, double*, double*, char*);
  int (*interpolate_PhidPhi)(HyperInterpStruct*, int, int, double*, double*, double*, char*);
  int (*interpolate_PhidPhid2Phi)(HyperInterpStruct*, int, int, double*, double*, double*, double*, char*);
  enum Hermite_Interpolation_Order HIorder;

  K = ptw->K;
  k2 = k*k;

  if (ptw->sgnK==0){
    /* This is the choice consistent with chi=k*(tau0-tau) and nu=1 */
    sqrt_absK_over_k = 1.0;
  }
  else {
    K=ptw->K;
    sqrt_absK_over_k = sqrt(ptw->sgnK*K)/k;
  }
  absK_over_k2 =sqrt_absK_over_k*sqrt_absK_over_k;

  class_alloc(Phi,sizeof(double)*x_size,ptr->error_message);
  class_alloc(dPhi,sizeof(double)*x_size,ptr->error_message);
  class_alloc(d2Phi,sizeof(double)*x_size,ptr->error_message);
  class_alloc(chireverse,sizeof(double)*x_size,ptr->error_message);
  class_alloc(rescale_function,sizeof(double)*x_size,ptr->error_message);

  if (ptw->sgnK == 0) {
    pHIS = ptw->pBIS;
    rescale_argument = 1.;
    rescale_amplitude = 1.;
    HIorder = HERMITE4;
  }
  else if (index_q < ptr->index_q_flat_approximation) {
    pHIS = &(ptw->HIS);
    rescale_argument = 1.;
    rescale_amplitude = 1.;
    HIorder = HERMITE6;
  }
  else {
    pHIS = ptw->pBIS;
    if (ptw->sgnK == 1){
      nu = ptr->q[index_q]/sqrt(K);
      chi_tp = asin(sqrt(ptr->l[index_l]*(ptr->l[index_l]+1.))/nu);
    }
    else{
      nu = ptr->q[index_q]/sqrt(-K);
      chi_tp = asinh(sqrt(ptr->l[index_l]*(ptr->l[index_l]+1.))/nu);
    }
    rescale_argument = sqrt(ptr->l[index_l]*(ptr->l[index_l]+1.))/chi_tp;
    rescale_amplitude = pow(1.-K*ptr->l[index_l]*(ptr->l[index_l]+1.)/ptr->q[index_q]/ptr->q[index_q],-1./12.);
    HIorder = HERMITE4;
  }

  switch (HIorder){
  case HERMITE3:
    interpolate_Phi = hyperspherical_Hermite3_interpolation_vector_Phi;
    interpolate_dPhi = hyperspherical_Hermite3_interpolation_vector_dPhi;
    interpolate_PhidPhi = hyperspherical_Hermite3_interpolation_vector_PhidPhi;
    interpolate_Phid2Phi = hyperspherical_Hermite3_interpolation_vector_Phid2Phi;
    interpolate_PhidPhid2Phi = hyperspherical_Hermite3_interpolation_vector_PhidPhid2Phi;
    break;
  case HERMITE4:
    interpolate_Phi = hyperspherical_Hermite4_interpolation_vector_Phi;
    interpolate_dPhi = hyperspherical_Hermite4_interpolation_vector_dPhi;
    interpolate_PhidPhi = hyperspherical_Hermite4_interpolation_vector_PhidPhi;
    interpolate_Phid2Phi = hyperspherical_Hermite4_interpolation_vector_Phid2Phi;
    interpolate_PhidPhid2Phi = hyperspherical_Hermite4_interpolation_vector_PhidPhid2Phi;
    break;
  case HERMITE6:
    interpolate_Phi = hyperspherical_Hermite6_interpolation_vector_Phi;
    interpolate_dPhi = hyperspherical_Hermite6_interpolation_vector_dPhi;
    interpolate_PhidPhi = hyperspherical_Hermite6_interpolation_vector_PhidPhi;
    interpolate_Phid2Phi = hyperspherical_Hermite6_interpolation_vector_Phid2Phi;
    interpolate_PhidPhid2Phi = hyperspherical_Hermite6_interpolation_vector_PhidPhid2Phi;
    break;
  }

  //Reverse chi
  for (j=0; j<x_size; j++) {
    chireverse[j] = chi[x_size-1-j]*rescale_argument;
    if (rescale_amplitude == 1.) {
      rescale_function[j] = 1.;
    }
    else {
      if (ptw->sgnK == 1) {
        rescale_function[j] =
          MIN(
              rescale_amplitude
              * (1
                 + 0.34 * atan(ptr->l[index_l]/nu) * (chireverse[j]/rescale_argument-chi_tp)
                 + 2.00 * pow(atan(ptr->l[index_l]/nu) * (chireverse[j]/rescale_argument-chi_tp),2)),
              chireverse[j]/rescale_argument/sin(chireverse[j]/rescale_argument)
              );
      }
      else {
        rescale_function[j] =
          MAX(
              rescale_amplitude
              * (1
                 - 0.38 * atan(ptr->l[index_l]/nu) * (chireverse[j]/rescale_argument-chi_tp)
                 + 0.40 * pow(atan(ptr->l[index_l]/nu) * (chireverse[j]/rescale_argument-chi_tp),2)),
              chireverse[j]/rescale_argument/sinh(chireverse[j]/rescale_argument)
              );
      }
    }
  }

  /*
    class_test(pHIS->x[0] > chireverse[0],
    ptr->error_message,
    "Bessels need to be interpolated at %e, outside the range in which they have been computed (>%e). Decrease their x_min.",
    chireverse[0],
    pHIS->x[0]);
  */

  class_test((pHIS->x[pHIS->x_size-1] < chireverse[x_size-1]) && (ptw->sgnK != 1),
             ptr->error_message,
             "Bessels need to be interpolated at %e, outside the range in which they have been computed (<%e). Increase their x_max.",
             chireverse[x_size-1],
             pHIS->x[pHIS->x_size-1]
             );

  switch (radial_type){
  case SCALAR_TEMPERATURE_0:
    class_call(interpolate_Phi(pHIS, x_size, index_l, chireverse, Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, NULL);
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = Phi[j]*rescale_function[j];
    break;
  case SCALAR_TEMPERATURE_1:
    class_call(interpolate_dPhi(pHIS, x_size, index_l, chireverse, dPhi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, NULL, dPhi, NULL);
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = sqrt_absK_over_k*dPhi[j]*rescale_argument*rescale_function[j];
    break;
  case SCALAR_TEMPERATURE_2:
    class_call(interpolate_Phid2Phi(pHIS, x_size, index_l, chireverse, Phi, d2Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, d2Phi);
    s2 = sqrt(1.0-3.0*K/k2);
    factor = 1.0/(2.0*s2);
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*(3*absK_over_k2*d2Phi[j]*rescale_argument*rescale_argument+Phi[j])*rescale_function[j];
    break;
  case SCALAR_POLARISATION_E:
    class_call(interpolate_Phi(pHIS, x_size, index_l, chireverse, Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, NULL);
    s2 = sqrt(1.0-3.0*K/k2);
    factor = sqrt(3.0/8.0*(l+2.0)*(l+1.0)*l*(l-1.0))/s2;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*cscKgen[x_size-1-j]*cscKgen[x_size-1-j]*Phi[j]*rescale_function[j];
    break;
  case VECTOR_TEMPERATURE_1:
    class_call(interpolate_Phi(pHIS, x_size, index_l, chireverse, Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, NULL);
    s0 = sqrt(1.0+K/k2);
    factor = sqrt(0.5*l*(l+1))/s0;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*cscKgen[x_size-1-j]*Phi[j]*rescale_function[j];
    break;
  case VECTOR_TEMPERATURE_2:
    class_call(interpolate_PhidPhi(pHIS, x_size, index_l, chireverse, Phi, dPhi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, dPhi, NULL);
    s0 = sqrt(1.0+K/k2);
    ssqrt3 = sqrt(1.0-2.0*K/k2);
    factor = sqrt(1.5*l*(l+1))/s0/ssqrt3;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*cscKgen[x_size-1-j]*(sqrt_absK_over_k*dPhi[j]*rescale_argument-cotKgen[j]*Phi[j])*rescale_function[j];
    break;
  case VECTOR_POLARISATION_E:
    class_call(interpolate_PhidPhi(pHIS, x_size, index_l, chireverse, Phi, dPhi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //    hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, dPhi, NULL);
    s0 = sqrt(1.0+K/k2);
    ssqrt3 = sqrt(1.0-2.0*K/k2);
    factor = 0.5*sqrt((l-1.0)*(l+2.0))/s0/ssqrt3;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*cscKgen[x_size-1-j]*(cotKgen[j]*Phi[j]+sqrt_absK_over_k*dPhi[j]*rescale_argument)*rescale_function[j];
    break;
  case VECTOR_POLARISATION_B:
    class_call(interpolate_Phi(pHIS, x_size, index_l, chireverse, Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, NULL);
    s0 = sqrt(1.0+K/k2);
    ssqrt3 = sqrt(1.0-2.0*K/k2);
    si = sqrt(1.0+2.0*K/k2);
    factor = 0.5*sqrt((l-1.0)*(l+2.0))*si/s0/ssqrt3;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*cscKgen[x_size-1-j]*Phi[j]*rescale_function[j];
    break;
  case TENSOR_TEMPERATURE_2:
    class_call(interpolate_Phi(pHIS, x_size, index_l, chireverse, Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, NULL);
    ssqrt2 = sqrt(1.0-1.0*K/k2);
    si = sqrt(1.0+2.0*K/k2);
    factor = sqrt(3.0/8.0*(l+2.0)*(l+1.0)*l*(l-1.0))/si/ssqrt2;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*cscKgen[x_size-1-j]*cscKgen[x_size-1-j]*Phi[j]*rescale_function[j];
    break;
  case TENSOR_POLARISATION_E:
    class_call(interpolate_PhidPhid2Phi(pHIS, x_size, index_l, chireverse, Phi, dPhi, d2Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, NULL);
    ssqrt2 = sqrt(1.0-1.0*K/k2);
    si = sqrt(1.0+2.0*K/k2);
    factor = 0.25/si/ssqrt2;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*(absK_over_k2*d2Phi[j]*rescale_argument*rescale_argument
                                            +4.0*cotKgen[x_size-1-j]*sqrt_absK_over_k*dPhi[j]*rescale_argument
                                            -(1.0+4*K/k2-2.0*cotKgen[x_size-1-j]*cotKgen[x_size-1-j])*Phi[j])*rescale_function[j];
    break;
  case TENSOR_POLARISATION_B:
    class_call(interpolate_PhidPhi(pHIS, x_size, index_l, chireverse, Phi, dPhi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, dPhi, NULL);
    ssqrt2i = sqrt(1.0+3.0*K/k2);
    ssqrt2 = sqrt(1.0-1.0*K/k2);
    si = sqrt(1.0+2.0*K/k2);
    factor = 0.5*ssqrt2i/ssqrt2/si;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*(sqrt_absK_over_k*dPhi[j]*rescale_argument+2.0*cotKgen[x_size-1-j]*Phi[j])*rescale_function[j];
    break;
  case NC_RSD:
    class_call(interpolate_Phid2Phi(pHIS, x_size, index_l, chireverse, Phi, d2Phi, ptr->error_message),
               ptr->error_message, ptr->error_message);
    //hyperspherical_Hermite_interpolation_vector(pHIS, x_size, index_l, chireverse, Phi, NULL, d2Phi);
    //s2 = sqrt(1.0-3.0*K/k2);
    factor = 1.0;
    for (j=0; j<x_size; j++)
      radial_function[x_size-1-j] = factor*absK_over_k2*d2Phi[j]*rescale_argument*rescale_argument*rescale_function[j];
    // Note: in previous line there was a missing factor absK_over_k2 until version 2.4.3. Credits Francesco Montanari.
    break;
  }

  free(Phi);
  free(dPhi);
  free(d2Phi);
  free(chireverse);
  free(rescale_function);

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1108, %rsp           # imm = 0x1108
movl %r9d, %r15d
movl %r8d, %r14d
movl %ecx, %r13d
movapd %xmm0, %xmm2
movq %rdx, %r12
movq %rdi, %rbx
movq 0xa0(%rdi), %rax
movq %rax, 0xa0(%rsp)
movq 0xa8(%rdi), %rcx
movq 0x910(%rdx), %rax
movslq %r8d, %rdx
movq %rdx, 0x70(%rsp)
cvtsi2sdl (%rax,%rdx,4), %xmm0
movq 0xb0(%rdi), %rbp
movsd 0xb8(%rdi), %xmm1
movl 0xc0(%rdi), %eax
testl %eax, %eax
movq %rcx, 0xf0(%rsp)
movapd %xmm1, 0x80(%rsp)
movsd %xmm0, 0x78(%rsp)
movsd %xmm2, 0x50(%rsp)
je 0xa92fd
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xa9307
sqrtsd %xmm0, %xmm0
jmp 0xa9312
movsd 0x3bf5b(%rip), %xmm0    # 0xe5260
jmp 0xa9316
callq 0x82d0
movsd 0x50(%rsp), %xmm2
divsd %xmm2, %xmm0
movsd %xmm0, 0x90(%rsp)
movq %r15, 0x68(%rsp)
movslq %r15d, %rax
movq %rax, 0xf8(%rsp)
leaq (,%rax,8), %r15
movq %r15, %rdi
callq 0x8490
testq %rax, %rax
je 0xa9434
movq %rax, 0x18(%rsp)
movq %r15, %rdi
callq 0x8490
testq %rax, %rax
je 0xa9479
movq %rax, 0x30(%rsp)
movq %r15, %rdi
callq 0x8490
movq %rax, 0xe8(%rsp)
testq %rax, %rax
je 0xa94be
movl %r14d, 0x44(%rsp)
movq %r15, %rdi
callq 0x8490
testq %rax, %rax
je 0xa9503
movq %rax, %r14
movq %rbp, 0xc0(%rsp)
movq %r12, 0x48(%rsp)
movq %r15, %rdi
callq 0x8490
testq %rax, %rax
je 0xa9545
movq %rax, %rbp
movl 0xc0(%rbx), %eax
testl %eax, %eax
je 0xa95a6
movq 0x48(%rsp), %rcx
cmpl %r13d, 0x938(%rcx)
movsd 0x90(%rsp), %xmm0
movq 0xa0(%rsp), %r12
jle 0xa960f
leaq -0x7ef7c(%rip), %rax    # 0x2a472
movq %rax, 0xb0(%rsp)
movb $0x1, %al
movl %eax, 0x9c(%rsp)
movsd 0x3be59(%rip), %xmm2    # 0xe5260
xorpd %xmm1, %xmm1
movsd %xmm1, 0x20(%rsp)
leaq -0x7fd93(%rip), %rax    # 0x29685
movq %rax, 0xd8(%rsp)
movsd %xmm1, 0x28(%rsp)
movapd %xmm2, %xmm3
movq %rbx, 0x58(%rsp)
jmp 0xa9817
leaq 0x3bbc9(%rip), %rsi     # 0xe5004
leaq 0x6df17(%rip), %rdx     # 0x117359
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x2e014
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3bbcf(%rip), %rsi     # 0xe5034
leaq 0x6decd(%rip), %rdx     # 0x117339
movq %r12, %rdi
movl $0xfe2, %ecx            # imm = 0xFE2
jmp 0xa9587
leaq 0x3bb84(%rip), %rsi     # 0xe5004
leaq 0x6decb(%rip), %rdx     # 0x117352
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x2e014
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3bb8a(%rip), %rsi     # 0xe5034
leaq 0x6de88(%rip), %rdx     # 0x117339
movq %r12, %rdi
movl $0xfe3, %ecx            # imm = 0xFE3
jmp 0xa9587
leaq 0x3bb3f(%rip), %rsi     # 0xe5004
leaq 0x6de8b(%rip), %rdx     # 0x117357
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x2e014
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3bb45(%rip), %rsi     # 0xe5034
leaq 0x6de43(%rip), %rdx     # 0x117339
movq %r12, %rdi
movl $0xfe4, %ecx            # imm = 0xFE4
jmp 0xa9587
leaq 0x3bafa(%rip), %rsi     # 0xe5004
leaq 0x6de4c(%rip), %rdx     # 0x11735d
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x2e014
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3bb00(%rip), %rsi     # 0xe5034
leaq 0x6ddfe(%rip), %rdx     # 0x117339
movq %r12, %rdi
movl $0xfe5, %ecx            # imm = 0xFE5
jmp 0xa9587
leaq 0x3bab8(%rip), %rsi     # 0xe5004
leaq 0x6de15(%rip), %rdx     # 0x117368
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x2e014
movq 0x48(%rsp), %rdi
addq $0x96a, %rdi            # imm = 0x96A
leaq 0x3bab9(%rip), %rsi     # 0xe5034
leaq 0x6ddb7(%rip), %rdx     # 0x117339
movl $0xfe6, %ecx            # imm = 0xFE6
movq %rbx, %r8
xorl %eax, %eax
callq 0x2e014
pushq $0x1
popq %rax
addq $0x1108, %rsp           # imm = 0x1108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x68(%rbx), %rax
movq %rax, 0x58(%rsp)
leaq -0x81f01(%rip), %rax    # 0x276b5
movq %rax, 0xb0(%rsp)
movsd 0x3bc9a(%rip), %xmm2    # 0xe5260
xorpd %xmm0, %xmm0
movsd %xmm0, 0x20(%rsp)
leaq -0x82844(%rip), %rax    # 0x26d93
movq %rax, 0xd8(%rsp)
movl $0x0, 0x9c(%rsp)
movsd %xmm0, 0x28(%rsp)
movapd %xmm2, %xmm3
movsd 0x90(%rsp), %xmm0
movq 0x68(%rsp), %rax
movq 0xa0(%rsp), %r12
jmp 0xa981c
movq 0x68(%rbx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x928(%rcx), %rcx
movslq %r13d, %r15
movsd (%rcx,%r15,8), %xmm0
movsd %xmm0, 0x28(%rsp)
cmpl $0x1, %eax
jne 0xa964c
xorpd %xmm2, %xmm2
movapd 0x80(%rsp), %xmm0
ucomisd %xmm2, %xmm0
jb 0xa9675
sqrtsd %xmm0, %xmm0
jmp 0xa967e
movapd 0x3bbdc(%rip), %xmm0    # 0xe5230
movapd 0x80(%rsp), %xmm2
xorpd %xmm2, %xmm0
movsd 0x3ee5f(%rip), %xmm1    # 0xe84c8
ucomisd %xmm2, %xmm1
jb 0xa96c0
sqrtsd %xmm0, %xmm0
jmp 0xa96c5
callq 0x82d0
xorpd %xmm2, %xmm2
movsd 0x28(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x28(%rsp)
movq 0x48(%rsp), %rax
movq 0x910(%rax), %rax
movq 0x70(%rsp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
movsd 0x3bbb4(%rip), %xmm0    # 0xe5260
addsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
jb 0xa970b
sqrtsd %xmm0, %xmm0
jmp 0xa9710
callq 0x82d0
movsd 0x28(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x28(%rsp)
movq 0x48(%rsp), %rax
movq 0x910(%rax), %rax
movq 0x70(%rsp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
movsd 0x3bb6d(%rip), %xmm0    # 0xe5260
addsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xa971d
sqrtsd %xmm0, %xmm0
jmp 0xa9722
callq 0x82d0
divsd 0x28(%rsp), %xmm0
callq 0x85d0
jmp 0xa972d
callq 0x82d0
divsd 0x28(%rsp), %xmm0
callq 0x84a0
movapd %xmm0, %xmm2
movq 0x48(%rsp), %rax
movq 0x910(%rax), %rax
movq 0x70(%rsp), %rcx
cvtsi2sdl (%rax,%rcx,4), %xmm1
movsd 0x3bb11(%rip), %xmm0    # 0xe5260
addsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
movsd %xmm2, 0x20(%rsp)
jb 0xa976d
sqrtsd %xmm0, %xmm0
jmp 0xa9778
callq 0x82d0
movsd 0x20(%rsp), %xmm2
divsd %xmm2, %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x48(%rsp), %rcx
movq 0x910(%rcx), %rax
movq 0x928(%rcx), %rcx
movq 0x70(%rsp), %rdx
cvtsi2sdl (%rax,%rdx,4), %xmm1
movapd 0x80(%rsp), %xmm2
mulsd %xmm1, %xmm2
movsd 0x3baac(%rip), %xmm0    # 0xe5260
addsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
movsd (%rcx,%r15,8), %xmm2
divsd %xmm2, %xmm1
divsd %xmm2, %xmm1
subsd %xmm1, %xmm0
movsd 0x6ba2a(%rip), %xmm1    # 0x115200
callq 0x8650
movsd 0x10(%rsp), %xmm2
movapd %xmm0, %xmm3
leaq -0x82137(%rip), %rax    # 0x276b5
movq %rax, 0xb0(%rsp)
leaq -0x82a68(%rip), %rax    # 0x26d93
movq %rax, 0xd8(%rsp)
movl $0x0, 0x9c(%rsp)
movsd 0x90(%rsp), %xmm0
movq 0x68(%rsp), %rax
movsd 0x50(%rsp), %xmm1
mulsd %xmm1, %xmm1
movsd %xmm1, 0x50(%rsp)
mulsd %xmm0, %xmm0
movsd %xmm0, 0xb8(%rsp)
xorl %r13d, %r13d
testl %eax, %eax
movl $0x0, %ecx
cmovgl %eax, %ecx
leal -0x1(%rax), %r15d
movsd 0x3ba0e(%rip), %xmm1    # 0xe5260
movq %rcx, 0x38(%rsp)
movq %rbp, 0xd0(%rsp)
movsd %xmm2, 0x10(%rsp)
movq %rbx, 0xc8(%rsp)
movsd %xmm3, 0xa8(%rsp)
cmpq %r13, %rcx
je 0xa9c0d
ucomisd %xmm1, %xmm3
movslq %r15d, %rax
movsd (%r12,%rax,8), %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, (%r14,%r13,8)
movapd %xmm1, %xmm4
jne 0xa98a2
jnp 0xa9bfb
movq %r14, %rbp
movl 0xc0(%rbx), %r14d
movq 0x48(%rsp), %r12
movq 0x910(%r12), %rax
movq 0x70(%rsp), %rbx
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x28(%rsp), %xmm0
callq 0x8300
movapd %xmm0, %xmm3
movq 0x910(%r12), %rax
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x28(%rsp), %xmm0
cmpl $0x1, %r14d
jne 0xa9a20
movsd 0x6b919(%rip), %xmm1    # 0x115210
mulsd %xmm1, %xmm3
movq %rbp, %r14
movsd (%rbp,%r13,8), %xmm2
divsd 0x10(%rsp), %xmm2
subsd 0x20(%rsp), %xmm2
mulsd %xmm3, %xmm2
movsd 0x3b943(%rip), %xmm1    # 0xe5260
addsd %xmm1, %xmm2
movsd %xmm2, 0x60(%rsp)
callq 0x8300
movsd (%rbp,%r13,8), %xmm1
divsd 0x10(%rsp), %xmm1
movapd %xmm1, %xmm2
movsd %xmm1, 0xe0(%rsp)
subsd 0x20(%rsp), %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm2, %xmm2
addsd %xmm2, %xmm2
addsd 0x60(%rsp), %xmm2
mulsd 0xa8(%rsp), %xmm2
movsd %xmm2, 0x60(%rsp)
movapd %xmm1, %xmm0
callq 0x80a0
movsd 0xe0(%rsp), %xmm1
divsd %xmm0, %xmm1
ucomisd 0x60(%rsp), %xmm1
jbe 0xa9add
movq 0x48(%rsp), %r12
movq 0x910(%r12), %rax
movq 0x70(%rsp), %rbx
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x28(%rsp), %xmm0
callq 0x8300
mulsd 0x6b857(%rip), %xmm0    # 0x115210
movsd (%r14,%r13,8), %xmm2
divsd 0x10(%rsp), %xmm2
subsd 0x20(%rsp), %xmm2
mulsd %xmm0, %xmm2
movsd 0x3b889(%rip), %xmm0    # 0xe5260
addsd %xmm0, %xmm2
movsd %xmm2, 0x60(%rsp)
movq 0x910(%r12), %rax
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x28(%rsp), %xmm0
callq 0x8300
movsd (%r14,%r13,8), %xmm4
movsd 0x10(%rsp), %xmm2
divsd %xmm2, %xmm4
subsd 0x20(%rsp), %xmm4
mulsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
addsd %xmm4, %xmm4
jmp 0xa9bc3
movq %rbp, %r14
movsd (%rbp,%r13,8), %xmm1
divsd 0x10(%rsp), %xmm1
subsd 0x20(%rsp), %xmm1
movsd 0x6b7ca(%rip), %xmm2    # 0x115208
mulsd %xmm2, %xmm3
mulsd %xmm1, %xmm3
movsd 0x3b812(%rip), %xmm1    # 0xe5260
addsd %xmm1, %xmm3
movsd %xmm3, 0x60(%rsp)
callq 0x8300
movsd (%rbp,%r13,8), %xmm1
divsd 0x10(%rsp), %xmm1
movapd %xmm1, %xmm2
movsd %xmm1, 0xe0(%rsp)
subsd 0x20(%rsp), %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm2, %xmm2
movsd 0x3ea1b(%rip), %xmm0    # 0xe84a8
mulsd %xmm0, %xmm2
addsd 0x60(%rsp), %xmm2
mulsd 0xa8(%rsp), %xmm2
movsd %xmm2, 0x60(%rsp)
movapd %xmm1, %xmm0
callq 0x8390
movsd 0xe0(%rsp), %xmm1
divsd %xmm0, %xmm1
ucomisd 0x60(%rsp), %xmm1
jbe 0xa9b2f
movsd (%r14,%r13,8), %xmm0
divsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x60(%rsp)
callq 0x8390
jmp 0xa9af4
movsd (%r14,%r13,8), %xmm0
divsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x60(%rsp)
callq 0x80a0
movsd 0x60(%rsp), %xmm4
divsd %xmm0, %xmm4
movq 0xd0(%rsp), %rbp
movq 0x38(%rsp), %rcx
movsd 0x10(%rsp), %xmm2
movq 0xa0(%rsp), %r12
movq 0xc8(%rsp), %rbx
movsd 0xa8(%rsp), %xmm3
jmp 0xa9bf3
movq 0x48(%rsp), %r12
movq 0x910(%r12), %rax
movq 0x70(%rsp), %rbx
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x28(%rsp), %xmm0
callq 0x8300
movsd (%r14,%r13,8), %xmm2
divsd 0x10(%rsp), %xmm2
subsd 0x20(%rsp), %xmm2
movapd %xmm0, %xmm1
mulsd 0x6b699(%rip), %xmm1    # 0x115208
mulsd %xmm2, %xmm1
movsd 0x3b6e5(%rip), %xmm0    # 0xe5260
addsd %xmm0, %xmm1
movsd %xmm1, 0x60(%rsp)
movq 0x910(%r12), %rax
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x28(%rsp), %xmm0
callq 0x8300
movsd (%r14,%r13,8), %xmm4
movsd 0x10(%rsp), %xmm2
divsd %xmm2, %xmm4
subsd 0x20(%rsp), %xmm4
mulsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd 0x3e8e5(%rip), %xmm4    # 0xe84a8
addsd 0x60(%rsp), %xmm4
movsd 0xa8(%rsp), %xmm3
mulsd %xmm3, %xmm4
movq 0xd0(%rsp), %rbp
movq 0x38(%rsp), %rcx
movq 0xa0(%rsp), %r12
movq 0xc8(%rsp), %rbx
movsd 0x3b665(%rip), %xmm1    # 0xe5260
movsd %xmm4, (%rbp,%r13,8)
incq %r13
decl %r15d
jmp 0xa9876
leaq -0x831ce(%rip), %rax    # 0x26a46
cmpb $0x0, 0x9c(%rsp)
cmovneq 0x99334(%rip), %rax     # 0x142f58
leaq -0x81fc4(%rip), %r10    # 0x27c67
cmovneq 0x99335(%rip), %r10     # 0x142f68
leaq -0x81319(%rip), %r11    # 0x28921
cmovneq 0x993b6(%rip), %r11     # 0x142ff8
movq 0x58(%rsp), %rdx
movq 0x38(%rdx), %rcx
movslq 0x30(%rdx), %rdx
movsd -0x8(%rcx,%rdx,8), %xmm1
movq 0xf8(%rsp), %r12
movsd -0x8(%r14,%r12,8), %xmm0
ucomisd %xmm1, %xmm0
jbe 0xa9c77
cmpl $0x1, 0xc0(%rbx)
jne 0xa9d33
movq %r14, 0x28(%rsp)
movl 0x1148(%rsp), %ecx
cmpl $0xb, %ecx
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0xe8(%rsp), %r14
movq 0x1140(%rsp), %r13
movq 0xf0(%rsp), %r15
ja 0xaad44
decq %r12
movl %ecx, %ecx
leaq 0x6b596(%rip), %rdx     # 0x115250
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq 0x48(%rsp), %r15
addq $0x96a, %r15            # imm = 0x96A
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %r15, %r9
callq *%rax
cmpl $0x1, %eax
jne 0xaa3fd
leaq 0x3b6f4(%rip), %rsi     # 0xe53f0
leaq 0x6d732(%rip), %rdx     # 0x117435
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3b315(%rip), %rsi     # 0xe5034
leaq 0x6d613(%rip), %rdx     # 0x117339
movq %r15, %rdi
movl $0x104b, %ecx           # imm = 0x104B
jmp 0xa9587
leaq 0x6d63f(%rip), %rsi     # 0x117379
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movb $0x2, %al
callq 0x2e014
leaq 0x3b32f(%rip), %rsi     # 0xe5082
leaq 0x6d696(%rip), %rdx     # 0x1173f0
leaq 0x900(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
movq 0x48(%rsp), %rdi
addq $0x96a, %rdi            # imm = 0x96A
leaq 0x3b2b2(%rip), %rsi     # 0xe5034
leaq 0x6d5b0(%rip), %rdx     # 0x117339
movl $0x1046, %ecx           # imm = 0x1046
movq %r14, %r8
jmp 0xa958a
movq 0x48(%rsp), %r15
addq $0x96a, %r15            # imm = 0x96A
movq %r15, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %r14, %r9
callq *%r10
cmpl $0x1, %eax
jne 0xaa2a2
leaq 0x3b61c(%rip), %rsi     # 0xe53f0
leaq 0x6d6f4(%rip), %rdx     # 0x1174cf
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3b23d(%rip), %rsi     # 0xe5034
leaq 0x6d53b(%rip), %rdx     # 0x117339
movq %r15, %rdi
movl $0x10b4, %ecx           # imm = 0x10B4
jmp 0xa9587
movq 0x48(%rsp), %rbx
addq $0x96a, %rbx            # imm = 0x96A
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %rbx, %r9
callq *%rax
cmpl $0x1, %eax
jne 0xaa2f7
leaq 0x3b5ac(%rip), %rsi     # 0xe53f0
leaq 0x6d5ea(%rip), %rdx     # 0x117435
leaq 0x100(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3b1cd(%rip), %rsi     # 0xe5034
leaq 0x6d4cb(%rip), %rdx     # 0x117339
movq %rbx, %rdi
movl $0x106b, %ecx           # imm = 0x106B
jmp 0xa9d8e
movq 0x48(%rsp), %r15
addq $0x96a, %r15            # imm = 0x96A
movq %r15, 0x8(%rsp)
movq %r14, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x30(%rsp), %r9
callq *%r11
cmpl $0x1, %eax
jne 0xaa325
leaq 0x3b530(%rip), %rsi     # 0xe53f0
leaq 0x6d6b6(%rip), %rdx     # 0x11757d
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3b151(%rip), %rsi     # 0xe5034
leaq 0x6d44f(%rip), %rdx     # 0x117339
movq %r15, %rdi
movl $0x109d, %ecx           # imm = 0x109D
jmp 0xa9587
movq 0x48(%rsp), %r15
addq $0x96a, %r15            # imm = 0x96A
movq %r15, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %r14, %r9
callq *%r10
cmpl $0x1, %eax
jne 0xaa35b
leaq 0x3b4bb(%rip), %rsi     # 0xe53f0
leaq 0x6d593(%rip), %rdx     # 0x1174cf
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3b0dc(%rip), %rsi     # 0xe5034
leaq 0x6d3da(%rip), %rdx     # 0x117339
movq %r15, %rdi
movl $0x1059, %ecx           # imm = 0x1059
jmp 0xa9587
movq 0x48(%rsp), %rbx
addq $0x96a, %rbx            # imm = 0x96A
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %rbx, %r9
callq *%rax
cmpl $0x1, %eax
jne 0xaa395
leaq 0x3b44b(%rip), %rsi     # 0xe53f0
leaq 0x6d489(%rip), %rdx     # 0x117435
leaq 0x100(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3b06c(%rip), %rsi     # 0xe5034
leaq 0x6d36a(%rip), %rdx     # 0x117339
movq %rbx, %rdi
movl $0x1062, %ecx           # imm = 0x1062
jmp 0xa9d8e
movq 0x48(%rsp), %rbx
addq $0x96a, %rbx            # imm = 0x96A
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %rbx, %r9
callq *%rax
cmpl $0x1, %eax
jne 0xaa3cb
leaq 0x3b3db(%rip), %rsi     # 0xe53f0
leaq 0x6d419(%rip), %rdx     # 0x117435
leaq 0x100(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3affc(%rip), %rsi     # 0xe5034
leaq 0x6d2fa(%rip), %rdx     # 0x117339
movq %rbx, %rdi
movl $0x1088, %ecx           # imm = 0x1088
jmp 0xa9d8e
movq 0x48(%rsp), %r15
addq $0x96a, %r15            # imm = 0x96A
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq %r15, %r9
callq *0xd8(%rsp)
cmpl $0x1, %eax
jne 0xaa43a
leaq 0x3b366(%rip), %rsi     # 0xe53f0
leaq 0x6d3f0(%rip), %rdx     # 0x117481
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3af87(%rip), %rsi     # 0xe5034
leaq 0x6d285(%rip), %rdx     # 0x117339
movq %r15, %rdi
movl $0x1052, %ecx           # imm = 0x1052
jmp 0xa9587
movq 0x48(%rsp), %rbx
addq $0x96a, %rbx            # imm = 0x96A
movq %rbx, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x30(%rsp), %r9
callq *0xb0(%rsp)
cmpl $0x1, %eax
jne 0xaa48a
leaq 0x3b2eb(%rip), %rsi     # 0xe53f0
leaq 0x6d41b(%rip), %rdx     # 0x117527
leaq 0x100(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3af0c(%rip), %rsi     # 0xe5034
leaq 0x6d20a(%rip), %rdx     # 0x117339
movq %rbx, %rdi
movl $0x1074, %ecx           # imm = 0x1074
jmp 0xa9d8e
movq 0x48(%rsp), %rbx
addq $0x96a, %rbx            # imm = 0x96A
movq %rbx, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x30(%rsp), %r9
callq *0xb0(%rsp)
cmpl $0x1, %eax
jne 0xaa4bc
leaq 0x3b270(%rip), %rsi     # 0xe53f0
leaq 0x6d3a0(%rip), %rdx     # 0x117527
leaq 0x100(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3ae91(%rip), %rsi     # 0xe5034
leaq 0x6d18f(%rip), %rdx     # 0x117339
movq %rbx, %rdi
movl $0x107e, %ecx           # imm = 0x107E
jmp 0xa9d8e
movq 0x48(%rsp), %r15
addq $0x96a, %r15            # imm = 0x96A
movq %r15, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x30(%rsp), %r9
callq *0xb0(%rsp)
cmpl $0x1, %eax
jne 0xaa4ee
leaq 0x3b1f5(%rip), %rsi     # 0xe53f0
leaq 0x6d325(%rip), %rdx     # 0x117527
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3ae16(%rip), %rsi     # 0xe5034
leaq 0x6d114(%rip), %rdx     # 0x117339
movq %r15, %rdi
movl $0x10a9, %ecx           # imm = 0x10A9
jmp 0xa9587
movq 0x48(%rsp), %rbx
addq $0x96a, %rbx            # imm = 0x96A
movq 0x58(%rsp), %rdi
movq 0x68(%rsp), %rsi
movl 0x44(%rsp), %edx
movq 0x28(%rsp), %rcx
movq 0x18(%rsp), %r8
movq %rbx, %r9
callq *%rax
cmpl $0x1, %eax
jne 0xaa528
leaq 0x3b185(%rip), %rsi     # 0xe53f0
leaq 0x6d1c3(%rip), %rdx     # 0x117435
leaq 0x100(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x3ada6(%rip), %rsi     # 0xe5034
leaq 0x6d0a4(%rip), %rdx     # 0x117339
movq %rbx, %rdi
movl $0x1093, %ecx           # imm = 0x1093
jmp 0xa9d8e
leaq (,%r12,8), %rax
addq %r13, %rax
xorl %ecx, %ecx
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rdx
movsd 0x10(%rsp), %xmm1
cmpq %rcx, %rdx
je 0xaad44
movsd (%r14,%rcx,8), %xmm0
mulsd 0xb8(%rsp), %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd (%rbp,%rcx,8), %xmm0
movsd %xmm0, (%rax)
incq %rcx
addq $-0x8, %rax
jmp 0xaa2c4
movapd 0x80(%rsp), %xmm0
divsd 0x50(%rsp), %xmm0
addsd 0x3af52(%rip), %xmm0    # 0xe5260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xaa55e
sqrtsd %xmm0, %xmm2
jmp 0xaa56b
movapd 0x80(%rsp), %xmm1
movsd 0x50(%rsp), %xmm2
divsd %xmm2, %xmm1
movsd 0x3af20(%rip), %xmm0    # 0xe5260
subsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaa5e8
sqrtsd %xmm0, %xmm3
jmp 0xaa5fb
movapd 0x80(%rsp), %xmm1
mulsd 0x3e0d4(%rip), %xmm1    # 0xe8440
divsd 0x50(%rsp), %xmm1
addsd 0x3aee6(%rip), %xmm1    # 0xe5260
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0xaa705
sqrtsd %xmm0, %xmm0
jmp 0xaa70a
movapd 0x80(%rsp), %xmm0
mulsd 0x3e09a(%rip), %xmm0    # 0xe8440
divsd 0x50(%rsp), %xmm0
addsd 0x3aeac(%rip), %xmm0    # 0xe5260
xorpd %xmm4, %xmm4
ucomisd %xmm4, %xmm0
jb 0xaa792
sqrtsd %xmm0, %xmm3
jmp 0xaa79f
movapd 0x80(%rsp), %xmm0
movsd 0x50(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3ae7a(%rip), %xmm0    # 0xe5260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xaa840
sqrtsd %xmm0, %xmm0
jmp 0xaa84f
leaq (,%r12,8), %rax
addq %r13, %rax
xorl %ecx, %ecx
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rdx
cmpq %rcx, %rdx
je 0xaad44
movsd (%rdi,%rcx,8), %xmm0
mulsd (%rbp,%rcx,8), %xmm0
movsd %xmm0, (%rax)
incq %rcx
addq $-0x8, %rax
jmp 0xaa419
leaq (,%r12,8), %rax
addq %r13, %rax
xorl %ecx, %ecx
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rdx
movsd 0x10(%rsp), %xmm1
cmpq %rcx, %rdx
je 0xaad44
movsd (%rbx,%rcx,8), %xmm0
mulsd 0x90(%rsp), %xmm0
mulsd %xmm1, %xmm0
mulsd (%rbp,%rcx,8), %xmm0
movsd %xmm0, (%rax)
incq %rcx
addq $-0x8, %rax
jmp 0xaa45c
movapd 0x80(%rsp), %xmm0
movsd 0x50(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3adbb(%rip), %xmm0    # 0xe5260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xaa951
sqrtsd %xmm0, %xmm0
jmp 0xaa960
movapd 0x80(%rsp), %xmm0
movsd 0x50(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3ad89(%rip), %xmm0    # 0xe5260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xaaa50
sqrtsd %xmm0, %xmm0
jmp 0xaaa5f
movsd 0x3c252(%rip), %xmm0    # 0xe6748
mulsd 0x80(%rsp), %xmm0
movsd 0x50(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3ad4f(%rip), %xmm0    # 0xe5260
xorpd %xmm4, %xmm4
ucomisd %xmm4, %xmm0
jb 0xaab53
sqrtsd %xmm0, %xmm3
jmp 0xaab66
movapd 0x80(%rsp), %xmm1
movsd 0x50(%rsp), %xmm2
divsd %xmm2, %xmm1
movsd 0x3ad1d(%rip), %xmm0    # 0xe5260
subsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaac5a
sqrtsd %xmm0, %xmm0
jmp 0xaac69
callq 0x82d0
xorpd %xmm3, %xmm3
movapd %xmm0, %xmm2
movsd 0x78(%rsp), %xmm0
movsd 0x3b737(%rip), %xmm1    # 0xe5cb0
mulsd %xmm0, %xmm1
addsd 0x3acdb(%rip), %xmm0    # 0xe5260
mulsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xaa595
sqrtsd %xmm0, %xmm0
jmp 0xaa5a6
movsd %xmm2, 0x10(%rsp)
callq 0x82d0
movsd 0x10(%rsp), %xmm2
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
divsd %xmm2, %xmm0
xorl %eax, %eax
cmpq %rax, %rcx
je 0xaad44
movsd (%r15,%r12,8), %xmm1
mulsd %xmm0, %xmm1
mulsd (%rdi,%rax,8), %xmm1
mulsd (%rbp,%rax,8), %xmm1
movsd %xmm1, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaa5bb
callq 0x82d0
xorpd %xmm1, %xmm1
movsd 0x50(%rsp), %xmm2
movapd %xmm0, %xmm3
movapd 0x80(%rsp), %xmm0
addsd %xmm0, %xmm0
divsd %xmm2, %xmm0
addsd 0x3ac4c(%rip), %xmm0    # 0xe5260
ucomisd %xmm1, %xmm0
jb 0xaa620
sqrtsd %xmm0, %xmm0
jmp 0xaa637
movsd %xmm3, 0x20(%rsp)
callq 0x82d0
movsd 0x20(%rsp), %xmm3
movsd 0x50(%rsp), %xmm2
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
movsd 0x10(%rsp), %xmm7
movsd 0x3deac(%rip), %xmm1    # 0xe8500
movapd 0x80(%rsp), %xmm6
mulsd 0x3dd93(%rip), %xmm6    # 0xe83f8
divsd %xmm0, %xmm1
divsd %xmm2, %xmm6
addsd 0x3abeb(%rip), %xmm6    # 0xe5260
divsd %xmm3, %xmm1
xorl %eax, %eax
movsd 0x3dd75(%rip), %xmm0    # 0xe83f8
movsd 0x3c0ad(%rip), %xmm2    # 0xe6738
movq 0xc0(%rsp), %rdx
cmpq %rax, %rcx
je 0xaad44
movsd (%r14,%rax,8), %xmm3
mulsd 0xb8(%rsp), %xmm3
mulsd %xmm7, %xmm3
movsd (%rdx,%r12,8), %xmm4
movapd %xmm4, %xmm5
mulsd %xmm2, %xmm5
mulsd %xmm4, %xmm5
mulsd %xmm0, %xmm4
mulsd 0x90(%rsp), %xmm4
mulsd (%rbx,%rax,8), %xmm4
mulsd %xmm7, %xmm4
mulsd %xmm7, %xmm3
addsd %xmm4, %xmm3
addsd %xmm6, %xmm5
mulsd (%rdi,%rax,8), %xmm5
subsd %xmm5, %xmm3
mulsd %xmm1, %xmm3
mulsd (%rbp,%rax,8), %xmm3
movsd %xmm3, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaa693
callq 0x82d0
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rdx
movsd 0x10(%rsp), %xmm2
addsd %xmm0, %xmm0
movsd 0x3ab35(%rip), %xmm1    # 0xe5260
divsd %xmm0, %xmm1
movsd 0xb8(%rsp), %xmm0
mulsd 0x3c008(%rip), %xmm0    # 0xe6748
movsd %xmm0, 0xb8(%rsp)
leaq (,%r12,8), %rax
addq %r13, %rax
xorl %ecx, %ecx
cmpq %rcx, %rdx
je 0xaad44
movsd (%r14,%rcx,8), %xmm0
mulsd 0xb8(%rsp), %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
addsd (%rdi,%rcx,8), %xmm0
mulsd %xmm1, %xmm0
mulsd (%rbp,%rcx,8), %xmm0
movsd %xmm0, (%rax)
incq %rcx
addq $-0x8, %rax
jmp 0xaa756
callq 0x82d0
xorpd %xmm4, %xmm4
movapd %xmm0, %xmm3
movsd 0x78(%rsp), %xmm0
movsd 0x3b533(%rip), %xmm2    # 0xe5ce0
addsd %xmm0, %xmm2
mulsd 0x6aa5f(%rip), %xmm2    # 0x115218
movsd 0x3aa9f(%rip), %xmm1    # 0xe5260
addsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
mulsd %xmm0, %xmm1
addsd 0x3b013(%rip), %xmm0    # 0xe57e8
mulsd %xmm1, %xmm0
ucomisd %xmm4, %xmm0
jb 0xaa7e5
sqrtsd %xmm0, %xmm0
jmp 0xaa7f6
movsd %xmm3, 0x10(%rsp)
callq 0x82d0
movsd 0x10(%rsp), %xmm3
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
divsd %xmm3, %xmm0
xorl %eax, %eax
cmpq %rax, %rcx
je 0xaad44
movsd (%r15,%r12,8), %xmm1
movapd %xmm0, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd (%rdi,%rax,8), %xmm2
mulsd (%rbp,%rax,8), %xmm2
movsd %xmm2, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaa80b
callq 0x82d0
xorpd %xmm3, %xmm3
movsd 0x50(%rsp), %xmm2
movsd %xmm0, 0x10(%rsp)
movapd 0x80(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
movsd 0x3a9f2(%rip), %xmm0    # 0xe5260
movapd %xmm1, 0x80(%rsp)
subsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xaa887
sqrtsd %xmm0, %xmm0
jmp 0xaa88c
callq 0x82d0
movsd %xmm0, 0x20(%rsp)
movapd 0x80(%rsp), %xmm0
addsd 0x3a9bd(%rip), %xmm0    # 0xe5260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xaa8b3
sqrtsd %xmm0, %xmm2
jmp 0xaa8c0
callq 0x82d0
xorpd %xmm3, %xmm3
movapd %xmm0, %xmm2
movsd 0x78(%rsp), %xmm0
movsd 0x3af1a(%rip), %xmm1    # 0xe57e8
addsd %xmm0, %xmm1
addsd 0x3b406(%rip), %xmm0    # 0xe5ce0
mulsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xaa8ea
sqrtsd %xmm0, %xmm0
jmp 0xaa8fb
movsd %xmm2, 0x70(%rsp)
callq 0x82d0
movsd 0x70(%rsp), %xmm2
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
mulsd 0x3b39e(%rip), %xmm0    # 0xe5cb0
mulsd %xmm0, %xmm2
divsd 0x10(%rsp), %xmm2
divsd 0x20(%rsp), %xmm2
xorl %eax, %eax
cmpq %rax, %rcx
je 0xaad44
movsd (%r15,%r12,8), %xmm0
mulsd %xmm2, %xmm0
mulsd (%rdi,%rax,8), %xmm0
mulsd (%rbp,%rax,8), %xmm0
movsd %xmm0, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaa924
callq 0x82d0
xorpd %xmm3, %xmm3
movsd 0x50(%rsp), %xmm2
movsd %xmm0, 0x20(%rsp)
movapd 0x80(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
movsd 0x3a8e1(%rip), %xmm0    # 0xe5260
subsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xaa98f
sqrtsd %xmm0, %xmm2
jmp 0xaa998
callq 0x82d0
movapd %xmm0, %xmm2
movsd 0x78(%rsp), %xmm0
movsd 0x3d5e2(%rip), %xmm1    # 0xe7f88
mulsd %xmm0, %xmm1
addsd 0x3a8ae(%rip), %xmm0    # 0xe5260
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaa9c6
sqrtsd %xmm0, %xmm0
jmp 0xaa9d7
movsd %xmm2, 0x70(%rsp)
callq 0x82d0
movsd 0x70(%rsp), %xmm2
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
movsd 0x10(%rsp), %xmm4
movsd 0x20(%rsp), %xmm1
divsd %xmm1, %xmm0
divsd %xmm2, %xmm0
xorl %eax, %eax
movq 0xc0(%rsp), %rdx
cmpq %rax, %rcx
je 0xaad44
movsd (%r15,%r12,8), %xmm1
mulsd %xmm0, %xmm1
movsd (%rbx,%rax,8), %xmm2
mulsd 0x90(%rsp), %xmm2
movsd (%rdi,%rax,8), %xmm3
mulsd (%rdx,%rax,8), %xmm3
mulsd %xmm4, %xmm2
subsd %xmm3, %xmm2
mulsd %xmm1, %xmm2
mulsd (%rbp,%rax,8), %xmm2
movsd %xmm2, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaaa04
callq 0x82d0
xorpd %xmm3, %xmm3
movsd 0x50(%rsp), %xmm2
movsd %xmm0, 0x20(%rsp)
movapd 0x80(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
movsd 0x3a7e2(%rip), %xmm0    # 0xe5260
subsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xaaa8e
sqrtsd %xmm0, %xmm2
jmp 0xaaa97
callq 0x82d0
movapd %xmm0, %xmm2
movsd 0x78(%rsp), %xmm0
movsd 0x3ad43(%rip), %xmm1    # 0xe57e8
addsd %xmm0, %xmm1
addsd 0x3b22f(%rip), %xmm0    # 0xe5ce0
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaaac5
sqrtsd %xmm0, %xmm0
jmp 0xaaad6
movsd %xmm2, 0x70(%rsp)
callq 0x82d0
movsd 0x70(%rsp), %xmm2
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
movsd 0x10(%rsp), %xmm4
mulsd 0x3b1bd(%rip), %xmm0    # 0xe5cb0
divsd 0x20(%rsp), %xmm0
divsd %xmm2, %xmm0
xorl %eax, %eax
movq 0xc0(%rsp), %rdx
cmpq %rax, %rcx
je 0xaad44
movsd (%r15,%r12,8), %xmm1
mulsd %xmm0, %xmm1
movsd (%rdx,%rax,8), %xmm2
movsd (%rbx,%rax,8), %xmm3
mulsd 0x90(%rsp), %xmm3
mulsd %xmm4, %xmm3
mulsd (%rdi,%rax,8), %xmm2
addsd %xmm3, %xmm2
mulsd %xmm1, %xmm2
mulsd (%rbp,%rax,8), %xmm2
movsd %xmm2, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaab07
callq 0x82d0
xorpd %xmm4, %xmm4
movsd 0x50(%rsp), %xmm2
movapd %xmm0, %xmm3
movapd 0x80(%rsp), %xmm1
divsd %xmm2, %xmm1
movsd 0x3a6e5(%rip), %xmm0    # 0xe5260
subsd %xmm1, %xmm0
ucomisd %xmm4, %xmm0
movsd %xmm3, 0x20(%rsp)
jb 0xaab91
sqrtsd %xmm0, %xmm4
jmp 0xaaba0
callq 0x82d0
movsd 0x50(%rsp), %xmm2
movapd %xmm0, %xmm4
movapd 0x80(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
addsd 0x3a6a7(%rip), %xmm1    # 0xe5260
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0xaabcd
sqrtsd %xmm0, %xmm0
jmp 0xaabde
movsd %xmm4, 0x70(%rsp)
callq 0x82d0
movsd 0x70(%rsp), %xmm4
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
movsd 0x10(%rsp), %xmm2
movsd 0x20(%rsp), %xmm3
mulsd 0x3b0af(%rip), %xmm3    # 0xe5cb0
divsd %xmm4, %xmm3
divsd %xmm0, %xmm3
xorl %eax, %eax
movq 0xc0(%rsp), %rdx
cmpq %rax, %rcx
je 0xaad44
movsd (%rbx,%rax,8), %xmm0
mulsd 0x90(%rsp), %xmm0
movsd (%rdx,%r12,8), %xmm1
addsd %xmm1, %xmm1
mulsd (%rdi,%rax,8), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
mulsd %xmm3, %xmm0
mulsd (%rbp,%rax,8), %xmm0
movsd %xmm0, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaac13
callq 0x82d0
xorpd %xmm1, %xmm1
movsd 0x50(%rsp), %xmm2
movsd %xmm0, 0x10(%rsp)
movapd 0x80(%rsp), %xmm0
addsd %xmm0, %xmm0
divsd %xmm2, %xmm0
addsd 0x3a5d8(%rip), %xmm0    # 0xe5260
ucomisd %xmm1, %xmm0
jb 0xaac94
sqrtsd %xmm0, %xmm3
jmp 0xaac9d
callq 0x82d0
movapd %xmm0, %xmm3
movsd 0x78(%rsp), %xmm0
movsd 0x3b035(%rip), %xmm2    # 0xe5ce0
addsd %xmm0, %xmm2
mulsd 0x6a561(%rip), %xmm2    # 0x115218
movsd 0x3a5a1(%rip), %xmm1    # 0xe5260
addsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
mulsd %xmm0, %xmm1
addsd 0x3ab15(%rip), %xmm0    # 0xe57e8
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaace7
sqrtsd %xmm0, %xmm0
jmp 0xaacf8
movsd %xmm3, 0x20(%rsp)
callq 0x82d0
movsd 0x20(%rsp), %xmm3
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rcx
divsd %xmm3, %xmm0
divsd 0x10(%rsp), %xmm0
xorl %eax, %eax
cmpq %rax, %rcx
je 0xaad44
movsd (%r15,%r12,8), %xmm1
movapd %xmm0, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd (%rdi,%rax,8), %xmm2
mulsd (%rbp,%rax,8), %xmm2
movsd %xmm2, (%r13,%r12,8)
incq %rax
decq %r12
jmp 0xaad13
callq 0x8430
movq %rbx, %rdi
callq 0x8430
movq %r14, %rdi
callq 0x8430
movq 0x28(%rsp), %rdi
callq 0x8430
movq %rbp, %rdi
callq 0x8430
xorl %eax, %eax
jmp 0xa9594