LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: WhichNucChar
int WhichNucChar (char nucleotide)
    {
    if (nucleotide == 'A')
        return (A);
    else if (nucleotide == 'C')
        return (C);
    else if (nucleotide == 'G')
        return (G);
    else if (nucleotide == 'T')
        return (T);
    else if (nucleotide == '?')
        return (ADO);
    else if (nucleotide == '-')
        return (DELETION);
    else
        {
 		fprintf (stderr, "\nERROR in WhicNucChar: nucleotide = %c\n",  nucleotide);
		exit(-1);
        }
    }

// Assembly:
leal -0x3f(%rdi), %eax
cmpl $0x8, %eax
ja 0x16d54
leaq 0x1d6d3(%rip), %rcx     # 0x34418
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x9, %eax
retq
cmpl $0x2d, %edi
je 0x16d73
cmpl $0x54, %edi
jne 0x16d79
movl $0x3, %eax
retq
xorl %eax, %eax
retq
movl $0x1, %eax
retq
movl $0x2, %eax
retq
movl $0x7, %eax
retq
pushq %rax
movzbl %dil, %edi
callq 0x5447
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: ChooseUniformState
int ChooseUniformState (double *prob, long int *seed)
	{
	int			chosenState;
	double		ran, cumProb;
	
	chosenState = 0;
	cumProb = prob[chosenState];
	ran = RandomUniform(seed);

	while (ran > cumProb)
		cumProb += prob[++chosenState];
	
	return chosenState;
	}

// Assembly:
movsd (%rdi), %xmm0
movq (%rsi), %rcx
movabsq $0x41a705af1fe3fb79, %rdx # imm = 0x41A705AF1FE3FB79
movq %rcx, %rax
imulq %rdx
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0xf, %rdx
addq %rax, %rdx
imulq $0x1f31d, %rdx, %rax    # imm = 0x1F31D
subq %rax, %rcx
imulq $0x41a7, %rcx, %rax     # imm = 0x41A7
imulq $-0xb14, %rdx, %rcx     # imm = 0xF4EC
leaq (%rcx,%rax), %rdx
testq %rdx, %rdx
leaq 0x7fffffff(%rcx,%rax), %rax
cmovgq %rdx, %rax
cvtsi2sd %rax, %xmm1
divsd 0x1d248(%rip), %xmm1    # 0x34028
movq %rax, (%rsi)
xorl %eax, %eax
ucomisd %xmm0, %xmm1
jbe 0x16dfc
xorl %eax, %eax
addsd 0x8(%rdi,%rax,8), %xmm0
incq %rax
ucomisd %xmm0, %xmm1
ja 0x16ded
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: RandomBinomial
int RandomBinomial (double prob, int numTrials, long int *seed)
	{
	int i, sum;
	sum = 0;
	
	for(i=0; i<numTrials; i++)
		{
		if(RandomUniform(seed) < prob)
			sum++;
		}
	return sum;
	}

// Assembly:
testl %edi, %edi
jle 0x1740b
movq (%rsi), %r8
xorl %ecx, %ecx
movabsq $0x41a705af1fe3fb79, %r9 # imm = 0x41A705AF1FE3FB79
movsd 0x1cc7c(%rip), %xmm1    # 0x34028
movq %r8, %rax
imulq %r9
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0xf, %rdx
addq %rax, %rdx
imulq $0x1f31d, %rdx, %rax    # imm = 0x1F31D
subq %rax, %r8
imulq $0x41a7, %r8, %rax      # imm = 0x41A7
imulq $-0xb14, %rdx, %rdx     # imm = 0xF4EC
leaq (%rdx,%rax), %r10
testq %r10, %r10
leaq 0x7fffffff(%rdx,%rax), %r8
cmovgq %r10, %r8
xorps %xmm2, %xmm2
cvtsi2sd %r8, %xmm2
divsd %xmm1, %xmm2
xorl %eax, %eax
ucomisd %xmm2, %xmm0
seta %al
addl %eax, %ecx
decl %edi
jne 0x173ac
movq %r8, (%rsi)
jmp 0x1740d
xorl %ecx, %ecx
movl %ecx, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: GTRmodel
void GTRmodel (double Pij[4][4], double branchLength)
	{
	int 	i, j, k;
	double	t, expt[4];

	t = branchLength;

	/* P(t)ij = SUM Cijk * exp{Root*t} */
	for (k=1; k<4; k++)
		expt[k]=exp(t*Root[k]);
	for (i=0; i<4; i++)
		for (j=0; j<4; j++)
			{
			Pij[i][j]=Cijk[i*4*4+j*4+0];
			for (k=1; k<4; k++)
				Pij[i][j]+=Cijk[i*4*4+j*4+k]*expt[k];
			}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
movl $0x1, %r14d
leaq 0x2b68f(%rip), %r15     # 0x43800
movsd (%r15,%r14,8), %xmm0
mulsd 0x8(%rsp), %xmm0
callq 0x22d0
movsd %xmm0, 0x10(%rsp,%r14,8)
incq %r14
cmpq $0x4, %r14
jne 0x18171
leaq 0x2b687(%rip), %rax     # 0x43820
xorl %ecx, %ecx
movq %rax, %rdx
movq %rcx, %rsi
shlq $0x4, %rsi
movq %rcx, %rdi
shlq $0x5, %rdi
addq %rbx, %rdi
movq %rdx, %r8
xorl %r9d, %r9d
leaq (%rsi,%r9,4), %r10
movsd (%rax,%r10,8), %xmm0
leaq (%rdi,%r9,8), %r10
movsd %xmm0, (%r10)
movl $0x1, %r11d
movsd (%r8,%r11,8), %xmm1
mulsd 0x10(%rsp,%r11,8), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, (%r10)
incq %r11
cmpq $0x4, %r11
jne 0x181ce
incq %r9
addq $0x20, %r8
cmpq $0x4, %r9
jne 0x181b5
incq %rcx
subq $-0x80, %rdx
cmpq $0x4, %rcx
jne 0x1819e
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: RandomBetaMeanVar
double RandomBetaMeanVar (double mean, double var, long int *seed)
	{
	double sample_size, shape1, shape2, gamma1, gamma2, randBeta;
	
	/* assuming variance < mean (1-mean) */
	sample_size = (mean * (1.0 - mean) / var) - 1.0;
	
	shape1 = mean * sample_size;
	shape2 = (1.0 - mean) * sample_size;
	
	gamma1 = RandomGamma(shape1, seed);
	gamma2 = RandomGamma(shape2, seed);
	randBeta = gamma1 / (gamma1 + gamma2);
	
	return randBeta;
	}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movsd 0x1b9f7(%rip), %xmm2    # 0x34008
subsd %xmm0, %xmm2
movapd %xmm2, %xmm3
mulsd %xmm0, %xmm3
divsd %xmm1, %xmm3
addsd 0x1ba1f(%rip), %xmm3    # 0x34048
mulsd %xmm3, %xmm0
mulsd %xmm2, %xmm3
movsd %xmm3, 0x8(%rsp)
callq 0x166ff
movsd %xmm0, (%rsp)
movsd 0x8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x166ff
movsd (%rsp), %xmm1
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: RandomNegativeBinomial
int RandomNegativeBinomial (double mean, double dispersion, long int *seed)
	{
	int		poissonRand;
	double	gammaRand;
	
	/* the RandomGamma function here has mean 1, so we need to scale it ourselves */
	gammaRand = mean/dispersion * RandomGamma (dispersion, seed);
	poissonRand = RandomPoisson (gammaRand, seed);
		
	return poissonRand;
	}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movapd %xmm1, %xmm0
callq 0x166ff
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
xorpd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x10(%rsp), %xmm0
movq %rbx, %rdi
callq 0x165c5
movsd 0x8(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
incl %ebp
movsd 0x1a039(%rip), %xmm1    # 0x34008
ucomisd %xmm0, %xmm1
jae 0x19f9b
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: WriteTree
void WriteTree (TreeNode *p, FILE *fp)
    {
    if (p != NULL)
        {
        if(p->isHealthyTip == YES)
            {
           // fprintf (fp, "healthycell:%8.6f",p->branchLength);
			fprintf (fp, "%s:%8.6f",outCellName, p->branchLength);
			}
        else if (p->left == NULL && p->right == NULL)
            {
			if (doUserTree == NO)
				//fprintf (fp, "tumcell%04d:%8.6f", Index(p),p->branchLength);
				fprintf (fp, "%s%04d:%8.6f", inCellName, Index(p),p->branchLength);
			else
				fprintf (fp, "%s:%8.6f", p->name,p->branchLength);
            }
        else
            {
            fprintf (fp, "(");
            WriteTree (p->left, fp);
            fprintf (fp, ",");
            WriteTree (p->right, fp);
            if (p->anc !=NULL)
				{
				fprintf (fp, "):%8.6f",p->branchLength);
				//TODO: anotate tree?
				/*if (p->rateSwitch > 0)
					fprintf (fp, "[&rate_switch=%e]",p->rateSwitch);*/
				}
            }
        }
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1a0e9
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x1, 0x20(%rdi)
jne 0x1a086
movsd 0x40(%r14), %xmm0
leaq 0x1d79e(%rip), %rsi     # 0x3780c
leaq 0x286db(%rip), %rdx     # 0x42750
movq %rbx, %rdi
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x21c0
cmpq $0x0, (%r14)
jne 0x1a093
cmpq $0x0, 0x8(%r14)
je 0x1a0f1
movl $0x28, %edi
movq %rbx, %rsi
callq 0x2180
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x1a048
movl $0x2c, %edi
movq %rbx, %rsi
callq 0x2180
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x1a048
cmpq $0x0, 0x10(%r14)
je 0x1a0e9
movsd 0x40(%r14), %xmm0
leaq 0x1d74a(%rip), %rsi     # 0x37822
movq %rbx, %rdi
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x21c0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
cmpb $0x0, 0x2828c(%rip)     # 0x42384
je 0x1a110
movq 0x58(%r14), %rdx
movsd 0x40(%r14), %xmm0
leaq 0x1d701(%rip), %rsi     # 0x3780c
jmp 0x1a075
movl 0x18(%r14), %ecx
incl %ecx
movsd 0x40(%r14), %xmm0
leaq 0x1d6f2(%rip), %rsi     # 0x37815
leaq 0x285a6(%rip), %rdx     # 0x426d0
movq %rbx, %rdi
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x21c0
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: Unlink_callback
int Unlink_callback(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
	{
    int rv = remove(fpath);

    if (rv)
        perror(fpath);

    return rv;
	}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2060
movl %eax, %ebp
testl %eax, %eax
jne 0x1a1a3
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq %rbx, %rdi
callq 0x2250
jmp 0x1a19a
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/cellcoal.c
// Function: ReadUntil
void ReadUntil(FILE *fv, char stopChar, char *what)
{
    char ch;
	
    ch=fgetc(fv);
    while (!feof(fv) && ch!=stopChar)
        ch=fgetc(fv);
	
    if (feof(fv) || ch!=stopChar) {
        fprintf (stderr, "%s missing", what);
        exit(0);
    }
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2150
movl %eax, %ebp
movq %rbx, %rdi
callq 0x21d0
testl %eax, %eax
setne %al
movzbl %bpl, %ecx
cmpl $0x5d, %ecx
setne %bpl
sete %cl
orb %al, %cl
jne 0x1a1ff
movq %rbx, %rdi
callq 0x2150
movl %eax, %ebp
movq %rbx, %rdi
callq 0x21d0
movzbl %bpl, %ecx
cmpl $0x5d, %ecx
setne %bpl
testl %eax, %eax
jne 0x1a1ff
cmpl $0x5d, %ecx
jne 0x1a1d9
movq %rbx, %rdi
callq 0x21d0
testb %bpl, %bpl
jne 0x1a217
testl %eax, %eax
jne 0x1a217
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x562a
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/eigen.c
// Function: EigenREV
int EigenREV (double Root[], double Cijk[])
{
/* freq[] is constant
*/
	int i,j,k;
	double U[16], V[16], T1[16], T2[16];

	abyx (1/mr, Qij, 16);

	if ((k=eigen (1, Qij, 4, Root, T1, U, V, T2))!=0) {
		fprintf(stderr, "\ncomplex roots in EigenREV");
		exit(0);
	}
	xtoy (U, V, 16);
	matinv (V, 4, 4, T1);
	for (i=0; i<4; i++)
   		for (j=0; j<4; j++)
   			for (k=0; k<4; k++)
   				Cijk[i*4*4+j*4+k] = U[i*4+k]*V[k*4+j];
	return (0);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rsi, %rbx
movq %rdi, %rcx
movsd 0x19dd2(%rip), %xmm0    # 0x34008
divsd 0x29ea2(%rip), %xmm0    # 0x440e0
xorl %eax, %eax
leaq 0x29ea9(%rip), %rdx     # 0x440f0
movsd (%rax,%rdx), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rdx)
addq $0x8, %rax
cmpq $0x80, %rax
jne 0x1a247
leaq 0x80(%rsp), %rax
leaq 0x100(%rsp), %r14
leaq 0x29e78(%rip), %rsi     # 0x440f0
movq %rsp, %r8
leaq 0x180(%rsp), %r15
movl $0x1, %edi
movl $0x4, %edx
movq %r15, %r9
pushq %rax
pushq %r14
callq 0x1a340
addq $0x10, %rsp
testl %eax, %eax
jne 0x1a31a
movl $0x10, %ecx
movq %r14, %rdi
movq %r15, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq %rsp, %rcx
movq %r14, %rdi
movl $0x4, %esi
movl $0x4, %edx
callq 0x1a569
xorl %eax, %eax
movq %r14, %rcx
movq %rbx, %rdx
xorl %esi, %esi
xorl %edi, %edi
movsd (%r15,%rdi), %xmm0
mulsd (%rcx,%rdi,4), %xmm0
movsd %xmm0, (%rdx,%rdi)
addq $0x8, %rdi
cmpq $0x20, %rdi
jne 0x1a2cf
incq %rsi
addq $0x20, %rdx
addq $0x8, %rcx
cmpq $0x4, %rsi
jne 0x1a2cd
incq %rax
subq $-0x80, %rbx
addq $0x20, %r15
cmpq $0x4, %rax
jne 0x1a2c5
xorl %eax, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
callq 0x5651
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/eigen.c
// Function: cdiv
complex cdiv (complex a,complex b)
{
    double ratio, den;
    complex c;

    if (fabs(b.re) <= fabs(b.im)) {
        ratio = b.re / b.im;
        den = b.im * (1 + ratio * ratio);
        c.re = (a.re * ratio + a.im) / den;
        c.im = (a.im * ratio - a.re) / den;
    }
    else {
        ratio = b.im / b.re;
        den = b.re * (1 + ratio * ratio);
        c.re = (a.re + a.im * ratio) / den;
        c.im = (a.im - a.re * ratio) / den;
    }
    return(c);
}

// Assembly:
movapd 0x1ee7b(%rip), %xmm4    # 0x3be40
movapd %xmm2, %xmm5
andpd %xmm4, %xmm5
andpd %xmm3, %xmm4
ucomisd %xmm5, %xmm4
movapd 0x170e3(%rip), %xmm4    # 0x340c0
xorpd %xmm0, %xmm4
jae 0x1d021
divsd %xmm2, %xmm3
movapd %xmm3, %xmm5
mulsd %xmm3, %xmm5
addsd 0x17011(%rip), %xmm5    # 0x34008
mulsd %xmm2, %xmm5
movapd %xmm1, %xmm2
mulsd %xmm3, %xmm2
addsd %xmm0, %xmm2
divsd %xmm5, %xmm2
mulsd %xmm3, %xmm4
addsd %xmm1, %xmm4
divsd %xmm5, %xmm4
movapd %xmm2, %xmm0
movapd %xmm4, %xmm2
jmp 0x1d051
divsd %xmm3, %xmm2
movapd %xmm2, %xmm5
mulsd %xmm2, %xmm5
addsd 0x16fd3(%rip), %xmm5    # 0x34008
mulsd %xmm3, %xmm5
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
divsd %xmm5, %xmm0
mulsd %xmm1, %xmm2
addsd %xmm4, %xmm2
divsd %xmm5, %xmm2
movapd %xmm2, %xmm1
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/eigen.c
// Function: cexpp
complex cexpp (complex a)
{
   complex c;
   c.re = exp(a.re);
   if (fabs(a.im)==0) c.im = 0;
   else  { c.im = c.re*sin(a.im); c.re*=cos(a.im); }
   return (c);
}

// Assembly:
subq $0x18, %rsp
movsd %xmm1, 0x8(%rsp)
callq 0x22d0
xorpd %xmm2, %xmm2
movsd 0x8(%rsp), %xmm3
ucomisd %xmm2, %xmm3
jne 0x1d077
jnp 0x1d0b4
movsd %xmm0, (%rsp)
movapd %xmm3, %xmm0
callq 0x2260
mulsd (%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2170
movsd 0x10(%rsp), %xmm2
movsd (%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd (%rsp), %xmm0
movapd %xmm2, %xmm1
addq $0x18, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/eigen.c
// Function: cmatby
int cmatby (complex a[], complex b[], complex c[], int n,int m,int k)
/* a[n*m], b[m*k], c[n*k]  ......  c = a*b
*/
{
   int i,j,i1;
   complex t;

   FOR (i,n)  FOR(j,k) {
       for (i1=0,t=compl(0,0); i1<m; i1++)
           t = cplus (t, cby(a[i*m+i1],b[i1*k+j]));
       c[i*k+j] = t;
   }
   return (0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
testl %ecx, %ecx
jle 0x1d1e6
movl %r9d, %eax
movl %ecx, %ecx
movl %r8d, %r10d
addq $0x8, %rdi
addq $0x8, -0x10(%rsp)
movq %rax, %r11
shlq $0x4, %r11
shlq $0x4, %r10
xorl %ebx, %ebx
xorl %r14d, %r14d
testl %r9d, %r9d
jle 0x1d1d7
movl %ebx, %r15d
shlq $0x4, %r15
addq %rdi, %r15
movq %r14, %r12
imulq %rax, %r12
shlq $0x4, %r12
addq -0x8(%rsp), %r12
movq -0x10(%rsp), %rsi
xorl %ebp, %ebp
testl %r8d, %r8d
jle 0x1d1ab
xorpd %xmm0, %xmm0
movq %rsi, %r13
xorl %edx, %edx
xorpd %xmm1, %xmm1
movsd -0x8(%r15,%rdx), %xmm2
movsd (%r15,%rdx), %xmm3
movsd -0x8(%r13), %xmm4
movsd (%r13), %xmm5
movapd %xmm2, %xmm6
mulsd %xmm5, %xmm2
mulsd %xmm3, %xmm5
mulsd %xmm4, %xmm6
subsd %xmm5, %xmm6
addsd %xmm6, %xmm0
mulsd %xmm4, %xmm3
addsd %xmm3, %xmm2
addsd %xmm2, %xmm1
addq $0x10, %rdx
addq %r11, %r13
cmpq %rdx, %r10
jne 0x1d160
jmp 0x1d1b3
xorpd %xmm1, %xmm1
xorpd %xmm0, %xmm0
movq %rbp, %rdx
shlq $0x4, %rdx
movsd %xmm0, (%r12,%rdx)
movsd %xmm1, 0x8(%r12,%rdx)
incq %rbp
addq $0x10, %rsi
cmpq %rax, %rbp
jne 0x1d14e
incq %r14
addl %r8d, %ebx
cmpq %rcx, %r14
jne 0x1d124
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/dapogon[P]cellcoal/src/eigen.c
// Function: cmatout
int cmatout (FILE * fout, complex x[], int n, int m)
{
   int i,j;
   for (i=0,FPN(fout); i<n; i++,FPN(fout))
        FOR(j,m) fprintf(fout, "%7.3f%7.3f  ", x[i*m+j].re, x[i*m+j].im);
   return (0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, 0xc(%rsp)
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movl $0xa, %edi
movq %r15, %rsi
callq 0x2180
testl %ebp, %ebp
jle 0x1d281
movl 0xc(%rsp), %r13d
movl %ebp, %eax
movq %rax, 0x10(%rsp)
addq $0x8, %r14
shlq $0x4, %r13
xorl %ebx, %ebx
leaq 0x1ec4c(%rip), %r12     # 0x3be87
cmpl $0x0, 0xc(%rsp)
jle 0x1d267
xorl %ebp, %ebp
movsd -0x8(%r14,%rbp), %xmm0
movsd (%r14,%rbp), %xmm1
movq %r15, %rdi
movq %r12, %rsi
movb $0x2, %al
callq 0x21c0
addq $0x10, %rbp
cmpq %rbp, %r13
jne 0x1d244
incq %rbx
movl $0xa, %edi
movq %r15, %rsi
callq 0x2180
addq %r13, %r14
cmpq 0x10(%rsp), %rbx
jne 0x1d23b
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: fiu_init
int fiu_init(unsigned int flags)
{
	char *static_seed_from_env;

	/* Used to avoid re-initialization, protected by enabled_fails_lock */
	static int initialized = 0;

	rec_count++;
	ef_wlock();
	if (initialized) {
		ef_wunlock();
		rec_count--;
		return 0;
	}

	pthread_key_create(&last_failinfo_key, NULL);

	enabled_fails = wtable_create((void (*)(void *))pf_free);

	if (pthread_atfork(NULL, NULL, atfork_child) != 0) {
		ef_wunlock();
		rec_count--;
		return -1;
	}

	static_seed_from_env = getenv("FIU_PRNG_SEED");
	if (static_seed_from_env != NULL) {
		fiu_set_prng_seed(atoi(static_seed_from_env));
	}

	prng_seed();

	initialized = 1;

	ef_wunlock();
	rec_count--;
	return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq 0x5b5c(%rip), %rdi      # 0x7fd8
callq 0x21e0
movq %rax, %rbx
incl (%rax)
leaq 0x5d40(%rip), %rdi      # 0x81d0
callq 0x20a0
xorl %ebp, %ebp
cmpb $0x0, 0x5d2a(%rip)      # 0x81c8
jne 0x2530
leaq 0x5d5d(%rip), %rdi      # 0x8208
xorl %esi, %esi
callq 0x2160
leaq 0x90(%rip), %rdi        # 0x2549
callq 0x32c0
leaq 0x5cfb(%rip), %rcx      # 0x81c0
movq %rax, (%rcx)
leaq 0x98(%rip), %rdx        # 0x2567
xorl %edi, %edi
xorl %esi, %esi
callq 0x4140
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x2530
leaq 0x2b30(%rip), %rdi      # 0x5018
callq 0x2030
testq %rax, %rax
je 0x2507
movq %rax, %rdi
callq 0x22f0
movl %eax, 0x5cb0(%rip)      # 0x81b0
movb $0x1, 0x5d05(%rip)      # 0x820c
cmpb $0x0, 0x5cfe(%rip)      # 0x820c
jne 0x2527
movq %rsp, %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x2150
movl 0x8(%r14), %eax
movl %eax, 0x5c89(%rip)      # 0x81b0
movb $0x1, 0x5c9a(%rip)      # 0x81c8
xorl %ebp, %ebp
leaq 0x5c99(%rip), %rdi      # 0x81d0
callq 0x2250
decl (%rbx)
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: pf_create
static struct pf_info *pf_create(const char *name, int failnum, void *failinfo,
                                 unsigned int flags, enum pf_method method)
{
	struct pf_info *pf;

	rec_count++;

	pf = malloc(sizeof(struct pf_info));
	if (pf == NULL)
		goto exit;

	pf->name = strdup(name);
	if (pf->name == NULL) {
		free(pf);
		pf = NULL;
		goto exit;
	}

	pf->namelen = strlen(name);
	pf->failnum = failnum;
	pf->failinfo = failinfo;
	pf->flags = flags;
	pf->method = method;

	/* These two are only use when flags & FIU_ONETIME. */
	pthread_mutex_init(&pf->lock, NULL);
	pf->failed_once = false;

exit:
	rec_count--;
	return pf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, 0x4(%rsp)
movl %ecx, %r15d
movq %rdx, %r12
movl %esi, %r13d
movq %rdi, %rbp
leaq 0x5802(%rip), %rdi      # 0x7fd8
callq 0x21e0
movq %rax, %rbx
incl (%rax)
movl $0x68, %edi
callq 0x2230
testq %rax, %rax
je 0x2842
movq %rax, %r14
movq %rbp, %rdi
callq 0x2310
movq %rax, (%r14)
testq %rax, %rax
je 0x283a
movq %rbp, %rdi
callq 0x2100
movl %eax, 0x8(%r14)
movl %r13d, 0xc(%r14)
movq %r12, 0x10(%r14)
movl %r15d, 0x18(%r14)
movl 0x4(%rsp), %eax
movl %eax, 0x4c(%r14)
movq %r14, %rdi
addq $0x20, %rdi
xorl %esi, %esi
callq 0x2320
movb $0x0, 0x48(%r14)
jmp 0x2845
movq %r14, %rdi
callq 0x2040
xorl %r14d, %r14d
decl (%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: insert_pf
static int insert_pf(struct pf_info *pf)
{
	bool success;

	rec_count++;

	ef_wlock();
	success = wtable_set(enabled_fails, pf->name, pf);
	ef_wunlock();

	rec_count--;
	return success ? 0 : -1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x576f(%rip), %rdi      # 0x7fd8
callq 0x21e0
movq %rax, %r14
incl (%rax)
leaq 0x5953(%rip), %r15      # 0x81d0
movq %r15, %rdi
callq 0x20a0
leaq 0x5934(%rip), %rax      # 0x81c0
movq (%rax), %rdi
movq (%rbx), %rsi
movq %rbx, %rdx
callq 0x357d
movl %eax, %ebx
movq %r15, %rdi
callq 0x2250
decl (%r14)
movzbl %bl, %eax
decl %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: fiu_enable_random
int fiu_enable_random(const char *name, int failnum, void *failinfo,
                      unsigned int flags, float probability)
{
	struct pf_info *pf;

	pf = pf_create(name, failnum, failinfo, flags, PF_PROB);
	if (pf == NULL)
		return -1;

	pf->minfo.probability = probability;
	return insert_pf(pf);
}

// Assembly:
pushq %rax
movss %xmm0, 0x4(%rsp)
movl $0x2, %r8d
callq 0x27b2
testq %rax, %rax
je 0x28dd
movss 0x4(%rsp), %xmm0
movss %xmm0, 0x50(%rax)
movq %rax, %rdi
popq %rax
jmp 0x2859
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: fiu_enable_external
int fiu_enable_external(const char *name, int failnum, void *failinfo,
                        unsigned int flags, external_cb_t *external_cb)
{
	struct pf_info *pf;

	pf = pf_create(name, failnum, failinfo, flags, PF_EXTERNAL);
	if (pf == NULL)
		return -1;

	pf->minfo.external_cb = external_cb;
	return insert_pf(pf);
}

// Assembly:
pushq %rbx
movq %r8, %rbx
movl $0x3, %r8d
callq 0x27b2
testq %rax, %rax
je 0x2905
movq %rbx, 0x50(%rax)
movq %rax, %rdi
popq %rbx
jmp 0x2859
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: fiu_enable_stack
int fiu_enable_stack(const char *name, int failnum, void *failinfo,
                     unsigned int flags, void *func, int func_pos_in_stack)
{
	struct pf_info *pf;

	/* Specifying the stack position is unsupported for now */
	if (func_pos_in_stack != -1)
		return -1;

	if (backtrace_works((void (*)())fiu_enable_stack) == 0)
		return -1;

	// We need either get_func_end() or get_func_start() to work, see
	// pc_in_func() above.
	if (get_func_end(func) == NULL && get_func_start(func) == NULL)
		return -1;

	pf = pf_create(name, failnum, failinfo, flags, PF_STACK);
	if (pf == NULL)
		return -1;

	pf->minfo.stack.func_start = func;
	pf->minfo.stack.func_end = get_func_end(func);
	pf->minfo.stack.func_pos_in_stack = func_pos_in_stack;
	return insert_pf(pf);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl $-0x1, %r9d
je 0x2928
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r8, %rbx
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r12
movq 0x5683(%rip), %rdi      # 0x7fc0
callq 0x31e8
testl %eax, %eax
je 0x291a
movq %rbx, %rdi
callq 0x3199
testq %rax, %rax
jne 0x2960
movq %rbx, %rdi
callq 0x3179
testq %rax, %rax
je 0x291a
movq %r12, %rdi
movl %r15d, %esi
movq %r14, %rdx
movl %ebp, %ecx
movl $0x4, %r8d
callq 0x27b2
testq %rax, %rax
je 0x291a
movq %rax, %r14
movq %rbx, 0x50(%rax)
movq %rbx, %rdi
callq 0x3199
movq %rax, 0x58(%r14)
movl $0xffffffff, 0x60(%r14) # imm = 0xFFFFFFFF
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2859
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: fiu_enable_stack_by_name
int fiu_enable_stack_by_name(const char *name, int failnum, void *failinfo,
                             unsigned int flags, const char *func_name,
                             int func_pos_in_stack)
{
	void *fp;

	/* We need to check this here instead of relying on the test within
	 * fiu_enable_stack() in case it is inlined; that would fail the check
	 * because fiu_enable_stack() would not be in the stack. */
	if (backtrace_works((void (*)())fiu_enable_stack_by_name) == 0)
		return -1;

	fp = get_func_addr(func_name);
	if (fp == NULL)
		return -1;

	return fiu_enable_stack(name, failnum, failinfo, flags, fp,
	                        func_pos_in_stack);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movq %r8, %r13
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r12
movq 0x55ff(%rip), %rdi      # 0x7fc8
callq 0x31e8
testl %eax, %eax
je 0x2a03
movq %r13, %rdi
callq 0x31de
testq %rax, %rax
je 0x2a03
movq %r12, %rdi
movl %r15d, %esi
movq %r14, %rdx
movl %ebp, %ecx
movq %rax, %r8
movl %ebx, %r9d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2350
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu.c
// Function: fiu_disable
int fiu_disable(const char *name)
{
	bool success;

	rec_count++;

	/* Just find the point of failure and remove it. */
	ef_wlock();
	success = wtable_del(enabled_fails, name);
	ef_wunlock();

	rec_count--;
	return success ? 0 : -1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x55b1(%rip), %rdi      # 0x7fd8
callq 0x21e0
movq %rax, %r14
incl (%rax)
leaq 0x5795(%rip), %r15      # 0x81d0
movq %r15, %rdi
callq 0x20a0
leaq 0x5776(%rip), %rax      # 0x81c0
movq (%rax), %rdi
movq %rbx, %rsi
callq 0x3777
movl %eax, %ebx
movq %r15, %rdi
callq 0x2250
decl (%r14)
movzbl %bl, %eax
decl %eax
popq %rbx
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu-rc.c
// Function: fiu_rc_fifo
int fiu_rc_fifo(const char *basename)
{
	int r;

	r = _fiu_rc_fifo(basename);
	if (r < 0)
		return r;

	npipe_basename = strdup(basename);
	pthread_atfork(NULL, NULL, fifo_atfork_child);

	return r;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x2e25
movl %eax, %ebx
testl %eax, %eax
js 0x2e1b
movq %r14, %rdi
callq 0x2310
movq %rax, 0x5405(%rip)      # 0x8210
leaq 0x14b(%rip), %rdx       # 0x2f5d
xorl %edi, %edi
xorl %esi, %esi
callq 0x4140
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/fiu-rc.c
// Function: fiu_rc_fifo
static int _fiu_rc_fifo(const char *basename)
{
	pthread_t thread;

	/* see rc_fifo_thread() */
	rec_count++;

	/* Allocate the pipe paths. Will be composed of
	 * "<basename>-<pid>.[in|out]", so leave plenty of room for the last
	 * part, to handle potentially long pids.
	 * These live through the entire life of the binary and are never
	 * freed. */
	int path_len = strlen(basename) + 40;
	npipe_path_in = malloc(path_len);
	npipe_path_out = malloc(path_len);

	snprintf(npipe_path_in, path_len, "%s-%d.in", basename, getpid());
	snprintf(npipe_path_out, path_len, "%s-%d.out", basename, getpid());

	if (mkfifo(npipe_path_in, 0600) != 0 && errno != EEXIST) {
		rec_count--;
		return -1;
	}

	if (mkfifo(npipe_path_out, 0600) != 0 && errno != EEXIST) {
		unlink(npipe_path_in);
		rec_count--;
		return -1;
	}

	if (pthread_create(&thread, NULL, rc_fifo_thread, NULL) != 0) {
		unlink(npipe_path_in);
		unlink(npipe_path_out);
		rec_count--;
		return -1;
	}

	atexit(fifo_atexit);

	rec_count--;
	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x51a0(%rip), %rdi      # 0x7fd8
callq 0x21e0
movq %rax, %rbx
incl (%rax)
movq %r14, %rdi
callq 0x2100
addl $0x28, %eax
movslq %eax, %r15
movq %r15, %rdi
callq 0x2230
movq %rax, %r12
movq %rax, 0x53b3(%rip)      # 0x8218
movq %r15, %rdi
callq 0x2230
movq %rax, 0x53ac(%rip)      # 0x8220
callq 0x20f0
leaq 0x22dc(%rip), %rdx      # 0x515c
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rcx
movl %eax, %r8d
xorl %eax, %eax
callq 0x2140
movq 0x5386(%rip), %r12      # 0x8220
callq 0x20f0
leaq 0x22bf(%rip), %rdx      # 0x5165
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rcx
movl %eax, %r8d
xorl %eax, %eax
callq 0x2140
movq 0x5358(%rip), %rdi      # 0x8218
movl $0x180, %esi            # imm = 0x180
callq 0x2210
testl %eax, %eax
je 0x2ede
callq 0x2060
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
cmpl $0x11, (%rax)
jne 0x2f4c
movq 0x533b(%rip), %rdi      # 0x8220
movl $0x180, %esi            # imm = 0x180
callq 0x2210
testl %eax, %eax
je 0x2efd
callq 0x2060
cmpl $0x11, (%rax)
jne 0x2f2c
leaq 0x65(%rip), %rdx        # 0x2f69
xorl %r14d, %r14d
movq %rsp, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0x2270
testl %eax, %eax
je 0x2f40
movq 0x52fa(%rip), %rdi      # 0x8218
callq 0x2070
movq 0x52f6(%rip), %rdi      # 0x8220
jmp 0x2f33
movq 0x52e5(%rip), %rdi      # 0x8218
callq 0x2070
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
jmp 0x2f4c
leaq 0x212(%rip), %rdi       # 0x3159
callq 0x4120
decl (%rbx)
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/backtrace.c
// Function: get_func_end
void *get_func_end(void *func)
{
	int r;
	Dl_info dl_info;
	ElfW(Sym) * elf_info;

	r = dladdr1(func, &dl_info, (void **)&elf_info, RTLD_DL_SYMENT);
	if (r == 0)
		return NULL;
	if (elf_info == NULL)
		return NULL;
	if (dl_info.dli_saddr == NULL)
		return NULL;

	return ((unsigned char *)func) + elf_info->st_size;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movl $0x1, %ecx
callq 0x22a0
testl %eax, %eax
je 0x31d6
movq 0x8(%rsp), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0x31d8
cmpq $0x0, 0x28(%rsp)
je 0x31d8
addq 0x10(%rcx), %rbx
movq %rbx, %rax
jmp 0x31d8
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/backtrace.c
// Function: backtrace_works
int backtrace_works(void (*caller)())
{
	/* We remember the result so we don't have to compute it over an over
	 * again, we know it doesn't change. */
	static int works = -1;

	void *start = NULL;
	void *end = NULL;
	void *bt_buffer[100];
	void *pc;
	int nptrs, i;

	/* Return the result if we know it. */
	if (works >= 0)
		return works;

	nptrs = get_backtrace(bt_buffer, 100);
	if (nptrs <= 0) {
		works = 0;
		return works;
	}

	/* We will detect if it works by looking for the caller in the
	 * backtrace. */
	start = get_func_start(fp_to_voidp(caller));
	end = get_func_end(fp_to_voidp(caller));

	if (start == NULL && end == NULL) {
		works = 0;
		return works;
	}

	for (i = 0; i < nptrs; i++) {
		pc = bt_buffer[i];

		/* On some platforms, we have everything except
		 * get_func_end(), and that's ok. */
		if (end) {
			if (pc >= start && pc <= end) {
				works = 1;
				return works;
			}
		} else {
			if (get_func_start(pc) == start) {
				works = 1;
				return works;
			}
		}
	}

	works = 0;
	return works;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x348, %rsp            # imm = 0x348
movl 0x4fb4(%rip), %r14d     # 0x81b4
testl %r14d, %r14d
jns 0x32a9
movq %rdi, %rbx
leaq 0x20(%rsp), %rdi
movl $0x64, %esi
callq 0x2110
testl %eax, %eax
jle 0x3297
movl %eax, %ebp
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x2120
xorl %r14d, %r14d
testl %eax, %eax
je 0x323a
movq 0x18(%rsp), %r15
jmp 0x323d
xorl %r15d, %r15d
movq %rbx, %rdi
callq 0x3199
movq %rax, %rbx
movq %r15, %rax
orq %rbx, %rax
je 0x32a2
movl %ebp, %r12d
xorl %r13d, %r13d
movq %rsp, %r14
movq 0x20(%rsp,%r13,8), %rdi
testq %rbx, %rbx
je 0x3275
cmpq %r15, %rdi
setb %al
cmpq %rbx, %rdi
seta %cl
orb %al, %cl
jne 0x328f
jmp 0x329c
movq %r14, %rsi
callq 0x2120
testl %eax, %eax
je 0x3288
movq 0x18(%rsp), %rax
jmp 0x328a
xorl %eax, %eax
cmpq %r15, %rax
je 0x329c
incq %r13
cmpq %r13, %r12
jne 0x3259
xorl %r14d, %r14d
jmp 0x32a2
movl $0x1, %r14d
movl %r14d, 0x4f0b(%rip)     # 0x81b4
movl %r14d, %eax
addq $0x348, %rsp            # imm = 0x348
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: wtable_create
struct wtable *wtable_create(void (*destructor)(void *))
{
	struct wtable *t = malloc(sizeof(struct wtable));
	if (t == NULL)
		return NULL;

	t->wildcards = NULL;
	t->wcache = NULL;

	t->finals = hash_create(destructor);
	if (t->finals == NULL)
		goto error;

	t->wildcards = malloc(sizeof(struct wentry) * MIN_SIZE);
	if (t->wildcards == NULL)
		goto error;

	memset(t->wildcards, 0, sizeof(struct wentry) * MIN_SIZE);

	t->wcache = cache_create();
	if (t->wcache == NULL)
		goto error;

	t->ws_size = MIN_SIZE;
	t->ws_used_count = 0;
	t->destructor = destructor;

	return t;

error:
	if (t->finals)
		hash_free(t->finals);
	if (t->wcache)
		cache_free(t->wcache);
	free(t->wildcards);
	free(t);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x30, %edi
callq 0x2230
testq %rax, %rax
je 0x336f
movq %rax, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rbx)
movq %rax, 0x20(%rbx)
movq %r14, %rdi
callq 0x3884
movq %rax, (%rbx)
testq %rax, %rax
je 0x3350
movq %rax, %r15
movl $0x140, %edi            # imm = 0x140
callq 0x2230
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x3343
movl $0x140, %edx            # imm = 0x140
movq %rax, %rdi
xorl %esi, %esi
callq 0x2170
xorl %eax, %eax
callq 0x3d48
movq %rax, 0x20(%rbx)
testq %rax, %rax
je 0x3343
movq $0xa, 0x10(%rbx)
movq $0x0, 0x18(%rbx)
movq %r14, 0x28(%rbx)
jmp 0x3371
testq %r15, %r15
je 0x3350
movq %r15, %rdi
callq 0x38f7
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x335e
callq 0x3d89
movq 0x8(%rbx), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2040
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: wtable_free
void wtable_free(struct wtable *t)
{
	int i;
	struct wentry *entry;

	hash_free(t->finals);
	cache_free(t->wcache);

	for (i = 0; i < t->ws_size; i++) {
		entry = t->wildcards + i;
		if (entry->in_use) {
			t->destructor(entry->value);
			free(entry->key);
		}
	}

	free(t->wildcards);
	free(t);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x38f7
movq 0x20(%rbx), %rdi
callq 0x3d89
cmpq $0x0, 0x10(%rbx)
je 0x33d0
movl $0x18, %r14d
xorl %r15d, %r15d
movq 0x8(%rbx), %r12
cmpb $0x1, (%r12,%r14)
jne 0x33c3
movq -0x8(%r12,%r14), %rdi
callq *0x28(%rbx)
movq -0x18(%r12,%r14), %rdi
callq 0x2040
incq %r15
addq $0x20, %r14
cmpq %r15, 0x10(%rbx)
ja 0x33a6
movq 0x8(%rbx), %rdi
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2040
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: wtable_get
void *wtable_get(struct wtable *t, const char *key)
{
	void *value;
	struct wentry *entry;

	/* Do an exact lookup first. */
	value = hash_get(t->finals, key);
	if (value)
		return value;

	/* Then see if we can find it in the wcache */
	if (cache_get(t->wcache, key, &value))
		return value;

	/* And then walk the wildcards array. */
	entry = wildcards_find_entry(t, key, false, NULL);
	if (entry) {
		cache_set(t->wcache, key, entry->value);
		return entry->value;
	}

	/* Cache the negative result as well. */
	cache_set(t->wcache, key, NULL);

	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
callq 0x3956
movq %rax, %r15
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x3466
movq 0x20(%r14), %rdi
leaq 0x8(%rsp), %rdx
movq %rbx, %rsi
callq 0x3f65
testb %al, %al
je 0x342c
movq 0x8(%rsp), %r15
jmp 0x3466
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3473
movq 0x20(%r14), %rdi
testq %rax, %rax
je 0x3459
movq %rax, %r15
movq 0x10(%rax), %rdx
movq %rbx, %rsi
callq 0x3ff4
movq 0x10(%r15), %r15
jmp 0x3466
xorl %r15d, %r15d
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3ff4
movq %r15, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: wildcards_find_entry
static struct wentry *wildcards_find_entry(struct wtable *t, const char *key,
                                           bool exact,
                                           struct wentry **first_free)
{
	size_t key_len;
	size_t pos;
	struct wentry *entry;
	bool found_free = false;

	key_len = strlen(key);

	for (pos = 0; pos < t->ws_size; pos++) {
		entry = t->wildcards + pos;
		if (!entry->in_use) {
			if (!found_free && first_free) {
				*first_free = entry;
				found_free = true;
			}
			continue;

		} else if (ws_matches_s(entry->key, entry->key_len, key,
		                        key_len, exact)) {
			/* The key matches. */
			return entry;
		}
	}

	/* No match. */
	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
movl %edx, 0x4(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2100
movq 0x10(%rbx), %r12
testq %r12, %r12
je 0x3568
movq %rax, %r9
xorl %r15d, %r15d
xorl %ebp, %ebp
movq 0x8(%rsp), %rsi
movl 0x4(%rsp), %r8d
movq %rbx, 0x10(%rsp)
movq 0x8(%rbx), %rax
movq %rbp, %rcx
shlq $0x5, %rcx
leaq (%rax,%rcx), %r13
cmpb $0x0, 0x18(%rax,%rcx)
je 0x351c
testq %r14, %r14
sete %al
movq (%r13), %rdi
testq %rdi, %rdi
sete %cl
orb %al, %cl
jne 0x355c
movq 0x8(%r13), %rax
testb %r8b, %r8b
jne 0x3531
cmpb $0x2a, -0x1(%rdi,%rax)
jne 0x3531
movb (%rdi), %dl
xorl %ecx, %ecx
testb %dl, %dl
je 0x3511
cmpb (%r14,%rcx), %dl
jne 0x350f
movb 0x1(%rdi,%rcx), %dl
incq %rcx
testb %dl, %dl
jne 0x34fe
movl %ecx, %ecx
decq %rax
cmpq %rcx, %rax
setbe %al
jmp 0x3558
testq %rsi, %rsi
sete %al
orb %r15b, %al
testb $0x1, %al
jne 0x355c
movq %r13, (%rsi)
movb $0x1, %r15b
jmp 0x355c
cmpq %r9, %rax
jne 0x355c
movq %r14, %rsi
movq %r9, %rbx
callq 0x21f0
movq %rbx, %r9
movq 0x10(%rsp), %rbx
movl 0x4(%rsp), %r8d
movq 0x8(%rsp), %rsi
testl %eax, %eax
sete %al
testb %al, %al
jne 0x356b
incq %rbp
cmpq %r12, %rbp
jne 0x34bc
xorl %r13d, %r13d
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: wtable_set
bool wtable_set(struct wtable *t, const char *key, void *value)
{
	if (is_wildcard(key, strlen(key))) {
		if ((t->ws_size - t->ws_used_count) <= 1) {
			/* If we only have one entry left, grow by 30%, plus
			 * one to make sure we always increase even if the
			 * percentage isn't enough. */
			if (!resize_table(t, t->ws_size * 1.3 + 1))
				return false;
		}

		/* Invalidate the cache. We could be smart and walk it,
		 * removing only the negative hits, but it's also more
		 * expensive */
		cache_invalidate(t->wcache);

		return wildcards_set(t, strdup(key), value);
	} else {
		return hash_set(t->finals, key, value);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq 0x2100
cmpb $0x2a, -0x1(%r15,%rax)
jne 0x3630
movq 0x10(%r14), %rax
movq %rax, %rcx
subq 0x18(%r14), %rcx
cmpq $0x1, %rcx
ja 0x360c
movq %rax, %xmm0
punpckldq 0x1c43(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x1c4b(%rip), %xmm0     # 0x5210
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
mulsd 0x1c47(%rip), %xmm1     # 0x5220
addsd 0x1c47(%rip), %xmm1     # 0x5228
cvttsd2si %xmm1, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x1c3b(%rip), %xmm1     # 0x5230
cvttsd2si %xmm1, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r14, %rdi
callq 0x364b
testb %al, %al
je 0x3643
movq 0x20(%r14), %rdi
callq 0x3da7
movq %r15, %rdi
callq 0x2310
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x36f4
movq (%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x3a66
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: resize_table
static bool resize_table(struct wtable *t, size_t new_size)
{
	size_t i;
	struct wentry *old_wildcards, *e;
	size_t old_size;

	if (new_size < MIN_SIZE) {
		/* Do not resize below the minimum size. */
		return true;
	}

	old_wildcards = t->wildcards;
	old_size = t->ws_size;

	t->wildcards = malloc(sizeof(struct wentry) * new_size);
	if (t->wildcards == NULL)
		return false;

	memset(t->wildcards, 0, sizeof(struct wentry) * new_size);
	t->ws_size = new_size;
	t->ws_used_count = 0;

	/* Insert the old entries into the new table. */
	for (i = 0; i < old_size; i++) {
		e = old_wildcards + i;
		if (e->in_use) {
			wildcards_set(t, e->key, e->value);
		}
	}

	free(old_wildcards);

	/* Keep the cache the same size as our table, which works reasonably
	 * well in practise */
	cache_resize(t->wcache, new_size);

	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movb $0x1, %bl
cmpq $0xa, %rsi
jb 0x36e3
movq %rsi, %r14
movq %rdi, %r15
movq 0x8(%rdi), %r12
movq 0x10(%rdi), %rbp
movq %rsi, %r13
shlq $0x5, %r13
movq %r13, %rdi
callq 0x2230
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0x36e1
movq %rax, %rdi
xorl %esi, %esi
movq %r13, %rdx
callq 0x2170
movq %r14, 0x10(%r15)
movq $0x0, 0x18(%r15)
testq %rbp, %rbp
je 0x36cb
leaq 0x18(%r12), %r13
cmpb $0x1, (%r13)
jne 0x36c2
movq -0x18(%r13), %rsi
movq -0x8(%r13), %rdx
movq %r15, %rdi
callq 0x36f4
addq $0x20, %r13
decq %rbp
jne 0x36ab
movq %r12, %rdi
callq 0x2040
movq 0x20(%r15), %rdi
movq %r14, %rsi
callq 0x3e33
jmp 0x36e3
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: wildcards_set
static bool wildcards_set(struct wtable *t, char *key, void *value)
{
	struct wentry *entry, *first_free;

	first_free = NULL;
	entry = wildcards_find_entry(t, key, true, &first_free);

	if (entry) {
		/* Found a match, override the value. */
		free(entry->key);
		entry->key = key;
		t->destructor(entry->value);
		entry->value = value;
		return true;
	} else if (first_free) {
		/* We are inserting a new entry. */
		first_free->key = key;
		first_free->key_len = strlen(key);
		first_free->value = value;
		first_free->in_use = true;
		t->ws_used_count++;
		return true;
	}

	/* This should never happen, as we should always have space by the
	 * time this function is called. */
	return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq %rsp, %rcx
movq $0x0, (%rcx)
movl $0x1, %edx
callq 0x3473
testq %rax, %rax
je 0x373d
movq %rax, %r12
movq (%rax), %rdi
callq 0x2040
movq %r15, (%r12)
movq 0x10(%r12), %rdi
callq *0x28(%r14)
movq %rbx, 0x10(%r12)
jmp 0x3765
movq (%rsp), %rax
testq %rax, %rax
je 0x3773
movq %r15, (%rax)
movq %r15, %rdi
callq 0x2100
movq (%rsp), %rcx
movq %rax, 0x8(%rcx)
movq %rbx, 0x10(%rcx)
movb $0x1, 0x18(%rcx)
incq 0x18(%r14)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
xorl %eax, %eax
jmp 0x3767
// File: /workspace/github_c_makefile_star2_O1/albertito[P]libfiu/libfiu/wtable.c
// Function: wtable_del
bool wtable_del(struct wtable *t, const char *key)
{
	struct wentry *entry;

	if (is_wildcard(key, strlen(key))) {
		entry = wildcards_find_entry(t, key, true, NULL);

		if (!entry) {
			/* Key not found. */
			return false;
		}

		/* Mark the entry as free. */
		free(entry->key);
		entry->key = NULL;
		entry->key_len = 0;
		t->destructor(entry->value);
		entry->value = NULL;
		entry->in_use = false;

		t->ws_used_count--;

		/* Shrink if the table is less than 60% occupied. */
		if (t->ws_size > MIN_SIZE &&
		    (float)t->ws_used_count / t->ws_size < 0.6) {
			if (!resize_table(t, t->ws_used_count + 3))
				return false;
		}

		/* Invalidate the cache. We could be smart and walk it,
		 * removing only the positive hits, but it's also more
		 * expensive */
		cache_invalidate(t->wcache);

		return true;
	} else {
		return hash_del(t->finals, key);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2100
cmpb $0x2a, -0x1(%r15,%rax)
jne 0x37fb
xorl %r14d, %r14d
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x3473
testq %rax, %rax
je 0x3876
movq %rax, %r15
movq (%rax), %rdi
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq 0x10(%r15), %rdi
callq *0x28(%rbx)
movq $0x0, 0x10(%r15)
movb $0x0, 0x18(%r15)
movq 0x10(%rbx), %rax
movq 0x18(%rbx), %rsi
leaq -0x1(%rsi), %rcx
movq %rcx, 0x18(%rbx)
cmpq $0xb, %rax
jb 0x386a
testq %rcx, %rcx
js 0x380b
xorps %xmm0, %xmm0
cvtsi2ss %rcx, %xmm0
jmp 0x3823
movq (%rbx), %rdi
movq %r15, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x3c4c
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
orq %rdx, %rcx
xorps %xmm0, %xmm0
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
testq %rax, %rax
js 0x382f
cvtsi2ss %rax, %xmm1
jmp 0x3844
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
cvtsi2ss %rax, %xmm1
addss %xmm1, %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x19e4(%rip), %xmm1     # 0x5238
ucomisd %xmm0, %xmm1
jbe 0x386a
addq $0x2, %rsi
movq %rbx, %rdi
callq 0x364b
testb %al, %al
je 0x387f
movq 0x20(%rbx), %rdi
callq 0x3da7
movb $0x1, %r14b
movl %r14d, %eax
popq %rbx
popq %r14
popq %r15
retq
xorl %r14d, %r14d
jmp 0x3876
// File: /workspace/github_c_makefile_star2_O1/ijleesw[P]data-compression/src/arithmetic/main.cpp
// Function: encode_BYTE(char*, char*)
void encode_BYTE(char* szInputName, char* szOutputName)
{
  file_map<BYTE> map_input(szInputName);
  file_writer<bit> file_comp_out;
  file_comp_out.create(szOutputName);

  arithmetic_encoder enc(&file_comp_out);
  adaptive_model<BYTE> mdl(&enc);

  DWORD adwHeader[2];
  
  adwHeader[0] = g_dwMagic;
  adwHeader[1] = map_input.get_size();

  file_comp_out.write_header((BYTE*)adwHeader, sizeof(adwHeader));
  
  for(;;)
  {
    BYTE b = map_input.read_next();
    if (map_input.eof()) 
    {
      mdl.encode_symbol(b);
      break;
    }
    mdl.encode_symbol(b);
  }
  BYTE b = map_input.read_next();
  mdl.encode_symbol(b);
  mdl.encode_eof();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rsi, %rbx
movq %rdi, %rsi
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x276c
movl $0xffffffff, 0x30(%rsp) # imm = 0xFFFFFFFF
movl $0x1000, %edi           # imm = 0x1000
callq 0x2150
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x2386
movabsq $0x100000000000, %rax   # imm = 0x100000000000
movq %rax, 0x44(%rsp)
movl $0x8, 0x4c(%rsp)
movb $0x0, 0x40(%rsp)
movq %rbx, %rdi
movl $0x1b6, %esi            # imm = 0x1B6
callq 0x20c0
leaq 0x30(%rsp), %rcx
movl %eax, (%rcx)
movaps 0x1c6f(%rip), %xmm0     # 0x4010
leaq 0x90(%rsp), %rsi
movups %xmm0, 0x8(%rsi)
movq %rcx, (%rsi)
leaq 0x50(%rsp), %rdi
callq 0x27d8
leaq 0x88(%rsp), %rbx
movl $0x68746542, (%rbx)     # imm = 0x68746542
movl 0x8(%rsp), %edi
leaq 0xa8(%rsp), %r14
movq %r14, %rsi
callq 0x2180
movl 0x30(%r14), %eax
movl %eax, 0x4(%rbx)
movl 0x30(%rsp), %edi
movl $0x8, %edx
movq %rbx, %rsi
callq 0x2040
leaq 0x50(%rsp), %rbx
movq 0x10(%rsp), %rax
movl 0x24(%rsp), %r14d
leal 0x1(%r14), %ecx
movl %ecx, 0x24(%rsp)
movzbl (%rax,%r14), %esi
movl 0x20(%rsp), %r15d
movl 0x28(%rsp), %r12d
movq %rbx, %rdi
callq 0x283e
leal 0x2(%r14), %eax
addq %r12, %rax
cmpq %r15, %rax
jb 0x23f9
movq 0x10(%rsp), %rax
movl 0x24(%rsp), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x24(%rsp)
movzbl (%rax,%rcx), %esi
leaq 0x50(%rsp), %rdi
callq 0x283e
movq 0x78(%rsp), %rdi
callq 0x2f30
leaq 0x390b(%rip), %rax      # 0x5d68
movq %rax, 0x50(%rsp)
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x2471
callq 0x2110
leaq 0x30(%rsp), %rdi
callq 0x28a8
leaq 0x8(%rsp), %rdi
callq 0x28fe
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x249f
jmp 0x2498
movq %rax, %rbx
jmp 0x24bd
jmp 0x249f
movq %rax, %rbx
leaq 0x38bf(%rip), %rax      # 0x5d68
movq %rax, 0x50(%rsp)
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x24bd
callq 0x2110
leaq 0x30(%rsp), %rdi
callq 0x28a8
leaq 0x8(%rsp), %rdi
callq 0x28fe
movq %rbx, %rdi
callq 0x21b0