LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/paf.c
// Function: paf_parse
int paf_parse(int l, char *s, paf_rec_t *pr) // s must be NULL terminated
{ // on return: <0 for failure; 0 for success; >0 for filtered
	char *q, *r;
	int i, t;
	for (i = t = 0, q = s; i <= l; ++i) {
		if (i < l && s[i] != '\t') continue;
		s[i] = 0;
		if (t == 0) pr->qn = q;
		else if (t == 1) pr->ql = strtol(q, &r, 10);
		else if (t == 2) pr->qs = strtol(q, &r, 10);
		else if (t == 3) pr->qe = strtol(q, &r, 10);
		else if (t == 4) pr->rev = (*q == '-');
		else if (t == 5) pr->tn = q;
		else if (t == 6) pr->tl = strtol(q, &r, 10);
		else if (t == 7) pr->ts = strtol(q, &r, 10);
		else if (t == 8) pr->te = strtol(q, &r, 10);
		else if (t == 9) pr->ml = strtol(q, &r, 10);
		else if (t == 10) pr->bl = strtol(q, &r, 10);
		++t, q = i < l? &s[i+1] : 0;
	}
	if (t < 10) return -1;
	return 0;
}

// Assembly:
testl %edi, %edi
js 0x3a7f
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl %edi, %r15d
movl %edi, %r13d
incl %r15d
xorl %r12d, %r12d
xorl %ebp, %ebp
movq %rsi, %rdi
cmpq %r13, %r12
jae 0x395e
cmpb $0x9, (%r14,%r12)
jne 0x3a5a
movb $0x0, (%r14,%r12)
cmpl $0xa, %ebp
ja 0x3a47
movl %ebp, %eax
leaq 0x66bb(%rip), %rcx      # 0xa030
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rdi, (%rbx)
jmp 0x3a47
xorl %eax, %eax
cmpb $0x2d, (%rdi)
sete %al
shll $0x1f, %eax
movl 0x28(%rbx), %ecx
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl %edx, %ecx
orl %eax, %ecx
jmp 0x39bd
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl 0x28(%rbx), %ecx
movl $0x80000000, %edx       # imm = 0x80000000
andl %edx, %ecx
orl %eax, %ecx
movl %ecx, 0x28(%rbx)
jmp 0x3a47
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
movl %eax, 0x14(%rbx)
jmp 0x3a47
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
movl %eax, 0x18(%rbx)
jmp 0x3a47
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
movl %eax, 0x20(%rbx)
jmp 0x3a47
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
movl %eax, 0x10(%rbx)
jmp 0x3a47
movq %rdi, 0x8(%rbx)
jmp 0x3a47
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
movl %eax, 0x1c(%rbx)
jmp 0x3a47
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
movl %eax, 0x2c(%rbx)
jmp 0x3a47
movq %rsp, %rsi
movl $0xa, %edx
callq 0x1130
movl %eax, 0x24(%rbx)
incl %ebp
cmpq %r13, %r12
leaq 0x1(%r14,%r12), %rdi
movl $0x0, %eax
cmovaeq %rax, %rdi
incq %r12
cmpq %r12, %r15
jne 0x394e
xorl %eax, %eax
cmpl $0xa, %ebp
setl %al
negl %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/paf.c
// Function: paf_read
int paf_read(paf_file_t *pf, paf_rec_t *r)
{
	int ret, dret;
file_read_more:
	ret = ks_getuntil((kstream_t*)pf->fp, KS_SEP_LINE, &pf->buf, &dret);
	if (ret < 0) return ret;
	ret = paf_parse(pf->buf.l, pf->buf.s, r);
	if (ret < 0) goto file_read_more;
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%r14), %r15
movq $0x0, 0x8(%r14)
movl (%r15), %ecx
movl 0x4(%r15), %eax
cmpl %eax, %ecx
jl 0x3ab4
testb $0x3, 0x8(%r15)
jne 0x3c34
cmpl %eax, %ecx
jl 0x3b01
movl 0x8(%r15), %edx
testb $0x3, %dl
jne 0x3bce
movl $0x0, (%r15)
movq 0x10(%r15), %rdi
movq 0x18(%r15), %rsi
sarl $0x2, %edx
callq 0x1110
movl %eax, 0x4(%r15)
movl 0x8(%r15), %ecx
movl %ecx, %edx
sarl $0x2, %edx
cmpl %edx, %eax
jge 0x3af6
andl $-0x4, %ecx
incl %ecx
movl %ecx, 0x8(%r15)
testl %eax, %eax
je 0x3bce
movl (%r15), %ecx
movl %ecx, %r12d
cmpl %eax, %ecx
jge 0x3b25
movslq %ecx, %rdx
addq 0x18(%r15), %rdx
movl %ecx, %r12d
cmpb $0xa, (%rdx)
je 0x3b25
incl %r12d
incq %rdx
cmpl %r12d, %eax
jne 0x3b12
movl %eax, %r12d
movq 0x8(%r14), %rdi
movq 0x10(%r14), %rsi
subq %rdi, %rsi
movl %r12d, %edx
subl %ecx, %edx
leal 0x1(%rdx), %eax
movslq %eax, %r8
movq 0x18(%r14), %rax
cmpq %r8, %rsi
jae 0x3b9a
movslq %edx, %rcx
addq %rcx, %rdi
movq %rdi, %rcx
shrq %rcx
orq %rdi, %rcx
movq %rcx, %rdx
shrq $0x2, %rdx
orq %rcx, %rdx
movq %rdx, %rcx
shrq $0x4, %rcx
orq %rdx, %rcx
movq %rcx, %rdx
shrq $0x8, %rdx
orq %rcx, %rdx
movq %rdx, %rsi
shrq $0x10, %rsi
orq %rdx, %rsi
incq %rsi
movq %rsi, 0x10(%r14)
movq %rax, %rdi
callq 0x1180
movq %rax, 0x18(%r14)
movq 0x8(%r14), %rdi
movl (%r15), %ecx
movl %r12d, %edx
subl %ecx, %edx
addq %rax, %rdi
movslq %ecx, %rsi
addq 0x18(%r15), %rsi
movslq %edx, %rdx
callq 0x1140
movslq (%r15), %rax
movslq %r12d, %rcx
subq %rax, %rcx
addq %rcx, 0x8(%r14)
leal 0x1(%r12), %ecx
movl %ecx, (%r15)
movl 0x4(%r15), %eax
cmpl %eax, %r12d
jge 0x3ab4
movq 0x18(%r14), %rax
testq %rax, %rax
je 0x3bf1
movq 0x8(%r14), %rcx
cmpq $0x2, %rcx
jb 0x3c10
cmpb $0xd, -0x1(%rax,%rcx)
jne 0x3c10
decq %rcx
movq %rcx, 0x8(%r14)
jmp 0x3c10
movq $0x1, 0x10(%r14)
movl $0x1, %edi
movl $0x1, %esi
callq 0x10f0
movq %rax, 0x18(%r14)
movq 0x8(%r14), %rcx
movb $0x0, (%rax,%rcx)
movl 0x8(%r14), %edi
testl %edi, %edi
js 0x3c39
movq 0x18(%r14), %rsi
movq %rbx, %rdx
callq 0x3924
testl %eax, %eax
js 0x3a93
xorl %edi, %edi
jmp 0x3c39
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl %edi, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/asg.c
// Function: asg_arc_index_core
uint64_t *asg_arc_index_core(size_t max_seq, size_t n, const asg_arc_t *a)
{
	size_t i, last;
	uint64_t *idx;
	idx = (uint64_t*)calloc(max_seq * 2, 8);
	for (i = 1, last = 0; i <= n; ++i)
		if (i == n || a[i-1].ul>>32 != a[i].ul>>32)
			idx[a[i-1].ul>>32] = (uint64_t)last<<32 | (i - last), last = i;
	return idx;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
addq %rdi, %rdi
movl $0x8, %esi
callq 0x10f0
testq %r14, %r14
je 0x3f3d
leaq 0x1(%r14), %rdx
cmpq $0x3, %rdx
movl $0x2, %ecx
cmovaeq %rdx, %rcx
movq %r14, %rdx
shlq $0x4, %rdx
addq %rbx, %rdx
addq $-0x10, %rdx
addq $0x10, %rbx
movl $0x1, %esi
xorl %edi, %edi
cmpq %rsi, %r14
jne 0x3f09
movq (%rdx), %r8
jmp 0x3f19
movq -0x10(%rbx), %r8
movq (%rbx), %r9
xorq %r8, %r9
shrq $0x20, %r9
je 0x3f31
movq %rsi, %r9
subq %rdi, %r9
shlq $0x20, %rdi
orq %r9, %rdi
shrq $0x20, %r8
movq %rdi, (%rax,%r8,8)
movq %rsi, %rdi
incq %rsi
addq $0x10, %rbx
cmpq %rsi, %rcx
jne 0x3eff
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/asg.c
// Function: asg_arc_rm
void asg_arc_rm(asg_t *g)
{
	uint32_t e, n;
	for (e = n = 0; e < g->n_arc; ++e) {
		uint32_t u = g->arc[e].ul>>32, v = g->arc[e].v;
		if (!g->arc[e].del && !g->seq[u>>1].del && !g->seq[v>>1].del)
			g->arc[n++] = g->arc[e];
	}
	if (n < g->n_arc) { // arc index is out of sync
		if (g->idx) free(g->idx);
		g->idx = 0;
	}
	g->n_arc = n;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x4(%rdi), %eax
testl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
je 0x40ae
xorl %ecx, %ecx
xorl %edx, %edx
xorl %ebp, %ebp
movq 0x8(%rbx), %rsi
cmpl $0x0, 0xc(%rsi,%rcx)
js 0x407b
leaq (%rsi,%rcx), %rdi
movq (%rdi), %r9
movq 0x18(%rbx), %r8
shrq $0x21, %r9
cmpl $0x0, (%r8,%r9,4)
js 0x407b
movl 0x8(%rsi,%rcx), %r9d
shrl %r9d
cmpl $0x0, (%r8,%r9,4)
js 0x407b
movl %ebp, %eax
incl %ebp
shlq $0x4, %rax
movups (%rdi), %xmm0
movups %xmm0, (%rsi,%rax)
movl 0x4(%rbx), %eax
incq %rdx
movl %eax, %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
addq $0x10, %rcx
cmpq %rsi, %rdx
jb 0x4039
cmpl %esi, %ebp
jae 0x40b0
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x40a4
callq 0x1040
movl 0x4(%rbx), %eax
movq $0x0, 0x20(%rbx)
jmp 0x40b0
xorl %ebp, %ebp
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
andl $0x80000000, %eax       # imm = 0x80000000
orl %ebp, %eax
movl %eax, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/asg.c
// Function: asg_cleanup
void asg_cleanup(asg_t *g)
{
	asg_arc_rm(g);
	if (!g->is_srt) {
		asg_arc_sort(g);
		g->is_srt = 1;
	}
	if (g->idx == 0) asg_arc_index(g);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x4023
movslq 0x4(%rbx), %rsi
testq %rsi, %rsi
js 0x40ed
movq 0x8(%rbx), %rdi
shlq $0x4, %rsi
addq %rdi, %rsi
callq 0x3e3e
orb $-0x80, 0x7(%rbx)
cmpq $0x0, 0x20(%rbx)
je 0x40f6
popq %rbx
retq
movq %rbx, %rdi
popq %rbx
jmp 0x3f45
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/asg.c
// Function: asg_extend
int asg_extend(const asg_t *g, uint32_t v, int max_ext, asg64_v *a)
{
	int ret;
	uint64_t lw;
	a->n = 0;
	kv_push(uint64_t, *a, v);
	do {
		ret = asg_is_utg_end(g, v^1, &lw);
		if (ret != 0) break;
		kv_push(uint64_t, *a, lw);
		v = (uint32_t)lw;
	} while (--max_ext > 0);
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %r14
movq $0x0, (%rcx)
cmpq $0x0, 0x8(%rcx)
je 0x4143
movq 0x10(%rbx), %rax
xorl %ecx, %ecx
jmp 0x4160
movq $0x2, 0x8(%rbx)
movq 0x10(%rbx), %rdi
movl $0x10, %esi
callq 0x1180
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movl %r12d, %edx
leaq 0x1(%rcx), %rsi
movq %rsi, (%rbx)
movq %rdx, (%rax,%rcx,8)
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq 0x20(%r14), %rsi
movl %r12d, %ecx
movq (%rsi,%rcx,8), %r9
movq %r9, %r8
movl $0x1, %ecx
andq %r13, %r8
je 0x42a1
movq 0x8(%r14), %rdx
shrq $0x20, %r9
shlq $0x4, %r9
leaq (%rdx,%r9), %rdi
leaq (%rdx,%r9), %r10
addq $0xc, %r10
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r11d, %r11d
xorl %r9d, %r9d
xorl %ebp, %ebp
cmpl $0x0, (%r10)
setns %bpl
cmovnsl %r11d, %ecx
addl %ebp, %r9d
incq %r11
addq $0x10, %r10
cmpq %r11, %r8
jne 0x41b3
cmpl $0x1, %r9d
jne 0x4292
movslq %ecx, %r9
shlq $0x4, %r9
movl 0x8(%rdi,%r9), %r12d
movq %r12, %rcx
xorq $0x1, %rcx
movq (%rsi,%rcx,8), %r8
movq %r8, %rsi
movl $0x3, %ecx
andq %r13, %rsi
je 0x42a1
movq (%rdi,%r9), %rbp
shlq $0x20, %rbp
orq %r12, %rbp
shrq $0x20, %r8
shlq $0x4, %rsi
shlq $0x4, %r8
addq %r8, %rdx
addq $0xc, %rdx
xorl %edi, %edi
xorl %r8d, %r8d
movl (%rdx,%rdi), %r9d
notl %r9d
shrl $0x1f, %r9d
addl %r9d, %r8d
addq $0x10, %rdi
cmpq %rdi, %rsi
jne 0x4225
cmpl $0x1, %r8d
jne 0x42a1
movq (%rbx), %rcx
cmpq 0x8(%rbx), %rcx
jne 0x4272
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
movl $0x2, %ecx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%rbx)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x1180
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movq %rbp, (%rax,%rcx,8)
leal -0x1(%r15), %ecx
cmpl $0x1, %r15d
movl %ecx, %r15d
jg 0x4174
xorl %ecx, %ecx
jmp 0x42a1
movl $0x2, %ecx
testl %r9d, %r9d
jne 0x42a1
movl $0x1, %ecx
movl %ecx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/hit.c
// Function: ma_hit_mark_unused
void ma_hit_mark_unused(sdict_t *d, size_t n, const ma_hit_t *a)
{
	size_t i;
	for (i = 0; i < d->n_seq; ++i)
		d->seq[i].aux = 0;
	for (i = 0; i < n; ++i)
		d->seq[a[i].qns>>32].aux = d->seq[a[i].tn].aux = 1;
	for (i = 0; i < d->n_seq; ++i) {
		sd_seq_t *s = &d->seq[i];
		if (!s->aux) s->del = 1;
		else s->aux = 0;
	}
}

// Assembly:
cmpl $0x0, (%rdi)
je 0x53a7
movl $0xc, %ecx
xorl %r8d, %r8d
movq 0x8(%rdi), %rax
andl $0x80000000, (%rax,%rcx) # imm = 0x80000000
incq %r8
movl (%rdi), %eax
addq $0x10, %rcx
cmpq %rax, %r8
jb 0x538c
jmp 0x53a9
xorl %eax, %eax
testq %rsi, %rsi
je 0x53f6
movl $0x80000000, %eax       # imm = 0x80000000
movq 0x8(%rdi), %rcx
movl 0xc(%rdx), %r8d
shlq $0x4, %r8
movl 0xc(%rcx,%r8), %r9d
andl %eax, %r9d
incl %r9d
movl %r9d, 0xc(%rcx,%r8)
movq 0x8(%rdi), %rcx
movl 0x4(%rdx), %r8d
shlq $0x4, %r8
movl 0xc(%rcx,%r8), %r9d
andl %eax, %r9d
incl %r9d
movl %r9d, 0xc(%rcx,%r8)
addq $0x20, %rdx
decq %rsi
jne 0x53b3
movl (%rdi), %eax
testl %eax, %eax
je 0x5431
movl $0xc, %eax
xorl %ecx, %ecx
movl $0x80000000, %edx       # imm = 0x80000000
movq 0x8(%rdi), %rsi
movl (%rsi,%rax), %r8d
movl %r8d, %r9d
andl %edx, %r9d
testl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
cmovel %edx, %r9d
movl %r9d, (%rsi,%rax)
incq %rcx
movl (%rdi), %esi
addq $0x10, %rax
cmpq %rsi, %rcx
jb 0x5406
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/asm.c
// Function: ma_sg_print
void ma_sg_print(const asg_t *g, const sdict_t *d, const ma_sub_t *sub, FILE *fp)
{
	uint32_t i;
	for (i = 0; i < g->n_arc; ++i) {
		const asg_arc_t *p = &g->arc[i];
		if (sub) {
			const ma_sub_t *sq = &sub[p->ul>>33], *st = &sub[p->v>>1];
			fprintf(fp, "L\t%s:%d-%d\t%c\t%s:%d-%d\t%c\t%d:\tL1:i:%d\n", d->seq[p->ul>>33].name, sq->s + 1, sq->e, "+-"[p->ul>>32&1],
					d->seq[p->v>>1].name, st->s + 1, st->e, "+-"[p->v&1], p->ol, (uint32_t)p->ul);
		} else {
			fprintf(fp, "L\t%s\t%c\t%s\t%c\t%d:\tL1:i:%d\n", d->seq[p->ul>>33].name, "+-"[p->ul>>32&1],
					d->seq[p->v>>1].name, "+-"[p->v&1], p->ol, (uint32_t)p->ul);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
testl $0x7fffffff, 0x4(%rdi)  # imm = 0x7FFFFFFF
je 0x6716
movq %rdx, %r12
movq %rdi, %rbx
movl $0xc, %r13d
xorl %r15d, %r15d
movq %rdi, 0x20(%rsp)
movq 0x8(%rbx), %rax
testq %r12, %r12
je 0x6689
movq -0xc(%rax,%r13), %r11
movq %r11, %rdx
shrq $0x21, %rdx
movl -0x4(%rax,%r13), %esi
movl %esi, %ebx
shrl %ebx
movq 0x10(%rsp), %rcx
movq 0x8(%rcx), %r9
movq %r9, 0x30(%rsp)
movl (%r12,%rdx,8), %ecx
movl 0x4(%r12,%rdx,8), %edi
movl %edi, 0xc(%rsp)
shlq $0x4, %rdx
movl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
andl %r8d, %ecx
incl %ecx
btq $0x20, %r11
leaq 0x3f53(%rip), %r10      # 0xa570
movq %r10, %rdi
adcq $0x0, %rdi
movq (%r9,%rdx), %rdx
movsbl (%rdi), %r9d
movl (%r12,%rbx,8), %ebp
movl 0x4(%r12,%rbx,8), %edi
movq %rdi, 0x28(%rsp)
shlq $0x4, %rbx
andl %r8d, %ebp
incl %ebp
andl $0x1, %esi
movsbl (%rsi,%r10), %r14d
movl (%rax,%r13), %r10d
andl %r8d, %r10d
movq 0x18(%rsp), %rdi
leaq 0x3eeb(%rip), %rsi      # 0xa549
movl 0xc(%rsp), %r8d
xorl %eax, %eax
pushq %r11
pushq %r10
pushq %r14
pushq 0x40(%rsp)
pushq %rbp
movq 0x58(%rsp), %r10
pushq (%r10,%rbx)
movq 0x50(%rsp), %rbx
callq 0x1120
addq $0x30, %rsp
jmp 0x66fe
movq 0x10(%rsp), %rcx
movq 0x8(%rcx), %rsi
movq -0xc(%rax,%r13), %r10
movq %r10, %rcx
shrq $0x1d, %rcx
andq $-0x10, %rcx
movq (%rsi,%rcx), %rdx
btq $0x20, %r10
leaq 0x3ebe(%rip), %r9       # 0xa570
movq %r9, %rcx
adcq $0x0, %rcx
movsbl (%rcx), %ecx
movl -0x4(%rax,%r13), %edi
movl %edi, %r8d
shrl %r8d
shlq $0x4, %r8
movq (%rsi,%r8), %r8
andl $0x1, %edi
movsbl (%rdi,%r9), %r9d
movl (%rax,%r13), %r11d
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %r11d
movq 0x18(%rsp), %rdi
leaq 0x3e84(%rip), %rsi      # 0xa573
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0x1120
addq $0x10, %rsp
incq %r15
movl 0x4(%rbx), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
addq $0x10, %r13
cmpq %rax, %r15
jb 0x65c5
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/miniasm/asm.c
// Function: ma_ug_destroy
KDQ_INIT(uint64_t)

void ma_ug_destroy(ma_ug_t *ug)
{
	uint32_t i;
	if (ug == 0) return;
	for (i = 0; i < ug->u.n; ++i) {
		free(ug->u.a[i].a);
		free(ug->u.a[i].s);
	}
	free(ug->u.a);
	asg_destroy(ug->g);
	free(ug);
}

// Assembly:
testq %rdi, %rdi
je 0x6789
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x676b
movl $0x1, %ebp
xorl %eax, %eax
movq 0x10(%rbx), %rcx
shlq $0x3, %rax
leaq (%rax,%rax,4), %r14
movq 0x18(%rcx,%r14), %rdi
callq 0x1040
movq 0x10(%rbx), %rax
movq 0x20(%rax,%r14), %rdi
callq 0x1040
movl %ebp, %eax
incl %ebp
cmpq %rax, (%rbx)
ja 0x673e
movq 0x10(%rbx), %rdi
callq 0x1040
movq 0x18(%rbx), %rdi
callq 0x3e6f
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x1040
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/cf.c
// Function: cf_open
color_file_t *cf_open(const char *fn)
{
	gzFile fp = gzopen(fn, "r");
	if (fp == 0) return 0;
	color_file_t *pf = (color_file_t*) calloc(1, sizeof(color_file_t));
	pf->fp = ks_init(fp);
	return pf;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x21f8(%rip), %rsi      # 0xa05c
callq 0x11a0
testq %rax, %rax
je 0x7eb3
movq %rax, %r14
movl $0x1, %edi
movl $0x20, %esi
callq 0x10f0
movq %rax, %rbx
movl $0x1, %edi
movl $0x20, %esi
callq 0x10f0
movq %rax, %r15
movq %r14, 0x10(%rax)
movl $0x40000, 0x8(%rax)     # imm = 0x40000
movl $0x10000, %edi          # imm = 0x10000
callq 0x1160
movq %rax, 0x18(%r15)
movq %r15, (%rbx)
jmp 0x7eb5
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/color.c
// Function: rs_sort_color
void km_cf_print(sdict_t *d, km_color_t *c)
{
	for (size_t i = 0; i < d->n_seq; ++i) {
		if (c[i].c1 == 0) continue;
		else if (c[i].c2 == 0) printf("%s\t%llu\n", d->seq[i].name, c[i].c1);
		else printf("%s\t%llu\t%llu\n", d->seq[i].name, c[i].c1, c[i].c2);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, -0x30(%rbp)
movl %edx, %ecx
movl $0x1, %eax
movl %edx, -0x2c(%rbp)
shll %cl, %eax
leal -0x1(%rax), %edx
movq %rax, %rcx
shlq $0x4, %rcx
movq %rsp, %r15
subq %rcx, %r15
movq %r15, %rsp
movslq %eax, %r12
shlq $0x4, %r12
leaq (%r15,%r12), %rax
xorl %ecx, %ecx
movq %rdi, 0x8(%r15,%rcx)
movq %rdi, (%r15,%rcx)
addq $0x10, %rcx
cmpq %rcx, %r12
jne 0x8213
movl -0x30(%rbp), %ecx
movslq %edx, %rdx
cmpq %rsi, %rdi
je 0x824f
movq %rdi, %r8
movq (%r8), %r9
shrq %cl, %r9
andq %rdx, %r9
shlq $0x4, %r9
addq $0x10, 0x8(%r15,%r9)
addq $0x10, %r8
cmpq %rsi, %r8
jne 0x8233
cmpl $0x0, -0x2c(%rbp)
je 0x8277
movl $0x10, %esi
movq -0x8(%r15,%rsi), %r8
movq %r8, %r9
subq %rdi, %r9
addq %r9, 0x8(%r15,%rsi)
movq %r8, (%r15,%rsi)
addq $0x10, %rsi
cmpq %rsi, %r12
jne 0x825a
movq %r15, %rsi
movq (%rsi), %r10
cmpq 0x8(%rsi), %r10
je 0x82e5
movq (%r10), %r8
movq %r8, %r9
shrq %cl, %r9
andq %rdx, %r9
shlq $0x4, %r9
addq %r15, %r9
cmpq %rsi, %r9
je 0x82eb
movq 0x8(%r10), %r10
movq %r8, %r11
movq %r10, %r13
movq (%r9), %r14
movq (%r14), %r8
movq 0x8(%r14), %r10
leaq 0x10(%r14), %rbx
movq %rbx, (%r9)
movq %r11, (%r14)
movq %r13, 0x8(%r14)
movq %r8, %r9
shrq %cl, %r9
andq %rdx, %r9
shlq $0x4, %r9
addq %r15, %r9
cmpq %rsi, %r9
jne 0x829f
movq (%rsi), %r9
leaq 0x10(%r9), %r11
movq %r11, (%rsi)
movq %r8, (%r9)
movq %r10, 0x8(%r9)
jmp 0x82f2
addq $0x10, %rsi
jmp 0x82f2
addq $0x10, %r10
movq %r10, (%rsi)
cmpq %rax, %rsi
jne 0x827a
movq %rdi, (%r15)
cmpl $0x0, -0x2c(%rbp)
je 0x8317
movl $0x10, %eax
movq -0x8(%r15,%rax), %rcx
movq %rcx, (%r15,%rax)
addq $0x10, %rax
cmpq %rax, %r12
jne 0x8305
cmpl $0x0, -0x30(%rbp)
je 0x8363
xorl %r13d, %r13d
movl -0x30(%rbp), %ebx
subl -0x2c(%rbp), %ebx
cmovlel %r13d, %ebx
movq (%r15,%r13), %rdi
movq 0x8(%r15,%r13), %rsi
movq %rsi, %rax
subq %rdi, %rax
sarq $0x4, %rax
cmpq $0x41, %rax
jl 0x834f
movl -0x2c(%rbp), %edx
movl %ebx, %ecx
callq 0x81d6
jmp 0x835a
cmpq $0x2, %rax
jl 0x835a
callq 0x817c
addq $0x10, %r13
cmpq %r13, %r12
jne 0x832a
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/color.c
// Function: km_exclude
sdict_t *km_exclude(const char *fn, uint64_t color)
{
	color_file_t *fp;
	fp = cf_open(fn);
	if (!fp) {
		fprintf(stderr, "[E::%s] could not open color file %s\n", __func__, fn);
		exit(1);
	}

	sdict_t *d = sd_init();
	color_rec_t r;
	while (color_read(fp, &r) >= 0) {
		if (r.c1 <= color && r.c2 >= color)
			sd_put(d, r.qn, (uint32_t) r.c1);
	}
	cf_close(fp);
	fprintf(stderr, "[M::%s] dropped %d colored reads\n", __func__, d->n_seq);
	return d;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x7e58
testq %rax, %rax
je 0x843c
movq %rsp, %r14
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2567
movq (%r14), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
callq 0x25fa
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/color.c
// Function: km_cut_cross
int km_cut_cross(asg_t *g, km_color_t *c, int max_distance)
{
	size_t n_cross = 0;
	for (uint32_t e = 0; e < g->n_arc; ++e) {
		uint32_t v = g->arc[e].ul>>33, u = g->arc[e].v>>1;
		// if run with no propagation, we allow arcs to/from uncolored reads
		if (!COLORED(c[v]) || !COLORED(c[u])) continue;
		if (overlap(c[v], c[u], max_distance)) continue;
		g->arc[e].del = 1, ++n_cross;
	}
	fprintf(stderr, "[M::%s] removed %ld color crossing arcs\n", __func__, n_cross);
	if (n_cross)
		asg_cleanup(g);
	return n_cross;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl 0x4(%rdi), %eax
testl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
jne 0x849a
callq 0x2763
xorl %ebp, %ebp
jmp 0x855c
movq %rdi, %rbx
movslq %edx, %rcx
movl $0xc, %edx
xorl %edi, %edi
xorl %r14d, %r14d
movq 0x8(%rbx), %r8
movq -0xc(%r8,%rdx), %r9
movl -0x4(%r8,%rdx), %r10d
shrq $0x1d, %r9
andq $-0x10, %r9
leaq (%rsi,%r9), %r11
movq (%rsi,%r9), %r9
testq %r9, %r9
jne 0x84d4
cmpq $0x0, 0x8(%r11)
je 0x8512
shrl %r10d
shlq $0x4, %r10
movq (%rsi,%r10), %r15
movq 0x8(%rsi,%r10), %r10
movq %r15, %r12
orq %r10, %r12
je 0x8512
movq 0x8(%r11), %r11
cmpq %r15, %r9
cmovaq %r9, %r15
cmpq %r10, %r11
cmovbq %r11, %r10
addq %rcx, %r10
cmpq %r15, %r10
jae 0x8512
orb $-0x80, 0x3(%r8,%rdx)
incq %r14
movl 0x4(%rbx), %eax
incq %rdi
movl %eax, %r8d
andl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
addq $0x10, %rdx
cmpq %r8, %rdi
jb 0x84aa
movq 0x5ac9(%rip), %rax      # 0xdff8
movq (%rax), %rdi
leaq 0x230e(%rip), %rsi      # 0xa847
leaq 0x2330(%rip), %rdx      # 0xa870
xorl %ebp, %ebp
movq %r14, %rcx
xorl %eax, %eax
callq 0x1120
testq %r14, %r14
je 0x855c
movq %rbx, %rdi
callq 0x40c7
movl %r14d, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/color.c
// Function: km_intervalize
km_color_t *km_intervalize(km_multicolor_t *colors, size_t n_reads)
{
	km_color_t *intervals = (km_color_t*) calloc(n_reads, sizeof(km_color_t));
	for (size_t i = 0; i < n_reads; i++) {
		if (colors[i].n == 0) continue;
		// TODO: Combine with color merging
		uint64_t min = colors[i].a[0], max = colors[i].a[0];
		for (size_t j = 1; j < colors[i].n; j++) {
			min = (colors[i].a[j] < min) ? colors[i].a[j] : min;
			max = (colors[i].a[j] > max) ? colors[i].a[j] : max;
		}
		intervals[i].c1 = min;
		intervals[i].c2 = max;
	}
	return intervals;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x10, %esi
movq %rbx, %rdi
callq 0x10f0
testq %rbx, %rbx
je 0x85e3
xorl %ecx, %ecx
leaq (%rcx,%rcx,2), %rdx
movq (%r14,%rdx,8), %rsi
testq %rsi, %rsi
je 0x85db
leaq (%r14,%rdx,8), %rdx
movq 0x10(%rdx), %rdi
movq (%rdi), %rdx
cmpq $0x1, %rsi
jne 0x85a8
movq %rdx, %r8
jmp 0x85cb
movl $0x1, %r9d
movq %rdx, %r8
movq (%rdi,%r9,8), %r10
cmpq %r8, %r10
cmovbq %r10, %r8
cmpq %rdx, %r10
cmovaq %r10, %rdx
incq %r9
cmpq %r9, %rsi
jne 0x85b1
movq %rcx, %rsi
shlq $0x4, %rsi
movq %r8, (%rax,%rsi)
movq %rdx, 0x8(%rax,%rsi)
incq %rcx
cmpq %rbx, %rcx
jne 0x8585
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/index.c
// Function: km_idx_destroy
void km_idx_destroy(km_idx_t *idx)
{
	if (idx == 0) return;
	for (uint32_t i = 0; i < idx->d->n_seq; i++) {
		for (uint32_t j = 0; j < idx->targets[i].n_bins; j++)
			free(idx->targets[i].bins[j].a);
		free(idx->targets[i].bins);
	}
	free(idx->targets);
	sd_destroy(idx->d);
	free(idx);
}

// Assembly:
testq %rdi, %rdi
je 0x8685
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
cmpl $0x0, (%rax)
je 0x8662
xorl %r14d, %r14d
movq 0x10(%rbx), %rax
movq %r14, %r15
shlq $0x4, %r15
cmpl $0x0, (%rax,%r15)
je 0x864a
movl $0x10, %r12d
xorl %r13d, %r13d
movq 0x8(%rax,%r15), %rax
movq (%rax,%r12), %rdi
callq 0x1040
incq %r13
movq 0x10(%rbx), %rax
movl (%rax,%r15), %ecx
addq $0x18, %r12
cmpq %rcx, %r13
jb 0x8628
movq 0x8(%rax,%r15), %rdi
callq 0x1040
incq %r14
movq 0x8(%rbx), %rax
movl (%rax), %eax
cmpq %rax, %r14
jb 0x860d
movq 0x10(%rbx), %rdi
callq 0x1040
movq 0x8(%rbx), %rdi
callq 0x301b
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1040
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/index.c
// Function: km_pileup
km_hit_v km_pileup(km_idx_t *idx, const char *contig, const uint32_t pos)
{
	km_hit_v v = {0,0,0};

	int32_t tid = sd_get(idx->d, contig);
	size_t id = pos / idx->length;
	if (tid < 0 || id >= idx->targets[tid].n_bins) return v;
	km_hit_v *bin = &idx->targets[tid].bins[id];
	for (size_t i = 0; i < bin->n; i++) {
		const km_hit_t h = bin->a[i];
		if (h.s > pos || h.e < pos) continue;
		kv_push(km_hit_t, v, h);
	}
	return v;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r12d
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x8(%rsi), %rdi
movq %rdx, %rsi
callq 0x336b
movl %eax, %ecx
movl %r12d, %eax
xorl %edx, %edx
divl (%r14)
testl %ecx, %ecx
js 0x87b8
movq 0x10(%r14), %rdx
movl %ecx, %ecx
shlq $0x4, %rcx
cmpl (%rdx,%rcx), %eax
jae 0x87b8
addq %rcx, %rdx
movq 0x8(%rdx), %rdx
leaq (%rax,%rax,2), %rax
movq (%rdx,%rax,8), %rcx
testq %rcx, %rcx
je 0x87b3
movq %rbx, 0x8(%rsp)
leaq (%rdx,%rax,8), %r9
movl $0x8, %r15d
xorl %eax, %eax
xorl %edx, %edx
xorl %r13d, %r13d
xorl %ebp, %ebp
movl %r12d, (%rsp)
movq %r9, 0x10(%rsp)
movq 0x10(%r9), %rsi
movl -0x4(%rsi,%r15), %ebx
cmpl %r12d, %ebx
seta %dil
movl (%rsi,%r15), %r14d
cmpl %r12d, %r14d
setb %r8b
orb %dil, %r8b
jne 0x8794
movl -0x8(%rsi,%r15), %edi
cmpq %rdx, %rbp
jne 0x877a
leaq (%rdx,%rdx), %r12
testq %rdx, %rdx
movl $0x2, %ecx
cmoveq %rcx, %r12
leaq (,%r12,4), %rcx
leaq (%rcx,%rcx,2), %rsi
movl %edi, 0x4(%rsp)
movq %rax, %rdi
callq 0x1180
movl 0x4(%rsp), %edi
movq 0x10(%rsp), %r9
movq (%r9), %rcx
movq %r12, %rdx
movl (%rsp), %r12d
leaq (,%rbp,2), %rsi
addq %rbp, %rsi
incq %rbp
movl %edi, (%rax,%rsi,4)
movl %ebx, 0x4(%rax,%rsi,4)
movl %r14d, 0x8(%rax,%rsi,4)
incq %r13
addq $0xc, %r15
cmpq %rcx, %r13
jb 0x8715
movq 0x8(%rsp), %rbx
movq %rdx, 0x8(%rbx)
movq %rax, 0x10(%rbx)
jmp 0x87b5
xorl %ebp, %ebp
movq %rbp, (%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/rikuu[P]kermit/marker.c
// Function: marker_open
marker_file_t *marker_open(const char *fn)
{
	gzFile fp = gzopen(fn, "r");
	if (fp == 0) return 0;
	marker_file_t *pf = (marker_file_t *) calloc(1, sizeof(marker_file_t));
	pf->fp = ks_init(fp);
	return pf;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x13dc(%rip), %rsi      # 0xa05c
callq 0x11a0
testq %rax, %rax
je 0x8ccf
movq %rax, %r14
movl $0x1, %edi
movl $0x20, %esi
callq 0x10f0
movq %rax, %rbx
movl $0x1, %edi
movl $0x20, %esi
callq 0x10f0
movq %rax, %r15
movq %r14, 0x10(%rax)
movl $0x40000, 0x8(%rax)     # imm = 0x40000
movl $0x10000, %edi          # imm = 0x10000
callq 0x1160
movq %rax, 0x18(%r15)
movq %r15, (%rbx)
jmp 0x8cd1
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/symbol_table.c
// Function: SD_print_sub
void SD_print_sub(pSD psd, FILE* fp) {
    fprintf(stderr, "%-10s %-12s %-10s %-10s %6s %6s %7s\n",
        "lexeme", "type", "scope", "lines", "level", "width", "offset");
    for(pSTEntry node = psd->first_entry; node != NULL; node = node->next) {
        pSTEntry_print_sub(node, stderr);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x11821(%rip), %r14     # 0x14ff8
movq (%r14), %rdi
subq $0x8, %rsp
leaq 0xba53(%rip), %r10      # 0xf238
leaq 0xba46(%rip), %r11      # 0xf232
leaq 0xba39(%rip), %r15      # 0xf22c
leaq 0xb9fa(%rip), %rsi      # 0xf1f4
leaq 0xba18(%rip), %rdx      # 0xf219
leaq 0xb040(%rip), %rcx      # 0xe848
leaq 0xba11(%rip), %r8       # 0xf220
leaq 0xba10(%rip), %r9       # 0xf226
xorl %eax, %eax
pushq %r10
pushq %r11
pushq %r15
callq 0x3140
addq $0x20, %rsp
movq 0x18(%rbx), %rbx
testq %rbx, %rbx
je 0x3841
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x9610
movq 0x20(%rbx), %rbx
jmp 0x382b
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/./util/hmap.gen.c
// Function: ST_hmap_destroy_chain
void ITYPED(hmap_destroy_chain)(ITYPED(hmap_node)* p, bool destroy_key, bool destroy_value)
{
    ITYPED(hmap_node)* p2 = NULL;
    while(p != NULL)
    {
        p2 = p->next;
        p->next = NULL;
        if(destroy_key)
            KTYPED(destroy)(p->key);
        if(destroy_value)
            VTYPED(destroy)(p->value);
        free(p);
        p = p2;
    }
}

// Assembly:
testq %rdi, %rdi
je 0x977b
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
movq (%r15), %r12
movq $0x0, (%r15)
testb %r14b, %r14b
je 0x9756
movq 0x8(%r15), %rdi
callq 0x4740
testb %bl, %bl
je 0x9763
movq 0x10(%r15), %rdi
callq 0x3030
movq %r15, %rdi
callq 0x3030
movq %r12, %r15
testq %r12, %r12
jne 0x973e
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/util/hmap.gen.c
// Function: pch_int_hmap_rehash
void ITYPED(hmap_rehash)(ITYPED(hmap)* phmap, int new_capacity)
{
    int i;
    ITYPED(hmap_node)** plist2 = calloc(new_capacity, sizeof(ITYPED(hmap_node)*));
    for(i=0; i<(phmap->capacity); ++i) {
        ITYPED(hmap_node)* n = phmap->plist[i];
        while(n != NULL) {
            unsigned h = KTYPED(hash)(n->key) % new_capacity;
            plist2[h] = ITYPED(hmap_get_node)(n->key, n->value, plist2[h]);
            n = n->next;
        }
        ITYPED(hmap_destroy_chain)(phmap->plist[i], false, false);
        phmap->plist[i] = NULL;
    }

    free(phmap->plist);
    phmap->plist = plist2;
    phmap->capacity = new_capacity;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %esi, %r15d
movq %rdi, %r12
movslq %esi, %rdi
movl $0x8, %esi
callq 0x3120
movq %rax, %r13
cmpl $0x0, 0x8(%r12)
jle 0x413d
xorl %ecx, %ecx
movl %r15d, -0x2c(%rbp)
movq %r12, -0x40(%rbp)
movq (%r12), %rax
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0x4124
movq %rcx, -0x38(%rbp)
movq 0x8(%r14), %rdi
callq 0x470e
xorl %edx, %edx
divl %r15d
movl %edx, %r12d
movq 0x8(%r14), %rax
movq %rax, -0x48(%rbp)
movl 0x10(%r14), %ebx
movq (%r13,%r12,8), %r15
movl $0x18, %edi
callq 0x3150
movq -0x48(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl %ebx, 0x10(%rax)
movq %r15, (%rax)
movl -0x2c(%rbp), %r15d
movq %rax, (%r13,%r12,8)
movq (%r14), %r14
testq %r14, %r14
jne 0x40ac
movq -0x40(%rbp), %r12
movq (%r12), %rax
movq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
je 0x4124
movq (%rdi), %rbx
callq 0x3030
movq %rbx, %rdi
testq %rbx, %rbx
jne 0x410c
movq (%r12), %rax
movq -0x38(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
incq %rcx
movslq 0x8(%r12), %rax
cmpq %rax, %rcx
jl 0x409b
movq (%r12), %rdi
callq 0x3030
movq %r13, (%r12)
movl %r15d, 0x8(%r12)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/./util/hmap.gen.c
// Function: ST_hmap_update
ITYPED(hmap_node)* ITYPED(hmap_update)(ITYPED(hmap)* phmap, KTYPE k, VTYPE v)
{
    int old_size = phmap->size;
    ITYPED(hmap_node)* n = ITYPED(hmap_insert)(phmap, k, v);
    if(phmap->size == old_size) {
        if(phmap->destroy_value)
            VTYPED(destroy)(n->value);
        n->value = v;
    }
    return n;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r15
movl 0xc(%rdi), %r12d
callq 0x98a7
movq %rax, %r14
cmpl %r12d, 0xc(%r15)
jne 0x9a6a
cmpb $0x1, 0x11(%r15)
jne 0x9a66
movq 0x10(%r14), %rdi
callq 0x3030
movq %rbx, 0x10(%r14)
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/./util/hmap.gen.c
// Function: vptr_pMN_hmap_print
void ITYPED(hmap_print)(ITYPED(hmap)* phmap, FILE* fp) {
    int capacity = phmap->capacity;
    ITYPED(hmap_node)** plist = phmap->plist;
    ITYPED(hmap_node)* n = NULL;
    fprintf(fp, "hmap(size=%d, capacity=%d):\n", phmap->size, capacity);
    for(int i=0; i<capacity; ++i) {
        for(n = plist[i]; n != NULL; n = n->next) {
            fprintf(fp, "  ");
            KTYPED(print)(n->key, fp);
            fprintf(fp, ": ");
            VTYPED(print)(n->value, fp);
            fprintf(fp, "\n");
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movslq 0x8(%rdi), %r14
movq (%rdi), %rax
movq %rax, -0x30(%rbp)
movl 0xc(%rdi), %edx
leaq 0x3b5a(%rip), %rsi      # 0xe00f
movq %rbx, %rdi
movl %r14d, %ecx
xorl %eax, %eax
callq 0x3140
movq %r14, -0x38(%rbp)
testq %r14, %r14
jle 0xa56c
leaq 0x490e(%rip), %r15      # 0xede4
leaq 0x3b2f(%rip), %r12      # 0xe00c
leaq 0x55dc(%rip), %r13      # 0xfac0
xorl %ecx, %ecx
movq -0x30(%rbp), %rax
movq %rcx, -0x40(%rbp)
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0xa55b
movl $0x2, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x31d0
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x475f
movl $0x2, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x31d0
movq 0x10(%r14), %rax
movq 0x50(%rax), %rdx
movl 0xc(%rax), %ecx
movl 0x10(%rax), %r8d
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x3140
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3110
movq (%r14), %r14
jmp 0xa4f2
movq -0x40(%rbp), %rcx
incq %rcx
cmpq -0x38(%rbp), %rcx
jne 0xa4e6
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/util/pch.c
// Function: pch_hash
unsigned pch_hash(pch str)
{
    unsigned res = 0;
    for(int i=0; str[i] != '\0'; ++i)
        res = res * 307 + (int)(str[i]);
    //fprintf(stderr, "hash(%s) = %u\n", str, res);
    return res;
}

// Assembly:
movb (%rdi), %cl
testb %cl, %cl
je 0x4733
pushq %rbp
movq %rsp, %rbp
incq %rdi
xorl %eax, %eax
movsbl %cl, %ecx
imull $0x133, %eax, %eax      # imm = 0x133
addl %ecx, %eax
movb (%rdi), %cl
incq %rdi
testb %cl, %cl
jne 0x471d
popq %rbp
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/util/stack.gen.c
// Function: int_stack_clear
void TYPED(stack_clear)(TYPED(stack) *ps)
{
    TYPED(stack_node) *p = ps->top, *todel = NULL;
    while(p != NULL)
    {
        todel = p;
        p = p->next;
        todel->next = NULL;
        TYPED(destroy)(todel->value);
        free(todel);
    }
    ps->top = NULL;
    ps->size = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x47ec
movq 0x8(%r14), %r15
movq $0x0, 0x8(%r14)
movl (%r14), %edi
callq 0x493c
movq %r14, %rdi
callq 0x3030
movq %r15, %r14
testq %r15, %r15
jne 0x47c8
movq $0x0, (%rbx)
movl $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/util/stack.gen.c
// Function: int_stack_print
void TYPED(stack_print)(TYPED(stack)* ps, FILE* fp)
{
    fprintf(fp, "[");
    TYPED(stack_node)* p = ps->top;
    if(p != NULL)
    {
        TYPED(print)(p->value, fp);
        p = p->next;
        while(p != NULL)
        {
            fprintf(fp, ", ");
            TYPED(print)(p->value, fp);
            p = p->next;
        }
    }
    fprintf(fp, "]\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x5b, %edi
callq 0x3110
movq (%r14), %r14
testq %r14, %r14
je 0x48ce
movl (%r14), %edi
movq %rbx, %rsi
callq 0x4955
movq 0x8(%r14), %r15
testq %r15, %r15
je 0x48ce
leaq 0xa56a(%rip), %r14      # 0xee0f
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x31d0
movl (%r15), %edi
movq %rbx, %rsi
callq 0x4955
movq 0x8(%r15), %r15
testq %r15, %r15
jne 0x48a5
leaq 0x9776(%rip), %rdi      # 0xe04b
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x31d0
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/util/stack.gen.c
// Function: int_stack_pop
TYPE TYPED(stack_pop)(TYPED(stack)* ps)
{
    if(ps->size == 0)
        fprintf(stderr, "pop called on empty stack\n");
    else
    {
        TYPED(stack_node)* tmp = ps->top;
        ps->top = tmp->next;
        TYPE v = tmp->value;
        free(tmp);
        (ps->size)--;
        /*
        fprintf(stderr, "Popping: ");
        TYPED(print)(v, stderr);
        fprintf(stderr, "\n");
        */
        return v;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
cmpl $0x0, 0x8(%rdi)
je 0x4935
movq %rdi, %rbx
movq (%rdi), %rdi
movq 0x8(%rdi), %rax
movq %rax, (%rbx)
movl (%rdi), %r14d
callq 0x3030
decl 0x8(%rbx)
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
callq 0x32c9
jmp 0x492d
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: precompute_cclass
void precompute_cclass(cclass_t* cclass)
// find character class of each character and store it in cclass
{
    int i;
    for(i=0; i < (1 << sizeof(char)); ++i)
        cclass[i] = C_REST;

    for(i='a'; i<='z'; ++i) cclass[i] = C_ALPHA;
    for(i='A'; i<='Z'; ++i) cclass[i] = C_ALPHA;
    cclass['e'] = C_E; cclass['E'] = C_E;
    cclass['_'] = C_UNSC;

    for(i='0'; i<='9'; ++i) cclass[i] = C_DIG;

    cclass[' '] = C_WS;  cclass['\t'] = C_WS; cclass['\r'] = C_WS;
    cclass['\0'] = C_EOF; cclass['\n'] = C_NL;

    cclass['('] = C_SCO; cclass[')'] = C_SCO;
    cclass['['] = C_SCO; cclass[']'] = C_SCO;
    cclass[','] = C_SCO; cclass[';'] = C_SCO;
    cclass['/'] = C_SCO;

    cclass['+'] = C_PM; cclass['-'] = C_PM;
    cclass['='] = C_EQ; cclass['!'] = C_EXCL;
    cclass['<'] = C_LT; cclass['>'] = C_GT;
    cclass['.'] = C_DOT;
    cclass['*'] = C_STAR;
    cclass[':'] = C_COLON;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq $0x10, (%rdi)
xorl %eax, %eax
movl $0x1, 0x184(%rdi,%rax,4)
incq %rax
cmpq $0x1a, %rax
jne 0x497d
xorl %eax, %eax
movl $0x1, 0x104(%rdi,%rax,4)
incq %rax
cmpq $0x1a, %rax
jne 0x4993
movl $0x2, %eax
movl %eax, 0x194(%rdi)
movl %eax, 0x114(%rdi)
movl $0x3, 0x17c(%rdi)
xorl %eax, %eax
movl $0x4, 0xc0(%rdi,%rax,4)
incq %rax
cmpq $0xa, %rax
jne 0x49c4
movabsq $0xa00000005, %rax      # imm = 0xA00000005
movq %rax, 0x80(%rdi)
movabsq $0x600000005, %rax      # imm = 0x600000005
movq %rax, 0x24(%rdi)
movl $0x5, 0x34(%rdi)
movabsq $0x700000007, %rax      # imm = 0x700000007
movq %rax, 0xa0(%rdi)
movl $0x7, %eax
movl %eax, 0x16c(%rdi)
movl %eax, 0x174(%rdi)
movl %eax, 0xb0(%rdi)
movl %eax, 0xbc(%rdi)
movabsq $0xb00000008, %rax      # imm = 0xB00000008
movq %rax, 0xb4(%rdi)
movabsq $0x90000000e, %rax      # imm = 0x90000000E
movq %rax, 0xf0(%rdi)
movl $0xf, 0xf8(%rdi)
movabsq $0x80000000c, %rax      # imm = 0x80000000C
movq %rax, 0xa8(%rdi)
movabsq $0x70000000d, %rax      # imm = 0x70000000D
movq %rax, 0xe8(%rdi)
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: init_lexer
void init_lexer()
{
    precompute_cclass(pc_cclass);
    precompute_final_states(is_final);
    precompute_dfa();
    precompute_token_hmap();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x116b7(%rip), %rdi     # 0x16960
callq 0x4970
xorps %xmm0, %xmm0
movaps %xmm0, 0x11098(%rip)    # 0x16350
movq $0x0, 0x1109b(%rip) # 0x1635e
xorl %eax, %eax
leaq 0x8e64(%rip), %rcx      # 0xe130
leaq 0x1107d(%rip), %rdx     # 0x16350
movl (%rax,%rcx), %esi
movb $0x1, (%rsi,%rdx)
addq $0x4, %rax
cmpq $0x34, %rax
jne 0x52d3
callq 0x4aaa
popq %rbp
jmp 0x4e05
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: get_cclass
cclass_t get_cclass(char ch)
{
    if(ch == '\0')
        return C_EOF;
    else if(ch < 0 || ch > 127)
        return C_REST;
    else
        return pc_cclass[(int)ch];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testb %dil, %dil
je 0x531a
js 0x5321
movslq %edi, %rax
leaq 0x1164b(%rip), %rcx     # 0x16960
movl (%rcx,%rax,4), %eax
jmp 0x5323
movl $0x10, %eax
jmp 0x5323
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: get_character
char get_character(FILE* fp)
{
    char ch;
    //static char fmt_str[] = "input: \'%c\' (%d)\n";
    if(input_ptr == NULL || *input_ptr == '\0')
    {
        int read = fread(input_buffer, sizeof(char), INPUT_BUFSIZE-1, fp);
        input_buffer[read] = '\0';
        input_ptr = input_buffer;
        if(read == 0)
        {
            //fprintf(stderr, fmt_str, '\0', 0);
            return '\0';
        }
    }
    ch = *(input_ptr++);
    //fprintf(stderr, fmt_str, ch, (int)ch);
    return ch;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rcx
movq 0x1182b(%rip), %rbx     # 0x16b60
testq %rbx, %rbx
je 0x5340
movb (%rbx), %al
testb %al, %al
jne 0x5370
leaq 0x11829(%rip), %rbx     # 0x16b70
movl $0x1, %esi
movl $0x63, %edx
movq %rbx, %rdi
callq 0x3080
cltq
movb $0x0, (%rax,%rbx)
movq %rbx, 0x117fa(%rip)     # 0x16b60
testl %eax, %eax
je 0x537c
movb 0x11800(%rip), %al      # 0x16b70
incq %rbx
movq %rbx, 0x117e6(%rip)     # 0x16b60
jmp 0x537e
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: put_character
void put_character(FILE * fp, char ch)
{
    if(output_ptr == OUTPUT_BUFSIZE-1)
    {
        fwrite(output_buffer, sizeof(char), OUTPUT_BUFSIZE, fp);
        output_ptr = -1;
        //output_buffer[OUTPUT_BUFFER] = '\0';
        memset(output_buffer, '\0', OUTPUT_BUFSIZE);
    }
    output_ptr ++;
    output_buffer[output_ptr] = ch;
    if(ch == '\0')
        fwrite(output_buffer, sizeof(char), output_ptr+1, fp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movl 0x10308(%rip), %eax     # 0x156a0
cmpl $0x63, %eax
jne 0x53f2
leaq 0x1183c(%rip), %rdi     # 0x16be0
movl $0x1, %esi
movl $0x64, %edx
movq %rbx, %rcx
callq 0x31d0
xorps %xmm0, %xmm0
movaps %xmm0, 0x11820(%rip)    # 0x16be0
movaps %xmm0, 0x11829(%rip)    # 0x16bf0
movaps %xmm0, 0x11832(%rip)    # 0x16c00
movaps %xmm0, 0x1183b(%rip)    # 0x16c10
movaps %xmm0, 0x11844(%rip)    # 0x16c20
movaps %xmm0, 0x1184d(%rip)    # 0x16c30
movl $0x0, 0x11853(%rip)     # 0x16c40
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movslq %eax, %rcx
leaq 0x1(%rcx), %rdx
movl %edx, 0x102a1(%rip)     # 0x156a0
leaq 0x117da(%rip), %rdx     # 0x16be0
movb %r14b, 0x1(%rcx,%rdx)
testb %r14b, %r14b
je 0x5415
popq %rbx
popq %r14
popq %rbp
retq
addl $0x2, %eax
movslq %eax, %rdx
leaq 0x117be(%rip), %rdi     # 0x16be0
movl $0x1, %esi
movq %rbx, %rcx
popq %rbx
popq %r14
popq %rbp
jmp 0x31d0
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: predict_token_from_char
tok_t predict_token_from_char(char ch)
{
    switch(ch)
    {
    case '+': return T_PLUS;
    case '-': return T_MINUS;
    case '(': return T_BO;
    case ')': return T_BC;
    case '[': return T_SQBO;
    case ']': return T_SQBC;
    case ',': return T_COMMA;
    case ';': return T_SEMICOL;
    case '/': return T_DIV;

    case '=': return T_EQ;
    case '!': return T_NE;
    case ':': return T_ASSIGNOP;
    case '<': return T_LE;
    case '>': return T_GE;
    default: return T_ERR;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leal -0x21(%rdi), %eax
cmpl $0x1d, %eax
ja 0x5456
leaq 0x8c4a(%rip), %rcx      # 0xe090
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x2c, %eax
jmp 0x54bd
cmpl $0x5b, %edi
je 0x54b8
cmpl $0x5d, %edi
jne 0x5467
movl $0x39, %eax
jmp 0x54bd
xorl %eax, %eax
jmp 0x54bd
movl $0x28, %eax
jmp 0x54bd
movl $0x26, %eax
jmp 0x54bd
movl $0x24, %eax
jmp 0x54bd
movl $0x35, %eax
jmp 0x54bd
movl $0x37, %eax
jmp 0x54bd
movl $0x23, %eax
jmp 0x54bd
movl $0x2b, %eax
jmp 0x54bd
movl $0x36, %eax
jmp 0x54bd
movl $0x33, %eax
jmp 0x54bd
movl $0x34, %eax
jmp 0x54bd
movl $0x2a, %eax
jmp 0x54bd
movl $0x38, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: init_dfa
void init_dfa(Dfa* pdfa)
{
    pdfa->s = S_START;
    pdfa->line = 1;
    pdfa->col = 1;
    pdfa->lexeme = buff1;
    pdfa->trunc = false;
    buff1[0] = '\0';
    pdfa->size = 0;
    pdfa->error_count = 0;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, (%rdi)
movl $0x1, 0x8(%rdi)
leaq 0x1148a(%rip), %rax     # 0x16c50
movq %rax, 0x10(%rdi)
xorl %eax, %eax
movb %al, 0x1c(%rdi)
movb %al, 0x1147b(%rip)      # 0x16c50
movl %eax, 0x18(%rdi)
movl %eax, 0x20(%rdi)
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: init_token
void init_token(Token* ptok)
{
    ptok->line = 0;
    ptok->col = 0;
    ptok->lexeme = buff2;
    buff2[0] = '\0';
    ptok->size = 0;
    ptok->dyn_lexeme = false;
    ptok->tid = T_ERR;
    ptok->f = 0.0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
movq %rax, (%rdi)
leaq 0x11483(%rip), %rcx     # 0x16c70
movq %rcx, 0x8(%rdi)
movb %al, 0x11479(%rip)      # 0x16c70
movq %rax, 0x14(%rdi)
movb %al, 0x10(%rdi)
movl $0x0, 0x1c(%rdi)
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: post_process
void post_process(Dfa* pdfa, Token* ptok)
{
    if((ptok->tid) == T_ID)
    {
        ptok->tid = token_check(ptok->lexeme);
        if((ptok->tid) == T_ID && (ptok->size) > 8)
            print_lex_error(LERR_LONG_ID, pdfa, ptok);
        if((ptok->tid) == T_ID && ptok->lexeme[0] == '_')
            print_lex_error(LERR_ID_UNSC, pdfa, ptok);
        ptok->f = 0.0;
    }
    else if(ptok->tid == T_NUM)
        ptok->i = atoi(ptok->lexeme);
    else if(ptok->tid == T_RNUM)
        ptok->f = atof(ptok->lexeme);
    else
        ptok->f = 0.0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movl 0x18(%rsi), %eax
cmpl $0x4, %eax
je 0x5884
cmpl $0x3, %eax
je 0x5873
cmpl $0x2, %eax
jne 0x5916
movq %rdi, %r14
movq 0x8(%rbx), %rsi
leaq 0x110ef(%rip), %rdi     # 0x16948
callq 0x3f4c
testq %rax, %rax
je 0x589b
movl 0x10(%rax), %eax
movl %eax, 0x18(%rbx)
cmpl $0x2, %eax
je 0x58a2
jmp 0x5916
movq 0x8(%rbx), %rdi
callq 0x3190
movl %eax, 0x1c(%rbx)
jmp 0x591d
movq 0x8(%rbx), %rdi
callq 0x3090
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x1c(%rbx)
jmp 0x591d
movl $0x2, 0x18(%rbx)
cmpl $0x9, 0x14(%rbx)
jl 0x58df
incl 0x20(%r14)
movl (%rbx), %ecx
movl 0x4(%rbx), %r8d
movq 0x8(%rbx), %r9
leaq 0x8d71(%rip), %rdi      # 0xe62e
xorl %esi, %esi
movl $0x6, %edx
pushq 0xf8a6(%rip)            # 0x15170
pushq 0xf860(%rip)            # 0x15130
callq 0x93bc
addq $0x10, %rsp
cmpl $0x2, 0x18(%rbx)
jne 0x5916
movq 0x8(%rbx), %r9
cmpb $0x5f, (%r9)
jne 0x5916
incl 0x20(%r14)
movl (%rbx), %ecx
movl 0x4(%rbx), %r8d
leaq 0x8d34(%rip), %rdi      # 0xe62e
xorl %esi, %esi
movl $0x4, %edx
pushq 0xf859(%rip)            # 0x15160
pushq 0xf813(%rip)            # 0x15120
callq 0x93bc
addq $0x10, %rsp
movl $0x0, 0x1c(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sharmaeklavya2[P]cerplag/lexer.c
// Function: tick_dfa
bool tick_dfa(char ch, Dfa* pdfa, Token* ptok, bool debug)
// return true if token is ready
{
    cclass_t cclass = get_cclass(ch);
    state_t s2 = state_table[pdfa->s][cclass];
    action_t a = action_table[pdfa->s][cclass];
    execute_action(a, ch, pdfa, ptok);
    if(debug)
        fprintf(stderr, "\t%s %c %s %s\n", STATE_STRS[pdfa->s], ch, STATE_STRS[s2], ACTION_STRS[a]);
    pdfa->s = s2;
    (pdfa->col)++;
    return (a == A_TOKS || a == A_TOKF || a == A_TOKN || a == A_ERR);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movq %rdx, %rcx
movq %rsi, %rbx
movl %edi, %r14d
testb %r14b, %r14b
je 0x5952
js 0x5959
movslq %r14d, %rax
leaq 0x11013(%rip), %rdx     # 0x16960
movl (%rdx,%rax,4), %eax
jmp 0x595b
movl $0x10, %eax
jmp 0x595b
xorl %eax, %eax
movl (%rbx), %edx
movq %rdx, %rsi
shlq $0x6, %rsi
leaq (%rsi,%rdx,4), %rdx
leaq 0x10401(%rip), %rsi     # 0x15d70
addq %rdx, %rsi
movl (%rsi,%rax,4), %r12d
leaq 0x109f3(%rip), %rsi     # 0x16370
addq %rdx, %rsi
movl (%rsi,%rax,4), %r13d
movsbl %r14b, %esi
movl %r13d, %edi
movq %rbx, %rdx
callq 0x5541
testb %r15b, %r15b
jne 0x59b8
movl %r12d, (%rbx)
incl 0x8(%rbx)
andl $-0x4, %r13d
cmpl $0x4, %r13d
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzbl %r14b, %esi
movq %rbx, %rdi
movl %r12d, %edx
movl %r13d, %ecx
callq 0x32f8
jmp 0x5998