LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/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 0x8190
movups 0x58da2(%rip), %xmm0    # 0x11ee69
movups %xmm0, (%rbx,%rax)
movups 0x58da1(%rip), %xmm0    # 0x11ee73
movups %xmm0, 0xa(%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movw $0x9, %bp
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movups 0x58d8d(%rip), %xmm0    # 0x11ee83
movups %xmm0, (%rbx,%rax)
movl $0x5d7a48, 0xf(%rbx,%rax) # imm = 0x5D7A48
movq %rbx, %rdi
callq 0x8190
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movl $0x745f4453, (%rbx,%rax) # imm = 0x745F4453
movl $0x746f74, 0x3(%rbx,%rax) # imm = 0x746F74
movq %rbx, %rdi
callq 0x8190
movw %bp, (%rbx,%rax)
movq %rsp, %r15
leaq 0x58d75(%rip), %r12     # 0x11eeb0
xorl %ebp, %ebp
cmpl 0xbf0(%r14), %ebp
jge 0xc61e4
cmpl 0xbe0(%r14), %ebp
jne 0xc6161
movw $0x5d, 0x4(%rsp)
movl $0x675b4453, (%rsp)     # imm = 0x675B4453
cmpl 0xbe8(%r14), %ebp
jne 0xc6178
movw $0x5d, 0x4(%rsp)
movl $0x795b4453, (%rsp)     # imm = 0x795B4453
cmpl 0xbe4(%r14), %ebp
jne 0xc6190
movl $0x5d756d, 0x3(%rsp)    # imm = 0x5D756D
movl $0x6d5b4453, (%rsp)     # imm = 0x6D5B4453
movl %ebp, %ecx
subl 0xbec(%r14), %ecx
jl 0xc61c4
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
xorl %eax, %eax
callq 0x8580
incl %eax
movslq %eax, %rsi
movl %ebp, %ecx
subl 0xbec(%r14), %ecx
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x8580
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8690
movq %rbx, %rdi
callq 0x8190
movw $0x9, (%rbx,%rax)
incl %ebp
jmp 0xc613d
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_O2/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:
pushq %rbx
movslq 0x368(%rdi), %rax
movslq %esi, %rcx
leaq 0x18(%rdx), %rsi
leaq (,%rcx,8), %r8
xorl %r9d, %r9d
movsd 0x56c38(%rip), %xmm0    # 0x11ce50
cmpq %rax, %r9
jge 0xc62ac
movq %r9, %r10
imulq %rcx, %r10
movq 0x370(%rdi), %r11
movsd (%r11,%r9,8), %xmm1
movsd %xmm1, (%rdx,%r10,8)
mulsd 0x380(%rdi), %xmm1
movsd %xmm1, 0x8(%rdx,%r10,8)
movq 0xc10(%rdi), %r11
movsd (%r11,%r9,8), %xmm1
mulsd %xmm0, %xmm1
mulsd 0x388(%rdi), %xmm1
movsd %xmm1, 0x10(%rdx,%r10,8)
movslq 0xbf0(%rdi), %r10
xorl %r11d, %r11d
cmpq %r10, %r11
jge 0xc62a1
movq 0xbd8(%rdi), %rbx
movq (%rbx,%r11,8), %rbx
movsd (%rbx,%r9,8), %xmm1
mulsd %xmm0, %xmm1
mulsd 0x388(%rdi), %xmm1
movsd %xmm1, (%rsi,%r11,8)
incq %r11
jmp 0xc6274
incq %r9
addq %r8, %rsi
jmp 0xc6218
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xc7c31
jnp 0xc7c3b
movl $0x1, 0x61c(%rdi)
movsd 0x110(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jne 0xc7c4b
jnp 0xc7c55
movl $0x1, 0x620(%rdi)
movsd 0x120(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jne 0xc7c65
jnp 0xc7c6f
movl $0x1, 0x624(%rdi)
movsd 0x130(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jne 0xc7c7f
jnp 0xc7c89
movl $0x1, 0x628(%rdi)
cmpl $0x0, 0x61c(%rdi)
je 0xc7c9e
andl $0x0, 0x598(%rdi)
pushq $0x1
popq %rax
jmp 0xc7ca0
xorl %eax, %eax
cmpl $0x0, 0x620(%rdi)
je 0xc7cb1
movl %eax, 0x59c(%rdi)
incl %eax
cmpl $0x0, 0x624(%rdi)
je 0xc7cc2
movl %eax, 0x5a0(%rdi)
incl %eax
cmpl $0x0, 0x628(%rdi)
je 0xc7cd3
movl %eax, 0x5a4(%rdi)
incl %eax
movl %eax, 0x5a8(%rdi)
incl %eax
movl %eax, 0x5ac(%rdi)
movaps 0x39d48(%rip), %xmm0    # 0x101a30
movups %xmm0, 0x5f8(%rdi)
movabsq $0x500000004, %rax      # imm = 0x500000004
movq %rax, 0x608(%rdi)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x8430
xorl %r14d, %r14d
movslq 0x5ac(%rbx), %rax
movq 0x588(%rbx), %rdi
cmpq %rax, %r14
jge 0xc904f
movq (%rdi,%r14,8), %rdi
callq 0x8430
incq %r14
jmp 0xc902e
callq 0x8430
cmpl $0x1, 0x624(%rbx)
jne 0xc9099
movq 0x558(%rbx), %rdi
callq 0x8430
movq 0x560(%rbx), %rdi
callq 0x8430
movq 0x568(%rbx), %rdi
callq 0x8430
movq 0x570(%rbx), %rdi
callq 0x8430
movq 0x578(%rbx), %rdi
callq 0x8430
cmpl $0x1, 0x160(%rbx)
jne 0xc90ae
movq 0x5c0(%rbx), %rdi
callq 0x8430
movl 0x264(%rbx), %eax
cmpl $0x6, %eax
jne 0xc90cb
movq 0x5c8(%rbx), %rdi
callq 0x8430
movl 0x264(%rbx), %eax
cmpl $0x5, %eax
je 0xc90d5
cmpl $0x2, %eax
jne 0xc90e1
movq 0x5d8(%rbx), %rdi
callq 0x8430
movq 0x5f0(%rbx), %rdi
callq 0x8430
xorl %r14d, %r14d
movslq 0x60c(%rbx), %rax
movq 0x5e8(%rbx), %rdi
cmpq %rax, %r14
jge 0xc9111
movq (%rdi,%r14,8), %rdi
callq 0x8430
incq %r14
jmp 0xc90f0
callq 0x8430
movq 0x610(%rbx), %rdi
callq 0x8430
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x1b0b7(%rip), %xmm0    # 0xe5230
mulsd 0x3f8(%rdi), %xmm0
callq 0x86a0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xcac15
leaq 0x55285(%rip), %rsi     # 0x11fe46
leaq 0x820(%rsp), %r14
movq %r14, %rdi
movb $0x2, %al
callq 0x2e014
leaq 0x1a4a8(%rip), %rsi     # 0xe5082
leaq 0x552a7(%rip), %rdx     # 0x11fe88
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
addq $0x630, %rbx            # imm = 0x630
leaq 0x1a433(%rip), %rsi     # 0xe5034
leaq 0x55298(%rip), %rdx     # 0x11fea0
movq %rbx, %rdi
movl $0x29b, %ecx            # imm = 0x29B
movq %r15, %r8
jmp 0xcac8d
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 0x17d10
cmpl $0x1, %eax
jne 0xcaca4
leaq 0x1a798(%rip), %rsi     # 0xe53f0
leaq 0x5525b(%rip), %rdx     # 0x11feba
leaq 0x820(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x1a3b9(%rip), %rsi     # 0xe5034
leaq 0x5521e(%rip), %rdx     # 0x11fea0
movq %r14, %rdi
movl $0x2a4, %ecx            # imm = 0x2A4
movq %rbx, %r8
xorl %eax, %eax
callq 0x2e014
pushq $0x1
popq %rax
addq $0x1020, %rsp           # imm = 0x1020
popq %rbx
popq %r14
popq %r15
retq
movl 0x60c(%rbx), %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovlel %eax, %ecx
xorl %edx, %edx
cmpq %rdx, %rcx
je 0xcac97
movsd 0x18(%rsp), %xmm0
movq 0x5e8(%rbx), %rsi
movq (%rsi,%rdx,8), %rsi
movslq 0x53c(%rbx), %rdi
movsd 0x10(%rsp), %xmm1
mulsd 0x8(%rsi,%rdi,8), %xmm1
mulsd (%rsi,%rdi,8), %xmm0
movq 0x610(%rbx), %rsi
addsd %xmm1, %xmm0
movsd %xmm0, (%rsi,%rdx,8)
incq %rdx
jmp 0xcacb3
// File: /workspace/github_c_makefile_star2_O2/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 0x8190
movabsq $0x7466696873646552, %rcx # imm = 0x7466696873646552
movq %rcx, (%rbx,%rax)
movl $0x7a2074, 0x7(%rbx,%rax) # imm = 0x7A2074
movq %rbx, %rdi
callq 0x8190
movw $0x9, %bp
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movabsq $0x5d2d5b2074616548, %rcx # imm = 0x5D2D5B2074616548
movq %rcx, (%rbx,%rax)
xorl %r14d, %r14d
movb %r14b, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movabsq $0x5d2d5b20486e6f49, %rcx # imm = 0x5D2D5B20486E6F49
movq %rcx, (%rbx,%rax)
movb %r14b, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movabsq $0x2d5b2065486e6f49, %rcx # imm = 0x2D5B2065486E6F49
movq %rcx, (%rbx,%rax)
movw $0x5d, 0x8(%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movw %bp, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movabsq $0x5d2d5b2061794c, %rcx # imm = 0x5D2D5B2061794C
movq %rcx, (%rbx,%rax)
movq %rbx, %rdi
callq 0x8190
movw %bp, (%rbx,%rax)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
movslq %esi, %rcx
addq $0x20, %rdx
shlq $0x3, %rcx
xorl %esi, %esi
cmpq %rax, %rsi
jge 0xcae5f
movq 0x448(%rdi), %r8
movsd (%r8,%rsi,8), %xmm0
movsd %xmm0, -0x20(%rdx)
movq 0x528(%rdi), %r8
movslq 0x538(%rdi), %r9
movq (%r8,%r9,8), %r9
movsd (%r9,%rsi,8), %xmm0
movsd %xmm0, -0x18(%rdx)
movslq 0x53c(%rdi), %r9
movq (%r8,%r9,8), %r9
movsd (%r9,%rsi,8), %xmm0
movsd %xmm0, -0x10(%rdx)
movslq 0x540(%rdi), %r9
movq (%r8,%r9,8), %r9
movsd (%r9,%rsi,8), %xmm0
movsd %xmm0, -0x8(%rdx)
movslq 0x544(%rdi), %r9
movq (%r8,%r9,8), %r8
movsd (%r8,%rsi,8), %xmm0
movsd %xmm0, (%rdx)
incq %rsi
addq %rcx, %rdx
jmp 0xcade2
xorl %eax, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O2/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
movsd 0x78(%rdi), %xmm0
mulsd 0x3d832(%rip), %xmm0    # 0x109390
movsd 0x196fa(%rip), %xmm1    # 0xe5260
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
movsd 0x1c882(%rip), %xmm0    # 0xe83f8
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
xorl %r15d, %r15d
movslq 0x10(%r14), %rsi
cmpq %rsi, %r15
jge 0xcbbec
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 0x1ab6f(%rip), %xmm0    # 0xe6738
callq 0x86a0
mulsd 0x10(%rsp), %xmm0
mulsd 0x80(%r14), %xmm0
movq 0x30(%r14), %rax
movsd %xmm0, (%rax,%r15,8)
incq %r15
jmp 0xcbb87
movq 0x20(%r14), %rdx
movq 0x30(%r14), %rdi
leaq 0x110(%r14), %r15
leaq 0x18(%rsp), %rcx
movq %r15, %r8
callq 0x19292
cmpl $0x1, %eax
jne 0xcbc52
leaq 0x197dc(%rip), %rsi     # 0xe53f0
leaq 0x551ea(%rip), %rdx     # 0x120e05
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x19400(%rip), %rsi     # 0xe5034
leaq 0x55238(%rip), %rdx     # 0x120e73
movq %r15, %rdi
movl $0x16c, %ecx            # imm = 0x16C
movq %rbx, %r8
xorl %eax, %eax
callq 0x2e014
pushq $0x1
popq %rax
jmp 0xcbc79
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_O2/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 0x8430
movq 0x108(%rbx), %rdi
callq 0x8430
movq 0x18(%rbx), %rdi
callq 0x8430
movq 0x20(%rbx), %rdi
callq 0x8430
movq 0x28(%rbx), %rdi
callq 0x8430
movq 0x38(%rbx), %rdi
callq 0x8430
movq 0x50(%rbx), %rdi
callq 0x8430
movq 0x58(%rbx), %rdi
callq 0x8430
movq 0x30(%rbx), %rdi
callq 0x8430
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x17d10
cmpl $0x1, %eax
jne 0xcbd69
leaq 0x196c5(%rip), %rsi     # 0xe53f0
leaq 0x5504e(%rip), %rdx     # 0x120d80
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2e014
leaq 0x192e9(%rip), %rsi     # 0xe5034
leaq 0x55092(%rip), %rdx     # 0x120de4
movq %rbx, %rdi
movl $0x129, %ecx            # imm = 0x129
movq %r14, %r8
xorl %eax, %eax
callq 0x2e014
pushq $0x1
popq %rax
jmp 0xcbd96
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_O2/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
movslq %esi, %rcx
addq $0x8, %rdx
shlq $0x3, %rcx
xorl %esi, %esi
cmpq %rax, %rsi
jge 0xcbe45
movq 0x68(%rdi), %r8
movsd (%r8,%rsi,8), %xmm0
movsd %xmm0, -0x8(%rdx)
movq 0x108(%rdi), %r8
movsd (%r8,%rsi,8), %xmm0
movsd %xmm0, (%rdx)
incq %rsi
addq %rcx, %rdx
jmp 0xcbe18
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x8
popq %rsi
callq 0x8270
movq %rax, %r15
testq %rax, %rax
jne 0xcbeb4
cmpl $0x1, (%rbx)
je 0xcbeb4
movups 0x55045(%rip), %xmm0    # 0x120ecf
movq %rsp, %rsi
movups %xmm0, 0x1f(%rsi)
movaps 0x55028(%rip), %xmm0    # 0x120ec0
movaps %xmm0, 0x10(%rsi)
movaps 0x5500d(%rip), %xmm0    # 0x120eb0
movaps %xmm0, (%rsi)
movq %r14, %rdi
callq 0x8690
movl $0x1, (%rbx)
movq %r15, %rax
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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, %r15d
pushq $0x8
popq %rsi
movq %r15, %rdi
callq 0x8270
movq %rax, %r12
cmpl $0x1, (%r14)
jne 0xcbf09
movq %r12, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r12, %r12
jne 0xcbf40
movups 0x54fea(%rip), %xmm0    # 0x120eff
movq %rsp, %rsi
movups %xmm0, 0x1f(%rsi)
movaps 0x54fcd(%rip), %xmm0    # 0x120ef0
movaps %xmm0, 0x10(%rsi)
movaps 0x54fb2(%rip), %xmm0    # 0x120ee0
movaps %xmm0, (%rsi)
movq %rbx, %rdi
callq 0x8690
movl $0x1, (%r14)
xorl %r13d, %r13d
cmpq %r13, %r15
je 0xcbef4
movl %ebp, %edi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xcbe5a
movq %rax, (%r12,%r13,8)
incq %r13
jmp 0xcbf43
// File: /workspace/github_c_makefile_star2_O2/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, 0x8(%rsp)
movq %rcx, %r14
movl %edx, %ebp
movl %esi, %r15d
movl %edi, %r12d
pushq $0x8
popq %rsi
movq %r12, %rdi
callq 0x8270
movq %rax, %r13
cmpl $0x1, (%r14)
jne 0xcbfd6
movq %r13, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r13, %r13
jne 0xcc011
movups 0x54f4d(%rip), %xmm0    # 0x120f2f
leaq 0x10(%rsp), %rsi
movups %xmm0, 0x1f(%rsi)
movaps 0x54f2e(%rip), %xmm0    # 0x120f20
movaps %xmm0, 0x10(%rsi)
movaps 0x54f13(%rip), %xmm0    # 0x120f10
movaps %xmm0, (%rsi)
movq 0x8(%rsp), %rdi
callq 0x8690
movl $0x1, (%r14)
xorl %ebx, %ebx
cmpq %rbx, %r12
je 0xcbfc1
movl %r15d, %edi
movl %ebp, %esi
movq %r14, %rdx
movq 0x8(%rsp), %rcx
callq 0xcbec4
movq %rax, (%r13,%rbx,8)
incq %rbx
jmp 0xcc013
// File: /workspace/github_c_makefile_star2_O2/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 0xcc243
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 0xcc0f0
ucomisd %xmm2, %xmm0
ja 0xcc113
leal -0x1(%r15), %eax
cvtsi2sd %rax, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
ucomisd %xmm3, %xmm2
ja 0xcc113
ucomisd %xmm1, %xmm4
jbe 0xcc160
ucomisd %xmm0, %xmm2
ja 0xcc113
leal -0x1(%r15), %eax
cvtsi2sd %rax, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
ucomisd %xmm2, %xmm3
jbe 0xcc160
movups 0x54e7e(%rip), %xmm0    # 0x120f98
leaq 0x10(%rsp), %rsi
movaps %xmm0, 0x20(%rsi)
movups 0x54e5e(%rip), %xmm0    # 0x120f88
movaps %xmm0, 0x10(%rsi)
movupd 0x54e42(%rip), %xmm0    # 0x120f78
movapd %xmm0, (%rsi)
movabsq $0xa2e6431707265, %rax  # imm = 0xA2E6431707265
movq %rax, 0x30(%rsi)
movq %rcx, %rdi
callq 0x8690
movl $0x1, (%r14)
xorpd %xmm7, %xmm7
jmp 0xcc237
subsd %xmm0, %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsp)
movapd %xmm2, %xmm0
callq 0x8610
cvttsd2si %xmm0, %rcx
cmpq $0x2, %rcx
pushq $0x1
popq %rax
cmovgeq %rcx, %rax
addl $-0x3, %r15d
cmpq %r15, %rax
cmovgeq %r15, %rax
cvtsi2sd %rax, %xmm0
movsd 0x8(%rsp), %xmm5
subsd %xmm0, %xmm5
movsd -0x8(%rbx,%rax,8), %xmm2
mulsd %xmm5, %xmm2
movsd 0x190ad(%rip), %xmm0    # 0xe5260
movapd %xmm0, %xmm1
subsd %xmm5, %xmm1
mulsd %xmm1, %xmm2
movsd 0x19b19(%rip), %xmm4    # 0xe5ce0
subsd %xmm5, %xmm4
mulsd %xmm4, %xmm2
movsd 0x1a479(%rip), %xmm3    # 0xe6650
divsd %xmm3, %xmm2
addsd %xmm5, %xmm0
movapd %xmm5, %xmm8
movsd (%rbx,%rax,8), %xmm5
mulsd %xmm0, %xmm5
mulsd %xmm1, %xmm5
mulsd %xmm4, %xmm5
movsd 0x19ab3(%rip), %xmm6    # 0xe5cb0
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_O2/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 0x18be5(%rip), %xmm2    # 0xe5260
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 0x5499e(%rip), %xmm2    # 0x121050
movapd %xmm2, 0x30(%rsp)
divsd %xmm1, %xmm3
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
movapd %xmm3, 0x10(%rsp)
jb 0xcc6d2
sqrtsd %xmm3, %xmm0
jmp 0xcc6e1
movapd %xmm3, %xmm0
callq 0x82d0
movapd 0x10(%rsp), %xmm3
movapd %xmm0, 0x20(%rsp)
movsd 0x54969(%rip), %xmm0    # 0x121058
divsd %xmm3, %xmm0
callq 0x86a0
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 0x18b0c(%rip), %xmm4    # 0xe5260
movapd %xmm0, %xmm1
addsd %xmm4, %xmm1
addsd %xmm2, %xmm1
divsd %xmm1, %xmm3
mulsd 0x1bc8c(%rip), %xmm0    # 0xe83f8
mulsd %xmm2, %xmm0
divsd %xmm1, %xmm0
divsd %xmm1, %xmm0
addsd %xmm4, %xmm0
ucomisd 0x18ad4(%rip), %xmm0    # 0xe5258
jb 0xcc78c
sqrtsd %xmm0, %xmm0
jmp 0xcc7a5
movapd %xmm3, 0x10(%rsp)
callq 0x82d0
movsd 0x18ac1(%rip), %xmm4    # 0xe5260
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_O2/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 0x18a60(%rip), %xmm2    # 0xe5260
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 0x54819(%rip), %xmm2    # 0x121050
movapd %xmm2, 0x30(%rsp)
divsd %xmm1, %xmm3
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm3
movapd %xmm3, (%rsp)
jb 0xcc856
sqrtsd %xmm3, %xmm0
jmp 0xcc864
movapd %xmm3, %xmm0
callq 0x82d0
movapd (%rsp), %xmm3
movapd %xmm0, 0x20(%rsp)
movsd 0x547ee(%rip), %xmm0    # 0x121060
divsd %xmm3, %xmm0
callq 0x86a0
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 0x1bb34(%rip), %xmm1    # 0xe83f8
mulsd %xmm1, %xmm0
movapd %xmm0, %xmm5
addsd %xmm0, %xmm5
movsd 0x18(%rsp), %xmm4
mulsd %xmm4, %xmm5
movsd 0x1897e(%rip), %xmm2    # 0xe5260
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 0x1894e(%rip), %xmm0    # 0xe5258
jb 0xcc912
sqrtsd %xmm0, %xmm0
jmp 0xcc921
movapd %xmm5, (%rsp)
callq 0x82d0
movapd (%rsp), %xmm5
addsd 0x18937(%rip), %xmm0    # 0xe5260
divsd %xmm0, %xmm5
movapd %xmm5, %xmm0
addq $0x68, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x460(%rdi), %rdi
pushq $0x28
popq %rbp
movl %ebp, %esi
callq 0xcbf5e
movq 0x468(%rbx), %rdi
movl %ebp, %esi
callq 0xcbf5e
movq 0x470(%rbx), %rdi
movl %ebp, %esi
callq 0xcbf5e
movq 0x478(%rbx), %rdi
movl %ebp, %esi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xcbf5e
// File: /workspace/github_c_makefile_star2_O2/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, %ebx
movq %r8, 0x10(%rsp)
movq %rcx, %r14
movq %rdx, %rbp
movq %rsi, 0x8(%rsp)
movq %rdi, %r13
movq 0x50(%rsp), %r12
movq 0x58(%rsp), %rdx
movq %rdx, (%rsp)
movl %r9d, %edi
movq %r12, %rsi
callq 0xcbe5a
movq %rax, %r15
movl %ebx, %edi
movq %r12, %rsi
movq (%rsp), %rdx
callq 0xcbe5a
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movsd (%rsi), %xmm0
divsd (%r13), %xmm0
movsd %xmm0, (%r15)
movsd (%rdx), %xmm0
divsd (%r13), %xmm0
movq %rax, %r12
movsd %xmm0, (%rax)
movl %ebx, %eax
pushq $0x1
popq %rcx
cmpq %rax, %rcx
jae 0xcf96a
movsd (%r13,%rcx,8), %xmm0
movsd (%rbp,%rcx,8), %xmm1
mulsd -0x8(%r15,%rcx,8), %xmm1
subsd %xmm1, %xmm0
movsd (%rsi,%rcx,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%r15,%rcx,8)
movsd (%rdx,%rcx,8), %xmm1
movsd (%rbp,%rcx,8), %xmm2
mulsd -0x8(%r12,%rcx,8), %xmm2
subsd %xmm2, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%r12,%rcx,8)
incq %rcx
jmp 0xcf919
leal -0x1(%rbx), %eax
movsd (%r12,%rax,8), %xmm0
movsd %xmm0, (%r14,%rax,8)
addl $-0x2, %ebx
testl %ebx, %ebx
js 0xcf9a3
movl %ebx, %eax
movsd (%r15,%rax,8), %xmm0
mulsd 0x8(%r14,%rax,8), %xmm0
movsd (%r12,%rax,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r14,%rax,8)
decl %ebx
jmp 0xcf97c
movq %r15, %rdi
callq 0x8430
movq %r12, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8430
// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
cmpl $0x2, %esi
jb 0xcfd42
ucomisd %xmm2, %xmm0
ja 0xcfd42
decl %esi
cvtsi2sd %rsi, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm0, %xmm3
ucomisd %xmm3, %xmm2
jae 0xcfd4e
movq %rdi, %rbx
subsd %xmm0, %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, (%rsp)
movapd %xmm2, %xmm0
callq 0x8610
cvttsd2si %xmm0, %rax
cvtsi2sd %rax, %xmm0
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movsd 0x15533(%rip), %xmm0    # 0xe5260
subsd %xmm1, %xmm0
mulsd 0x8(%rbx,%rax,8), %xmm1
mulsd (%rbx,%rax,8), %xmm0
addsd %xmm1, %xmm0
jmp 0xcfd46
xorpd %xmm0, %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x7325b(%rip), %r14     # 0x142fb0
movq (%r14), %rcx
leaq 0x516f0(%rip), %rdi     # 0x12144f
pushq $0x46
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x8700
movq (%r14), %rcx
leaq 0x5171f(%rip), %rdi     # 0x121496
pushq $0x29
popq %rsi
movq %rbx, %rdx
callq 0x8700
pushq $0x1
popq %rdi
callq 0x8440
// File: /workspace/github_c_makefile_star2_O2/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 0x1395a(%rip), %xmm0    # 0xe5260
movsd 0x8(%rdi), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rsp)
callq 0xcbe4d
movsd 0x8(%rsp), %xmm5
mulsd %xmm5, %xmm5
movsd 0x10(%rsp), %xmm1
divsd %xmm1, %xmm5
divsd %xmm1, %xmm5
divsd %xmm1, %xmm5
mulsd 0x4fcf2(%rip), %xmm5    # 0x121630
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 0x138f0(%rip), %xmm7    # 0xe5260
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 0x14da2(%rip), %xmm3    # 0xe6748
mulsd 0x38(%rsp), %xmm3
divsd 0x4f854(%rip), %xmm3    # 0x121208
mulsd 0x165cc(%rip), %xmm0    # 0xe7f88
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_O2/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 0x1382c(%rip), %xmm0    # 0xe5260
movsd 0x8(%rdi), %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, 0x40(%rsp)
callq 0xcbe4d
movsd 0x38(%rsp), %xmm6
movapd 0x40(%rsp), %xmm4
movapd %xmm4, %xmm1
divsd %xmm6, %xmm1
addsd 0x13d84(%rip), %xmm1    # 0xe57e8
movsd 0x180cc(%rip), %xmm2    # 0xe9b38
ucomisd %xmm1, %xmm2
jbe 0xd1a8d
ucomisd 0x4fbbe(%rip), %xmm4    # 0x121638
jbe 0xd1a8d
xorpd 0x137ac(%rip), %xmm4    # 0xe5230
movapd %xmm4, %xmm0
jmp 0xd1b41
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 0x4fb75(%rip), %xmm3    # 0x121630
mulsd %xmm4, %xmm3
mulsd %xmm4, %xmm3
mulsd %xmm4, %xmm3
mulsd %xmm4, %xmm3
movsd 0x1378d(%rip), %xmm2    # 0xe5260
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 0x14c2d(%rip), %xmm0    # 0xe6748
mulsd 0x18(%rsp), %xmm0
divsd 0x4f6df(%rip), %xmm0    # 0x121208
mulsd 0x16457(%rip), %xmm5    # 0xe7f88
mulsd %xmm1, %xmm5
divsd %xmm5, %xmm0
divsd %xmm3, %xmm0
addsd %xmm4, %xmm0
addq $0x50, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/PoulinV[P]AxiCLASS/build/../external/HyRec2020/history.c
// Function: Tm_implicit
double Tm_implicit(double z, double xe, double Tm, REC_COSMOPARAMS *cosmo, double dEdtdV, double H, double DLNA) {
  double fsR = cosmo->fsR;
  double meR = cosmo->meR;
  double Tr  = cosmo->T0 *(1.+z);
  double nH  = cosmo->nH0 *cube(1.+z);
  double gamma = fsR*fsR/meR/meR/meR*4.91466895548409e-22*Tr*Tr*Tr*Tr*xe/(1.+xe+cosmo->fHe)/H;
  return (Tm + DLNA*(gamma*Tr + (1.+2.*xe)/3. *dEdtdV /kBoltz /(1.5 *nH*(1.+xe+cosmo->fHe))/H) )/ ( 1.+(2.+gamma)*DLNA );
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
movsd %xmm5, 0x48(%rsp)
movsd %xmm4, 0x38(%rsp)
movsd %xmm3, 0x30(%rsp)
movq %rdi, %rbx
movsd %xmm2, 0x40(%rsp)
movsd %xmm1, 0x28(%rsp)
movsd 0x88(%rdi), %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x98(%rdi), %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0xa0(%rdi), %xmm1
movsd %xmm1, 0x18(%rsp)
addsd 0x136c1(%rip), %xmm0    # 0xe5260
movsd 0x8(%rdi), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x20(%rsp)
callq 0xcbe4d
mulsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm2
mulsd %xmm2, %xmm2
movsd 0x18(%rsp), %xmm1
divsd %xmm1, %xmm2
divsd %xmm1, %xmm2
divsd %xmm1, %xmm2
mulsd 0x4fa53(%rip), %xmm2    # 0x121630
movsd 0x20(%rsp), %xmm4
mulsd %xmm4, %xmm2
mulsd %xmm4, %xmm2
mulsd %xmm4, %xmm2
mulsd %xmm4, %xmm2
movsd 0x28(%rsp), %xmm6
mulsd %xmm6, %xmm2
movapd %xmm6, %xmm1
movsd 0x13657(%rip), %xmm3    # 0xe5260
addsd %xmm3, %xmm1
addsd 0x80(%rbx), %xmm1
addsd %xmm6, %xmm6
addsd %xmm3, %xmm6
divsd 0x14b23(%rip), %xmm6    # 0xe6748
divsd %xmm1, %xmm2
mulsd 0x30(%rsp), %xmm6
divsd 0x4f5d1(%rip), %xmm6    # 0x121208
movsd 0x38(%rsp), %xmm5
divsd %xmm5, %xmm2
mulsd 0x1633f(%rip), %xmm0    # 0xe7f88
mulsd %xmm1, %xmm0
divsd %xmm0, %xmm6
divsd %xmm5, %xmm6
mulsd %xmm2, %xmm4
addsd %xmm6, %xmm4
movsd 0x48(%rsp), %xmm0
mulsd %xmm0, %xmm4
addsd 0x40(%rsp), %xmm4
addsd 0x1406b(%rip), %xmm2    # 0xe5ce0
mulsd %xmm0, %xmm2
addsd %xmm3, %xmm2
divsd %xmm2, %xmm4
movapd %xmm4, %xmm0
addq $0x50, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/PoulinV[P]AxiCLASS/build/../external/HyRec2020/history.c
// Function: hyrec_integrator
double hyrec_integrator(double deriv, double deriv_prev[2], double z) {
  double result;

  if (MODEL == FULL) result = 1.25 * deriv - 0.25 *deriv_prev[1];
  else result = 23./12.*deriv -16./12. * deriv_prev[0] + 5./12. *deriv_prev[1];

  // update derivatives
  deriv_prev[1] = deriv_prev[0];
  deriv_prev[0] = deriv;

  return result;
}

// Assembly:
movsd (%rdi), %xmm2
movsd 0x8(%rdi), %xmm1
movsd 0x2fca4(%rip), %xmm3    # 0x101940
mulsd %xmm2, %xmm3
movsd 0x4f998(%rip), %xmm4    # 0x121640
mulsd %xmm0, %xmm4
addsd %xmm3, %xmm4
mulsd 0x4f990(%rip), %xmm1    # 0x121648
addsd %xmm4, %xmm1
movsd %xmm2, 0x8(%rdi)
movsd %xmm0, (%rdi)
movapd %xmm1, %xmm0
retq