// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../source/thermodynamics.c
// Function: thermodynamics_calculate_recombination_quantities
int thermodynamics_calculate_recombination_quantities(
                                                      struct precision* ppr,
                                                      struct background * pba,
                                                      struct thermodynamics* pth,
                                                      double* pvecback
                                                      ) {

  /** Summary: */

  /** Define local variables */
  double g_max;

  int index_tau;
  int index_tau_max;
  int last_index_back=0;

  /** - find maximum of g */
  index_tau=pth->tt_size-1;
  while (pth->z_table[index_tau]>_Z_REC_MAX_) {
    index_tau--;
  }

  class_test(pth->thermodynamics_table[(index_tau+1)*pth->th_size+pth->index_th_g] >
             pth->thermodynamics_table[index_tau*pth->th_size+pth->index_th_g],
             pth->error_message,
             "The visibility function is not increasing at redshift _Z_REC_MAX_=%g, which is the value imposed in thermodynamics.h\n This implies that recombination must have already happened at a too early time.",_Z_REC_MAX_);

  while (pth->thermodynamics_table[(index_tau+1)*pth->th_size+pth->index_th_g] <=
         pth->thermodynamics_table[index_tau*pth->th_size+pth->index_th_g]) {
    index_tau--;
  }

  g_max = pth->thermodynamics_table[index_tau*pth->th_size+pth->index_th_g];
  index_tau_max = index_tau;

  /* approximation for maximum of g, using cubic interpolation, assuming equally spaced z's */
  pth->z_rec=pth->z_table[index_tau+1]+0.5*(pth->z_table[index_tau+1]-pth->z_table[index_tau])
    *(pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_g]
      -pth->thermodynamics_table[(index_tau+2)*pth->th_size+pth->index_th_g])
    /(pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_g]
      -2.*pth->thermodynamics_table[(index_tau+1)*pth->th_size+pth->index_th_g]
      +pth->thermodynamics_table[(index_tau+2)*pth->th_size+pth->index_th_g]
      );

  class_test(pth->z_rec+ppr->smallest_allowed_variation >= _Z_REC_MAX_,
             pth->error_message,
             "recombination (at z=%g) happens before _Z_REC_MAX_=%g, which is the maximum value imposed in thermodynamics.h",pth->z_rec+ppr->smallest_allowed_variation,_Z_REC_MAX_);

  class_test(pth->z_rec-ppr->smallest_allowed_variation <= _Z_REC_MIN_,
             pth->error_message,
             "recombination (at z=%g) happens after _Z_REC_MIN_=%g, which is the minimum value imposed in thermodynamics.h",pth->z_rec-ppr->smallest_allowed_variation,_Z_REC_MIN_);

  /** - find conformal recombination time using background_tau_of_z **/

  class_call(background_tau_of_z(pba,pth->z_rec,&(pth->tau_rec)),
             pba->error_message,
             pth->error_message);

  class_call(background_at_z(pba,pth->z_rec, long_info, inter_normal, &last_index_back, pvecback),
             pba->error_message,
             pth->error_message);

  pth->rs_rec=pvecback[pba->index_bg_rs];
  pth->ds_rec=pth->rs_rec/(1.+pth->z_rec);
  pth->da_rec=pvecback[pba->index_bg_ang_distance];
  pth->ra_rec=pth->da_rec*(1.+pth->z_rec);
  pth->angular_rescaling=pth->ra_rec/(pba->conformal_age-pth->tau_rec);

  /** - find damping scale at recombination (using linear interpolation) */
  if (pth->compute_damping_scale == _TRUE_) {

    pth->rd_rec = (pth->z_table[index_tau+1]-pth->z_rec)/(pth->z_table[index_tau+1]-pth->z_table[index_tau])*pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_r_d]
      +(pth->z_rec-pth->z_table[index_tau])/(pth->z_table[index_tau+1]-pth->z_table[index_tau])*pth->thermodynamics_table[(index_tau+1)*pth->th_size+pth->index_th_r_d];

  }

  /** - find time (always after recombination) at which tau_c/tau falls below some threshold, defining tau_free_streaming */
  while (1./pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_dkappa]/pth->tau_table[index_tau]
         < ppr->radiation_streaming_trigger_tau_c_over_tau) {

    index_tau--;
    class_test(index_tau<0, pth->error_message,"Could not find a time at which photons free-stream. This is very suspicious. Aborting.\n");

  }

  pth->tau_free_streaming = pth->tau_table[index_tau];

  /** - find time above which visibility falls below a given fraction of its maximum */
  index_tau=index_tau_max;
  while ((pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_g] >
          g_max * ppr->neglect_CMB_sources_below_visibility)
         && (index_tau > 0))
    index_tau--;

  class_call(background_tau_of_z(pba,pth->z_table[index_tau],&(pth->tau_cut)),
             pba->error_message,
             pth->error_message);

  /** - find z_star (when optical depth kappa crosses one, using linear
      interpolation) and sound horizon at that time */

  index_tau=0;
  while ((pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_exp_m_kappa] > 1./_E_) && (index_tau < pth->tt_size))
    index_tau++;

  pth->z_star = pth->z_table[index_tau-1]+
    (1./_E_-pth->thermodynamics_table[(index_tau-1)*pth->th_size+pth->index_th_exp_m_kappa])
    /(pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_exp_m_kappa]-pth->thermodynamics_table[(index_tau-1)*pth->th_size+pth->index_th_exp_m_kappa])
    *(pth->z_table[index_tau]-pth->z_table[index_tau-1]);

  class_call(background_tau_of_z(pba,pth->z_star,&(pth->tau_star)),
             pba->error_message,
             pth->error_message);

  class_call(background_at_tau(pba,pth->tau_star, long_info, inter_normal, &last_index_back, pvecback),
             pba->error_message,
             pth->error_message);

  pth->rs_star=pvecback[pba->index_bg_rs];
  pth->ds_star=pth->rs_star/(1.+pth->z_star);
  pth->da_star=pvecback[pba->index_bg_ang_distance];
  pth->ra_star=pth->da_star*(1.+pth->z_star);

  if (pth->compute_damping_scale == _TRUE_) {

    pth->rd_star = (pth->z_table[index_tau+1]-pth->z_star)/(pth->z_table[index_tau+1]-pth->z_table[index_tau])*pth->thermodynamics_table[(index_tau)*pth->th_size+pth->index_th_r_d]
      +(pth->z_star-pth->z_table[index_tau])/(pth->z_table[index_tau+1]-pth->z_table[index_tau])*pth->thermodynamics_table[(index_tau+1)*pth->th_size+pth->index_th_r_d];

  }

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1048, %rsp           # imm = 0x1048
movq %rcx, 0x20(%rsp)
movabsq $-0x100000000, %r13     # imm = 0xFFFFFFFF00000000
movl $0x0, 0x14(%rsp)
movslq 0xf08(%rdx), %r10
movl %r10d, %eax
movq 0xf10(%rdx), %rcx
movq %r10, %r8
shlq $0x20, %r8
leaq (,%r10,8), %r15
movabsq $0x100000000, %rbx      # imm = 0x100000000
addq %r8, %rbx
movabsq $0x200000000, %rbp      # imm = 0x200000000
addq %r8, %rbp
leaq (%rcx,%r10,8), %r8
addq $-0x8, %r8
xorl %r12d, %r12d
movsd 0x9e705(%rip), %xmm0    # 0x10d740
movsd (%r8,%r12,8), %xmm1
addq $-0x8, %r15
addq %r13, %rbx
decq %r12
addq %r13, %rbp
ucomisd %xmm0, %xmm1
ja 0x6f03b
leaq (%rax,%r12), %r9
incl %r9d
movq %r10, 0x38(%rsp)
addl %r12d, %r10d
movq 0xf20(%rdx), %r14
movslq 0xf04(%rdx), %r11
imull %r11d, %r9d
movslq 0xe94(%rdx), %r8
addl %r8d, %r9d
movslq %r9d, %r9
movsd (%r14,%r9,8), %xmm0
imull %r11d, %r10d
addl %r8d, %r10d
movslq %r10d, %r9
ucomisd (%r14,%r9,8), %xmm0
jbe 0x6f100
leaq 0xa26e3(%rip), %rsi     # 0x111784
leaq 0x40(%rsp), %r14
movsd 0x9e692(%rip), %xmm0    # 0x10d740
movq %r14, %rdi
movb $0x1, %al
movq %rdx, %rbx
callq 0x30af0
leaq 0x7efc0(%rip), %rsi     # 0xee082
leaq 0xa2781(%rip), %rdx     # 0x11184a
leaq 0x840(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %rbx           # imm = 0x1064
leaq 0x7ef48(%rip), %rsi     # 0xee034
leaq 0xa27e1(%rip), %rdx     # 0x1118d4
movq %rbx, %rdi
movl $0xebb, %ecx            # imm = 0xEBB
jmp 0x6f334
movq %rdi, 0x18(%rsp)
movq %rsi, 0x8(%rsp)
movq %rax, 0x30(%rsp)
leaq (%rax,%r12), %rsi
addq $0x3, %rsi
leaq (%r14,%r8,8), %rdi
imull %r11d, %esi
addl %r8d, %esi
movq %r11, %r8
imulq %r15, %r8
addq $0x8, %r15
leaq (,%r11,8), %r9
negq %r9
movq %r11, %r10
imulq %r15, %r10
movsd (%rdi,%r10), %xmm1
movsd (%rdi,%r8), %xmm5
addq %r13, %rbx
decq %r12
addq $-0x8, %r15
addq %r13, %rbp
subl %r11d, %esi
addq %r9, %rdi
ucomisd %xmm1, %xmm5
jae 0x6f13f
movq %rbp, %rdi
sarq $0x1d, %rdi
movsd (%rcx,%rdi), %xmm2
movq %rbx, %rdi
sarq $0x1d, %rdi
movapd %xmm2, %xmm3
subsd (%rcx,%rdi), %xmm3
mulsd 0x7fb48(%rip), %xmm3    # 0xeecd0
movslq %esi, %rax
movsd (%r14,%rax,8), %xmm4
movapd %xmm5, %xmm0
subsd %xmm4, %xmm0
mulsd %xmm3, %xmm0
addsd %xmm1, %xmm1
movapd %xmm5, %xmm3
subsd %xmm1, %xmm3
addsd %xmm4, %xmm3
divsd %xmm3, %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, 0xf30(%rdx)
movq 0x18(%rsp), %rax
movsd 0xa28(%rax), %xmm1
movapd %xmm1, %xmm2
addsd %xmm0, %xmm2
ucomisd 0x9e566(%rip), %xmm2    # 0x10d740
movq 0x8(%rsp), %rdi
jae 0x6f268
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd 0x83a0b(%rip), %xmm1    # 0xf2c00
ucomisd %xmm2, %xmm1
jae 0x6f2cf
movsd %xmm5, 0x28(%rsp)
leaq 0xf38(%rdx), %rsi
movq %rdx, %r14
callq 0x5c896
cmpl $0x1, %eax
jne 0x6f357
movq 0x8(%rsp), %rcx
addq $0xd1c, %rcx            # imm = 0xD1C
leaq 0x7f1c0(%rip), %rsi     # 0xee3f0
leaq 0xa281e(%rip), %rdx     # 0x111a55
leaq 0x40(%rsp), %r15
movq %r15, %rdi
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %r14           # imm = 0x1064
leaq 0x7ede0(%rip), %rsi     # 0xee034
leaq 0xa2679(%rip), %rdx     # 0x1118d4
movq %r14, %rdi
movl $0xeda, %ecx            # imm = 0xEDA
jmp 0x6f334
leaq 0xa2697(%rip), %rsi     # 0x111906
leaq 0x40(%rsp), %r14
movsd 0x9e4c4(%rip), %xmm1    # 0x10d740
movq %r14, %rdi
movapd %xmm2, %xmm0
movb $0x2, %al
movq %rdx, %rbx
callq 0x30af0
leaq 0x7edee(%rip), %rsi     # 0xee082
leaq 0xa26d9(%rip), %rdx     # 0x111974
leaq 0x840(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %rbx           # imm = 0x1064
leaq 0x7ed76(%rip), %rsi     # 0xee034
leaq 0xa260f(%rip), %rdx     # 0x1118d4
movq %rbx, %rdi
movl $0xed0, %ecx            # imm = 0xED0
jmp 0x6f334
leaq 0xa26d8(%rip), %rsi     # 0x1119ae
leaq 0x40(%rsp), %r14
movsd 0x8391d(%rip), %xmm1    # 0xf2c00
movq %r14, %rdi
movapd %xmm2, %xmm0
movb $0x2, %al
movq %rdx, %rbx
callq 0x30af0
leaq 0x7ed87(%rip), %rsi     # 0xee082
leaq 0xa2719(%rip), %rdx     # 0x111a1b
leaq 0x840(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %rbx           # imm = 0x1064
leaq 0x7ed0f(%rip), %rsi     # 0xee034
leaq 0xa25a8(%rip), %rdx     # 0x1118d4
movq %rbx, %rdi
movl $0xed4, %ecx            # imm = 0xED4
movq %r15, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %ebp
movl %ebp, %eax
addq $0x1048, %rsp           # imm = 0x1048
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movsd 0xf30(%r14), %xmm0
leaq 0x14(%rsp), %rcx
movq 0x8(%rsp), %rdi
movl $0x2, %esi
xorl %edx, %edx
movq 0x20(%rsp), %r8
callq 0x5c3a8
cmpl $0x1, %eax
jne 0x6f3cb
movq 0x8(%rsp), %rcx
addq $0xd1c, %rcx            # imm = 0xD1C
leaq 0x7f05d(%rip), %rsi     # 0xee3f0
leaq 0xa26ef(%rip), %rdx     # 0x111a89
leaq 0x40(%rsp), %r15
movq %r15, %rdi
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %r14           # imm = 0x1064
leaq 0x7ec7d(%rip), %rsi     # 0xee034
leaq 0xa2516(%rip), %rdx     # 0x1118d4
movq %r14, %rdi
movl $0xede, %ecx            # imm = 0xEDE
jmp 0x6f334
movq 0x8(%rsp), %rdi
movslq 0x420(%rdi), %rax
movq 0x20(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm1
movsd %xmm1, 0xf40(%r14)
movsd 0xf30(%r14), %xmm0
movsd 0x7ee65(%rip), %xmm2    # 0xee260
addsd %xmm0, %xmm2
divsd %xmm2, %xmm1
movsd %xmm1, 0xf48(%r14)
movslq 0x414(%rdi), %rax
movsd (%rcx,%rax,8), %xmm1
movsd %xmm1, 0xf58(%r14)
mulsd %xmm1, %xmm2
movsd %xmm2, 0xf50(%r14)
movsd 0x310(%rdi), %xmm1
subsd 0xf38(%r14), %xmm1
divsd %xmm1, %xmm2
movsd %xmm2, 0xfd0(%r14)
cmpw $0x1, 0x32(%r14)
movq 0xf20(%r14), %rcx
movslq 0xf04(%r14), %rax
movq %r14, %r9
jne 0x6f4de
movq 0x30(%rsp), %rdx
leaq (%rdx,%r12), %rsi
incq %rsi
addq %r12, %rdx
addq $0x2, %rdx
movq %rbp, %r10
sarq $0x20, %r10
sarq $0x20, %rbx
movq 0xf10(%r9), %r8
movsd (%r8,%r10,8), %xmm1
movapd %xmm1, %xmm2
subsd %xmm0, %xmm2
movsd (%r8,%rbx,8), %xmm3
subsd %xmm3, %xmm1
divsd %xmm1, %xmm2
imull %eax, %esi
movl 0xf00(%r9), %r8d
addl %r8d, %esi
movslq %esi, %rsi
subsd %xmm3, %xmm0
divsd %xmm1, %xmm0
imull %eax, %edx
addl %r8d, %edx
movslq %edx, %rdx
mulsd (%rcx,%rdx,8), %xmm0
mulsd (%rcx,%rsi,8), %xmm2
addsd %xmm0, %xmm2
movsd %xmm2, 0xf60(%r9)
movq 0x38(%rsp), %rdx
leaq (%rdx,%r12), %rsi
addq $0x2, %rsi
leaq 0x1(%rdx,%r12), %rdx
movslq 0xe80(%r9), %r8
movq 0xf18(%r9), %r10
movq 0x18(%rsp), %r11
movsd 0x630(%r11), %xmm0
leaq (%rcx,%r8,8), %r8
imulq %rax, %r15
addq %r15, %r8
shlq $0x3, %rax
negq %rax
movsd 0x7ed3a(%rip), %xmm1    # 0xee260
movsd 0x28(%rsp), %xmm4
movapd %xmm1, %xmm3
divsd (%r8), %xmm3
movsd -0x8(%r10,%rsi,8), %xmm2
divsd %xmm2, %xmm3
ucomisd %xmm3, %xmm0
jbe 0x6f5af
decq %rsi
addq %rax, %r8
testq %rsi, %rsi
jg 0x6f52c
leaq 0xa2586(%rip), %rsi     # 0x111ade
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
movq %r9, %rbx
callq 0x30af0
leaq 0x7eb11(%rip), %rsi     # 0xee082
leaq 0xa25be(%rip), %rdx     # 0x111b36
leaq 0x840(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %rbx           # imm = 0x1064
leaq 0x7ea99(%rip), %rsi     # 0xee034
leaq 0xa2332(%rip), %rdx     # 0x1118d4
movq %rbx, %rdi
movl $0xef3, %ecx            # imm = 0xEF3
jmp 0x6f334
movsd %xmm2, 0xfd8(%r9)
movslq 0xe94(%r9), %rsi
movq 0x18(%rsp), %r8
mulsd 0x670(%r8), %xmm4
leaq (%rcx,%rsi,8), %rcx
addq %r15, %rcx
addq %r13, %rbp
testq %rdx, %rdx
jle 0x6f5ec
movsd (%rcx), %xmm0
decq %rdx
addq %rax, %rcx
ucomisd %xmm4, %xmm0
ja 0x6f5d4
movq 0xf10(%r9), %rax
sarq $0x1d, %rbp
movsd (%rax,%rbp), %xmm0
leaq 0xfc8(%r9), %rsi
movq %r9, %rbx
movq %rdi, %r14
callq 0x5c896
cmpl $0x1, %eax
jne 0x6f65c
addq $0xd1c, %r14            # imm = 0xD1C
leaq 0x7edcf(%rip), %rsi     # 0xee3f0
leaq 0xa251a(%rip), %rdx     # 0x111b42
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %rbx           # imm = 0x1064
leaq 0x7e9ec(%rip), %rsi     # 0xee034
leaq 0xa2285(%rip), %rdx     # 0x1118d4
movq %rbx, %rdi
movl $0xf02, %ecx            # imm = 0xF02
jmp 0x6f334
movq 0xf20(%rbx), %rax
movslq 0xf04(%rbx), %rdx
movslq 0xe90(%rbx), %rcx
movsd (%rax,%rcx,8), %xmm0
xorl %esi, %esi
ucomisd 0x9e0c8(%rip), %xmm0    # 0x10d748
movq %rbx, %r14
jbe 0x6f6cc
movl 0xf08(%r14), %edi
xorl %esi, %esi
testl %edi, %edi
cmovgl %edi, %esi
movq 0x8(%rsp), %r13
jle 0x6f6d9
leaq (,%rdx,8), %r8
leaq (%r8,%rcx,8), %r9
addq %rax, %r9
xorl %r10d, %r10d
movsd 0x9e094(%rip), %xmm1    # 0x10d748
movsd (%r9), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x6f6d3
incq %r10
addq %r8, %r9
cmpq %r10, %rsi
jne 0x6f6b4
jmp 0x6f6d9
movq 0x8(%rsp), %r13
jmp 0x6f6d9
incl %r10d
movl %r10d, %esi
movq 0xf10(%r14), %r9
movslq %esi, %r8
decl %esi
movsd -0x8(%r9,%r8,8), %xmm1
imull %edx, %esi
addl %ecx, %esi
movslq %esi, %rcx
movsd (%rax,%rcx,8), %xmm2
movsd 0x9e047(%rip), %xmm3    # 0x10d748
subsd %xmm2, %xmm3
subsd %xmm2, %xmm0
divsd %xmm0, %xmm3
movl %r8d, %ebx
movsd (%r9,%rbx,8), %xmm0
subsd %xmm1, %xmm0
mulsd %xmm3, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xf68(%r14)
leaq 0xf70(%r14), %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x5c896
cmpl $0x1, %eax
jne 0x6f78b
addq $0xd1c, %r13            # imm = 0xD1C
leaq 0x7eca0(%rip), %rsi     # 0xee3f0
leaq 0xa242c(%rip), %rdx     # 0x111b83
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r13, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %r14           # imm = 0x1064
leaq 0x7e8bd(%rip), %rsi     # 0xee034
leaq 0xa2156(%rip), %rdx     # 0x1118d4
movq %r14, %rdi
movl $0xf12, %ecx            # imm = 0xF12
jmp 0x6f334
movsd (%r12), %xmm0
xorl %ebp, %ebp
leaq 0x14(%rsp), %rcx
movq %r13, %rdi
movl $0x2, %esi
xorl %edx, %edx
movq 0x20(%rsp), %r15
movq %r15, %r8
callq 0x5c63f
cmpl $0x1, %eax
jne 0x6f7fd
addq $0xd1c, %r13            # imm = 0xD1C
leaq 0x7ec2e(%rip), %rsi     # 0xee3f0
leaq 0xa23f0(%rip), %rdx     # 0x111bb9
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r13, %rcx
xorl %eax, %eax
callq 0x30af0
addq $0x1064, %r14           # imm = 0x1064
leaq 0x7e84b(%rip), %rsi     # 0xee034
leaq 0xa20e4(%rip), %rdx     # 0x1118d4
movq %r14, %rdi
movl $0xf16, %ecx            # imm = 0xF16
jmp 0x6f334
movslq 0x420(%r13), %rax
movsd (%r15,%rax,8), %xmm1
movsd %xmm1, 0xf78(%r14)
movsd 0xf68(%r14), %xmm0
movsd 0x7ea3c(%rip), %xmm2    # 0xee260
addsd %xmm0, %xmm2
divsd %xmm2, %xmm1
movsd %xmm1, 0xf80(%r14)
movslq 0x414(%r13), %rax
movsd (%r15,%rax,8), %xmm1
movsd %xmm1, 0xf90(%r14)
mulsd %xmm1, %xmm2
movsd %xmm2, 0xf88(%r14)
cmpw $0x1, 0x32(%r14)
jne 0x6f343
movq 0xf10(%r14), %rax
movsd (%rax,%rbx,8), %xmm2
movsd 0x8(%rax,%rbx,8), %xmm3
movapd %xmm3, %xmm1
subsd %xmm0, %xmm1
subsd %xmm2, %xmm3
divsd %xmm3, %xmm1
movq 0xf20(%r14), %rax
movl 0xf00(%r14), %ecx
movl 0xf04(%r14), %edx
leal 0x1(%rbx), %esi
imull %edx, %esi
imull %ebx, %edx
addl %ecx, %edx
movslq %edx, %rdx
subsd %xmm2, %xmm0
divsd %xmm3, %xmm0
addl %ecx, %esi
movslq %esi, %rcx
mulsd (%rax,%rcx,8), %xmm0
mulsd (%rax,%rdx,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0xf98(%r14)
jmp 0x6f343