LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/codeniko[P]CS214-Malloc-Free/main.c
// Function: main
void main()
{
        printf("mallocing p 25000\n");
        void *p = malloc(25000);
        printf("p 25000 '%p'\n", p);
        printf("mallocing p2 1000\n");
        void *p2 = malloc(1000);
        printf("p2 1000 '%p'\n", p2);
        printf("mallocing p4 should be success 20000\n");
        void *p4 = malloc(20000);
        printf("p4 20000 '%p'\n", p4);
        printf("Freeing p4\n");
        free(p4);

        printf("mallocing p3 6000\n");
        void *p3 = malloc(6000);
        printf("p3 6000 '%p'\n", p3);
        printf("mallocing p4 20000\n");
        p4 = malloc(20000);
        printf("p4 20000 '%p'\n", p4);

        printf("Freeing p\n");
        free(p);
        printf("Freeing p2\n");
        free(p2);
        printf("Freeing p3\n");
        free(p3);
        printf("Freeing p4\n");
        free(p4);
        printf("Freeing p3\n");
        free(p3);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0xed3(%rip), %rdi       # 0x2044
callq 0x1030
leaq 0xe87(%rip), %rbx       # 0x2004
movl $0x61a8, %edi           # imm = 0x61A8
movq %rbx, %rsi
movl $0x7, %edx
callq 0x1320
movq %rax, %r14
leaq 0xe72(%rip), %rdi       # 0x200b
movq %rax, %rsi
xorl %eax, %eax
callq 0x1040
leaq 0xeac(%rip), %rdi       # 0x2056
callq 0x1030
movl $0x3e8, %edi            # imm = 0x3E8
movq %rbx, %rsi
movl $0xa, %edx
callq 0x1320
movq %rax, %r15
leaq 0xe4e(%rip), %rdi       # 0x2019
movq %rax, %rsi
xorl %eax, %eax
callq 0x1040
leaq 0xe8c(%rip), %rdi       # 0x2068
callq 0x1030
movl $0x4e20, %edi           # imm = 0x4E20
movq %rbx, %rsi
movl $0xd, %edx
callq 0x1320
movq %rax, %r12
leaq 0xe2a(%rip), %rdi       # 0x2027
movq %rax, %rsi
xorl %eax, %eax
callq 0x1040
leaq 0xeb9(%rip), %rdi       # 0x20c7
callq 0x1030
movq %r12, %rdi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x1480
leaq 0xe63(%rip), %rdi       # 0x208d
callq 0x1030
movl $0x1770, %edi           # imm = 0x1770
movq %rbx, %rsi
movl $0x13, %edx
callq 0x1320
movq %rax, %r13
leaq 0xdeb(%rip), %rdi       # 0x2036
movq %rax, %rsi
xorl %eax, %eax
callq 0x1040
leaq 0xe43(%rip), %rdi       # 0x209f
callq 0x1030
movl $0x4e20, %edi           # imm = 0x4E20
movq %rbx, %rsi
movl $0x16, %edx
callq 0x1320
movq %rax, %r12
leaq 0xdaa(%rip), %rdi       # 0x2027
movq %rax, %rsi
xorl %eax, %eax
callq 0x1040
leaq 0xe24(%rip), %rdi       # 0x20b2
callq 0x1030
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1a, %edx
callq 0x1480
leaq 0xe12(%rip), %rdi       # 0x20bc
callq 0x1030
movq %r15, %rdi
movq %rbx, %rsi
movl $0x1c, %edx
callq 0x1480
leaq 0xe0c(%rip), %r14       # 0x20d2
movq %r14, %rdi
callq 0x1030
movq %r13, %rdi
movq %rbx, %rsi
movl $0x1e, %edx
callq 0x1480
leaq 0xde2(%rip), %rdi       # 0x20c7
callq 0x1030
movq %r12, %rdi
movq %rbx, %rsi
movl $0x20, %edx
callq 0x1480
movq %r14, %rdi
callq 0x1030
movq %r13, %rdi
movq %rbx, %rsi
movl $0x22, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1480
// File: /workspace/github_c_makefile_star2_O1/yurrriq[P]knrc/src/words.c
// Function: main
int main()
{
    int c, state;

    state = OUT;
    while ((c = getchar()) != EOF) {
        if (c == ' ' || c == '\n' || c == '\t') {
            if (state == IN)
                putchar('\n');
            state = OUT;
        } else {
            state = IN;
        }

        if (state == IN)
            putchar(c);
    }


    return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
xorl %ebp, %ebp
movabsq $0x100000600, %r14      # imm = 0x100000600
callq 0x1040
movl %eax, %ebx
leal -0x9(%rbx), %eax
cmpl $0x2, %eax
jb 0x117c
cmpl $0x20, %ebx
je 0x117c
movl $0x1, %ebp
cmpl $-0x1, %ebx
jne 0x118d
jmp 0x11a3
cmpl $0x1, %ebp
jne 0x118b
movl $0xa, %edi
callq 0x1030
xorl %ebp, %ebp
cmpl $0x20, %ebx
ja 0x119a
movl %ebx, %eax
btq %rax, %r14
jb 0x115c
movl %ebx, %edi
callq 0x1030
jmp 0x115c
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/kisom[P]kam/stest.c
// Function: main
static void
test_stack8(void)
{
	uint8_t val;
	stack8	st;

	st = new_stack8();
	if (st == NULL) {
		errx(EX_OSERR, "FAILED: malloc failure");
	}

	push8(st, 1);
	push8(st, 2);
	if (2 != (val = pop8(st))) {
		fprintf(stderr,
		    "FAILED: should have received 2 from the stack.\n");
		fprintf(stderr,
		    "        (received %d)\n", val);
		exit(EXIT_FAILURE);
	}

	push8(st, 3);
	if (3 != (val = pop8(st))) {
		fprintf(stderr,
		    "FAILED: should have received 3 from the stack.\n");
		fprintf(stderr,
		    "        (received %d)\n", val);
		exit(EXIT_FAILURE);
	}
	if (1 != (val = pop8(st)))
		errx(EX_SOFTWARE,
		    "FAILED: should have received 1 from the stack.");
	if (!empty8(st))
		errx(EX_SOFTWARE,
		    "FAILED: stack should report empty.");
	push8(st, 5);
	push8(st, 5);
	destroy8(st);
	printf("stack8: OK\n");
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
callq 0x12ac
testq %rax, %rax
je 0x1547
movq %rax, %rbx
movq %rax, %rdi
movl $0x1, %esi
callq 0x12c9
movq %rbx, %rdi
movl $0x2, %esi
callq 0x12c9
movq %rbx, %rdi
callq 0x12f9
cmpb $0x2, %al
jne 0x1571
movq %rbx, %rdi
movl $0x3, %esi
callq 0x12c9
movq %rbx, %rdi
callq 0x12f9
cmpb $0x3, %al
jne 0x1579
movq %rbx, %rdi
callq 0x12f9
cmpb $0x1, %al
jne 0x1555
movq %rbx, %rdi
callq 0x131c
testl %eax, %eax
je 0x155e
movq %rbx, %rdi
movl $0x5, %esi
callq 0x12c9
movq %rbx, %rdi
movl $0x5, %esi
callq 0x12c9
movq %rbx, %rdi
callq 0x1326
leaq 0xc50(%rip), %rdi       # 0x20e4
callq 0x1050
callq 0x134c
testq %rax, %rax
je 0x1547
movq %rax, %rbx
movq %rax, %rdi
movl $0x1, %esi
callq 0x1369
movq %rbx, %rdi
movl $0x2, %esi
callq 0x1369
movq %rbx, %rdi
callq 0x1399
cmpw $0x2, %ax
jne 0x1581
movq %rbx, %rdi
movl $0x3, %esi
callq 0x1369
movq %rbx, %rdi
callq 0x1399
cmpw $0x3, %ax
jne 0x1588
movq %rbx, %rdi
callq 0x1399
cmpw $0x1, %ax
jne 0x1555
movq %rbx, %rdi
callq 0x13bd
testl %eax, %eax
je 0x155e
xorl %ebp, %ebp
movzwl %bp, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1369
incl %ebp
movzwl %bp, %eax
cmpl $0x3e80, %eax           # imm = 0x3E80
jne 0x1511
movq %rbx, %rdi
callq 0x13c7
leaq 0xbb6(%rip), %rdi       # 0x20ef
callq 0x1050
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0xab6(%rip), %rsi       # 0x2004
movl $0x47, %edi
jmp 0x156a
leaq 0xb36(%rip), %rsi       # 0x2092
jmp 0x1565
leaq 0xb5c(%rip), %rsi       # 0x20c1
movl $0x46, %edi
xorl %eax, %eax
callq 0x1060
movzbl %al, %edi
callq 0x10c0
movzbl %al, %edi
callq 0x10ff
movl %eax, %edi
callq 0x113e
movl %eax, %edi
callq 0x117c
// File: /workspace/github_c_makefile_star2_O1/simh[P]simtools/crossassemblers/macro11/dumpobj.c
// Function: dump_bytes
void dump_bytes(
    char *buf,
    int len)
{
    int             i,
                    j;

    for (i = 0; i < len; i += 8) {
        printf("\t%3.3o: ", i);
        for (j = i; j < len && j < i + 8; j++)
            printf("%3.3o ", buf[j] & 0xff);

        printf("%*s", (i + 8 - j) * 4, "");

        for (j = i; j < len && j < i + 8; j++) {
            int             c = buf[j] & 0xff;

            if (!isprint(c))
                c = '.';
            putchar(c);
        }

        putchar('\n');
    }
}

// Assembly:
testl %esi, %esi
jle 0x1567
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl $0x1, %ebp
leaq 0x1cdb(%rip), %r12      # 0x317f
xorl %r15d, %r15d
leaq 0x1cc8(%rip), %rdi      # 0x3176
movl %r15d, %esi
xorl %eax, %eax
callq 0x10c0
addq $0x8, %r15
movl $0x20, %r13d
movq %rbp, (%rsp)
movzbl -0x1(%r14,%rbp), %esi
movq %r12, %rdi
xorl %eax, %eax
callq 0x10c0
addl $-0x4, %r13d
cmpl %ebx, %ebp
jge 0x14ea
leaq 0x1(%rbp), %rax
cmpq %r15, %rbp
movq %rax, %rbp
jb 0x14c6
leaq 0x1c95(%rip), %rdi      # 0x3186
movl %r13d, %esi
leaq 0x1bef(%rip), %rdx      # 0x30ea
xorl %eax, %eax
callq 0x10c0
callq 0x11a0
movq %rax, %r13
movq (%rsp), %rbp
movzbl -0x1(%r14,%rbp), %eax
movq (%r13), %rcx
movzwl (%rcx,%rax,2), %ecx
btl $0xe, %ecx
movl $0x2e, %edi
jae 0x1529
movl %eax, %edi
callq 0x1050
cmpl %ebx, %ebp
jge 0x153e
leaq 0x1(%rbp), %rax
cmpq %r15, %rbp
movq %rax, %rbp
jb 0x150e
movl $0xa, %edi
callq 0x1050
movq (%rsp), %rbp
addq $0x8, %rbp
cmpl %ebx, %r15d
jl 0x14a7
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/simh[P]simtools/crossassemblers/macro11/dumpobj.c
// Function: dump_words
void dump_words(
    unsigned addr,
    char *buf,
    int len)
{
    int             i,
                    j;

    for (i = 0; i < len; i += 8) {
        printf("\t%6.6o: ", addr);

        for (j = i; j < len && j < i + 8; j += 2)
            if (len - j >= 2) {
                unsigned        word = WORD(buf + j);

                printf("%6.6o ", word);
            } else
                printf("%3.3o    ", buf[j] & 0xff);

        printf("%*s", (i + 8 - j) * 7 / 2, "");

        for (j = i; j < len && j < i + 8; j++) {
            int             c = buf[j] & 0xff;

            if (!isprint(c))
                c = '.';
            putchar(c);
        }

        putchar('\n');
        addr += 8;
    }
}

// Assembly:
testl %edx, %edx
jle 0x1696
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movl %edi, %eax
movl %edx, %ecx
decq %rcx
movq %rcx, 0x10(%rsp)
movl $0x2, %ebp
movl $0x1, %ecx
movq %rcx, 0x8(%rsp)
xorl %r13d, %r13d
movq %r13, %r12
leaq 0x1bdf(%rip), %rdi      # 0x318a
movl %eax, 0x4(%rsp)
movl %eax, %esi
xorl %eax, %eax
callq 0x10c0
addq $0x8, %r13
movl $0x38, %r15d
movl %ebp, (%rsp)
movzbl (%r14,%r12), %esi
cmpq 0x10(%rsp), %r12
jge 0x15e7
movzbl 0x1(%r14,%r12), %eax
shll $0x8, %eax
orl %esi, %eax
leaq 0x1bb0(%rip), %rdi      # 0x3193
movl %eax, %esi
jmp 0x15ee
leaq 0x1bac(%rip), %rdi      # 0x319a
xorl %eax, %eax
callq 0x10c0
addl $-0xe, %r15d
cmpl %ebx, %ebp
jge 0x1609
addq $0x2, %r12
addl $0x2, %ebp
cmpq %r13, %r12
jb 0x15c5
sarl %r15d
leaq 0x1b73(%rip), %rdi      # 0x3186
movl %r15d, %esi
leaq 0x1acd(%rip), %rdx      # 0x30ea
xorl %eax, %eax
callq 0x10c0
callq 0x11a0
movq %rax, %r15
movq 0x8(%rsp), %r12
movl (%rsp), %ebp
movzbl -0x1(%r14,%r12), %eax
movq (%r15), %rcx
movzwl (%rcx,%rax,2), %ecx
btl $0xe, %ecx
movl $0x2e, %edi
jae 0x164e
movl %eax, %edi
callq 0x1050
cmpl %ebx, %r12d
jge 0x1665
leaq 0x1(%r12), %rax
cmpq %r13, %r12
movq %rax, %r12
jb 0x1634
movl $0xa, %edi
callq 0x1050
movl 0x4(%rsp), %eax
addl $0x8, %eax
addl $0x8, %ebp
addq $0x8, 0x8(%rsp)
cmpl %ebx, %r13d
jl 0x15a1
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/simh[P]simtools/crossassemblers/macro11/dumpobj.c
// Function: add_gsdline
void add_gsdline(
    char *line)
{
    if (nr_gsds >= gsdsize || all_gsds == NULL) {
        gsdsize += 128;
        all_gsds = realloc(all_gsds, gsdsize * sizeof(char *));
        if (all_gsds == NULL) {
            fprintf(stderr, "Out of memory\n");
            exit(EXIT_FAILURE);
        }
    }

    all_gsds[nr_gsds++] = line;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movslq 0x395f(%rip), %rax      # 0x5164
cmpl %eax, 0x3955(%rip)      # 0x5160
setge %cl
movq 0x3943(%rip), %rdi      # 0x5158
testq %rdi, %rdi
sete %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x1848
leaq 0x80(%rax), %rcx
movl %ecx, 0x3935(%rip)      # 0x5164
leaq 0x400(,%rax,8), %rsi
callq 0x1140
movq %rax, 0x3915(%rip)      # 0x5158
testq %rax, %rax
je 0x1865
movq 0x3909(%rip), %rax      # 0x5158
movslq 0x390a(%rip), %rcx      # 0x5160
leal 0x1(%rcx), %edx
movl %edx, 0x3901(%rip)      # 0x5160
movq %rbx, (%rax,%rcx,8)
popq %rbx
retq
callq 0x123e
// File: /workspace/github_c_makefile_star2_O1/simh[P]simtools/crossassemblers/macro11/dumpobj.c
// Function: got_endgsd
void got_endgsd(
    char *cp,
    int len)
{
    int             i;

    (void)cp;
    (void)len;

    if (nr_gsds == 0) {
        return;
    }

    qsort(all_gsds, nr_gsds, sizeof(char *), compare_gsdlines);

    printf("GSD:\n");

    for (i = 0; i < nr_gsds; i++) {
        fputs(all_gsds[i], stdout);
        free(all_gsds[i]);
    }

    printf("ENDGSD\n");

    free(all_gsds);
    all_gsds = NULL;
    nr_gsds = 0;
    gsdsize = 0;
}

// Assembly:
movslq 0x35bc(%rip), %rsi      # 0x5160
testq %rsi, %rsi
je 0x1c51
pushq %r14
pushq %rbx
pushq %rax
movq 0x35a0(%rip), %rdi      # 0x5158
leaq -0x2d(%rip), %rcx       # 0x1b92
movl $0x8, %edx
callq 0x1070
leaq 0x19fc(%rip), %rdi      # 0x35cc
callq 0x1060
cmpl $0x0, 0x3584(%rip)      # 0x5160
jle 0x1c19
xorl %ebx, %ebx
movq 0x33f1(%rip), %r14      # 0x4fd8
movq 0x356a(%rip), %rax      # 0x5158
movq (%rax,%rbx,8), %rdi
movq (%r14), %rsi
callq 0x10e0
movq 0x3557(%rip), %rax      # 0x5158
movq (%rax,%rbx,8), %rdi
callq 0x1040
incq %rbx
movslq 0x354c(%rip), %rax      # 0x5160
cmpq %rax, %rbx
jl 0x1be7
leaq 0x19b1(%rip), %rdi      # 0x35d1
callq 0x1060
movq 0x352c(%rip), %rdi      # 0x5158
callq 0x1040
movq $0x0, 0x351c(%rip) # 0x5158
xorl %eax, %eax
movl %eax, 0x351c(%rip)      # 0x5160
movl %eax, 0x351a(%rip)      # 0x5164
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/simh[P]simtools/crossassemblers/macro11/dumpobj.c
// Function: got_text
void got_text(
    char *cp,
    int len)
{
    unsigned        addr = WORD(cp + 2);

    last_text_addr = addr;

    printf("TEXT ADDR=%o LEN=%o\n", last_text_addr, len - 4);

    dump_words(last_text_addr, cp + 4, len - 4);

    if (bin)
        dump_bin(last_text_addr, cp + 4, len - 4);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movzwl 0x2(%rdi), %esi
movl %esi, 0x3d0b(%rip)      # 0x5970
addl $-0x4, %ebx
leaq 0x16a3(%rip), %rdi      # 0x3312
movl %ebx, %edx
xorl %eax, %eax
callq 0x10c0
movl 0x3cf2(%rip), %edi      # 0x5970
addq $0x4, %r14
movq %r14, %rsi
movl %ebx, %edx
callq 0x1568
cmpq $0x0, 0x34b4(%rip)      # 0x5148
je 0x1cad
movl 0x3cd4(%rip), %edi      # 0x5970
movq %r14, %rsi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1697
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/simh[P]simtools/crossassemblers/macro11/dumpobj.c
// Function: rad50name
void rad50name(
    char *cp,
    char *name)
{
    unrad50(WORD(cp), name);
    unrad50(WORD(cp + 2), name + 3);
    name[6] = 0;
    trim(name);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movzwl (%rdi), %edi
callq 0x2454
movzwl 0x2(%r14), %edi
leaq 0x3(%rbx), %rsi
callq 0x2454
movb $0x0, 0x6(%rbx)
movq %rbx, %rdi
callq 0x10a0
addq %rbx, %rax
movq %rax, %rcx
cmpq %rbx, %rax
jbe 0x1cf6
leaq -0x1(%rcx), %rax
cmpb $0x20, -0x1(%rcx)
je 0x1ce4
movb $0x0, (%rcx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/canboat[P]canboat/ikonvert-serial/../common/b64.c
// Function: sbAppendDecodeBase64
void sbAppendDecodeBase64(StringBuffer *sb, const char *data, size_t len, enum Base64Encoding encoding)
{
  const uint8_t *s    = (const uint8_t *) data;
  const uint8_t *end  = s + len;
  uint8_t       *d    = 0;
  uint32_t       n    = 0;
  int            iter = 0;
  const int     *decodeTable;

  switch (encoding)
  {
    case BASE64_AIS:
      decodeTable = AISDecodeTable;
      break;
    case BASE64_RFC:
    default:
      decodeTable = B64DecodeTable;
      break;
  }

  sbEnsureCapacity(sb, len * 3 / 4 + 8 + sbGetLength(sb));
  d = (uint8_t *) sbGet(sb) + sbGetLength(sb);

  while (s < end)
  {
    int c = decodeTable[*s++];

    switch (c)
    {
      case -2: // Whitespace
        continue;
      case -1: // Invalid
        break;
      case 64: // = pad character, end of data
        s = end;
        continue; // instead of double break
      default:
        n = n << 6 | c; // Add 6 more bits to n

        iter++;
        if (iter == 4) // Every 4 characters we have 24 bits of output data
        {
          *d++ = (uint8_t) (n >> 16);
          *d++ = (uint8_t) (n >> 8);
          *d++ = (uint8_t) (n);
          n    = 0;
          iter = 0;
        }
    }
  }

  // Handle any remainder
  if (iter == 3)
  {
    *d++ = (uint8_t) (n >> 10);
    *d++ = (uint8_t) (n >> 2);
  }
  else if (iter == 2)
  {
    *d++ = (uint8_t) (n >> 4);
  }

  sb->len = d - (uint8_t *) sbGet(sb);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpl $0x1, %ecx
leaq 0x23f0(%rip), %rax      # 0x8350
leaq 0x27e9(%rip), %r12      # 0x8750
cmoveq %rax, %r12
leaq (%rdx,%rdx,2), %rax
shrq $0x2, %rax
movq 0x8(%rdi), %rcx
leaq (%rax,%rcx), %rsi
addq $0x8, %rsi
callq 0x3d5f
movq (%rbx), %rax
testq %rax, %rax
leaq 0x17bc(%rip), %rdi      # 0x774d
cmoveq %rdi, %rax
addq 0x8(%rbx), %rax
testq %r14, %r14
jle 0x5ff0
addq %r15, %r14
xorl %ecx, %ecx
xorl %esi, %esi
movzbl (%r15), %edx
incq %r15
movl (%r12,%rdx,4), %edx
leal 0x2(%rdx), %r8d
cmpl $0x2, %r8d
jb 0x5fe9
cmpl $0x40, %edx
jne 0x5fc4
movq %r14, %r15
jmp 0x5fe9
shll $0x6, %esi
orl %esi, %edx
incl %ecx
cmpl $0x4, %ecx
je 0x5fd4
movl %edx, %esi
jmp 0x5fe9
movl %edx, %ecx
shrl $0x10, %ecx
movb %cl, (%rax)
movb %dh, 0x1(%rax)
movb %dl, 0x2(%rax)
addq $0x3, %rax
xorl %esi, %esi
xorl %ecx, %ecx
cmpq %r14, %r15
jb 0x5fa5
jmp 0x5ff4
xorl %esi, %esi
xorl %ecx, %ecx
cmpl $0x2, %ecx
je 0x6015
cmpl $0x3, %ecx
jne 0x602a
movl %esi, %ecx
shrl $0xa, %ecx
leaq 0x1(%rax), %r8
movb %cl, (%rax)
movl $0x2, %edx
movl $0x2, %ecx
jmp 0x6022
movl $0x1, %edx
movl $0x4, %ecx
movq %rax, %r8
shrl %cl, %esi
addq %rdx, %rax
movb %sil, (%r8)
movq (%rbx), %rcx
testq %rcx, %rcx
cmovneq %rcx, %rdi
subq %rdi, %rax
movq %rax, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/error.c
// Function: print_error
static void
print_error(size_t lineno, char const* label, char const* color,
                                char const* format, va_list args) {
    // Color Output
    int tty = isatty(STDERR_FILENO);
    if (tty)
        { fprintf(stderr, "%s", color); }
    fprintf(stderr, "(%s", label);
    if (lineno)
        { fprintf(stderr, ":%zu", lineno); }
    fprintf(stderr, ") ");
    vfprintf(stderr, format, args);
    fprintf(stderr, "\n");
    if (tty)
        { fprintf(stderr, NO_COLOR); }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, -0x30(%rbp)
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r12
pushq $0x2
popq %rdi
callq 0x2070
movl %eax, %r14d
testl %eax, %eax
je 0x221f
movq 0xcddc(%rip), %rax      # 0xeff0
movq (%rax), %rsi
movq %rbx, %rdi
callq 0x20c0
movq 0xcdca(%rip), %rbx      # 0xeff0
movq (%rbx), %rdi
leaq 0x7d81(%rip), %rsi      # 0x9fb1
movq %r13, %rdx
xorl %eax, %eax
callq 0x2130
testq %r12, %r12
je 0x2253
movq (%rbx), %rdi
leaq 0x7d6c(%rip), %rsi      # 0x9fb5
movq %r12, %rdx
xorl %eax, %eax
callq 0x2130
movq (%rbx), %rcx
leaq 0x7d5d(%rip), %rdi      # 0x9fba
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
callq 0x21a0
movq (%rbx), %rdi
movq %r15, %rsi
movq -0x30(%rbp), %rdx
callq 0x2190
movq (%rbx), %rsi
pushq $0xa
popq %rdi
callq 0x2100
testl %r14d, %r14d
jne 0x2296
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rcx
leaq 0x7d1d(%rip), %rdi      # 0x9fbd
pushq $0x4
popq %rsi
pushq $0x1
popq %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x21a0
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: new_bitset
bitset_t*
new_bitset(void) {
    bitset_t* bs    = NEW(bitset_t, 1);
    if (!bs)
        { return (NULL); }
    memset(bs, 0, sizeof(bitset_t));
    bs->nwords = _DEFWORDS;
    bs->nbits = _DEFBITS;
    bs->map  = bs->defmap;
    return (bs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl $0x58, %edi
callq 0x3b0a
testq %rax, %rax
je 0x2486
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movq $0x0, 0x50(%rax)
movq %rax, %rcx
addq $0x10, %rcx
movw $0x8, (%rax)
movl $0x200, 0x4(%rax)       # imm = 0x200
movq %rcx, 0x8(%rax)
jmp 0x2488
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: dup_bitset
bitset_t*
dup_bitset(bitset_t const* bs) {
    if (!bs)
        { return (NULL); }
    bitset_t* nbs       = new_bitset();
    memcpy(nbs, bs, sizeof(bitset_t));
    if (bs->map == bs->defmap)
        { nbs->map = nbs->defmap; }
    else {
        size_t bs_size = nbs->nwords * sizeof(_SETTYPE);
        if (!(nbs->map = NEW(_SETTYPE, bs_size)))
            { return (NULL); }
        memcpy(nbs->map, bs->map, bs_size);
    }
    return (nbs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x2552
movq %rdi, %r14
movl $0x58, %edi
callq 0x3b0a
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movq $0x0, 0x50(%rax)
addq $0x10, %rax
movw $0x8, (%rbx)
movl $0x200, 0x4(%rbx)       # imm = 0x200
movq %rax, 0x8(%rbx)
movl $0xb, %ecx
movq %rbx, %rdi
movq %r14, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x10(%r14), %rcx
cmpq %rcx, 0x8(%r14)
je 0x2556
movzwl (%rbx), %r15d
movl %r15d, %edi
shll $0x6, %edi
callq 0x3b0a
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x2552
shll $0x3, %r15d
movq 0x8(%r14), %rsi
movq %rax, %rdi
movq %r15, %rdx
callq 0x2140
jmp 0x255a
xorl %ebx, %ebx
jmp 0x255a
movq %rax, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: add_bitset
_SETTYPE
_add_bitset(bitset_t* bs, size_t n) {
    if (!bs || n < bs->nbits)
        { return (0); }
    if (adjust_bitset(bs, _ROUND(n)))
        { return (-1); }
    return (ADD_BITSET(bs, n));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %ebx, %ebx
movq %rsi, %r12
shrq $0x6, %r12
testq %r15, %r15
je 0x25ca
movl 0x4(%r15), %eax
cmpq %r14, %rax
ja 0x25ca
movl %r14d, %esi
shrl $0x5, %esi
andl $0xfff0, %esi           # imm = 0xFFF0
movq %r15, %rdi
callq 0x25d6
testl %eax, %eax
jne 0x25c3
movl 0x4(%r15), %eax
cmpq %r14, %rax
jbe 0x2582
movq 0x8(%r15), %rax
movq (%rax,%r12,8), %rbx
btsq %r14, %rbx
movq %rbx, (%rax,%r12,8)
jmp 0x25ca
movq $-0x1, %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: adjust_bitset
static int
adjust_bitset(bitset_t* bs, unsigned short new_size) {
    if (!bs || new_size <= bs->nwords)
        { return (DONE); }
    int oldsize = _BYTE_SETTYPE(bs->nwords);

    bs->nwords = new_size;
    bs->nbits = new_size * _BITS_IN_WORD;

    if (bs->invert)
        { bs->siter = bs->nbits - 1; }

    _SETTYPE* chunk = NEW(_SETTYPE, _BYTE_SETTYPE(new_size));
    memset(chunk, 0, _BYTE_SETTYPE(new_size));

    if (!chunk)
        { return (ERROR); }
    if (bs->map == bs->defmap) {
        bs->map = chunk;
        memcpy(bs->map, bs->defmap, oldsize);
    }
    else {
        memcpy(chunk, bs->map, oldsize);
        FREE(bs->map);
        bs->map = chunk;
    }
    return (DONE);
}

// Assembly:
xorl %eax, %eax
testq %rdi, %rdi
je 0x2689
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movzwl (%rdi), %r14d
cmpw %si, %r14w
jae 0x2681
movw %si, (%rbx)
movzwl %si, %edi
movl %edi, %eax
shll $0x6, %eax
movl %eax, 0x4(%rbx)
cmpb $0x1, 0x54(%rbx)
jne 0x2616
decl %eax
movl %eax, 0x50(%rbx)
leal (,%rdi,8), %r12d
shll $0x6, %edi
callq 0x3b0a
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x20d0
testq %r15, %r15
je 0x2666
shll $0x3, %r14d
movq 0x8(%rbx), %rsi
leaq 0x10(%rbx), %rax
cmpq %rax, %rsi
je 0x266d
movl %r14d, %edx
movq %r15, %rdi
callq 0x2140
movq 0x8(%rbx), %rdi
callq 0x21d0
movq %r15, 0x8(%rbx)
jmp 0x267f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x2681
movq %r15, 0x8(%rbx)
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x2140
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: is_empty_bitset
bool
is_empty_bitset(bitset_t const* bs) {
    if (!bs)
        { return (true); }
    for (size_t i = 0; i < bs->nwords; ++i) {
        if (bs->map[i])
            { return (false); }
    }
    return (true);
}

// Assembly:
testq %rdi, %rdi
je 0x2723
movzwl (%rdi), %ecx
testq %rcx, %rcx
sete %al
je 0x2725
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rdi), %rdx
cmpq $0x0, (%rdx)
jne 0x2721
movl $0x1, %esi
movq %rsi, %rax
cmpq %rsi, %rcx
je 0x271b
leaq 0x1(%rax), %rsi
cmpq $0x0, (%rdx,%rax,8)
je 0x2708
cmpq %rcx, %rax
setae %al
popq %rbp
retq
movb $0x1, %al
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: eq_bitset
bool
eq_bitset(bitset_t const* b1, bitset_t const* b2) {
    if (!b1 || !b2)
        { return (!b1 && !b2); }
    for (size_t i = 0; (i < b1->nwords) && (i < b2->nwords); ++i) {
        if (b1->map[i] != b2->map[i])
            { return (false); }
    }
    if (b1->nwords != b2->nwords) {
        bitset_t const* max_bset = ((b1->nwords > b2->nwords) ? b1 : b2);
        int leading = MAX(b1->nwords, b2->nwords);
        for (size_t i = leading; i < max_bset->nwords; ++i) {
            if (max_bset->map[i] != 0)
                { return (false); }
        }
    }
    return (true);
}

// Assembly:
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x27be
pushq %rbp
movq %rsp, %rbp
movzwl (%rdi), %eax
testq %rax, %rax
je 0x276a
movzwl (%rsi), %ecx
xorl %edx, %edx
cmpq %rdx, %rcx
je 0x276a
movq 0x8(%rdi), %r8
movq (%r8,%rdx,8), %r8
movq 0x8(%rsi), %r9
cmpq (%r9,%rdx,8), %r8
jne 0x27ba
incq %rdx
cmpq %rdx, %rax
jne 0x274b
movzwl (%rsi), %ecx
cmpw %cx, %ax
je 0x27c5
cmpw %cx, %ax
cmovaq %rdi, %rsi
cmovbel %ecx, %eax
movzwl (%rsi), %ecx
cmpw %cx, %ax
setb %dil
jae 0x27c5
movzwl %ax, %eax
movq 0x8(%rsi), %rdx
cmpq $0x0, (%rdx,%rax,8)
jne 0x27b5
leaq -0x1(%rcx), %rsi
cmpq %rax, %rsi
je 0x27c5
leaq 0x1(%rax), %rdi
cmpq $0x0, 0x8(%rdx,%rax,8)
movq %rdi, %rax
je 0x279a
cmpq %rcx, %rdi
setb %dil
testb %dil, %dil
je 0x27c5
xorl %eax, %eax
jmp 0x27c7
orq %rsi, %rdi
sete %al
retq
movb $0x1, %al
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: op_bitset
bitset_t*
_op_bitset(int kind, bitset_t* rbs, bitset_t* lbs) {
    if (!rbs || (kind != _COMPL && !lbs))
        { return (NULL); }
    if (kind != _COMPL && (adjust_bitset(rbs, lbs->nwords)
            || adjust_bitset(lbs, rbs->nwords)))
        { return (NULL); }
    for (size_t i = 0; i < rbs->nwords; ++i) {
        switch (kind) {
            case _UNION:
                    rbs->map[i] |= lbs->map[i];
                    break;
            case _INTERSECT:
                    rbs->map[i] &= lbs->map[i];
                    break;
            case _DIFF:
                    rbs->map[i] = (rbs->map[i] ^ (rbs->map[i] & lbs->map[i]));
                    break;
            case _COMPL:
                    rbs->map[i] = ~rbs->map[i];
                    break;
        }
    }
    return (rbs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x2894
movq %rdx, %r14
movl %edi, %r15d
cmpl $0x3, %edi
setne %al
testq %rdx, %rdx
sete %cl
testb %cl, %al
jne 0x2894
movq %rsi, %rbx
cmpl $0x3, %r15d
jne 0x2871
movzwl (%rbx), %eax
testq %rax, %rax
je 0x2896
xorl %ecx, %ecx
movl %r15d, %edx
leaq 0x67f9(%rip), %rsi      # 0x9010
cmpl $0x3, %r15d
ja 0x2867
movslq (%rsi,%rdx,4), %rdi
addq %rsi, %rdi
jmpq *%rdi
movq 0x8(%r14), %rdi
movq (%rdi,%rcx,8), %rdi
movq 0x8(%rbx), %r8
orq %rdi, (%r8,%rcx,8)
jmp 0x2867
movq 0x8(%rbx), %rdi
movq 0x8(%r14), %r8
movq (%r8,%rcx,8), %r8
notq %r8
andq %r8, (%rdi,%rcx,8)
jmp 0x2867
movq 0x8(%rbx), %rdi
notq (%rdi,%rcx,8)
jmp 0x2867
movq 0x8(%r14), %rdi
movq (%rdi,%rcx,8), %rdi
movq 0x8(%rbx), %r8
andq %rdi, (%r8,%rcx,8)
incq %rcx
cmpq %rcx, %rax
jne 0x2817
jmp 0x2896
movzwl (%r14), %esi
movq %rbx, %rdi
callq 0x25d6
testl %eax, %eax
jne 0x2894
movzwl (%rbx), %esi
movq %r14, %rdi
callq 0x25d6
testl %eax, %eax
je 0x27ff
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: truncate_bitset
void
truncate_bitset(bitset_t* bs) {
    if (!bs)
        { return; }
    if (bs->map != bs->defmap) {
        FREE(bs->map);
        bs->map = bs->defmap;
        bs->nwords = _DEFWORDS;
        bs->nbits = _DEFBITS;
    }
    CLEAR_BITSET(bs);
}

// Assembly:
testq %rdi, %rdi
je 0x28ea
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
leaq 0x10(%rbx), %r14
cmpq %r14, %rdi
je 0x28d5
callq 0x21d0
movq %r14, 0x8(%rbx)
movw $0x8, (%rbx)
movl $0x200, 0x4(%rbx)       # imm = 0x200
movq 0x8(%rbx), %rdi
movzwl (%rbx), %edx
shll $0x3, %edx
xorl %esi, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x20d0
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: next_bitset
int
_next_bitset(bitset_t* bs) {
    if (!bs)
        { return (IT_NULL); }
    if (bs->invert) {
        while (bs->siter >= 0) {
            int next_val = (bs->siter)--;
            if (OP_BITSET(bs, next_val, &))
                { return (next_val); }
        }
    }
    else {
        while (bs->siter < (int)bs->nbits) {
            int next_val = (bs->siter)++;
            if (OP_BITSET(bs, next_val, &))
                { return (next_val); }
        }
    }
    return (IT_NULL);
}

// Assembly:
testq %rdi, %rdi
je 0x2923
pushq %rbp
movq %rsp, %rbp
cmpb $0x0, 0x54(%rdi)
je 0x2929
movl 0x50(%rdi), %ecx
testl %ecx, %ecx
js 0x295d
leal -0x1(%rcx), %edx
movl %edx, 0x50(%rdi)
movq 0x8(%rdi), %rsi
movl %ecx, %r8d
shrl $0x6, %r8d
movq (%rsi,%r8,8), %rsi
btq %rcx, %rsi
cmovbl %ecx, %eax
movl %edx, %ecx
jae 0x28fd
jmp 0x2962
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
movl 0x4(%rdi), %ecx
movl 0x50(%rdi), %edx
cmpl %ecx, %edx
cmovgl %edx, %ecx
cmpl %edx, %ecx
je 0x295d
leal 0x1(%rdx), %esi
movl %esi, 0x50(%rdi)
movq 0x8(%rdi), %r8
movl %edx, %r9d
sarl $0x6, %r9d
movslq %r9d, %r9
movq (%r8,%r9,8), %r8
btq %rdx, %r8
cmovbl %edx, %eax
movl %esi, %edx
jae 0x2934
jmp 0x2962
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: hash_bitset
_SETTYPE
hash_bitset(bitset_t const* bs) {
    if (!bs)
        { return (0); }
    _SETTYPE count = 0;
    //Don't matter if overflow occurs
    for (size_t i = 0; i < bs->nwords; ++i)
        { count += bs->map[i]; }
    return (count);
}

// Assembly:
testq %rdi, %rdi
je 0x298b
movzwl (%rdi), %ecx
testq %rcx, %rcx
je 0x298b
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rdi), %rdx
xorl %esi, %esi
xorl %eax, %eax
addq (%rdx,%rsi,8), %rax
incq %rsi
cmpq %rsi, %rcx
jne 0x297d
popq %rbp
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: is_subset_bitset
bool
is_subset_bitset(bitset_t const* bset1, bitset_t const* bset2) {
    if (!bset1 || !bset2)
        { return (!bset2); }
    //The Empty set is the subset of every all set even the empty set
    unsigned short min = MIN(bset1->nwords, bset2->nwords);
    for (size_t i = 0; i < min; ++i) {
        if ((~bset1->map[i]) & bset2->map[i])
            { return (false); }
    }
    if (bset2->nwords > bset1->nwords) {
        for (size_t i = bset1->nwords; i < bset2->nwords; ++i) {
            if (bset2->map[i])
                { return (false); }
        }
    }
    return (true);
}

// Assembly:
testq %rdi, %rdi
setne %al
testq %rsi, %rsi
setne %cl
testb %cl, %al
je 0x29fa
pushq %rbp
movq %rsp, %rbp
movzwl (%rdi), %ecx
movzwl (%rsi), %edx
cmpw %dx, %cx
movl %edx, %eax
cmovbl %ecx, %eax
testl %eax, %eax
je 0x29d4
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %r8
xorl %r9d, %r9d
movq (%rdi,%r9,8), %r10
notq %r10
testq %r10, (%r8,%r9,8)
jne 0x2a01
incq %r9
cmpq %r9, %rax
jne 0x29bf
movb $0x1, %al
cmpw %dx, %cx
jae 0x2a03
movq 0x8(%rsi), %rsi
decq %rdx
cmpq $0x0, (%rsi,%rcx,8)
sete %al
jne 0x2a03
leaq 0x1(%rcx), %rdi
cmpq %rcx, %rdx
movq %rdi, %rcx
jne 0x29e2
jmp 0x2a03
testq %rsi, %rsi
sete %al
retq
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: is_disjoint_bitset
bool
is_disjoint_bitset(bitset_t const* bset1, bitset_t const* bset2) {
    if (!bset1 || !bset2)
        { return (!(!bset1 && !bset2)); }
    unsigned short max = MAX(bset1->nwords, bset2->nwords);
    for (size_t i = 0; i < max; ++i) {
        if (bset1->map[i] & bset2->map[i])
            { return (false); }
    }
    return (true);
}

// Assembly:
testq %rdi, %rdi
setne %al
testq %rsi, %rsi
setne %cl
testb %cl, %al
je 0x2a4e
movl (%rdi), %eax
movl (%rsi), %ecx
cmpw %cx, %ax
cmoval %eax, %ecx
testw %cx, %cx
sete %al
je 0x2a54
pushq %rbp
movq %rsp, %rbp
movzwl %cx, %eax
movq 0x8(%rdi), %rcx
movq 0x8(%rsi), %rdx
xorl %esi, %esi
movq (%rdx,%rsi,8), %rdi
testq %rdi, (%rcx,%rsi,8)
jne 0x2a55
incq %rsi
cmpq %rsi, %rax
jne 0x2a38
movb $0x1, %al
jmp 0x2a57
orq %rsi, %rdi
setne %al
retq
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/bitset.c
// Function: print_bitset
void
print_bitset(bitset_t* bs) {
    printf("{");
    if (bs) {
        unsigned int iter_back = bs->siter;
        int i;
        while ((i = IT_NEXT(bs)) != IT_NULL)
            { printf("%d,", i); }
        bs->siter = iter_back;
    }
    printf("}\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x7b, %edi
callq 0x2040
testq %rbx, %rbx
je 0x2ae6
movl 0x50(%rbx), %r15d
movq %rbx, %rdi
callq 0x28eb
cmpl $-0x1, %eax
je 0x2ae2
leaq 0x6657(%rip), %r14      # 0x9120
movq %r14, %rdi
movl %eax, %esi
xorl %eax, %eax
callq 0x20a0
movq %rbx, %rdi
callq 0x28eb
cmpl $-0x1, %eax
jne 0x2ac9
movl %r15d, 0x50(%rbx)
leaq 0x78da(%rip), %rdi      # 0xa3c7
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2060
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: make_len_vector
static vector_t*
make_len_vector(size_t len) {
    vector_t* vect = NEW(vector_t, 1);
    if (!vect)
        { return (NULL_VECT); }
    memset(vect, 0, sizeof(vector_t));
    vect->body = NEW(void*, len);
    if (!vect->body) {
        FREE(vect);
        return (NULL_VECT);
    }
    vect->alloc = len;
    return (vect);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x18, %edi
callq 0x3b0a
testq %rax, %rax
je 0x2b55
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
leaq (,%r14,8), %rdi
callq 0x3b0a
movq %rax, (%rbx)
testq %rax, %rax
je 0x2b4d
movq %r14, 0x8(%rbx)
jmp 0x2b57
movq %rbx, %rdi
callq 0x21d0
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: dup_vector
vector_t*
dup_vector(vector_t const* vect) {
    if (!vect)
        { return (NULL_VECT); }
    vector_t* new_vect = make_len_vector(vect->alloc);
    if (!new_vect)
        { return (NULL_VECT); }
    memcpy(new_vect->body, vect->body, sizeof(void*) * vect->alloc);
    return (new_vect);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x2b94
movq %rdi, %r14
movq 0x8(%rdi), %rdi
callq 0x2b08
testq %rax, %rax
je 0x2b94
movq %rax, %rbx
movq (%rax), %rdi
movq (%r14), %rsi
movq 0x8(%r14), %rdx
shlq $0x3, %rdx
callq 0x2140
jmp 0x2b96
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: insert_vector
void
insert_vector(vector_t* vect, size_t offset, void* obj) {
    if (!vect)
        { return; }
    extend_vector(vect);
    if (offset >= vect->index)
        { vect->body[vect->index] = obj; }
    else {
        memmove(vect->body + offset + 1, vect->body + offset,
                sizeof(void*) * (vect->index - offset));
        vect->body[offset] = obj;
    }
    ++vect->index;
}

// Assembly:
testq %rdi, %rdi
je 0x2c7c
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x10(%rdi), %rdi
cmpq 0x8(%r14), %rdi
jb 0x2c3c
callq 0x3a7c
movq %rax, %r12
movq (%r14), %rdi
leaq (,%rax,8), %rsi
callq 0x3ddb
testq %rax, %rax
je 0x2c3c
movq %rax, (%r14)
movq %r12, 0x8(%r14)
movq (%r14), %rax
movq 0x10(%r14), %rcx
movq %rcx, %rdx
subq %r15, %rdx
jbe 0x2c69
leaq (%rax,%r15,8), %rsi
leaq (%rax,%r15,8), %rdi
addq $0x8, %rdi
shlq $0x3, %r15
shlq $0x3, %rdx
callq 0x2170
addq (%r14), %r15
jmp 0x2c6d
leaq (%rax,%rcx,8), %r15
movq %rbx, (%r15)
incq 0x10(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: erase_vector
void
erase_vector(vector_t* vect, size_t offset) {
    if (!vect || offset >= vect->index)
        { return; }
    if (offset + 1 != vect->index) {
        memmove(vect->body + offset, vect->body + offset + 1,
                sizeof(void*) * (vect->index - offset - 1));
    }
    --vect->index;
}

// Assembly:
testq %rdi, %rdi
je 0x2cc8
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rdx
cmpq %rsi, %rdx
jbe 0x2cc2
leaq 0x1(%rsi), %rax
cmpq %rdx, %rax
je 0x2cbe
movq (%rbx), %rax
leaq (%rax,%rsi,8), %rdi
leaq (%rax,%rsi,8), %rax
addq $0x8, %rax
notq %rsi
addq %rsi, %rdx
shlq $0x3, %rdx
movq %rax, %rsi
callq 0x2170
decq 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: reverse_vector
void reverse_vector(vector_t* vect) {
    if (!vect)
        { return; }
    size_t middle = vect->index / 2;
    for (size_t i = 0; i < middle; ++i) {
        void* swap_data = vect->body[i];
        vect->body[i] = vect->body[vect->index - i - 1];
        vect->body[vect->index - i - 1] = swap_data;
    }
}

// Assembly:
testq %rdi, %rdi
je 0x2d09
movq 0x10(%rdi), %rax
cmpq $0x2, %rax
jb 0x2d09
pushq %rbp
movq %rsp, %rbp
movq %rax, %rcx
shrq %rcx
decq %rax
xorl %edx, %edx
movq (%rdi), %rsi
movq (%rsi,%rdx,8), %r8
movq (%rsi,%rax,8), %r9
movq %r9, (%rsi,%rdx,8)
movq (%rdi), %rsi
movq %r8, (%rsi,%rax,8)
incq %rdx
decq %rax
cmpq %rdx, %rcx
jne 0x2ce7
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: get_index_vector
int get_index_vector(vector_t* vect, void const* obj, int (*pred)()) {
    if (!vect)
        { return (-1); }
    for (size_t i = 0; i < SIZE_VECTOR(vect); ++i) {
        if (pred && !(*pred)(AT_VECTOR(vect, i), obj))
            { return (i); }
        if (!pred && (obj == AT_VECTOR(vect, i)))
            { return (i); }
    }
    return (-1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rdi, %rdi
je 0x2d64
movq %rdi, %r12
cmpq $0x0, 0x10(%rdi)
je 0x2d64
movq %rdx, %r14
movq %rsi, %r15
xorl %r13d, %r13d
movq (%r12), %rax
movq (%rax,%r13,8), %rdi
testq %r14, %r14
je 0x2d50
movq %r15, %rsi
xorl %eax, %eax
callq *%r14
testl %eax, %eax
jne 0x2d55
jmp 0x2d61
cmpq %r15, %rdi
je 0x2d61
incq %r13
cmpq 0x10(%r12), %r13
jb 0x2d35
jmp 0x2d64
movl %r13d, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: foreach_vector
void
foreach_vector(vector_t* vect, void (*foncteur)()) {
    if (!vect)
        { return; }
    for (size_t i = 0; i < SIZE_VECTOR(vect); ++i)
        { (*foncteur)(AT_VECTOR(vect, i)); }
}

// Assembly:
testq %rdi, %rdi
je 0x2db2
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
cmpq $0x0, 0x10(%rdi)
je 0x2da8
movq %rsi, %rbx
xorl %r15d, %r15d
movq (%r14), %rax
movq (%rax,%r15,8), %rdi
xorl %eax, %eax
callq *%rbx
incq %r15
cmpq 0x10(%r14), %r15
jb 0x2d94
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/vector.c
// Function: append_vector
void
append_vector(vector_t* vect, vector_t const* src_vect) {
    if (!vect || !src_vect)
        { return; }
    for (size_t i = 0; i < SIZE_VECTOR(src_vect); ++i)
        { PUSH_BACK_VECTOR(vect, AT_VECTOR(src_vect, i)); }
}

// Assembly:
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x2e49
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpq $0x0, 0x10(%rsi)
je 0x2e3f
movq %rdi, %r14
xorl %r15d, %r15d
movq 0x10(%r14), %rsi
movq (%rbx), %rax
movq (%rax,%r15,8), %rdx
movq %r14, %rdi
callq 0x2bf1
incq %r15
cmpq 0x10(%rbx), %r15
jb 0x2e23
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: make_len_buf
static buffer_t*
make_len_buf(size_t len) {
    buffer_t* buf = NEW(buffer_t, 1);
    if (!buf)
        { return (NULL); }
    buf->body = NEW(char, len);
    if (!buf->body)
        { return (NULL); }
    buf->alloc = len;
    buf->index = 0;
    memset(buf->body, 0, buf->alloc);
    return (buf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x18, %edi
callq 0x3b0a
testq %rax, %rax
je 0x2ebb
movq %rax, %rbx
movq %r14, %rdi
callq 0x3b0a
movq %rax, (%rbx)
testq %rax, %rax
je 0x2ebb
movq %r14, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
movq %rax, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x20d0
jmp 0x2ebd
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: dup_buffer
buffer_t*
dup_buffer(buffer_t const* buf) {
    if (!buf)
        { return (NULL); }
    buffer_t* new_buf = make_len_buf(buf->alloc);
    if (!new_buf)
        { return (NULL); }
    memcpy(new_buf->body, buf->body, buf->alloc);
    return (new_buf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x2ef6
movq %rdi, %r14
movq 0x8(%rdi), %rdi
callq 0x2e74
testq %rax, %rax
je 0x2ef6
movq %rax, %rbx
movq (%rax), %rdi
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x2140
jmp 0x2ef8
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: write_char_buffer
int
write_char_buffer(buffer_t* buf, char c) {
    if (extend_buffer(buf) == ERROR)
        { return (ERROR); }
    buf->body[SIZE_BUFFER(buf)] = c;
    if (c)
        { ++(buf->index); }
    return (c);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testq %rdi, %rdi
je 0x2f98
movl %esi, %ebx
movq %rdi, %r14
movq 0x10(%rdi), %rdi
incq %rdi
cmpq 0x8(%r14), %rdi
jb 0x2f82
callq 0x3a7c
movq %rax, %r12
movq (%r14), %rdi
movq %rax, %rsi
callq 0x3ddb
testq %rax, %rax
je 0x2f98
movq %rax, (%r14)
movq %r12, 0x8(%r14)
movq 0x10(%r14), %rcx
addq %rcx, %rax
subq %rcx, %r12
movq %rax, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x20d0
movq (%r14), %rax
movq 0x10(%r14), %rcx
movb %bl, (%rax,%rcx)
testb %bl, %bl
je 0x2f94
incq 0x10(%r14)
movsbl %bl, %r15d
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: write_buffer
int
write_buffer(buffer_t* buf, char const* str) {
    if (!buf || !str)
        { return (ERROR); }
    while (*str) {
        if (write_char_buffer(buf, *str++) == ERROR)
            { return (ERROR); }
    }
    write_char_buffer(buf, '\0');
    return (strlen(str));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
orb %al, %cl
jne 0x2ffa
movq %rsi, %rbx
movq %rdi, %r15
movb (%rbx), %al
testb %al, %al
je 0x2fe5
incq %rbx
movsbl %al, %esi
movq %r15, %rdi
callq 0x2f24
cmpl $-0x1, %eax
jne 0x2fca
jmp 0x2ffa
movq %r15, %rdi
xorl %esi, %esi
callq 0x2f24
movq %rbx, %rdi
callq 0x2090
movq %rax, %r14
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: unget_char_front_buffer
void
unget_char_front_buffer(buffer_t* buf, size_t sz) {
    if (!buf)
        { return; }
    else if (SIZE_BUFFER(buf) <= sz)
        { reset_buffer(buf); }
    else {
        buf->index -= sz;
        memmove(buf->body, buf->body + sz, SIZE_BUFFER(buf));
        memset(buf->body + SIZE_BUFFER(buf), 0, sz);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3082
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rdx
subq %rsi, %rdx
jbe 0x306c
movq %rdx, 0x10(%rbx)
movq (%rbx), %rdi
leaq (%rdi,%r14), %rsi
callq 0x2170
movq (%rbx), %rdi
addq 0x10(%rbx), %rdi
xorl %esi, %esi
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
jmp 0x20d0
movq (%rbx), %rdi
movq 0x8(%rbx), %rdx
xorl %esi, %esi
callq 0x20d0
movq $0x0, 0x10(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: unget_char_back_buffer
void
unget_char_back_buffer(buffer_t* buf, size_t sz) {
    if (!buf)
        { return; }

    if (sz > SIZE_BUFFER(buf))
        { sz = SIZE_BUFFER(buf); }
    while (sz--)
        { buf->body[--(buf->index)] = '\0'; }
}

// Assembly:
testq %rdi, %rdi
je 0x30e5
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
testq %rsi, %rsi
je 0x30e5
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
leaq -0x1(%rcx), %rdx
movq %rdx, 0x10(%rdi)
movb $0x0, -0x1(%rax,%rcx)
decq %rsi
jne 0x30cb
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: hash_buffer
int
hash_buffer(buffer_t const* buf) {
    if (!buf)
        { return (0); }
    int sum_char = 0;
    for (size_t i = 0; i < SIZE_BUFFER(buf); ++i)
        { sum_char += buf->body[i]; }
    return (sum_char);
}

// Assembly:
xorl %eax, %eax
testq %rdi, %rdi
je 0x3110
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x3110
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rdx
xorl %esi, %esi
xorl %eax, %eax
movsbl (%rdx,%rsi), %edi
addl %edi, %eax
incq %rsi
cmpq %rsi, %rcx
jne 0x3101
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/MaoKo[P]FGFX/tools/src/buffer.c
// Function: move_back_buffer
void
move_back_buffer(buffer_t* dst_buff, buffer_t* src_buff, size_t size) {
    if (size > SIZE_BUFFER(src_buff))
        { size = SIZE_BUFFER(src_buff); }
    size_t start_index = SIZE_BUFFER(src_buff) - size;
    for (size_t i = start_index; i < SIZE_BUFFER(src_buff); ++i) {
        int char_at = CHAR_AT(src_buff, i);
        write_char_buffer(dst_buff, char_at);
    }
    unget_char_back_buffer(src_buff, size);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq 0x10(%rsi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rbx
movq %rax, %r12
subq %rbx, %r12
cmpq %rax, %r12
jae 0x3157
movq %rdi, %r15
movq (%r14), %rax
movsbl (%rax,%r12), %esi
movq %r15, %rdi
callq 0x2f24
incq %r12
movq 0x10(%r14), %rax
cmpq %rax, %r12
jb 0x313b
cmpq %rbx, %rax
cmovbq %rax, %rbx
testq %r14, %r14
je 0x3181
testq %rbx, %rbx
je 0x3181
movq (%r14), %rax
movq 0x10(%r14), %rcx
leaq -0x1(%rcx), %rdx
movq %rdx, 0x10(%r14)
movb $0x0, -0x1(%rax,%rcx)
decq %rbx
jne 0x3168
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq