// File: /workspace/github_c_makefile_star2_O2/lesgourg[P]class_public/build/../source/background.c
// Function: background_initial_conditions
int background_initial_conditions(
                                  struct precision *ppr,
                                  struct background *pba,
                                  double * pvecback, /* vector with argument pvecback[index_bg] (must be already allocated, normal format is sufficient) */
                                  double * pvecback_integration, /* vector with argument pvecback_integration[index_bi] (must be already allocated with size pba->bi_size) */
                                  double * loga_ini
                                  ) {

  /** Summary: */

  /** - define local variables */

  /* scale factor */
  double a;

  double rho_ncdm, p_ncdm, rho_ncdm_rel_tot=0.;
  double f,Omega_rad, rho_rad;
  int counter,is_early_enough,n_ncdm;
  double scf_lambda;
  double rho_fld_today;
  double w_fld,dw_over_da_fld,integral_fld;

  /** - fix initial value of \f$ a \f$ */
  a = ppr->a_ini_over_a_today_default;

  /**  If we have ncdm species, perhaps we need to start earlier
       than the standard value for the species to be relativistic.
       This could happen for some WDM models.
  */

  if (pba->has_ncdm == _TRUE_) {

    for (counter=0; counter < _MAX_IT_; counter++) {

      is_early_enough = _TRUE_;
      rho_ncdm_rel_tot = 0.;

      for (n_ncdm=0; n_ncdm<pba->N_ncdm; n_ncdm++) {

        class_call(background_ncdm_momenta(pba->q_ncdm_bg[n_ncdm],
                                           pba->w_ncdm_bg[n_ncdm],
                                           pba->q_size_ncdm_bg[n_ncdm],
                                           pba->M_ncdm[n_ncdm],
                                           pba->factor_ncdm[n_ncdm],
                                           1./a-1.0,
                                           NULL,
                                           &rho_ncdm,
                                           &p_ncdm,
                                           NULL,
                                           NULL),
                   pba->error_message,
                   pba->error_message);
        rho_ncdm_rel_tot += 3.*p_ncdm;
        if (fabs(p_ncdm/rho_ncdm-1./3.)>ppr->tol_ncdm_initial_w) {
          is_early_enough = _FALSE_;
        }
      }
      if (is_early_enough == _TRUE_) {
        break;
      }
      else {
        a *= _SCALE_BACK_;
      }
    }
    class_test(counter == _MAX_IT_,
               pba->error_message,
               "Search for initial scale factor a such that all ncdm species are relativistic failed.");
  }

  /* Set initial values of {B} variables: */
  Omega_rad = pba->Omega0_g;
  if (pba->has_ur == _TRUE_) {
    Omega_rad += pba->Omega0_ur;
  }
  if (pba->has_idr == _TRUE_) {
    Omega_rad += pba->Omega0_idr;
  }
  rho_rad = Omega_rad*pow(pba->H0,2)/pow(a,4);
  if (pba->has_ncdm == _TRUE_) {
    /** - We must add the relativistic contribution from NCDM species */
    rho_rad += rho_ncdm_rel_tot;
  }
  if (pba->has_dcdm == _TRUE_) {
    /* Remember that the critical density today in CLASS conventions is H0^2 */
    pvecback_integration[pba->index_bi_rho_dcdm] =
      pba->Omega_ini_dcdm*pba->H0*pba->H0*pow(a,-3);
    if (pba->background_verbose > 3)
      printf("Density is %g. Omega_ini=%g\n",pvecback_integration[pba->index_bi_rho_dcdm],pba->Omega_ini_dcdm);
  }

  if (pba->has_dr == _TRUE_) {
    if (pba->has_dcdm == _TRUE_) {
      /**  - f is the critical density fraction of DR. The exact solution is:
       *
       * `f = -Omega_rad+pow(pow(Omega_rad,3./2.)+0.5*pow(a,6)*pvecback_integration[pba->index_bi_rho_dcdm]*pba->Gamma_dcdm/pow(pba->H0,3),2./3.);`
       *
       * but it is not numerically stable for very small f which is always the case.
       * Instead we use the Taylor expansion of this equation, which is equivalent to
       * ignoring f(a) in the Hubble rate.
       */
      f = 1./3.*pow(a,6)*pvecback_integration[pba->index_bi_rho_dcdm]*pba->Gamma_dcdm/pow(pba->H0,3)/sqrt(Omega_rad);
      pvecback_integration[pba->index_bi_rho_dr] = f*pba->H0*pba->H0/pow(a,4);
    }
    else{
      /** There is also a space reserved for a future case where dr is not sourced by dcdm */
      pvecback_integration[pba->index_bi_rho_dr] = 0.0;
    }
  }

  if (pba->has_fld == _TRUE_) {

    /* rho_fld today */
    rho_fld_today = pba->Omega0_fld * pow(pba->H0,2);

    /* integrate rho_fld(a) from a_ini to a_0, to get rho_fld(a_ini) given rho_fld(a0) */
    class_call(background_w_fld(pba,a,&w_fld,&dw_over_da_fld,&integral_fld), pba->error_message, pba->error_message);

    /* Note: for complicated w_fld(a) functions with no simple
       analytic integral, this is the place were you should compute
       numerically the simple 1d integral [int_{a_ini}^{a_0} 3
       [(1+w_fld)/a] da] (e.g. with the Romberg method?) instead of
       calling background_w_fld */

    /* rho_fld at initial time */
    pvecback_integration[pba->index_bi_rho_fld] = rho_fld_today * exp(integral_fld);

  }

  /** - Fix initial value of \f$ \phi, \phi' \f$
   * set directly in the radiation attractor => fixes the units in terms of rho_ur
   *
   * TODO:
   * - There seems to be some small oscillation when it starts.
   * - Check equations and signs. Sign of phi_prime?
   * - is rho_ur all there is early on?
   */
  if (pba->has_scf == _TRUE_) {
    scf_lambda = pba->scf_parameters[0];
    if (pba->attractor_ic_scf == _TRUE_) {
      pvecback_integration[pba->index_bi_phi_scf] = -1/scf_lambda*
        log(rho_rad*4./(3*pow(scf_lambda,2)-12))*pba->phi_ini_scf;
      if (3.*pow(scf_lambda,2)-12. < 0) {
        /** - --> If there is no attractor solution for scf_lambda, assign some value. Otherwise would give a nan.*/
        pvecback_integration[pba->index_bi_phi_scf] = 1./scf_lambda;//seems to do the work
        if (pba->background_verbose > 0) {
          printf(" No attractor IC for lambda = %.3e ! \n ",scf_lambda);
        }
      }
      pvecback_integration[pba->index_bi_phi_prime_scf] = 2.*a*sqrt(V_scf(pba,pvecback_integration[pba->index_bi_phi_scf]))*pba->phi_prime_ini_scf;
    }
    else {
      printf("Not using attractor initial conditions\n");
      /** - --> If no attractor initial conditions are assigned, gets the provided ones. */
      pvecback_integration[pba->index_bi_phi_scf] = pba->phi_ini_scf;
      pvecback_integration[pba->index_bi_phi_prime_scf] = pba->phi_prime_ini_scf;
    }
    class_test(!isfinite(pvecback_integration[pba->index_bi_phi_scf]) ||
               !isfinite(pvecback_integration[pba->index_bi_phi_scf]),
               pba->error_message,
               "initial phi = %e phi_prime = %e -> check initial conditions",
               pvecback_integration[pba->index_bi_phi_scf],
               pvecback_integration[pba->index_bi_phi_scf]);
  }

  /* Infer pvecback from pvecback_integration */
  class_call(background_functions(pba, a, pvecback_integration, normal_info, pvecback),
             pba->error_message,
             pba->error_message);

  /* Just checking that our initial time indeed is deep enough in the radiation
     dominated regime */
  class_test(fabs(pvecback[pba->index_bg_Omega_r]-1.) > ppr->tol_initial_Omega_r,
             pba->error_message,
             "Omega_r = %e, not close enough to 1. Decrease a_ini_over_a_today_default in order to start from radiation domination.",
             pvecback[pba->index_bg_Omega_r]);

  /** - compute initial proper time, assuming radiation-dominated
      universe since Big Bang and therefore \f$ t=1/(2H) \f$ (good
      approximation for most purposes) */

  class_test(pvecback[pba->index_bg_H] <= 0.,
             pba->error_message,
             "H = %e instead of strictly positive",pvecback[pba->index_bg_H]);

  pvecback_integration[pba->index_bi_time] = 1./(2.* pvecback[pba->index_bg_H]);

  /** - compute initial conformal time, assuming radiation-dominated
      universe since Big Bang and therefore \f$ \tau=1/(aH) \f$
      (good approximation for most purposes) */
  pvecback_integration[pba->index_bi_tau] = 1./(a * pvecback[pba->index_bg_H]);

  /** - compute initial sound horizon, assuming \f$ c_s=1/\sqrt{3} \f$ initially */
  pvecback_integration[pba->index_bi_rs] = pvecback_integration[pba->index_bi_tau]/sqrt(3.);

  /** - set initial value of D and D' in RD. D and D' need only be set up to an overall constant, since they will later be re-normalized. From Ma&Bertschinger, one can derive D ~ (ktau)^2 at early times, from which one finds D'/D = 2 aH (assuming aH=1/tau during RD) */
  pvecback_integration[pba->index_bi_D] = 1.;
  pvecback_integration[pba->index_bi_D_prime] = 2.*a*pvecback[pba->index_bg_H];

  /** - return the value finally chosen for the initial log(a) */
  *loga_ini = log(a);

  return _SUCCESS_;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1088, %rsp           # imm = 0x1088
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, 0x38(%rsp)
movsd (%rdi), %xmm2
xorps %xmm1, %xmm1
cmpw $0x1, 0x32a(%rsi)
jne 0x56588
movq %r12, 0x40(%rsp)
movq %r15, 0x48(%rsp)
movq %r14, 0x50(%rsp)
xorl %r12d, %r12d
leaq 0x68(%rsp), %rbp
leaq 0x60(%rsp), %r14
xorl %eax, %eax
cmpl $0x2710, %eax           # imm = 0x2710
je 0x5650e
movl %eax, 0x28(%rsp)
movsd 0x7fe4f(%rip), %xmm0    # 0xd6260
divsd %xmm2, %xmm0
addsd 0x803cb(%rip), %xmm0    # 0xd67e8
movsd %xmm0, 0x30(%rsp)
xorps %xmm1, %xmm1
xorl %r15d, %r15d
pushq $0x1
popq %r13
movsd %xmm2, 0x20(%rsp)
movslq 0x70(%rbx), %rax
cmpq %rax, %r15
jge 0x564f5
movq 0x340(%rbx), %rax
movq (%rax,%r15,8), %rdi
movq 0x348(%rbx), %rax
movq (%rax,%r15,8), %rsi
movq 0x368(%rbx), %rax
movl (%rax,%r15,4), %edx
movq 0x90(%rbx), %rax
movsd (%rax,%r15,8), %xmm0
movq 0x378(%rbx), %rax
movsd %xmm1, 0x18(%rsp)
movsd (%rax,%r15,8), %xmm1
xorps %xmm3, %xmm3
movups %xmm3, (%rsp)
movsd 0x30(%rsp), %xmm2
xorl %ecx, %ecx
movq %rbp, %r8
movq %r14, %r9
callq 0x51f73
movsd 0x20(%rsp), %xmm2
movsd 0x60(%rsp), %xmm0
movapd %xmm0, %xmm1
mulsd 0x81295(%rip), %xmm1    # 0xd7748
movsd 0x18(%rsp), %xmm3
addsd %xmm1, %xmm3
movsd %xmm3, 0x18(%rsp)
movsd 0x18(%rsp), %xmm1
divsd 0x68(%rsp), %xmm0
addsd 0x844b1(%rip), %xmm0    # 0xda988
andpd 0x7fd61(%rip), %xmm0    # 0xd6240
movq 0x38(%rsp), %rax
ucomisd 0x50(%rax), %xmm0
cmoval %r12d, %r13d
incq %r15
jmp 0x56433
cmpl $0x1, %r13d
je 0x56579
mulsd 0x7fd8d(%rip), %xmm2    # 0xd6290
movl 0x28(%rsp), %eax
incl %eax
jmp 0x563fa
leaq 0x9a87b(%rip), %rsi     # 0xf0d90
leaq 0x80(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
leaq 0x7fb54(%rip), %rsi     # 0xd6082
leaq 0x82e62(%rip), %rdx     # 0xd9397
leaq 0x880(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
addq $0xb84, %rbx            # imm = 0xB84
leaq 0x7fadc(%rip), %rsi     # 0xd6034
leaq 0x9a813(%rip), %rdx     # 0xf0d72
movq %rbx, %rdi
movl $0x895, %ecx            # imm = 0x895
movq %r15, %r8
xorl %eax, %eax
callq 0x2e014
pushq $0x1
popq %rbp
jmp 0x56c14
movq 0x50(%rsp), %r14
movq 0x48(%rsp), %r15
movq 0x40(%rsp), %r12
movsd 0x10(%rbx), %xmm0
cmpw $0x1, 0x330(%rbx)
jne 0x5659c
addsd 0x28(%rbx), %xmm0
cmpw $0x1, 0x332(%rbx)
movsd %xmm1, 0x18(%rsp)
jne 0x565b1
addsd 0x40(%rbx), %xmm0
movsd (%rbx), %xmm1
mulsd %xmm1, %xmm1
movsd %xmm0, 0x28(%rsp)
mulsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rsp)
movsd 0x82e27(%rip), %xmm1    # 0xd93f8
movsd %xmm2, 0x20(%rsp)
movapd %xmm2, %xmm0
callq 0x8650
movsd 0x30(%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
movzwl 0x324(%rbx), %eax
cmpw $0x1, 0x32a(%rbx)
jne 0x56605
addsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x30(%rsp)
cmpw $0x1, %ax
movsd 0x20(%rsp), %xmm2
jne 0x5667b
movsd (%rbx), %xmm0
movsd 0x58(%rbx), %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
movsd 0x82e0a(%rip), %xmm1    # 0xd9440
movapd %xmm2, %xmm0
callq 0x8650
movsd 0x20(%rsp), %xmm2
mulsd 0x18(%rsp), %xmm0
movslq 0x2f0(%rbx), %rax
movsd %xmm0, (%r15,%rax,8)
cmpw $0x4, 0xb82(%rbx)
jl 0x5667b
movsd 0x58(%rbx), %xmm1
leaq 0x9a778(%rip), %rdi     # 0xf0de6
movb $0x2, %al
callq 0x8030
movsd 0x20(%rsp), %xmm2
cmpw $0x1, 0x326(%rbx)
jne 0x5675c
xorpd %xmm0, %xmm0
cmpw $0x1, 0x324(%rbx)
jne 0x5674f
movsd 0x80fad(%rip), %xmm1    # 0xd7650
movapd %xmm2, %xmm0
callq 0x8650
mulsd 0x82d54(%rip), %xmm0    # 0xd9408
movslq 0x2f0(%rbx), %rax
mulsd (%r15,%rax,8), %xmm0
mulsd 0x60(%rbx), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd (%rbx), %xmm0
movsd 0x81070(%rip), %xmm1    # 0xd7748
callq 0x8650
movsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
xorpd %xmm0, %xmm0
movsd 0x28(%rsp), %xmm1
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0x56707
sqrtsd %xmm0, %xmm0
jmp 0x5670c
callq 0x82d0
movsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd (%rbx), %xmm0
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
movsd 0x82cc8(%rip), %xmm1    # 0xd93f8
movsd 0x20(%rsp), %xmm0
callq 0x8650
movsd 0x20(%rsp), %xmm2
movsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
movslq 0x2f4(%rbx), %rax
movsd %xmm0, (%r15,%rax,8)
pushq $0x1
popq %rbp
cmpw $0x1, 0x32e(%rbx)
jne 0x56827
movsd (%rbx), %xmm0
movsd %xmm0, 0x28(%rsp)
movsd 0x100(%rbx), %xmm0
movsd %xmm0, 0x18(%rsp)
leaq 0x78(%rsp), %rsi
leaq 0x70(%rsp), %rdx
leaq 0x58(%rsp), %rcx
movq %rbx, %rdi
movapd %xmm2, %xmm0
callq 0x521cf
testl %eax, %eax
je 0x567e9
addq $0xb84, %rbx            # imm = 0xB84
leaq 0x7fc3e(%rip), %rsi     # 0xd63f0
leaq 0x9a64a(%rip), %rdx     # 0xf0e03
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x7f85f(%rip), %rsi     # 0xd6034
leaq 0x9a596(%rip), %rdx     # 0xf0d72
movq %rbx, %rdi
movl $0x8c6, %ecx            # imm = 0x8C6
jmp 0x56a6e
movsd 0x28(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd 0x18(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
movsd 0x58(%rsp), %xmm0
callq 0x86a0
mulsd 0x18(%rsp), %xmm0
movslq 0x2f8(%rbx), %rax
movsd %xmm0, (%r15,%rax,8)
movsd 0x20(%rsp), %xmm2
cmpw $0x1, 0x328(%rbx)
jne 0x56a13
cmpw $0x1, 0x150(%rbx)
jne 0x56929
movq 0x148(%rbx), %rax
movsd (%rax), %xmm1
movsd 0x7ff92(%rip), %xmm3    # 0xd67e8
movsd 0x30(%rsp), %xmm0
mulsd 0x82b94(%rip), %xmm0    # 0xd93f8
movapd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd 0x80ed4(%rip), %xmm2    # 0xd7748
movsd %xmm1, 0x28(%rsp)
divsd %xmm1, %xmm3
movsd %xmm3, 0x30(%rsp)
addsd 0x98a7c(%rip), %xmm2    # 0xef308
movsd %xmm2, 0x18(%rsp)
divsd %xmm2, %xmm0
callq 0x82e0
mulsd 0x30(%rsp), %xmm0
mulsd 0x158(%rbx), %xmm0
movslq 0x2fc(%rbx), %rax
movsd %xmm0, (%r15,%rax,8)
xorpd %xmm1, %xmm1
ucomisd 0x18(%rsp), %xmm1
jbe 0x56901
movsd 0x7f996(%rip), %xmm0    # 0xd6260
divsd 0x28(%rsp), %xmm0
movsd %xmm0, (%r15,%rax,8)
cmpw $0x0, 0xb82(%rbx)
jle 0x56901
leaq 0x9a559(%rip), %rdi     # 0xf0e40
movsd 0x28(%rsp), %xmm0
movb $0x1, %al
callq 0x8030
movslq 0x2fc(%rbx), %rax
movsd (%r15,%rax,8), %xmm0
movsd 0x20(%rsp), %xmm1
addsd %xmm1, %xmm1
movsd %xmm1, 0x18(%rsp)
movq %rbx, %rdi
callq 0x51d89
ucomisd 0x7f937(%rip), %xmm0    # 0xd6258
jb 0x56961
sqrtsd %xmm0, %xmm0
jmp 0x56966
leaq 0x9aee6(%rip), %rdi     # 0xf1816
callq 0x8540
movsd 0x158(%rbx), %xmm0
movslq 0x2fc(%rbx), %rax
movsd %xmm0, (%r15,%rax,8)
movsd 0x160(%rbx), %xmm0
movslq 0x300(%rbx), %rcx
movsd %xmm0, (%r15,%rcx,8)
jmp 0x5698c
callq 0x82d0
movsd 0x18(%rsp), %xmm1
mulsd %xmm0, %xmm1
mulsd 0x160(%rbx), %xmm1
movslq 0x300(%rbx), %rax
movsd %xmm1, (%r15,%rax,8)
movslq 0x2fc(%rbx), %rax
movsd 0x20(%rsp), %xmm2
movq (%r15,%rax,8), %xmm0
movq %xmm0, %rax
btrq $0x3f, %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
cmpq %rcx, %rax
jl 0x56a13
leaq 0x9a4b0(%rip), %rsi     # 0xf0e68
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movdqa %xmm0, %xmm1
movb $0x2, %al
callq 0x2e014
leaq 0x7f6ad(%rip), %rsi     # 0xd6082
leaq 0x9a4c8(%rip), %rdx     # 0xf0ea4
leaq 0x880(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
addq $0xb84, %rbx            # imm = 0xB84
leaq 0x7f635(%rip), %rsi     # 0xd6034
leaq 0x9a36c(%rip), %rdx     # 0xf0d72
movq %rbx, %rdi
movl $0x8f4, %ecx            # imm = 0x8F4
jmp 0x56c0a
pushq $0x1
popq %rbp
movq %rbx, %rdi
movapd %xmm2, %xmm0
movq %r15, %rsi
movl %ebp, %edx
movq %r12, %rcx
callq 0x51270
testl %eax, %eax
je 0x56a76
addq $0xb84, %rbx            # imm = 0xB84
leaq 0x7f9b4(%rip), %rsi     # 0xd63f0
leaq 0x9a4d2(%rip), %rdx     # 0xf0f15
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x7f5d5(%rip), %rsi     # 0xd6034
leaq 0x9a30c(%rip), %rdx     # 0xf0d72
movq %rbx, %rdi
movl $0x8fa, %ecx            # imm = 0x8FA
movq %r14, %r8
jmp 0x56c0d
movslq 0x278(%rbx), %rax
movsd (%r12,%rax,8), %xmm0
movsd 0x7fd5d(%rip), %xmm1    # 0xd67e8
addsd %xmm0, %xmm1
andpd 0x7f7a9(%rip), %xmm1    # 0xd6240
movq 0x38(%rsp), %rax
ucomisd 0x20(%rax), %xmm1
jbe 0x56b01
leaq 0x9a4b5(%rip), %rsi     # 0xf0f5f
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movb $0x1, %al
callq 0x2e014
leaq 0x7f5bf(%rip), %rsi     # 0xd6082
leaq 0x9a50b(%rip), %rdx     # 0xf0fd5
leaq 0x880(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
addq $0xb84, %rbx            # imm = 0xB84
leaq 0x7f547(%rip), %rsi     # 0xd6034
leaq 0x9a27e(%rip), %rdx     # 0xf0d72
movq %rbx, %rdi
movl $0x901, %ecx            # imm = 0x901
jmp 0x56c0a
movslq 0x20c(%rbx), %rax
movsd (%r12,%rax,8), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jae 0x56bb1
addsd %xmm0, %xmm0
movsd 0x7f738(%rip), %xmm1    # 0xd6260
movapd %xmm1, %xmm2
divsd %xmm0, %xmm2
movslq 0x304(%rbx), %rcx
movsd %xmm2, (%r15,%rcx,8)
movsd (%r12,%rax,8), %xmm2
movsd 0x20(%rsp), %xmm0
mulsd %xmm0, %xmm2
divsd %xmm2, %xmm1
movslq 0x30c(%rbx), %rcx
movsd %xmm1, (%r15,%rcx,8)
divsd 0x987aa(%rip), %xmm1    # 0xef310
movslq 0x308(%rbx), %rcx
movsd %xmm1, (%r15,%rcx,8)
movslq 0x310(%rbx), %rcx
movabsq $0x3ff0000000000000, %rdx # imm = 0x3FF0000000000000
movq %rdx, (%r15,%rcx,8)
movapd %xmm0, %xmm1
addsd %xmm0, %xmm1
mulsd (%r12,%rax,8), %xmm1
movslq 0x314(%rbx), %rax
movsd %xmm1, (%r15,%rax,8)
callq 0x82e0
movsd %xmm0, (%r14)
xorl %ebp, %ebp
jmp 0x56c14
leaq 0x9a461(%rip), %rsi     # 0xf1019
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movb $0x1, %al
callq 0x2e014
leaq 0x7f4b1(%rip), %rsi     # 0xd6082
leaq 0x9a465(%rip), %rdx     # 0xf103d
leaq 0x880(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
addq $0xb84, %rbx            # imm = 0xB84
leaq 0x7f439(%rip), %rsi     # 0xd6034
leaq 0x9a170(%rip), %rdx     # 0xf0d72
movq %rbx, %rdi
movl $0x909, %ecx            # imm = 0x909
movq %r15, %r8
xorl %eax, %eax
callq 0x2e014
movl %ebp, %eax
addq $0x1088, %rsp           # imm = 0x1088
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq