LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/nrutil.c
// Function: dvector
double *dvector(long nl, long nh)
     /* allocate a double vector with subscript range v[nl..nh] */
{
  double *v;
  
  v=(double *)malloc((size_t) ((nh-nl+1+NR_END)*sizeof(double)));
  if (!v) nrerror("allocation failure in dvector()");
  return v-nl+NR_END;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
subq %rdi, %rsi
leaq 0x10(,%rsi,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x44ece
shlq $0x3, %rbx
subq %rbx, %rax
addq $0x8, %rax
popq %rbx
retq
leaq 0x131a4(%rip), %rdi     # 0x58079
callq 0x44d90
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/nrutil.c
// Function: matrix
float **matrix(long nrl, long nrh, long ncl, long nch)
     /* allocate a float matrix with subscript range m[nrl..nrh][ncl..nch] */
{
  long i, nrow=nrh-nrl+1,ncol=nch-ncl+1;
  float **m;

  /* allocate pointers to rows */
  m=(float **) malloc((size_t)((nrow+NR_END)*sizeof(float*)));
  if (!m) nrerror("allocation failure 1 in matrix()");
  m += NR_END;
  m -= nrl;

  /* allocate rows and set pointers to them */
  m[nrl]=(float *) malloc((size_t)((nrow*ncol+NR_END)*sizeof(float)));
  if (!m[nrl]) nrerror("allocation failure 2 in matrix()");
  m[nrl] += NR_END;
  m[nrl] -= ncl;

  for(i=nrl+1;i<=nrh;i++) m[i]=m[i-1]+ncol;

  /* return pointer to array of pointers to rows */
  return m;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
movq %rsi, %rbp
subq %rdi, %rbp
leaq 0x10(,%rbp,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x44f86
movq %rax, %r15
subq %r13, %rbx
incq %rbx
leaq 0x4(,%rbp,4), %rdi
imulq %rbx, %rdi
addq $0x4, %rdi
callq 0x21d0
testq %rax, %rax
je 0x44f92
movq %rax, %rcx
leaq (,%r12,8), %rdx
movq %r15, %rax
subq %rdx, %rax
addq $0x8, %rax
shlq $0x2, %r13
subq %r13, %rcx
addq $0x4, %rcx
cmpq %r12, %r14
cmovleq %r12, %r14
movq %rcx, 0x8(%r15)
subq %r12, %r14
xorl %ecx, %ecx
shlq $0x2, %rbx
cmpq %rcx, %r14
je 0x44f77
movq 0x8(%r15,%rcx,8), %rdx
addq %rbx, %rdx
movq %rdx, 0x10(%r15,%rcx,8)
incq %rcx
jmp 0x44f60
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1310c(%rip), %rdi     # 0x58099
callq 0x44d90
leaq 0x13121(%rip), %rdi     # 0x580ba
callq 0x44d90
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/nrutil.c
// Function: dmatrix
double **dmatrix(long nrl, long nrh, long ncl, long nch)
/* allocate a double matrix with subscript range m[nrl..nrh][ncl..nch] */
{
  long i, nrow=nrh-nrl+1,ncol=nch-ncl+1;
  double **m;
  
  /* allocate pointers to rows */
  m=(double **) malloc((size_t)((nrow+NR_END)*sizeof(double*)));
  if (!m) nrerror("allocation failure 1 in matrix()");
  m += NR_END;
  m -= nrl;

  /* allocate rows and set pointers to them */
  m[nrl]=(double *) malloc((size_t)((nrow*ncol+NR_END)*sizeof(double)));
  if (!m[nrl]) nrerror("allocation failure 2 in matrix()");
  m[nrl] += NR_END;
  m[nrl] -= ncl;
  
  for(i=nrl+1;i<=nrh;i++) m[i]=m[i-1]+ncol;
  
  /* return pointer to array of pointers to rows */
  return m;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
movq %rsi, %rbp
subq %rdi, %rbp
leaq 0x10(,%rbp,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x45051
movq %rax, %r15
subq %r13, %rbx
incq %rbx
shlq $0x3, %rbp
addq $0x8, %rbp
imulq %rbx, %rbp
addq $0x8, %rbp
movq %rbp, %rdi
callq 0x21d0
testq %rax, %rax
je 0x4505d
movq %rax, %rcx
leaq (,%r12,8), %rdx
movq %r15, %rax
subq %rdx, %rax
addq $0x8, %rax
shlq $0x3, %r13
subq %r13, %rcx
addq $0x8, %rcx
cmpq %r12, %r14
cmovleq %r12, %r14
movq %rcx, 0x8(%r15)
subq %r12, %r14
xorl %ecx, %ecx
shlq $0x3, %rbx
cmpq %rcx, %r14
je 0x45042
movq 0x8(%r15,%rcx,8), %rdx
addq %rbx, %rdx
movq %rdx, 0x10(%r15,%rcx,8)
incq %rcx
jmp 0x4502b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x13041(%rip), %rdi     # 0x58099
callq 0x44d90
leaq 0x13056(%rip), %rdi     # 0x580ba
callq 0x44d90
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/nrutil.c
// Function: imatrix
int **imatrix(long nrl, long nrh, long ncl, long nch)
/* allocate a int matrix with subscript range m[nrl..nrh][ncl..nch] */
{
  long i, nrow=nrh-nrl+1,ncol=nch-ncl+1;
  int **m;

  /* allocate pointers to rows */
  m=(int **) malloc((size_t)((nrow+NR_END)*sizeof(int*)));
  if (!m) nrerror("allocation failure 1 in matrix()");
  m += NR_END;
  m -= nrl;
  

  /* allocate rows and set pointers to them */
  m[nrl]=(int *) malloc((size_t)((nrow*ncol+NR_END)*sizeof(int)));
  if (!m[nrl]) nrerror("allocation failure 2 in matrix()");
  m[nrl] += NR_END;
  m[nrl] -= ncl;
  
  for(i=nrl+1;i<=nrh;i++) m[i]=m[i-1]+ncol;
  
  /* return pointer to array of pointers to rows */
  return m;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
movq %rsi, %rbp
subq %rdi, %rbp
leaq 0x10(,%rbp,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x45115
movq %rax, %r15
subq %r13, %rbx
incq %rbx
leaq 0x4(,%rbp,4), %rdi
imulq %rbx, %rdi
addq $0x4, %rdi
callq 0x21d0
testq %rax, %rax
je 0x45121
movq %rax, %rcx
leaq (,%r12,8), %rdx
movq %r15, %rax
subq %rdx, %rax
addq $0x8, %rax
shlq $0x2, %r13
subq %r13, %rcx
addq $0x4, %rcx
cmpq %r12, %r14
cmovleq %r12, %r14
movq %rcx, 0x8(%r15)
subq %r12, %r14
xorl %ecx, %ecx
shlq $0x2, %rbx
cmpq %rcx, %r14
je 0x45106
movq 0x8(%r15,%rcx,8), %rdx
addq %rbx, %rdx
movq %rdx, 0x10(%r15,%rcx,8)
incq %rcx
jmp 0x450ef
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x12f7d(%rip), %rdi     # 0x58099
callq 0x44d90
leaq 0x12f92(%rip), %rdi     # 0x580ba
callq 0x44d90
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/nrutil.c
// Function: submatrix
float **submatrix(float **a, long oldrl, long oldrh, long oldcl, long oldch,
		  long newrl, long newcl)
/* point a submatrix [newrl..][newcl..] to a[oldrl..oldrh][oldcl..oldch] */
{
  long i,j,nrow=oldrh-oldrl+1,ncol=oldcl-newcl;
  float **m;

  /* allocate array of pointers to rows */
  m=(float **) malloc((size_t) ((nrow+NR_END)*sizeof(float*)));
  if (!m) nrerror("allocation failure in submatrix()");
  m += NR_END;
  m -= newrl;

  /* set pointers to rows */
  for(i=oldrl,j=newrl;i<=oldrh;i++,j++) m[j]=a[i]+ncol;

  /* return pointer to array of pointers to rows */
  return m;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %r13
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq %rdx, %rax
subq %rsi, %rax
leaq 0x10(,%rax,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x45199
subq 0x30(%rsp), %rbx
addq $0x8, %rax
shlq $0x3, %r13
movq %rax, %rcx
subq %r13, %rcx
shlq $0x2, %rbx
cmpq %r14, %r15
jg 0x4518c
movq (%r12,%r15,8), %rdx
addq %rbx, %rdx
movq %rdx, (%rax)
incq %r15
addq $0x8, %rax
jmp 0x45174
movq %rcx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x12f3b(%rip), %rdi     # 0x580db
callq 0x44d90
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/nrutil.c
// Function: convert_matrix
float **convert_matrix(float *a, long nrl, long nrh, long ncl, long nch)
/* allocate a float matrix m[nrl..nrh][ncl..nch] that points to the matrix
declared in the standard C manner as a[nrow][ncol], where nrow=nrh-nrl+1
and ncol=nch-ncl+1. The routine should be called with the address
&a[0][0] as the first argument. */
{
  long i,j,nrow=nrh-nrl+1,ncol=nch-ncl+1;
  float **m;

  /* allocate pointers to rows */
  m=(float **) malloc((size_t) ((nrow+NR_END)*sizeof(float*)));
  if (!m) nrerror("allocation failure in convert_matrix()");
  m += NR_END;
  m -= nrl;

  /* set pointers to rows */
  m[nrl]=a-ncl;
  for(i=1,j=nrl+1;i<nrow;i++,j++) m[j]=m[j-1]+ncol;
  /* return pointer to array of pointers to rows */
  return m;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r12
subq %rsi, %r14
leaq 0x10(,%r14,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x45221
subq %r15, %rbx
shlq $0x3, %r13
negq %r13
leaq (%rax,%r13), %rcx
addq $0x8, %rcx
shlq $0x2, %r15
subq %r15, %r12
movq %r12, 0x8(%rax)
xorl %edx, %edx
testq %r14, %r14
cmovleq %rdx, %r14
cmpq %rdx, %r14
je 0x45214
movq 0x8(%rax,%rdx,8), %rsi
leaq (%rsi,%rbx,4), %rsi
addq $0x4, %rsi
movq %rsi, 0x10(%rax,%rdx,8)
incq %rdx
jmp 0x451f8
movq %rcx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x12ed5(%rip), %rdi     # 0x580fd
callq 0x44d90
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/nrutil.c
// Function: f3tensor
float ***f3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh)
/* allocate a float 3tensor with range t[nrl..nrh][ncl..nch][ndl..ndh] */
{
  long i,j,nrow=nrh-nrl+1,ncol=nch-ncl+1,ndep=ndh-ndl+1;
  float ***t;

  /* allocate pointers to pointers to rows */
  t=(float ***) malloc((size_t)((nrow+NR_END)*sizeof(float**)));
  if (!t) nrerror("allocation failure 1 in f3tensor()");
  t += NR_END;
  t -= nrl;

  /* allocate pointers to rows and set pointers to them */
  t[nrl]=(float **) malloc((size_t)((nrow*ncol+NR_END)*sizeof(float*)));
  if (!t[nrl]) nrerror("allocation failure 2 in f3tensor()");
  t[nrl] += NR_END;
  t[nrl] -= ncl;

  /* allocate rows and set pointers to them */
  t[nrl][ncl]=(float *) malloc((size_t)((nrow*ncol*ndep+NR_END)*sizeof(float)));
  if (!t[nrl][ncl]) nrerror("allocation failure 3 in f3tensor()");
  t[nrl][ncl] += NR_END;
  t[nrl][ncl] -= ndl;

  for(j=ncl+1;j<=nch;j++) t[nrl][j]=t[nrl][j-1]+ndep;
  for(i=nrl+1;i<=nrh;i++) {
    t[i]=t[i-1]+ncol;
    t[i][ncl]=t[i-1][ncl]+ncol*ndep;
    for(j=ncl+1;j<=nch;j++) t[i][j]=t[i][j-1]+ndep;
  }

  /* return pointer to array of pointers to rows */
  return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x8(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r13
movq %rsi, 0x20(%rsp)
movq %rsi, %r12
subq %rdi, %r12
leaq 0x10(,%r12,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x453af
movq %rax, %rbp
movq %r14, %rbx
subq %r15, %rbx
incq %rbx
incq %r12
imulq %rbx, %r12
movq %r12, 0x18(%rsp)
leaq 0x8(,%r12,8), %rdi
callq 0x21d0
testq %rax, %rax
je 0x453bb
movq %rax, %r12
movq 0x8(%rsp), %rcx
subq 0x10(%rsp), %rcx
incq %rcx
addq $0x8, %rbp
leaq (,%r15,8), %rax
negq %rax
addq %r12, %rax
addq $0x8, %rax
movq %rax, (%rbp)
movq 0x18(%rsp), %rax
movq %rcx, 0x8(%rsp)
imulq %rcx, %rax
leaq 0x4(,%rax,4), %rdi
callq 0x21d0
movq %rax, 0x8(%r12)
testq %rax, %rax
je 0x453c7
leaq (,%r13,8), %rcx
subq %rcx, %rbp
movq 0x10(%rsp), %rcx
shlq $0x2, %rcx
subq %rcx, %rax
addq $0x4, %rax
movq %rax, 0x8(%r12)
leaq 0x1(%r15), %rax
addq $0x10, %r12
movq 0x8(%rsp), %r9
leaq (,%r9,4), %rcx
movq %rax, %rdx
movq 0x20(%rsp), %r10
cmpq %r14, %rdx
jg 0x45347
movq -0x8(%r12), %rsi
addq %rcx, %rsi
movq %rsi, (%r12)
incq %rdx
addq $0x8, %r12
jmp 0x4532d
imulq %rbx, %r9
cmpq %r13, %r10
cmovleq %r13, %r10
leaq 0x10(,%r14,8), %rdx
shlq $0x2, %r9
cmpq %r10, %r13
je 0x4539d
movq (%rbp,%r13,8), %rsi
incq %r13
leaq (%rsi,%rbx,8), %rdi
movq %rdi, (%rbp,%r13,8)
movq (%rsi,%r15,8), %r8
addq %r9, %r8
movq %r8, (%rdi,%r15,8)
addq %rdx, %rsi
movq %rax, %rdi
cmpq %r14, %rdi
jg 0x4535e
movq -0x8(%rsi), %r8
addq %rcx, %r8
movq %r8, (%rsi)
incq %rdi
addq $0x8, %rsi
jmp 0x45385
movq %rbp, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x12d6e(%rip), %rdi     # 0x58124
callq 0x44d90
leaq 0x12d85(%rip), %rdi     # 0x58147
callq 0x44d90
leaq 0x12d9c(%rip), %rdi     # 0x5816a
callq 0x44d90
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/pythag.c
// Function: pythag
double pythag(double a, double b)
{
  double absa,absb;
  absa=fabs(a);
  absb=fabs(b);
  if (absa > absb) return absa*sqrt(1.0+SQR(absb/absa));
  else return (absb == 0.0 ? 0.0 : absb*sqrt(1.0+SQR(absa/absb)));
}

// Assembly:
movapd %xmm0, %xmm2
movapd 0xbd5c(%rip), %xmm3     # 0x51240
andpd %xmm3, %xmm2
andpd %xmm1, %xmm3
ucomisd %xmm3, %xmm2
jbe 0x454fc
divsd %xmm2, %xmm3
movapd %xmm2, %xmm0
jmp 0x45515
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jne 0x45509
jp 0x45509
retq
movapd %xmm3, %xmm0
divsd %xmm3, %xmm2
movapd %xmm2, %xmm3
cvtsd2ss %xmm3, %xmm1
leaq 0x1ebf0(%rip), %rax     # 0x64110
movss %xmm1, (%rax)
xorpd %xmm2, %xmm2
ucomiss %xmm2, %xmm1
mulss %xmm1, %xmm1
cvtss2sd %xmm1, %xmm1
movsd 0x5b0d(%rip), %xmm2     # 0x4b048
addsd %xmm2, %xmm1
jne 0x45547
jp 0x45547
movapd %xmm2, %xmm1
sqrtsd %xmm1, %xmm1
mulsd %xmm1, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/Profit_aux.c
// Function: OpenFile
FILE *OpenFile(char *filename, char *envvar, char *mode, int *noenv)
{
   char *datadir,
        buffer[160];
   FILE *fp;

   if(filename == NULL || filename[0] == '\0')
      return(NULL);

   if(noenv != NULL) *noenv = 0;

   /* Try to open the filename as specified                             */
   if((fp=fopen(filename,mode)) == NULL)
   {
      /* Failed, so build alternative directory/filename                */
#if (unix || __unix__ || MS_WINDOWS || __unix || __MACH__ || __APPLE__)
      if((datadir = getenv(envvar)) != NULL)
      {
         if(datadir[strlen(datadir)-1] == '/')
            sprintf(buffer,"%s%s",datadir,filename);
         else
            sprintf(buffer,"%s/%s",datadir,filename);
         fp = fopen(buffer,mode);
      }
      else
      {
         if(noenv != NULL) *noenv = 1;
         return(NULL);
      }
#else
      sprintf(buffer,"%s:%s",envvar,filename);
      fp = fopen(buffer,mode);
#endif
   }

   return(fp);
}

// Assembly:
testq %rdi, %rdi
je 0x46331
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %r14
cmpb $0x0, (%rdi)
je 0x46340
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r12
testq %rcx, %rcx
je 0x462d1
andl $0x0, (%r15)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2210
testq %rax, %rax
jne 0x46342
movq %r12, %rdi
callq 0x2040
testq %rax, %rax
je 0x46334
movq %rax, %r12
movq %rax, %rdi
callq 0x20d0
cmpb $0x2f, -0x1(%r12,%rax)
leaq 0x99b6(%rip), %rax      # 0x4fcbc
leaq 0x10b41(%rip), %rsi     # 0x56e4e
cmoveq %rax, %rsi
movq %rsp, %r15
movq %r15, %rdi
movq %r12, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x2260
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2210
jmp 0x46342
xorl %eax, %eax
retq
testq %r15, %r15
je 0x46340
movl $0x1, (%r15)
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/Profit_aux.c
// Function: Array2D
char **Array2D(int size,
               int dim1,
               int dim2)
{
   char  **array  = NULL;
   int   i;

   /* Allocate memory for the outer dimension array                     */
   if((array = (char **)malloc(dim1 * sizeof(char *))) == NULL)
      return(NULL);

   /* Set all positions to NULL                                         */
   for(i=0; i<dim1; i++)   array[i] = NULL;

   /* Allocate memory for each array in the second dimension            */
   for(i=0; i<dim1; i++)
   {
      /* If allocation fails, jump to badexit                           */
      if((array[i] = (char *)malloc(dim2 * size)) == NULL)
         goto badexit;
   }

   return(array);

badexit:
   for(i=0; i<dim1; i++)   if(array[i]) free(array[i]);
   free(array);
   return(NULL);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r14d
movl %edi, %r15d
movslq %esi, %rdi
shlq $0x3, %rdi
callq 0x21d0
movq %rax, %rbx
xorl %eax, %eax
testq %rbx, %rbx
je 0x463ce
testl %r14d, %r14d
cmovlel %eax, %r14d
cmpq %rax, %r14
je 0x4638d
andq $0x0, (%rbx,%rax,8)
incq %rax
jmp 0x4637e
imull %r15d, %ebp
movslq %ebp, %r15
xorl %r12d, %r12d
cmpq %r12, %r14
je 0x463d0
movq %r15, %rdi
callq 0x21d0
movq %rax, (%rbx,%r12,8)
incq %r12
testq %rax, %rax
jne 0x46397
xorl %r15d, %r15d
cmpq %r15, %r14
je 0x463c6
movq (%rbx,%r15,8), %rdi
callq 0x2050
incq %r15
jmp 0x463b3
movq %rbx, %rdi
callq 0x2050
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/NeedlemanWunsch.c
// Function: CalcMDMScore
int CalcMDMScore(char resa, char resb)
{
   int        i,j;
   static int NWarn = 0;
   int       Warned = 0;

   for(i=0;i<sMDMSize;i++)
   {
      if(resa==sMDM_AAList[i]) break;
   }
   if(i==sMDMSize)
   {
      if(NWarn < 10)
         printf("Residue %c not found in matrix\n",resa);
      else if(NWarn == 10)
         printf("More residues not found in matrix...\n");
      Warned = 1;
   }
   for(j=0;j<sMDMSize;j++)
   {
      if(resb==sMDM_AAList[j]) break;
   }
   if(j==sMDMSize)
   {
      if(NWarn < 10)
         printf("Residue %c not found in matrix\n",resb);
      else if(NWarn == 10)
         printf("More residues not found in matrix...\n");
      Warned = 1;
   }

   if(Warned)
   {
      NWarn++;
      return(0);
   }

   return(sMDMScore[i][j]);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl 0x2ef9a(%rip), %ebp     # 0x75a98
movq 0x2efa3(%rip), %rcx     # 0x75aa8
xorl %eax, %eax
testl %ebp, %ebp
movl $0x0, %r14d
cmovgl %ebp, %r14d
cmpq %rax, %r14
je 0x46b26
cmpb %dil, (%rcx,%rax)
je 0x46b23
incq %rax
jmp 0x46b13
movl %eax, %r14d
cmpl %ebp, %r14d
jne 0x46b5b
movl 0x2ef7f(%rip), %eax     # 0x75ab0
cmpl $0x9, %eax
jg 0x46b4a
movsbl %dil, %esi
leaq 0x1168b(%rip), %rdi     # 0x581cc
xorl %eax, %eax
callq 0x20f0
jmp 0x46b5b
cmpl $0xa, %eax
jne 0x46b5b
leaq 0x116d6(%rip), %rdi     # 0x5822c
callq 0x2090
movl 0x2ef37(%rip), %ecx     # 0x75a98
movq 0x2ef40(%rip), %rsi     # 0x75aa8
xorl %edx, %edx
testl %ecx, %ecx
movl $0x0, %eax
cmovgl %ecx, %eax
cmpq %rdx, %rax
je 0x46b85
cmpb %bl, (%rsi,%rdx)
je 0x46b83
incq %rdx
jmp 0x46b74
movl %edx, %eax
cmpl %ecx, %eax
jne 0x46ba7
movl 0x2ef21(%rip), %eax     # 0x75ab0
cmpl $0x9, %eax
jg 0x46bc1
movsbl %bl, %esi
leaq 0x1162e(%rip), %rdi     # 0x581cc
xorl %eax, %eax
callq 0x20f0
jmp 0x46bd2
cmpl %ebp, %r14d
je 0x46bd2
movq 0x2eeed(%rip), %rcx     # 0x75aa0
movl %r14d, %edx
movq (%rcx,%rdx,8), %rcx
movl %eax, %eax
movl (%rcx,%rax,4), %eax
jmp 0x46bda
cmpl $0xa, %eax
jne 0x46bd2
leaq 0x1165f(%rip), %rdi     # 0x5822c
callq 0x2090
incl 0x2eed8(%rip)           # 0x75ab0
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/NeedlemanWunsch.c
// Function: CalcMDMScoreUC
int CalcMDMScoreUC(char resa, char resb)
{
   int        i,j;
   static int NWarn = 0;
   int       Warned = 0;

   resa = (islower(resa)?toupper(resa):resa);
   resb = (islower(resb)?toupper(resb):resb);

   for(i=0;i<sMDMSize;i++)
   {
      if(resa==sMDM_AAList[i]) break;
   }
   if(i==sMDMSize)
   {
      if(NWarn < 10)
         printf("Residue %c not found in matrix\n",resa);
      else if(NWarn == 10)
         printf("More residues not found in matrix...\n");
      Warned = 1;
   }
   for(j=0;j<sMDMSize;j++)
   {
      if(resb==sMDM_AAList[j]) break;
   }
   if(j==sMDMSize)
   {
      if(NWarn < 10)
         printf("Residue %c not found in matrix\n",resb);
      else if(NWarn == 10)
         printf("More residues not found in matrix...\n");
      Warned = 1;
   }

   if(Warned)
   {
      NWarn++;
      return(0);
   }

   return(sMDMScore[i][j]);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
callq 0x22c0
movq (%rax), %r14
movslq %ebp, %r15
testb $0x2, 0x1(%r14,%r15,2)
je 0x4763e
callq 0x2030
movq (%rax), %rax
movb (%rax,%r15,4), %bpl
movsbq %bl, %r15
testb $0x2, 0x1(%r14,%r15,2)
je 0x47656
callq 0x2030
movq (%rax), %rax
movb (%rax,%r15,4), %bl
movl 0x2e43b(%rip), %r14d    # 0x75a98
movq 0x2e444(%rip), %rcx     # 0x75aa8
xorl %eax, %eax
testl %r14d, %r14d
movl $0x0, %r15d
cmovgl %r14d, %r15d
cmpq %rax, %r15
je 0x47686
cmpb (%rcx,%rax), %bpl
je 0x47683
incq %rax
jmp 0x47673
movl %eax, %r15d
cmpl %r14d, %r15d
jne 0x476bb
movl 0x2e423(%rip), %eax     # 0x75ab4
cmpl $0x9, %eax
jg 0x476aa
movsbl %bpl, %esi
leaq 0x10b2b(%rip), %rdi     # 0x581cc
xorl %eax, %eax
callq 0x20f0
jmp 0x476bb
cmpl $0xa, %eax
jne 0x476bb
leaq 0x10b76(%rip), %rdi     # 0x5822c
callq 0x2090
movl 0x2e3d7(%rip), %ecx     # 0x75a98
movq 0x2e3e0(%rip), %rsi     # 0x75aa8
xorl %edx, %edx
testl %ecx, %ecx
movl $0x0, %eax
cmovgl %ecx, %eax
cmpq %rdx, %rax
je 0x476e5
cmpb (%rsi,%rdx), %bl
je 0x476e3
incq %rdx
jmp 0x476d4
movl %edx, %eax
cmpl %ecx, %eax
jne 0x47707
movl 0x2e3c5(%rip), %eax     # 0x75ab4
cmpl $0x9, %eax
jg 0x47721
movsbl %bl, %esi
leaq 0x10ace(%rip), %rdi     # 0x581cc
xorl %eax, %eax
callq 0x20f0
jmp 0x47732
cmpl %r14d, %r15d
je 0x47732
movq 0x2e38d(%rip), %rcx     # 0x75aa0
movl %r15d, %edx
movq (%rcx,%rdx,8), %rcx
movl %eax, %eax
movl (%rcx,%rax,4), %eax
jmp 0x4773a
cmpl $0xa, %eax
jne 0x47732
leaq 0x10aff(%rip), %rdi     # 0x5822c
callq 0x2090
incl 0x2e37c(%rip)           # 0x75ab4
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/NeedlemanWunsch.c
// Function: ZeroMDM
int ZeroMDM(void)
{
   int MinVal = sMDMScore[0][0],
       MaxVal = sMDMScore[0][0],
       i, j;

   /* Find the minimum and maximum values on the matrix                 */
   for(i=0; i<sMDMSize; i++)
   {
      for(j=0; j<sMDMSize; j++)
      {
         if(sMDMScore[i][j] < MinVal)
         {
            MinVal = sMDMScore[i][j];
         }
         else if(sMDMScore[i][j] > MaxVal)
         {
            MaxVal = sMDMScore[i][j];
         }
      }
   }

   /* Now subtract the MinVal from all cells in the matrix so it starts
      at zero.
   */
   for(i=0; i<sMDMSize; i++)
   {
      for(j=0; j<sMDMSize; j++)
      {
         sMDMScore[i][j] -= MinVal;
      }
   }

   /* Return maximum value in modified matrix                           */
   return(MaxVal-MinVal);
}

// Assembly:
movq 0x2e0b2(%rip), %rdx     # 0x75aa0
movq (%rdx), %rax
movl (%rax), %ecx
movl 0x2e09f(%rip), %esi     # 0x75a98
xorl %r8d, %r8d
testl %esi, %esi
movl $0x0, %edi
cmovgl %esi, %edi
movl %ecx, %eax
cmpq %rdi, %r8
je 0x47a3c
xorl %r9d, %r9d
cmpq %r9, %rsi
je 0x47a37
movq (%rdx,%r8,8), %r10
movl (%r10,%r9,4), %r10d
cmpl %eax, %r10d
movl %eax, %r11d
cmovgl %r10d, %r11d
cmpl %ecx, %r10d
cmovll %r10d, %ecx
cmovgel %r11d, %eax
incq %r9
jmp 0x47a10
incq %r8
jmp 0x47a08
xorl %r8d, %r8d
cmpq %rdi, %r8
je 0x47a5e
xorl %r9d, %r9d
cmpq %r9, %rsi
je 0x47a59
movq (%rdx,%r8,8), %r10
subl %ecx, (%r10,%r9,4)
incq %r9
jmp 0x47a47
incq %r8
jmp 0x47a3f
subl %ecx, %eax
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/McLachlan_float.c
// Function: center_of_mass
static void center_of_mass(double *ret, float *v, int N, float *mass)
{
  int i, m=0; double norm=0;

  for(i=0;i<3;i++)ret[i] = 0;
  for(i=0;i<N;i++){
    double w=mass[i];
    ret[0] += w*v[m];
    ret[1] += w*v[m+1];
    ret[2] += w*v[m+2];
    norm+=w; m+=3;
  }
  for(i=0;i<3;i++)ret[i]/= norm;
}

// Assembly:
xorl %eax, %eax
cmpq $0x3, %rax
je 0x484ff
andq $0x0, (%rdi,%rax,8)
incq %rax
jmp 0x484ef
xorl %eax, %eax
testl %edx, %edx
cmovlel %eax, %edx
addq $0x8, %rsi
xorpd %xmm0, %xmm0
cmpq %rax, %rdx
je 0x48551
cvtss2sd (%rcx,%rax,4), %xmm1
cvtps2pd -0x8(%rsi), %xmm2
movupd (%rdi), %xmm3
movaps %xmm1, %xmm4
movlhps %xmm1, %xmm4            # xmm4 = xmm4[0],xmm1[0]
mulpd %xmm2, %xmm4
addpd %xmm3, %xmm4
movupd %xmm4, (%rdi)
cvtss2sd (%rsi), %xmm2
mulsd %xmm1, %xmm2
addsd 0x10(%rdi), %xmm2
movsd %xmm2, 0x10(%rdi)
addsd %xmm1, %xmm0
incq %rax
addq $0xc, %rsi
jmp 0x4850e
xorl %eax, %eax
cmpq $0x3, %rax
je 0x4856c
movsd (%rdi,%rax,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%rax,8)
incq %rax
jmp 0x48553
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/McLachlan_float.c
// Function: TranslateVector
static void TranslateVector(float *v, double transl[3], int N)
{
  int i,m=0;
  for (i=0;i<N;i++){
    v[m]+=transl[0];
    v[m+1]+=transl[1];
    v[m+2]+=transl[2];
    m+=3;
  }
}

// Assembly:
xorl %eax, %eax
testl %edx, %edx
cmovgl %edx, %eax
addq $0x8, %rdi
subl $0x1, %eax
jb 0x485a9
movupd (%rsi), %xmm0
cvtps2pd -0x8(%rdi), %xmm1
addpd %xmm0, %xmm1
cvtpd2ps %xmm1, %xmm0
movlpd %xmm0, -0x8(%rdi)
cvtss2sd (%rdi), %xmm0
addsd 0x10(%rsi), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rdi)
addq $0xc, %rdi
jmp 0x48578
retq
nop
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/McLachlan.c
// Function: center_of_mass
static void center_of_mass(double *ret, double *v, int N, double *mass)
{
  int i, m=0; double norm=0;

  for(i=0;i<3;i++)ret[i] = 0;
  for(i=0;i<N;i++){
    double w=mass[i];
    ret[0] += w*v[m];
    ret[1] += w*v[m+1];
    ret[2] += w*v[m+2];
    norm+=w; m+=3;
  }
  for(i=0;i<3;i++)ret[i]/= norm;
}

// Assembly:
xorl %eax, %eax
cmpq $0x3, %rax
je 0x48ff8
andq $0x0, (%rdi,%rax,8)
incq %rax
jmp 0x48fe8
xorl %eax, %eax
testl %edx, %edx
cmovlel %eax, %edx
addq $0x10, %rsi
xorpd %xmm0, %xmm0
cmpq %rax, %rdx
je 0x49050
movsd (%rcx,%rax,8), %xmm1
movsd -0x10(%rsi), %xmm2
mulsd %xmm1, %xmm2
addsd (%rdi), %xmm2
movsd %xmm2, (%rdi)
movsd -0x8(%rsi), %xmm2
mulsd %xmm1, %xmm2
addsd 0x8(%rdi), %xmm2
movsd %xmm2, 0x8(%rdi)
addsd %xmm1, %xmm0
mulsd (%rsi), %xmm1
addsd 0x10(%rdi), %xmm1
movsd %xmm1, 0x10(%rdi)
incq %rax
addq $0x18, %rsi
jmp 0x49007
xorl %eax, %eax
cmpq $0x3, %rax
je 0x4906b
movsd (%rdi,%rax,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%rax,8)
incq %rax
jmp 0x49052
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/McLachlan.c
// Function: TranslateVector
static void TranslateVector(double *v, double transl[3], int N)
{ 
    int i,m=0;
    for (i=0;i<N;i++){
       v[m]+=transl[0];
       v[m+1]+=transl[1];
       v[m+2]+=transl[2];
       m+=3;
    } 
}

// Assembly:
xorl %eax, %eax
testl %edx, %edx
cmovgl %edx, %eax
addq $0x10, %rdi
subl $0x1, %eax
jb 0x490ac
movsd (%rsi), %xmm0
addsd -0x10(%rdi), %xmm0
movsd %xmm0, -0x10(%rdi)
movsd 0x8(%rsi), %xmm0
addsd -0x8(%rdi), %xmm0
movsd %xmm0, -0x8(%rdi)
movsd 0x10(%rsi), %xmm0
addsd (%rdi), %xmm0
movsd %xmm0, (%rdi)
addq $0x18, %rdi
jmp 0x49077
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/EC.c
// Function: CV_profile
float *CV_profile(double **Corr, int N)
{
  float *CV=malloc(N*sizeof(float));
  for(int i=0; i<N; i++){
    double sum=0, *c=Corr[i];
    for(int j=0; j<N; j++)sum+=c[j];
    CV[i]=sum;
  }
  return(CV);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movslq %esi, %r14
leaq (,%r14,4), %rdi
callq 0x21d0
xorl %ecx, %ecx
testl %r14d, %r14d
movl $0x0, %edx
cmovgl %r14d, %edx
movl %r14d, %esi
cmpq %rdx, %rcx
je 0x49b16
movq (%rbx,%rcx,8), %rdi
xorpd %xmm0, %xmm0
xorl %r8d, %r8d
cmpq %r8, %rsi
je 0x49b08
addsd (%rdi,%r8,8), %xmm0
incq %r8
jmp 0x49af8
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
incq %rcx
jmp 0x49ae8
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/EC.c
// Function: C1sqr_over_C2
float C1sqr_over_C2(double **Corr, int N, int l)
{
  int i, j;
  double *ci=malloc(N*sizeof(double));
  for(i=0; i<N; i++){
    ci[i]=0; double *cc=Corr[i];
    for(j=0; j<=(i-l); j++){
      ci[i]+=cc[j];
      ci[j]+=cc[j];
    }
  }
  double c1=0, c2=0;
  for(i=0; i<N; i++){c1+=ci[i]; c2+=ci[i]*ci[i];}
  free(ci);
  return((c1*c1)/(N*c2));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movl %esi, %ebx
movq %rdi, %r14
movslq %esi, %r15
leaq (,%r15,8), %rdi
callq 0x21d0
movslq %ebp, %rdx
xorl %esi, %esi
testl %r15d, %r15d
movl $0x0, %ecx
cmovgl %ebx, %ecx
cmpq %rcx, %rsi
je 0x49b95
andq $0x0, (%rax,%rsi,8)
movq (%r14,%rsi,8), %rdi
movq %rsi, %r8
subq %rdx, %r8
xorl %r9d, %r9d
cmpq %r8, %r9
jg 0x49b90
movsd (%rdi,%r9,8), %xmm0
movsd (%rax,%rsi,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rsi,8)
addsd (%rax,%r9,8), %xmm0
movsd %xmm0, (%rax,%r9,8)
incq %r9
jmp 0x49b66
incq %rsi
jmp 0x49b4f
xorpd %xmm1, %xmm1
xorl %edx, %edx
xorpd %xmm2, %xmm2
cmpq %rdx, %rcx
je 0x49bba
movsd (%rax,%rdx,8), %xmm0
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm0, %xmm2
incq %rdx
jmp 0x49b9f
movq %rax, %rdi
movsd %xmm1, 0x8(%rsp)
movsd %xmm2, 0x10(%rsp)
callq 0x2050
movsd 0x8(%rsp), %xmm1
mulsd %xmm1, %xmm1
cvtsi2sd %ebx, %xmm0
movsd 0x10(%rsp), %xmm2
mulsd %xmm0, %xmm2
divsd %xmm2, %xmm1
cvtsd2ss %xmm1, %xmm0
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/gasdev.c
// Function: gasdev
float gasdev(long *idum)
{
  float ran2(long *idum);
  static int iset=0;
  static float gset;
  float fac,r,v1,v2;
  float ran1();
  
  if  (iset == 0) {
    do {
      v1=2.0*ran2(idum)-1.0;
      v2=2.0*ran2(idum)-1.0;
      r=v1*v1+v2*v2;
    } while (r >= 1.0);
    fac=sqrt(-2.0*log(r)/r);
    gset=v1*fac;
    iset=1;
    return v2*fac;
  } else {
    iset=0;
    return gset;
  }
}

// Assembly:
cmpb $0x0, 0x2be25(%rip)     # 0x75ae8
je 0x49cd5
movb $0x0, 0x2be1c(%rip)     # 0x75ae8
movss 0x2be18(%rip), %xmm0    # 0x75aec
retq
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rbx, %rdi
callq 0x49da4
cvtss2sd %xmm0, %xmm0
addsd %xmm0, %xmm0
movsd 0x634b(%rip), %xmm1     # 0x50040
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x49da4
movss (%rsp), %xmm3
cvtss2sd %xmm0, %xmm0
addsd %xmm0, %xmm0
addsd 0x6321(%rip), %xmm0     # 0x50040
cvtsd2ss %xmm0, %xmm2
movaps %xmm2, %xmm1
mulss %xmm2, %xmm1
movaps %xmm3, %xmm0
mulss %xmm3, %xmm0
addss %xmm1, %xmm0
ucomiss 0x12d4(%rip), %xmm0     # 0x4b010
jae 0x49cdd
movss %xmm2, 0x4(%rsp)
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x2120
mulsd 0x756d(%rip), %xmm0     # 0x512c8
divsd 0x8(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x49d70
sqrtsd %xmm0, %xmm0
jmp 0x49d75
callq 0x2290
movss (%rsp), %xmm1
cvtsd2ss %xmm0, %xmm2
mulss %xmm2, %xmm1
movss %xmm1, 0x2bd62(%rip)    # 0x75aec
movb $0x1, 0x2bd57(%rip)     # 0x75ae8
movss 0x4(%rsp), %xmm0
mulss %xmm2, %xmm0
addq $0x10, %rsp
popq %rbx
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/ran2.c
// Function: ran2
float ran2(long *idum)
{
  static long iy,ir[98];
  static int iff=0;
  int j;
  void nrerror();
  
  if (*idum < 0 || iff == 0) {
    iff=1;
    if ((*idum=(IC-(*idum)) % M) < 0) *idum = -(*idum);
    for (j=1;j<=97;j++) {
      *idum=(IA*(*idum)+IC) % M;
      ir[j]=(*idum);
    }
    *idum=(IA*(*idum)+IC) % M;
    iy=(*idum);
  }
  j=1 + 97.0*iy/M;
  if (j > 97 || j < 1) nrerror("RAN2: This cannot happen.");
  iy=ir[j];
  *idum=(IA*(*idum)+IC) % M;
  ir[j]=(*idum);
  return (float) iy/M;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdx
testq %rdx, %rdx
js 0x49dc5
testb $0x1, 0x2c056(%rip)     # 0x75e10
je 0x49dc5
movq 0x2bd2d(%rip), %rax     # 0x75af0
jmp 0x49e34
movb $0x1, 0x2c044(%rip)     # 0x75e10
movl $0x24d69, %eax          # imm = 0x24D69
subq %rdx, %rax
movl $0xae529, %ecx          # imm = 0xAE529
cqto
idivq %rcx
movq %rdx, %rax
negq %rdx
cmovsq %rax, %rdx
pushq $0x1
popq %rsi
leaq 0x2bd0e(%rip), %rdi     # 0x75b00
cmpq $0x62, %rsi
je 0x49e13
imulq $0x556, %rdx, %rax      # imm = 0x556
addq $0x24d69, %rax          # imm = 0x24D69
xorl %edx, %edx
divq %rcx
movq %rdx, (%rdi,%rsi,8)
incq %rsi
jmp 0x49df2
imull $0x556, %edx, %eax      # imm = 0x556
addl $0x24d69, %eax          # imm = 0x24D69
movl $0xae529, %ecx          # imm = 0xAE529
xorl %edx, %edx
divl %ecx
movq %rdx, (%rbx)
movq %rdx, 0x2bcbf(%rip)     # 0x75af0
movq %rdx, %rax
cvtsi2sd %rax, %xmm0
mulsd 0xe54f(%rip), %xmm0     # 0x58390
divsd 0xe54f(%rip), %xmm0     # 0x58398
addsd 0x11f7(%rip), %xmm0     # 0x4b048
cvttsd2si %xmm0, %r14d
leal -0x62(%r14), %eax
cmpl $-0x62, %eax
ja 0x49e70
leaq 0xe53e(%rip), %rdi      # 0x583a4
xorl %eax, %eax
callq 0x44d90
movq (%rbx), %rdx
movslq %r14d, %rcx
leaq 0x2bc86(%rip), %rsi     # 0x75b00
movq (%rsi,%rcx,8), %rdi
movq %rdi, 0x2bc6b(%rip)     # 0x75af0
imulq $0x556, %rdx, %rax      # imm = 0x556
addq $0x24d69, %rax          # imm = 0x24D69
movl $0xae529, %r8d          # imm = 0xAE529
cqto
idivq %r8
movq %rdx, (%rbx)
cvtsi2ss %rdi, %xmm0
movq %rdx, (%rsi,%rcx,8)
divss 0xe4ef(%rip), %xmm0     # 0x583a0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/random3.c
// Function: InitRandom
void InitRandom( RANDOMTYPE seed)
{
  int i, j;
  RANDOMTYPE random, composite;
  
  /* check size of RANDOMTYPE */
  if( sizeof( RANDOMTYPE) != 8)
    {
      fprintf( stderr, "Wrong size for RANDOMTYPE.\n");
    }
  
  /* create array of random numbers */
  random= seed;
  for( i= 0; i < 16384; i++)
    {
      composite= (RANDOMTYPE)0;
      for( j= 0; j < 31; j++)
	{
	  /* overflow ? */
	  if( (random *= MULTIPLIER) > RANDOMLIMIT){
	    random -= (RANDOMLIMIT+1);
	  }	  
	  /* use only most significant bit */
	  composite= (composite << 1) | ((random >> 30) & 1);
	}
      random_array[i]= composite;
    }
  
  /* initialize the pointer */
  random_which1= random_array+10000;
  random_which2= random_array+10000-471;
  random_which3= random_array+10000-1586;
  random_which4= random_array+10000-6988;
  random_which5= random_array+10000-9689;
  random_end= random_array+16384;
}

// Assembly:
xorl %eax, %eax
pushq $0x1f
popq %rcx
leaq 0x2bf58(%rip), %rdx     # 0x75e20
cmpq $0x4000, %rax           # imm = 0x4000
je 0x49f0d
movl %ecx, %esi
xorl %r8d, %r8d
subl $0x1, %esi
jb 0x49f04
imulq $0x41a7, %rdi, %r9      # imm = 0x41A7
leaq -0x80000000(%r9), %rdi
cmpq $0x7fffffff, %r9        # imm = 0x7FFFFFFF
cmovbeq %r9, %rdi
movl %edi, %r9d
shrl $0x1e, %r9d
andl $0x1, %r9d
leaq (%r9,%r8,2), %r8
jmp 0x49ed5
movq %r8, (%rdx,%rax,8)
incq %rax
jmp 0x49ec8
leaq 0x3f78c(%rip), %rax     # 0x896a0
movq %rax, 0x4bf05(%rip)     # 0x95e20
leaq 0x3e8c6(%rip), %rax     # 0x887e8
movq %rax, 0x4beff(%rip)     # 0x95e28
leaq 0x3c5e0(%rip), %rax     # 0x86510
movq %rax, 0x4bef9(%rip)     # 0x95e30
leaq 0x31d02(%rip), %rax     # 0x7bc40
movq %rax, 0x4bef3(%rip)     # 0x95e38
leaq 0x2c88c(%rip), %rax     # 0x767d8
movq %rax, 0x4beed(%rip)     # 0x95e40
leaq 0x4bec6(%rip), %rax     # 0x95e20
movq %rax, 0x4bee7(%rip)     # 0x95e48
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/random3.c
// Function: Random
RANDOMTYPE Random()
{
  /* create random number */
  if( ++random_which1 == random_end)
    {
      random_which1= random_array;
    }
  if( ++random_which2 == random_end)
    {
      random_which2= random_array;
    }
  if( ++random_which3 == random_end)
    {
      random_which3= random_array;
    }
  if( ++random_which4 == random_end)
    {
      random_which4= random_array;
    }
  if( ++random_which5 == random_end)
    {
      random_which5= random_array;
    }
  
  return( *random_which1=
	  *random_which2 ^ *random_which3 ^ *random_which4 ^ *random_which5);
}

// Assembly:
movq 0x4beb7(%rip), %rcx     # 0x95e20
addq $0x8, %rcx
movq 0x4bed4(%rip), %rax     # 0x95e48
cmpq %rax, %rcx
leaq 0x2bea2(%rip), %rdx     # 0x75e20
cmoveq %rdx, %rcx
movq %rcx, 0x4be97(%rip)     # 0x95e20
movq 0x4be98(%rip), %rsi     # 0x95e28
addq $0x8, %rsi
cmpq %rax, %rsi
cmoveq %rdx, %rsi
movq %rsi, 0x4be86(%rip)     # 0x95e28
movq 0x4be87(%rip), %rdi     # 0x95e30
addq $0x8, %rdi
cmpq %rax, %rdi
cmoveq %rdx, %rdi
movq %rdi, 0x4be75(%rip)     # 0x95e30
movq 0x4be76(%rip), %r8      # 0x95e38
addq $0x8, %r8
cmpq %rax, %r8
cmoveq %rdx, %r8
movq %r8, 0x4be64(%rip)      # 0x95e38
movq 0x4be65(%rip), %r9      # 0x95e40
addq $0x8, %r9
cmpq %rax, %r9
cmoveq %rdx, %r9
movq %r9, 0x4be53(%rip)      # 0x95e40
movq (%rdi), %rax
xorq (%rsi), %rax
xorq (%r8), %rax
xorq (%r9), %rax
movq %rax, (%rcx)
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/random3.c
// Function: RandomFloating
double RandomFloating()
{
  /* create random number */
  if( ++random_which1 == random_end)
    {
      random_which1= random_array;
    }
  if( ++random_which2 == random_end)
    {
      random_which2= random_array;
    }
  if( ++random_which3 == random_end)
    {
      random_which3= random_array;
    }
  if( ++random_which4 == random_end)
    {
      random_which4= random_array;
    }
  if( ++random_which5 == random_end)
    {
      random_which5= random_array;
    }
  
  return( INVRANDOMLIMITFLOATING*
	  (double)(*random_which1=
		   *random_which2 ^ *random_which3 ^ 
		   *random_which4 ^ *random_which5));
}

// Assembly:
movq 0x4be1c(%rip), %rax     # 0x95e20
addq $0x8, %rax
movq 0x4be39(%rip), %rcx     # 0x95e48
cmpq %rcx, %rax
leaq 0x2be07(%rip), %rdx     # 0x75e20
cmoveq %rdx, %rax
movq %rax, 0x4bdfc(%rip)     # 0x95e20
movq 0x4bdfd(%rip), %rsi     # 0x95e28
addq $0x8, %rsi
cmpq %rcx, %rsi
cmoveq %rdx, %rsi
movq %rsi, 0x4bdeb(%rip)     # 0x95e28
movq 0x4bdec(%rip), %rdi     # 0x95e30
addq $0x8, %rdi
cmpq %rcx, %rdi
cmoveq %rdx, %rdi
movq %rdi, 0x4bdda(%rip)     # 0x95e30
movq 0x4bddb(%rip), %r8      # 0x95e38
addq $0x8, %r8
cmpq %rcx, %r8
cmoveq %rdx, %r8
movq %r8, 0x4bdc9(%rip)      # 0x95e38
movq 0x4bdca(%rip), %r9      # 0x95e40
addq $0x8, %r9
cmpq %rcx, %r9
cmoveq %rdx, %r9
movq %r9, 0x4bdb8(%rip)      # 0x95e40
movq (%rdi), %rcx
xorq (%rsi), %rcx
xorq (%r8), %rcx
xorq (%r9), %rcx
movq %rcx, (%rax)
movq %rcx, %xmm1
punpckldq 0xe31c(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0xe324(%rip), %xmm1     # 0x583d0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0xe320(%rip), %xmm0     # 0x583e0
retq
// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/random3.c
// Function: Norm_var_2
float Norm_var_2(){
  // Draws squared Gaussian variable z^2 with Box-Muller transform method
  float U1=RandomFloating();
  float U2=RandomFloating();
  float c=cos(TWOPI*U2);
  return(-2*log(U1)*c*c);
}

// Assembly:
pushq %rax
callq 0x49ffd
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x4(%rsp)
callq 0x49ffd
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
mulsd 0xe302(%rip), %xmm0     # 0x583e8
callq 0x2130
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rsp)
cvtss2sd 0x4(%rsp), %xmm0
callq 0x2120
mulsd 0x71c1(%rip), %xmm0     # 0x512c8
cvtss2sd (%rsp), %xmm1
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O2/CarlosLunaMota[P]BinaryTrees/BinaryTrees.c
// Function: new_bs_tree
bs_tree *new_bs_tree(int (* comp) (const void *, const void *)) {

    // Sanity check:
    assert(comp != NULL);

    // Allocate memory:
    bs_tree *tree = (bs_tree *) malloc(sizeof(bs_tree));
    if (tree == NULL) {
        fprintf(stderr, "ERROR: Unable to allocate memory for bs_tree\n");
    }

    // Initialize the empty tree:
    else {
        tree->root = NULL;
        tree->comp = comp;
    }

    return tree;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x740d
movq %rdi, %r14
pushq $0x10
popq %rdi
callq 0x10d0
movq %rax, %rbx
testq %rax, %rax
je 0x73ef
andq $0x0, (%rbx)
movq %r14, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x9c02(%rip), %rax      # 0x10ff8
movq (%rax), %rcx
leaq 0x5e55(%rip), %rdi      # 0xd255
pushq $0x2d
popq %rsi
pushq $0x1
popq %rdx
callq 0x1100
jmp 0x73e4
leaq 0x5dec(%rip), %rdi      # 0xd200
leaq 0x5df2(%rip), %rsi      # 0xd20d
leaq 0x5df9(%rip), %rcx      # 0xd21b
pushq $0x52
popq %rdx
callq 0x1080
// File: /workspace/github_c_makefile_star2_O2/CarlosLunaMota[P]BinaryTrees/BinaryTrees.c
// Function: bs_tree_insert
void *bs_tree_insert(bs_tree *tree, void *data) {

    bs_node *node;
    bs_node *new_node;
    void    *old_data;
    int      comp;

    // Sanity Checks:
    assert(tree != NULL);
    assert(data != NULL);

    // Avoid the trivial case: empty tree
    node = NULL;
    if (tree->root != NULL) {

        // Search for the correct place to insert data:
        node = tree->root;
        for (;;) {

            // Compare data:
            comp = (tree->comp)(data, node->data);

            // Data is smaller:
            if (comp < 0) {
                if (node->left == NULL) { break; }
                else { node = node->left; }
            }

            // Data is bigger:
            else if (comp > 0) {
                if (node->right == NULL) { break; }
                else { node = node->right; }
            }

            // Data is already there: overwrite it!
            else {
                old_data   = node->data;
                node->data = data;
                return old_data;
            }
        }
    }

    // Insert the new node here:
    new_node = (bs_node *) malloc(sizeof(bs_node));
    if (new_node == NULL) {
        fprintf(stderr, "ERROR: Unable to allocate bs_node\n");
    } else {
        new_node->data  = data;
        new_node->left  = NULL;
        new_node->right = NULL;
    }

    if (node == NULL)  { tree->root  = new_node; }
    else if (comp < 0) { node->left  = new_node; }
    else               { node->right = new_node; }

    // Data was not here!
    return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x760a
movq %rsi, %r14
testq %rsi, %rsi
je 0x7629
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x759c
movq %rax, %r12
movq (%rax), %rsi
movq %r14, %rdi
callq *0x8(%rbx)
movl %eax, %ebp
shrl $0x1f, %ebp
testl %eax, %eax
js 0x7590
je 0x75d2
movq 0x10(%r12), %rax
jmp 0x7595
movq 0x8(%r12), %rax
testq %rax, %rax
jne 0x7572
jmp 0x75a1
xorl %r12d, %r12d
xorl %ebp, %ebp
pushq $0x18
popq %rdi
callq 0x10d0
movq %rax, %r15
testq %rax, %rax
je 0x75ec
movq %r14, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
testq %r12, %r12
je 0x75cd
testb %bpl, %bpl
je 0x75dc
movq %r15, 0x8(%r12)
jmp 0x75e1
movq %r15, (%rbx)
jmp 0x75e1
movq (%r12), %rax
movq %r14, (%r12)
jmp 0x75e3
movq %r15, 0x10(%r12)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x9a05(%rip), %rax      # 0x10ff8
movq (%rax), %rcx
leaq 0x5cba(%rip), %rdi      # 0xd2b7
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
callq 0x1100
jmp 0x75bc
leaq 0x5c72(%rip), %rdi      # 0xd283
leaq 0x5bf5(%rip), %rsi      # 0xd20d
leaq 0x5cbb(%rip), %rcx      # 0xd2da
movl $0xc2, %edx
callq 0x1080
leaq 0x5cd2(%rip), %rdi      # 0xd302
leaq 0x5bd6(%rip), %rsi      # 0xd20d
leaq 0x5c9c(%rip), %rcx      # 0xd2da
movl $0xc3, %edx
callq 0x1080
// File: /workspace/github_c_makefile_star2_O2/CarlosLunaMota[P]BinaryTrees/BinaryTrees.c
// Function: bs_tree_insert_min
void *bs_tree_insert_min(bs_tree *tree, void *data) {

    bs_node *node;
    bs_node *new_node;
    void    *old_data;

    // Sanity Checks:
    assert(tree != NULL);
    assert(data != NULL);

    // Trivial case:
    if (tree->root == NULL) { node = NULL; }

    // General case:
    else {
        node = tree->root;
        while (node->left != NULL) { node = node->left; }

        // If "data" is already there: overwrite it & return!
        if ((tree->comp)(data, node->data) == 0) {
            old_data   = node->data;
            node->data = data;
            return old_data;
        }
    }

    // Finally: Insert the new node here
    new_node = (bs_node *) malloc(sizeof(bs_node));
    if (new_node == NULL) {
        fprintf(stderr, "ERROR: Unable to allocate bs_node\n");
    } else {
        new_node->data  = data;
        new_node->left  = NULL;
        new_node->right = NULL;
    }
    if (node == NULL) { tree->root = new_node; }
    else              { node->left = new_node; }

    // Data was not here!
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x76ed
movq %rsi, %r14
testq %rsi, %rsi
je 0x770c
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x7694
movq %rax, %r12
movq 0x8(%rax), %rax
testq %rax, %rax
jne 0x7670
movq (%r12), %rsi
movq %r14, %rdi
callq *0x8(%rbx)
testl %eax, %eax
jne 0x7697
movq (%r12), %rax
movq %r14, (%r12)
jmp 0x76c3
xorl %r12d, %r12d
pushq $0x18
popq %rdi
callq 0x10d0
movq %rax, %r15
testq %rax, %rax
je 0x76cf
movq %r14, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
testq %r12, %r12
je 0x76be
movq %r15, 0x8(%r12)
jmp 0x76c1
movq %r15, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x9922(%rip), %rax      # 0x10ff8
movq (%rax), %rcx
leaq 0x5bd7(%rip), %rdi      # 0xd2b7
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
callq 0x1100
jmp 0x76b2
leaq 0x5b8f(%rip), %rdi      # 0xd283
leaq 0x5b12(%rip), %rsi      # 0xd20d
leaq 0x5c0d(%rip), %rcx      # 0xd30f
movl $0x109, %edx            # imm = 0x109
callq 0x1080
leaq 0x5bef(%rip), %rdi      # 0xd302
leaq 0x5af3(%rip), %rsi      # 0xd20d
leaq 0x5bee(%rip), %rcx      # 0xd30f
movl $0x10a, %edx            # imm = 0x10A
callq 0x1080
// File: /workspace/github_c_makefile_star2_O2/CarlosLunaMota[P]BinaryTrees/BinaryTrees.c
// Function: bs_tree_insert_max
void *bs_tree_insert_max(bs_tree *tree, void *data) {

    bs_node *node;
    bs_node *new_node;
    void    *old_data;

    // Sanity Checks:
    assert(tree != NULL);
    assert(data != NULL);

    // Trivial case:
    if (tree->root == NULL) { node = NULL; }

    // General case:
    else {
        node = tree->root;
        while (node->right != NULL) { node = node->right; }

        // If "data" is already there: overwrite it & return!
        if ((tree->comp)(data, node->data) == 0) {
            old_data   = node->data;
            node->data = data;
            return old_data;
        }
    }

    // Finally: Insert the new node here
    new_node = (bs_node *) malloc(sizeof(bs_node));
    if (new_node == NULL) {
        fprintf(stderr, "ERROR: Unable to allocate bs_node\n");
    } else {
        new_node->data  = data;
        new_node->left  = NULL;
        new_node->right = NULL;
    }
    if (node == NULL) { tree->root  = new_node; }
    else              { node->right = new_node; }

    // Data was not here!
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x77d0
movq %rsi, %r14
testq %rsi, %rsi
je 0x77ef
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x7777
movq %rax, %r12
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0x7753
movq (%r12), %rsi
movq %r14, %rdi
callq *0x8(%rbx)
testl %eax, %eax
jne 0x777a
movq (%r12), %rax
movq %r14, (%r12)
jmp 0x77a6
xorl %r12d, %r12d
pushq $0x18
popq %rdi
callq 0x10d0
movq %rax, %r15
testq %rax, %rax
je 0x77b2
movq %r14, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
testq %r12, %r12
je 0x77a1
movq %r15, 0x10(%r12)
jmp 0x77a4
movq %r15, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x983f(%rip), %rax      # 0x10ff8
movq (%rax), %rcx
leaq 0x5af4(%rip), %rdi      # 0xd2b7
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
callq 0x1100
jmp 0x7795
leaq 0x5aac(%rip), %rdi      # 0xd283
leaq 0x5a2f(%rip), %rsi      # 0xd20d
leaq 0x5b56(%rip), %rcx      # 0xd33b
movl $0x13e, %edx            # imm = 0x13E
callq 0x1080
leaq 0x5b0c(%rip), %rdi      # 0xd302
leaq 0x5a10(%rip), %rsi      # 0xd20d
leaq 0x5b37(%rip), %rcx      # 0xd33b
movl $0x13f, %edx            # imm = 0x13F
callq 0x1080
// File: /workspace/github_c_makefile_star2_O2/CarlosLunaMota[P]BinaryTrees/BinaryTrees.c
// Function: bs_tree_search
void *bs_tree_search(const bs_tree *tree, const void *data) {

    bs_node *node;
    int      comp;

    // Sanity Checks:
    assert(tree != NULL);
    assert(data != NULL);

    // Search:
    node = tree->root;
    while (node != NULL) {
        comp = (tree->comp)(data, node->data);      // compare data
        if      (comp < 0) { node = node->left;  }  // data is smaller
        else if (comp > 0) { node = node->right; }  // data is bigger
        else               { return node->data;  }  // found!
    }

    // Not found:
    return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x78a0
movq %rsi, %rbx
testq %rsi, %rsi
je 0x78bf
movq %rdi, %r15
xorl %r14d, %r14d
pushq $0x8
popq %r12
pushq $0x10
popq %rbp
movq %rdi, %r13
movq (%r13), %r13
testq %r13, %r13
je 0x788e
movq (%r13), %rsi
movq %rbx, %rdi
callq *0x8(%r15)
movq %r12, %rcx
testl %eax, %eax
js 0x7885
movq %rbp, %rcx
je 0x788a
addq %rcx, %r13
jmp 0x7865
movq (%r13), %r14
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x59dc(%rip), %rdi      # 0xd283
leaq 0x595f(%rip), %rsi      # 0xd20d
leaq 0x5ad8(%rip), %rcx      # 0xd38d
movl $0x179, %edx            # imm = 0x179
callq 0x1080
leaq 0x5a3c(%rip), %rdi      # 0xd302
leaq 0x5940(%rip), %rsi      # 0xd20d
leaq 0x5ab9(%rip), %rcx      # 0xd38d
movl $0x17a, %edx            # imm = 0x17A
callq 0x1080