LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/parser.c
// Function: parser_init
int parser_init(struct file_content * pfc,
                int size,
                char * filename,
                ErrorMsg errmsg) {

  if (size > 0) {
    pfc->size=size;
    class_alloc(pfc->filename,(strlen(filename)+1)*sizeof(char),errmsg);
    strcpy(pfc->filename,filename);
    class_alloc(pfc->name,size*sizeof(FileArg),errmsg);
    class_alloc(pfc->value,size*sizeof(FileArg),errmsg);
    class_alloc(pfc->read,size*sizeof(short),errmsg);
  }

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x800, %rsp            # imm = 0x800
xorl %ebp, %ebp
testl %esi, %esi
jle 0x1e6f3
movq %rcx, %rbx
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %r14
movl %esi, 0x8(%rdi)
movq %rdx, %rdi
callq 0x8180
leaq 0x1(%rax), %rdi
callq 0x8460
movq %rax, (%r14)
testq %rax, %rax
je 0x1e63c
movq %rax, %rdi
movq %r15, %rsi
callq 0x8350
movl %r12d, %r15d
movq %r15, %r12
shlq $0xa, %r12
movq %r12, %rdi
callq 0x8460
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x1e67a
movq %r12, %rdi
callq 0x8460
movq %rax, 0x18(%r14)
testq %rax, %rax
je 0x1e6b0
addq %r15, %r15
movq %r15, %rdi
callq 0x8460
movq %rax, 0x20(%r14)
testq %rax, %rax
jne 0x1e6f3
leaq 0xcf9fa(%rip), %rsi     # 0xee004
leaq 0xd24d5(%rip), %rdx     # 0xf0ae6
movq %rsp, %r14
movq %r14, %rdi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x30af0
leaq 0xcfa0c(%rip), %rsi     # 0xee034
leaq 0xd2496(%rip), %rdx     # 0xf0ac5
movq %rbx, %rdi
movl $0x3c, %ecx
jmp 0x1e6e4
movq %r15, %rdi
callq 0x8180
leal 0x1(%rax), %ecx
leaq 0xcf9b6(%rip), %rsi     # 0xee004
leaq 0xd2462(%rip), %rdx     # 0xf0ab7
movq %rsp, %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x30af0
leaq 0xcf9cb(%rip), %rsi     # 0xee034
leaq 0xd2455(%rip), %rdx     # 0xf0ac5
movq %rbx, %rdi
movl $0x38, %ecx
jmp 0x1e6e4
leaq 0xcf983(%rip), %rsi     # 0xee004
leaq 0xd2449(%rip), %rdx     # 0xf0ad1
movq %rsp, %r14
movq %r14, %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq 0x30af0
leaq 0xcf995(%rip), %rsi     # 0xee034
leaq 0xd241f(%rip), %rdx     # 0xf0ac5
movq %rbx, %rdi
movl $0x3a, %ecx
jmp 0x1e6e4
leaq 0xcf94d(%rip), %rsi     # 0xee004
leaq 0xd241d(%rip), %rdx     # 0xf0adb
movq %rsp, %r14
movq %r14, %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq 0x30af0
leaq 0xcf95f(%rip), %rsi     # 0xee034
leaq 0xd23e9(%rip), %rdx     # 0xf0ac5
movq %rbx, %rdi
movl $0x3b, %ecx
movq %r14, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %ebp
movl %ebp, %eax
addq $0x800, %rsp            # imm = 0x800
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/parser.c
// Function: parser_free
int parser_free(struct file_content * pfc) {

  if (pfc->size > 0) {
    free(pfc->name);
    free(pfc->value);
    free(pfc->read);
    free(pfc->filename);
  }

  return _SUCCESS_;
}

// Assembly:
cmpl $0x0, 0x8(%rdi)
jle 0x1e733
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x8410
movq 0x18(%rbx), %rdi
callq 0x8410
movq 0x20(%rbx), %rdi
callq 0x8410
movq (%rbx), %rdi
callq 0x8410
popq %rbx
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/parser.c
// Function: parser_read_string
int parser_read_string(struct file_content * pfc,
                       char * name,
                       FileArg * value,
                       int * found,
                       ErrorMsg errmsg) {
  int index;
  int i;

  /* intialize the 'found' flag to false */

  * found = _FALSE_;

  /* search parameter */

  index=0;
  while ((index < pfc->size) && (strcmp(pfc->name[index],name) != 0)){
		// printf("reading %s \n", pfc->name[index]);
		index++;

	}

  /* if parameter not found, return with 'found' flag still equal to false */

  if (index == pfc->size)
    return _SUCCESS_;

  /* read parameter value. */

  strcpy(*value,pfc->value[index]);

  /* Set 'found' flag to true, as well as the flag
     associated with this parameter in the file_content structure */

  * found = _TRUE_;
  pfc->read[index] = _TRUE_;

  /* check for multiple entries of the same parameter. If another occurence is found,
     return an error. */

  for (i=index+1; i < pfc->size; i++) {
    class_test(strcmp(pfc->name[i],name) == 0,
               errmsg,
               "multiple entry of parameter '%s' in file '%s'\n",name,pfc->filename);
  }

  /* if everything proceeded normally, return with 'found' flag equal to true */

  return _SUCCESS_;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1018, %rsp           # imm = 0x1018
movq %r8, 0x8(%rsp)
movq %rcx, %r12
movq %rsi, %r14
movq %rdi, %r15
movl $0x0, (%rcx)
movslq 0x8(%rdi), %rbp
xorl %eax, %eax
movl $0x0, %r13d
testq %rbp, %rbp
jle 0x1eceb
movq %rdx, (%rsp)
movq 0x10(%r15), %rbx
xorl %r13d, %r13d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x84b0
testl %eax, %eax
je 0x1ece5
incq %r13
addq $0x400, %rbx            # imm = 0x400
cmpq %r13, %rbp
jne 0x1ecc0
xorl %eax, %eax
jmp 0x1edb5
xorl %eax, %eax
movq (%rsp), %rdx
cmpl %ebp, %r13d
je 0x1edb5
movl %r13d, %ebp
movq %rbp, %rbx
shlq $0xa, %rbx
movq 0x18(%r15), %rsi
addq %rbx, %rsi
movq %rdx, %rdi
callq 0x8350
movl $0x1, (%r12)
movq 0x20(%r15), %rax
movw $0x1, (%rax,%rbp,2)
movl 0x8(%r15), %ebp
addq $0x400, %rbx            # imm = 0x400
incl %r13d
cmpl %r13d, %ebp
jle 0x1ecde
leaq 0x400(%rbx), %r12
addq 0x10(%r15), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x84b0
movq %r12, %rbx
testl %eax, %eax
jne 0x1ed2a
movq (%r15), %rcx
leaq 0xd1f37(%rip), %rsi     # 0xf0c90
leaq 0x810(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x30af0
leaq 0xcf30d(%rip), %rsi     # 0xee082
leaq 0xd1f43(%rip), %rdx     # 0xf0cbf
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0xcf29f(%rip), %rsi     # 0xee034
leaq 0xd1fa0(%rip), %rdx     # 0xf0d3c
movq 0x8(%rsp), %rdi
movl $0x167, %ecx            # imm = 0x167
movq %r14, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %eax
addq $0x1018, %rsp           # imm = 0x1018
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/parser.c
// Function: parser_extend
int parser_extend(struct file_content * pfc, int N_extend, ErrorMsg errmsg) {
  // Append N_extend empty entries in the vectors of pfc
  pfc->size += N_extend;
  class_realloc(pfc->name,  pfc->size*sizeof(FileArg), errmsg);
  class_realloc(pfc->value, pfc->size*sizeof(FileArg), errmsg);
  class_realloc(pfc->read,  pfc->size*sizeof(short),   errmsg);
  for (int index = pfc->size - N_extend; index < pfc->size; index++) {
    pfc->name[index][0] = '\0';
    pfc->value[index][0] = '\0';
    pfc->read[index] = _FALSE_;
  }
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x800, %rsp            # imm = 0x800
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movslq 0x8(%rdi), %rax
movslq %esi, %rsi
addq %rax, %rsi
movl %esi, 0x8(%rdi)
movq 0x10(%rdi), %rdi
shlq $0xa, %rsi
callq 0x8590
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x1fd47
movq 0x18(%r14), %rdi
movslq 0x8(%r14), %rsi
shlq $0xa, %rsi
callq 0x8590
movq %rax, 0x18(%r14)
testq %rax, %rax
je 0x1fd81
movq 0x20(%r14), %rdi
movslq 0x8(%r14), %rsi
addq %rsi, %rsi
callq 0x8590
movq %rax, 0x20(%r14)
testq %rax, %rax
je 0x1fdbb
testl %ebp, %ebp
jle 0x1fe0d
movl 0x8(%r14), %eax
subl %ebp, %eax
movslq %eax, %rcx
movq %rcx, %rdx
shlq $0xa, %rdx
xorl %eax, %eax
movq 0x10(%r14), %rsi
movb %al, (%rsi,%rdx)
movq 0x18(%r14), %rsi
movb %al, (%rsi,%rdx)
movq 0x20(%r14), %rsi
movw $0x0, (%rsi,%rcx,2)
incq %rcx
movslq 0x8(%r14), %rsi
addq $0x400, %rdx            # imm = 0x400
cmpq %rsi, %rcx
jl 0x1fd17
jmp 0x1fe01
movl 0x8(%r14), %ecx
shll $0xa, %ecx
leaq 0xce2af(%rip), %rsi     # 0xee004
leaq 0xd0d75(%rip), %rdx     # 0xf0ad1
movq %rsp, %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x30af0
leaq 0xce2c4(%rip), %rsi     # 0xee034
leaq 0xd1182(%rip), %rdx     # 0xf0ef9
movq %rbx, %rdi
movl $0x2ec, %ecx            # imm = 0x2EC
jmp 0x1fdf2
movl 0x8(%r14), %ecx
shll $0xa, %ecx
leaq 0xce275(%rip), %rsi     # 0xee004
leaq 0xd0d45(%rip), %rdx     # 0xf0adb
movq %rsp, %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x30af0
leaq 0xce28a(%rip), %rsi     # 0xee034
leaq 0xd1148(%rip), %rdx     # 0xf0ef9
movq %rbx, %rdi
movl $0x2ed, %ecx            # imm = 0x2ED
jmp 0x1fdf2
movl 0x8(%r14), %ecx
addl %ecx, %ecx
leaq 0xce23c(%rip), %rsi     # 0xee004
leaq 0xd0d17(%rip), %rdx     # 0xf0ae6
movq %rsp, %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x30af0
leaq 0xce251(%rip), %rsi     # 0xee034
leaq 0xd110f(%rip), %rdx     # 0xf0ef9
movq %rbx, %rdi
movl $0x2ee, %ecx            # imm = 0x2EE
movq %r14, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %eax
addq $0x800, %rsp            # imm = 0x800
popq %rbx
popq %r14
popq %rbp
retq
xorl %eax, %eax
jmp 0x1fe01
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/parser.c
// Function: parser_init_from_pfc
int parser_init_from_pfc(struct file_content * pfc_source, struct file_content * pfc_destination, ErrorMsg errmsg) {
  class_call(parser_init(pfc_destination,
                         pfc_source->size,
                         pfc_source->filename,
                         errmsg),
             errmsg,errmsg);
  parser_copy(pfc_source, pfc_destination, 0, pfc_source->size);
  return _SUCCESS_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x808, %rsp            # imm = 0x808
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl 0x8(%rdi), %esi
movq (%rdi), %rdx
movq %r14, %rdi
movq %r15, %rcx
callq 0x1e567
testl %eax, %eax
je 0x1ff02
leaq 0xce52c(%rip), %rsi     # 0xee3f0
leaq 0xd103c(%rip), %rdx     # 0xf0f07
movq %rsp, %rbx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0xce152(%rip), %rsi     # 0xee034
leaq 0xd106b(%rip), %rdx     # 0xf0f54
movq %r15, %rdi
movl $0x304, %ecx            # imm = 0x304
movq %rbx, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %eax
jmp 0x1ff42
movslq 0x8(%rbx), %r15
movq 0x10(%r14), %rdi
movq 0x10(%rbx), %rsi
movq %r15, %r12
shlq $0xa, %r12
movq %r12, %rdx
callq 0x82d0
movq 0x18(%r14), %rdi
movq 0x18(%rbx), %rsi
movq %r12, %rdx
callq 0x82d0
movq 0x20(%r14), %rdi
movq 0x20(%rbx), %rsi
addq %r15, %r15
movq %r15, %rdx
callq 0x82d0
xorl %eax, %eax
addq $0x808, %rsp            # imm = 0x808
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: leaf_count
int leaf_count(qss_node *node){
  /* Count the amount of leafs under a given node and write the number in the node. */
  /* We call recursively, until a node is a leaf - then we add the numbers on our
     way back:*/
  if (node->left!=NULL){
    /* This is not a leaf, do recursive call: */
    leaf_count(node->left);
    leaf_count(node->right);
    node->leaf_childs = node->left->leaf_childs + node->right->leaf_childs;
    return _SUCCESS_;
  }
  else{
    /* This is a leaf, by definition leaf_childs = 1: */
    node->leaf_childs = 1;
    return _SUCCESS_;
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0x21626
callq 0x215fb
movq 0x30(%rbx), %rdi
callq 0x215fb
movq 0x28(%rbx), %rcx
movq 0x30(%rbx), %rax
movl 0x20(%rax), %eax
addl 0x20(%rcx), %eax
jmp 0x2162b
movl $0x1, %eax
movl %eax, 0x20(%rbx)
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: get_integral
double get_integral(qss_node *node, int level){
  /* Traverse the tree and return the estimate of the integral at a given level.
     level 1 is the best estimate. */
  double IL,IR;
  /* An updated leaf_count is assumed. */
  if (node->leaf_childs<=level){
    return node->I;
  }
  else{
    IL = get_integral(node->left, level);
    IR = get_integral(node->right, level);
    /* Combine the integrals: */
    return (IL+IR);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
cmpl %esi, 0x20(%rdi)
jle 0x21660
movl %esi, %ebx
movq 0x28(%r14), %rdi
callq 0x21632
movsd %xmm0, (%rsp)
movq 0x30(%r14), %rdi
movl %ebx, %esi
callq 0x21632
addsd (%rsp), %xmm0
jmp 0x21665
movsd (%r14), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: reduce_tree
int reduce_tree(qss_node *node, int level){
  /* Reduce the tree to a given level. Make all nodes with
     node->leaf_childs==level into leafs.
     If we call reduce_tree(root,1), nothing happens.*/
  if(node->leaf_childs==level){
    burn_tree(node->left);
    burn_tree(node->right);
    node->left = NULL;
    node->right = NULL;
  }
  else if(node->leaf_childs>level){
    /* else try to see if children nodes can be simplified: */
    reduce_tree(node->left,level);
    reduce_tree(node->right,level);
  }
  /* If called on a node which has leaf_childs<level, it does nothing. */
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x20(%rdi), %eax
cmpl %esi, %eax
je 0x21696
movl %esi, %ebp
cmpl %ebp, %eax
jle 0x216af
movq 0x28(%rbx), %rdi
movl %ebp, %esi
callq 0x2166d
movq 0x30(%rbx), %rbx
movl 0x20(%rbx), %eax
cmpl %ebp, %eax
jne 0x2167c
movq 0x28(%rbx), %rdi
callq 0x21757
movq 0x30(%rbx), %rdi
callq 0x21757
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: get_leaf_x_and_w
int get_leaf_x_and_w(qss_node *node, int *ind, double *x, double *w,int isindefinite){
  /* x and w should be exactly 15*root_node->leafchilds, and a leaf count should have
     been performed. Or perhaps I just use the fact that a leaf won't have children.
     Nah, let me use the leaf-count then. */
  int k;
  if (node->leaf_childs==1){
    for(k=0;k<15;k++){
      x[*ind] = node->x[k];
      w[*ind] = node->w[k];
      if (isindefinite == _TRUE_){
	(*ind)--;
      }
      else{
	(*ind)++;
      }
    }
  }
  else{
    /* Do recursive call: */
    get_leaf_x_and_w(node->left,ind,x,w,isindefinite);
    get_leaf_x_and_w(node->right,ind,x,w,isindefinite);
  }
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
cmpl $0x1, 0x20(%rdi)
je 0x216f8
movq 0x28(%r12), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x216b8
movq 0x30(%r12), %r12
cmpl $0x1, 0x20(%r12)
jne 0x216d5
movq 0x10(%r12), %rax
movq 0x18(%r12), %rcx
xorl %edx, %edx
cmpl $0x1, %ebp
setne %dl
leaq -0x1(,%rdx,2), %rsi
movslq (%rbx), %rdi
movl %edi, %edx
leaq (%r15,%rdi,8), %r8
leaq (%r14,%rdi,8), %r9
xorl %edi, %edi
xorl %r10d, %r10d
movsd (%rax,%r10,8), %xmm0
movsd %xmm0, (%r8,%rdi,8)
movsd (%rcx,%r10,8), %xmm0
movsd %xmm0, (%r9,%rdi,8)
incq %r10
addq %rsi, %rdi
cmpq $0xf, %r10
jne 0x21724
addl %edi, %edx
movl %edx, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: burn_tree
int burn_tree(qss_node *node){
  /* Burn node and all subnodes. */
  /* Call burn_branch recursively on children nodes: */
  /* This node and all its subnodes */
  if (node!=NULL){
    if (node->left!=NULL) burn_tree(node->left);
    if (node->right!=NULL) burn_tree(node->right);

    if (node->x!=NULL) free(node->x);
    if (node->w!=NULL) free(node->w);
    free(node);
  }
  return _SUCCESS_;
}

// Assembly:
testq %rdi, %rdi
je 0x217a1
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0x2176e
callq 0x21757
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x2177c
callq 0x21757
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x2178a
callq 0x8410
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x21798
callq 0x8410
movq %rbx, %rdi
callq 0x8410
popq %rbx
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: sort_x_and_w
int sort_x_and_w(double *x, double *w, double *workx, double *workw, int startidx, int endidx){
  int i,top=endidx,bot=startidx;
  double pivot;
  /* End recursion if only one element left in array: */
  if ((endidx-startidx)<1){
    return _SUCCESS_;
  }
  else{
    /*Copy x and w to workarray: */
    for (i=startidx; i<=endidx; i++){
      workx[i] = x[i];
      workw[i] = w[i];
    }
    pivot = x[endidx];
    //printf("pivot chosen: x[%d] = %g\n",endidx,pivot);
    for (i=startidx; i<endidx; i++){
      if (workx[i]<=pivot){
	//printf("<--%g  ",workx[i]);
	x[bot] = workx[i];
	w[bot++] = workw[i];
      }
      else{
	//printf("  %g-->",workx[i]);
	x[top] = workx[i];
	w[top--] = workw[i];
      }
    }
    //printf("\n top=%d, bot=%d, left=%d, right=%d\n",top,bot,startidx,endidx);
    x[top] = pivot;
    w[top] = workw[endidx];
    /* Recursive call: */
    sort_x_and_w(x,w,workx,workw,startidx,bot-1);
    sort_x_and_w(x,w,workx,workw,top+1,endidx);
    return _SUCCESS_;
  }

}

// Assembly:
cmpl %r8d, %r9d
jle 0x218b7
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %r11d
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movslq %r9d, %rbp
movl %r9d, 0x4(%rsp)
movslq %r8d, %rax
cmpl %r11d, %eax
movl %r11d, %ecx
cmovgl %r8d, %ecx
leaq (%r13,%rax,8), %rdx
leaq (%r15,%rax,8), %rsi
leaq (%r12,%rax,8), %rdi
leaq (%r14,%rax,8), %r9
subl %eax, %ecx
incl %ecx
xorl %r10d, %r10d
movsd (%rdx,%r10,8), %xmm0
movsd %xmm0, (%rsi,%r10,8)
movsd (%rdi,%r10,8), %xmm0
movsd %xmm0, (%r9,%r10,8)
incq %r10
cmpl %r10d, %ecx
jne 0x217f4
movsd (%r13,%rbp,8), %xmm0
movq %rbp, %rcx
movl %r11d, %ebx
movl %r8d, %r9d
cmpl %r11d, %r8d
jge 0x2186f
movl %r8d, %r9d
movl %r11d, %ebx
movsd (%r15,%rax,8), %xmm1
ucomisd %xmm1, %xmm0
jae 0x2184a
movslq %ebx, %rcx
movsd %xmm1, (%r13,%rcx,8)
leal -0x1(%rcx), %ebx
jmp 0x21858
movslq %r9d, %rcx
movsd %xmm1, (%r13,%rcx,8)
leal 0x1(%rcx), %r9d
movsd (%r14,%rax,8), %xmm1
movsd %xmm1, (%r12,%rcx,8)
incq %rax
cmpq %rax, %rbp
jne 0x2182f
movslq %ebx, %rcx
movsd %xmm0, (%r13,%rcx,8)
movsd (%r14,%rbp,8), %xmm0
movsd %xmm0, (%r12,%rcx,8)
decl %r9d
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x217a4
movl 0x4(%rsp), %r11d
incl %ebx
movl %ebx, %r8d
cmpl %r11d, %ebx
jl 0x217cf
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: compute_Hermite
int compute_Hermite(double *x, double *w, int N, int alpha, double *b, double *c){
  int NLag,i;
  double alpha_Lag;

  NLag = N/2;
  /* In case N is uneven, zero the N'th weight:*/
  w[N-1] = 0.0;
  alpha_Lag = (alpha-1.0)/2.0;

  /* Compute the positive roots and weights (up to some simple manipulation): */
  compute_Laguerre(x+NLag,w+NLag,NLag,alpha_Lag,b,c,_FALSE_);

  /* Do manipulations:*/
  for(i=NLag; i<2*NLag; i++){
    x[i] = sqrt(x[i]);
    w[i] *=0.5;
  }

  /* Set the negative roots and weights:*/
  for(i=0; i<NLag; i++){
    x[i] = -x[2*NLag-i-1];
    w[i] = w[2*NLag-i-1];
    if (alpha%2!=0){
      w[i] = -w[i];
    }
  }
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movl %edx, %ebp
shrl $0x1f, %ebp
addl %edx, %ebp
movl %ebp, %eax
sarl %eax
movl %edx, 0x4(%rsp)
movslq %edx, %rcx
cvtsi2sd %ebx, %xmm0
addsd 0xccd23(%rip), %xmm0    # 0xee7e8
mulsd 0xcd203(%rip), %xmm0    # 0xeecd0
movq $0x0, -0x8(%rsi,%rcx,8)
movslq %eax, %r13
leaq (%rdi,%r13,8), %rdi
leaq (%rsi,%r13,8), %rsi
movl %r13d, %edx
movq %r8, %rcx
movq %r9, %r8
xorl %r9d, %r9d
callq 0x2021c
andl $-0x2, %ebp
movl %ebp, (%rsp)
cmpl %ebp, %r13d
jge 0x21b51
movslq (%rsp), %rbp
xorpd %xmm1, %xmm1
movsd 0xcd1c3(%rip), %xmm2    # 0xeecd0
movq %r13, %r12
movsd (%r15,%r12,8), %xmm0
ucomisd %xmm1, %xmm0
jb 0x21b22
sqrtsd %xmm0, %xmm0
jmp 0x21b33
callq 0x82b0
movsd 0xcd1a1(%rip), %xmm2    # 0xeecd0
xorpd %xmm1, %xmm1
movsd %xmm0, (%r15,%r12,8)
movsd (%r14,%r12,8), %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, (%r14,%r12,8)
incq %r12
cmpq %r12, %rbp
jne 0x21b10
cmpl $0x2, 0x4(%rsp)
jl 0x21b98
movl (%rsp), %eax
decq %rax
xorl %ecx, %ecx
movapd 0xcc6c8(%rip), %xmm0    # 0xee230
movsd (%r15,%rax,8), %xmm1
xorpd %xmm0, %xmm1
movlpd %xmm1, (%r15,%rcx,8)
movsd (%r14,%rax,8), %xmm1
testb $0x1, %bl
je 0x21b87
xorpd %xmm0, %xmm1
movsd %xmm1, (%r14,%rcx,8)
incq %rcx
decq %rax
cmpq %rcx, %r13
jne 0x21b68
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: quadrature_in_rectangle
int quadrature_in_rectangle(
			    double xl,
			    double xr,
			    double yl,
			    double yr,
			    int *n,
			    double ** x,
			    double ** y,
			    double ** w,
			    ErrorMsg error_message) {


  double xl_tile,xr_tile,yl_tile,yr_tile;
  int N;

  N=24;
  xl_tile = xl;
  xr_tile = xr;
  yl_tile = yl;
  yr_tile = yr;

  *n = N;


  class_alloc(*x,sizeof(double)*N,error_message);
  class_alloc(*y,sizeof(double)*N,error_message);
  class_alloc(*w,sizeof(double)*N,error_message);
  class_call(cubature_order_eleven(xl_tile,
				   xr_tile,
				   yl_tile,
				   yr_tile,
				   *x+0,
				   *y+0,
				   *w+0,
				   error_message),
	     error_message,
	     error_message);


  return _SUCCESS_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x828, %rsp            # imm = 0x828
movq %r8, %rbx
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movsd %xmm3, 0x18(%rsp)
movsd %xmm2, 0x10(%rsp)
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, (%rsp)
movl $0x18, (%rdi)
movl $0xc0, %edi
callq 0x8460
movq %rax, (%r15)
testq %rax, %rax
je 0x21e86
movl $0xc0, %edi
callq 0x8460
movq %rax, (%r14)
testq %rax, %rax
je 0x21ec0
movl $0xc0, %edi
callq 0x8460
movq %rax, (%r12)
testq %rax, %rax
je 0x21efa
movq (%r15), %rdi
movq (%r14), %rsi
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movsd 0x18(%rsp), %xmm3
movq %rax, %rdx
callq 0x21f50
xorl %eax, %eax
jmp 0x21f41
leaq 0xcc177(%rip), %rsi     # 0xee004
leaq 0xcc75d(%rip), %rdx     # 0xee5f1
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movl $0xc0, %ecx
xorl %eax, %eax
callq 0x30af0
leaq 0xcc185(%rip), %rsi     # 0xee034
leaq 0xcf54f(%rip), %rdx     # 0xf1405
movq %rbx, %rdi
movl $0x327, %ecx            # imm = 0x327
jmp 0x21f32
leaq 0xcc13d(%rip), %rsi     # 0xee004
leaq 0xcf54f(%rip), %rdx     # 0xf141d
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movl $0xc0, %ecx
xorl %eax, %eax
callq 0x30af0
leaq 0xcc14b(%rip), %rsi     # 0xee034
leaq 0xcf515(%rip), %rdx     # 0xf1405
movq %rbx, %rdi
movl $0x328, %ecx            # imm = 0x328
jmp 0x21f32
leaq 0xcc103(%rip), %rsi     # 0xee004
leaq 0xcf518(%rip), %rdx     # 0xf1420
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movl $0xc0, %ecx
xorl %eax, %eax
callq 0x30af0
leaq 0xcc111(%rip), %rsi     # 0xee034
leaq 0xcf4db(%rip), %rdx     # 0xf1405
movq %rbx, %rdi
movl $0x329, %ecx            # imm = 0x329
movq %r14, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %eax
addq $0x828, %rsp            # imm = 0x828
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_get_xmin_from_approx
int hyperspherical_get_xmin_from_approx(int K,
                                        int l,
                                        double nu,
                                        double ignore1,
                                        double phiminabs,
                                        double *xmin,
                                        int *ignore2){

  double l_plus_half;
  double lhs;
  double alpha;
  double ldbl = l;
  double x;

  l_plus_half = l+0.5;
  lhs = 1.0/l_plus_half*log(2*phiminabs*l_plus_half);
  //Using Chebyshev cubic root, much cleaner:
  alpha = -2.0*lhs/5.0*(1.0+2.0*cosh(1.0/3.0*acosh(1.0+375.0/(16.0*lhs*lhs))));
  x = l_plus_half/cosh(alpha)/nu;
  if (K==-1){
    //%Correct for open case:
    x *= asinh(ldbl/nu)/(ldbl/nu);
    //...and fudge for small nu:
    x *=((nu+0.4567)/(nu+1.24)-2.209e-3);
  }
  else if(K==1){
    //Correct for closed case if possible
    x *= asin(ldbl/nu)/(ldbl/nu);
  }
  *xmin = x;
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movaps %xmm0, 0x20(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movl %edi, %ebp
movsd 0xcbb99(%rip), %xmm1    # 0xeecd0
movapd %xmm0, 0x10(%rsp)
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd 0xcb112(%rip), %xmm0    # 0xee260
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
addsd %xmm2, %xmm2
mulsd %xmm1, %xmm2
movapd %xmm2, %xmm0
callq 0x82c0
mulsd 0x8(%rsp), %xmm0
movsd 0xcc5e9(%rip), %xmm1    # 0xef760
mulsd %xmm0, %xmm1
divsd 0xcb0ed(%rip), %xmm1    # 0xee270
movsd %xmm1, 0x8(%rsp)
movsd 0xcb667(%rip), %xmm1    # 0xee7f8
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd 0xce29f(%rip), %xmm0    # 0xf1440
divsd %xmm1, %xmm0
addsd 0xcb0b3(%rip), %xmm0    # 0xee260
callq 0x8630
mulsd 0xce28e(%rip), %xmm0    # 0xf1448
callq 0x84a0
addsd %xmm0, %xmm0
addsd 0xcb095(%rip), %xmm0    # 0xee260
mulsd 0x8(%rsp), %xmm0
callq 0x84a0
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movapd 0x20(%rsp), %xmm2
divsd %xmm2, %xmm1
cmpl $0x1, %ebp
je 0x2325e
cmpl $-0x1, %ebp
jne 0x23287
movapd 0x10(%rsp), %xmm0
divsd %xmm2, %xmm0
movapd %xmm0, 0x10(%rsp)
movsd %xmm1, (%rsp)
callq 0x8470
movsd 0xce237(%rip), %xmm1    # 0xf1450
movapd 0x20(%rsp), %xmm2
addsd %xmm2, %xmm1
addsd 0xce22d(%rip), %xmm2    # 0xf1458
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
unpcklpd 0x10(%rsp), %xmm2       # xmm2 = xmm2[0],mem[0]
divpd %xmm2, %xmm1
movsd 0xce21f(%rip), %xmm0    # 0xf1460
addsd %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
movsd (%rsp), %xmm2
mulsd %xmm1, %xmm2
movsd %xmm2, (%rsp)
movsd (%rsp), %xmm1
jmp 0x23283
movapd 0x10(%rsp), %xmm0
divsd %xmm2, %xmm0
movapd %xmm0, 0x10(%rsp)
movsd %xmm1, (%rsp)
callq 0x85a0
movsd (%rsp), %xmm1
divsd 0x10(%rsp), %xmm0
mulsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: ClosedModY
int ClosedModY(int l, int beta, double *y, int * phisign, int * dphisign){

  *phisign = 1;
  *dphisign = 1;


  while (*y > _TWOPI_)
    *y -= _TWOPI_;

  if ((*y) > _PI_){
    *y = 2.0*_PI_-(*y);
    //phisign *= pow(-1,l)
    if (l%2==1) //l is odd
      *phisign = -*phisign;
    else        //l is even
      *dphisign = -*dphisign;
  }
  if ((*y)>0.5*_PI_){
    *y = _PI_-(*y);
    //phisign *= pow(-1,beta-l-1)
    if ((beta-l)%2==0) //beta-l-1 odd
      *phisign = -*phisign;
    else               //beta-l-1 even
      *dphisign = -*dphisign;
  }
  return _SUCCESS_;
}

// Assembly:
movl $0x1, %eax
movl %eax, (%rcx)
movl %eax, (%r8)
movsd (%rdx), %xmm0
ucomisd 0xcd3b6(%rip), %xmm0    # 0xf1428
jbe 0x24092
movsd 0xcd40c(%rip), %xmm1    # 0xf1488
movsd 0xcd3a4(%rip), %xmm2    # 0xf1428
addsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
ja 0x24084
movsd %xmm0, (%rdx)
ucomisd 0xccf3e(%rip), %xmm0    # 0xf0fd8
jbe 0x240bc
movsd 0xcd384(%rip), %xmm1    # 0xf1428
subsd %xmm0, %xmm1
movsd %xmm1, (%rdx)
movl %edi, %eax
andl $0x80000001, %eax       # imm = 0x80000001
cmpl $0x1, %eax
jne 0x240c2
negl (%rcx)
jmp 0x240c9
movapd %xmm0, %xmm1
jmp 0x240c9
movl $0xffffffff, (%r8)      # imm = 0xFFFFFFFF
ucomisd 0xcd3bf(%rip), %xmm1    # 0xf1490
jbe 0x240f0
movsd 0xccefd(%rip), %xmm0    # 0xf0fd8
subsd %xmm1, %xmm0
subl %edi, %esi
testb $0x1, %sil
cmoveq %rcx, %r8
movsd %xmm0, (%rdx)
negl (%r8)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_forwards_recurrence
int hyperspherical_forwards_recurrence(int K,
                                       int lmax,
                                       double beta,
                                       double x,
                                       double sinK,
                                       double cotK,
                                       double * __restrict__ sqrtK,
                                       double * __restrict__ one_over_sqrtK,
                                       double * __restrict__ PhiL){
  int l;
  PhiL[0] = 1.0/beta*sin(beta*x)/sinK;
  PhiL[1] = PhiL[0]*(cotK-beta/tan(beta*x))*one_over_sqrtK[1];
  for (l=2; l<=lmax; l++){
    PhiL[l] = ((2*l-1)*cotK*PhiL[l-1]-PhiL[l-2]*sqrtK[l-1])*one_over_sqrtK[l];
  }
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movsd %xmm3, 0x20(%rsp)
movsd %xmm2, (%rsp)
movsd %xmm0, 0x18(%rsp)
movl %esi, %ebp
movsd 0xca13f(%rip), %xmm2    # 0xee260
divsd %xmm0, %xmm2
movsd %xmm2, 0x8(%rsp)
mulsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movapd %xmm1, %xmm0
callq 0x80a0
mulsd 0x8(%rsp), %xmm0
divsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
movsd %xmm0, (%rbx)
movsd 0x10(%rsp), %xmm0
callq 0x8210
movsd 0x20(%rsp), %xmm3
movsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm3, %xmm0
subsd %xmm1, %xmm0
mulsd (%rsp), %xmm0
mulsd 0x8(%r14), %xmm0
movsd %xmm0, 0x8(%rbx)
cmpl $0x2, %ebp
jl 0x241d2
movl %ebp, %eax
leaq -0x2(,%rax,2), %rax
xorl %ecx, %ecx
leal 0x3(%rcx), %edx
xorps %xmm1, %xmm1
cvtsi2sd %edx, %xmm1
mulsd %xmm3, %xmm1
movsd 0x8(%r15,%rcx,4), %xmm2
mulsd (%rbx,%rcx,4), %xmm2
mulsd %xmm0, %xmm1
subsd %xmm2, %xmm1
mulsd 0x10(%r14,%rcx,4), %xmm1
movsd %xmm1, 0x10(%rbx,%rcx,4)
addq $0x2, %rcx
movapd %xmm1, %xmm0
cmpq %rcx, %rax
jne 0x24196
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: coef1
double coef1(double z){
  const double A[5] = {1.1282427601,-0.6803534e-4,0.16687e-6,-0.128e-8,0.2e-10};
  const double B[5] = {0.7822108673e-1,-0.6895649e-4,0.32857e-6,-0.37e-8,0.7e-10};
  double x,y,t,Ai,zeta,theta,sintheta,costheta,FA,FB;

  x = -z;
  zeta = _TWO_OVER_THREE_*x*sqrt(x);
  theta = zeta+0.25*_PI_;
  sintheta = sin(theta);
  costheta = cos(theta);

  y = pow(7.0/x,3);//y = (7.0/x)*(7.0/x)*(7.0/x);
  FA = cheb(y,5,A);
  FB = cheb(y,5,B)/zeta;

  t = pow(x,-0.25);
  Ai = t*(sintheta*FA-costheta*FB);
  //Bi = t*(costheta*FA+sintheta*FB);
  return Ai;
}

// Assembly:
subq $0x98, %rsp
movapd %xmm0, %xmm3
movaps 0xcbe35(%rip), %xmm0    # 0xf1890
movaps %xmm0, 0x70(%rsp)
movaps 0xcbe39(%rip), %xmm0    # 0xf18a0
movaps %xmm0, 0x80(%rsp)
movabsq $0x3db5fd7fe1796495, %rax # imm = 0x3DB5FD7FE1796495
movq %rax, 0x90(%rsp)
movaps 0xcbe28(%rip), %xmm0    # 0xf18b0
movaps %xmm0, 0x40(%rsp)
movaps 0xcbe2c(%rip), %xmm0    # 0xf18c0
movaps %xmm0, 0x50(%rsp)
movabsq $0x3dd33dcfe54a3803, %rax # imm = 0x3DD33DCFE54A3803
movq %rax, 0x60(%rsp)
movapd 0xc8780(%rip), %xmm0    # 0xee230
xorpd %xmm3, %xmm0
movsd 0xcba44(%rip), %xmm2    # 0xf1500
mulsd %xmm3, %xmm2
movsd 0xcba40(%rip), %xmm1    # 0xf1508
movapd %xmm3, 0x10(%rsp)
ucomisd %xmm3, %xmm1
movapd %xmm0, 0x30(%rsp)
jb 0x25ae0
sqrtsd %xmm0, %xmm0
jmp 0x25aef
movsd %xmm2, (%rsp)
callq 0x82b0
movsd (%rsp), %xmm2
mulsd %xmm0, %xmm2
movsd 0xcba15(%rip), %xmm0    # 0xf1510
movsd %xmm2, (%rsp)
addsd %xmm2, %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x80a0
movsd %xmm0, 0x28(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x86a0
movsd %xmm0, 0x8(%rsp)
movsd 0xcb9b2(%rip), %xmm0    # 0xf14e0
divsd 0x10(%rsp), %xmm0
movsd 0xc9b44(%rip), %xmm1    # 0xef680
callq 0x8620
addsd %xmm0, %xmm0
addsd 0xc8c9b(%rip), %xmm0    # 0xee7e8
movapd %xmm0, %xmm1
addsd %xmm0, %xmm1
movsd 0xcb9bb(%rip), %xmm5    # 0xf1518
xorpd %xmm3, %xmm3
movl $0x5, %eax
movapd %xmm5, %xmm2
movapd %xmm1, %xmm5
mulsd %xmm2, %xmm5
subsd %xmm3, %xmm5
addsd 0x60(%rsp,%rax,8), %xmm5
decq %rax
movapd %xmm2, %xmm3
cmpq $0x2, %rax
ja 0x25b66
movsd 0xcb98f(%rip), %xmm6    # 0xf1520
xorpd %xmm4, %xmm4
movl $0x5, %eax
movapd %xmm6, %xmm3
movapd %xmm1, %xmm6
mulsd %xmm3, %xmm6
subsd %xmm4, %xmm6
addsd 0x30(%rsp,%rax,8), %xmm6
decq %rax
movapd %xmm3, %xmm4
cmpq $0x2, %rax
ja 0x25b9a
mulsd %xmm0, %xmm5
subsd %xmm2, %xmm5
addsd 0xcb95b(%rip), %xmm5    # 0xf1528
movsd %xmm5, 0x10(%rsp)
mulsd %xmm0, %xmm6
subsd %xmm3, %xmm6
addsd 0xcb94d(%rip), %xmm6    # 0xf1530
divsd (%rsp), %xmm6
movsd %xmm6, (%rsp)
movsd 0xc8693(%rip), %xmm1    # 0xee288
movapd 0x30(%rsp), %xmm0
callq 0x8620
movsd (%rsp), %xmm2
mulsd 0x8(%rsp), %xmm2
movsd 0x28(%rsp), %xmm1
mulsd 0x10(%rsp), %xmm1
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
addq $0x98, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: coef2
double coef2(double z){
  const double A[17] = {0.11535880704,0.6542816649e-1,0.26091774326,0.21959346500,
              0.12476382168,-0.43476292594,0.28357718605,-0.9751797082e-1,
              0.2182551823e-1,-0.350454097e-2,0.42778312e-3,
              -0.4127564e-4,0.323880e-5,-0.21123e-6,0.1165e-7,
              -0.55e-9,0.2e-10};
  const double B[16] = {0.10888288487,-0.17511655051,0.13887871101,-0.11469998998,
             0.22377807641,-0.18546243714,0.8063565186e-1,
             -0.2208847864e-1,0.422444527e-2,-0.60131028e-3,
             0.6653890e-4,-0.590842e-5,0.43131e-6,-0.2638e-7,
             0.137e-8,-0.6e-10};
  //Ej = 3^(-j/3)/Gamma(j/3);
  double E1 = 0.355028053887817, E2 = 0.258819403792807;
  double x,FA,FB,Ai;
  x = -(z/7.0)*(z/7.0)*(z/7.0);
  FA = E1*cheb(x,17,A);
  FB = E2*z*cheb(x,16,B);
  Ai = FA-FB;
  //Bi = sqrt(3)*(FA+FB);
  return Ai;
}

// Assembly:
movapd %xmm0, %xmm1
divsd 0xc9b35(%rip), %xmm1    # 0xef768
movapd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm2, %xmm2
movsd 0xc8b9d(%rip), %xmm1    # 0xee7e8
subsd %xmm2, %xmm1
movapd %xmm1, %xmm4
addsd %xmm1, %xmm4
movsd 0xcb8b9(%rip), %xmm2    # 0xf1518
xorpd %xmm5, %xmm5
movl $0x11, %eax
leaq 0xcbd81(%rip), %rcx     # 0xf19f0
movapd %xmm2, %xmm3
movapd %xmm4, %xmm2
mulsd %xmm3, %xmm2
subsd %xmm5, %xmm2
addsd -0x10(%rcx,%rax,8), %xmm2
decq %rax
movapd %xmm3, %xmm5
cmpq $0x2, %rax
ja 0x25c6f
movsd 0xcb89e(%rip), %xmm5    # 0xf1538
xorpd %xmm7, %xmm7
movl $0x10, %eax
leaq 0xcbdd6(%rip), %rcx     # 0xf1a80
movapd %xmm5, %xmm6
movapd %xmm4, %xmm5
mulsd %xmm6, %xmm5
subsd %xmm7, %xmm5
addsd -0x10(%rcx,%rax,8), %xmm5
decq %rax
movapd %xmm6, %xmm7
cmpq $0x2, %rax
ja 0x25caa
mulsd 0xcb86b(%rip), %xmm0    # 0xf1540
unpcklpd %xmm6, %xmm3            # xmm3 = xmm3[0],xmm6[0]
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
unpcklpd %xmm5, %xmm2            # xmm2 = xmm2[0],xmm5[0]
mulpd %xmm1, %xmm2
subpd %xmm3, %xmm2
addpd 0xcbbdf(%rip), %xmm2    # 0xf18d0
movapd 0xcbbe7(%rip), %xmm1    # 0xf18e0
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
mulpd %xmm2, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
subsd %xmm0, %xmm1
movapd %xmm1, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: coef3
double coef3(double z){
  const double A[20] = {1.2974695794,-0.20230907821,
              -0.45786169516,0.12953331987,0.6983827954e-1,
              -0.3005148746e-1,-0.493036334e-2,0.390425474e-2,
              -0.1546539e-4,-0.32193999e-3,0.3812734e-4,0.1714935e-4,
              -0.416096e-5,-0.50623e-6,0.26346e-6,-0.281e-8,
              -0.1122e-7,0.120e-8,0.31e-9,-0.7e-10};
  /**
double B[25]={0.47839902387,-0.6881732880e-1,0.20938146768,
            -0.3988095886e-1,0.4758441683e-1,-0.812296149e-2,
            0.462845913e-2,0.70010098e-3,-0.75611274e-3,
            0.68958657e-3,-0.33621865e-3,0.14501668e-3,-0.4766359e-4,
            0.1251965e-4,-0.193012e-5,-0.19032e-6,0.29390e-6,
            -0.13436e-6,0.4231e-7,-0.967e-8,0.135e-8,0.7e-10,
            -0.12e-9,0.4e-10,-0.1e-10};
  */
  double x,EX,EY,Ai;
  x = z/7.0;
  EX = exp(1.75*z);
  EY = 1.0/EX;

  Ai = EY*cheb(x,20,A);
  //Bi = EX*cheb(x,25,&(B[0]));
  return Ai;
}

// Assembly:
pushq %rax
movapd %xmm0, %xmm1
divsd 0xc9a49(%rip), %xmm1    # 0xef768
movsd %xmm1, (%rsp)
mulsd 0xcb81c(%rip), %xmm0    # 0xf1548
callq 0x8670
movsd (%rsp), %xmm5
addsd %xmm5, %xmm5
addsd 0xc8aa6(%rip), %xmm5    # 0xee7e8
movapd %xmm5, %xmm2
addsd %xmm5, %xmm2
movsd 0xcb7fe(%rip), %xmm1    # 0xf1550
xorpd %xmm4, %xmm4
movl $0x14, %eax
leaq 0xcbd9e(%rip), %rcx     # 0xf1b00
movapd %xmm1, %xmm3
movapd %xmm2, %xmm1
mulsd %xmm3, %xmm1
subsd %xmm4, %xmm1
addsd -0x10(%rcx,%rax,8), %xmm1
decq %rax
movapd %xmm3, %xmm4
cmpq $0x2, %rax
ja 0x25d62
movsd 0xc84d3(%rip), %xmm2    # 0xee260
divsd %xmm0, %xmm2
mulsd %xmm1, %xmm5
subsd %xmm3, %xmm5
addsd 0xcb7b7(%rip), %xmm5    # 0xf1558
mulsd %xmm2, %xmm5
movapd %xmm5, %xmm0
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: coef4
double coef4(double z){
  const double A[7]={0.56265126169,-0.76136219e-3,0.765252e-5,-0.14228e-6,
            0.380e-8,-0.13e-9,0.1e-10};
  /**  double B[7]={1.1316635302,0.166141673e-02,0.1968882e-04,0.47047e-06,
            0.1769e-7,0.94e-9,0.6e-10};
  */
  double x,Y,t,zeta,EX,EY,Ai;

  Y = z*sqrt(z);
  zeta = 2.0/3.0*Y;
  EX = exp(zeta);
  EY = 1.0/EX;
  x = 7*sqrt(7)/Y;
  t = pow(z,-0.25);

  Ai = t*EY*cheb(x, 7, A);
  //Bi = t*EX*cheb(x, 7, &(B[0]));
  return Ai;
}

// Assembly:
subq $0x18, %rsp
movapd %xmm0, %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
jb 0x25dcc
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
jmp 0x25ddb
movapd %xmm1, %xmm0
callq 0x82b0
movsd 0x8(%rsp), %xmm1
mulsd %xmm1, %xmm0
movapd %xmm0, %xmm1
movsd %xmm0, (%rsp)
movsd 0xcb700(%rip), %xmm0    # 0xf14f0
mulsd %xmm1, %xmm0
callq 0x8670
movsd %xmm0, 0x10(%rsp)
movsd 0xcb759(%rip), %xmm0    # 0xf1560
divsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
movsd 0xc846f(%rip), %xmm1    # 0xee288
movsd 0x8(%rsp), %xmm0
callq 0x8620
movsd (%rsp), %xmm5
addsd %xmm5, %xmm5
addsd 0xc89b3(%rip), %xmm5    # 0xee7e8
movapd %xmm5, %xmm3
addsd %xmm5, %xmm3
movsd 0xcb723(%rip), %xmm1    # 0xf1568
movl $0x7, %eax
leaq 0xcbd4f(%rip), %rcx     # 0xf1ba0
xorpd %xmm4, %xmm4
movapd %xmm1, %xmm2
movapd %xmm3, %xmm1
mulsd %xmm2, %xmm1
subsd %xmm4, %xmm1
addsd -0x10(%rcx,%rax,8), %xmm1
decq %rax
movapd %xmm2, %xmm4
cmpq $0x2, %rax
ja 0x25e55
movsd 0xc83e0(%rip), %xmm3    # 0xee260
divsd 0x10(%rsp), %xmm3
mulsd %xmm3, %xmm0
mulsd %xmm1, %xmm5
subsd %xmm2, %xmm5
addsd 0xcb6d6(%rip), %xmm5    # 0xf1570
mulsd %xmm0, %xmm5
movapd %xmm5, %xmm0
addq $0x18, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: cheb
double cheb(double x, int n, const double A[]){
  double b,d,u,y,c,F;
  int j;
  b = 0.0;
  d = A[n-1];
  u = 2*x-1.0;
  y = 2*u;

  for (j=(n-1);j>1;j--){
    c=b;
    b=d;
    d=y*b-c+A[j-1];
  }
  F = u*d-b+0.5*A[0];
  return F;
}

// Assembly:
movslq %edi, %rax
movsd -0x8(%rsi,%rax,8), %xmm1
addsd %xmm0, %xmm0
addsd 0xc892c(%rip), %xmm0    # 0xee7e8
xorpd %xmm2, %xmm2
cmpl $0x3, %edi
jl 0x25efb
decl %edi
movapd %xmm0, %xmm3
addsd %xmm0, %xmm3
movl %edi, %eax
incq %rax
xorpd %xmm4, %xmm4
movapd %xmm1, %xmm2
movapd %xmm3, %xmm1
mulsd %xmm2, %xmm1
subsd %xmm4, %xmm1
addsd -0x10(%rsi,%rax,8), %xmm1
decq %rax
movapd %xmm2, %xmm4
cmpq $0x2, %rax
ja 0x25ed8
mulsd %xmm1, %xmm0
subsd %xmm2, %xmm0
movsd (%rsi), %xmm1
mulsd 0xc8dc1(%rip), %xmm1    # 0xeecd0
addsd %xmm0, %xmm1
movapd %xmm1, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: get_value_at_small_phi
double get_value_at_small_phi(int K,int l,double beta,double Phi){
  double nu, lhs, alpha, xval;

  nu = l+0.5;
  lhs = 1.0/nu*log(2*Phi*nu);
  alpha = -2*lhs/5.0*(1.0+2.0*cosh(1.0/3.0*acosh(1.0+375/(16.0*lhs*lhs))));
  xval = nu/cosh(alpha)/beta;
  //Correct for geometry:
  if (K==1)
    xval *= asin(l/beta)/(l/beta);
  else if(K==-1)
    xval *= asinh(l/beta)/(l/beta);
  return xval;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movsd %xmm0, 0x18(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movl %edi, %ebx
movsd 0xc8d9c(%rip), %xmm2    # 0xeecd0
movsd %xmm0, 0x8(%rsp)
addsd %xmm0, %xmm2
movsd %xmm2, (%rsp)
movsd 0xc8315(%rip), %xmm0    # 0xee260
divsd %xmm2, %xmm0
movsd %xmm0, 0x10(%rsp)
addsd %xmm1, %xmm1
mulsd %xmm2, %xmm1
movapd %xmm1, %xmm0
callq 0x82c0
mulsd 0x10(%rsp), %xmm0
movsd 0xc97ec(%rip), %xmm1    # 0xef760
mulsd %xmm0, %xmm1
divsd 0xc82f0(%rip), %xmm1    # 0xee270
movsd %xmm1, 0x10(%rsp)
movsd 0xc886a(%rip), %xmm1    # 0xee7f8
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd 0xcb4a2(%rip), %xmm0    # 0xf1440
divsd %xmm1, %xmm0
addsd 0xc82b6(%rip), %xmm0    # 0xee260
callq 0x8630
mulsd 0xcb491(%rip), %xmm0    # 0xf1448
callq 0x84a0
addsd %xmm0, %xmm0
addsd 0xc8298(%rip), %xmm0    # 0xee260
mulsd 0x10(%rsp), %xmm0
callq 0x84a0
movsd 0x18(%rsp), %xmm1
movsd (%rsp), %xmm2
divsd %xmm0, %xmm2
movapd %xmm2, %xmm0
divsd %xmm1, %xmm0
cmpl $-0x1, %ebx
je 0x26014
cmpl $0x1, %ebx
jne 0x2604b
movsd 0x8(%rsp), %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsp)
movsd %xmm0, (%rsp)
movapd %xmm2, %xmm0
callq 0x85a0
jmp 0x26032
movsd 0x8(%rsp), %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsp)
movsd %xmm0, (%rsp)
movapd %xmm2, %xmm0
callq 0x8470
divsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd (%rsp), %xmm0
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/common.c
// Function: get_number_of_titles
int get_number_of_titles(char * titlestring){
  int i;
  int number_of_titles=0;

  for (i=0; i<strlen(titlestring); i++){
    if (titlestring[i] == '\t')
      number_of_titles++;
  }
  return number_of_titles;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x8180
testq %rax, %rax
je 0x30c5a
xorl %edx, %edx
xorl %ecx, %ecx
xorl %esi, %esi
cmpb $0x9, (%rbx,%rdx)
sete %sil
addl %esi, %ecx
incq %rdx
cmpq %rdx, %rax
jne 0x30c44
jmp 0x30c5c
xorl %ecx, %ecx
movl %ecx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/common.c
// Function: file_exists
int file_exists(const char *fname){
  FILE *file = fopen(fname, "r");
  if (file != NULL){
    fclose(file);
    return _TRUE_;
  }

  return _FALSE_;

}

// Assembly:
pushq %rax
leaq 0xdc13c(%rip), %rsi     # 0x10cda4
callq 0x8400
testq %rax, %rax
je 0x30c81
movq %rax, %rdi
callq 0x83a0
movl $0x1, %eax
jmp 0x30c83
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/common.c
// Function: string_begins_with
int string_begins_with(char* thestring, char beginchar){

  /** Define temporary variables */
  int int_temp=0;
  int strlength = strlen((thestring));
  int result = _FALSE_;

  /** Check through the beginning of the string to see if the beginchar is met */
  for(int_temp=0;int_temp<strlength;++int_temp){
    /* Skip over whitespaces (very important) */
    if(thestring[int_temp]==' ' || thestring[int_temp]=='\t'){continue;}
    /* If the beginchar is met, everything is good */
    else if(thestring[int_temp]==beginchar){result=_TRUE_;}
    /* If something else is met, cancel */
    else{break;}
  }

  return result;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
callq 0x8180
testl %eax, %eax
jle 0x30ce7
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %edx, %edx
xorl %ecx, %ecx
movzbl (%r14,%rdx), %edi
cmpl $0x9, %edi
je 0x30ccd
cmpl $0x20, %edi
jne 0x30cd1
movl %ecx, %esi
jmp 0x30cdb
movl $0x1, %esi
cmpb %bl, %dil
jne 0x30ce9
incq %rdx
movl %esi, %ecx
cmpq %rdx, %rax
jne 0x30cbe
jmp 0x30ce9
xorl %ecx, %ecx
movl %ecx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../source/input.c
// Function: input_init
int input_init(int argc,
               char **argv,
               struct precision * ppr,
               struct background *pba,
               struct thermodynamics *pth,
               struct perturbations *ppt,
               struct transfer *ptr,
               struct primordial *ppm,
               struct harmonic *phr,
               struct fourier * pfo,
               struct lensing *ple,
               struct distortions *psd,
               struct output *pop,
               ErrorMsg errmsg){

  /** Summary: */

  /** Define local variables */
  struct file_content fc;        // Structure with all parameters

  /** Find and read input file */
  class_call(input_find_file(argc,
                             argv,
                             &fc,
                             errmsg),
             errmsg,
             errmsg);

  /** Initialize all parameters given the input 'file_content' structure.
      If its size is null, all parameters take their default values. */
  class_call(input_read_from_file(&fc,ppr,pba,pth,ppt,ptr,ppm,phr,pfo,ple,psd,pop,
                                  errmsg),
             errmsg,
             errmsg);

  /** Free local struture */
  class_call(parser_free(&fc),
             errmsg,
             errmsg);

  return _SUCCESS_;

}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x830, %rsp            # imm = 0x830
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq 0x898(%rsp), %rbx
leaq 0x8(%rsp), %rdx
movq %rbx, %rcx
callq 0x3150e
testl %eax, %eax
je 0x31418
leaq 0xbd00c(%rip), %rsi     # 0xee3f0
leaq 0xc19d5(%rip), %rdx     # 0xf2dc0
leaq 0x30(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0xbcc30(%rip), %rsi     # 0xee034
leaq 0xc19de(%rip), %rdx     # 0xf2de9
movq %rbx, %rdi
movl $0x4b, %ecx
jmp 0x314ee
movq 0x860(%rsp), %r9
subq $0x8, %rsp
leaq 0x10(%rsp), %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
pushq %rbx
pushq 0x8a0(%rsp)
pushq 0x8a0(%rsp)
pushq 0x8a0(%rsp)
pushq 0x8a0(%rsp)
pushq 0x8a0(%rsp)
pushq 0x8a0(%rsp)
callq 0x31913
addq $0x40, %rsp
testl %eax, %eax
je 0x314a5
leaq 0xbcf7c(%rip), %rsi     # 0xee3f0
leaq 0xc1979(%rip), %rdx     # 0xf2df4
leaq 0x30(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0xbcba0(%rip), %rsi     # 0xee034
leaq 0xc194e(%rip), %rdx     # 0xf2de9
movq %rbx, %rdi
movl $0x52, %ecx
jmp 0x314ee
leaq 0x8(%rsp), %rdi
callq 0x1e705
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x1, %ecx
jne 0x314fd
leaq 0xbcf31(%rip), %rsi     # 0xee3f0
leaq 0xc197c(%rip), %rdx     # 0xf2e42
leaq 0x30(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0xbcb55(%rip), %rsi     # 0xee034
leaq 0xc1903(%rip), %rdx     # 0xf2de9
movq %rbx, %rdi
movl $0x57, %ecx
movq %r14, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %eax
addq $0x830, %rsp            # imm = 0x830
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq