// File: /workspace/github_c_makefile_star2_O0/PoulinV[P]AxiCLASS/build/../external/heating/injection.c
// Function: injection_rate_PBH_evaporation_mass_evolution
int injection_rate_PBH_evaporation_mass_evolution(struct background * pba,
                                                  struct injection * pin){

  /** - Define local variables */
  double * pvecback_loop;
  int last_index_back_loop;
  int i_step;
  double current_mass, current_pbh_temperature;
  double f_EM, f_nu, f_q, f_pi, f_bos, f;
  double loop_z, time_now, time_prev, dt, dlnz, lnz_ini;

  /** - Set initial parameters */
  current_mass = pin->PBH_evaporation_mass;                                                         // [g]
  pin->PBH_z_evaporation = 0;
  lnz_ini = log(1+pin->z_initial);
  dlnz = lnz_ini/(pin->Nz_PBH-1);
  loop_z = pin->z_initial*1.0001;
  time_prev = 0.;                                                                                   // [s]

  /** - Alloate local variables */
  class_alloc(pvecback_loop,
              pba->bg_size*sizeof(double),
              pin->error_message);

  /** - Alloate variables for PBH mass evolution */
  class_alloc(pin->PBH_table_z,
              pin->Nz_PBH*sizeof(double),
              pin->error_message);
  class_alloc(pin->PBH_table_mass,
              pin->Nz_PBH*sizeof(double),
              pin->error_message);
  class_alloc(pin->PBH_table_mass_dd,
              pin->Nz_PBH*sizeof(double),
              pin->error_message);
  class_alloc(pin->PBH_table_F,
              pin->Nz_PBH*sizeof(double),
              pin->error_message);
  class_alloc(pin->PBH_table_F_dd,
              pin->Nz_PBH*sizeof(double),
              pin->error_message);

  /** - Fill tables with PBH mass evolution */
  /* For the parametrization of F(M) we follow PRD44 (1991) 376 with
   * the additional modification that we dress the "free QCD-particles"
   * (gluons and quarks) with an sigmoid-activation function (in log10-space:
   * Mean at 0.3 GeV and a width of 0.1*"order of magnitude") and the hadrons
   * with (1 - activation) to take the QCD-phase transition into account
   * and to be in agreement with PRD41 (1990) 3052, where the Ansatz is taken
   * that a black hole emmits those particles which appear elementary at the
   * given energy. */
  for(i_step = 0; i_step<pin->Nz_PBH; i_step++) {

    /** - Find value of f(M) */
    current_pbh_temperature = 1.06e13/current_mass;                                                 // [GeV]
    pin->PBH_QCD_activation = 1./(1.+exp(-(log(current_pbh_temperature)-log(0.3))/(log(10.)*0.1))); // [-] see Eq. (4.6) of Stoecker et al. 2018

    f_EM = 2.*0.060                                                                                 // gamma
           +4.*0.142*exp(-(current_mass*5.11e-4)/(4.53*1.06e13))                                    // electron
           +4.*0.142*exp(-(current_mass*0.1037)/(4.53*1.06e13))                                     // muon
           +4.*0.142*exp(-(current_mass*1.777)/(4.53*1.06e13));                                     // tau
    f_nu = 6.*0.147;                                                                                // neutrino
    f_q = (12.*0.142*(exp(-(current_mass*2.2e-3)/(4.53*1.06e13))                                    // u
                      +exp(-(current_mass*4.7e-3)/(4.53*1.06e13))                                   // d
                      +exp(-(current_mass*1.28)/(4.53*1.06e13))                                     // c
                      +exp(-(current_mass*9.6e-2)/(4.53*1.06e13))                                   // s
                      +exp(-(current_mass*173.1)/(4.53*1.06e13))                                    // t
                      +exp(-(current_mass*4.18)/(4.53*1.06e13))                                     // b
                     )
           +16.*0.060*exp(-(current_mass*6e-1)/(6.04*1.06e13))                                      // g
          )*pin->PBH_QCD_activation;
    f_pi = (1.*0.267*exp(-(current_mass*1.350e-1)/(2.66*1.06e13))                                   // pi^0
            +2.*0.267*exp(-(current_mass*1.396e-1)/(2.66*1.06e13))                                  // pi^+
           )*(1-pin->PBH_QCD_activation);
    f_bos = 6.*0.060*exp(-(current_mass*80.39)/(6.04*1.06e13))                                      // W
            +3.*0.060*exp(-(current_mass*91.19)/(6.04*1.06e13))                                     // Z
            +1.*0.267*exp(-(current_mass*125.1)/(2.66*1.06e13));                                   // h
    f = f_EM+f_nu+f_q+f_pi+f_bos;

    /** - Find current time value */
    class_call(background_at_z(pba,
                               loop_z,
                               long_info,
                               inter_normal,
                               &last_index_back_loop,
                               pvecback_loop),
               pba->error_message,
               pin->error_message);
    time_now = pvecback_loop[pba->index_bg_time]/(_c_/_Mpc_over_m_);                                // [s]
    dt = time_now-time_prev;
    time_prev = time_now;

    if (i_step > 0) {
      //TODO :: check this step
      if (current_mass > 0.5*pin->PBH_evaporation_mass){
        current_mass = current_mass-5.34e25*f*pow(current_mass,-2)*dt;                              // [g]
      }
      else {
        if(pin->PBH_z_evaporation == 0){
          pin->PBH_z_evaporation = loop_z;
        }
        current_mass = 0.;
        f = 0.;
      }
    }

    /** - Fill tables */
    pin->PBH_table_z[i_step] = loop_z;
    pin->PBH_table_mass[i_step] = current_mass;                                                     // [g]
    pin->PBH_table_F[i_step] = f;                                                                   // [-]
    loop_z = exp(lnz_ini-dlnz*(i_step+1))-1.;

  }

  /** - Free local variables */
  free(pvecback_loop);

  /** - Spline mass and F(M) evolution in z */
  class_call(array_spline_table_lines(pin->PBH_table_z,
                                      pin->Nz_PBH,
                                      pin->PBH_table_mass,
                                      1,
                                      pin->PBH_table_mass_dd,
                                      _SPLINE_NATURAL_,
                                      pin->error_message),
             pin->error_message,
             pin->error_message);
  class_call(array_spline_table_lines(pin->PBH_table_z,
                                      pin->Nz_PBH,
                                      pin->PBH_table_F,
                                      1,
                                      pin->PBH_table_F_dd,
                                      _SPLINE_NATURAL_,
                                      pin->error_message),
             pin->error_message,
             pin->error_message);

  return _SUCCESS_;
}

// Assembly:
subq $0x4978, %rsp           # imm = 0x4978
movq %rdi, 0x4968(%rsp)
movq %rsi, 0x4960(%rsp)
movq 0x4960(%rsp), %rax
movsd 0x68(%rax), %xmm0
movsd %xmm0, 0x4948(%rsp)
movq 0x4960(%rsp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x488(%rax)
movq 0x4960(%rsp), %rax
movsd 0x34bd8(%rip), %xmm0    # 0x1d2248
addsd 0x3b0(%rax), %xmm0
callq 0x82f0
movsd %xmm0, 0x48e0(%rsp)
movsd 0x48e0(%rsp), %xmm0
movq 0x4960(%rsp), %rax
movl 0x4c0(%rax), %eax
subl $0x1, %eax
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x48e8(%rsp)
movq 0x4960(%rsp), %rax
movsd 0x6f41f(%rip), %xmm0    # 0x20cae0
mulsd 0x3b0(%rax), %xmm0
movsd %xmm0, 0x4908(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x48f8(%rsp)
movq 0x4968(%rsp), %rax
movslq 0x43c(%rax), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, 0x4958(%rsp)
cmpq $0x0, 0x4958(%rsp)
jne 0x19d788
movq 0x4968(%rsp), %rax
movslq 0x43c(%rax), %rax
shlq $0x3, %rax
movl %eax, 0x48dc(%rsp)
leaq 0x40d0(%rsp), %rdi
movl 0x48dc(%rsp), %ecx
leaq 0x348cb(%rip), %rsi     # 0x1d2004
leaq 0x6feb6(%rip), %rdx     # 0x20d5f6
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x40d0(%rsp), %r8
leaq 0x348cf(%rip), %rsi     # 0x1d2034
leaq 0x6fe98(%rip), %rdx     # 0x20d604
movl $0x311, %ecx            # imm = 0x311
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x4960(%rsp), %rax
movq %rcx, 0x498(%rax)
movq 0x4960(%rsp), %rax
cmpq $0x0, 0x498(%rax)
jne 0x19d843
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rax
shlq $0x3, %rax
movl %eax, 0x40cc(%rsp)
leaq 0x38c0(%rsp), %rdi
movl 0x40cc(%rsp), %ecx
leaq 0x34810(%rip), %rsi     # 0x1d2004
leaq 0x6fe37(%rip), %rdx     # 0x20d632
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x38c0(%rsp), %r8
leaq 0x34814(%rip), %rsi     # 0x1d2034
leaq 0x6fddd(%rip), %rdx     # 0x20d604
movl $0x316, %ecx            # imm = 0x316
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x4960(%rsp), %rax
movq %rcx, 0x4a0(%rax)
movq 0x4960(%rsp), %rax
cmpq $0x0, 0x4a0(%rax)
jne 0x19d8fe
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rax
shlq $0x3, %rax
movl %eax, 0x38bc(%rsp)
leaq 0x30b0(%rsp), %rdi
movl 0x38bc(%rsp), %ecx
leaq 0x34755(%rip), %rsi     # 0x1d2004
leaq 0x6fd8d(%rip), %rdx     # 0x20d643
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x30b0(%rsp), %r8
leaq 0x34759(%rip), %rsi     # 0x1d2034
leaq 0x6fd22(%rip), %rdx     # 0x20d604
movl $0x319, %ecx            # imm = 0x319
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x4960(%rsp), %rax
movq %rcx, 0x4a8(%rax)
movq 0x4960(%rsp), %rax
cmpq $0x0, 0x4a8(%rax)
jne 0x19d9b9
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rax
shlq $0x3, %rax
movl %eax, 0x30ac(%rsp)
leaq 0x28a0(%rsp), %rdi
movl 0x30ac(%rsp), %ecx
leaq 0x3469a(%rip), %rsi     # 0x1d2004
leaq 0x6fce6(%rip), %rdx     # 0x20d657
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x28a0(%rsp), %r8
leaq 0x3469e(%rip), %rsi     # 0x1d2034
leaq 0x6fc67(%rip), %rdx     # 0x20d604
movl $0x31c, %ecx            # imm = 0x31C
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x4960(%rsp), %rax
movq %rcx, 0x4b0(%rax)
movq 0x4960(%rsp), %rax
cmpq $0x0, 0x4b0(%rax)
jne 0x19da74
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rax
shlq $0x3, %rax
movl %eax, 0x289c(%rsp)
leaq 0x2090(%rsp), %rdi
movl 0x289c(%rsp), %ecx
leaq 0x345df(%rip), %rsi     # 0x1d2004
leaq 0x6fc42(%rip), %rdx     # 0x20d66e
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x2090(%rsp), %r8
leaq 0x345e3(%rip), %rsi     # 0x1d2034
leaq 0x6fbac(%rip), %rdx     # 0x20d604
movl $0x31f, %ecx            # imm = 0x31F
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x4960(%rsp), %rax
movq %rcx, 0x4b8(%rax)
movq 0x4960(%rsp), %rax
cmpq $0x0, 0x4b8(%rax)
jne 0x19db2f
movq 0x4960(%rsp), %rax
movslq 0x4c0(%rax), %rax
shlq $0x3, %rax
movl %eax, 0x208c(%rsp)
leaq 0x1880(%rsp), %rdi
movl 0x208c(%rsp), %ecx
leaq 0x34524(%rip), %rsi     # 0x1d2004
leaq 0x6fb98(%rip), %rdx     # 0x20d67f
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x1880(%rsp), %r8
leaq 0x34528(%rip), %rsi     # 0x1d2034
leaq 0x6faf1(%rip), %rdx     # 0x20d604
movl $0x322, %ecx            # imm = 0x322
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movl $0x0, 0x4950(%rsp)
movl 0x4950(%rsp), %eax
movq 0x4960(%rsp), %rcx
cmpl 0x4c0(%rcx), %eax
jge 0x19e428
movsd 0x6f043(%rip), %xmm0    # 0x20cba0
divsd 0x4948(%rsp), %xmm0
movsd %xmm0, 0x4940(%rsp)
movsd 0x4940(%rsp), %xmm0
callq 0x82f0
movsd %xmm0, 0x18(%rsp)
movsd 0x346fd(%rip), %xmm0    # 0x1d2288
callq 0x82f0
movaps %xmm0, %xmm1
movsd 0x18(%rsp), %xmm0
subsd %xmm1, %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, 0x20(%rsp)
movsd 0x34c1e(%rip), %xmm0    # 0x1d27e0
callq 0x82f0
movaps %xmm0, %xmm1
movsd 0x20(%rsp), %xmm0
movsd 0x34688(%rip), %xmm2    # 0x1d2260
mulsd %xmm2, %xmm1
divsd %xmm1, %xmm0
callq 0x8670
movsd 0x3465b(%rip), %xmm1    # 0x1d2248
addsd %xmm0, %xmm1
movsd 0x3464f(%rip), %xmm0    # 0x1d2248
divsd %xmm1, %xmm0
movq 0x4960(%rsp), %rax
movsd %xmm0, 0x490(%rax)
movsd 0x6ef83(%rip), %xmm0    # 0x20cb98
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ef03(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movsd 0x6ef32(%rip), %xmm1    # 0x20cb80
mulsd %xmm1, %xmm0
movsd 0x389b6(%rip), %xmm1    # 0x1d6610
addsd %xmm1, %xmm0
movsd %xmm0, 0x28(%rsp)
movsd 0x6ef24(%rip), %xmm0    # 0x20cb90
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6eeac(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movsd 0x28(%rsp), %xmm1
movsd 0x6eed5(%rip), %xmm2    # 0x20cb80
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x30(%rsp)
movsd 0x6eec7(%rip), %xmm0    # 0x20cb88
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ee57(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movsd 0x30(%rsp), %xmm1
movsd 0x6ee80(%rip), %xmm2    # 0x20cb80
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x4938(%rsp)
movsd 0x6ee5f(%rip), %xmm0    # 0x20cb78
movsd %xmm0, 0x4930(%rsp)
movsd 0x6ee46(%rip), %xmm0    # 0x20cb70
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6edee(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movsd %xmm0, 0x38(%rsp)
movsd 0x6edff(%rip), %xmm0    # 0x20cb68
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6edaf(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x38(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x40(%rsp)
movsd 0x6edab(%rip), %xmm0    # 0x20cb60
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ed63(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x40(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x48(%rsp)
movsd 0x6ed57(%rip), %xmm0    # 0x20cb58
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ed17(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x48(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x50(%rsp)
movsd 0x6ed03(%rip), %xmm0    # 0x20cb50
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6eccb(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x50(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x58(%rsp)
movsd 0x6ecaf(%rip), %xmm0    # 0x20cb48
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ec7f(%rip), %xmm1    # 0x20cb40
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x58(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x60(%rsp)
movsd 0x343ab(%rip), %xmm0    # 0x1d2290
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ebf3(%rip), %xmm1    # 0x20cb00
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm2
movsd 0x60(%rsp), %xmm0
movsd 0x6ec11(%rip), %xmm1    # 0x20cb38
mulsd %xmm2, %xmm1
movsd 0x6ebfd(%rip), %xmm2    # 0x20cb30
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x4960(%rsp), %rax
mulsd 0x490(%rax), %xmm0
movsd %xmm0, 0x4928(%rsp)
movsd 0x6ebcc(%rip), %xmm0    # 0x20cb28
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6eb6c(%rip), %xmm1    # 0x20caf0
divsd %xmm1, %xmm0
callq 0x8670
movsd %xmm0, 0x68(%rsp)
movsd 0x6eb85(%rip), %xmm0    # 0x20cb20
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6eb2d(%rip), %xmm1    # 0x20caf0
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm2
movsd 0x68(%rsp), %xmm0
movsd 0x6eb3b(%rip), %xmm1    # 0x20cb18
mulsd %xmm2, %xmm1
movsd 0x6eaff(%rip), %xmm2    # 0x20cae8
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x4960(%rsp), %rax
movsd 0x34247(%rip), %xmm1    # 0x1d2248
subsd 0x490(%rax), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0x4920(%rsp)
movsd 0x6eaf2(%rip), %xmm0    # 0x20cb10
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6eaba(%rip), %xmm1    # 0x20cb00
divsd %xmm1, %xmm0
callq 0x8670
movsd %xmm0, 0x70(%rsp)
movsd 0x6eaab(%rip), %xmm0    # 0x20cb08
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ea7b(%rip), %xmm1    # 0x20cb00
divsd %xmm1, %xmm0
callq 0x8670
movaps %xmm0, %xmm2
movsd 0x70(%rsp), %xmm0
movsd 0x38531(%rip), %xmm1    # 0x1d65d0
mulsd %xmm2, %xmm1
movsd 0x6e8cd(%rip), %xmm2    # 0x20c978
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x78(%rsp)
movsd 0x6ea37(%rip), %xmm0    # 0x20caf8
mulsd 0x4948(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x6ea07(%rip), %xmm1    # 0x20caf0
divsd %xmm1, %xmm0
callq 0x8670
movsd 0x78(%rsp), %xmm1
movsd 0x6e9e8(%rip), %xmm2    # 0x20cae8
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x4918(%rsp)
movsd 0x4938(%rsp), %xmm0
addsd 0x4930(%rsp), %xmm0
addsd 0x4928(%rsp), %xmm0
addsd 0x4920(%rsp), %xmm0
addsd 0x4918(%rsp), %xmm0
movsd %xmm0, 0x4910(%rsp)
movq 0x4968(%rsp), %rdi
movsd 0x4908(%rsp), %xmm0
movq 0x4958(%rsp), %r8
movl $0x2, %esi
xorl %edx, %edx
leaq 0x4954(%rsp), %rcx
callq 0x9e4b0
cmpl $0x1, %eax
jne 0x19e1e6
leaq 0x1080(%rsp), %rdi
movq 0x4968(%rsp), %rcx
addq $0xd1c, %rcx            # imm = 0xD1C
leaq 0x34241(%rip), %rsi     # 0x1d23d8
leaq 0x6f4f5(%rip), %rdx     # 0x20d693
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x1080(%rsp), %r8
leaq 0x33e71(%rip), %rsi     # 0x1d2034
leaq 0x6f43a(%rip), %rdx     # 0x20d604
movl $0x351, %ecx            # imm = 0x351
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movq 0x4958(%rsp), %rax
movq 0x4968(%rsp), %rcx
movslq 0x41c(%rcx), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd 0x6e99e(%rip), %xmm1    # 0x20cba8
divsd %xmm1, %xmm0
movsd %xmm0, 0x4900(%rsp)
movsd 0x4900(%rsp), %xmm0
subsd 0x48f8(%rsp), %xmm0
movsd %xmm0, 0x48f0(%rsp)
movsd 0x4900(%rsp), %xmm0
movsd %xmm0, 0x48f8(%rsp)
cmpl $0x0, 0x4950(%rsp)
jle 0x19e34a
movsd 0x4948(%rsp), %xmm0
movq 0x4960(%rsp), %rax
movsd 0x34a1d(%rip), %xmm1    # 0x1d2c88
mulsd 0x68(%rax), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x19e2fc
movsd 0x4948(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x6e91f(%rip), %xmm0    # 0x20cbb0
mulsd 0x4910(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd 0x4948(%rsp), %xmm0
movsd 0x354cf(%rip), %xmm1    # 0x1d3780
callq 0x8610
movsd 0x8(%rsp), %xmm1
movaps %xmm0, %xmm2
movsd 0x10(%rsp), %xmm0
mulsd %xmm2, %xmm0
movsd 0x48f0(%rsp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x4948(%rsp)
jmp 0x19e348
movq 0x4960(%rsp), %rax
movsd 0x488(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x19e330
jp 0x19e330
movsd 0x4908(%rsp), %xmm0
movq 0x4960(%rsp), %rax
movsd %xmm0, 0x488(%rax)
xorps %xmm0, %xmm0
movsd %xmm0, 0x4948(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x4910(%rsp)
jmp 0x19e34a
movsd 0x4908(%rsp), %xmm0
movq 0x4960(%rsp), %rax
movq 0x498(%rax), %rax
movslq 0x4950(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x4948(%rsp), %xmm0
movq 0x4960(%rsp), %rax
movq 0x4a0(%rax), %rax
movslq 0x4950(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x4910(%rsp), %xmm0
movq 0x4960(%rsp), %rax
movq 0x4b0(%rax), %rax
movslq 0x4950(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x48e0(%rsp), %xmm1
movsd 0x48e8(%rsp), %xmm0
movl 0x4950(%rsp), %eax
addl $0x1, %eax
cvtsi2sd %eax, %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x8670
movsd 0x33e43(%rip), %xmm1    # 0x1d2248
subsd %xmm1, %xmm0
movsd %xmm0, 0x4908(%rsp)
movl 0x4950(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4950(%rsp)
jmp 0x19db3a
movq 0x4958(%rsp), %rdi
callq 0x8420
movq 0x4960(%rsp), %rax
movq 0x498(%rax), %rdi
movq 0x4960(%rsp), %rax
movl 0x4c0(%rax), %esi
movq 0x4960(%rsp), %rax
movq 0x4a0(%rax), %rdx
movq 0x4960(%rsp), %rax
movq 0x4a8(%rax), %r8
movq 0x4960(%rsp), %rax
addq $0x570, %rax            # imm = 0x570
movl $0x1, %ecx
xorl %r9d, %r9d
movq %rax, (%rsp)
callq 0x1cf90
cmpl $0x1, %eax
jne 0x19e501
leaq 0x880(%rsp), %rdi
movq 0x4960(%rsp), %rcx
addq $0x570, %rcx            # imm = 0x570
leaq 0x33f26(%rip), %rsi     # 0x1d23d8
leaq 0x6f236(%rip), %rdx     # 0x20d6ef
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x880(%rsp), %r8
leaq 0x33b56(%rip), %rsi     # 0x1d2034
leaq 0x6f11f(%rip), %rdx     # 0x20d604
movl $0x378, %ecx            # imm = 0x378
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movq 0x4960(%rsp), %rax
movq 0x498(%rax), %rdi
movq 0x4960(%rsp), %rax
movl 0x4c0(%rax), %esi
movq 0x4960(%rsp), %rax
movq 0x4b0(%rax), %rdx
movq 0x4960(%rsp), %rax
movq 0x4b8(%rax), %r8
movq 0x4960(%rsp), %rax
addq $0x570, %rax            # imm = 0x570
movl $0x1, %ecx
xorl %r9d, %r9d
movq %rax, (%rsp)
callq 0x1cf90
cmpl $0x1, %eax
jne 0x19e5ca
leaq 0x80(%rsp), %rdi
movq 0x4960(%rsp), %rcx
addq $0x570, %rcx            # imm = 0x570
leaq 0x33e5a(%rip), %rsi     # 0x1d23d8
leaq 0x6f1e9(%rip), %rdx     # 0x20d76e
movb $0x0, %al
callq 0x5b9c0
movq 0x4960(%rsp), %rdi
addq $0x570, %rdi            # imm = 0x570
leaq 0x80(%rsp), %r8
leaq 0x33a8a(%rip), %rsi     # 0x1d2034
leaq 0x6f053(%rip), %rdx     # 0x20d604
movl $0x381, %ecx            # imm = 0x381
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x4974(%rsp)
jmp 0x19e5d5
movl $0x0, 0x4974(%rsp)
movl 0x4974(%rsp), %eax
addq $0x4978, %rsp           # imm = 0x4978
retq
nopw %cs:(%rax,%rax)