// File: /workspace/github_c_makefile_star2_O3/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 $0x1118, %rsp           # imm = 0x1118
movl %r9d, %r15d
movl %ecx, %ebp
movapd %xmm0, %xmm2
movq %rdx, %r12
movq %rdi, %rbx
movq 0xa0(%rdi), %rdx
movq 0xa8(%rdi), %r14
movq 0x910(%r12), %rax
movslq %r8d, %rcx
movq %rcx, 0x58(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rcx,4), %xmm0
movq 0xb0(%rdi), %rcx
movsd 0xb8(%rdi), %xmm1
movl 0xc0(%rdi), %eax
testl %eax, %eax
movq %r14, 0x108(%rsp)
movq %rcx, 0xc8(%rsp)
movapd %xmm1, 0x70(%rsp)
movsd %xmm0, 0x68(%rsp)
movsd %xmm2, 0x30(%rsp)
movl %r8d, 0x4c(%rsp)
movq %rdx, 0x50(%rsp)
je 0xaeae6
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaeaf0
sqrtsd %xmm0, %xmm0
jmp 0xaeafb
movsd 0x3f772(%rip), %xmm0    # 0xee260
jmp 0xaeaff
callq 0x82b0
movsd 0x30(%rsp), %xmm2
divsd %xmm2, %xmm0
movsd %xmm0, 0x90(%rsp)
movslq %r15d, %rax
movq %rax, 0xe8(%rsp)
leaq (,%rax,8), %r13
movq %r13, %rdi
callq 0x8460
testq %rax, %rax
je 0xaec1e
movq %rax, %r14
movq %r13, %rdi
callq 0x8460
movq %rax, 0x100(%rsp)
testq %rax, %rax
je 0xaec63
movq %r13, %rdi
callq 0x8460
movq %rax, 0xf8(%rsp)
testq %rax, %rax
je 0xaeca8
movl %r15d, 0x1c(%rsp)
movq %r13, %rdi
callq 0x8460
testq %rax, %rax
je 0xaeced
movq %rax, %r15
movq %r13, %rdi
callq 0x8460
testq %rax, %rax
je 0xaed2f
movq %rax, %rsi
movl 0xc0(%rbx), %eax
testl %eax, %eax
movq %rsi, 0x40(%rsp)
movq %r14, 0xf0(%rsp)
je 0xaed90
cmpl %ebp, 0x938(%r12)
jle 0xaee05
leaq -0x7ffa9(%rip), %rax    # 0x2ec15
movq %rax, 0xd8(%rsp)
leaq -0x815c1(%rip), %rax    # 0x2d60c
movq %rax, 0xa8(%rsp)
leaq -0x83229(%rip), %rax    # 0x2b9b3
movq %rax, 0x88(%rsp)
xorpd %xmm0, %xmm0
movsd %xmm0, 0x38(%rsp)
movsd 0x3f66a(%rip), %xmm1    # 0xee260
leaq -0x82cc1(%rip), %rax    # 0x2bf3c
movq %rax, 0xd0(%rsp)
leaq -0x81efb(%rip), %rax    # 0x2cd11
movq %rax, 0xa0(%rsp)
movq %rbx, 0x60(%rsp)
jmp 0xaedf6
leaq 0x3f3df(%rip), %rsi     # 0xee004
leaq 0x7189d(%rip), %rdx     # 0x1204c9
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3f3e5(%rip), %rsi     # 0xee034
leaq 0x71853(%rip), %rdx     # 0x1204a9
movq %r12, %rdi
movl $0xfe2, %ecx            # imm = 0xFE2
jmp 0xaed6f
leaq 0x3f39a(%rip), %rsi     # 0xee004
leaq 0x71851(%rip), %rdx     # 0x1204c2
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3f3a0(%rip), %rsi     # 0xee034
leaq 0x7180e(%rip), %rdx     # 0x1204a9
movq %r12, %rdi
movl $0xfe3, %ecx            # imm = 0xFE3
jmp 0xaed6f
leaq 0x3f355(%rip), %rsi     # 0xee004
leaq 0x71811(%rip), %rdx     # 0x1204c7
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3f35b(%rip), %rsi     # 0xee034
leaq 0x717c9(%rip), %rdx     # 0x1204a9
movq %r12, %rdi
movl $0xfe4, %ecx            # imm = 0xFE4
jmp 0xaed6f
leaq 0x3f310(%rip), %rsi     # 0xee004
leaq 0x717d2(%rip), %rdx     # 0x1204cd
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3f316(%rip), %rsi     # 0xee034
leaq 0x71784(%rip), %rdx     # 0x1204a9
movq %r12, %rdi
movl $0xfe5, %ecx            # imm = 0xFE5
jmp 0xaed6f
leaq 0x3f2ce(%rip), %rsi     # 0xee004
leaq 0x7179b(%rip), %rdx     # 0x1204d8
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3f2d4(%rip), %rsi     # 0xee034
leaq 0x71742(%rip), %rdx     # 0x1204a9
movq %r12, %rdi
movl $0xfe6, %ecx            # imm = 0xFE6
movq %rbx, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %eax
addq $0x1118, %rsp           # imm = 0x1118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x68(%rbx), %rax
movq %rax, 0x60(%rsp)
leaq -0x83bf0(%rip), %rax    # 0x2b1b0
movq %rax, 0xd8(%rsp)
leaq -0x848b7(%rip), %rax    # 0x2a4f8
movq %rax, 0xa8(%rsp)
leaq -0x85aee(%rip), %rax    # 0x292d0
movq %rax, 0x88(%rsp)
xorpd %xmm0, %xmm0
movsd %xmm0, 0x38(%rsp)
movsd 0x3f488(%rip), %xmm1    # 0xee260
leaq -0x857c3(%rip), %rax    # 0x2961c
movq %rax, 0xd0(%rsp)
leaq -0x84eb3(%rip), %rax    # 0x29f3b
movq %rax, 0xa0(%rsp)
movapd %xmm1, %xmm2
movsd %xmm0, 0x28(%rsp)
jmp 0xaf020
movq 0x68(%rbx), %rcx
movq %rcx, 0x60(%rsp)
movq 0x928(%r12), %rcx
movslq %ebp, %r14
movsd (%rcx,%r14,8), %xmm0
movsd %xmm0, 0x38(%rsp)
cmpl $0x1, %eax
jne 0xaee40
xorpd %xmm2, %xmm2
movapd 0x70(%rsp), %xmm0
ucomisd %xmm2, %xmm0
jb 0xaee66
sqrtsd %xmm0, %xmm0
jmp 0xaee6f
movapd 0x3f3e8(%rip), %xmm0    # 0xee230
movapd 0x70(%rsp), %xmm2
xorpd %xmm2, %xmm0
movsd 0x426ae(%rip), %xmm1    # 0xf1508
ucomisd %xmm2, %xmm1
jb 0xaeeb0
sqrtsd %xmm0, %xmm0
jmp 0xaeeb5
callq 0x82b0
xorpd %xmm2, %xmm2
movsd 0x38(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x38(%rsp)
movq 0x910(%r12), %rax
movq 0x58(%rsp), %rcx
xorps %xmm1, %xmm1
cvtsi2sdl (%rax,%rcx,4), %xmm1
movsd 0x3f3c4(%rip), %xmm0    # 0xee260
addsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
jb 0xaeefa
sqrtsd %xmm0, %xmm0
jmp 0xaeeff
callq 0x82b0
movsd 0x38(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x38(%rsp)
movq 0x910(%r12), %rax
movq 0x58(%rsp), %rcx
xorps %xmm1, %xmm1
cvtsi2sdl (%rax,%rcx,4), %xmm1
movsd 0x3f37e(%rip), %xmm0    # 0xee260
addsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaef0c
sqrtsd %xmm0, %xmm0
jmp 0xaef11
callq 0x82b0
divsd 0x38(%rsp), %xmm0
callq 0x85a0
jmp 0xaef1c
callq 0x82b0
divsd 0x38(%rsp), %xmm0
callq 0x8470
movapd %xmm0, %xmm2
movq 0x910(%r12), %rax
movq 0x58(%rsp), %rcx
xorps %xmm1, %xmm1
cvtsi2sdl (%rax,%rcx,4), %xmm1
movsd 0x3f323(%rip), %xmm0    # 0xee260
addsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
movsd %xmm2, 0x28(%rsp)
jb 0xaef5b
sqrtsd %xmm0, %xmm0
jmp 0xaef66
callq 0x82b0
movsd 0x28(%rsp), %xmm2
divsd %xmm2, %xmm0
movsd %xmm0, 0x20(%rsp)
movq 0x910(%r12), %rax
movq 0x928(%r12), %rcx
movq 0x58(%rsp), %rdx
xorps %xmm1, %xmm1
cvtsi2sdl (%rax,%rdx,4), %xmm1
movapd 0x70(%rsp), %xmm2
mulsd %xmm1, %xmm2
movsd 0x3f2c1(%rip), %xmm0    # 0xee260
addsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
movsd (%rcx,%r14,8), %xmm2
divsd %xmm2, %xmm1
divsd %xmm2, %xmm1
subsd %xmm1, %xmm0
movsd 0x6f39f(%rip), %xmm1    # 0x11e360
callq 0x8620
movsd 0x20(%rsp), %xmm2
movapd %xmm0, %xmm1
leaq -0x83e27(%rip), %rax    # 0x2b1b0
movq %rax, 0xd8(%rsp)
leaq -0x84aee(%rip), %rax    # 0x2a4f8
movq %rax, 0xa8(%rsp)
leaq -0x85d25(%rip), %rax    # 0x292d0
movq %rax, 0x88(%rsp)
leaq -0x859e8(%rip), %rax    # 0x2961c
movq %rax, 0xd0(%rsp)
leaq -0x850d8(%rip), %rax    # 0x29f3b
movq %rax, 0xa0(%rsp)
movq 0x40(%rsp), %rsi
cmpl $0x0, 0x1c(%rsp)
movsd %xmm2, 0x20(%rsp)
jle 0xaf405
movl 0x1c(%rsp), %edx
movq 0xe8(%rsp), %rax
movq 0x50(%rsp), %rcx
leaq (%rcx,%rax,8), %r13
addq $-0x8, %r13
xorl %r14d, %r14d
movsd 0x3f20b(%rip), %xmm3    # 0xee260
movq %r12, 0xc0(%rsp)
movq %rbx, 0xb8(%rsp)
movsd %xmm1, 0x98(%rsp)
movq %rdx, 0xb0(%rsp)
ucomisd %xmm3, %xmm1
movsd (%r13), %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, (%r15,%r14,8)
movapd %xmm3, %xmm4
jne 0xaf096
jnp 0xaf3ef
movq %r12, %rbp
movq %r15, %r12
movl 0xc0(%rbx), %r15d
movq 0x910(%rbp), %rax
movq 0x58(%rsp), %rbx
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x38(%rsp), %xmm0
callq 0x82e0
movapd %xmm0, %xmm3
movq 0x910(%rbp), %rax
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x38(%rsp), %xmm0
cmpl $0x1, %r15d
jne 0xaf21d
movsd 0x6f283(%rip), %xmm1    # 0x11e370
mulsd %xmm1, %xmm3
movq %r12, %r15
movsd (%r12,%r14,8), %xmm2
divsd 0x20(%rsp), %xmm2
subsd 0x28(%rsp), %xmm2
mulsd %xmm3, %xmm2
movsd 0x3f14e(%rip), %xmm1    # 0xee260
addsd %xmm1, %xmm2
movsd %xmm2, 0x50(%rsp)
callq 0x82e0
movsd (%r12,%r14,8), %xmm1
divsd 0x20(%rsp), %xmm1
movapd %xmm1, %xmm2
movsd %xmm1, 0xe0(%rsp)
subsd 0x28(%rsp), %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm2, %xmm2
addsd %xmm2, %xmm2
addsd 0x50(%rsp), %xmm2
mulsd 0x98(%rsp), %xmm2
movsd %xmm2, 0x50(%rsp)
movapd %xmm1, %xmm0
callq 0x80a0
movsd 0xe0(%rsp), %xmm1
divsd %xmm0, %xmm1
ucomisd 0x50(%rsp), %xmm1
jbe 0xaf2d8
movq 0xc0(%rsp), %r12
movq 0x910(%r12), %rax
movq 0x58(%rsp), %rbx
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x38(%rsp), %xmm0
callq 0x82e0
mulsd 0x6f1bd(%rip), %xmm0    # 0x11e370
movsd (%r15,%r14,8), %xmm2
divsd 0x20(%rsp), %xmm2
subsd 0x28(%rsp), %xmm2
mulsd %xmm0, %xmm2
movsd 0x3f08f(%rip), %xmm0    # 0xee260
addsd %xmm0, %xmm2
movsd %xmm2, 0x50(%rsp)
movq 0x910(%r12), %rax
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x38(%rsp), %xmm0
callq 0x82e0
movsd (%r15,%r14,8), %xmm4
movsd 0x20(%rsp), %xmm2
divsd %xmm2, %xmm4
subsd 0x28(%rsp), %xmm4
mulsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
addsd %xmm4, %xmm4
jmp 0xaf3bf
movq %r12, %r15
movsd (%r12,%r14,8), %xmm1
divsd 0x20(%rsp), %xmm1
subsd 0x28(%rsp), %xmm1
movsd 0x6f12e(%rip), %xmm2    # 0x11e368
mulsd %xmm2, %xmm3
mulsd %xmm1, %xmm3
movsd 0x3f016(%rip), %xmm1    # 0xee260
addsd %xmm1, %xmm3
movsd %xmm3, 0x50(%rsp)
callq 0x82e0
movsd (%r12,%r14,8), %xmm1
divsd 0x20(%rsp), %xmm1
movapd %xmm1, %xmm2
movsd %xmm1, 0xe0(%rsp)
subsd 0x28(%rsp), %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm2, %xmm2
movsd 0x42260(%rip), %xmm0    # 0xf14e8
mulsd %xmm0, %xmm2
addsd 0x50(%rsp), %xmm2
mulsd 0x98(%rsp), %xmm2
movsd %xmm2, 0x50(%rsp)
movapd %xmm1, %xmm0
callq 0x8370
movsd 0xe0(%rsp), %xmm1
divsd %xmm0, %xmm1
ucomisd 0x50(%rsp), %xmm1
jbe 0xaf322
movsd (%r15,%r14,8), %xmm0
divsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
callq 0x8370
jmp 0xaf2ef
movsd (%r15,%r14,8), %xmm0
divsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
callq 0x80a0
movsd 0x50(%rsp), %xmm4
divsd %xmm0, %xmm4
movq 0x40(%rsp), %rsi
movq 0xc0(%rsp), %r12
movsd 0x20(%rsp), %xmm2
movq 0xb8(%rsp), %rbx
movsd 0x98(%rsp), %xmm1
jmp 0xaf3df
movq 0xc0(%rsp), %r12
movq 0x910(%r12), %rax
movq 0x58(%rsp), %rbx
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x38(%rsp), %xmm0
callq 0x82e0
movsd (%r15,%r14,8), %xmm2
divsd 0x20(%rsp), %xmm2
subsd 0x28(%rsp), %xmm2
movapd %xmm0, %xmm1
mulsd 0x6f000(%rip), %xmm1    # 0x11e368
mulsd %xmm2, %xmm1
movsd 0x3eeec(%rip), %xmm0    # 0xee260
addsd %xmm0, %xmm1
movsd %xmm1, 0x50(%rsp)
movq 0x910(%r12), %rax
xorps %xmm0, %xmm0
cvtsi2sdl (%rax,%rbx,4), %xmm0
divsd 0x38(%rsp), %xmm0
callq 0x82e0
movsd (%r15,%r14,8), %xmm4
movsd 0x20(%rsp), %xmm2
divsd %xmm2, %xmm4
subsd 0x28(%rsp), %xmm4
mulsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd 0x42129(%rip), %xmm4    # 0xf14e8
addsd 0x50(%rsp), %xmm4
movsd 0x98(%rsp), %xmm1
mulsd %xmm1, %xmm4
movq 0x40(%rsp), %rsi
movq 0xb8(%rsp), %rbx
movq 0xb0(%rsp), %rdx
movsd 0x3ee71(%rip), %xmm3    # 0xee260
movsd %xmm4, (%rsi,%r14,8)
incq %r14
addq $-0x8, %r13
cmpq %r14, %rdx
jne 0xaf076
movq 0x60(%rsp), %rcx
movq 0x38(%rcx), %rax
movslq 0x30(%rcx), %rcx
movsd -0x8(%rax,%rcx,8), %xmm1
movq 0xe8(%rsp), %rbp
movsd -0x8(%r15,%rbp,8), %xmm0
ucomisd %xmm1, %xmm0
jbe 0xaf43a
cmpl $0x1, 0xc0(%rbx)
jne 0xaf50c
movq %r12, %rbx
movq %r15, 0x38(%rsp)
movl 0x1158(%rsp), %eax
cmpl $0xb, %eax
movq 0xf0(%rsp), %r14
movq 0x100(%rsp), %r15
movq 0xf8(%rsp), %r12
movq 0x108(%rsp), %r13
movsd 0x90(%rsp), %xmm0
ja 0xb0573
movsd 0x30(%rsp), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
decq %rbp
movl %eax, %eax
leaq 0x6ef2b(%rip), %rcx     # 0x11e3c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x96a, %rbx            # imm = 0x96A
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %r13d
movl %r13d, %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %rbx, %r9
callq *0x88(%rsp)
cmpl $0x1, %eax
jne 0xafbe7
leaq 0x3ef18(%rip), %rsi     # 0xee3f0
leaq 0x710c6(%rip), %rdx     # 0x1205a5
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3eb39(%rip), %rsi     # 0xee034
leaq 0x70fa7(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x104b, %ecx           # imm = 0x104B
jmp 0xaf565
leaq 0x70fd6(%rip), %rsi     # 0x1204e9
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movb $0x2, %al
callq 0x30af0
leaq 0x3eb56(%rip), %rsi     # 0xee082
leaq 0x7102d(%rip), %rdx     # 0x120560
leaq 0x910(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x96a, %r12            # imm = 0x96A
leaq 0x3eade(%rip), %rsi     # 0xee034
leaq 0x70f4c(%rip), %rdx     # 0x1204a9
movq %r12, %rdi
movl $0x1046, %ecx           # imm = 0x1046
movq %r14, %r8
jmp 0xaed72
movsd %xmm0, 0x28(%rsp)
addq $0x96a, %rbx            # imm = 0x96A
movq %rbx, (%rsp)
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %r13d
movl %r13d, %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %r12, %r9
callq *0xa8(%rsp)
cmpl $0x1, %eax
jne 0xafa8f
leaq 0x3ee3f(%rip), %rsi     # 0xee3f0
leaq 0x71087(%rip), %rdx     # 0x12063f
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3ea60(%rip), %rsi     # 0xee034
leaq 0x70ece(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x10b4, %ecx           # imm = 0x10B4
jmp 0xaf565
movsd %xmm1, 0x30(%rsp)
addq $0x96a, %rbx            # imm = 0x96A
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %rbx, %r9
callq *0x88(%rsp)
cmpl $0x1, %eax
jne 0xafae7
leaq 0x3edcf(%rip), %rsi     # 0xee3f0
leaq 0x70f7d(%rip), %rdx     # 0x1205a5
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e9f0(%rip), %rsi     # 0xee034
leaq 0x70e5e(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x106b, %ecx           # imm = 0x106B
jmp 0xaf565
movsd %xmm0, 0x28(%rsp)
movsd %xmm1, 0x30(%rsp)
movq %rbx, %r13
addq $0x96a, %r13            # imm = 0x96A
movq %r13, 0x8(%rsp)
movq %r12, (%rsp)
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %r15, %r9
callq *0xd8(%rsp)
cmpl $0x1, %eax
jne 0xafb15
leaq 0x3ed4a(%rip), %rsi     # 0xee3f0
leaq 0x71040(%rip), %rdx     # 0x1206ed
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e96b(%rip), %rsi     # 0xee034
leaq 0x70dd9(%rip), %rdx     # 0x1204a9
movq %r13, %rdi
movl $0x109d, %ecx           # imm = 0x109D
jmp 0xaed6f
movsd %xmm0, 0x28(%rsp)
movsd %xmm1, 0x30(%rsp)
movq %rbx, %r13
addq $0x96a, %r13            # imm = 0x96A
movq %r13, (%rsp)
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %r12, %r9
callq *0xa8(%rsp)
cmpl $0x1, %eax
jne 0xafb4b
leaq 0x3ecca(%rip), %rsi     # 0xee3f0
leaq 0x70f12(%rip), %rdx     # 0x12063f
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e8eb(%rip), %rsi     # 0xee034
leaq 0x70d59(%rip), %rdx     # 0x1204a9
movq %r13, %rdi
movl $0x1059, %ecx           # imm = 0x1059
jmp 0xaed6f
movsd %xmm1, 0x30(%rsp)
addq $0x96a, %rbx            # imm = 0x96A
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %rbx, %r9
callq *0x88(%rsp)
cmpl $0x1, %eax
jne 0xafb82
leaq 0x3ec57(%rip), %rsi     # 0xee3f0
leaq 0x70e05(%rip), %rdx     # 0x1205a5
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e878(%rip), %rsi     # 0xee034
leaq 0x70ce6(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x1062, %ecx           # imm = 0x1062
jmp 0xaf565
movsd %xmm1, 0x30(%rsp)
addq $0x96a, %rbx            # imm = 0x96A
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %rbx, %r9
callq *0x88(%rsp)
cmpl $0x1, %eax
jne 0xafbb8
leaq 0x3ebe4(%rip), %rsi     # 0xee3f0
leaq 0x70d92(%rip), %rdx     # 0x1205a5
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e805(%rip), %rsi     # 0xee034
leaq 0x70c73(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x1088, %ecx           # imm = 0x1088
jmp 0xaf565
addq $0x96a, %rbx            # imm = 0x96A
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %r13d
movl %r13d, %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r15, %r8
movq %rbx, %r9
callq *0xd0(%rsp)
cmpl $0x1, %eax
jne 0xafc27
leaq 0x3eb73(%rip), %rsi     # 0xee3f0
leaq 0x70d6d(%rip), %rdx     # 0x1205f1
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e794(%rip), %rsi     # 0xee034
leaq 0x70c02(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x1052, %ecx           # imm = 0x1052
jmp 0xaf565
movsd %xmm1, 0x30(%rsp)
addq $0x96a, %rbx            # imm = 0x96A
movq %rbx, (%rsp)
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %r15, %r9
callq *0xa0(%rsp)
cmpl $0x1, %eax
jne 0xafc7e
leaq 0x3eafc(%rip), %rsi     # 0xee3f0
leaq 0x70d9c(%rip), %rdx     # 0x120697
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e71d(%rip), %rsi     # 0xee034
leaq 0x70b8b(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x1074, %ecx           # imm = 0x1074
jmp 0xaf565
movsd %xmm1, 0x30(%rsp)
addq $0x96a, %rbx            # imm = 0x96A
movq %rbx, (%rsp)
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %r15, %r9
callq *0xa0(%rsp)
cmpl $0x1, %eax
jne 0xafcad
leaq 0x3ea85(%rip), %rsi     # 0xee3f0
leaq 0x70d25(%rip), %rdx     # 0x120697
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e6a6(%rip), %rsi     # 0xee034
leaq 0x70b14(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x107e, %ecx           # imm = 0x107E
jmp 0xaf565
movsd %xmm1, 0x30(%rsp)
movq %rbx, %r13
addq $0x96a, %r13            # imm = 0x96A
movq %r13, (%rsp)
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %r15, %r9
callq *0xa0(%rsp)
cmpl $0x1, %eax
jne 0xafcdc
leaq 0x3ea0b(%rip), %rsi     # 0xee3f0
leaq 0x70cab(%rip), %rdx     # 0x120697
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e62c(%rip), %rsi     # 0xee034
leaq 0x70a9a(%rip), %rdx     # 0x1204a9
movq %r13, %rdi
movl $0x10a9, %ecx           # imm = 0x10A9
jmp 0xaed6f
movsd %xmm1, 0x30(%rsp)
addq $0x96a, %rbx            # imm = 0x96A
movq 0x60(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rcx
movq %r14, %r8
movq %rbx, %r9
callq *0x88(%rsp)
cmpl $0x1, %eax
jne 0xafd16
leaq 0x3e998(%rip), %rsi     # 0xee3f0
leaq 0x70b46(%rip), %rdx     # 0x1205a5
leaq 0x110(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x3e5b9(%rip), %rsi     # 0xee034
leaq 0x70a27(%rip), %rdx     # 0x1204a9
movq %rbx, %rdi
movl $0x1093, %ecx           # imm = 0x1093
jmp 0xaf565
testl %r13d, %r13d
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rcx
movsd 0x20(%rsp), %xmm1
movsd 0x28(%rsp), %xmm2
jle 0xb0573
movl 0x1c(%rsp), %eax
leaq (%rcx,%rbp,8), %rcx
xorl %edx, %edx
movsd (%r12,%rdx,8), %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd (%rsi,%rdx,8), %xmm0
movsd %xmm0, (%rcx)
incq %rdx
addq $-0x8, %rcx
cmpq %rdx, %rax
jne 0xafabb
jmp 0xb0573
movapd 0x70(%rsp), %xmm0
divsd 0x30(%rsp), %xmm0
addsd 0x3e765(%rip), %xmm0    # 0xee260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xafd49
xorps %xmm2, %xmm2
sqrtsd %xmm0, %xmm2
jmp 0xafd56
movapd 0x70(%rsp), %xmm1
movsd 0x30(%rsp), %xmm2
divsd %xmm2, %xmm1
movsd 0x3e733(%rip), %xmm0    # 0xee260
subsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xafdde
xorps %xmm3, %xmm3
sqrtsd %xmm0, %xmm3
jmp 0xafdf1
movapd 0x70(%rsp), %xmm1
mulsd 0x41927(%rip), %xmm1    # 0xf1480
divsd 0x30(%rsp), %xmm1
addsd 0x3e6f9(%rip), %xmm1    # 0xee260
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0xaff06
sqrtsd %xmm0, %xmm0
jmp 0xaff0b
movapd 0x70(%rsp), %xmm0
mulsd 0x418f0(%rip), %xmm0    # 0xf1480
divsd 0x30(%rsp), %xmm0
addsd 0x3e6c2(%rip), %xmm0    # 0xee260
xorpd %xmm4, %xmm4
ucomisd %xmm4, %xmm0
jb 0xaff87
xorps %xmm3, %xmm3
sqrtsd %xmm0, %xmm3
jmp 0xaff94
movapd 0x70(%rsp), %xmm0
movsd 0x30(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3e690(%rip), %xmm0    # 0xee260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xb0040
sqrtsd %xmm0, %xmm0
jmp 0xb004f
testl %r13d, %r13d
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rcx
jle 0xb0573
movl 0x1c(%rsp), %eax
leaq (%rcx,%rbp,8), %rcx
xorl %edx, %edx
movsd (%r14,%rdx,8), %xmm0
mulsd (%rsi,%rdx,8), %xmm0
movsd %xmm0, (%rcx)
incq %rdx
addq $-0x8, %rcx
cmpq %rdx, %rax
jne 0xafc07
jmp 0xb0573
testl %r13d, %r13d
movq 0x40(%rsp), %rsi
movsd 0x90(%rsp), %xmm1
movq 0x1150(%rsp), %rcx
movsd 0x20(%rsp), %xmm2
jle 0xb0573
movl 0x1c(%rsp), %eax
leaq (%rcx,%rbp,8), %rcx
xorl %edx, %edx
movsd (%r15,%rdx,8), %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm2, %xmm0
mulsd (%rsi,%rdx,8), %xmm0
movsd %xmm0, (%rcx)
incq %rdx
addq $-0x8, %rcx
cmpq %rdx, %rax
jne 0xafc56
jmp 0xb0573
movapd 0x70(%rsp), %xmm0
movsd 0x30(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3e5ca(%rip), %xmm0    # 0xee260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xb0156
sqrtsd %xmm0, %xmm0
jmp 0xb0165
movapd 0x70(%rsp), %xmm0
movsd 0x30(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3e59b(%rip), %xmm0    # 0xee260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xb0261
sqrtsd %xmm0, %xmm0
jmp 0xb0270
movsd 0x3f99c(%rip), %xmm0    # 0xef680
mulsd 0x70(%rsp), %xmm0
movsd 0x30(%rsp), %xmm2
divsd %xmm2, %xmm0
addsd 0x3e564(%rip), %xmm0    # 0xee260
xorpd %xmm4, %xmm4
ucomisd %xmm4, %xmm0
jb 0xb0374
xorps %xmm3, %xmm3
sqrtsd %xmm0, %xmm3
jmp 0xb0387
movapd 0x70(%rsp), %xmm1
movsd 0x30(%rsp), %xmm2
divsd %xmm2, %xmm1
movsd 0x3e532(%rip), %xmm0    # 0xee260
subsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xb0483
sqrtsd %xmm0, %xmm0
jmp 0xb0492
callq 0x82b0
xorpd %xmm3, %xmm3
movapd %xmm0, %xmm2
movsd 0x68(%rsp), %xmm0
movsd 0x3ef6c(%rip), %xmm1    # 0xeecd0
mulsd %xmm0, %xmm1
addsd 0x3e4f0(%rip), %xmm0    # 0xee260
mulsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xafd80
sqrtsd %xmm0, %xmm0
jmp 0xafd91
movsd %xmm2, 0x20(%rsp)
callq 0x82b0
movsd 0x20(%rsp), %xmm2
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdx
cmpl $0x0, 0x1c(%rsp)
jle 0xb0573
divsd %xmm2, %xmm0
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd (%r13,%rbp,8), %xmm1
mulsd %xmm0, %xmm1
mulsd (%r14,%rcx,8), %xmm1
mulsd (%rsi,%rcx,8), %xmm1
movsd %xmm1, (%rdx,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xafdb3
jmp 0xb0573
callq 0x82b0
xorpd %xmm1, %xmm1
movsd 0x30(%rsp), %xmm2
movapd %xmm0, %xmm3
movapd 0x70(%rsp), %xmm0
addsd %xmm0, %xmm0
divsd %xmm2, %xmm0
addsd 0x3e459(%rip), %xmm0    # 0xee260
ucomisd %xmm1, %xmm0
jb 0xafe13
sqrtsd %xmm0, %xmm0
jmp 0xafe24
movsd %xmm3, 0x58(%rsp)
callq 0x82b0
movsd 0x58(%rsp), %xmm3
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdi
movsd 0x20(%rsp), %xmm8
movsd 0x28(%rsp), %xmm9
cmpl $0x0, 0x1c(%rsp)
movsd 0x90(%rsp), %xmm6
movq 0xc8(%rsp), %rdx
jle 0xb0573
movsd 0x4171d(%rip), %xmm1    # 0xf1580
divsd %xmm0, %xmm1
movapd 0x70(%rsp), %xmm7
mulsd 0x415c3(%rip), %xmm7    # 0xf1438
divsd %xmm3, %xmm1
divsd 0x30(%rsp), %xmm7
addsd 0x3e3d9(%rip), %xmm7    # 0xee260
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd 0x415a3(%rip), %xmm0    # 0xf1438
movsd 0x3f8c3(%rip), %xmm2    # 0xef760
movsd (%r12,%rcx,8), %xmm3
mulsd %xmm9, %xmm3
mulsd %xmm8, %xmm3
movsd (%rdx,%rbp,8), %xmm4
movapd %xmm4, %xmm5
mulsd %xmm2, %xmm5
mulsd %xmm4, %xmm5
mulsd %xmm0, %xmm4
mulsd %xmm6, %xmm4
mulsd (%r15,%rcx,8), %xmm4
mulsd %xmm8, %xmm4
mulsd %xmm8, %xmm3
addsd %xmm4, %xmm3
addsd %xmm7, %xmm5
mulsd (%r14,%rcx,8), %xmm5
subsd %xmm5, %xmm3
mulsd %xmm1, %xmm3
mulsd (%rsi,%rcx,8), %xmm3
movsd %xmm3, (%rdi,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xafe9d
jmp 0xb0573
callq 0x82b0
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rcx
movsd 0x20(%rsp), %xmm2
movsd 0x28(%rsp), %xmm3
cmpl $0x0, 0x1c(%rsp)
jle 0xb0573
addsd %xmm0, %xmm0
movsd 0x3e325(%rip), %xmm1    # 0xee260
mulsd 0x3f73d(%rip), %xmm3    # 0xef680
divsd %xmm0, %xmm1
movl 0x1c(%rsp), %eax
leaq (%rcx,%rbp,8), %rcx
xorl %edx, %edx
movsd (%r12,%rdx,8), %xmm0
mulsd %xmm3, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
addsd (%r14,%rdx,8), %xmm0
mulsd %xmm1, %xmm0
mulsd (%rsi,%rdx,8), %xmm0
movsd %xmm0, (%rcx)
incq %rdx
addq $-0x8, %rcx
cmpq %rdx, %rax
jne 0xaff51
jmp 0xb0573
callq 0x82b0
xorpd %xmm4, %xmm4
movapd %xmm0, %xmm3
movsd 0x68(%rsp), %xmm0
movsd 0x3ed5e(%rip), %xmm2    # 0xeed00
addsd %xmm0, %xmm2
mulsd 0x6e3ca(%rip), %xmm2    # 0x11e378
movsd 0x3e2aa(%rip), %xmm1    # 0xee260
addsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
mulsd %xmm0, %xmm1
addsd 0x3e81e(%rip), %xmm0    # 0xee7e8
mulsd %xmm1, %xmm0
ucomisd %xmm4, %xmm0
jb 0xaffda
sqrtsd %xmm0, %xmm0
jmp 0xaffeb
movsd %xmm3, 0x20(%rsp)
callq 0x82b0
movsd 0x20(%rsp), %xmm3
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdx
cmpl $0x0, 0x1c(%rsp)
jle 0xb0573
divsd %xmm3, %xmm0
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd (%r13,%rbp,8), %xmm1
movapd %xmm0, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd (%r14,%rcx,8), %xmm2
mulsd (%rsi,%rcx,8), %xmm2
movsd %xmm2, (%rdx,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xb000d
jmp 0xb0573
callq 0x82b0
xorpd %xmm3, %xmm3
movsd 0x30(%rsp), %xmm2
movsd %xmm0, 0x20(%rsp)
movapd 0x70(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
movsd 0x3e1f5(%rip), %xmm0    # 0xee260
movapd %xmm1, 0x70(%rsp)
subsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xb0081
sqrtsd %xmm0, %xmm0
jmp 0xb0086
callq 0x82b0
movsd %xmm0, 0x28(%rsp)
movapd 0x70(%rsp), %xmm0
addsd 0x3e1c6(%rip), %xmm0    # 0xee260
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xb00ad
xorps %xmm2, %xmm2
sqrtsd %xmm0, %xmm2
jmp 0xb00ba
callq 0x82b0
xorpd %xmm3, %xmm3
movapd %xmm0, %xmm2
movsd 0x68(%rsp), %xmm0
movsd 0x3e720(%rip), %xmm1    # 0xee7e8
addsd %xmm0, %xmm1
addsd 0x3ec2c(%rip), %xmm0    # 0xeed00
mulsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xb00e4
sqrtsd %xmm0, %xmm0
jmp 0xb00f5
movsd %xmm2, 0x58(%rsp)
callq 0x82b0
movsd 0x58(%rsp), %xmm2
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdx
cmpl $0x0, 0x1c(%rsp)
jle 0xb0573
mulsd 0x3ebbb(%rip), %xmm0    # 0xeecd0
mulsd %xmm0, %xmm2
divsd 0x20(%rsp), %xmm2
divsd 0x28(%rsp), %xmm2
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd (%r13,%rbp,8), %xmm0
mulsd %xmm2, %xmm0
mulsd (%r14,%rcx,8), %xmm0
mulsd (%rsi,%rcx,8), %xmm0
movsd %xmm0, (%rdx,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xb012b
jmp 0xb0573
callq 0x82b0
xorpd %xmm3, %xmm3
movsd 0x30(%rsp), %xmm2
movsd %xmm0, 0x28(%rsp)
movapd 0x70(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
movsd 0x3e0df(%rip), %xmm0    # 0xee260
subsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xb0194
xorps %xmm2, %xmm2
sqrtsd %xmm0, %xmm2
jmp 0xb019d
callq 0x82b0
movapd %xmm0, %xmm2
movsd 0x68(%rsp), %xmm0
movsd 0x40e1d(%rip), %xmm1    # 0xf0fc8
mulsd %xmm0, %xmm1
addsd 0x3e0a9(%rip), %xmm0    # 0xee260
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xb01cb
sqrtsd %xmm0, %xmm0
jmp 0xb01dc
movsd %xmm2, 0x58(%rsp)
callq 0x82b0
movsd 0x58(%rsp), %xmm2
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdi
movsd 0x20(%rsp), %xmm5
cmpl $0x0, 0x1c(%rsp)
movsd 0x90(%rsp), %xmm4
movq 0xc8(%rsp), %rdx
jle 0xb0573
divsd 0x28(%rsp), %xmm0
divsd %xmm2, %xmm0
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd (%r13,%rbp,8), %xmm1
mulsd %xmm0, %xmm1
movsd (%r15,%rcx,8), %xmm2
mulsd %xmm4, %xmm2
movsd (%r14,%rcx,8), %xmm3
mulsd (%rdx,%rcx,8), %xmm3
mulsd %xmm5, %xmm2
subsd %xmm3, %xmm2
mulsd %xmm1, %xmm2
mulsd (%rsi,%rcx,8), %xmm2
movsd %xmm2, (%rdi,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xb021b
jmp 0xb0573
callq 0x82b0
xorpd %xmm3, %xmm3
movsd 0x30(%rsp), %xmm2
movsd %xmm0, 0x28(%rsp)
movapd 0x70(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
movsd 0x3dfd4(%rip), %xmm0    # 0xee260
subsd %xmm1, %xmm0
ucomisd %xmm3, %xmm0
jb 0xb029f
xorps %xmm2, %xmm2
sqrtsd %xmm0, %xmm2
jmp 0xb02a8
callq 0x82b0
movapd %xmm0, %xmm2
movsd 0x68(%rsp), %xmm0
movsd 0x3e532(%rip), %xmm1    # 0xee7e8
addsd %xmm0, %xmm1
addsd 0x3ea3e(%rip), %xmm0    # 0xeed00
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xb02d6
sqrtsd %xmm0, %xmm0
jmp 0xb02e7
movsd %xmm2, 0x58(%rsp)
callq 0x82b0
movsd 0x58(%rsp), %xmm2
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdi
movsd 0x20(%rsp), %xmm5
cmpl $0x0, 0x1c(%rsp)
movsd 0x90(%rsp), %xmm4
movq 0xc8(%rsp), %rdx
jle 0xb0573
mulsd 0x3e9b2(%rip), %xmm0    # 0xeecd0
divsd 0x28(%rsp), %xmm0
divsd %xmm2, %xmm0
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd (%r13,%rbp,8), %xmm1
mulsd %xmm0, %xmm1
movsd (%rdx,%rcx,8), %xmm2
movsd (%r15,%rcx,8), %xmm3
mulsd %xmm4, %xmm3
mulsd %xmm5, %xmm3
mulsd (%r14,%rcx,8), %xmm2
addsd %xmm3, %xmm2
mulsd %xmm1, %xmm2
mulsd (%rsi,%rcx,8), %xmm2
movsd %xmm2, (%rdi,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xb032e
jmp 0xb0573
callq 0x82b0
xorpd %xmm4, %xmm4
movsd 0x30(%rsp), %xmm2
movapd %xmm0, %xmm3
movapd 0x70(%rsp), %xmm1
divsd %xmm2, %xmm1
movsd 0x3dec7(%rip), %xmm0    # 0xee260
subsd %xmm1, %xmm0
ucomisd %xmm4, %xmm0
movsd %xmm3, 0x28(%rsp)
jb 0xb03af
sqrtsd %xmm0, %xmm5
jmp 0xb03be
callq 0x82b0
movsd 0x30(%rsp), %xmm2
movapd %xmm0, %xmm5
movapd 0x70(%rsp), %xmm1
addsd %xmm1, %xmm1
divsd %xmm2, %xmm1
addsd 0x3de8c(%rip), %xmm1    # 0xee260
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0xb03e8
sqrtsd %xmm0, %xmm0
jmp 0xb03f9
movsd %xmm5, 0x58(%rsp)
callq 0x82b0
movsd 0x58(%rsp), %xmm5
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdi
movsd 0x20(%rsp), %xmm3
movsd 0x28(%rsp), %xmm4
cmpl $0x0, 0x1c(%rsp)
movsd 0x90(%rsp), %xmm2
movq 0xc8(%rsp), %rdx
jle 0xb0573
mulsd 0x3e89a(%rip), %xmm4    # 0xeecd0
divsd %xmm5, %xmm4
divsd %xmm0, %xmm4
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd (%r15,%rcx,8), %xmm0
mulsd %xmm2, %xmm0
movsd (%rdx,%rbp,8), %xmm1
addsd %xmm1, %xmm1
mulsd (%r14,%rcx,8), %xmm1
mulsd %xmm3, %xmm0
addsd %xmm1, %xmm0
mulsd %xmm4, %xmm0
mulsd (%rsi,%rcx,8), %xmm0
movsd %xmm0, (%rdi,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xb0444
jmp 0xb0573
callq 0x82b0
xorpd %xmm1, %xmm1
movsd 0x30(%rsp), %xmm2
movsd %xmm0, 0x20(%rsp)
movapd 0x70(%rsp), %xmm0
addsd %xmm0, %xmm0
divsd %xmm2, %xmm0
addsd 0x3ddb2(%rip), %xmm0    # 0xee260
ucomisd %xmm1, %xmm0
jb 0xb04bd
xorps %xmm3, %xmm3
sqrtsd %xmm0, %xmm3
jmp 0xb04c6
callq 0x82b0
movapd %xmm0, %xmm3
movsd 0x68(%rsp), %xmm0
movsd 0x3e82c(%rip), %xmm2    # 0xeed00
addsd %xmm0, %xmm2
mulsd 0x6de98(%rip), %xmm2    # 0x11e378
movsd 0x3dd78(%rip), %xmm1    # 0xee260
addsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
mulsd %xmm0, %xmm1
addsd 0x3e2ec(%rip), %xmm0    # 0xee7e8
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xb0510
sqrtsd %xmm0, %xmm0
jmp 0xb0521
movsd %xmm3, 0x28(%rsp)
callq 0x82b0
movsd 0x28(%rsp), %xmm3
movq 0x40(%rsp), %rsi
movq 0x1150(%rsp), %rdx
cmpl $0x0, 0x1c(%rsp)
jle 0xb0573
divsd %xmm3, %xmm0
divsd 0x20(%rsp), %xmm0
movl 0x1c(%rsp), %eax
xorl %ecx, %ecx
movsd (%r13,%rbp,8), %xmm1
movapd %xmm0, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd (%r14,%rcx,8), %xmm2
mulsd (%rsi,%rcx,8), %xmm2
movsd %xmm2, (%rdx,%rbp,8)
incq %rcx
decq %rbp
cmpq %rcx, %rax
jne 0xb0545
movq %rsi, %rbx
movq %r14, %rdi
callq 0x8410
movq %r15, %rdi
callq 0x8410
movq %r12, %rdi
callq 0x8410
movq 0x38(%rsp), %rdi
callq 0x8410
movq %rbx, %rdi
callq 0x8410
xorl %eax, %eax
jmp 0xaed7e