LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/Backend/Backend.cpp
// Function: PrintLoadXMM(Elf*)
bool PrintLoadXMM   (Elf* elf)
{
    assert (elf);

    for (char i_xmm = 0; i_xmm < elf->xmm_counter - 1; i_xmm++) // - 1 --- arg was added
    {
        ElfAddBytes (elf, "\x58", 1); // 0x58 = pop rax

        ElfAddBytes (elf, (i_xmm < 8) ? "\x66\x48\x0F\x6E": // movq xmm?, rax
                                        "\x66\x4C\x0F\x6E", // movq xmm?, rax
                                        4);
        char num_register = (i_xmm % 8) * 8 + 0xC0;
        ElfAddBytes (elf, &num_register, 1);
    }

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x2d42
movq %rdi, %rbx
xorl %r14d, %r14d
pushq $0x1
popq %r15
leaq -0x29(%rbp), %r13
xorl %r12d, %r12d
movsbl 0x60(%rbx), %eax
decl %eax
cmpl %r14d, %eax
jle 0x2d31
movq %rbx, %rdi
leaq 0x1a54(%rip), %rsi      # 0x473d
movq %r15, %rdx
callq 0x1504
cmpb $0x8, %r14b
leaq 0x18ad(%rip), %rsi      # 0x45a9
leaq 0x18a1(%rip), %rax      # 0x45a4
cmovbq %rax, %rsi
movq %rbx, %rdi
pushq $0x4
popq %rdx
callq 0x1504
movl %r12d, %eax
orb $-0x40, %al
movb %al, -0x29(%rbp)
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x1504
addb $0x8, %r12b
incl %r14d
jmp 0x2cd4
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x159d(%rip), %rdi      # 0x42e6
leaq 0x1350(%rip), %rsi      # 0x40a0
leaq 0x1a0f(%rip), %rcx      # 0x4766
movl $0x311, %edx            # imm = 0x311
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: TreeConstructor(Tree*)
void TreeConstructor (Tree* tree)
{
    assert (tree);

    const size_t stk_size = 1000;
    tree->head = nullptr;
    StackConstructor (&(tree->stk), stk_size);
    return;
}

// Assembly:
testq %rdi, %rdi
je 0x2f13
andq $0x0, (%rdi)
addq $0x8, %rdi
movl $0x3e8, %esi            # imm = 0x3E8
jmp 0x37a8
pushq %rbp
movq %rsp, %rbp
leaq 0x1aac(%rip), %rdi      # 0x49ca
leaq 0x1aaa(%rip), %rsi      # 0x49cf
leaq 0x1ab5(%rip), %rcx      # 0x49e1
pushq $0xc
popq %rdx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: TreeDestructor(Tree*)
void TreeDestructor (Tree* tree)
{
    assert (tree);

    StackDestructor (&(tree->stk));
    tree->head = nullptr;

    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x2f56
movq %rdi, %rbx
addq $0x8, %rdi
callq 0x3b2e
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x1a6d(%rip), %rdi      # 0x49ca
leaq 0x1a6b(%rip), %rsi      # 0x49cf
leaq 0x1a93(%rip), %rcx      # 0x49fe
pushq $0x16
popq %rdx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: ElementConstructor(Tree*, Types, char**, unsigned long)
bool ElementConstructor (Tree* tree, Types type, char** ind, size_t len)
{
    char* str = nullptr;

    if (*ind)
    {
        str = (char*) calloc (len + 1, sizeof (*str));
        if (!str)
        {
            printf ("Memory error!\n");
            return 1;
        }

        strncpy (str, *ind, len);
        *ind += len;
    }
    else
        assert (!len);

    element push = { type, nullptr, nullptr, str, len };
    StackPush (&(tree->stk), push);

    if (tree->stk.status_error != STK_GOOD)
        return 1;

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, %r14
movq %rdi, %rbx
movq (%rdx), %r15
testq %r15, %r15
je 0x2fc6
movq %rdx, %r12
movl %esi, -0x2c(%rbp)
leaq 0x1(%r14), %rdi
pushq $0x1
popq %rsi
callq 0x1090
testq %rax, %rax
je 0x3010
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1070
addq %r14, %r15
movq %r15, (%r12)
movl -0x2c(%rbp), %esi
jmp 0x2fce
testq %r14, %r14
jne 0x302d
xorl %r13d, %r13d
leaq 0x8(%rbx), %rdi
movl %esi, -0x60(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -0x58(%rbp)
movq %r13, -0x48(%rbp)
movq %r14, -0x40(%rbp)
movb $0x0, -0x38(%rbp)
movups -0x60(%rbp), %xmm0
movups -0x50(%rbp), %xmm1
movups -0x40(%rbp), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x3c56
cmpl $0x0, 0x30(%rbx)
setne %al
jmp 0x301e
leaq 0x1c71(%rip), %rdi      # 0x4c88
callq 0x1170
movb $0x1, %al
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x19e6(%rip), %rdi      # 0x4a1a
leaq 0x1994(%rip), %rsi      # 0x49cf
leaq 0x19dd(%rip), %rcx      # 0x4a1f
pushq $0x2f
popq %rdx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: ElementDestructor(element*)
void ElementDestructor (element* el)
{
    assert (el);

    free (el->ind);
    *el = STK_POISON;
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3076
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
callq 0x1110
xorps %xmm0, %xmm0
movups %xmm0, 0x19(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x13a8(%rip), %rdi      # 0x4425
leaq 0x194b(%rip), %rsi      # 0x49cf
leaq 0x19cc(%rip), %rcx      # 0x4a57
pushq $0x3c
popq %rdx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: CreateGraph(Tree*)
void CreateGraph (Tree* tree)
{
    assert (tree);

    FILE* graph = fopen ("AllDumps/out.dot", "w");
    assert (graph);
    fprintf (graph, "digraph G{\n" "rankdir = HR;\n node[shape=box];\n");

    if (tree->head)
    {
        fprintf (graph, "\"Point: %p\\n Type: %d\\n %s\";\n",
            tree->head, tree->head->type, tree->head->ind);
        ElementGraph (graph, tree->head);
    }
    else
        fprintf (graph, "\"No elements\";\n");

    fprintf (graph, "}");
    fclose (graph);

    system ("dot -Tpng AllDumps/out.dot -o AllDumps/gr.png");
    // system ("start AllDumps/gr.png");

    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x313e
movq %rdi, %r14
leaq 0x19e5(%rip), %rdi      # 0x4a92
leaq 0x1bd2(%rip), %rsi      # 0x4c86
callq 0x1100
testq %rax, %rax
je 0x3157
movq %rax, %rbx
leaq 0x19dd(%rip), %rdi      # 0x4aa9
pushq $0x2b
popq %rsi
pushq $0x1
popq %rdx
movq %rax, %rcx
callq 0x1190
movq (%r14), %rdx
testq %rdx, %rdx
je 0x3106
movl (%rdx), %ecx
movq 0x18(%rdx), %r8
leaq 0x1a68(%rip), %rsi      # 0x4b57
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1150
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x3174
jmp 0x311b
leaq 0x19c8(%rip), %rdi      # 0x4ad5
pushq $0xf
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x1190
pushq $0x7d
popq %rdi
movq %rbx, %rsi
callq 0x1130
movq %rbx, %rdi
callq 0x10e0
leaq 0x19b0(%rip), %rdi      # 0x4ae5
popq %rbx
popq %r14
popq %rbp
jmp 0x10c0
leaq 0x1885(%rip), %rdi      # 0x49ca
leaq 0x1883(%rip), %rsi      # 0x49cf
leaq 0x1926(%rip), %rcx      # 0x4a79
pushq $0x45
jmp 0x316e
leaq 0x1945(%rip), %rdi      # 0x4aa3
leaq 0x186a(%rip), %rsi      # 0x49cf
leaq 0x190d(%rip), %rcx      # 0x4a79
pushq $0x48
popq %rdx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: ElementGraph(_IO_FILE*, element*)
void ElementGraph (FILE* graph, element* el)
{
    assert (graph);
    assert (el);

    if (el->left > PARSE_ERR)
    {
        fprintf (graph, "\"Point: %p\\n Type: %d\\n %s\" -> "
                        "\"Point: %p\\n Type: %d\\n %s\";\n",
                el,             el->type,       el->ind,
                el->left, el->left->type, el->left->ind);

        ElementGraph (graph, el->left);
    }

    if (el->right > PARSE_ERR)
    {
        fprintf (graph, "\"Point: %p\\n Type: %d\\n %s\" -> "
                        "\"Point: %p\\n Type: %d\\n %s\";\n",
                        el,        el->type,        el->ind,
                 el->right, el->right->type, el->right->ind);

        ElementGraph (graph, el->right);
    }

    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3235
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x19a4(%rip), %r15      # 0x4b38
testq %rbx, %rbx
je 0x3218
movq 0x8(%rbx), %r9
movq 0x4fbc(%rip), %rax      # 0x8160
cmpq %rax, %r9
jbe 0x31dd
movl (%rbx), %ecx
movq 0x18(%rbx), %r8
movl (%r9), %r10d
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
pushq 0x18(%r9)
pushq %r10
callq 0x1150
popq %rcx
popq %rdx
movq 0x8(%rbx), %rsi
movq %r14, %rdi
callq 0x3174
movq 0x4f83(%rip), %rax      # 0x8160
movq 0x10(%rbx), %r9
cmpq %rax, %r9
jbe 0x320d
movl (%rbx), %ecx
movq 0x18(%rbx), %r8
movl (%r9), %r10d
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
pushq 0x18(%r9)
pushq %r10
callq 0x1150
popq %rcx
popq %rdx
movq 0x10(%rbx), %rbx
jmp 0x3194
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1206(%rip), %rdi      # 0x4425
leaq 0x17a9(%rip), %rsi      # 0x49cf
leaq 0x18e6(%rip), %rcx      # 0x4b13
pushq $0x60
popq %rdx
callq 0x1080
leaq 0x1867(%rip), %rdi      # 0x4aa3
leaq 0x178c(%rip), %rsi      # 0x49cf
leaq 0x18c9(%rip), %rcx      # 0x4b13
pushq $0x5f
jmp 0x322f
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: CountSize(_IO_FILE*)
int CountSize (FILE* file)
{
    fseek (file, 0, SEEK_END);
    size_t num_symbols = ftell (file);
    fseek (file, 0, SEEK_SET);

    return num_symbols;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x2
popq %rdx
xorl %esi, %esi
callq 0x10f0
movq %rbx, %rdi
callq 0x1030
movq %rax, %r14
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x10f0
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: ReadTxt(char**, char const*)
size_t ReadTxt (char** text, const char* file_name)
{
    assert (text);
    assert (file_name);

    FILE* file = fopen (file_name, "r");
    if (file == nullptr)
    {
        printf ("[Input error] Unable to open file \"%s\"\n", file_name);
        return 0;
    }

    size_t num_symbols = CountSize (file);

    *text = (char*)calloc (num_symbols + 4, sizeof (**text));

    if (*text == nullptr)
    {
        printf ("[Error] Unable to allocate memory\n");
        return 0;
    }

    fread (*text, sizeof (**text), num_symbols, file);
    fclose (file);

    (*text)[num_symbols] = '\0';

    return num_symbols;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x332e
movq %rsi, %r12
testq %rsi, %rsi
je 0x334d
movq %rdi, %rbx
leaq 0x1b83(%rip), %rsi      # 0x4e2e
movq %r12, %rdi
callq 0x1100
testq %rax, %rax
je 0x32fd
movq %rax, %r15
movq %rax, %rdi
callq 0x324e
movslq %eax, %r14
leaq 0x4(%r14), %rdi
pushq $0x1
popq %rsi
callq 0x1090
movq %rax, (%rbx)
testq %rax, %rax
je 0x3313
pushq $0x1
popq %rsi
movq %rax, %rdi
movq %r14, %rdx
movq %r15, %rcx
callq 0x1160
movq %r15, %rdi
callq 0x10e0
movq (%rbx), %rax
movb $0x0, (%rax,%r14)
jmp 0x3322
leaq 0x18a1(%rip), %rdi      # 0x4ba5
xorl %r14d, %r14d
movq %r12, %rsi
xorl %eax, %eax
callq 0x1040
jmp 0x3322
leaq 0x197c(%rip), %rdi      # 0x4c96
callq 0x1170
xorl %r14d, %r14d
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1080(%rip), %rdi      # 0x43b5
leaq 0x1693(%rip), %rsi      # 0x49cf
leaq 0x1832(%rip), %rcx      # 0x4b75
movl $0x84, %edx
callq 0x1080
leaq 0x1847(%rip), %rdi      # 0x4b9b
leaq 0x1674(%rip), %rsi      # 0x49cf
leaq 0x1813(%rip), %rcx      # 0x4b75
movl $0x85, %edx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: SaveTree(Tree*)
void SaveTree (Tree* tree)
{
    assert (tree);

    FILE* tree_file = fopen ("CompileResult/CreatedTree.txt", "w");
    if (!tree_file)
    {
        printf ("Save error: Unable to open file \"CompileResult/CreatedTree.txt\"\n");
        return;
    }

    SaveElem (tree->head, tree_file, 0);
    fclose (tree_file);
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x33bf
movq %rdi, %rbx
leaq 0x1861(%rip), %rdi      # 0x4be3
leaq 0x18fd(%rip), %rsi      # 0x4c86
callq 0x1100
testq %rax, %rax
je 0x33af
movq %rax, %r14
movq (%rbx), %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x33de
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x10e0
leaq 0x1902(%rip), %rdi      # 0x4cb8
popq %rbx
popq %r14
popq %rbp
jmp 0x1170
leaq 0x1604(%rip), %rdi      # 0x49ca
leaq 0x1602(%rip), %rsi      # 0x49cf
leaq 0x17f9(%rip), %rcx      # 0x4bcd
movl $0xa2, %edx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: SaveElem(element*, _IO_FILE*, int)
void SaveElem (element* el, FILE* tree_file, int tab)
{
    assert (tree_file);

    if (!el)
    {
        fprintf (tree_file, "\n");
        return;
    }

    fprintf (tree_file, "%*s%s %s\n", tab * 4, "", TYPES_STR[el->type], el->ind);

    #define next(direction) fprintf (tree_file, "%*s{\n", tab * 4, "");   \
                            SaveElem (el->direction, tree_file, tab + 1); \
                            fprintf (tree_file, "%*s}\n", tab * 4, "")   

    next (left);
    next (right);
    #undef next
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x34e3
movq %rsi, %rbx
movq %rdi, %r15
testq %rdi, %rdi
je 0x34ca
movl %edx, %r14d
leal (,%r14,4), %r12d
movl (%r15), %eax
leaq 0x4cc7(%rip), %rcx      # 0x80e0
movq (%rcx,%rax,8), %r8
movq 0x18(%r15), %r9
leaq 0x1809(%rip), %rsi      # 0x4c31
leaq 0x1221(%rip), %r13      # 0x4650
movq %rbx, %rdi
movl %r12d, %edx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1150
leaq 0x17f5(%rip), %rsi      # 0x4c3b
movq %rbx, %rdi
movl %r12d, %edx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1150
movq 0x8(%r15), %rdi
incl %r14d
movq %rbx, %rsi
movl %r14d, %edx
callq 0x33de
leaq 0x17d2(%rip), %rsi      # 0x4c41
movq %rbx, %rdi
movl %r12d, %edx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1150
movq %rbx, %rdi
leaq 0x17b2(%rip), %rsi      # 0x4c3b
movl %r12d, %edx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1150
movq 0x10(%r15), %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq 0x33de
movq %rbx, %rdi
leaq 0x1792(%rip), %rsi      # 0x4c41
movl %r12d, %edx
movq %r13, %rcx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1150
pushq $0xa
popq %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1130
leaq 0x1717(%rip), %rdi      # 0x4c01
leaq 0x14de(%rip), %rsi      # 0x49cf
leaq 0x1713(%rip), %rcx      # 0x4c0b
movl $0xb2, %edx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Tree.cpp
// Function: LoadTree(Tree*)
bool LoadTree (Tree* tree)
{
    assert (tree);
    
    if (tree->head)
    {
        printf ("Load error: Tree maybe is already created.\n");
        return 0;
    }

    char* tree_file = nullptr;
    ReadTxt (&tree_file, "CompileResult/CreatedTree.txt");
    char* pos_now = tree_file;
    tree->head = LoadElem (tree, &pos_now);
    
    free (tree_file);
    return tree->head != PARSE_ERR;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x3575
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x352b
leaq 0x17d6(%rip), %rdi      # 0x4cf8
callq 0x1170
xorl %eax, %eax
jmp 0x356c
leaq -0x20(%rbp), %r14
andq $0x0, (%r14)
leaq 0x16a9(%rip), %rsi      # 0x4be3
movq %r14, %rdi
callq 0x3281
movq (%r14), %rax
leaq -0x18(%rbp), %rsi
movq %rax, (%rsi)
movq %rbx, %rdi
callq 0x3594
movq %rax, (%rbx)
movq (%r14), %rdi
callq 0x1110
movq (%rbx), %rax
cmpq 0x4bf7(%rip), %rax      # 0x8160
setne %al
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x144e(%rip), %rdi      # 0x49ca
leaq 0x144c(%rip), %rsi      # 0x49cf
leaq 0x16bd(%rip), %rcx      # 0x4c47
movl $0xc8, %edx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackConstructor(Stack*, unsigned long)
void StackConstructor (Stack* stk, const size_t max_size)
{
	assert (stk);
	assert (max_size);

	if (!((stk->buffer == ERR_FREE && stk->status_error == STK_DEL) ||
		  (stk->buffer == nullptr  && stk->status_error == NOT_CREATED)))
	{
		stk->status_error = BAD_CREATE;
		StackLog (stk);
		return;
	}

	stk_type* buf = (stk_type*) calloc (max_size + 2, sizeof (stk_type));
	
	if (!buf)
	{
		stk->status_error = DO_MEM_ERR;
		StackLog (stk);
		return;
	}
	
	*((storm*)  buf)				 = STORMY_PETREL;
	*((storm*) (buf + max_size + 1)) = STORMY_PETREL;

	StackPoison (buf + 1, max_size);

	stk->buffer		  = buf + 1;
	stk->status_error = STK_GOOD;
	stk->capacity     = max_size;
	stk->min_capacity = max_size;

	RecountHash (stk);

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3864
movq %rsi, %r14
testq %rsi, %rsi
je 0x387d
movq %rdi, %rbx
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x383c
cmpq $0xe4, %rax
jne 0x3842
cmpl $0x2, 0x28(%rbx)
jne 0x3842
leaq 0x2(%r14), %rdi
pushq $0x30
popq %rsi
callq 0x1090
testq %rax, %rax
je 0x385b
movq %rax, %r15
movabsq $-0x452212e21844f85f, %rax # imm = 0xBADDED1DE7BB07A1
movq %rax, (%r15)
imulq $0x30, %r14, %rcx
movq %rax, 0x30(%r15,%rcx)
addq $0x30, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3a7b
movq %r15, 0x8(%rbx)
andl $0x0, 0x28(%rbx)
movq %r14, 0x18(%rbx)
movq %r14, 0x20(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3ad5
cmpl $0xc, 0x28(%rbx)
je 0x37e1
movl $0xd, 0x28(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x389a
movl $0xb, 0x28(%rbx)
jmp 0x3849
leaq 0x1571(%rip), %rdi      # 0x4ddc
leaq 0x156e(%rip), %rsi      # 0x4de0
leaq 0x157a(%rip), %rcx      # 0x4df3
pushq $0xa
jmp 0x3894
leaq 0x159c(%rip), %rdi      # 0x4e20
leaq 0x1555(%rip), %rsi      # 0x4de0
leaq 0x1561(%rip), %rcx      # 0x4df3
pushq $0xb
popq %rdx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackPoison(element*, unsigned long)
void StackPoison (stk_type* buffer, size_t num)
{
	assert (buffer);
	
	for (size_t elem = 0; elem < num; elem++)
	{
		free (buffer[elem].ind);
		buffer[elem] = STK_POISON;
	}

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3ab8
movq %rsi, %rbx
movq %rdi, %r14
subq $0x1, %rbx
jb 0x3ab3
movq 0x18(%r14), %rdi
callq 0x1110
xorps %xmm0, %xmm0
movups %xmm0, 0x19(%r14)
movups %xmm0, 0x10(%r14)
movups %xmm0, (%r14)
addq $0x30, %r14
jmp 0x3a8d
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x136a(%rip), %rdi      # 0x4e29
leaq 0x131a(%rip), %rsi      # 0x4de0
leaq 0x1363(%rip), %rcx      # 0x4e30
pushq $0x43
popq %rdx
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: RecountHash(Stack*)
void RecountHash (Stack* stk)
{
	assert (stk);
	
	stk->stk_hash = 0;
	stk->buf_hash = 0;
	
	stk->stk_hash = CountHash ((char*) stk,			STK_HASH);
	stk->buf_hash = CountHash ((char*) stk->buffer, stk->capacity * sizeof (stk_type));

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3b0f
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rdi)
pushq $0x44
popq %rsi
callq 0x3f61
movq %rax, 0x30(%rbx)
movq 0x8(%rbx), %rdi
imulq $0x30, 0x18(%rbx), %rsi
callq 0x3f61
movq %rax, 0x38(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x12c6(%rip), %rdi      # 0x4ddc
leaq 0x12c3(%rip), %rsi      # 0x4de0
leaq 0x17cc(%rip), %rcx      # 0x52f0
movl $0x186, %edx            # imm = 0x186
callq 0x1080
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackDestructor(Stack*)
void StackDestructor (Stack* stk)
{
	ASSERT_OK
	
	stk->buffer -= 1;

	StackPoison (stk->buffer, stk->capacity + 2);

	free (stk->buffer);

	stk->buffer = ERR_FREE;
	stk->size = 0;
	stk->capacity = 0;
	stk->status_error = STK_DEL;
	stk->buf_hash = 0;
	stk->stk_hash = 0;

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x3b91
testl %eax, %eax
je 0x3b4e
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x389a
movq 0x8(%rbx), %rdi
movq 0x18(%rbx), %rsi
addq $-0x30, %rdi
movq %rdi, 0x8(%rbx)
addq $0x2, %rsi
callq 0x3a7b
movq 0x8(%rbx), %rdi
callq 0x1110
movq $0xe4, 0x8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movl $0x2, 0x28(%rbx)
movups %xmm0, 0x30(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackError(Stack*)
int StackError (Stack* stk)
{
	if (!stk)
		return STK_NULL;

	if (stk->stormy_petrel_begin != STORMY_PETREL)
		return stk->status_error = STK_PETREL_B;

	if (stk->stormy_petrel_end != STORMY_PETREL)
		return stk->status_error = STK_PETREL_E;
	
	if (stk->buffer == ERR_FREE)
		return stk->status_error = STK_DEL;
	
	if (!stk->buffer)
		return stk->status_error = BUF_NULL;
	
	if (stk->size > stk->capacity)
		return stk->status_error = BAD_SIZE_CAP;

	if (stk->capacity < stk->min_capacity)
		return stk->status_error = BAD_CAP;
	
	if (*((storm*) (stk->buffer - 1)) != STORMY_PETREL)
		return stk->status_error = BUF_PETREL_B;

	if (*((storm*) (stk->buffer + stk->capacity)) != STORMY_PETREL)
		return stk->status_error = BUF_PETREL_E;

	if (stk->status_error != 0)
		return stk->status_error;

	// Warning^ It's isn't standart stack mode.
	// This return is used for agree to use all data.
	return STK_GOOD;

	unsigned long long hash1 = stk->stk_hash;
	unsigned long long hash2 = stk->buf_hash;
	RecountHash (stk);

	if (stk->stk_hash != hash1)
		return stk->status_error = ERR_HASH_STK;

	if (stk->buf_hash != hash2)
		return stk->status_error = ERR_HASH_BUF;
	
	return STK_GOOD;
}

// Assembly:
testq %rdi, %rdi
je 0x3bca
movabsq $-0x452212e21844f85f, %rax # imm = 0xBADDED1DE7BB07A1
cmpq %rax, (%rdi)
jne 0x3bd0
cmpq %rax, 0x40(%rdi)
jne 0x3bdd
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x3bea
cmpq $0xe4, %rcx
jne 0x3bf7
movl $0x2, 0x28(%rdi)
movl $0x2, %eax
retq
movl $0x1, %eax
retq
movl $0x7, 0x28(%rdi)
movl $0x7, %eax
retq
movl $0x8, 0x28(%rdi)
movl $0x8, %eax
retq
movl $0x3, 0x28(%rdi)
movl $0x3, %eax
retq
movq 0x18(%rdi), %rdx
cmpq %rdx, 0x10(%rdi)
jbe 0x3c0e
movl $0x4, 0x28(%rdi)
movl $0x4, %eax
retq
cmpq 0x20(%rdi), %rdx
jae 0x3c21
movl $0x6, 0x28(%rdi)
movl $0x6, %eax
retq
pushq %rbp
movq %rsp, %rbp
cmpq %rax, -0x30(%rcx)
jne 0x3c3a
imulq $0x30, %rdx, %rdx
cmpq %rax, (%rcx,%rdx)
jne 0x3c48
movl 0x28(%rdi), %eax
jmp 0x3c54
movl $0x9, 0x28(%rdi)
movl $0x9, %eax
jmp 0x3c54
movl $0xa, 0x28(%rdi)
movl $0xa, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackPush(Stack*, element)
void StackPush (Stack* stk, stk_type elem)
{
	ASSERT_OK

	/*
	if (stk->size == stk->capacity)
		StackResizeUp (stk);

	if (stk->status_error == DO_MEM_ERR)
		return;
	*/

	if (stk->size == stk->capacity)
	{
		stk->status_error = DO_MEM_ERR;
		StackLog (stk);
		return;
	}

	char* new_ind = (char*) calloc (elem.len + 1, sizeof (char));
	if (!new_ind)
	{
		stk->status_error = DO_MEM_ERR;
		StackLog (stk);
		return;
	}

	strncpy (new_ind, elem.ind, elem.len + 1);

	char* elem_ind_save = elem.ind;
	elem.ind = new_ind;

	*(stk->buffer + (stk->size)++) = elem;
	elem.ind = elem_ind_save;

	RecountHash (stk);

	ASSERT_OK

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x3b91
testl %eax, %eax
jne 0x3d0b
movq 0x10(%rbx), %r12
cmpq 0x18(%rbx), %r12
je 0x3d04
leaq 0x10(%rbp), %r13
movq 0x20(%r13), %r14
incq %r14
pushq $0x1
popq %rsi
movq %r14, %rdi
callq 0x1090
testq %rax, %rax
je 0x3d04
movq %rax, %r15
movq 0x18(%r13), %rsi
movq %rax, %rdi
movq %r14, %rdx
callq 0x1070
movq %r15, 0x18(%r13)
movq 0x8(%rbx), %rax
leaq 0x1(%r12), %rcx
movq %rcx, 0x10(%rbx)
imulq $0x30, %r12, %rcx
movups (%r13), %xmm0
movups %xmm0, (%rax,%rcx)
movups 0x10(%r13), %xmm0
movups 0x19(%r13), %xmm1
movups %xmm0, 0x10(%rax,%rcx)
movups %xmm1, 0x19(%rax,%rcx)
movq %rbx, %rdi
callq 0x3ad5
movq %rbx, %rdi
callq 0x3b91
testl %eax, %eax
jne 0x3d0b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xb, 0x28(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x389a
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackPop(Stack*)
stk_type StackPop (Stack* stk)
{
	ASSERT_OK_POP
	
	if (stk->size == 0)
	{
		stk->status_error = BAD_SIZE_ZERO;
		StackLog (stk);
		return STK_POISON;
	}
	
	if (stk->capacity > stk->min_capacity &&
		stk->capacity >= STK_RESIZE * STK_RESIZE * stk->size)
			StackResizeDown(stk);

	if (stk->status_error == DO_MEM_ERR)
		return STK_POISON;

	stk_type popped = stk->buffer[--(stk->size)];
	*(stk->buffer + stk->size) = STK_POISON;

	RecountHash(stk);

	ASSERT_OK_POP

	return popped;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x3b91
testl %eax, %eax
je 0x3d60
movq %r14, %rdi
callq 0x389a
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x3dfe
movq 0x18(%r14), %rcx
shlq $0x2, %rax
cmpq %rax, %rcx
jb 0x3d88
cmpq 0x20(%r14), %rcx
jbe 0x3d88
movq %r14, %rdi
callq 0x3e0b
cmpl $0xb, 0x28(%r14)
je 0x3d46
movq 0x8(%r14), %rax
movq 0x10(%r14), %rcx
decq %rcx
movq %rcx, 0x10(%r14)
imulq $0x30, %rcx, %rcx
movups (%rax,%rcx), %xmm0
movups 0x10(%rax,%rcx), %xmm1
movups 0x20(%rax,%rcx), %xmm2
movaps %xmm2, -0x20(%rbp)
movaps %xmm1, -0x30(%rbp)
movaps %xmm0, -0x40(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, 0x19(%rax,%rcx)
movups %xmm0, (%rax,%rcx)
movups %xmm0, 0x10(%rax,%rcx)
movq %r14, %rdi
callq 0x3ad5
movq %r14, %rdi
callq 0x3b91
testl %eax, %eax
jne 0x3d3e
movaps -0x40(%rbp), %xmm0
movaps -0x30(%rbp), %xmm1
movaps -0x20(%rbp), %xmm2
movups %xmm2, 0x20(%rbx)
movups %xmm1, 0x10(%rbx)
jmp 0x3d51
movl $0x5, 0x28(%r14)
jmp 0x3d3e
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackResizeDown(Stack*)
void StackResizeDown (Stack* stk)
{
	ASSERT_OK

	stk_type* buf = stk->buffer - 1;

	if (!buf)
	{
		stk->status_error = DO_MEM_ERR;
		StackLog (stk);
		return;
	}

	*(buf + stk->capacity + 1) = STK_POISON;

	if (stk->capacity >= STK_RESIZE * stk->size && 
		stk->capacity >= STK_RESIZE * stk->min_capacity)
			buf = (stk_type*) realloc (buf, 
									  sizeof (stk_type) * (stk->capacity / STK_RESIZE + 2));

	stk->capacity /= STK_RESIZE;
	*((storm*) (buf + stk->capacity + 1)) = STORMY_PETREL;
	stk->buffer = buf + 1;

	RecountHash (stk);

	ASSERT_OK

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x3b91
testl %eax, %eax
jne 0x3ea8
movq 0x8(%rbx), %rcx
leaq -0x30(%rcx), %rax
imulq $0x30, 0x18(%rbx), %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x19(%rcx,%rdx)
movups %xmm0, 0x10(%rcx,%rdx)
movups %xmm0, (%rcx,%rdx)
movq 0x10(%rbx), %rdx
movq 0x18(%rbx), %rcx
addq %rdx, %rdx
cmpq %rdx, %rcx
jb 0x3e72
movq 0x20(%rbx), %rdx
addq %rdx, %rdx
cmpq %rdx, %rcx
jb 0x3e72
shrq %rcx
imulq $0x30, %rcx, %rsi
addq $0x60, %rsi
movq %rax, %rdi
callq 0x1180
movq 0x18(%rbx), %rcx
shrq %rcx
movq %rcx, 0x18(%rbx)
imulq $0x30, %rcx, %rcx
movabsq $-0x452212e21844f85f, %rdx # imm = 0xBADDED1DE7BB07A1
movq %rdx, 0x30(%rax,%rcx)
addq $0x30, %rax
movq %rax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x3ad5
movq %rbx, %rdi
callq 0x3b91
testl %eax, %eax
je 0x3eb6
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x389a
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: StackResizeUp(Stack*)
void StackResizeUp (Stack* stk)
{
	ASSERT_OK

	stk_type* buf = stk->buffer - 1;

	buf = (stk_type*) realloc (buf, sizeof (stk_type) * (stk->capacity * STK_RESIZE + 2));

	if (!buf)
	{
		stk->status_error = DO_MEM_ERR;
		StackLog (stk);
		return;
	}

	(stk->capacity) *= STK_RESIZE;

	*((storm*)  buf)					  = STORMY_PETREL;
	*((storm*) (buf + stk->capacity + 1)) = STORMY_PETREL;

	StackPoison (buf + stk->size + 1, stk->capacity - stk->size);

	stk->buffer = buf + 1;

	RecountHash (stk);

	ASSERT_OK

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x3b91
testl %eax, %eax
je 0x3edc
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x389a
movq 0x8(%rbx), %rdi
addq $-0x30, %rdi
imulq $0x60, 0x18(%rbx), %rsi
addq $0x60, %rsi
callq 0x1180
testq %rax, %rax
je 0x3f55
movq %rax, %r14
movq 0x18(%rbx), %rax
leaq (%rax,%rax), %rsi
movq %rsi, 0x18(%rbx)
movabsq $-0x452212e21844f85f, %rcx # imm = 0xBADDED1DE7BB07A1
movq %rcx, (%r14)
imulq $0x60, %rax, %rax
movq %rcx, 0x30(%r14,%rax)
movq 0x10(%rbx), %rax
imulq $0x30, %rax, %rcx
leaq (%r14,%rcx), %rdi
addq $0x30, %rdi
subq %rax, %rsi
callq 0x3a7b
addq $0x30, %r14
movq %r14, 0x8(%rbx)
movq %rbx, %rdi
callq 0x3ad5
movq %rbx, %rdi
callq 0x3b91
testl %eax, %eax
jne 0x3ed0
popq %rbx
popq %r14
popq %rbp
retq
movl $0xb, 0x28(%rbx)
jmp 0x3ed0
// File: /workspace/github_cpp_makefile_star2_O2/AndreyVV-100[P]GachiLang/TreeBase/Stack.cpp
// Function: CountHash(char*, unsigned long)
unsigned long long CountHash (char* buffer, size_t num)
{
	const int shift = 5;
	unsigned long long ans = 0;
	char buf = 0;
	
	for (size_t count = 0; count < num; count++)
	{
		ans += buffer[count];
		buf = ans >> (sizeof (unsigned long long) - shift);
		ans = (ans << shift) + buf;
	}

	return ans;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
xorl %ecx, %ecx
cmpq %rcx, %rsi
je 0x3f8c
movsbq (%rdi,%rcx), %rdx
addq %rdx, %rax
movq %rax, %rdx
shlq $0x5, %rdx
shrl $0x3, %eax
movsbq %al, %rax
addq %rdx, %rax
incq %rcx
jmp 0x3f69
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/MiWitt[P]HLAbaits/main.cpp
// Function: Tokenize(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
vector<string> Tokenize(const string& str, const string& delimiters = "\t")
{
    vector<string> tokens;
    // Skip delimiters at beginning.
    string::size_type lastPos = str.find_first_not_of(delimiters, 0);
    // Find first "non-delimiter".
    string::size_type pos     = str.find_first_of(delimiters, lastPos);

    while (string::npos != pos || string::npos != lastPos)
    {
        // Found a token, add it to the vector.
        tokens.push_back(str.substr(lastPos, pos - lastPos));
        // Skip delimiters.  Note the "not_of"
        if(str.length() > pos && delimiters.find(str[pos]) != string::npos )
            lastPos=pos+1;
        else
            lastPos = str.find_first_not_of(delimiters, pos);
        // Find next "non-delimiter"
        pos = str.find_first_of(delimiters, lastPos);
    }
    return tokens;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movq %rsi, %rdi
movq %rdx, %rsi
xorl %edx, %edx
callq 0x31e0
movq %rax, %rbp
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3210
movq %rax, %r13
leaq 0x8(%rsp), %r12
movq %r13, %rax
andq %rbp, %rax
cmpq $-0x1, %rax
je 0x36a1
movq %r13, %rcx
subq %rbp, %rcx
movq %r12, %rdi
movq %r15, %rsi
movq %rbp, %rdx
callq 0x3250
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5152
movq %r12, %rdi
callq 0x3478
cmpq %r13, 0x8(%r15)
jbe 0x367d
movq (%r15), %rax
movsbl (%rax,%r13), %esi
movq %r14, %rdi
xorl %edx, %edx
callq 0x32e0
cmpq $-0x1, %rax
je 0x367d
incq %r13
movq %r13, %rbp
jmp 0x368e
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x31e0
movq %rax, %rbp
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x3210
movq %rax, %r13
jmp 0x3624
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x36c5
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x3478
movq %rbx, %rdi
callq 0x4e42
movq %r14, %rdi
callq 0x33f0
// File: /workspace/github_cpp_makefile_star2_O2/MiWitt[P]HLAbaits/main.cpp
// Function: cmd_exec(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string cmd_exec(const string& cmd)
{
    FILE* pipe = popen(cmd.c_str(), "r");
    if (!pipe)
        throw("ERROR from popen()");

    char buffer[128];
    ostringstream result("");

    while(!feof(pipe))
    {
        if(fgets(buffer, 128, pipe) != NULL)
           result << buffer;
    }
    pclose(pipe);

    return result.str();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, %rbx
movq (%rsi), %rdi
leaq 0x3914(%rip), %rsi      # 0x7004
callq 0x30e0
testq %rax, %rax
je 0x379f
movq %rax, %r14
leaq 0x391e(%rip), %rsi      # 0x7026
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x4e06
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
pushq $0x10
popq %rdx
callq 0x3300
leaq 0x8(%rsp), %rdi
callq 0x3478
leaq 0x1a0(%rsp), %r15
leaq 0x28(%rsp), %r12
movq %r14, %rdi
callq 0x3380
testl %eax, %eax
jne 0x376e
movq %r15, %rdi
movl $0x80, %esi
movq %r14, %rdx
callq 0x33a0
testq %rax, %rax
je 0x3740
movq %r12, %rdi
movq %r15, %rsi
callq 0x3220
jmp 0x3740
movq %r14, %rdi
callq 0x3310
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x33b0
leaq 0x28(%rsp), %rdi
callq 0x3090
movq %rbx, %rax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r14
popq %r15
retq
pushq $0x8
popq %rdi
callq 0x3140
leaq 0x3858(%rip), %rcx      # 0x7006
movq %rcx, (%rax)
movq 0x7800(%rip), %rsi      # 0xafb8
movq %rax, %rdi
xorl %edx, %edx
callq 0x33d0
jmp 0x37d8
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3478
jmp 0x37e5
movq %rax, %rbx
jmp 0x37e5
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x33f0
// File: /workspace/github_cpp_makefile_star2_O2/MiWitt[P]HLAbaits/main.cpp
// Function: getUnmappedRegions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
vector<pair<int,int> >  getUnmappedRegions(const string& matches)
{
    vector<pair<int,int> >  vctRet;
    size_t starter = matches.find_first_of("0",0);

    while(starter != string::npos)
    {
        int i = starter;
        int counter =0;
        for(; i < matches.size() && matches[i] == '0';i++)
            counter++;
        if(counter >= MIN_NEW_BAIT_SIZE)
            vctRet.push_back(pair<int,int>((int)starter,(int)starter+counter-1));
        starter = matches.find_first_of("0",i);
    }
    return vctRet;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
leaq 0x360a(%rip), %r15      # 0x7039
movq %rsi, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x3150
leaq 0x8(%rsp), %r12
cmpq $-0x1, %rax
je 0x3a9e
movq (%r14), %rdx
movq 0x8(%r14), %rdi
movslq %eax, %rsi
cmpq %rsi, %rdi
movq %rsi, %r13
cmovaq %rdi, %r13
xorl %ecx, %ecx
cmpq %rsi, %rdi
jbe 0x3a72
cmpb $0x30, (%rdx,%rsi)
jne 0x3a6f
incl %ecx
incq %rsi
jmp 0x3a5d
movq %rsi, %r13
cmpl $0x1e, %ecx
jb 0x3a8e
addl %eax, %ecx
decl %ecx
movl %eax, 0x8(%rsp)
movl %ecx, 0xc(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x534e
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3150
jmp 0x3a41
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x531a
movq %r14, %rdi
callq 0x33f0
// File: /workspace/github_cpp_makefile_star2_O2/MiWitt[P]HLAbaits/CMultiFasta.cpp
// Function: CMultiFasta::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string CMultiFasta::operator[](const string& val)
{
    map<string,string>::iterator iter = m_mapSequences.find(val);
    if(m_mapSequences.end() == iter)
        return "";
    return iter->second;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsi), %rdi
movq %rdx, %rsi
callq 0x629c
addq $0x10, %r14
cmpq %rax, %r14
je 0x6246
addq $0x40, %rax
movq %rbx, %rdi
movq %rax, %rsi
callq 0x32f0
jmp 0x625a
leaq 0xdd9(%rip), %rsi       # 0x7026
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
callq 0x4e06
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_model.h
// Function: ftrl_model::getOrInitModelUnit(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
ftrl_model_unit* ftrl_model::getOrInitModelUnit(string index)
{
    unordered_map<string, ftrl_model_unit*>::iterator iter = muMap.find(index);
    if(iter == muMap.end())
    {
        mtx.lock();
        ftrl_model_unit* pMU = new ftrl_model_unit(factor_num, init_mean, init_stdev);
        muMap.insert(make_pair(index, pMU));
        mtx.unlock();
        return pMU;
    }
    else
    {
        return iter->second;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r12
movq %rdi, %r15
callq 0x5460
testq %rax, %rax
je 0x3719
movq 0x28(%rax), %rbx
jmp 0x377b
leaq 0x50(%r15), %r14
movq %r14, %rdi
callq 0x449c
movl $0x88, %edi
callq 0x3270
movq %rax, %rbx
movl 0x38(%r15), %esi
movsd 0x48(%r15), %xmm0
movsd 0x40(%r15), %xmm1
movq %rax, %rdi
callq 0x44b0
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x32f0
movq %rbx, 0x20(%r13)
movq %r15, %rdi
movq %r13, %rsi
callq 0x557c
leaq 0x8(%rsp), %rdi
callq 0x3458
movq %r14, %rdi
callq 0x31b0
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x3458
jmp 0x37a6
movq %rax, %r14
movq %rbx, %rdi
callq 0x3250
movq %r14, %rdi
callq 0x33f0
// File: /workspace/github_cpp_makefile_star2_O2/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_model.h
// Function: ftrl_model::predict(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, double>>>&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, ftrl_model_unit*, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, ftrl_model_unit*>>>&, std::vector<double, std::allocator<double>>&)
double ftrl_model::predict(unordered_map<string, double>& x, unordered_map<string, ftrl_model_unit*>& theta, vector<double>& sum)
{
    double result = 0;
    for(unordered_map<string, double>::iterator iter = x.begin(); iter != x.end(); ++iter)
    {
        const string& index = iter->first;
        result += theta[index]->wi * iter->second;
    }
    double sum_sqr, d;
    for(int f = 0; f < factor_num; ++f)
    {
        sum[f] = sum_sqr = 0.0;
        for(unordered_map<string, double>::iterator iter = x.begin(); iter != x.end(); ++iter)
        {
            const string& index = iter->first;
            d = theta[index]->vi[f] * iter->second;
            sum[f] += d;
            sum_sqr += d * d;
        }
        result += 0.5 * (sum[f] * sum[f] - sum_sqr);
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
addq $0x10, %r15
xorpd %xmm0, %xmm0
movq %r15, %r13
movq (%r13), %r13
testq %r13, %r13
je 0x3813
leaq 0x8(%r13), %rsi
movq %r14, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0x58f4
movq (%rax), %rax
movsd (%rax), %xmm0
mulsd 0x28(%r13), %xmm0
movsd 0x8(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
jmp 0x37d3
xorl %r13d, %r13d
movslq 0x38(%r12), %rax
cmpq %rax, %r13
jge 0x38bf
movsd %xmm0, 0x8(%rsp)
movq (%rbx), %rax
andq $0x0, (%rax,%r13,8)
xorpd %xmm0, %xmm0
movq %r15, %rbp
xorpd %xmm1, %xmm1
movq (%rbp), %rbp
testq %rbp, %rbp
je 0x3899
leaq 0x8(%rbp), %rsi
movq %r14, %rdi
movsd %xmm1, 0x10(%rsp)
callq 0x58f4
movq (%rax), %rax
movq 0x18(%rax), %rax
movsd (%rax,%r13,8), %xmm1
mulsd 0x28(%rbp), %xmm1
movq (%rbx), %rax
movsd (%rax,%r13,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%r13,8)
mulsd %xmm1, %xmm1
movsd 0x10(%rsp), %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, 0x10(%rsp)
movsd 0x10(%rsp), %xmm1
jmp 0x383d
mulsd %xmm0, %xmm0
subsd %xmm1, %xmm0
mulsd 0x475f(%rip), %xmm0     # 0x8008
movsd 0x8(%rsp), %xmm1
addsd %xmm0, %xmm1
movapd %xmm1, %xmm0
incq %r13
jmp 0x3816
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_model.h
// Function: ftrl_model::getScore(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, double>>>&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, ftrl_model_unit*, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, ftrl_model_unit*>>>&)
double ftrl_model::getScore(unordered_map<string, double>& x, unordered_map<string, ftrl_model_unit*>& theta)
{
    double result = 0;
    for(unordered_map<string, double>::iterator iter = x.begin(); iter != x.end(); ++iter)
    {
        const string& index = iter->first;
        result += get_wi(theta, index) * iter->second;
    }
    double sum, sum_sqr, d;
    for(int f = 0; f < factor_num; ++f)
    {
        sum = sum_sqr = 0.0;
        for(unordered_map<string, double>::iterator iter = x.begin(); iter != x.end(); ++iter)
        {
            const string& index = iter->first;
            d = get_vif(theta, index, f) * iter->second;
            sum += d;
            sum_sqr += d * d;
        }
        result += 0.5 * (sum * sum - sum_sqr);
    }
    //return 1.0/(1.0 + exp(-result));
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
addq $0x10, %r14
xorpd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
movq %r14, %r12
movq (%r12), %r12
testq %r12, %r12
je 0x3923
leaq 0x8(%r12), %rdx
movq %rbx, %rsi
callq 0x39c6
mulsd 0x28(%r12), %xmm0
movsd 0x8(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
jmp 0x38f4
xorl %ebp, %ebp
cmpl 0x38(%r15), %ebp
jge 0x39b2
xorpd %xmm0, %xmm0
movq %r14, %r12
xorpd %xmm1, %xmm1
movq (%r12), %r12
testq %r12, %r12
je 0x398b
leaq 0x8(%r12), %rdx
movq %rbx, %rsi
movl %ebp, %ecx
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
callq 0x39e6
movsd 0x18(%rsp), %xmm1
mulsd 0x28(%r12), %xmm0
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm0
movsd 0x10(%rsp), %xmm2
addsd %xmm0, %xmm2
movsd %xmm2, 0x10(%rsp)
movsd 0x10(%rsp), %xmm0
jmp 0x393a
mulsd %xmm1, %xmm1
subsd %xmm0, %xmm1
mulsd 0x466d(%rip), %xmm1     # 0x8008
movsd 0x8(%rsp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
incl %ebp
jmp 0x3925
movsd 0x8(%rsp), %xmm0
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_model.h
// Function: ftrl_model::get_wi(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, ftrl_model_unit*, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, ftrl_model_unit*>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
double ftrl_model::get_wi(unordered_map<string, ftrl_model_unit*>& theta, const string& index)
{
    unordered_map<string, ftrl_model_unit*>::iterator iter = theta.find(index);
    if(iter == theta.end())
    {
        return 0.0;
    }
    else
    {
        return iter->second->wi;
    }
}

// Assembly:
pushq %rax
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x5460
testq %rax, %rax
je 0x39e1
movq 0x28(%rax), %rax
movsd (%rax), %xmm0
jmp 0x39e4
xorps %xmm0, %xmm0
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_model.h
// Function: ftrl_model::get_vif(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, ftrl_model_unit*, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, ftrl_model_unit*>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
double ftrl_model::get_vif(unordered_map<string, ftrl_model_unit*>& theta, const string& index, int f)
{
    unordered_map<string, ftrl_model_unit*>::iterator iter = theta.find(index);
    if(iter == theta.end())
    {
        return 0.0;
    }
    else
    {
        return iter->second->vi[f];
    }
}

// Assembly:
pushq %rbx
movl %ecx, %ebx
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x5460
testq %rax, %rax
je 0x3a0b
movq 0x28(%rax), %rax
movslq %ebx, %rcx
movq 0x18(%rax), %rax
movsd (%rax,%rcx,8), %xmm0
jmp 0x3a0e
xorps %xmm0, %xmm0
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_model.h
// Function: ftrl_model::loadModel(std::basic_ifstream<char, std::char_traits<char>>&)
bool ftrl_model::loadModel(ifstream& in)
{
    string line;
    vector<string> strVec;
    while(getline(in, line))
    {
        strVec.clear();
        utils::splitString(line, ' ', &strVec);
        if(strVec.size() != 3 * factor_num + 4)
        {
            return false;
        }
        string& index = strVec[0];
        ftrl_model_unit* pMU = new ftrl_model_unit(factor_num, strVec);
        muMap[index] = pMU;
    }
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, 0x8(%rsp)
movq %rdi, %r14
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x10(%rsp), %r15
andq $0x0, 0x10(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, (%r15)
leaq 0x28(%rsp), %r12
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x3040
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x20(%rax,%rcx), %ebp
testb $0x5, %bpl
jne 0x3b75
movq %r15, %rdi
callq 0x467a
movq %r12, %rdi
pushq $0x20
popq %rsi
movq %r15, %rdx
callq 0x7624
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rax
subq %r13, %rax
sarq $0x5, %rax
movslq 0x38(%r14), %rbx
leaq (%rbx,%rbx,2), %rcx
addq $0x4, %rcx
cmpq %rcx, %rax
jne 0x3b75
movl $0x88, %edi
callq 0x3270
movq %rax, %rbp
movq %rax, %rdi
movl %ebx, %esi
movq %r15, %rdx
callq 0x4682
movq %r14, %rdi
movq %r13, %rsi
callq 0x58f4
movq %rbp, (%rax)
jmp 0x3af5
testb $0x5, %bpl
setne %bl
leaq 0x10(%rsp), %rdi
callq 0x480e
leaq 0x28(%rsp), %rdi
callq 0x3458
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rbp, %rdi
callq 0x3250
jmp 0x3bb3
jmp 0x3bb0
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x480e
leaq 0x28(%rsp), %rdi
callq 0x3458
movq %rbx, %rdi
callq 0x33f0
nop