LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../source/distortions.c
// Function: distortions_free_sd_data
int distortions_free_sd_data(struct distortions * psd){

  free(psd->PCA_nu);
  free(psd->PCA_G_T);
  free(psd->ddPCA_G_T);
  free(psd->PCA_Y_SZ);
  free(psd->ddPCA_Y_SZ);
  free(psd->PCA_M_mu);
  free(psd->ddPCA_M_mu);
  free(psd->S_vec);
  free(psd->ddS_vec);

  return _SUCCESS_;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0xc70(%rdi), %rdi
callq 0x8410
movq 0xc80(%rbx), %rdi
callq 0x8410
movq 0xc88(%rbx), %rdi
callq 0x8410
movq 0xc90(%rbx), %rdi
callq 0x8410
movq 0xc98(%rbx), %rdi
callq 0x8410
movq 0xca0(%rbx), %rdi
callq 0x8410
movq 0xca8(%rbx), %rdi
callq 0x8410
movq 0xcb0(%rbx), %rdi
callq 0x8410
movq 0xcb8(%rbx), %rdi
callq 0x8410
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../source/distortions.c
// Function: distortions_output_heat_titles
int distortions_output_heat_titles(struct distortions * psd,
                                   char titles[_MAXTITLESTRINGLENGTH_]){

  class_store_columntitle(titles,"Redshift z",_TRUE_);
  class_store_columntitle(titles,"Heat  [-]",_TRUE_);
  class_store_columntitle(titles,"LHeat [-]",_TRUE_);

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x8180
movabsq $0x7466696873646552, %rcx # imm = 0x7466696873646552
movq %rcx, (%rbx,%rax)
movl $0x7a2074, 0x7(%rbx,%rax) # imm = 0x7A2074
movq %rbx, %rdi
callq 0x8180
movw $0x9, %bp
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movabsq $0x2d5b202074616548, %rcx # imm = 0x2D5B202074616548
movq %rcx, (%rbx,%rax)
movw $0x5d, %r14w
movw %r14w, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movabsq $0x2d5b20746165484c, %rcx # imm = 0x2D5B20746165484C
movq %rcx, (%rbx,%rax)
movw %r14w, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../source/distortions.c
// Function: distortions_output_heat_data
int distortions_output_heat_data(struct distortions * psd,
                                 int number_of_titles,
                                 double * data){
  int storeidx;
  double * dataptr;
  int index_z;

  for (index_z=0; index_z<psd->z_size; index_z++) {
    dataptr = data + index_z*number_of_titles;
    storeidx = 0;
    class_store_double(dataptr, psd->z[index_z], _TRUE_, storeidx);
    class_store_double(dataptr, psd->dQrho_dz_tot[index_z], _TRUE_, storeidx);
    class_store_double(dataptr, psd->dQrho_dz_tot[index_z]*(1.+psd->z[index_z]), _TRUE_, storeidx);
  }

  return _SUCCESS_;
}

// Assembly:
movslq 0x330(%rdi), %rax
testq %rax, %rax
jle 0xd1017
movq 0x340(%rdi), %rcx
movq 0xc00(%rdi), %rdi
movslq %esi, %rsi
addq $0x10, %rdx
shlq $0x3, %rsi
xorl %r8d, %r8d
movsd 0x2027e(%rip), %xmm0    # 0xf1260
movsd (%rcx,%r8,8), %xmm1
movsd %xmm1, -0x10(%rdx)
movsd (%rdi,%r8,8), %xmm1
movsd %xmm1, -0x8(%rdx)
movsd (%rcx,%r8,8), %xmm1
addsd %xmm0, %xmm1
mulsd (%rdi,%r8,8), %xmm1
movsd %xmm1, (%rdx)
incq %r8
addq %rsi, %rdx
cmpq %r8, %rax
jne 0xd0fe2
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../source/distortions.c
// Function: distortions_output_sd_titles
int distortions_output_sd_titles(struct distortions * psd,
                                 char titles[_MAXTITLESTRINGLENGTH_]){

  char temp_title[256];
  int index_type;
  class_store_columntitle(titles,"Dimensionless frequency x",_TRUE_);
  class_store_columntitle(titles,"Frequency nu [GHz]",_TRUE_);
  class_store_columntitle(titles,"SD_tot",_TRUE_);
  for (index_type=0;index_type<psd->type_size;++index_type){
    if (index_type==psd->index_type_g) {
      class_sprintf(temp_title,"SD[g]");
    }
    if (index_type==psd->index_type_y) {
      class_sprintf(temp_title,"SD[y]");
    }
    if (index_type==psd->index_type_mu) {
      class_sprintf(temp_title,"SD[mu]");
    }
    if (index_type>=psd->index_type_PCA) {
      class_sprintf(temp_title,"SD[e_%i]",(index_type-psd->index_type_PCA));
    }
    class_store_columntitle(titles,temp_title,_TRUE_);
  }

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x8180
movups 0x59f53(%rip), %xmm0    # 0x12af91
movups %xmm0, (%rbx,%rax)
movups 0x59f52(%rip), %xmm0    # 0x12af9b
movups %xmm0, 0xa(%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movw $0x9, %bp
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movups 0x59f3e(%rip), %xmm0    # 0x12afab
movups %xmm0, (%rbx,%rax)
movl $0x5d7a48, 0xf(%rbx,%rax) # imm = 0x5D7A48
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movl $0x745f4453, (%rbx,%rax) # imm = 0x745F4453
movl $0x746f74, 0x3(%rbx,%rax) # imm = 0x746F74
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
cmpl $0x0, 0xbf0(%r14)
jle 0xd1164
movq %rsp, %r15
leaq 0x59f18(%rip), %r12     # 0x12afd8
xorl %ebp, %ebp
cmpl 0xbe0(%r14), %ebp
jne 0xd10d9
movw $0x5d, 0x4(%rsp)
movl $0x675b4453, (%rsp)     # imm = 0x675B4453
cmpl 0xbe8(%r14), %ebp
jne 0xd10f0
movw $0x5d, 0x4(%rsp)
movl $0x795b4453, (%rsp)     # imm = 0x795B4453
cmpl 0xbe4(%r14), %ebp
jne 0xd1108
movl $0x5d756d, 0x3(%rsp)    # imm = 0x5D756D
movl $0x6d5b4453, (%rsp)     # imm = 0x6D5B4453
movl %ebp, %ecx
subl 0xbec(%r14), %ecx
jl 0xd113c
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
xorl %eax, %eax
callq 0x8550
incl %eax
movslq %eax, %rsi
movl %ebp, %ecx
subl 0xbec(%r14), %ecx
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x8550
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8660
movq %rbx, %rdi
callq 0x8180
movw $0x9, (%rbx,%rax)
incl %ebp
cmpl 0xbf0(%r14), %ebp
jl 0xd10c2
xorl %eax, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../source/distortions.c
// Function: distortions_output_sd_data
int distortions_output_sd_data(struct distortions * psd,
                               int number_of_titles,
                               double * data){
  int index_type;
  int storeidx;
  double * dataptr;
  int index_x;

  for (index_x=0; index_x<psd->x_size; index_x++) {
    dataptr = data + index_x*number_of_titles;
    storeidx = 0;

    class_store_double(dataptr, psd->x[index_x], _TRUE_,storeidx);
    class_store_double(dataptr, psd->x[index_x]*psd->x_to_nu, _TRUE_,storeidx);
    class_store_double(dataptr, psd->DI[index_x]*1.e26*psd->DI_units, _TRUE_,storeidx);
    for (index_type=0;index_type<psd->type_size;++index_type){
      class_store_double(dataptr, psd->sd_table[index_type][index_x]*1.e26*psd->DI_units, _TRUE_,storeidx);
    }
  }

  return _SUCCESS_;
}

// Assembly:
movslq 0x368(%rdi), %rax
testq %rax, %rax
jle 0xd123f
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x370(%rdi), %rcx
movq 0xc10(%rdi), %r8
movl 0xbf0(%rdi), %r9d
movslq %esi, %rsi
leaq 0x18(%rdx), %r10
leaq (,%rsi,8), %r11
xorl %ebx, %ebx
movsd 0x57dbd(%rip), %xmm0    # 0x128f78
movq %rbx, %r14
imulq %rsi, %r14
movsd (%rcx,%rbx,8), %xmm1
movsd %xmm1, (%rdx,%r14,8)
movsd (%rcx,%rbx,8), %xmm1
mulsd 0x380(%rdi), %xmm1
movsd %xmm1, 0x8(%rdx,%r14,8)
movsd (%r8,%rbx,8), %xmm1
mulsd %xmm0, %xmm1
mulsd 0x388(%rdi), %xmm1
movsd %xmm1, 0x10(%rdx,%r14,8)
testl %r9d, %r9d
jle 0xd122d
movq 0xbd8(%rdi), %r14
xorl %r15d, %r15d
movq (%r14,%r15,8), %r12
movsd (%r12,%rbx,8), %xmm1
mulsd %xmm0, %xmm1
mulsd 0x388(%rdi), %xmm1
movsd %xmm1, (%r10,%r15,8)
incq %r15
cmpq %r15, %r9
jne 0xd1209
incq %rbx
addq %r11, %r10
cmpq %rax, %rbx
jne 0xd11bb
popq %rbx
popq %r12
popq %r14
popq %r15
xorl %eax, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/injection.c
// Function: injection_indices
int injection_indices(struct thermodynamics* pth){

  /** - Define local variables */
  struct injection* pin = &(pth->in);
  int index_dep,index_inj;

  /* Check energy injection */
  if(pin->DM_annihilation_efficiency!=0){
    pin->has_DM_ann = _TRUE_;
  }
  if(pin->DM_decay_fraction!=0){
    pin->has_DM_dec = _TRUE_;
  }
  if(pin->PBH_evaporation_fraction!=0){
    pin->has_PBH_eva = _TRUE_;
  }
  if(pin->PBH_accretion_fraction!=0){
    pin->has_PBH_acc = _TRUE_;
  }

  /** - Indices for injection table */
  index_inj = 0;
  class_define_index(pin->index_inj_DM_ann  , pin->has_DM_ann  , index_inj, 1);
  class_define_index(pin->index_inj_DM_dec  , pin->has_DM_dec  , index_inj, 1);
  class_define_index(pin->index_inj_PBH_eva , pin->has_PBH_eva , index_inj, 1);
  class_define_index(pin->index_inj_PBH_acc , pin->has_PBH_acc , index_inj, 1);
  class_define_index(pin->index_inj_tot     , _TRUE_           , index_inj, 1);
  pin->inj_size = index_inj;

  /** - Indices for deposition (and chi) table */
  index_dep = 0;
  class_define_index(pin->index_dep_heat , _TRUE_, index_dep, 1);
  class_define_index(pin->index_dep_ionH , _TRUE_, index_dep, 1);
  class_define_index(pin->index_dep_ionHe, _TRUE_, index_dep, 1);
  class_define_index(pin->index_dep_lya  , _TRUE_, index_dep, 1);
  class_define_index(pin->index_dep_lowE , _TRUE_, index_dep, 1);
  pin->dep_size = index_dep;

  return _SUCCESS_;
}

// Assembly:
movsd 0xc0(%rdi), %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jne 0xd2bf5
jnp 0xd2bff
movl $0x1, 0x61c(%rdi)
movsd 0x110(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jne 0xd2c0f
jnp 0xd2c19
movl $0x1, 0x620(%rdi)
movsd 0x120(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jne 0xd2c29
jnp 0xd2c33
movl $0x1, 0x624(%rdi)
movsd 0x130(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jne 0xd2c43
jnp 0xd2c4d
movl $0x1, 0x628(%rdi)
cmpl $0x0, 0x61c(%rdi)
je 0xd2c67
movl $0x0, 0x598(%rdi)
movl $0x1, %eax
jmp 0xd2c69
xorl %eax, %eax
cmpl $0x0, 0x620(%rdi)
je 0xd2c7a
movl %eax, 0x59c(%rdi)
incl %eax
cmpl $0x0, 0x624(%rdi)
je 0xd2c8b
movl %eax, 0x5a0(%rdi)
incl %eax
cmpl $0x0, 0x628(%rdi)
je 0xd2c9c
movl %eax, 0x5a4(%rdi)
incl %eax
movl %eax, 0x5a8(%rdi)
incl %eax
movl %eax, 0x5ac(%rdi)
movaps 0x3ae8f(%rip), %xmm0    # 0x10db40
movups %xmm0, 0x5f8(%rdi)
movabsq $0x500000004, %rax      # imm = 0x500000004
movq %rax, 0x608(%rdi)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/injection.c
// Function: injection_free
int injection_free(struct thermodynamics* pth){

  /** - Define local variables */
  struct injection* pin = &(pth->in);
  int index_inj, index_dep;

  /* Redshift */
  free(pin->z_table);

  /* Energy injection */
  for(index_inj=0;index_inj<pin->inj_size;++index_inj){
    free(pin->injection_table[index_inj]);
  }
  free(pin->injection_table);

  if(pin->has_PBH_eva==_TRUE_){
    free(pin->PBH_table_z);
    free(pin->PBH_table_mass);
    free(pin->PBH_table_mass_dd);
    free(pin->PBH_table_F);
    free(pin->PBH_table_F_dd);
  }

  /* Injection efficiency */
  if(pin->f_eff_type == f_eff_from_file){
    free(pin->feff_table);
  }
  if(pin->chi_type == chi_from_z_file){
    free(pin->chiz_table);
  }
  if(pin->chi_type == chi_from_x_file || pin->chi_type == chi_Galli_file){
    free(pin->chix_table);
  }

  /* Deposition function */
  free(pin->chi);

  /* Energy deposition */
  for(index_dep=0;index_dep<pin->dep_size;++index_dep){
    free(pin->deposition_table[index_dep]);
  }
  free(pin->deposition_table);
  free(pin->pvecdeposition);

  return _SUCCESS_;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x508(%rdi), %rdi
callq 0x8410
cmpl $0x0, 0x5ac(%rbx)
jle 0xd4035
xorl %r14d, %r14d
movq 0x588(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x8410
incq %r14
movslq 0x5ac(%rbx), %rax
cmpq %rax, %r14
jl 0xd4016
movq 0x588(%rbx), %rdi
callq 0x8410
cmpl $0x1, 0x624(%rbx)
jne 0xd4086
movq 0x558(%rbx), %rdi
callq 0x8410
movq 0x560(%rbx), %rdi
callq 0x8410
movq 0x568(%rbx), %rdi
callq 0x8410
movq 0x570(%rbx), %rdi
callq 0x8410
movq 0x578(%rbx), %rdi
callq 0x8410
cmpl $0x1, 0x160(%rbx)
jne 0xd409b
movq 0x5c0(%rbx), %rdi
callq 0x8410
cmpl $0x6, 0x264(%rbx)
jne 0xd40b0
movq 0x5c8(%rbx), %rdi
callq 0x8410
movl 0x264(%rbx), %eax
cmpl $0x5, %eax
je 0xd40c0
cmpl $0x2, %eax
jne 0xd40cc
movq 0x5d8(%rbx), %rdi
callq 0x8410
movq 0x5f0(%rbx), %rdi
callq 0x8410
cmpl $0x0, 0x60c(%rbx)
jle 0xd4103
xorl %r14d, %r14d
movq 0x5e8(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x8410
incq %r14
movslq 0x60c(%rbx), %rax
cmpq %rax, %r14
jl 0xd40e4
movq 0x5e8(%rbx), %rdi
callq 0x8410
movq 0x610(%rbx), %rdi
callq 0x8410
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/injection.c
// Function: injection_rate_DM_decay
int injection_rate_DM_decay(struct injection * pin,
                            double z,
                            double * energy_rate){

  /** - Calculate injection rates */
  *energy_rate = pin->rho_cdm*pin->DM_decay_fraction*pin->DM_decay_Gamma*
                 exp(-pin->DM_decay_Gamma*pin->t);                                                  // [J/(m^3 s)]

  return _SUCCESS_;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movsd 0x410(%rdi), %xmm1
mulsd 0x50(%rdi), %xmm1
movsd 0x58(%rdi), %xmm0
mulsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
xorpd 0x1c04e(%rip), %xmm0    # 0xf1230
mulsd 0x3f8(%rdi), %xmm0
callq 0x8670
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/injection.c
// Function: injection_deposition_at_z
int injection_deposition_at_z(struct thermodynamics* pth,
                              double z){

  /** - Define local variables */
  struct injection* pin = &(pth->in);
  int index_dep;
  double h,a,b;

  /** - Interpolate at required z in the table */
  class_test(z < pin->filled_until_z,
             pin->error_message,
             "injection is not yet calculated beyond %.10e (asked for at %.10e)",pin->filled_until_z,z);

  class_call(array_spline_hunt(pin->z_table,
                               pin->z_size,
                               z,
                               &(pin->last_index_z),
                               &h,&a,&b,
                               pin->error_message),
           pin->error_message,
           pin->error_message);

  for(index_dep=0; index_dep<pin->dep_size; ++index_dep){
    pin->pvecdeposition[index_dep] = ( a*pin->deposition_table[index_dep][pin->last_index_z]+
                                        b*pin->deposition_table[index_dep][pin->last_index_z+1] );
  }

  return _SUCCESS_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1020, %rsp           # imm = 0x1020
movapd %xmm0, %xmm1
movq %rdi, %rbx
movsd 0x528(%rdi), %xmm0
ucomisd %xmm1, %xmm0
jbe 0xd5c93
leaq 0x56327(%rip), %rsi     # 0x12bf66
leaq 0x820(%rsp), %r14
movq %r14, %rdi
movb $0x2, %al
callq 0x30c2c
leaq 0x1b42a(%rip), %rsi     # 0xf1082
leaq 0x56349(%rip), %rdx     # 0x12bfa8
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30c2c
addq $0x630, %rbx            # imm = 0x630
leaq 0x1b3b5(%rip), %rsi     # 0xf1034
leaq 0x5633a(%rip), %rdx     # 0x12bfc0
movq %rbx, %rdi
movl $0x29b, %ecx            # imm = 0x29B
movq %r15, %r8
jmp 0xd5d0b
movq 0x508(%rbx), %rdi
movl 0x510(%rbx), %esi
leaq 0x53c(%rbx), %rdx
leaq 0x630(%rbx), %r14
movq %r14, (%rsp)
leaq 0x20(%rsp), %rcx
leaq 0x18(%rsp), %r8
leaq 0x10(%rsp), %r9
movapd %xmm1, %xmm0
callq 0x19cfd
cmpl $0x1, %eax
jne 0xd5d24
leaq 0x1b71a(%rip), %rsi     # 0xf13f0
leaq 0x562fd(%rip), %rdx     # 0x12bfda
leaq 0x820(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30c2c
leaq 0x1b33b(%rip), %rsi     # 0xf1034
leaq 0x562c0(%rip), %rdx     # 0x12bfc0
movq %r14, %rdi
movl $0x2a4, %ecx            # imm = 0x2A4
movq %rbx, %r8
xorl %eax, %eax
callq 0x30c2c
movl $0x1, %eax
addq $0x1020, %rsp           # imm = 0x1020
popq %rbx
popq %r14
popq %r15
retq
movslq 0x60c(%rbx), %rcx
testq %rcx, %rcx
jle 0xd5d7b
movq 0x5e8(%rbx), %rdx
movq 0x610(%rbx), %rsi
movslq 0x53c(%rbx), %rdi
xorl %eax, %eax
xorl %r8d, %r8d
movsd 0x18(%rsp), %xmm0
movq (%rdx,%r8,8), %r9
movsd 0x10(%rsp), %xmm1
mulsd 0x8(%r9,%rdi,8), %xmm1
mulsd (%r9,%rdi,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rsi,%r8,8)
incq %r8
cmpq %r8, %rcx
jne 0xd5d4a
jmp 0xd5d17
xorl %eax, %eax
jmp 0xd5d17
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/injection.c
// Function: injection_output_titles
int injection_output_titles(struct injection * pin, char titles[_MAXTITLESTRINGLENGTH_]){

  class_store_columntitle(titles,"Redshift z",_TRUE_);
  class_store_columntitle(titles,"Heat [-]",_TRUE_);
  class_store_columntitle(titles,"IonH [-]",_TRUE_);
  class_store_columntitle(titles,"IonHe [-]",_TRUE_);
  class_store_columntitle(titles,"Lya [-]",_TRUE_);

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x8180
movabsq $0x7466696873646552, %rcx # imm = 0x7466696873646552
movq %rcx, (%rbx,%rax)
movl $0x7a2074, 0x7(%rbx,%rax) # imm = 0x7A2074
movq %rbx, %rdi
callq 0x8180
movw $0x9, %bp
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movabsq $0x5d2d5b2074616548, %rcx # imm = 0x5D2D5B2074616548
movq %rcx, (%rbx,%rax)
xorl %r14d, %r14d
movb %r14b, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movabsq $0x5d2d5b20486e6f49, %rcx # imm = 0x5D2D5B20486E6F49
movq %rcx, (%rbx,%rax)
movb %r14b, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movabsq $0x2d5b2065486e6f49, %rcx # imm = 0x2D5B2065486E6F49
movq %rcx, (%rbx,%rax)
movw $0x5d, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movabsq $0x5d2d5b2061794c, %rcx # imm = 0x5D2D5B2061794C
movq %rcx, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8180
movw %bp, (%rbx,%rax)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/injection.c
// Function: injection_output_data
int injection_output_data(struct injection * pin,
                          int number_of_titles,
                          double * data){
  int storeidx;
  double * dataptr;
  int index_z;

  for (index_z=0; index_z<pin->z_size; index_z++) {
    dataptr = data + index_z*number_of_titles;
    storeidx = 0;
    class_store_double(dataptr, pin->z_table[index_z], _TRUE_, storeidx);
    class_store_double(dataptr, pin->deposition_table[pin->index_dep_heat][index_z], _TRUE_, storeidx);
    class_store_double(dataptr, pin->deposition_table[pin->index_dep_ionH][index_z], _TRUE_, storeidx);
    class_store_double(dataptr, pin->deposition_table[pin->index_dep_ionHe][index_z], _TRUE_, storeidx);
    class_store_double(dataptr, pin->deposition_table[pin->index_dep_lya][index_z], _TRUE_, storeidx);
  }

  return _SUCCESS_;
}

// Assembly:
movslq 0x450(%rdi), %rax
testq %rax, %rax
jle 0xd5ef0
movq 0x448(%rdi), %rcx
movq 0x528(%rdi), %r11
movslq 0x538(%rdi), %r8
movq (%r11,%r8,8), %r8
movslq 0x53c(%rdi), %r9
movq (%r11,%r9,8), %r9
movslq 0x540(%rdi), %r10
movq (%r11,%r10,8), %r10
movslq 0x544(%rdi), %rdi
movq (%r11,%rdi,8), %rdi
movslq %esi, %rsi
addq $0x20, %rdx
shlq $0x3, %rsi
xorl %r11d, %r11d
movsd (%rcx,%r11,8), %xmm0
movsd %xmm0, -0x20(%rdx)
movsd (%r8,%r11,8), %xmm0
movsd %xmm0, -0x18(%rdx)
movsd (%r9,%r11,8), %xmm0
movsd %xmm0, -0x10(%rdx)
movsd (%r10,%r11,8), %xmm0
movsd %xmm0, -0x8(%rdx)
movsd (%rdi,%r11,8), %xmm0
movsd %xmm0, (%rdx)
incq %r11
addq %rsi, %rdx
cmpq %r11, %rax
jne 0xd5eaf
xorl %eax, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/noninjection.c
// Function: noninjection_rate_acoustic_diss
int noninjection_rate_acoustic_diss(struct noninjection * pni,
                                    double z,
                                    double * energy_rate){

  /** Define local variables */
  int index_k;
  double dQrho_dz;
  double A_wkb;

  /** a) Calculate full function */
  // CURRENTLY NOT YET IMPLEMENTED

  /** b) Calculate approximated function */
  if (_TRUE_){

    A_wkb = 1./(1.+4./15.*pni->f_nu_wkb);

    /* Define integrand for approximated function */
    for (index_k=0; index_k<pni->k_size; index_k++) {
      pni->integrand_approx[index_k] = 4.*A_wkb*A_wkb*pow(pni->k[index_k],1.)*
                              pni->pk_primordial_k[index_k]*
                              exp(-2.*pow(pni->k[index_k]/pni->kD,2.))*
                              pni->dkD_dz;
    }

    class_call(array_trapezoidal_integral(pni->integrand_approx,
                                          pni->k_size,
                                          pni->k_weights,
                                          &dQrho_dz,
                                          pni->error_message),
               pni->error_message,
               pni->error_message);

  }

  *energy_rate = dQrho_dz*pni->H*pni->rho_g/pni->a;                                                 // [J/(m^3 s)]

  return _SUCCESS_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x820, %rsp            # imm = 0x820
movq %rsi, %rbx
movq %rdi, %r14
movl 0x10(%rdi), %esi
testl %esi, %esi
jle 0xd6ce8
movsd 0x78(%r14), %xmm0
mulsd 0x3e854(%rip), %xmm0    # 0x1154b0
movsd 0x1a5fc(%rip), %xmm1    # 0xf1260
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
movsd 0x1d7b4(%rip), %xmm0    # 0xf4428
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
xorl %r15d, %r15d
movq 0x18(%r14), %rax
movq 0x28(%r14), %rcx
movsd (%rax,%r15,8), %xmm0
movsd 0x8(%rsp), %xmm1
mulsd %xmm0, %xmm1
mulsd (%rcx,%r15,8), %xmm1
movsd %xmm1, 0x10(%rsp)
divsd 0x88(%r14), %xmm0
mulsd %xmm0, %xmm0
mulsd 0x1ba9a(%rip), %xmm0    # 0xf2758
callq 0x8670
mulsd 0x10(%rsp), %xmm0
mulsd 0x80(%r14), %xmm0
movq 0x30(%r14), %rax
movsd %xmm0, (%rax,%r15,8)
incq %r15
movslq 0x10(%r14), %rsi
cmpq %rsi, %r15
jl 0xd6c85
movq 0x20(%r14), %rdx
movq 0x30(%r14), %rdi
leaq 0x110(%r14), %r15
leaq 0x18(%rsp), %rcx
movq %r15, %r8
callq 0x1b465
cmpl $0x1, %eax
jne 0xd6d50
leaq 0x1a6e0(%rip), %rsi     # 0xf13f0
leaq 0x5621e(%rip), %rdx     # 0x12cf35
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x30c2c
leaq 0x1a304(%rip), %rsi     # 0xf1034
leaq 0x5626c(%rip), %rdx     # 0x12cfa3
movq %r15, %rdi
movl $0x16c, %ecx            # imm = 0x16C
movq %rbx, %r8
xorl %eax, %eax
callq 0x30c2c
movl $0x1, %eax
jmp 0xd6d77
movsd 0x18(%rsp), %xmm0
mulsd 0xc8(%r14), %xmm0
mulsd 0xd8(%r14), %xmm0
divsd 0xd0(%r14), %xmm0
movsd %xmm0, (%rbx)
xorl %eax, %eax
addq $0x820, %rsp            # imm = 0x820
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/noninjection.c
// Function: noninjection_free
int noninjection_free(struct noninjection* pni){

  free(pni->z_table);
  free(pni->photon_dep_table);

  free(pni->k);
  free(pni->k_weights);
  free(pni->pk_primordial_k);

  free(pni->z_table_coarse);
  free(pni->noninjection_table);
  free(pni->ddnoninjection_table);

  free(pni->integrand_approx);

  return _SUCCESS_;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x68(%rdi), %rdi
callq 0x8410
movq 0x108(%rbx), %rdi
callq 0x8410
movq 0x18(%rbx), %rdi
callq 0x8410
movq 0x20(%rbx), %rdi
callq 0x8410
movq 0x28(%rbx), %rdi
callq 0x8410
movq 0x38(%rbx), %rdi
callq 0x8410
movq 0x50(%rbx), %rdi
callq 0x8410
movq 0x58(%rbx), %rdi
callq 0x8410
movq 0x30(%rbx), %rdi
callq 0x8410
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/noninjection.c
// Function: noninjection_photon_heating_at_z
int noninjection_photon_heating_at_z(struct noninjection* pni,
                                     double z,
                                     double* heat){

  /** Define local variables */
  double h,a,b;

  class_call(array_spline_hunt(pni->z_table,
                               pni->z_size,
                               z,
                               &(pni->last_index_z),
                               &h,&a,&b,
                               pni->error_message),
           pni->error_message,
           pni->error_message);

  * heat = ( a*pni->photon_dep_table[pni->last_index_z] + b*pni->photon_dep_table[pni->last_index_z+1] );

  return _SUCCESS_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x820, %rsp            # imm = 0x820
movq %rsi, %r14
movq %rdi, %r15
movq 0x68(%rdi), %rdi
movl 0x60(%r15), %esi
leaq 0x70(%r15), %rdx
leaq 0x110(%r15), %rbx
movq %rbx, (%rsp)
leaq 0x18(%rsp), %rcx
leaq 0x10(%rsp), %r8
leaq 0x8(%rsp), %r9
callq 0x19cfd
cmpl $0x1, %eax
jne 0xd6e69
leaq 0x1a5c7(%rip), %rsi     # 0xf13f0
leaq 0x56080(%rip), %rdx     # 0x12ceb0
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30c2c
leaq 0x1a1eb(%rip), %rsi     # 0xf1034
leaq 0x560c4(%rip), %rdx     # 0x12cf14
movq %rbx, %rdi
movl $0x129, %ecx            # imm = 0x129
movq %r14, %r8
xorl %eax, %eax
callq 0x30c2c
movl $0x1, %eax
jmp 0xd6e96
movsd 0x10(%rsp), %xmm0
movq 0x108(%r15), %rax
movslq 0x70(%r15), %rcx
movsd 0x8(%rsp), %xmm1
mulsd 0x8(%rax,%rcx,8), %xmm1
mulsd (%rax,%rcx,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%r14)
xorl %eax, %eax
addq $0x820, %rsp            # imm = 0x820
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/heating/noninjection.c
// Function: noninjection_output_data
int noninjection_output_data(struct noninjection * pni,
                             int number_of_titles,
                             double * data){
  int storeidx;
  double * dataptr;
  int index_z;

  for (index_z=0; index_z<pni->z_size; index_z++) {
    dataptr = data + index_z*number_of_titles;
    storeidx = 0;
    class_store_double(dataptr, pni->z_table[index_z], _TRUE_, storeidx);
    class_store_double(dataptr, pni->photon_dep_table[index_z], _TRUE_, storeidx);
  }

  return _SUCCESS_;
}

// Assembly:
movslq 0x60(%rdi), %rax
testq %rax, %rax
jle 0xd6f49
movq 0x68(%rdi), %rcx
movq 0x108(%rdi), %rdi
movslq %esi, %rsi
addq $0x8, %rdx
shlq $0x3, %rsi
xorl %r8d, %r8d
movsd (%rcx,%r8,8), %xmm0
movsd %xmm0, -0x8(%rdx)
movsd (%rdi,%r8,8), %xmm0
movsd %xmm0, (%rdx)
incq %r8
addq %rsi, %rdx
cmpq %r8, %rax
jne 0xd6f29
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hyrectools.c
// Function: create_1D_array
double *create_1D_array(unsigned n1, int *error, char error_message[SIZE_ErrorM]){

  double *matrix = (double *) calloc(n1, sizeof(double));
  char sub_message[128];
  if (*error == 1) return matrix;
   
  if (matrix == NULL) {
    sprintf(sub_message, "unable to allocate memory in create_1D_array \n");
    strcat(error_message, sub_message);
    *error = 1;
  }
  return matrix;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %edi
movl $0x8, %esi
callq 0x8250
movq %rax, %r15
testq %rax, %rax
jne 0xd6fba
cmpl $0x1, (%rbx)
je 0xd6fba
movups 0x5606f(%rip), %xmm0    # 0x12cfff
movq %rsp, %rsi
movups %xmm0, 0x1f(%rsi)
movaps 0x56052(%rip), %xmm0    # 0x12cff0
movaps %xmm0, 0x10(%rsi)
movaps 0x56037(%rip), %xmm0    # 0x12cfe0
movaps %xmm0, (%rsi)
movq %r14, %rdi
callq 0x8660
movl $0x1, (%rbx)
movq %r15, %rax
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hyrectools.c
// Function: create_2D_array
double **create_2D_array(unsigned n1, unsigned n2, int *error, char error_message[SIZE_ErrorM]){
  
  unsigned i;
  double **matrix = (double **) calloc(n1, sizeof(double *));
  char sub_message[128];
  if (*error == 1) return matrix;
   
  if (matrix == NULL){
    sprintf(sub_message, "unable to allocate memory in create_2D_array \n");
    strcat(error_message, sub_message);
    *error = 1;
  }
  for (i = 0; i < n1; i++)  matrix[i] = create_1D_array(n2, error, error_message);
   
  return matrix;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %ebp
movl %edi, %r13d
movl %edi, %r15d
movl $0x8, %esi
movq %r15, %rdi
callq 0x8250
movq %rax, %r12
cmpl $0x1, (%r14)
je 0xd7057
testq %r12, %r12
jne 0xd7036
movups 0x56024(%rip), %xmm0    # 0x12d02f
movq %rsp, %rsi
movups %xmm0, 0x1f(%rsi)
movaps 0x56007(%rip), %xmm0    # 0x12d020
movaps %xmm0, 0x10(%rsi)
movaps 0x55fec(%rip), %xmm0    # 0x12d010
movaps %xmm0, (%rsi)
movq %rbx, %rdi
callq 0x8660
movl $0x1, (%r14)
testl %r13d, %r13d
je 0xd7057
xorl %r13d, %r13d
movl %ebp, %edi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xd6f5e
movq %rax, (%r12,%r13,8)
incq %r13
cmpq %r13, %r15
jne 0xd703e
movq %r12, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hyrectools.c
// Function: create_3D_array
double ***create_3D_array(unsigned n1, unsigned n2, unsigned n3, int *error, char error_message[SIZE_ErrorM]){

  unsigned i;
  double ***matrix = (double ***) calloc(n1, sizeof(double **));
  char sub_message[128];
  if (*error == 1) return matrix;

  if (matrix == NULL) {
    sprintf(sub_message, "unable to allocate memory in create_3D_array \n");
    strcat(error_message, sub_message);
    *error = 1;
  }
  for (i = 0; i < n1; i++)  matrix[i] = create_2D_array(n2, n3, error, error_message);
         
  return matrix;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r8, %rbp
movq %rcx, %r15
movl %edx, %ebx
movl %esi, %r14d
movl %edi, 0x4(%rsp)
movl %edi, %r12d
movl $0x8, %esi
movq %r12, %rdi
callq 0x8250
movq %rax, %r13
cmpl $0x1, (%r15)
je 0xd7143
testq %r13, %r13
movq %r15, 0x8(%rsp)
jne 0xd7117
movups 0x55f79(%rip), %xmm0    # 0x12d05f
leaq 0x10(%rsp), %rsi
movups %xmm0, 0x1f(%rsi)
movaps 0x55f5a(%rip), %xmm0    # 0x12d050
movaps %xmm0, 0x10(%rsi)
movaps 0x55f3f(%rip), %xmm0    # 0x12d040
movaps %xmm0, (%rsi)
movq %rbp, %rdi
callq 0x8660
movq 0x8(%rsp), %rax
movl $0x1, (%rax)
cmpl $0x0, 0x4(%rsp)
je 0xd7143
movl %ebx, %r15d
xorl %ebx, %ebx
movl %r14d, %edi
movl %r15d, %esi
movq 0x8(%rsp), %rdx
movq %rbp, %rcx
callq 0xd6fca
movq %rax, (%r13,%rbx,8)
incq %rbx
cmpq %rbx, %r12
jne 0xd7123
movq %r13, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hyrectools.c
// Function: rec_interp1d
double rec_interp1d(double x0, double dx, double *ytab, unsigned int Nx, double x, int *error, char error_message[SIZE_ErrorM]) {

  long ix;
  double frac;
  char sub_message[128];
  if (*error == 1) return 0.;

  /* Check if in range */
  if (dx > 0 && (x<x0 || x>x0+dx*(Nx-1))) {
    sprintf(sub_message,"x-value out of range in interpolation in rec_interp1d.\n");
    strcat(error_message, sub_message);
    *error = 1;
    return 0.;
  }
  if (dx < 0 && (x>x0 || x<x0+dx*(Nx-1))) {
    sprintf(sub_message,"x-value out of range in interpolation in rec_interp1d.\n"); 
    strcat(error_message, sub_message);
    *error = 1;
    return 0.;
  }

  /* Identify location to interpolate */
  ix = (long)floor((x-x0)/dx);
  if (ix<1) ix=1; 
  if (ix>Nx-3) ix=Nx-3;
  frac = (x-x0)/dx-ix;
  ytab += ix-1;

  /* Return value */
  return(
    -ytab[0]*frac*(1.-frac)*(2.-frac)/6.
    +ytab[1]*(1.+frac)*(1.-frac)*(2.-frac)/2.
    +ytab[2]*(1.+frac)*frac*(2.-frac)/2.
    -ytab[3]*(1.+frac)*frac*(1.-frac)/6.
  );
}

// Assembly:
xorpd %xmm7, %xmm7
cmpl $0x1, (%rdx)
je 0xd7421
pushq %r15
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
xorpd %xmm4, %xmm4
ucomisd %xmm4, %xmm1
jbe 0xd72c6
ucomisd %xmm2, %xmm0
ja 0xd72ec
leal -0x1(%r15), %eax
cvtsi2sd %rax, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
ucomisd %xmm3, %xmm2
ja 0xd72ec
ucomisd %xmm1, %xmm4
jbe 0xd7339
ucomisd %xmm0, %xmm2
ja 0xd72ec
leal -0x1(%r15), %eax
xorps %xmm3, %xmm3
cvtsi2sd %rax, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
ucomisd %xmm2, %xmm3
jbe 0xd7339
movups 0x55dd5(%rip), %xmm0    # 0x12d0c8
leaq 0x10(%rsp), %rsi
movaps %xmm0, 0x20(%rsi)
movups 0x55db5(%rip), %xmm0    # 0x12d0b8
movaps %xmm0, 0x10(%rsi)
movupd 0x55d99(%rip), %xmm0    # 0x12d0a8
movapd %xmm0, (%rsi)
movabsq $0xa2e6431707265, %rax  # imm = 0xA2E6431707265
movq %rax, 0x30(%rsi)
movq %rcx, %rdi
callq 0x8660
movl $0x1, (%r14)
xorpd %xmm7, %xmm7
jmp 0xd7415
subsd %xmm0, %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsp)
movapd %xmm2, %xmm0
callq 0x85e0
cvttsd2si %xmm0, %rcx
cmpq $0x2, %rcx
movl $0x1, %eax
cmovgeq %rcx, %rax
addl $-0x3, %r15d
cmpq %r15, %rax
cmovgeq %r15, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movsd 0x8(%rsp), %xmm5
subsd %xmm0, %xmm5
movsd -0x8(%rbx,%rax,8), %xmm2
mulsd %xmm5, %xmm2
movsd 0x19ecf(%rip), %xmm0    # 0xf1260
movapd %xmm0, %xmm1
subsd %xmm5, %xmm1
mulsd %xmm1, %xmm2
movsd 0x1a95b(%rip), %xmm4    # 0xf1d00
subsd %xmm5, %xmm4
mulsd %xmm4, %xmm2
movsd 0x1b2bb(%rip), %xmm3    # 0xf2670
divsd %xmm3, %xmm2
addsd %xmm5, %xmm0
movapd %xmm5, %xmm8
movsd (%rbx,%rax,8), %xmm5
mulsd %xmm0, %xmm5
mulsd %xmm1, %xmm5
mulsd %xmm4, %xmm5
movsd 0x1a8f5(%rip), %xmm6    # 0xf1cd0
mulsd %xmm6, %xmm5
subsd %xmm2, %xmm5
movsd 0x8(%rbx,%rax,8), %xmm7
mulsd %xmm0, %xmm7
mulsd %xmm8, %xmm7
mulsd %xmm4, %xmm7
mulsd %xmm6, %xmm7
addsd %xmm5, %xmm7
mulsd 0x10(%rbx,%rax,8), %xmm0
mulsd %xmm8, %xmm0
mulsd %xmm1, %xmm0
divsd %xmm3, %xmm0
subsd %xmm0, %xmm7
addq $0x90, %rsp
popq %rbx
popq %r14
popq %r15
movapd %xmm7, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/helium.c
// Function: rec_xesaha_HeII_III
double rec_xesaha_HeII_III(REC_COSMOPARAMS *cosmo, double z, double *xHeIII) {

  double Tr, nH, ainv, s;
  double nH0 = cosmo->nH0, Tr0 = cosmo->T0, fHe = cosmo->fHe;
  double fsR = cosmo->fsR, meR = cosmo->meR;
  /* Current conditions */
  Tr = Tr0*(ainv=1+z) /fsR/fsR/meR; /* Rescaled for different alpha, me */
  nH = nH0*ainv*ainv*ainv;

  /* Obtain Saha ratio, xe*xHeIII/xHeII
   * prefactor = (2*pi*m*k/h^2)^1.5. Includes dependence on fine-structure constant and electron mass*/

  s = fsR*fsR*fsR*meR*meR*meR* 2.414194e15*Tr*sqrt(Tr)*exp(-631462.7/Tr)/nH;

  *xHeIII = 2.*s*fHe/(1.+s+fHe)/(1.+sqrt(1.+4.*s*fHe/(1.+s+fHe)/(1.+s+fHe)));

  return(1. + fHe + *xHeIII);
}

// Assembly:
pushq %rbx
subq $0x60, %rsp
movq %rsi, %rbx
movapd %xmm0, %xmm2
movsd 0x80(%rdi), %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x88(%rdi), %xmm0
movaps %xmm0, 0x40(%rsp)
movsd 0x98(%rdi), %xmm0
movsd 0xa0(%rdi), %xmm1
addsd 0x199f1(%rip), %xmm2    # 0xf1260
movsd 0x8(%rdi), %xmm3
movapd %xmm2, 0x50(%rsp)
mulsd %xmm2, %xmm3
divsd %xmm0, %xmm3
divsd %xmm0, %xmm3
movapd %xmm0, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd 0x558da(%rip), %xmm2    # 0x12d180
movapd %xmm2, 0x30(%rsp)
divsd %xmm1, %xmm3
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
movapd %xmm3, 0x10(%rsp)
jb 0xd78c9
xorps %xmm0, %xmm0
sqrtsd %xmm3, %xmm0
jmp 0xd78d8
movapd %xmm3, %xmm0
callq 0x82b0
movapd 0x10(%rsp), %xmm3
movapd %xmm0, 0x20(%rsp)
movsd 0x558a2(%rip), %xmm0    # 0x12d188
divsd %xmm3, %xmm0
callq 0x8670
movapd 0x50(%rsp), %xmm1
movapd 0x30(%rsp), %xmm2
unpcklpd %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
movapd 0x10(%rsp), %xmm3
unpcklpd 0x40(%rsp), %xmm3       # xmm3 = xmm3[0],mem[0]
mulpd %xmm2, %xmm3
movapd 0x20(%rsp), %xmm2
unpcklpd %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
mulpd %xmm3, %xmm2
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
mulpd %xmm2, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
divsd %xmm1, %xmm0
movapd %xmm0, %xmm3
addsd %xmm0, %xmm3
movsd 0x8(%rsp), %xmm2
mulsd %xmm2, %xmm3
movsd 0x19915(%rip), %xmm4    # 0xf1260
movapd %xmm0, %xmm1
addsd %xmm4, %xmm1
addsd %xmm2, %xmm1
divsd %xmm1, %xmm3
mulsd 0x1cac5(%rip), %xmm0    # 0xf4428
mulsd %xmm2, %xmm0
divsd %xmm1, %xmm0
divsd %xmm1, %xmm0
addsd %xmm4, %xmm0
ucomisd 0x198dd(%rip), %xmm0    # 0xf1258
jb 0xd7983
sqrtsd %xmm0, %xmm0
jmp 0xd799c
movapd %xmm3, 0x10(%rsp)
callq 0x82b0
movsd 0x198ca(%rip), %xmm4    # 0xf1260
movapd 0x10(%rsp), %xmm3
addsd %xmm4, %xmm0
divsd %xmm0, %xmm3
movsd %xmm3, (%rbx)
movsd 0x8(%rsp), %xmm0
addsd %xmm4, %xmm0
addsd %xmm3, %xmm0
addq $0x60, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/helium.c
// Function: rec_saha_xHeII
double rec_saha_xHeII(REC_COSMOPARAMS *cosmo, double z) {

  double Tr, nH, ainv, s;
  double nH0 = cosmo->nH0, Tr0 = cosmo->T0, fHe = cosmo->fHe;
  double fsR = cosmo->fsR, meR = cosmo->meR;

  /* Current conditions */
  Tr = Tr0*(ainv=1+z) /fsR/fsR/meR; /* Rescaled for different alpha, me */
  nH = nH0*ainv*ainv*ainv;

  /* Obtain Saha ratio, xe*xHeII/xHeI. prefactor = (2*pi*m*k/h^2)^1.5 */
  s = fsR*fsR*fsR*meR*meR*meR *2.414194e15*Tr*sqrt(Tr)*exp(-285325./Tr)/nH * 4.;

  return 2.*s*fHe/(1.+s)/(1.+sqrt(1.+4.*s*fHe/(1.+s)/(1.+s)));

}

// Assembly:
subq $0x68, %rsp
movapd %xmm0, %xmm2
movsd 0x80(%rdi), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd 0x88(%rdi), %xmm0
movaps %xmm0, 0x40(%rsp)
movsd 0x98(%rdi), %xmm0
movsd 0xa0(%rdi), %xmm1
addsd 0x19869(%rip), %xmm2    # 0xf1260
movsd 0x8(%rdi), %xmm3
movapd %xmm2, 0x50(%rsp)
mulsd %xmm2, %xmm3
divsd %xmm0, %xmm3
divsd %xmm0, %xmm3
movapd %xmm0, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd 0x55752(%rip), %xmm2    # 0x12d180
movapd %xmm2, 0x30(%rsp)
divsd %xmm1, %xmm3
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
movapd %xmm3, (%rsp)
jb 0xd7a50
xorps %xmm0, %xmm0
sqrtsd %xmm3, %xmm0
jmp 0xd7a5e
movapd %xmm3, %xmm0
callq 0x82b0
movapd (%rsp), %xmm3
movapd %xmm0, 0x20(%rsp)
movsd 0x55724(%rip), %xmm0    # 0x12d190
divsd %xmm3, %xmm0
callq 0x8670
movapd 0x50(%rsp), %xmm1
movapd 0x30(%rsp), %xmm2
unpcklpd %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
movapd (%rsp), %xmm3
unpcklpd 0x40(%rsp), %xmm3       # xmm3 = xmm3[0],mem[0]
mulpd %xmm2, %xmm3
movapd 0x20(%rsp), %xmm2
unpcklpd %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
mulpd %xmm3, %xmm2
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
mulpd %xmm2, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
divsd %xmm1, %xmm0
movsd 0x1c96a(%rip), %xmm1    # 0xf4428
mulsd %xmm1, %xmm0
movapd %xmm0, %xmm5
addsd %xmm0, %xmm5
movsd 0x18(%rsp), %xmm4
mulsd %xmm4, %xmm5
movsd 0x19784(%rip), %xmm2    # 0xf1260
movapd %xmm0, %xmm3
addsd %xmm2, %xmm3
divsd %xmm3, %xmm5
mulsd %xmm1, %xmm0
mulsd %xmm4, %xmm0
divsd %xmm3, %xmm0
divsd %xmm3, %xmm0
addsd %xmm2, %xmm0
ucomisd 0x19754(%rip), %xmm0    # 0xf1258
jb 0xd7b0c
sqrtsd %xmm0, %xmm0
jmp 0xd7b1b
movapd %xmm5, (%rsp)
callq 0x82b0
movapd (%rsp), %xmm5
addsd 0x1973d(%rip), %xmm0    # 0xf1260
divsd %xmm0, %xmm5
movapd %xmm5, %xmm0
addq $0x68, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hydrogen.c
// Function: free_atomic
void free_atomic(HYREC_ATOMIC *atomic){
  free_2D_array(atomic->logAlpha_tab[0], NTM);
  free_2D_array(atomic->logAlpha_tab[1], NTM);
  free_2D_array(atomic->logAlpha_tab[2], NTM);
  free_2D_array(atomic->logAlpha_tab[3], NTM);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x460(%rdi), %rdi
movl $0x28, %esi
callq 0xd706c
movq 0x468(%rbx), %rdi
movl $0x28, %esi
callq 0xd706c
movq 0x470(%rbx), %rdi
movl $0x28, %esi
callq 0xd706c
movq 0x478(%rbx), %rdi
movl $0x28, %esi
popq %rbx
jmp 0xd706c
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hydrogen.c
// Function: solveTXeqB
void solveTXeqB(double *diag, double *updiag, double *dndiag, double *X, double *B,
                unsigned N, int *error, char error_message[SIZE_ErrorM]){
  int i;
  double denom;
  double *alpha = create_1D_array(N, error, error_message);
  double *gamma = create_1D_array(N, error, error_message);  /* X[i] = gamma[i] - alpha[i] * X[i+1] */

  alpha[0] = updiag[0] / diag[0];
  gamma[0] = B[0] / diag[0];

  for (i = 1; i < N; i++) {
    denom = diag[i] - dndiag[i] * alpha[i-1];
    alpha[i] = updiag[i] / denom;
    gamma[i] = (B[i] - dndiag[i] * gamma[i-1]) / denom;
  }

  X[N-1] = gamma[N-1];
  for (i = N-2; i >= 0; i--) X[i] = gamma[i] - alpha[i] * X[i+1];

  free(alpha);
  free(gamma);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %r15d
movq %r8, %r13
movq %rcx, 0x10(%rsp)
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %rbx
movq 0x50(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq 0x58(%rsp), %rdx
movq %rdx, (%rsp)
movl %r9d, %edi
callq 0xd6f5e
movq %rax, %r14
movl %r15d, %edi
movq 0x8(%rsp), %rsi
movq (%rsp), %rdx
callq 0xd6f5e
movq %r15, %rdx
movq %rax, %r15
movsd (%r12), %xmm0
divsd (%rbx), %xmm0
movsd %xmm0, (%r14)
movsd (%r13), %xmm0
divsd (%rbx), %xmm0
movsd %xmm0, (%rax)
cmpl $0x2, %edx
jb 0xdad9f
movl %edx, %eax
leaq -0x8(,%rax,8), %rax
xorl %ecx, %ecx
movsd 0x8(%rbx,%rcx), %xmm0
movsd 0x8(%rbp,%rcx), %xmm1
mulsd (%r14,%rcx), %xmm1
subsd %xmm1, %xmm0
movsd 0x8(%r12,%rcx), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r14,%rcx)
movsd 0x8(%r13,%rcx), %xmm1
movsd 0x8(%rbp,%rcx), %xmm2
mulsd (%r15,%rcx), %xmm2
subsd %xmm2, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%r15,%rcx)
addq $0x8, %rcx
cmpq %rcx, %rax
jne 0xdad4c
leal -0x1(%rdx), %eax
movsd (%r15,%rax,8), %xmm0
movq 0x10(%rsp), %rcx
movsd %xmm0, (%rcx,%rax,8)
addl $-0x2, %edx
js 0xdade3
movl %edx, %eax
movsd 0x8(%rcx,%rax,8), %xmm0
incq %rax
movsd -0x8(%r15,%rax,8), %xmm1
mulsd -0x8(%r14,%rax,8), %xmm0
subsd %xmm0, %xmm1
movsd %xmm1, -0x8(%rcx,%rax,8)
movapd %xmm1, %xmm0
decq %rax
jg 0xdadc2
movq %r14, %rdi
callq 0x8410
movq %r15, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8410
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/hydrogen.c
// Function: interp_Dfnu
double interp_Dfnu(double lna_start, double dlna, double *ytab, unsigned int iz, double lna){
  long ind;
  double frac;

  /* If iz = 0 or 1, radiation field at earlier times is still thermal.
     Also thermal if iz > 1 and lna < lna_start. */
  if (iz == 0 || iz == 1 || lna < lna_start) return 0.;

  /* Check if in range */
  if (lna >= lna_start + dlna*(iz-1)) {
    fprintf(stderr, "Error in interp_Dfnu: lna-value out of range in interpolation routine\n");
    fprintf(stderr, "The time-step used is probably too large\n");
    exit(1);
  }

  /* If iz >= 2, do a linear interpolation so the spectrum is always positive */
  ind  = (long) floor((lna-lna_start)/dlna);
  frac = (lna-lna_start)/dlna - ind;

  return (1.-frac)*ytab[ind] + frac*ytab[ind+1];

}

// Assembly:
pushq %rbx
subq $0x10, %rsp
cmpl $0x2, %esi
jb 0xdb1b2
ucomisd %xmm2, %xmm0
ja 0xdb1b2
decl %esi
cvtsi2sd %rsi, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
ucomisd %xmm3, %xmm2
jae 0xdb1bc
movq %rdi, %rbx
subsd %xmm0, %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsp)
movapd %xmm2, %xmm0
callq 0x85e0
cvttsd2si %xmm0, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd 0x160c3(%rip), %xmm0    # 0xf1260
subsd %xmm1, %xmm0
mulsd 0x8(%rbx,%rax,8), %xmm1
mulsd (%rbx,%rax,8), %xmm0
addsd %xmm1, %xmm0
jmp 0xdb1b6
xorpd %xmm0, %xmm0
addq $0x10, %rsp
popq %rbx
retq
callq 0x99b3
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/history.c
// Function: rec_Tmss
double rec_Tmss(double z, double xe, REC_COSMOPARAMS *cosmo, double dEdtdV, double H) {

  double fsR = cosmo->fsR;
  double meR = cosmo->meR;
  double Tr  = cosmo->T0 *(1.+z);
  double nH  = cosmo->nH0 *cube(1.+z);

  /* Coefficient = 8 sigma_T a_r / (3 m_e c) */
  /* Here Tr, Tm are the actual (not rescaled) temperatures */
  double coeff  = fsR*fsR/meR/meR/meR*4.91466895548409e-22*Tr*Tr*Tr*Tr*xe/(1.+xe+cosmo->fHe)/H;
  double Tm = Tr/(1.+1./coeff)
              + (1.+2.*xe)/3.*dEdtdV/kBoltz /(1.5 *nH*(1.+xe+cosmo->fHe))/H /(1.+coeff);

  return Tm;
}

// Assembly:
pushq %rbx
subq $0x40, %rsp
movsd %xmm3, 0x30(%rsp)
movsd %xmm2, 0x38(%rsp)
movq %rdi, %rbx
movsd %xmm1, 0x28(%rsp)
movsd 0x88(%rdi), %xmm1
movsd %xmm1, 0x20(%rsp)
movsd 0x98(%rdi), %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0xa0(%rdi), %xmm1
movsd %xmm1, 0x10(%rsp)
addsd 0x14410(%rip), %xmm0    # 0xf1260
movsd 0x8(%rdi), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
callq 0xd6f51
movsd 0x8(%rsp), %xmm5
mulsd %xmm5, %xmm5
movsd 0x10(%rsp), %xmm1
divsd %xmm1, %xmm5
divsd %xmm1, %xmm5
divsd %xmm1, %xmm5
mulsd 0x50908(%rip), %xmm5    # 0x12d790
mulsd 0x20(%rsp), %xmm0
movsd 0x18(%rsp), %xmm6
mulsd %xmm6, %xmm5
mulsd %xmm6, %xmm5
mulsd %xmm6, %xmm5
mulsd %xmm6, %xmm5
movsd 0x28(%rsp), %xmm3
mulsd %xmm3, %xmm5
movapd %xmm3, %xmm1
movsd 0x143a6(%rip), %xmm7    # 0xf1260
addsd %xmm7, %xmm1
addsd 0x80(%rbx), %xmm1
divsd %xmm1, %xmm5
movsd 0x30(%rsp), %xmm4
divsd %xmm4, %xmm5
movapd %xmm7, %xmm2
divsd %xmm5, %xmm2
addsd %xmm7, %xmm2
addsd %xmm3, %xmm3
addsd %xmm7, %xmm3
divsd 0x15790(%rip), %xmm3    # 0xf2680
mulsd 0x38(%rsp), %xmm3
divsd 0x5043a(%rip), %xmm3    # 0x12d338
mulsd 0x170b2(%rip), %xmm0    # 0xf3fb8
divsd %xmm2, %xmm6
mulsd %xmm1, %xmm0
divsd %xmm0, %xmm3
divsd %xmm4, %xmm3
addsd %xmm7, %xmm5
divsd %xmm5, %xmm3
addsd %xmm6, %xmm3
movapd %xmm3, %xmm0
addq $0x40, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/PoulinV[P]AxiCLASS/build/../external/HyRec2020/history.c
// Function: rec_dTmdlna
double rec_dTmdlna(double z, double xe, double Tm, REC_COSMOPARAMS *cosmo, double dEdtdV, double H) {
  double fsR = cosmo->fsR;
  double meR = cosmo->meR;
  double Tr  = cosmo->T0 *(1.+z);
  double nH  = cosmo->nH0 *cube(1.+z);
  return ( (Tr/Tm-1.<1e-10  && Tr > 3000.)  ? -Tr :
          -2.*Tm + fsR*fsR/meR/meR/meR*4.91466895548409e-22*Tr*Tr*Tr*Tr*xe/(1.+xe+cosmo->fHe)*(Tr-Tm)/H
          + (1.+2.*xe)/3. *dEdtdV /kBoltz /(1.5 *nH*(1.+xe+cosmo->fHe))/H);
   /* Coefficient = 8 sigma_T a_r / (3 m_e c) */
   /* Here Tr, Tm are the actual (not rescaled) temperatures */
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
movsd %xmm4, 0x28(%rsp)
movsd %xmm3, 0x18(%rsp)
movq %rdi, %rbx
movsd %xmm2, 0x38(%rsp)
movsd %xmm1, 0x30(%rsp)
movsd 0x88(%rdi), %xmm1
movsd %xmm1, 0x20(%rsp)
movsd 0x98(%rdi), %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0xa0(%rdi), %xmm1
movsd %xmm1, 0x8(%rsp)
addsd 0x142e2(%rip), %xmm0    # 0xf1260
movsd 0x8(%rdi), %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, 0x40(%rsp)
callq 0xd6f51
movsd 0x38(%rsp), %xmm6
movapd 0x40(%rsp), %xmm4
movapd %xmm4, %xmm1
divsd %xmm6, %xmm1
addsd 0x1483a(%rip), %xmm1    # 0xf17e8
movsd 0x18c92(%rip), %xmm2    # 0xf5c48
ucomisd %xmm1, %xmm2
jbe 0xdcfd7
ucomisd 0x507d4(%rip), %xmm4    # 0x12d798
jbe 0xdcfd7
xorpd 0x14262(%rip), %xmm4    # 0xf1230
movapd %xmm4, %xmm0
jmp 0xdd08b
movsd 0x20(%rsp), %xmm5
mulsd %xmm0, %xmm5
movsd 0x10(%rsp), %xmm3
mulsd %xmm3, %xmm3
movsd 0x8(%rsp), %xmm0
divsd %xmm0, %xmm3
divsd %xmm0, %xmm3
divsd %xmm0, %xmm3
mulsd 0x5078b(%rip), %xmm3    # 0x12d790
mulsd %xmm4, %xmm3
mulsd %xmm4, %xmm3
mulsd %xmm4, %xmm3
mulsd %xmm4, %xmm3
movsd 0x14243(%rip), %xmm2    # 0xf1260
movsd 0x30(%rsp), %xmm0
movapd %xmm0, %xmm1
addsd %xmm2, %xmm1
addsd 0x80(%rbx), %xmm1
mulsd %xmm0, %xmm3
divsd %xmm1, %xmm3
subsd %xmm6, %xmm4
mulsd %xmm3, %xmm4
movsd 0x28(%rsp), %xmm3
divsd %xmm3, %xmm4
addsd %xmm6, %xmm6
subsd %xmm6, %xmm4
addsd %xmm0, %xmm0
addsd %xmm2, %xmm0
divsd 0x1561b(%rip), %xmm0    # 0xf2680
mulsd 0x18(%rsp), %xmm0
divsd 0x502c5(%rip), %xmm0    # 0x12d338
mulsd 0x16f3d(%rip), %xmm5    # 0xf3fb8
mulsd %xmm1, %xmm5
divsd %xmm5, %xmm0
divsd %xmm3, %xmm0
addsd %xmm4, %xmm0
addq $0x50, %rsp
popq %rbx
retq