// File: /workspace/github_c_makefile_star2_O0/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hydrogen.c
// Function: rec_HMLA_2photon_dxHIIdlna
double rec_HMLA_2photon_dxHIIdlna(HYREC_DATA *data, double xe, double xHII, double nH, double H, double TM, double TR,
                                  unsigned iz, double z) {

  REC_COSMOPARAMS *cosmo = data->cosmo;
  HYREC_ATOMIC *atomic = data->atomic;
  int *error = &data->error;
  double **Dfminus_hist = data->rad->Dfminus_hist;
  double **Dfminus_Ly_hist = data->rad->Dfminus_Ly_hist;
  double **Dfnu_hist = data->rad->Dfnu_hist;
  double zstart = data->rad->z0;
  double fsR = cosmo->fsR, meR = cosmo->meR;

  double xr[2], xv[NVIRT], Dfplus[NVIRT], Dfplus_Ly[2]; /* Assume incoming radiation blueward of Ly-gamma is Blackbody */
  double dxedlna, one_minus_Pib, one_minus_exptau, Dfeq, s, x1s, Dxe2;
  unsigned b, i;

  double Trr[2][2];
  double *Trv[2];
  double *Tvr[2];
  double *Tvv[3];
  double sr[2];
  double sv[NVIRT];
  double Dtau[NVIRT];
  double Alpha[2], DAlpha[2], Beta[2];
  double ratio;
  char sub_message[128];
  if (*error == 1) return 0.;

  ratio = TM/TR;
  rescale_T(&TR, fsR, meR);
  TM    = ratio * TR;   /* This way ensure that TM<=TR is preserved */

  for (i = 0; i < 2; i++) Trv[i] = create_1D_array(NVIRT, error, data->error_message);
  for (i = 0; i < 2; i++) Tvr[i] = create_1D_array(NVIRT, error, data->error_message);
  for (i = 0; i < 3; i++) Tvv[i] = create_1D_array(NVIRT, error, data->error_message);

  /* Redshift photon occupation number from previous times and higher energy bins */
  fplus_from_fminus(Dfplus, Dfplus_Ly, Dfminus_hist, Dfminus_Ly_hist, TR, zstart, iz, z, atomic->Eb_tab);

  /* Compute real-real, real-virtual and virtual-virtual transition rates */
  populateTS_2photon(Trr, Trv, Tvr, Tvv, sr, sv, Dtau, xe, xHII, TM, TR, nH, H, atomic,
                     Dfplus, Dfplus_Ly, Alpha, DAlpha, Beta, fsR, meR, cosmo->inj_params->exclya, error, data->error_message);
  if (*error == 1) {
    sprintf(sub_message, "  called from rec_HMLA_2photon_dxHIIdlna\n");
    strcat(data->error_message, sub_message);
    return 0.;
  }

  /* Solve for the population of the real and virtual states
     (in fact, for the difference xi - xi[eq with 1s]) */
  solve_real_virt(xr, xv, Trr, Trv, Tvr, Tvv, sr, sv, error, data->error_message);

  /* Obtain xe_dot */
  x1s  = 1.-xHII;
  s    = SAHA_FACT(fsR, meR) *TR*sqrt(TR) *exp(-EI/TR)/nH;
  Dxe2 = xe*xHII - s*x1s;

  dxedlna = -(nH *(s*x1s*DAlpha[0] + Alpha[0]*Dxe2) - xr[0]*Beta[0]
             +nH *(s*x1s*DAlpha[1] + Alpha[1]*Dxe2) - xr[1]*Beta[1])/H
          + cosmo->inj_params->ion/H;     /* First term automatically includes the additional excitations
                          since x2s, x2p are computed accounting for them */

  /* Update fminuses */

  for (b = 0; b < NVIRT; b++) {
    if (Dtau[b] > 1e-30) {
      one_minus_Pib = Dtau[b] > 1e-6 ? 1.- (1.-exp(-Dtau[b]))/Dtau[b] : Dtau[b]/2. - square(Dtau[b])/6.;
      Dfeq  = -xr[0]*Tvr[0][b] - xr[1]*Tvr[1][b];
      Dfeq -=  (b == 0       ?  xv[1]*Tvv[2][0]:
                b == NVIRT-1 ?  xv[NVIRT-2]*Tvv[1][NVIRT-1]:
                xv[b+1]*Tvv[2][b] + xv[b-1]*Tvv[1][b]);
      Dfeq /= x1s*one_minus_Pib*Tvv[0][b];
      one_minus_exptau = Dtau[b] > 1e-6 ? 1.-exp(-Dtau[b]) : Dtau[b] - square(Dtau[b])/2.;

      Dfminus_hist[b][iz] = Dfplus[b] + (Dfeq - Dfplus[b])*one_minus_exptau;
    }
    else Dfminus_hist[b][iz] = Dfplus[b];
  }

  Dfminus_Ly_hist[0][iz] = xr[1]/3./x1s;
  Dfminus_Ly_hist[1][iz] = xr[0]/x1s*exp(-E32/TR);
  Dfminus_Ly_hist[2][iz] = xr[0]/x1s*exp(-E42/TR);

  /* Average radiation field in each bin */
  for (b = 0; b < NVIRT; b++) Dfnu_hist[b][iz] = xv[b]/x1s;

  for (i = 0; i < 2; i++) free(Trv[i]);
  for (i = 0; i < 2; i++) free(Tvr[i]);
  for (i = 0; i < 3; i++) free(Tvv[i]);

  return dxedlna;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x29c8, %rsp           # imm = 0x29C8
movq %rdi, 0x29b8(%rsp)
movsd %xmm0, 0x29b0(%rsp)
movsd %xmm1, 0x29a8(%rsp)
movsd %xmm2, 0x29a0(%rsp)
movsd %xmm3, 0x2998(%rsp)
movsd %xmm4, 0x2990(%rsp)
movsd %xmm5, 0x2988(%rsp)
movl %esi, 0x2984(%rsp)
movsd %xmm6, 0x2978(%rsp)
movq 0x29b8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x2970(%rsp)
movq 0x29b8(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x2968(%rsp)
movq 0x29b8(%rsp), %rax
addq $0x38, %rax
movq %rax, 0x2960(%rsp)
movq 0x29b8(%rsp), %rax
movq 0x58(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x2958(%rsp)
movq 0x29b8(%rsp), %rax
movq 0x58(%rax), %rax
movq 0x20(%rax), %rax
movq %rax, 0x2950(%rsp)
movq 0x29b8(%rsp), %rax
movq 0x58(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, 0x2948(%rsp)
movq 0x29b8(%rsp), %rax
movq 0x58(%rax), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x2940(%rsp)
movq 0x2970(%rsp), %rax
movsd 0x98(%rax), %xmm0
movsd %xmm0, 0x2938(%rsp)
movq 0x2970(%rsp), %rax
movsd 0xa0(%rax), %xmm0
movsd %xmm0, 0x2930(%rsp)
movq 0x2960(%rsp), %rax
cmpl $0x1, (%rax)
jne 0x1acc4b
xorps %xmm0, %xmm0
movsd %xmm0, 0x29c0(%rsp)
jmp 0x1ad808
movsd 0x2990(%rsp), %xmm0
divsd 0x2988(%rsp), %xmm0
movsd %xmm0, 0x128(%rsp)
movsd 0x2938(%rsp), %xmm0
movsd 0x2930(%rsp), %xmm1
leaq 0x2988(%rsp), %rdi
callq 0x1a7840
movsd 0x128(%rsp), %xmm0
mulsd 0x2988(%rsp), %xmm0
movsd %xmm0, 0x2990(%rsp)
movl $0x0, 0x1550(%rsp)
cmpl $0x2, 0x1550(%rsp)
jae 0x1accf8
movq 0x2960(%rsp), %rsi
movq 0x29b8(%rsp), %rax
movq 0x48(%rax), %rdx
movl $0x137, %edi            # imm = 0x137
callq 0x1a5690
movq %rax, %rcx
movl 0x1550(%rsp), %eax
movq %rcx, 0x1520(%rsp,%rax,8)
movl 0x1550(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1550(%rsp)
jmp 0x1accab
movl $0x0, 0x1550(%rsp)
cmpl $0x2, 0x1550(%rsp)
jae 0x1acd50
movq 0x2960(%rsp), %rsi
movq 0x29b8(%rsp), %rax
movq 0x48(%rax), %rdx
movl $0x137, %edi            # imm = 0x137
callq 0x1a5690
movq %rax, %rcx
movl 0x1550(%rsp), %eax
movq %rcx, 0x1510(%rsp,%rax,8)
movl 0x1550(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1550(%rsp)
jmp 0x1acd03
movl $0x0, 0x1550(%rsp)
cmpl $0x3, 0x1550(%rsp)
jae 0x1acda8
movq 0x2960(%rsp), %rsi
movq 0x29b8(%rsp), %rax
movq 0x48(%rax), %rdx
movl $0x137, %edi            # imm = 0x137
callq 0x1a5690
movq %rax, %rcx
movl 0x1550(%rsp), %eax
movq %rcx, 0x14f0(%rsp,%rax,8)
movl 0x1550(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1550(%rsp)
jmp 0x1acd5b
leaq 0x15a0(%rsp), %rdi
leaq 0x1590(%rsp), %rsi
movq 0x2958(%rsp), %rdx
movq 0x2950(%rsp), %rcx
movsd 0x2988(%rsp), %xmm0
movsd 0x2940(%rsp), %xmm1
movl 0x2984(%rsp), %r8d
movsd 0x2978(%rsp), %xmm2
movq 0x2968(%rsp), %r9
addq $0x7b0, %r9             # imm = 0x7B0
callq 0x1ac370
leaq 0x1530(%rsp), %rdi
leaq 0x1520(%rsp), %rsi
leaq 0x1510(%rsp), %rdx
leaq 0x14f0(%rsp), %rcx
leaq 0x14e0(%rsp), %r8
leaq 0xb20(%rsp), %r9
leaq 0x160(%rsp), %rbp
movsd 0x29b0(%rsp), %xmm0
movsd 0x29a8(%rsp), %xmm1
movsd 0x2990(%rsp), %xmm2
movsd 0x2988(%rsp), %xmm3
movsd 0x29a0(%rsp), %xmm4
movsd 0x2998(%rsp), %xmm5
movq 0x2968(%rsp), %r13
leaq 0x15a0(%rsp), %r12
leaq 0x1590(%rsp), %r15
leaq 0x150(%rsp), %r14
leaq 0x140(%rsp), %rbx
leaq 0x130(%rsp), %r11
movsd 0x2938(%rsp), %xmm6
movsd 0x2930(%rsp), %xmm7
movq 0x2970(%rsp), %rax
movq 0xb8(%rax), %rax
movsd 0x68(%rax), %xmm8
movq 0x2960(%rsp), %r10
movq 0x29b8(%rsp), %rax
movq 0x48(%rax), %rax
movq %rbp, (%rsp)
movq %r13, 0x8(%rsp)
movq %r12, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
movq %r11, 0x30(%rsp)
movsd %xmm8, 0x38(%rsp)
movq %r10, 0x40(%rsp)
movq %rax, 0x48(%rsp)
callq 0x1aa8a0
movq 0x2960(%rsp), %rax
cmpl $0x1, (%rax)
jne 0x1acf5d
leaq 0xa0(%rsp), %rdi
leaq 0x61ca1(%rip), %rsi     # 0x20ebcd
movb $0x0, %al
callq 0x8090
movq 0x29b8(%rsp), %rax
movq 0x48(%rax), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x8660
xorps %xmm0, %xmm0
movsd %xmm0, 0x29c0(%rsp)
jmp 0x1ad808
leaq 0x2920(%rsp), %rdi
leaq 0x1f60(%rsp), %rsi
leaq 0x1530(%rsp), %rdx
leaq 0x1520(%rsp), %rcx
leaq 0x1510(%rsp), %r8
leaq 0x14f0(%rsp), %r9
leaq 0x14e0(%rsp), %rbx
leaq 0xb20(%rsp), %r11
movq 0x2960(%rsp), %r10
movq 0x29b8(%rsp), %rax
movq 0x48(%rax), %rax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x1abb30
movsd 0x25277(%rip), %xmm0    # 0x1d2248
subsd 0x29a8(%rsp), %xmm0
movsd %xmm0, 0x1560(%rsp)
movsd 0x2938(%rsp), %xmm0
movsd 0x2930(%rsp), %xmm1
callq 0x1a7770
mulsd 0x2988(%rsp), %xmm0
movsd %xmm0, 0x90(%rsp)
movsd 0x2988(%rsp), %xmm0
callq 0x82e0
movaps %xmm0, %xmm1
movsd 0x90(%rsp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, 0x98(%rsp)
movsd 0x618c5(%rip), %xmm0    # 0x20e900
divsd 0x2988(%rsp), %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x98(%rsp), %xmm0
mulsd %xmm1, %xmm0
divsd 0x29a0(%rsp), %xmm0
movsd %xmm0, 0x1568(%rsp)
movsd 0x29b0(%rsp), %xmm0
movsd 0x29a8(%rsp), %xmm2
movsd 0x1568(%rsp), %xmm1
mulsd 0x1560(%rsp), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x1558(%rsp)
movsd 0x29a0(%rsp), %xmm0
movsd 0x1568(%rsp), %xmm2
mulsd 0x1560(%rsp), %xmm2
movsd 0x140(%rsp), %xmm3
movsd 0x150(%rsp), %xmm1
mulsd 0x1558(%rsp), %xmm1
mulsd %xmm3, %xmm2
addsd %xmm1, %xmm2
movsd 0x2920(%rsp), %xmm1
mulsd 0x130(%rsp), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd 0x29a0(%rsp), %xmm1
movsd 0x1568(%rsp), %xmm2
mulsd 0x1560(%rsp), %xmm2
movsd 0x148(%rsp), %xmm4
movsd 0x158(%rsp), %xmm3
mulsd 0x1558(%rsp), %xmm3
mulsd %xmm4, %xmm2
addsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd 0x2928(%rsp), %xmm0
movsd 0x138(%rsp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
divsd 0x2998(%rsp), %xmm0
movq 0x2970(%rsp), %rax
movq 0xb8(%rax), %rax
movsd 0x60(%rax), %xmm1
divsd 0x2998(%rsp), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x1588(%rsp)
movl $0x0, 0x1554(%rsp)
cmpl $0x137, 0x1554(%rsp) # imm = 0x137
jae 0x1ad604
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
movsd 0x25025(%rip), %xmm1    # 0x1d2240
ucomisd %xmm1, %xmm0
jbe 0x1ad5bd
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
movsd 0x25a2b(%rip), %xmm1    # 0x1d2c68
ucomisd %xmm1, %xmm0
jbe 0x1ad2a2
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
callq 0x8670
movsd 0x24fd1(%rip), %xmm1    # 0x1d2248
subsd %xmm0, %xmm1
movl 0x1554(%rsp), %eax
divsd 0x160(%rsp,%rax,8), %xmm1
movsd 0x24fb5(%rip), %xmm0    # 0x1d2248
subsd %xmm1, %xmm0
movsd %xmm0, 0x88(%rsp)
jmp 0x1ad301
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
movsd 0x259c6(%rip), %xmm1    # 0x1d2c80
divsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp)
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
callq 0x1a5650
movaps %xmm0, %xmm1
movsd 0x80(%rsp), %xmm0
movsd 0x26398(%rip), %xmm2    # 0x1d3688
divsd %xmm2, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x88(%rsp)
movsd 0x88(%rsp), %xmm0
movsd %xmm0, 0x1580(%rsp)
movsd 0x2920(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq 0x1510(%rsp), %rax
movl 0x1554(%rsp), %ecx
movsd (%rax,%rcx,8), %xmm2
movsd 0x2928(%rsp), %xmm1
movq 0x1518(%rsp), %rax
movl 0x1554(%rsp), %ecx
mulsd (%rax,%rcx,8), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x1570(%rsp)
cmpl $0x0, 0x1554(%rsp)
jne 0x1ad3b6
movsd 0x1f68(%rsp), %xmm0
movq 0x1500(%rsp), %rax
mulsd (%rax), %xmm0
movsd %xmm0, 0x78(%rsp)
jmp 0x1ad450
cmpl $0x136, 0x1554(%rsp) # imm = 0x136
jne 0x1ad3e4
movsd 0x2908(%rsp), %xmm0
movq 0x14f8(%rsp), %rax
mulsd 0x9b0(%rax), %xmm0
movsd %xmm0, 0x70(%rsp)
jmp 0x1ad444
movl 0x1554(%rsp), %eax
addl $0x1, %eax
movl %eax, %eax
movsd 0x1f60(%rsp,%rax,8), %xmm0
movq 0x1500(%rsp), %rax
movl 0x1554(%rsp), %ecx
movsd (%rax,%rcx,8), %xmm2
movl 0x1554(%rsp), %eax
subl $0x1, %eax
movl %eax, %eax
movsd 0x1f60(%rsp,%rax,8), %xmm1
movq 0x14f8(%rsp), %rax
movl 0x1554(%rsp), %ecx
mulsd (%rax,%rcx,8), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x70(%rsp)
movsd 0x70(%rsp), %xmm0
movsd %xmm0, 0x78(%rsp)
movsd 0x78(%rsp), %xmm1
movsd 0x1570(%rsp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x1570(%rsp)
movsd 0x1560(%rsp), %xmm1
mulsd 0x1580(%rsp), %xmm1
movq 0x14f0(%rsp), %rax
movl 0x1554(%rsp), %ecx
mulsd (%rax,%rcx,8), %xmm1
movsd 0x1570(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x1570(%rsp)
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
movsd 0x257a8(%rip), %xmm1    # 0x1d2c68
ucomisd %xmm1, %xmm0
jbe 0x1ad509
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x24d4b(%rip), %xmm0    # 0x1d2248
subsd %xmm1, %xmm0
movsd %xmm0, 0x68(%rsp)
jmp 0x1ad553
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
movsd %xmm0, 0x60(%rsp)
movl 0x1554(%rsp), %eax
movsd 0x160(%rsp,%rax,8), %xmm0
callq 0x1a5650
movaps %xmm0, %xmm1
movsd 0x60(%rsp), %xmm0
movsd 0x2573b(%rip), %xmm2    # 0x1d2c80
divsd %xmm2, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x68(%rsp)
movsd 0x68(%rsp), %xmm0
movsd %xmm0, 0x1578(%rsp)
movl 0x1554(%rsp), %eax
movsd 0x15a0(%rsp,%rax,8), %xmm1
movsd 0x1570(%rsp), %xmm0
movl 0x1554(%rsp), %eax
subsd 0x15a0(%rsp,%rax,8), %xmm0
movsd 0x1578(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x2958(%rsp), %rax
movl 0x1554(%rsp), %ecx
movq (%rax,%rcx,8), %rax
movl 0x2984(%rsp), %ecx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x1ad5ec
movl 0x1554(%rsp), %eax
movsd 0x15a0(%rsp,%rax,8), %xmm0
movq 0x2958(%rsp), %rax
movl 0x1554(%rsp), %ecx
movq (%rax,%rcx,8), %rax
movl 0x2984(%rsp), %ecx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x1ad5ee
movl 0x1554(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1554(%rsp)
jmp 0x1ad1f2
movsd 0x2928(%rsp), %xmm0
movsd 0x26083(%rip), %xmm1    # 0x1d3698
divsd %xmm1, %xmm0
divsd 0x1560(%rsp), %xmm0
movq 0x2950(%rsp), %rax
movq (%rax), %rax
movl 0x2984(%rsp), %ecx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x2920(%rsp), %xmm0
divsd 0x1560(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
movsd 0x612ff(%rip), %xmm0    # 0x20e958
divsd 0x2988(%rsp), %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x50(%rsp), %xmm0
mulsd %xmm1, %xmm0
movq 0x2950(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x2984(%rsp), %ecx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x2920(%rsp), %xmm0
divsd 0x1560(%rsp), %xmm0
movsd %xmm0, 0x58(%rsp)
movsd 0x612a4(%rip), %xmm0    # 0x20e950
divsd 0x2988(%rsp), %xmm0
callq 0x8670
movaps %xmm0, %xmm1
movsd 0x58(%rsp), %xmm0
mulsd %xmm1, %xmm0
movq 0x2950(%rsp), %rax
movq 0x10(%rax), %rax
movl 0x2984(%rsp), %ecx
movsd %xmm0, (%rax,%rcx,8)
movl $0x0, 0x1554(%rsp)
cmpl $0x137, 0x1554(%rsp) # imm = 0x137
jae 0x1ad742
movl 0x1554(%rsp), %eax
movsd 0x1f60(%rsp,%rax,8), %xmm0
divsd 0x1560(%rsp), %xmm0
movq 0x2948(%rsp), %rax
movl 0x1554(%rsp), %ecx
movq (%rax,%rcx,8), %rax
movl 0x2984(%rsp), %ecx
movsd %xmm0, (%rax,%rcx,8)
movl 0x1554(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1554(%rsp)
jmp 0x1ad6ea
movl $0x0, 0x1550(%rsp)
cmpl $0x2, 0x1550(%rsp)
jae 0x1ad77e
movl 0x1550(%rsp), %eax
movq 0x1520(%rsp,%rax,8), %rdi
callq 0x8420
movl 0x1550(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1550(%rsp)
jmp 0x1ad74d
movl $0x0, 0x1550(%rsp)
cmpl $0x2, 0x1550(%rsp)
jae 0x1ad7ba
movl 0x1550(%rsp), %eax
movq 0x1510(%rsp,%rax,8), %rdi
callq 0x8420
movl 0x1550(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1550(%rsp)
jmp 0x1ad789
movl $0x0, 0x1550(%rsp)
cmpl $0x3, 0x1550(%rsp)
jae 0x1ad7f6
movl 0x1550(%rsp), %eax
movq 0x14f0(%rsp,%rax,8), %rdi
callq 0x8420
movl 0x1550(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1550(%rsp)
jmp 0x1ad7c5
movsd 0x1588(%rsp), %xmm0
movsd %xmm0, 0x29c0(%rsp)
movsd 0x29c0(%rsp), %xmm0
addq $0x29c8, %rsp           # imm = 0x29C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)