LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/albinoloverats[P]hide/src/jpeg.c
// Function: info_jpeg
extern uint64_t info_jpeg(image_info_t *image_info)
#endif
{
	data_info_t extra = { NULL, 0, true, false };
	image_info->extra = &extra;
	read_jpeg(image_info, NULL);
	return HIDE_CAPACITY;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x2a3c(%rip), %rax      # 0x4028
movq %rsp, %rcx
movq %rax, 0x10(%rcx)
movups 0x2a1e(%rip), %xmm0     # 0x4018
movaps %xmm0, (%rcx)
movq %rcx, 0x48(%rdi)
xorl %esi, %esi
callq 0x12ec
movq 0x28(%rbx), %rax
imulq 0x30(%rbx), %rax
addq $-0x8, %rax
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/albinoloverats[P]hide/src/jpeg.c
// Function: free_jpeg
extern void free_jpeg(image_info_t image_info)
#endif
{
	free(image_info.buffer[0]);
	free(image_info.buffer);
	jpeg_image_t *image = image_info.extra;
	for (uint64_t i = 0; i < image->height; i++)
		free(image->rgb[i]);
	free(image->rgb);
	free(image);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x60(%rsp), %rbx
movq (%rbx), %rdi
callq 0x1040
movq %rbx, %rdi
callq 0x1040
xorl %r14d, %r14d
movq 0x68(%rsp), %rbx
movl 0xc(%rbx), %eax
movq (%rbx), %rdi
cmpq %rax, %r14
jae 0x1655
movq (%rdi,%r14,8), %rdi
callq 0x1040
incq %r14
jmp 0x163c
callq 0x1040
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1040
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/albinoloverats[P]hide/src/jpeg-load.c
// Function: IsInHuffmanCodes
static bool IsInHuffmanCodes(int code, int numCodeBits, int numBlocks, stBlock *blocks, int *outValue)
{
	for (int j = 0; j < numBlocks; j++)
		if (code == blocks[j].code && numCodeBits == blocks[j].length)
		{
			*outValue = blocks[j].value;
			return true; // We've got a match!
		}
	return false;
}

// Assembly:
xorl %eax, %eax
testl %edx, %edx
movl $0x0, %r9d
cmovgl %edx, %r9d
addq $0x8, %rcx
cmpq %rax, %r9
je 0x2875
movzwl (%rcx), %r10d
cmpl %edi, %r10d
jne 0x2866
cmpl %esi, -0x4(%rcx)
je 0x286f
incq %rax
addq $0xc, %rcx
jmp 0x2853
movl -0x8(%rcx), %ecx
movl %ecx, (%r8)
movslq %edx, %rcx
cmpq %rcx, %rax
setl %al
retq
// File: /workspace/github_c_makefile_star2_O2/albinoloverats[P]hide/src/jpeg-load.c
// Function: GetNBits
static inline int16_t GetNBits(const uint8_t **stream, int nbits_wanted)
{
	FillNBits(stream, nbits_wanted);
	int16_t result = g_reservoir >> (g_nbits_in_reservoir - nbits_wanted);
	shift_bits(nbits_wanted);
	return result;
}

// Assembly:
movl 0x389f(%rip), %eax      # 0x6124
movl 0x3895(%rip), %edx      # 0x6120
movl %eax, %ecx
subl %esi, %ecx
jae 0x28ca
movq (%rdi), %r8
leaq 0x1(%r8), %r9
movq %r9, (%rdi)
movzbl (%r8), %ecx
cmpl $0xff, %ecx
jne 0x28b4
cmpb $0x0, (%r9)
jne 0x28b4
addq $0x2, %r8
movq %r8, (%rdi)
shll $0x8, %edx
orl %ecx, %edx
movl %edx, 0x3861(%rip)      # 0x6120
addl $0x8, %eax
movl %eax, 0x385c(%rip)      # 0x6124
jmp 0x288b
movl %edx, %eax
shrl %cl, %eax
movl %ecx, 0x3850(%rip)      # 0x6124
pushq $-0x1
popq %rsi
shll %cl, %esi
notl %esi
andl %edx, %esi
movl %esi, 0x383d(%rip)      # 0x6120
retq
// File: /workspace/github_c_makefile_star2_O2/albinoloverats[P]hide/src/jpeg-save.c
// Function: writebits
static void writebits(bitstring bs)
{
	// bit position in the bitstring we read, should be<=15 and >=0
	for (int posval = bs.length - 1; posval >= 0; )
	{
		if (bs.value & mask[posval])
			bytenew |= mask[bytepos];
		posval--;
		bytepos--;
		if (bytepos < 0)
		{
			if (bytenew == 0xFF)
			{
				writebyte(0xFF);
				writebyte(0);
			}
			else
				writebyte(bytenew);
			bytepos = 7;
			bytenew = 0;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movzbl %dil, %ebx
movl %edi, %ebp
shrl $0x10, %ebp
leaq 0xdba(%rip), %r14       # 0x4500
testq %rbx, %rbx
jle 0x37b2
movzwl -0x2(%r14,%rbx,2), %ecx
movsbq 0x2961(%rip), %rax      # 0x60ba
testl %ecx, %ebp
je 0x3767
movb (%r14,%rax,2), %cl
orb %cl, 0x29fd(%rip)       # 0x6164
decb %al
movb %al, 0x294b(%rip)       # 0x60ba
jns 0x37ad
movzbl 0x29ec(%rip), %edi      # 0x6164
cmpl $0xff, %edi
jne 0x3793
movq 0x29d1(%rip), %rsi      # 0x6158
movl $0xff, %edi
callq 0x10b0
xorl %edi, %edi
movq 0x29be(%rip), %rsi      # 0x6158
callq 0x10b0
movb $0x7, 0x2914(%rip)      # 0x60ba
movb $0x0, 0x29b7(%rip)      # 0x6164
decq %rbx
jmp 0x3746
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/ArvoreSintaticaAbstrata.c
// Function: getStringTipo
char* getStringTipo (Tipo *t) {

    Tipo *aux = t;
    char *strbase = strFormatoTipo(t->tipo_base);
    char *arrayde = "array de ";
    char *str;
    int arrayCounts = 0;

    if(t == NULL) {
      printf("TIPO NULL");
      return NULL;
    }
    while (aux->de != NULL) {
      arrayCounts++;
      aux = aux->de;
    }

    str = (char*)malloc((strlen(arrayde)*arrayCounts + strlen(strbase) + 1) * sizeof(char));
    if (str == NULL){printf("falta de memoria"); exit(1);}
    str[0] = '\0';
    while(arrayCounts) {
      strcat(str,arrayde);
      arrayCounts--;
    }
    strcat(str,strbase);
    return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl 0x4(%rdi), %eax
cmpq $0x3, %rax
ja 0x2eb0
leaq 0x4201(%rip), %rcx      # 0x70a8
movslq (%rcx,%rax,4), %rbx
addq %rcx, %rbx
jmp 0x2eb7
leaq 0x427c(%rip), %rbx      # 0x7133
pushq $0x1
popq %r15
pushq $-0x8
popq %r14
movq 0x8(%rdi), %rdi
decl %r15d
addq $0x9, %r14
testq %rdi, %rdi
jne 0x2ebf
movq %rbx, %rdi
callq 0x10b0
addq %rax, %r14
movq %r14, %rdi
callq 0x1160
testq %rax, %rax
je 0x2f28
movq %rax, %r14
movb $0x0, (%rax)
movabsq $0x6564207961727261, %r12 # imm = 0x6564207961727261
testl %r15d, %r15d
je 0x2f15
movq %r14, %rdi
callq 0x10b0
movq %r12, (%r14,%rax)
movw $0x20, 0x8(%r14,%rax)
incl %r15d
jmp 0x2ef7
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x11a0
leaq 0x41cf(%rip), %rdi      # 0x70fe
xorl %eax, %eax
callq 0x10c0
pushq $0x1
popq %rdi
callq 0x11c0
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/ArvoreSintaticaAbstrata.c
// Function: print_tree
void print_tree (Programa *p) {
  int nivel = 0;
  if (p != NULL){
    printf("Nivel\t No\n");
    printf("%d\t [Programa]\n",nivel);
    print_defs(p->defs,nivel+1);
  }
  else
    printf("[Programa vazio]\n");
}

// Assembly:
testq %rdi, %rdi
je 0x308f
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x4599(%rip), %rdi      # 0x74f8
callq 0x1070
leaq 0x41a4(%rip), %rdi      # 0x710f
xorl %esi, %esi
xorl %eax, %eax
callq 0x10c0
pushq $0x1
popq %rax
leaq 0x41c0(%rip), %r12      # 0x713e
movl %eax, %r13d
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x3080
movq %r12, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq 0x10c0
movl (%rbx), %eax
testl %eax, %eax
je 0x2fef
cmpl $0x1, %eax
jne 0x3074
movq 0x8(%rbx), %r15
testq %r15, %r15
je 0x3074
leal 0x1(%r13), %r14d
movq 0x8(%r15), %rdi
callq 0x2e8c
cmpl $0x0, 0x14(%r15)
movq (%r15), %rdx
leaq 0x41a0(%rip), %rdi      # 0x7172
leaq 0x4176(%rip), %rcx      # 0x714f
cmoveq %rcx, %rdi
movl %r14d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x10c0
jmp 0x3074
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x3074
leal 0x1(%r13), %r15d
movq (%r14), %rdi
movq 0x10(%r14), %r12
callq 0x2e8c
movq %r14, -0x30(%rbp)
movq 0x8(%r14), %rdx
leaq 0x417d(%rip), %rdi      # 0x7194
movl %r15d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x10c0
pushq $0x1
popq %r14
testq %r12, %r12
je 0x305c
movq (%r12), %rdi
callq 0x2e8c
movq 0x8(%r12), %rcx
leaq 0x416d(%rip), %rdi      # 0x71af
movl %r15d, %esi
movl %r14d, %edx
movq %rax, %r8
xorl %eax, %eax
callq 0x10c0
movq 0x18(%r12), %r12
incl %r14d
jmp 0x3028
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rdi
leal 0x2(%r13), %esi
callq 0x309b
leaq 0x40ca(%rip), %r12      # 0x713e
incl %r13d
addq $0x10, %rbx
jmp 0x2f81
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4451(%rip), %rdi      # 0x74e7
jmp 0x1070
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/ArvoreSintaticaAbstrata.c
// Function: print_bloco
static void print_bloco (Bloco *b, int nivel) {
    DefVarL *aux = b->declVars;
    CMDL *auxcmd = b->cmds;
    int nivelaux = nivel;

    if (b == NULL) return;
    printf ("%d\t [Bloco]\n",nivel);
    while (aux != NULL){
      nivelaux++;
      printf("%d\t [Def Var] %s : %s\n",nivelaux,aux->v->id,getStringTipo(aux->v->tipo));
      aux = aux->prox;
    }
    nivelaux = nivel;
    while (auxcmd != NULL) {
      nivelaux++;
      print_cmd(auxcmd->c,nivelaux);
      auxcmd = auxcmd->prox;
    }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq (%rdi), %r15
movq 0x8(%rdi), %r13
leaq 0x4112(%rip), %rdi      # 0x71cb
xorl %eax, %eax
callq 0x10c0
leal 0x1(%rbx), %r14d
testq %r15, %r15
je 0x30f8
movq (%r15), %rax
movq (%rax), %r12
movq 0x8(%rax), %rdi
callq 0x2e8c
leaq 0x40f9(%rip), %rdi      # 0x71d8
movl %r14d, %esi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x10c0
movq 0x8(%r15), %r15
incl %r14d
jmp 0x30c4
addl $0x2, %ebx
leaq 0x3f56(%rip), %r14      # 0x7058
leaq 0x417c(%rip), %r12      # 0x7285
testq %r13, %r13
je 0x3222
movq (%r13), %r15
testq %r15, %r15
je 0x3217
movl (%r15), %eax
cmpq $0x9, %rax
ja 0x31ee
leal -0x1(%rbx), %esi
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
leaq 0x40b0(%rip), %rdi      # 0x71ef
xorl %eax, %eax
callq 0x10c0
movq 0x8(%r15), %rdi
movl %ebx, %esi
callq 0x3231
movq 0x10(%r15), %rdi
jmp 0x31d5
leaq 0x4138(%rip), %rdi      # 0x7296
jmp 0x31e5
movq %r12, %rdi
jmp 0x31ca
leaq 0x40a8(%rip), %rdi      # 0x7217
jmp 0x31ab
leaq 0x40ad(%rip), %rdi      # 0x7225
xorl %eax, %eax
callq 0x10c0
movq 0x8(%r15), %rdi
movl %ebx, %esi
callq 0x32e7
movq 0x10(%r15), %rdi
movl %ebx, %esi
callq 0x309b
movq 0x18(%r15), %rdi
jmp 0x3210
leaq 0x40bf(%rip), %rdi      # 0x7261
jmp 0x31ca
leaq 0x405b(%rip), %rdi      # 0x7206
xorl %eax, %eax
callq 0x10c0
movq 0x8(%r15), %rdi
movl %ebx, %esi
callq 0x32e7
movq 0x10(%r15), %rdi
jmp 0x3210
leaq 0x406e(%rip), %rdi      # 0x7238
xorl %eax, %eax
callq 0x10c0
movq 0x8(%r15), %rdi
movl %ebx, %esi
callq 0x32e7
jmp 0x3217
leaq 0x4065(%rip), %rdi      # 0x724a
xorl %eax, %eax
callq 0x10c0
jmp 0x3217
leaq 0x40b1(%rip), %rdi      # 0x72a6
xorl %eax, %eax
callq 0x10c0
jmp 0x3217
leaq 0x406f(%rip), %rdi      # 0x7274
xorl %eax, %eax
callq 0x10c0
movq 0x8(%r15), %rdi
movl %ebx, %esi
callq 0x309b
movq 0x8(%r13), %r13
incl %ebx
jmp 0x3109
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/ArvoreSintaticaAbstrata.c
// Function: print_variavel
static void print_variavel(Var* v, int nivel) {
  if (v == NULL) return;


  if (v->tag == vVar) {
    printf("%d\t [Variavel %s] %s : %s\n",nivel,getStringEscopo(v->u.vvar.escopo),v->u.vvar.id,getStringTipo(v->tipo));
  }
  else if (v->tag == vAcesso) {
    printf("%d\t [Exp Acesso : %s]\n",nivel, getStringTipo(v->tipo));
    print_exp(v->u.vacesso.expvar,nivel+1);
    print_exp(v->u.vacesso.expindex,nivel+1);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x326a
movl %esi, %ebx
movq %rdi, %r14
movl (%rdi), %eax
cmpl $0x1, %eax
je 0x3275
testl %eax, %eax
jne 0x326a
movl 0x18(%r14), %eax
cmpq $0x2, %rax
ja 0x32b0
leaq 0x3e57(%rip), %rcx      # 0x70b8
movslq (%rcx,%rax,4), %r15
addq %rcx, %r15
jmp 0x32b7
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r14), %rdi
callq 0x2e8c
leaq 0x404b(%rip), %rdi      # 0x72d0
movl %ebx, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x10c0
movq 0x10(%r14), %rdi
incl %ebx
movl %ebx, %esi
callq 0x32e7
movq 0x18(%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x32e7
leaq 0x4048(%rip), %r15      # 0x72ff
movq 0x8(%r14), %rdi
movq 0x10(%r14), %r14
callq 0x2e8c
leaq 0x3fea(%rip), %rdi      # 0x72b5
movl %ebx, %esi
movq %r15, %rdx
movq %r14, %rcx
movq %rax, %r8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x10c0
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/TabelaSimbolos.c
// Function: tipa_arvore
void tipa_arvore(Programa *p) {

    Definicao *auxdef;
    Simbolo *s = NULL;
    int nivelEscopo = 0;

    if (p == NULL) return;

    //todas variaveis globais e declaracoes de funcoes
    auxdef = p->defs;
    while (auxdef != NULL) {
        if (auxdef->tag == DVar) {
          s = cria_no_var(s,auxdef->u.v ,nivelEscopo);
        }
        if (auxdef->tag == DFunc) {
          s = cria_no_func(s,auxdef->u.f,nivelEscopo);
        }
        auxdef = auxdef->prox;
      }
      //print_simbolos(s);
    auxdef = p->defs;
    while (auxdef != NULL) {
        if (auxdef->tag == DFunc) {
          //s = cria_no_func(s,auxdef->u.f,nivelEscopo);
          s = cria_no_param(s,auxdef->u.f->params,nivelEscopo+1);

          s = tipa_bloco(s,auxdef->u.f->bloco,nivelEscopo+1);
        }
        auxdef = auxdef->prox;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3657
movq %rdi, %rbx
xorl %edi, %edi
movq %rbx, %r12
movq (%r12), %r12
testq %r12, %r12
je 0x3610
movl (%r12), %eax
cmpl $0x1, %eax
jne 0x3590
movq 0x8(%r12), %rsi
xorl %edx, %edx
callq 0x3688
movq %rax, %rdi
movl (%r12), %eax
testl %eax, %eax
jne 0x3607
movq 0x8(%r12), %r13
movq %rdi, -0x30(%rbp)
movq %rdi, %r14
testq %r14, %r14
je 0x35ef
movl (%r14), %eax
cmpl $0x1, %eax
je 0x35cd
testl %eax, %eax
jne 0x35e9
movq 0x8(%r14), %rax
movq (%rax), %rdi
movq 0x8(%r13), %r15
movq %r15, %rsi
callq 0x1100
testl %eax, %eax
jne 0x35e9
jmp 0x3666
movq 0x8(%r14), %rax
movq 0x8(%rax), %rdi
movq 0x8(%r13), %r15
movq %r15, %rsi
callq 0x1100
testl %eax, %eax
je 0x366f
movq 0x20(%r14), %r14
jmp 0x35a0
movq -0x30(%rbp), %rdi
xorl %esi, %esi
callq 0x39ca
movq %rax, %rdi
movl $0x1, (%rax)
movq %r13, 0x8(%rax)
addq $0x10, %r12
jmp 0x3567
pushq $0x1
popq %r15
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x3657
cmpl $0x0, (%rbx)
jne 0x3651
movq 0x8(%rbx), %rax
movq 0x10(%rax), %r14
movl %r15d, %esi
callq 0x39ca
movl $0x2, (%rax)
movq %r14, 0x8(%rax)
movq 0x8(%rbx), %rcx
movq 0x18(%rcx), %rsi
movq %rax, %rdi
movl %r15d, %edx
callq 0x376d
movq %rax, %rdi
addq $0x10, %rbx
jmp 0x3614
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3f2f(%rip), %rdi      # 0x759c
jmp 0x3676
leaq 0x3f5c(%rip), %rdi      # 0x75d2
movq %r15, %rsi
xorl %eax, %eax
callq 0x10c0
pushq $0x1
popq %rdi
callq 0x11c0
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/TabelaSimbolos.c
// Function: cria_no_var
static Simbolo* cria_no_var(Simbolo *s, DefVar *v, int nivelEscopo) {
    Simbolo *aux,*nv;

    aux = s;
    while(aux != NULL && aux->escopo == nivelEscopo) {
      if (aux->tag == SVar) {
          if (strcmp(aux->u.v->id, v->id) == 0) {
            printf("[Erro] Redefinicao da variavel %s\n",v->id);
            exit(1);
          }
      }
      else if (aux->tag == SParams) {
        ParametroL *p = aux->u.p;
        while(p != NULL) {
          if(strcmp(p->id, v->id) == 0) {
            printf("[Erro] Redefinicao da variavel \"%s\"\n",v->id);
            exit(1);
          }
          p = p->prox;
        }
      }
      else if (aux->tag == SFunc) {
        if (strcmp(aux->u.f->id, v->id) == 0) {
          printf("[Erro] Redefinicao de \"%s\" para um simbolo diferente\n",v->id);
          exit(1);
        }
      }
      aux = aux->ant;
    }

    nv = cria_no_final(s,nivelEscopo);
    nv->tag = SVar;
    nv->u.v = v;
    return nv;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, -0x30(%rbp)
movq %rdi, %r13
testq %r13, %r13
je 0x3739
cmpl %r14d, 0x10(%r13)
jne 0x3739
movl (%r13), %eax
cmpl $0x2, %eax
je 0x36fd
cmpl $0x1, %eax
je 0x36e0
testl %eax, %eax
jne 0x36f7
movq 0x8(%r13), %rax
movq (%rax), %rdi
movq (%rbx), %r12
movq %r12, %rsi
callq 0x1100
testl %eax, %eax
jne 0x36f7
jmp 0x375b
movq 0x8(%r13), %rax
movq 0x8(%rax), %rdi
movq (%rbx), %r12
movq %r12, %rsi
callq 0x1100
testl %eax, %eax
je 0x3764
movq 0x20(%r13), %r13
jmp 0x36a3
leaq 0x8(%r13), %r15
movq (%r15), %r15
testq %r15, %r15
je 0x36f7
movq 0x8(%r15), %rdi
movq (%rbx), %r12
movq %r12, %rsi
callq 0x1100
addq $0x18, %r15
testl %eax, %eax
jne 0x3701
leaq 0x3e50(%rip), %rdi      # 0x7577
movq %r12, %rsi
xorl %eax, %eax
callq 0x10c0
pushq $0x1
popq %rdi
callq 0x11c0
movq -0x30(%rbp), %rdi
movl %r14d, %esi
callq 0x39ca
andl $0x0, (%rax)
movq %rbx, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3df2(%rip), %rdi      # 0x7554
jmp 0x3727
leaq 0x3e31(%rip), %rdi      # 0x759c
jmp 0x3727
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/TabelaSimbolos.c
// Function: cria_no_final
static Simbolo* cria_no_final (Simbolo *s, int nivelEscopo) {
    Simbolo *nv = (Simbolo*)malloc(sizeof(Simbolo));
    if(nv == NULL) {
      printf("sem memoria costura\n");
      exit(1);
    }

    nv->escopo = nivelEscopo;
    nv->prox = NULL;
    if (s == NULL){
        nv->prim = nv;
        nv->ant = NULL;
    }
    else {
      nv->prim = s->prim;
      nv->ant = s;
      s->prox = nv;
    }
    return nv;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
pushq $0x30
popq %rdi
callq 0x1160
testq %rax, %rax
je 0x3a0a
movl %r14d, 0x10(%rax)
andq $0x0, 0x28(%rax)
movq %rax, %rcx
testq %rbx, %rbx
je 0x39fd
movq 0x18(%rbx), %rcx
movq %rax, 0x28(%rbx)
movq %rcx, 0x18(%rax)
movq %rbx, 0x20(%rax)
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x3df4(%rip), %rdi      # 0x7805
callq 0x1070
pushq $0x1
popq %rdi
callq 0x11c0
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/TabelaSimbolos.c
// Function: tipa_variavel
static void tipa_variavel(Simbolo *s, Var *v, int nivelEscopo) {
    ParametroL *p;
    while (s != NULL){
      if (s->tag == SVar) {
        if(strcmp(s->u.v->id,v->u.vvar.id) == 0) {
          v->u.vvar.d.def = s->u.v;
          v->tipo = s->u.v->tipo;
          v->u.vvar.escopo = v->u.vvar.d.def->escopo;
          if(v->tipo->tipo_base == bVoid) {
            printf("[Erro] %s nao pode ser declarada com tipo void\n",v->u.vvar.id);
            exit(1);
          }
          return;
        }
      }
      else if (s->tag == SParams) {
        p = s->u.p;
        while (p != NULL) {
          if (strcmp(p->id,v->u.vvar.id) == 0){
            v->u.vvar.escopo = EscopoFunc;
            v->u.vvar.d.defp = p;
            v->tipo = p->tipo;
            if(v->tipo->tipo_base == bVoid) {
              printf("[Erro] %s nao pode ser declarada com tipo void\n",v->u.vvar.id);
              exit(1);
            }
            return;
          }
          p = p->prox;
        }
      } /* fim else if */
      s = s->ant;
    }
    printf("[Erro] variavel %s nao declarada\n",v->u.vvar.id);
    exit(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testq %r14, %r14
je 0x3ffb
movl (%r14), %eax
cmpl $0x2, %eax
je 0x3f97
testl %eax, %eax
jne 0x3f91
movq 0x8(%r14), %r12
movq (%r12), %rdi
movq 0x10(%rbx), %r15
movq %r15, %rsi
callq 0x1100
testl %eax, %eax
je 0x3fe1
movq 0x20(%r14), %r14
jmp 0x3f64
leaq 0x8(%r14), %r12
movq (%r12), %r12
testq %r12, %r12
je 0x3f91
movq 0x8(%r12), %rdi
movq 0x10(%rbx), %r15
movq %r15, %rsi
callq 0x1100
testl %eax, %eax
je 0x3fbf
addq $0x18, %r12
jmp 0x3f9b
movl $0x2, 0x18(%rbx)
movq %r12, 0x20(%rbx)
movq (%r12), %rax
movq %rax, 0x8(%rbx)
cmpl $0x0, 0x4(%rax)
je 0x4015
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r12, 0x20(%rbx)
movq 0x8(%r14), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%rbx)
movl 0x14(%r12), %ecx
movl %ecx, 0x18(%rbx)
jmp 0x3fd2
movq 0x10(%rbx), %rsi
leaq 0x367c(%rip), %rdi      # 0x7682
xorl %eax, %eax
callq 0x10c0
pushq $0x1
popq %rdi
callq 0x11c0
leaq 0x3636(%rip), %rdi      # 0x7652
movq %r15, %rsi
jmp 0x4006
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/TabelaSimbolos.c
// Function: cmp_tipo_base
static int cmp_tipo_base(Tipo *t1, Tipo *t2) {
  if(t1->tipo_base == bChar && t2->tipo_base == bInt) return 0; //equivalencia de char e int
  if(t1->tipo_base == bInt && t2->tipo_base == bChar) return 0; //equivalencia de char e int
    if(t1->tipo_base < t2->tipo_base)
      return -1;
    else if (t1->tipo_base > t2->tipo_base)
      return 1;
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x4(%rdi), %eax
movl 0x4(%rsi), %ecx
cmpl $0x2, %eax
je 0x403e
cmpl $0x1, %eax
jne 0x4043
cmpl $0x2, %ecx
jne 0x4043
xorl %eax, %eax
jmp 0x4054
cmpl $0x1, %ecx
je 0x403a
cmpl %ecx, %eax
jae 0x404e
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x4054
seta %al
movzbl %al, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/TabelaSimbolos.c
// Function: promove_tipo
static Exp* promove_tipo(Exp *e, Base_TAG tipo_base) {

    Exp * expas = NULL;
    Tipo *nvtipo = NULL;

    nvtipo = (Tipo*)malloc(sizeof(Tipo));
    if (nvtipo == NULL) {printf("memoria insuficiente\n");exit(1);}

    nvtipo->tag = base;
    nvtipo->tipo_base = tipo_base;
    nvtipo->de = NULL;

    expas = (Exp*)malloc(sizeof(Exp));
    if (expas == NULL) {printf("memoria insuficiente\n");exit(1);}
    expas->tag = EXP_AS;
    expas->tipo = nvtipo;
    expas->u.expnewas.exp = e;
    expas->u.expnewas.tipo = nvtipo;

    return expas;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r15d
movq %rdi, %rbx
pushq $0x10
popq %rdi
callq 0x1160
testq %rax, %rax
je 0x40ac
movq %rax, %r14
andl $0x0, (%rax)
movl %r15d, 0x4(%rax)
andq $0x0, 0x8(%rax)
pushq $0x28
popq %rdi
callq 0x1160
testq %rax, %rax
je 0x40ac
movl $0x9, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
movq %r14, 0x18(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3766(%rip), %rdi      # 0x7819
callq 0x1070
pushq $0x1
popq %rdi
callq 0x11c0
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/TabelaSimbolos.c
// Function: cmp_tipo_array
static int cmp_tipo_array(Tipo *t1, Tipo *t2){

  if (t1->tag != array || t2->tag != array) return -1;
  if (cmp_tipo_base(t1,t2) == 0) {
    Tipo *aux1,*aux2;
    aux1 = t1->de;
    aux2 = t2->de;
    while (aux1 != NULL && aux2 != NULL) {
      aux1 = aux1->de;
      aux2 = aux2->de;
    }
    if (aux1 != NULL || aux2 != NULL)
      return -1;
    else
      return 0;
  }
  return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
pushq $-0x1
popq %r15
cmpl $0x1, (%rdi)
jne 0x410b
movq %rsi, %rbx
cmpl $0x1, (%rsi)
jne 0x410b
movq %rdi, %r14
movq %rbx, %rsi
callq 0x4021
testl %eax, %eax
jne 0x410b
jmp 0x40f1
testq %rbx, %rbx
je 0x40fe
movq 0x8(%rbx), %rbx
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x40ec
xorl %r15d, %r15d
orq %rbx, %r14
setne %r15b
negl %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/thiagok00[P]INF1715-Compilers/GeraCodigo.c
// Function: tipo_string
char *tipo_string(Tipo *tipo) {

  char *str;
  char *strbase;
  char aststr[200] = "";

  str = (char*) malloc(sizeof(char)*200);
  if (str == NULL) {printf("Falta de memoria\n");exit(1);}
  str[0] ='\0';

  strbase = tipo_base_string(tipo->tipo_base);
  while(tipo->de != NULL){
    sprintf(aststr,"%s*",aststr);
    tipo = tipo->de;
  }
  sprintf(str,"%s%s",strbase,aststr);

  return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %r14
leaq -0xf0(%rbp), %rdi
movl $0xc8, %edx
xorl %esi, %esi
callq 0x10e0
movl $0xc8, %edi
callq 0x1160
testq %rax, %rax
je 0x4209
movq %rax, %rbx
movb $0x0, (%rax)
movl 0x4(%r14), %r13d
leaq 0x3772(%rip), %r15      # 0x7905
leaq -0xf0(%rbp), %r12
cmpq $0x0, 0x8(%r14)
je 0x41b7
movq %r12, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0x11b0
movq 0x8(%r14), %r14
jmp 0x419a
cmpl $0x1, %r13d
leaq 0x373a(%rip), %rax      # 0x78fc
leaq 0x372f(%rip), %rcx      # 0x78f8
cmoveq %rax, %rcx
cmpl $0x3, %r13d
leaq 0x3727(%rip), %rdx      # 0x78ff
cmovneq %rcx, %rdx
leaq 0x3726(%rip), %rsi      # 0x7909
leaq -0xf0(%rbp), %rcx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x11b0
movq %rbx, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3e86(%rip), %rdi      # 0x8096
callq 0x1070
pushq $0x1
popq %rdi
callq 0x11c0
// File: /workspace/github_c_makefile_star2_O2/ikbenlike[P]nngutils/src/echo.c
// Function: parse_args
struct echo_args *parse_args(struct echo_args *args, int argc, char **argv){
    args->count = 0;
    if(argv[1][0] == '-'){    
        for(int i = 1; i < argc; i++){
            if(!strcmp(argv[i], "-n")){
                args->nonewline = true;
                args->count += 1;
            }
            else if(!strcmp(argv[i], "-e")){
                args->backslash = true;
                args->count += 1;
            }
            else if(!strcmp(argv[i], "-E")){
                args->backslash = false;
                args->count += 1;
            }
        }
    }
    return args;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
andl $0x0, 0x4(%rdi)
movq 0x8(%rdx), %rcx
cmpb $0x2d, (%rcx)
jne 0x11d1
movslq %esi, %rcx
movabsq $0x1, %rsi
xorl %edi, %edi
cmpq %rcx, %rsi
jge 0x11d1
movq (%rdx,%rsi,8), %r8
cmpb $0x2d, (%r8)
jne 0x11cc
cmpb $0x6e, 0x1(%r8)
jne 0x119c
cmpb $0x0, 0x2(%r8)
je 0x11be
cmpb $0x65, 0x1(%r8)
jne 0x11aa
cmpb $0x0, 0x2(%r8)
je 0x11c3
cmpb $0x45, 0x1(%r8)
jne 0x11cc
cmpb $0x0, 0x2(%r8)
jne 0x11cc
movb $0x0, 0x1(%rax)
jmp 0x11c7
movb $0x1, (%rax)
jmp 0x11c7
movb $0x1, 0x1(%rax)
incl %edi
movl %edi, 0x4(%rax)
incq %rsi
jmp 0x117f
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/ikbenlike[P]nngutils/src/echo.c
// Function: main
int main(int argc, char **argv){
    struct echo_args *args = calloc(1, sizeof(struct echo_args));
    args = parse_args(args, argc, argv);
    if(argc == 1){
        putchar('\n');
        return 0;
    }
    for(int i = args->count + 1; i < argc; i++){
        printf("%s", argv[i]);
        if(i < argc - 1){
            putchar(' ');
        }
    }
    if(args->nonewline == false){
        putchar('\n');
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %r15d
pushq $0x1
popq %rdi
pushq $0x8
popq %rsi
callq 0x1050
movq %rax, %r14
movq %rax, %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq 0x115c
cmpl $0x1, %r15d
je 0x1253
movq %r14, -0x30(%rbp)
movslq 0x4(%r14), %r13
leal -0x1(%r15), %eax
movslq %eax, %r14
movslq %r15d, %r12
incq %r13
leaq 0xddf(%rip), %r15       # 0x2004
cmpq %r12, %r13
jge 0x124a
movq (%rbx,%r13,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x1040
cmpq %r14, %r13
jge 0x1245
pushq $0x20
popq %rdi
callq 0x1030
incq %r13
jmp 0x1225
movq -0x30(%rbp), %rax
cmpb $0x0, (%rax)
jne 0x125b
pushq $0xa
popq %rdi
callq 0x1030
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/phluid61[P]hsf/src/bareitem.c
// Function: SH_BareItem__destroy
void
SH_BareItem__destroy(SH_BareItem *obj, sh_bool_t recursive, int* err) {
	__cascade(err,);
	if (recursive) {
		switch (obj->type) {
		case SH_NULL:
			free(obj);
			__clear(err);
			return;

		case SH_INTEGER:
			do_destroy(SH_Integer, obj);
			__clear(err);
			return;

		case SH_DECIMAL:
			do_destroy(SH_Decimal, obj);
			__clear(err);
			return;

		case SH_STRING:
			do_destroy(SH_String, obj);
			__clear(err);
			return;

		case SH_TOKEN:
			do_destroy(SH_Token, obj);
			__clear(err);
			return;

		case SH_BYTESEQUENCE:
			do_destroy(SH_ByteSequence, obj);
			__clear(err);
			return;

		case SH_BOOLEAN:
			do_destroy(SH_Boolean, obj);
			__clear(err);
			return;

		case SH_INNERLIST:
			/*do_destroy(SH_InnerList, recursive, obj);*/
			SH_InnerList__destroy((SH_InnerList*)(obj->ptr), recursive, 0);
			free(obj);
			__clear(err);
			return;

		/*default: fall out */
		}

		free(obj);
		__raise(err, SH_E_ITEM_WRONG_TYPE);
	} else {
		free(obj);
		__clear(err);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x144f
cmpl $0x0, (%rbx)
jne 0x1509
testb %sil, %sil
je 0x1471
movl (%r14), %eax
cmpq $0x7, %rax
ja 0x150f
leaq 0xb98(%rip), %rcx       # 0x2000
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rdi
callq 0x1040
testq %rbx, %rbx
je 0x1509
xorl %r15d, %r15d
jmp 0x1506
movq 0x8(%r14), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x10f0
jmp 0x14f9
movq 0x8(%r14), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x1050
jmp 0x14f9
movq 0x8(%r14), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x1110
jmp 0x14f9
movq 0x8(%r14), %rdi
movzbl %sil, %esi
xorl %r15d, %r15d
xorl %edx, %edx
callq 0x1060
jmp 0x14f9
movq 0x8(%r14), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x1100
jmp 0x14f9
movq 0x8(%r14), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x10a0
jmp 0x14f9
movq 0x8(%r14), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x10b0
movq %r14, %rdi
callq 0x1040
testq %rbx, %rbx
je 0x1509
movl %r15d, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
movq %r14, %rdi
callq 0x1040
movl $0x100001, %r15d        # imm = 0x100001
jmp 0x1501
// File: /workspace/github_c_makefile_star2_O2/phluid61[P]hsf/src/bareitem.c
// Function: SH_BareItem__to_s
sh_char_t*
SH_BareItem__to_s(SH_BareItem* obj, int* err) {
	sh_char_t* str;

	__cascade(err, (sh_char_t*)0);
	switch (obj->type) {
	case SH_NULL:
		str = (sh_char_t*)malloc(sizeof(sh_char_t));
		if ((sh_char_t*)0 == str) {
			__raise(err, SH_E_MALLOC_ERROR);
			return (sh_char_t*)0;
		}
		*str = SH_CHAR_C(0);
		return str;

	case SH_INTEGER:
		return SH_Integer__to_s((SH_Integer*)(obj->ptr), err);

	case SH_DECIMAL:
		return SH_Decimal__to_s((SH_Decimal*)(obj->ptr), err);

	case SH_STRING:
		return SH_String__to_s((SH_String*)(obj->ptr), err);

	case SH_TOKEN:
		return SH_Token__to_s((SH_Token*)(obj->ptr), err);

	case SH_BYTESEQUENCE:
		return SH_ByteSequence__to_s((SH_ByteSequence*)(obj->ptr), err);

	case SH_BOOLEAN:
		return SH_Boolean__to_s((SH_Boolean*)(obj->ptr), err);

	case SH_INNERLIST:
		return SH_InnerList__to_s((SH_InnerList*)(obj->ptr), err);

	/*default: fall out */
	}

	__raise(err, SH_E_ITEM_WRONG_TYPE);
	return (sh_char_t*)0;
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
testq %rsi, %rsi
je 0x1645
cmpl $0x0, (%rbx)
je 0x1645
xorl %eax, %eax
popq %rbx
retq
movl (%rdi), %eax
cmpq $0x7, %rax
ja 0x16ca
leaq 0x9cc(%rip), %rcx       # 0x2020
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
pushq $0x1
popq %rdi
callq 0x10c0
testq %rax, %rax
je 0x16de
movb $0x0, (%rax)
jmp 0x1643
movq 0x8(%rdi), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x10e0
movq 0x8(%rdi), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x1070
movq 0x8(%rdi), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x10d0
movq 0x8(%rdi), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x1090
movq 0x8(%rdi), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x1030
movq 0x8(%rdi), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x1080
movq 0x8(%rdi), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x1120
testq %rbx, %rbx
je 0x1641
movl $0x100001, (%rbx)       # imm = 0x100001
jmp 0x1641
testq %rbx, %rbx
je 0x1641
movl $0x80000001, (%rbx)     # imm = 0x80000001
jmp 0x1641
// File: /workspace/github_c_makefile_star2_O2/carlitosmarin[P]Sistema-Ficheros-SOII/verificacion.c
// Function: mostrarRegistro
void mostrarRegistro(struct registro *reg) {
	char fec[20];
	memset(fec,0,20);
	struct tm *ts;
	time_t t = reg->fecha;
	ts = localtime(&t);
	strftime(fec, sizeof(fec), "%Y/%m/%d %H:%M:%S", ts);
	printf("\t� Fecha: %s\n", fec);
	printf("\t� Numero escritura: %d\n", reg->nEscritura);
	printf("\t� Posicion: %d\n", reg->posicion);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r14
andl $0x0, 0x10(%r14)
movaps %xmm0, (%r14)
movl (%rdi), %eax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x1030
leaq 0x1904(%rip), %rdx      # 0x5528
pushq $0x14
popq %rsi
movq %r14, %rdi
movq %rax, %rcx
callq 0x1150
leaq 0x1901(%rip), %rdi      # 0x553a
movq %r14, %rsi
xorl %eax, %eax
callq 0x10a0
movl 0x8(%rbx), %esi
leaq 0x18fb(%rip), %rdi      # 0x5548
xorl %eax, %eax
callq 0x10a0
movl 0xc(%rbx), %esi
leaq 0x1903(%rip), %rdi      # 0x5561
xorl %eax, %eax
callq 0x10a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/carlitosmarin[P]Sistema-Ficheros-SOII/verificacion.c
// Function: mostrarInfo
void mostrarInfo(struct informacion *info) {
	printf("PID: %d\n", info->proceso);
	printf("Registros validados: %d\n", info->nEscrituras);
	puts("Primera Escritura:");
	mostrarRegistro(&info->PrimeraEscritura);
	puts("Ultima Escritura:");
	mostrarRegistro(&info->UltimaEscritura);
	puts("Mayor Posicion:");
	mostrarRegistro(&info->MayorPosicion);
	puts("Menor Posicion:");
	mostrarRegistro(&info->MenorPosicion);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %esi
leaq 0x18f8(%rip), %rdi      # 0x5572
xorl %eax, %eax
callq 0x10a0
movl 0x4(%rbx), %esi
leaq 0x18f0(%rip), %rdi      # 0x557b
xorl %eax, %eax
callq 0x10a0
leaq 0x18fb(%rip), %rdi      # 0x5594
callq 0x1060
leaq 0x8(%rbx), %rdi
callq 0x3bf3
leaq 0x18f9(%rip), %rdi      # 0x55a7
callq 0x1060
leaq 0x18(%rbx), %rdi
callq 0x3bf3
leaq 0x18f6(%rip), %rdi      # 0x55b9
callq 0x1060
leaq 0x38(%rbx), %rdi
callq 0x3bf3
leaq 0x18f1(%rip), %rdi      # 0x55c9
callq 0x1060
addq $0x28, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x3bf3
// File: /workspace/github_c_makefile_star2_O2/Arlu[P]RDMA-Hello-World/server.c
// Function: chat
void chat()
{
    struct RemoteMR remote_mr;

    // Get Hello World via send and receive request:
    post_recv(BUFFER_SIZE);
    wait_completions(RECV_WRID);

    printf(ib_res.buf);

    // Get remote address and rkey:
    post_recv(sizeof(struct RemoteMR));
    wait_completions(RECV_WRID);
    memcpy(&remote_mr, ib_res.buf, sizeof(struct RemoteMR));

    // Get Hello World via RDMA Read:
    post_recv(1); // Wait to the client for read ready:
    wait_completions(RECV_WRID);
    post_send_read(remote_mr, BUFFER_SIZE);
    wait_completions(READ_WRID);

    printf(ib_res.buf);

    // Send remote address and rkey:
    remote_mr.remote_addr = (uint64_t)ib_res.buf;
    remote_mr.rkey = ib_res.mr->rkey;
    memcpy(ib_res.buf, &remote_mr, sizeof(struct RemoteMR));
    post_send(sizeof(struct RemoteMR));
    wait_completions(SEND_WRID);

    // Wait to the client for Send Hello World via RDMA Write:
    post_recv(1);
    wait_completions(RECV_WRID);

    printf(ib_res.buf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $0x400, %edi            # imm = 0x400
callq 0x1be8
pushq $0x1
popq %rbx
movl %ebx, %edi
callq 0x1ddc
leaq 0x2dd3(%rip), %r13      # 0x4178
movq 0x60(%r13), %rdi
xorl %eax, %eax
callq 0x10b0
pushq $0x10
popq %rdi
callq 0x1be8
movl %ebx, %edi
callq 0x1ddc
movq 0x60(%r13), %rax
movq (%rax), %r15
movl 0x8(%rax), %r12d
movl 0xc(%rax), %r14d
movl %ebx, %edi
callq 0x1be8
movl %ebx, %edi
callq 0x1ddc
movq %r15, %rdi
movl %r12d, %esi
movl $0x400, %edx            # imm = 0x400
callq 0x1cd2
pushq $0x4
popq %rdi
callq 0x1ddc
movq 0x60(%r13), %rdi
xorl %eax, %eax
callq 0x10b0
movq 0x10(%r13), %rax
movq 0x60(%r13), %rcx
movl 0x28(%rax), %eax
movq %rcx, (%rcx)
movl %eax, 0x8(%rcx)
movl %r14d, 0xc(%rcx)
pushq $0x10
popq %rdi
callq 0x1c41
pushq $0x2
popq %rdi
callq 0x1ddc
movl %ebx, %edi
callq 0x1be8
movl %ebx, %edi
callq 0x1ddc
movq 0x60(%r13), %rdi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10b0
// File: /workspace/github_c_makefile_star2_O2/Arlu[P]RDMA-Hello-World/server.c
// Function: main
int main(int argc, char *argv[])
{
    server_name = NULL;

    if (setup_ib())
    {
        perror("Failed to setup IB.");
    }

    chat();

    close_ib_connection();

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x2d02(%rip), %rax      # 0x4158
andq $0x0, (%rax)
xorl %eax, %eax
callq 0x17c7
testl %eax, %eax
jne 0x1475
callq 0x137c
xorl %eax, %eax
callq 0x1b82
xorl %eax, %eax
popq %rbp
retq
leaq 0xb88(%rip), %rdi       # 0x2004
callq 0x11d0
jmp 0x1465
nop
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: lnfact2
double lnfact2(double input){
  double input2 = input*input;
  double input3 = input*input2;
  double input5 = input3*input2;
  double input7 = input5*input2;
  return (input - 0.5)*log(input) - input + lnfactconst2 + 1.0/(12.0*input) - 1.0/(360.0*input3) + 1.0/(1260.0*input5) - 1.0/(1680.0*input7);
}

// Assembly:
subq $0x48, %rsp
movapd %xmm0, 0x10(%rsp)
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, 0x30(%rsp)
mulsd %xmm0, %xmm1
movapd %xmm1, 0x20(%rsp)
movsd 0x15ada(%rip), %xmm1    # 0x19a20
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
callq 0x3290
mulsd 0x8(%rsp), %xmm0
movapd 0x10(%rsp), %xmm1
subsd %xmm1, %xmm0
addsd 0x15abb(%rip), %xmm0    # 0x19a28
movapd 0x20(%rsp), %xmm3
unpcklpd %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0]
mulpd 0x15b21(%rip), %xmm1    # 0x19aa0
movapd %xmm1, %xmm4
movapd 0x15b25(%rip), %xmm1    # 0x19ab0
movapd %xmm1, %xmm2
divpd %xmm4, %xmm2
addsd %xmm2, %xmm0
unpckhpd %xmm2, %xmm2            # xmm2 = xmm2[1,1]
subsd %xmm2, %xmm0
movapd %xmm3, %xmm2
movapd 0x30(%rsp), %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm3
unpcklpd %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0]
mulpd 0x15b03(%rip), %xmm2    # 0x19ac0
divpd %xmm2, %xmm1
addsd %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
subsd %xmm1, %xmm0
addq $0x48, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: getNegBinomZnorm
double getNegBinomZnorm(double r){
  double ans = 0.0;
  int n = 0;
  double diff = 1.0;
  while((diff > 1e-8 || n < r) && n < 10000000){
      diff = exp(2.0*lnfact2(r + (double)n) - 2.0*lnfact2(r) - 2.0*lnfact2((double)n + 1.0) + (r + (double)n)*log(4.0));
      ans += diff;
      n++;
  }
  return ans;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movsd %xmm0, (%rsp)
movsd 0x15a4c(%rip), %xmm0    # 0x19a30
xorl %ebx, %ebx
xorpd %xmm1, %xmm1
ucomisd 0x15a46(%rip), %xmm0    # 0x19a38
cvtsi2sd %ebx, %xmm2
jbe 0x4005
cmpl $0x98967f, %ebx         # imm = 0x98967F
jbe 0x4020
jmp 0x40a1
cmpl $0x98967f, %ebx         # imm = 0x98967F
ja 0x40a1
movsd (%rsp), %xmm0
ucomisd %xmm2, %xmm0
jbe 0x40a1
addsd (%rsp), %xmm2
movsd %xmm2, 0x10(%rsp)
movapd %xmm2, %xmm0
movsd %xmm1, 0x18(%rsp)
callq 0x3f1c
movsd %xmm0, 0x8(%rsp)
movsd (%rsp), %xmm0
callq 0x3f1c
movsd 0x8(%rsp), %xmm1
addsd %xmm1, %xmm1
addsd %xmm0, %xmm0
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
incl %ebx
cvtsi2sd %ebx, %xmm0
callq 0x3f1c
addsd %xmm0, %xmm0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd 0x10(%rsp), %xmm0
mulsd 0x159b7(%rip), %xmm0    # 0x19a40
addsd %xmm1, %xmm0
callq 0x3680
movsd 0x18(%rsp), %xmm1
addsd %xmm0, %xmm1
jmp 0x3fea
movapd %xmm1, %xmm0
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: GetInsertProbNormal
double GetInsertProbNormal(double point, const double sigma){
  if (sigma == 0.0){
      return 1.0;
  }
  double p1 = erf((point + 0.5)/sqrt(2*sigma*sigma));
  double p2 = erf((point - 0.5)/sqrt(2*sigma*sigma));
  double prob = 0.5*(p1 - p2);
  ////printf("Point: %lf, p1: %lf, p2: %lf = %lf\n", point, erf((point + 0.5)/sqrt(2*sigma*sigma)), erf((point - 0.5)/sqrt(2*sigma*sigma)), prob);
  return prob;
}

// Assembly:
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jne 0x4113
jp 0x4113
movsd 0x1591e(%rip), %xmm0    # 0x19a30
retq
subq $0x28, %rsp
movsd 0x15929(%rip), %xmm3    # 0x19a48
movsd %xmm0, 0x18(%rsp)
addsd %xmm0, %xmm3
movapd %xmm1, %xmm0
addsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm1
movsd %xmm0, 0x10(%rsp)
ucomisd %xmm2, %xmm0
movsd %xmm1, 0x20(%rsp)
movapd %xmm1, %xmm0
jae 0x4166
movsd 0x10(%rsp), %xmm0
movsd %xmm3, 0x8(%rsp)
callq 0x3600
movsd 0x8(%rsp), %xmm3
divsd %xmm0, %xmm3
movapd %xmm3, %xmm0
callq 0x3080
movsd 0x18(%rsp), %xmm1
addsd 0x1589f(%rip), %xmm1    # 0x19a20
movsd %xmm0, 0x8(%rsp)
xorpd %xmm0, %xmm0
movsd 0x10(%rsp), %xmm2
ucomisd %xmm0, %xmm2
movsd 0x20(%rsp), %xmm0
jae 0x41b4
movsd 0x10(%rsp), %xmm0
movsd %xmm1, 0x18(%rsp)
callq 0x3600
movsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
callq 0x3080
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, %xmm0
mulsd 0x15871(%rip), %xmm0    # 0x19a48
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: getMD
char *getMD(bam1_t *bam, char *ref) {
    char *md = (char*) bam_aux_get(bam, "MD");
    if (md == NULL) {
        bam_fillmd1_core_ALE(bam, ref);
        md = (char*) bam_aux_get(bam, "MD");
    }
    return md;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x19b2e(%rip), %rsi     # 0x1dd24
callq 0xc978
testq %rax, %rax
je 0x4208
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
movq %r14, %rsi
callq 0x185d0
leaq 0x19b0a(%rip), %rsi     # 0x1dd24
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xc978
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: getInsertLikelihoodBAM
double getInsertLikelihoodBAM(bam1_t *read1, double mu, double sigma){
  assert(read1 != NULL);
  double mapLength = (double)getFragmentMapLenBAM(read1);
  assert(mapLength > 0.0);
  double likelihood = GetInsertProbNormal(fabs(mapLength - mu), sigma);
  //printf("getInsertLikelihoodBAM(%lf,%lf,%lf): %e\n",fabs(mapLength - mu), mu, sigma,likelihood);
  assert(likelihood >= 0.0 && likelihood <= 1.0);
  return likelihood;
}

// Assembly:
subq $0x18, %rsp
movsd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x8(%rsp)
testq %rdi, %rdi
je 0x4281
callq 0x99b8
testl %eax, %eax
jle 0x42a0
cvtsi2sd %eax, %xmm0
subsd 0x8(%rsp), %xmm0
andpd 0x15877(%rip), %xmm0    # 0x19ad0
movsd 0x10(%rsp), %xmm1
callq 0x40fe
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x42bf
movsd 0x157ba(%rip), %xmm1    # 0x19a30
ucomisd %xmm0, %xmm1
jb 0x42bf
addq $0x18, %rsp
retq
leaq 0x19a9f(%rip), %rdi     # 0x1dd27
leaq 0x19aa6(%rip), %rsi     # 0x1dd35
leaq 0x19aa9(%rip), %rcx     # 0x1dd3f
movl $0x8c, %edx
callq 0x3230
leaq 0x19ad0(%rip), %rdi     # 0x1dd77
leaq 0x19a87(%rip), %rsi     # 0x1dd35
leaq 0x19a8a(%rip), %rcx     # 0x1dd3f
movl $0x8e, %edx
callq 0x3230
leaq 0x19ac1(%rip), %rdi     # 0x1dd87
leaq 0x19a68(%rip), %rsi     # 0x1dd35
leaq 0x19a6b(%rip), %rcx     # 0x1dd3f
movl $0x91, %edx
callq 0x3230
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: loglikeMiss
double loglikeMiss(char *readQual, int seqPos, int missLen, int qOff){
  int i;
  double loglikelihood = 0.0;
  for(i = seqPos; i < seqPos + missLen; i++){
    //likelihood = likelihood*((1.0 - 0.99)/3.0);
    //likelihood = likelihood*((1.0 - getQtoP(readQual[i], qOff))/3.0); // sometimes want -33/64?
    double logp = getQtoLogPMiss(readQual[i], qOff);
    ////printf("likeMiss(%d, %d, %c): %lf %lf %lf %lf\n", missLen, i, readQual[i] + 33, logp, loglikelihood, exp(logp), exp(loglikelihood));
    loglikelihood += logp;
  }
  ////printf("loglikeMiss(%d): %e\n", missLen, loglikelihood);
  assert(loglikelihood <= 0.0);
  return loglikelihood;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rdi, %r14
addl %esi, %edx
movslq %esi, %r15
movslq %edx, %r12
xorpd %xmm1, %xmm1
cmpq %r12, %r15
jge 0x431b
movsbl (%r14,%r15), %edi
movl %ebx, %esi
movsd %xmm1, (%rsp)
callq 0x8b61
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
incq %r15
jmp 0x42f7
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x4335
movapd %xmm1, %xmm0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x19a72(%rip), %rdi     # 0x1ddae
leaq 0x199f2(%rip), %rsi     # 0x1dd35
leaq 0x19a79(%rip), %rcx     # 0x1ddc3
movl $0xa1, %edx
callq 0x3230
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: loglikeMatch
double loglikeMatch(char *readQual, int seqPos, int matchLen, int qOff){
  int i;
  double loglikelihood = 0.0;
  for(i = seqPos; i < seqPos + matchLen; i++){
    loglikelihood += getQtoLogP(readQual[i], qOff);// sometimes want -33/64?
    ////printf("likeMatch %d %d %f %f %f\n", i, readQual[i], QtoLogP[readQual[i] - qOff], getQtoLogP(readQual[i], qOff), loglikelihood);
  }
  ////printf("loglikeMatch(%d): %e\n", matchLen, loglikelihood);
  assert(loglikelihood <= 0.0);
  return loglikelihood;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rdi, %r14
addl %esi, %edx
movslq %esi, %r15
movslq %edx, %r12
xorpd %xmm1, %xmm1
cmpq %r12, %r15
jge 0x4391
movsbl (%r14,%r15), %edi
movl %ebx, %esi
movsd %xmm1, (%rsp)
callq 0x8b22
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
incq %r15
jmp 0x436d
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x43ab
movapd %xmm1, %xmm0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x199fc(%rip), %rdi     # 0x1ddae
leaq 0x1997c(%rip), %rsi     # 0x1dd35
leaq 0x19a2d(%rip), %rcx     # 0x1dded
movl $0xae, %edx
callq 0x3230
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: loglikeDeletion
double loglikeDeletion(char *readQual, int seqPos, int deletionLength, int qOff, int readLen) {
  // assume as unlikely as a substitution of previous base
  // TODO refine
  int delPos = (seqPos > 0) ? seqPos - 1 : seqPos;
  assert(delPos >= 0);
  double loglikelihood = loglikeMiss(readQual, delPos, 1, qOff) * (double)deletionLength;
  if (seqPos > 0 && delPos+1 < readLen) {
    loglikelihood += loglikeMiss(readQual, delPos+1, 1, qOff) * (double)deletionLength;
    loglikelihood /= 2.0;
  }
  ////printf("loglikeDeletion(%d): %e\n", deletionLength, loglikelihood);
  return loglikelihood;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
xorl %eax, %eax
testl %esi, %esi
setg %al
movl %esi, %r15d
subl %eax, %r15d
js 0x445a
movl %r8d, %ebp
movl %ecx, %ebx
movl %edx, %r13d
movl %esi, %r12d
movq %rdi, %r14
pushq $0x1
popq %rdx
movl %r15d, %esi
callq 0x42de
cvtsi2sd %r13d, %xmm1
mulsd %xmm1, %xmm0
testl %r12d, %r12d
jle 0x444b
incl %r15d
cmpl %ebp, %r15d
jge 0x444b
pushq $0x1
popq %rdx
movq %r14, %rdi
movl %r15d, %esi
movl %ebx, %ecx
movsd %xmm0, 0x10(%rsp)
movsd %xmm1, 0x8(%rsp)
callq 0x42de
mulsd 0x8(%rsp), %xmm0
addsd 0x10(%rsp), %xmm0
mulsd 0x155fd(%rip), %xmm0    # 0x19a48
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x199b7(%rip), %rdi     # 0x1de18
leaq 0x198cd(%rip), %rsi     # 0x1dd35
leaq 0x199b5(%rip), %rcx     # 0x1de24
movl $0xc0, %edx
callq 0x3230
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: getMatchLogLikelihoodBAM
double getMatchLogLikelihoodBAM(bam1_t *read, contig_t *contig, int qOff, int alignmentLength) {
	float depthContributions[alignmentLength];
	double placeLogLikelihoods[alignmentLength];
	int i;
	double loglikelihood = getContributionsForPositions(read, contig, qOff, alignmentLength, depthContributions, placeLogLikelihoods, 1);

	for(i = 0; i < alignmentLength ; i++)
		loglikelihood += placeLogLikelihoods[i];

	loglikelihood = validateLogLikelihood( loglikelihood );
	return loglikelihood;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %ecx, %ebx
movl %ecx, %eax
movq %rsp, %r8
leaq 0xf(,%rax,4), %rcx
andq $-0x10, %rcx
subq %rcx, %r8
movq %r8, %rsp
movq %rsp, %r14
leaq 0xf(,%rax,8), %rax
andq $-0x10, %rax
subq %rax, %r14
movq %r14, %rsp
subq $0x8, %rsp
movl %ebx, %ecx
movq %r14, %r9
pushq $0x1
callq 0x451c
addq $0x10, %rsp
xorl %eax, %eax
testl %ebx, %ebx
cmovlel %eax, %ebx
cmpq %rax, %rbx
je 0x4d58
addsd (%r14,%rax,8), %xmm0
incq %rax
jmp 0x4d48
leaq -0x10(%rbp), %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x8a4e
// File: /workspace/github_c_makefile_star2_O2/sc932[P]ALE/src/ALElike.c
// Function: kmerHash
int kmerHash(char c1, int place){
  int hash = 0;
  switch(c1) {
  case 'A': case 'a': break;
  case 'T': case 't': hash = 0x1 << (place*2); break;
  case 'C': case 'c': hash = 0x2 << (place*2); break;
  case 'G': case 'g': hash = 0x3 << (place*2); break;
  default: hash = -16777216;
  }
  return hash;
}

// Assembly:
xorl %eax, %eax
cmpl $0x41, %edi
je 0x4daa
cmpl $0x43, %edi
je 0x4d95
cmpl $0x47, %edi
je 0x4d9b
cmpl $0x74, %edi
je 0x4d8f
cmpl $0x61, %edi
je 0x4daa
cmpl $0x63, %edi
je 0x4d95
cmpl $0x67, %edi
je 0x4d9b
cmpl $0x54, %edi
jne 0x4da5
addl %esi, %esi
pushq $0x1
jmp 0x4d9f
addl %esi, %esi
pushq $0x2
jmp 0x4d9f
addl %esi, %esi
pushq $0x3
popq %rax
movl %esi, %ecx
shll %cl, %eax
retq
movl $0xff000000, %eax       # imm = 0xFF000000
retq