LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmAssignment(Node*, Compiler*)
void WriteAsmAssignment(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    WriteAsmExpression(node->right, compiler);

    if (node->left->type == MEM_ACCESS_TYPE)
    {
        WriteAsmExpression(node->left->right, compiler);

        WriteMovR64Mem(compiler, RAX, RBP, GetVarOfs(FUNC, node->left->left->value.name));
        WritePopR64   (compiler, RBX);
        WriteSalR64   (compiler, RBX, 3);    //sizeof(int64_t)
        WriteSubR64R64(compiler, RAX, RBX);
        WritePopR64   (compiler, RBX);
        WriteMovMemR64(compiler, RAX, RBX);

        return;
    }

    WritePopR64   (compiler, RAX);
    WriteMovMemR64(compiler, RBP, RAX, GetVarOfs(FUNC, node->left->value.name));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rdi
callq 0x2f77
movq 0x18(%r14), %rax
cmpl $0x3, (%rax)
jne 0x2ee0
movq 0x20(%rax), %rdi
movq %rbx, %rsi
callq 0x2f77
movq 0x8(%rbx), %rdi
movq 0x18(%r14), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rsi
callq 0x32d6
movq %rbx, %rdi
xorl %esi, %esi
movl $0x5, %edx
movl %eax, %ecx
callq 0x3ba3
movq %rbx, %rdi
movl $0x3, %esi
callq 0x44d2
movq %rbx, %rdi
movl $0x3, %esi
movl $0x3, %edx
callq 0x45bf
movq %rbx, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x400e
movq %rbx, %rdi
movl $0x3, %esi
callq 0x44d2
movq %rbx, %rdi
xorl %esi, %esi
movl $0x3, %edx
xorl %ecx, %ecx
jmp 0x2f07
movq %rbx, %rdi
xorl %esi, %esi
callq 0x44d2
movq 0x8(%rbx), %rdi
movq 0x18(%r14), %rax
movq 0x8(%rax), %rsi
callq 0x32d6
movq %rbx, %rdi
movl $0x5, %esi
xorl %edx, %edx
movl %eax, %ecx
popq %rbx
popq %r14
popq %rbp
jmp 0x3ca2
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmArrayDeclaration(Node*, Compiler*)
void WriteAsmArrayDeclaration(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    WriteAsmExpression(node->right, compiler);

    WriteMovMemR64(compiler, RBP, RSP, GetVarOfs(FUNC, node->left->value.name));
    WritePopR64   (compiler, RAX);
    WriteSalR64   (compiler, RAX, 3); //sizeof(int64_t)
    WriteSubR64R64(compiler, RSP, RAX);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rdi
callq 0x2f77
movq 0x8(%rbx), %rdi
movq 0x18(%r14), %rax
movq 0x8(%rax), %rsi
callq 0x32d6
movq %rbx, %rdi
movl $0x5, %esi
movl $0x4, %edx
movl %eax, %ecx
callq 0x3ca2
movq %rbx, %rdi
xorl %esi, %esi
callq 0x44d2
movq %rbx, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x45bf
movq %rbx, %rdi
movl $0x4, %esi
xorl %edx, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x400e
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmExpression(Node*, Compiler*)
void WriteAsmExpression(Node* node, Compiler* compiler)
{
    if (node == nullptr)
    {
        return;    
    }

    ASSERT_COMPILER;

    if (node->type == MATH_TYPE && node->value.op >= EQUAL_OP) // is comparison
    {
        WriteAsmExpression(node->left,  compiler);
        WriteAsmExpression(node->right, compiler);
        WriteAsmCompare(node, compiler);
    }
    else
    {
        WriteAsmSimpleExpression(node, compiler);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x2fcb
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0xe, (%rdi)
jne 0x2fbc
cmpl $0x3, 0x8(%r14)
jle 0x2fbc
movq 0x18(%r14), %rdi
movq %rbx, %rsi
callq 0x2f77
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x2f77
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x33d9
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x34b6
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmCondition(Node*, Compiler*)
void WriteAsmCondition(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    WriteAsmExpression(node->left, compiler);

    size_t true_label = compiler->label++;
    size_t false_label = compiler->label++;
    size_t continue_label = compiler->label++;

    WritePopR64(compiler, RAX);
    WriteTest  (compiler, RAX, RAX);

    size_t true_jump_offset  = WriteJumpOp(compiler, NOT_EQUAL_OP, true_label);
    size_t false_jump_offset = WriteJump  (compiler, false_label);
    size_t true_label_offset = WriteLabel (compiler, true_label);

    WriteAsmCompound(node->right->left->right, compiler);

    size_t continue_jump_offset = WriteJump(compiler, continue_label);
    size_t false_label_offset   = WriteLabel(compiler, false_label);

    if (node->right->right != nullptr)
    {
        WriteAsmCompound(node->right->right->right, compiler);
    }

    size_t continue_label_offset = WriteLabel(compiler, continue_label);

    SetInt(&compiler->writer, true_label_offset - true_jump_offset - sizeof(int), true_jump_offset);
    SetInt(&compiler->writer, false_label_offset - false_jump_offset - sizeof(int), false_jump_offset);
    SetInt(&compiler->writer, continue_label_offset - continue_jump_offset - sizeof(int), continue_jump_offset);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r13
movq 0x18(%rdi), %rdi
callq 0x2f77
movq 0x18(%rbx), %r14
leaq 0x1(%r14), %r15
leaq 0x2(%r14), %rax
movq %rax, -0x30(%rbp)
leaq 0x3(%r14), %rax
movq %rax, 0x18(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x44d2
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4736
movq %rbx, %rdi
movl $0x5, %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x47f5
movq %rax, -0x38(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x48b1
movq %rax, -0x40(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4939
movq %rax, %r14
movq 0x20(%r13), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %r12
testq %r12, %r12
je 0x3078
movq 0x18(%r12), %rdi
movq %rbx, %rsi
callq 0x2d78
movq 0x20(%r12), %r12
jmp 0x305f
movq %rbx, %rdi
movq -0x30(%rbp), %rsi
xorl %edx, %edx
callq 0x48b1
movq %rax, %r12
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4939
movq %rax, %r15
movq 0x20(%r13), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x30bf
movq 0x20(%rax), %r13
testq %r13, %r13
je 0x30bf
movq 0x18(%r13), %rdi
movq %rbx, %rsi
callq 0x2d78
movq 0x20(%r13), %r13
jmp 0x30a8
movq %rbx, %rdi
movq -0x30(%rbp), %rsi
callq 0x4939
movq %rax, %r13
addq $0x28, %rbx
movq -0x38(%rbp), %rdx
subl %edx, %r14d
addl $-0x4, %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4fa9
movq -0x40(%rbp), %rdx
subl %edx, %r15d
addl $-0x4, %r15d
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4fa9
subl %r12d, %r13d
addl $-0x4, %r13d
movq %rbx, %rdi
movl %r13d, %esi
movq %r12, %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4fa9
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmLoop(Node*, Compiler*)
void WriteAsmLoop(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    size_t loop_label     = compiler->label++;
    size_t continue_label = compiler->label++;

    size_t loop_label_offset = WriteLabel(compiler, loop_label);

    WriteAsmExpression(node->left, compiler);

    WritePopR64(compiler, RAX);
    WriteTest  (compiler, RAX, RAX);
    size_t continue_jump_offset = WriteJumpOp(compiler, EQUAL_OP, continue_label);

    WriteAsmCompound(node->right->right, compiler);

    size_t loop_jump_offset      = WriteJump (compiler, loop_label);
    size_t continue_label_offset = WriteLabel(compiler, continue_label);

    SetInt(&compiler->writer, loop_label_offset     - loop_jump_offset     - sizeof(int), loop_jump_offset);
    SetInt(&compiler->writer, continue_label_offset - continue_jump_offset - sizeof(int), continue_jump_offset);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
movq 0x18(%rsi), %r12
leaq 0x1(%r12), %r13
leaq 0x2(%r12), %rax
movq %rax, 0x18(%rsi)
movq %rsi, %rdi
movq %r12, %rsi
callq 0x4939
movq %rax, %r14
movq 0x18(%r15), %rdi
movq %rbx, %rsi
callq 0x2f77
movq %rbx, %rdi
xorl %esi, %esi
callq 0x44d2
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4736
movq %rbx, %rdi
movl $0x4, %esi
movq %r13, -0x30(%rbp)
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x47f5
movq %rax, %r13
movq 0x20(%r15), %rax
movq 0x20(%rax), %r15
testq %r15, %r15
je 0x31af
movq 0x18(%r15), %rdi
movq %rbx, %rsi
callq 0x2d78
movq 0x20(%r15), %r15
jmp 0x3198
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x48b1
movq %rax, %r15
movq %rbx, %rdi
movq -0x30(%rbp), %rsi
callq 0x4939
movq %rax, %r12
addq $0x28, %rbx
subl %r15d, %r14d
addl $-0x4, %r14d
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0x4fa9
subl %r13d, %r12d
addl $-0x4, %r12d
movq %rbx, %rdi
movl %r12d, %esi
movq %r13, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4fa9
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmCall(Node*, Compiler*)
void WriteAsmCall(Node* node, Compiler* compiler)
{
    if (WriteAsmStdCall(node, compiler))
    {
        return;
    }

    ASSERT_COMPILER;

    Function* call_func = FindFunc(node->left->value.name, compiler->table);

    if (call_func != nullptr)
    {       
        for (size_t i = 0; i < call_func->num_args; ++i)
        {
            node = node->right;
            if (node == nullptr)
            {
                printf("error : too few arguments for '%s'\n", call_func->name);
                return;
            }

            WriteAsmExpression(node->left, compiler);
        }

        if (node->right != nullptr)
        {
            printf("error : too more arguments for '%s'\n", call_func->name);
        }

        WriteCall     (compiler, call_func);
        WriteAddR64Num(compiler, RSP, call_func->num_args * 8);

        if (!call_func->is_void)
        {
            WritePushR64(compiler, RAX);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
callq 0x369e
testb %al, %al
jne 0x32a2
movq 0x18(%r15), %rax
movq 0x8(%rax), %rdi
movq (%rbx), %rsi
callq 0x2cd5
testq %rax, %rax
je 0x32a2
movq %rax, %r14
cmpq $0x0, 0x18(%rax)
je 0x3264
xorl %r12d, %r12d
movq 0x20(%r15), %r15
testq %r15, %r15
je 0x32bd
movq 0x18(%r15), %rdi
movq %rbx, %rsi
callq 0x2f77
incq %r12
cmpq 0x18(%r14), %r12
jb 0x3246
cmpq $0x0, 0x20(%r15)
je 0x327c
movq (%r14), %rsi
leaq 0x584d(%rip), %rdi      # 0x8ac2
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
movq %r14, %rsi
callq 0x49a3
movl 0x18(%r14), %edx
shll $0x3, %edx
movq %rbx, %rdi
movl $0x4, %esi
callq 0x3f08
cmpb $0x0, 0x10(%r14)
je 0x32ab
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4339
movq (%r14), %rsi
leaq 0x57d7(%rip), %rdi      # 0x8a9e
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2040
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: GetVarOfs(Function*, char*)
int GetVarOfs(Function* function, char* name)
{
    assert(function);
    assert(name);

    for (size_t i = 0; i < function->num_args; ++i)
    {
        if (strcmp(function->vars[i], name) == 0)
        {
            return (i + 2) * sizeof(int64_t);
        }
    }

    for (size_t i = function->num_args; i < function->num_vars + function->num_args; ++i)
    {
        if (strcmp(function->vars[i], name) == 0)
        {
            return - (i - function->num_args + 1) * sizeof(int64_t);
        }
    }
    
    printf("error : '%s' wasn't declarated here\n", name);
    return -0xFFFFFFFF;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x339b
movq %rsi, %rbx
testq %rsi, %rsi
je 0x33ba
movq %rdi, -0x30(%rbp)
movq 0x18(%rdi), %r12
testq %r12, %r12
je 0x3334
movq -0x30(%rbp), %rax
movq 0x8(%rax), %r13
movl $0x10, %r14d
xorl %r15d, %r15d
movq (%r13,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2170
testl %eax, %eax
je 0x3389
incq %r15
addl $0x8, %r14d
cmpq %r15, %r12
jne 0x3317
movq -0x30(%rbp), %rcx
movq 0x20(%rcx), %r13
leaq (%r12,%r13), %rax
cmpq %rax, %r12
jae 0x3372
shlq $0x3, %r12
addq 0x8(%rcx), %r12
movl $0xfffffff8, %r14d      # imm = 0xFFFFFFF8
xorl %r15d, %r15d
movq (%r12,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2170
testl %eax, %eax
je 0x3389
addl $-0x8, %r14d
incq %r15
cmpq %r15, %r13
jne 0x3356
leaq 0x57f3(%rip), %rdi      # 0x8b6c
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2040
movl $0x1, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x579f(%rip), %rdi      # 0x8b41
leaq 0x5512(%rip), %rsi      # 0x88bb
leaq 0x579a(%rip), %rcx      # 0x8b4a
movl $0x2b5, %edx            # imm = 0x2B5
callq 0x20b0
leaq 0x718f(%rip), %rdi      # 0xa550
leaq 0x54f3(%rip), %rsi      # 0x88bb
leaq 0x577b(%rip), %rcx      # 0x8b4a
movl $0x2b6, %edx            # imm = 0x2B6
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmCompare(Node*, Compiler*)
void WriteAsmCompare(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    WritePopR64   (compiler, RAX);
    WritePopR64   (compiler, RBX);
    WriteCmpR64R64(compiler, RBX, RAX);

    size_t true_label     = compiler->label++;
    size_t continue_label = compiler->label++;

    size_t true_jump_offset = WriteJumpOp(compiler, node->value.op, true_label);

    WritePushNum(compiler, 0);
    size_t continue_jump_offset  = WriteJump (compiler, continue_label);
    size_t true_label_offset     = WriteLabel(compiler, true_label);

    WritePushNum(compiler, 1);
    size_t continue_label_offset = WriteLabel(compiler, continue_label);

    SetInt(&compiler->writer, true_label_offset     - true_jump_offset     - sizeof(int), true_jump_offset);
    SetInt(&compiler->writer, continue_label_offset - continue_jump_offset - sizeof(int), continue_jump_offset);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
xorl %esi, %esi
callq 0x44d2
movq %rbx, %rdi
movl $0x3, %esi
callq 0x44d2
movq %rbx, %rdi
movl $0x3, %esi
xorl %edx, %edx
callq 0x4677
movq 0x18(%rbx), %r13
leaq 0x1(%r13), %r12
leaq 0x2(%r13), %rax
movq %rax, 0x18(%rbx)
movl 0x8(%r14), %esi
movq %rbx, %rdi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x47f5
movq %rax, %r14
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4426
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x48b1
movq %rax, %r15
movq %rbx, %rdi
movq %r13, %rsi
callq 0x4939
movq %rax, %r13
movq %rbx, %rdi
movl $0x1, %esi
callq 0x4426
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4939
movq %rax, %r12
addq $0x28, %rbx
subl %r14d, %r13d
addl $-0x4, %r13d
movq %rbx, %rdi
movl %r13d, %esi
movq %r14, %rdx
callq 0x4fa9
subl %r15d, %r12d
addl $-0x4, %r12d
movq %rbx, %rdi
movl %r12d, %esi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4fa9
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmSimpleExpression(Node*, Compiler*)
void WriteAsmSimpleExpression(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    if (node->type == MATH_TYPE)
    {
        WriteAsmSimpleExpression(node->left,  compiler);
        WriteAsmSimpleExpression(node->right, compiler);
        
        WritePopR64(compiler, RBX);
        WritePopR64(compiler, RAX);

        switch (node->value.op)
        {
            case ADD_OP :
            {   
                WriteAddR64R64(compiler, RAX, RBX);
                break;
            }
            case SUB_OP :
            {
                WriteSubR64R64(compiler, RAX, RBX);
                break;
            }
            case MUL_OP :
            {
                WriteMulR64(compiler, RBX);
                break;
            }
            case DIV_OP :
            {   
                WriteDivR64(compiler, RBX);
                break;
            }
            default:
            {
                printf("I am here, but I shouldn't, line = %d\n", __LINE__);
            }
        }

        WritePushR64(compiler, RAX);
    }
    else
    {
        WriteAsmPrimaryExpression(node, compiler);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0xe, (%rdi)
jne 0x3522
movq 0x18(%r14), %rdi
movq %rbx, %rsi
callq 0x34b6
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x34b6
movq %rbx, %rdi
movl $0x3, %esi
callq 0x44d2
movq %rbx, %rdi
xorl %esi, %esi
callq 0x44d2
movl 0x8(%r14), %eax
cmpq $0x3, %rax
ja 0x3560
leaq 0x4b4c(%rip), %rcx      # 0x8054
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x3e49
jmp 0x3573
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x3581
movq %rbx, %rdi
movl $0x3, %esi
callq 0x41d3
jmp 0x3573
movq %rbx, %rdi
movl $0x3, %esi
callq 0x4277
jmp 0x3573
movq %rbx, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x400e
jmp 0x3573
leaq 0x5510(%rip), %rdi      # 0x8a77
movl $0x20f, %esi            # imm = 0x20F
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x4339
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmPrimaryExpression(Node*, Compiler*)
void WriteAsmPrimaryExpression(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    switch (node->type)
    {
        case ID_TYPE :
        {
            WriteMovR64Mem(compiler, RAX, RBP, GetVarOfs(FUNC, node->value.name));
            WritePushR64  (compiler, RAX);
            break;
        }
        case NUMB_TYPE :
        {
            WritePushNum(compiler, node->value.number);
            break;
        }
        case MEM_ACCESS_TYPE :
        {
            WriteAsmMemoryAccess(node, compiler);
            break;
        }
        case CALL_TYPE :
        {
            WriteAsmCall(node, compiler);
            break;
        }
        default :
        {
            printf("I am here, but I shouldn't, line = %d\n", __LINE__);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl (%rdi), %eax
cmpl $0xb, %eax
jg 0x35cc
cmpl $0x3, %eax
je 0x3600
cmpl $0x4, %eax
jne 0x35e7
movq 0x8(%rbx), %rax
movq 0x8(%rdi), %rsi
movq %rax, %rdi
callq 0x32d6
movq %rbx, %rdi
xorl %esi, %esi
movl $0x5, %edx
movl %eax, %ecx
callq 0x3ba3
movq %rbx, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4339
cmpl $0xc, %eax
je 0x360e
cmpl $0xf, %eax
jne 0x35e7
movl 0x8(%rdi), %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4426
leaq 0x5489(%rip), %rdi      # 0x8a77
movl $0x238, %esi            # imm = 0x238
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2040
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x361c
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x320a
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmMemoryAccess(Node*, Compiler*)
void WriteAsmMemoryAccess(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    WriteAsmExpression(node->right, compiler);

    WriteMovR64Mem(compiler, RAX, RBP, GetVarOfs(FUNC, node->left->value.name));
    WritePopR64   (compiler, RBX);
    WriteSalR64   (compiler, RBX, 3);
    WriteSubR64R64(compiler, RAX, RBX);
    WriteMovR64Mem(compiler, RAX, RAX);
    WritePushR64  (compiler, RAX);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rdi
callq 0x2f77
movq 0x8(%rbx), %rdi
movq 0x18(%r14), %rax
movq 0x8(%rax), %rsi
callq 0x32d6
movq %rbx, %rdi
xorl %esi, %esi
movl $0x5, %edx
movl %eax, %ecx
callq 0x3ba3
movq %rbx, %rdi
movl $0x3, %esi
callq 0x44d2
movq %rbx, %rdi
movl $0x3, %esi
movl $0x3, %edx
callq 0x45bf
movq %rbx, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x400e
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3ba3
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x4339
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: WriteAsmStdCall(Node*, Compiler*)
bool WriteAsmStdCall(Node* node, Compiler* compiler)
{
    ASSERT_COMPILER;

    if (strcmp(node->left->value.name, SCAN) == 0)
    {
        WriteCall   (compiler, "scan");
        WritePushR64(compiler, RAX);
        return true;
    }

    if (strcmp(node->left->value.name, PRINT) == 0)
    {
        WriteAsmExpression(node->right->left, compiler);

        WriteCall  (compiler, "print");
        WritePopR64(compiler, RBX); //cleaning stack
        return true;
    }

    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rax
movq 0x8(%rax), %r15
movq 0xaa83(%rip), %rsi      # 0xe140
movq %r15, %rdi
callq 0x2170
testl %eax, %eax
je 0x36e0
movq 0xaa78(%rip), %rsi      # 0xe148
movq %r15, %rdi
callq 0x2170
testl %eax, %eax
je 0x36fb
xorl %eax, %eax
jmp 0x3729
leaq 0x5400(%rip), %rsi      # 0x8ae7
movq %rbx, %rdi
callq 0x4a56
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4339
jmp 0x3727
movq 0x20(%r14), %rax
movq 0x18(%rax), %rdi
movq %rbx, %rsi
callq 0x2f77
leaq 0x53da(%rip), %rsi      # 0x8aec
movq %rbx, %rdi
callq 0x4a56
movq %rbx, %rdi
movl $0x3, %esi
callq 0x44d2
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: GetNumFunc(Tree*)
size_t GetNumFunc(Tree* tree)
{
    assert(tree);

    size_t result = 0;
    Node* node = tree->root;

    while (node != nullptr)
    {
        node = node->left;
        result++;
    }

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
je 0x3752
movq (%rdi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0x3750
incq %rax
movq 0x18(%rcx), %rcx
jmp 0x3742
popq %rbp
retq
leaq 0x5501(%rip), %rdi      # 0x8c5a
leaq 0x515b(%rip), %rsi      # 0x88bb
leaq 0x5494(%rip), %rcx      # 0x8bfb
movl $0x2f0, %edx            # imm = 0x2F0
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: NewNameTable()
NameTable* NewNameTable()
{
    NameTable* table = (NameTable*)calloc(1, sizeof(NameTable));
    assert(table);

    table->num_func  = 0;
    table->functions = nullptr;

    return table;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl $0x1, %edi
movl $0x10, %esi
callq 0x20c0
testq %rax, %rax
je 0x378b
popq %rbp
retq
leaq 0x51be(%rip), %rdi      # 0x8950
leaq 0x5122(%rip), %rsi      # 0x88bb
leaq 0x5475(%rip), %rcx      # 0x8c15
movl $0x301, %edx            # imm = 0x301
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: FillNameTable(NameTable*, Tree*)
void FillNameTable(NameTable* table, Tree* tree)
{
    assert(table);
    assert(tree);

    Node* node = tree->root;

    for (size_t i = 0; i < table->num_func; ++i)
    {
        GetFunction(node->right, table->functions + i);
        node = node->left;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x37fe
movq %rsi, %rbx
testq %rsi, %rsi
je 0x381d
movq %rdi, %r14
cmpq $0x0, 0x8(%rdi)
je 0x37f5
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rbx), %rbx
movq 0x20(%rbx), %rdi
movq (%r14), %rsi
addq %r15, %rsi
callq 0x383c
addq $0x18, %rbx
incq %r12
addq $0x30, %r15
cmpq 0x8(%r14), %r12
jb 0x37d2
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x514b(%rip), %rdi      # 0x8950
leaq 0x50af(%rip), %rsi      # 0x88bb
leaq 0x541c(%rip), %rcx      # 0x8c2f
movl $0x30b, %edx            # imm = 0x30B
callq 0x20b0
leaq 0x5436(%rip), %rdi      # 0x8c5a
leaq 0x5090(%rip), %rsi      # 0x88bb
leaq 0x53fd(%rip), %rcx      # 0x8c2f
movl $0x30c, %edx            # imm = 0x30C
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: GetFunction(Node*, Function*)
void GetFunction(Node* subtree, Function* function)
{
    assert(subtree);
    assert(function);

    function->name     = subtree->value.name;
    function->is_void  = subtree->parent->value.is_void;

    function->num_args = GetNumArgs(subtree->right);
    function->num_vars = GetNumVars(subtree->left->right);

    function->vars = (char**)calloc(function->num_args + function->num_vars, sizeof(char*));

    GetNames(function->vars, subtree);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x38bf
movq %rsi, %r14
testq %rsi, %rsi
je 0x38de
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq %rax, (%r14)
movq 0x10(%rdi), %rax
movb 0x8(%rax), %al
movb %al, 0x10(%r14)
movq 0x20(%rdi), %rax
xorl %r15d, %r15d
testq %rax, %rax
je 0x3881
movq 0x20(%rax), %rax
incq %r15
jmp 0x3873
movq %r15, 0x18(%r14)
movq 0x18(%rbx), %rax
movq 0x20(%rax), %rdi
callq 0x3919
movq %rax, 0x20(%r14)
addq %rax, %r15
movl $0x8, %esi
movq %r15, %rdi
callq 0x20c0
movq %rax, 0x8(%r14)
movq %rax, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x395e
leaq 0x5391(%rip), %rdi      # 0x8c57
leaq 0x4fee(%rip), %rsi      # 0x88bb
leaq 0x538b(%rip), %rcx      # 0x8c5f
movl $0x319, %edx            # imm = 0x319
callq 0x20b0
leaq 0x525c(%rip), %rdi      # 0x8b41
leaq 0x4fcf(%rip), %rsi      # 0x88bb
leaq 0x536c(%rip), %rcx      # 0x8c5f
movl $0x31a, %edx            # imm = 0x31A
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: GetNumArgs(Node*)
size_t GetNumArgs(Node* node)
{
    size_t result = 0;

    while (node != nullptr)
    {
        node = node->right;
        result++;
    }

    return result;
}

// Assembly:
testq %rdi, %rdi
je 0x3916
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
movq 0x20(%rdi), %rdi
incq %rax
testq %rdi, %rdi
jne 0x3908
popq %rbp
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: GetNumVars(Node*)
size_t GetNumVars(Node* node)
{
    if (node == nullptr)
    {
        return 0;
    }

    int num = 0;

    if (node->type == DECL_TYPE || node->type == ADECL_TYPE)
    {
        num = 1;
    }

    return num + GetNumVars(node->left) + GetNumVars(node->right);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x394e
movq %rdi, %r14
xorl %ebx, %ebx
movl (%r14), %r15d
decl %r15d
movq 0x18(%r14), %rdi
callq 0x3919
cmpl $0x2, %r15d
movq 0x20(%r14), %r14
adcq %rax, %rbx
testq %r14, %r14
jne 0x392d
jmp 0x3950
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: GetNames(char**, Node*)
void GetNames(char** vars, Node* subtree)
{
    assert(vars);
    assert(subtree);

    Node* arg = subtree->right;

    size_t ofs = 0;

    for (; arg != nullptr; ++ofs)
    {
        vars[ofs] = arg->value.name;

        arg = arg->right;
    }

    GetVars(subtree->left->right, vars, &ofs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
testq %rdi, %rdi
je 0x39ac
testq %rsi, %rsi
je 0x39cb
movq %rdi, %rax
movq 0x20(%rsi), %rdx
xorl %ecx, %ecx
testq %rdx, %rdx
je 0x398f
movq 0x8(%rdx), %rdi
movq %rdi, (%rax,%rcx,8)
movq 0x20(%rdx), %rdx
incq %rcx
jmp 0x3979
leaq -0x8(%rbp), %rdx
movq %rcx, (%rdx)
movq 0x18(%rsi), %rcx
movq 0x20(%rcx), %rdi
movq %rax, %rsi
callq 0x39ea
addq $0x10, %rsp
popq %rbp
retq
leaq 0x52d1(%rip), %rdi      # 0x8c84
leaq 0x4f01(%rip), %rsi      # 0x88bb
leaq 0x52c8(%rip), %rcx      # 0x8c89
movl $0x347, %edx            # imm = 0x347
callq 0x20b0
leaq 0x5285(%rip), %rdi      # 0x8c57
leaq 0x4ee2(%rip), %rsi      # 0x88bb
leaq 0x52a9(%rip), %rcx      # 0x8c89
movl $0x348, %edx            # imm = 0x348
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/compiling.cpp
// Function: GetVars(Node*, char**, unsigned long*)
void GetVars(Node* node, char** vars, size_t* ofs)
{
    assert(vars);
    assert(ofs);

    if (node == nullptr)
    {
        return;
    }

    if (node->type == DECL_TYPE || node->type == ADECL_TYPE)
    {
        vars[(*ofs)++] = node->left->value.name;
    }

    GetVars(node->right, vars, ofs);
    GetVars(node->left,  vars, ofs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x3a4f
movq %rdx, %rbx
testq %rdx, %rdx
je 0x3a6e
movq %rdi, %r15
testq %rdi, %rdi
je 0x3a44
movq %rsi, %r14
movl (%r15), %eax
decl %eax
cmpl $0x1, %eax
ja 0x3a2c
movq 0x18(%r15), %rax
movq 0x8(%rax), %rax
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movq %rax, (%r14,%rcx,8)
movq 0x20(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x39ea
movq 0x18(%r15), %r15
testq %r15, %r15
jne 0x3a0c
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x522e(%rip), %rdi      # 0x8c84
leaq 0x4e5e(%rip), %rsi      # 0x88bb
leaq 0x5244(%rip), %rcx      # 0x8ca8
movl $0x35a, %edx            # imm = 0x35A
callq 0x20b0
leaq 0x525b(%rip), %rdi      # 0x8cd0
leaq 0x4e3f(%rip), %rsi      # 0x88bb
leaq 0x5225(%rip), %rcx      # 0x8ca8
movl $0x35b, %edx            # imm = 0x35B
callq 0x20b0
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteMovR64R64(Compiler*, R64, R64)
void WriteMovR64R64(Compiler* compiler, R64 reg1, R64 reg2)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64R64(reg1, reg2));
    SetByte(&compiler->writer, mov_r64_r64);
    SetByte(&compiler->writer, CodeR64R64(mode_r64_r64, reg2, reg1));

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "mov %s, %s\n\t", REGS[reg1], REGS[reg2]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x3b84
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x28(%rdi), %r12
cmpl $0x8, %esi
setge %al
cmpl $0x8, %edx
setge %cl
shlb $0x2, %cl
orb %al, %cl
orb $0x48, %cl
movzbl %cl, %esi
movq %r12, %rdi
callq 0x4f40
movq %r12, %rdi
movl $0xffffff89, %esi       # imm = 0xFFFFFF89
callq 0x4f40
movl %r14d, %eax
andl $0x7, %eax
leal (%rax,%rbx,8), %eax
orb $-0x40, %al
movsbl %al, %esi
movq %r12, %rdi
callq 0x4f40
cmpb $0x1, 0x20(%r15)
jne 0x3b7b
movq 0x10(%r15), %rdi
movl %r14d, %eax
leaq 0xa5f5(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
movl %ebx, %eax
movq (%rcx,%rax,8), %rcx
leaq 0x524f(%rip), %rsi      # 0x8dbb
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2180
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4d7a(%rip), %rdi      # 0x8905
leaq 0x51e4(%rip), %rsi      # 0x8d76
leaq 0x51f8(%rip), %rcx      # 0x8d91
movl $0x6e, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteMovR64Mem(Compiler*, R64, R64, int)
void WriteMovR64Mem(Compiler* compiler, R64 reg1, R64 reg2, int offset)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64R64(reg1, reg2));
    SetByte(&compiler->writer, mov_r64_mem);
    SetByte(&compiler->writer, CodeR64R64(mode_r64_mem_4_bytes, reg1, reg2));

    if (reg2 == RSP || reg2 == R12)
    {
        SetByte(&compiler->writer, additional_rsp_r12_byte);
    }

    SetInt(&compiler->writer, offset);

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "mov %s, [%s + %d]\n\t", REGS[reg1], REGS[reg2], offset);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3c83
movl %ecx, %ebx
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %r12
leaq 0x28(%rdi), %r13
cmpl $0x8, %esi
setge %al
cmpl $0x8, %edx
setge %cl
shlb $0x2, %cl
orb %al, %cl
orb $0x48, %cl
movzbl %cl, %esi
movq %r13, %rdi
callq 0x4f40
movq %r13, %rdi
movl $0xffffff8b, %esi       # imm = 0xFFFFFF8B
callq 0x4f40
movl %r15d, %eax
andl $0x7, %eax
movl %r14d, %ecx
andl $0x7, %ecx
leal (%rcx,%rax,8), %eax
orb $-0x80, %al
movsbl %al, %esi
movq %r13, %rdi
callq 0x4f40
movl %r14d, %eax
andl $-0x9, %eax
cmpl $0x4, %eax
jne 0x3c29
movq %r13, %rdi
movl $0x24, %esi
callq 0x4f40
movq %r13, %rdi
movl %ebx, %esi
callq 0x4f81
cmpb $0x1, 0x20(%r12)
jne 0x3c74
movq 0x10(%r12), %rdi
movl %r15d, %eax
leaq 0xa506(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
movl %r14d, %eax
movq (%rcx,%rax,8), %rcx
leaq 0x519b(%rip), %rsi      # 0x8df7
movl %ebx, %r8d
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2180
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4c7b(%rip), %rdi      # 0x8905
leaq 0x50e5(%rip), %rsi      # 0x8d76
leaq 0x5130(%rip), %rcx      # 0x8dc8
movl $0x7c, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteMovMemR64(Compiler*, R64, R64, int)
void WriteMovMemR64(Compiler* compiler, R64 reg1, R64 reg2, int offset)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64R64(reg2, reg1));
    SetByte(&compiler->writer, mov_mem_r64);
    SetByte(&compiler->writer, CodeR64R64(mode_r64_mem_4_bytes, reg2, reg1));

    if (reg1 == RSP || reg1 == R12)
    {
        SetByte(&compiler->writer, additional_rsp_r12_byte);
    }

    SetInt(&compiler->writer, offset);

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "mov [%s + %d], %s\n\t", REGS[reg1], offset, REGS[reg2]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3d81
movl %ecx, %ebx
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %r12
leaq 0x28(%rdi), %r13
cmpl $0x8, %edx
setge %al
cmpl $0x8, %esi
setge %cl
shlb $0x2, %cl
orb %al, %cl
orb $0x48, %cl
movzbl %cl, %esi
movq %r13, %rdi
callq 0x4f40
movq %r13, %rdi
movl $0xffffff89, %esi       # imm = 0xFFFFFF89
callq 0x4f40
movl %r14d, %eax
andl $0x7, %eax
movl %r15d, %ecx
andl $0x7, %ecx
leal (%rcx,%rax,8), %eax
orb $-0x80, %al
movsbl %al, %esi
movq %r13, %rdi
callq 0x4f40
movl %r15d, %eax
andl $-0x9, %eax
cmpl $0x4, %eax
jne 0x3d28
movq %r13, %rdi
movl $0x24, %esi
callq 0x4f40
movq %r13, %rdi
movl %ebx, %esi
callq 0x4f81
cmpb $0x1, 0x20(%r12)
jne 0x3d72
movq 0x10(%r12), %rdi
movl %r15d, %eax
leaq 0xa407(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
movl %r14d, %eax
movq (%rcx,%rax,8), %r8
leaq 0x50df(%rip), %rsi      # 0x8e3a
movl %ebx, %ecx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2180
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4b7d(%rip), %rdi      # 0x8905
leaq 0x4fe7(%rip), %rsi      # 0x8d76
leaq 0x5075(%rip), %rcx      # 0x8e0b
movl $0x91, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteMovR64Num(Compiler*, R64, long)
void WriteMovR64Num(Compiler* compiler, R64 reg, int64_t value)
{
    assert(compiler);

    if (compiler->memory_optimization_required && abs(value) < max_int)
    {
        if (reg > RDI)
        {
            SetByte(&compiler->writer, additional_push_pop_byte);
        }

        SetByte(&compiler->writer, CodeR64(mode_mov_r64_num, reg));
        SetInt(&compiler->writer, value);
    }
    else
    {
        SetByte(&compiler->writer, CodeRexByteR64(reg));
        SetByte(&compiler->writer, CodeR64(mode_mov_r64_num, reg));
        SetLong(&compiler->writer, value);
    }

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "mov %s, %ld\n\t", REGS[reg], value);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x3e2a
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x28(%rdi), %r12
xorl %esi, %esi
cmpl $0x8, %r14d
setge %sil
orl $0x48, %esi
movq %r12, %rdi
callq 0x4f40
movl %r14d, %eax
andb $0x7, %al
orb $-0x48, %al
movsbl %al, %esi
movq %r12, %rdi
callq 0x4f40
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4fb5
cmpb $0x1, 0x20(%r15)
jne 0x3e21
movq 0x10(%r15), %rdi
movl %r14d, %eax
leaq 0xa34c(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
leaq 0x506d(%rip), %rsi      # 0x8e7c
movq %rbx, %rcx
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2180
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4ad4(%rip), %rdi      # 0x8905
leaq 0x4f3e(%rip), %rsi      # 0x8d76
leaq 0x500f(%rip), %rcx      # 0x8e4e
movl $0xa6, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteAddR64R64(Compiler*, R64, R64)
void WriteAddR64R64(Compiler* compiler, R64 reg1, R64 reg2)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64R64(reg1, reg2));
    SetByte(&compiler->writer, add_r64_r64);
    SetByte(&compiler->writer, CodeR64R64(mode_r64_r64, reg2, reg1));

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "add %s, %s\n\t", REGS[reg1], REGS[reg2]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x3ee9
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x28(%rdi), %r12
cmpl $0x8, %esi
setge %al
cmpl $0x8, %edx
setge %cl
shlb $0x2, %cl
orb %al, %cl
orb $0x48, %cl
movzbl %cl, %esi
movq %r12, %rdi
callq 0x4f40
movq %r12, %rdi
movl $0x1, %esi
callq 0x4f40
movl %r14d, %eax
andl $0x7, %eax
leal (%rax,%rbx,8), %eax
orb $-0x40, %al
movsbl %al, %esi
movq %r12, %rdi
callq 0x4f40
cmpb $0x1, 0x20(%r15)
jne 0x3ee0
movq 0x10(%r15), %rdi
movl %r14d, %eax
leaq 0xa290(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
movl %ebx, %eax
movq (%rcx,%rax,8), %rcx
leaq 0x4fe3(%rip), %rsi      # 0x8eb4
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2180
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4a15(%rip), %rdi      # 0x8905
leaq 0x4e7f(%rip), %rsi      # 0x8d76
leaq 0x4f8c(%rip), %rcx      # 0x8e8a
movl $0xc1, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteAddR64Num(Compiler*, R64, int)
void WriteAddR64Num(Compiler* compiler, R64 reg, int value)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64(reg));

    if (compiler->memory_optimization_required && abs(value) < max_char)
    {
        SetByte(&compiler->writer, add_r64_num1);
        SetByte(&compiler->writer, CodeR64(mode_add_r64_num, reg));
        SetByte(&compiler->writer, value);
    }
    else
    {
        SetByte(&compiler->writer, add_r64_num4);
        SetByte(&compiler->writer, CodeR64(mode_add_r64_num, reg));
        SetInt (&compiler->writer, value);
    }

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "add %s, %d\n\t", REGS[reg], value);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3fef
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x28(%rdi), %r12
xorl %esi, %esi
cmpl $0x8, %r14d
setge %sil
orl $0x48, %esi
movq %r12, %rdi
callq 0x4f40
movl %ebx, %eax
negl %eax
cmovsl %ebx, %eax
movl %r14d, %r13d
andb $0x7, %r13b
orb $-0x40, %r13b
cmpb $0x1, 0x22(%r15)
jne 0x3f86
cmpl $0xfe, %eax
ja 0x3f86
movq %r12, %rdi
movl $0xffffff83, %esi       # imm = 0xFFFFFF83
callq 0x4f40
movsbl %r13b, %esi
movq %r12, %rdi
callq 0x4f40
movsbl %bl, %esi
movq %r12, %rdi
callq 0x4f40
jmp 0x3fa9
movq %r12, %rdi
movl $0xffffff81, %esi       # imm = 0xFFFFFF81
callq 0x4f40
movsbl %r13b, %esi
movq %r12, %rdi
callq 0x4f40
movq %r12, %rdi
movl %ebx, %esi
callq 0x4f81
cmpb $0x1, 0x20(%r15)
jne 0x3fe0
movq 0x10(%r15), %rdi
movl %r14d, %eax
leaq 0xa192(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
leaq 0x4f22(%rip), %rsi      # 0x8eeb
movl %ebx, %ecx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2180
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x490f(%rip), %rdi      # 0x8905
leaq 0x4d79(%rip), %rsi      # 0x8d76
leaq 0x4ebd(%rip), %rcx      # 0x8ec1
movl $0xcf, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteSubR64R64(Compiler*, R64, R64)
void WriteSubR64R64(Compiler* compiler, R64 reg1, R64 reg2)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64R64(reg1, reg2));
    SetByte(&compiler->writer, sub_r64_r64);
    SetByte(&compiler->writer, CodeR64R64(mode_r64_r64, reg2, reg1));

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "sub %s, %s\n\t", REGS[reg1], REGS[reg2]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x40ae
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x28(%rdi), %r12
cmpl $0x8, %esi
setge %al
cmpl $0x8, %edx
setge %cl
shlb $0x2, %cl
orb %al, %cl
orb $0x48, %cl
movzbl %cl, %esi
movq %r12, %rdi
callq 0x4f40
movq %r12, %rdi
movl $0x29, %esi
callq 0x4f40
movl %r14d, %eax
andl $0x7, %eax
leal (%rax,%rbx,8), %eax
orb $-0x40, %al
movsbl %al, %esi
movq %r12, %rdi
callq 0x4f40
cmpb $0x1, 0x20(%r15)
jne 0x40a5
movq 0x10(%r15), %rdi
movl %r14d, %eax
leaq 0xa0cb(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
movl %ebx, %eax
movq (%rcx,%rax,8), %rcx
leaq 0x4e8c(%rip), %rsi      # 0x8f22
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2180
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4850(%rip), %rdi      # 0x8905
leaq 0x4cba(%rip), %rsi      # 0x8d76
leaq 0x4e35(%rip), %rcx      # 0x8ef8
movl $0xe8, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteSubR64Num(Compiler*, R64, int)
void WriteSubR64Num(Compiler* compiler, R64 reg, int value)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64(reg));
    
    if (compiler->memory_optimization_required && abs(value) < max_char)
    {
        SetByte(&compiler->writer, sub_r64_num1);
        SetByte(&compiler->writer, CodeR64(mode_sub_r64_num, reg));

        SetByte(&compiler->writer, value);
    }
    else
    {
        SetByte(&compiler->writer, sub_r64_num4);
        SetByte(&compiler->writer, CodeR64(mode_sub_r64_num, reg));

        SetInt(&compiler->writer, value);
    }

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "sub %s, %d\n\t", REGS[reg], value);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x41b4
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x28(%rdi), %r12
xorl %esi, %esi
cmpl $0x8, %r14d
setge %sil
orl $0x48, %esi
movq %r12, %rdi
callq 0x4f40
movl %ebx, %eax
negl %eax
cmovsl %ebx, %eax
movl %r14d, %r13d
andb $0x7, %r13b
orb $-0x18, %r13b
cmpb $0x1, 0x22(%r15)
jne 0x414b
cmpl $0xfe, %eax
ja 0x414b
movq %r12, %rdi
movl $0xffffff83, %esi       # imm = 0xFFFFFF83
callq 0x4f40
movsbl %r13b, %esi
movq %r12, %rdi
callq 0x4f40
movsbl %bl, %esi
movq %r12, %rdi
callq 0x4f40
jmp 0x416e
movq %r12, %rdi
movl $0xffffff81, %esi       # imm = 0xFFFFFF81
callq 0x4f40
movsbl %r13b, %esi
movq %r12, %rdi
callq 0x4f40
movq %r12, %rdi
movl %ebx, %esi
callq 0x4f81
cmpb $0x1, 0x20(%r15)
jne 0x41a5
movq 0x10(%r15), %rdi
movl %r14d, %eax
leaq 0x9fcd(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
leaq 0x4dcb(%rip), %rsi      # 0x8f59
movl %ebx, %ecx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2180
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x474a(%rip), %rdi      # 0x8905
leaq 0x4bb4(%rip), %rsi      # 0x8d76
leaq 0x4d66(%rip), %rcx      # 0x8f2f
movl $0xf6, %edx
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteMulR64(Compiler*, R64)
void WriteMulR64(Compiler* compiler, R64 reg)
{
    assert(compiler);

    SetByte(&compiler->writer, CodeRexByteR64(reg));
    SetByte(&compiler->writer, mul_div_r64);
    SetByte(&compiler->writer, CodeR64(mode_mul_r64_num, reg));

    if (compiler->asm_listing_required)
    {
        fprintf(compiler->file, "imul %s\n\t", REGS[reg]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x4258
movl %esi, %ebx
movq %rdi, %r14
leaq 0x28(%rdi), %r15
xorl %esi, %esi
cmpl $0x8, %ebx
setge %sil
orl $0x48, %esi
movq %r15, %rdi
callq 0x4f40
movq %r15, %rdi
movl $0xfffffff7, %esi       # imm = 0xFFFFFFF7
callq 0x4f40
movl %ebx, %eax
andb $0x7, %al
orb $-0x20, %al
movsbl %al, %esi
movq %r15, %rdi
callq 0x4f40
cmpb $0x1, 0x20(%r14)
jne 0x424d
movq 0x10(%r14), %rdi
movl %ebx, %eax
leaq 0x9f1f(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
leaq 0x4d4c(%rip), %rsi      # 0x8f88
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2180
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x46a6(%rip), %rdi      # 0x8905
leaq 0x4b10(%rip), %rsi      # 0x8d76
leaq 0x4cf9(%rip), %rcx      # 0x8f66
movl $0x111, %edx            # imm = 0x111
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/vssense[P]Compiler/src/back-end/byte_code.cpp
// Function: WriteDivR64(Compiler*, R64)
void WriteDivR64(Compiler* compiler, R64 reg)
{
    assert(compiler);

    SetByte(&compiler->writer, cqo_first_byte);
    SetByte(&compiler->writer, cqo_second_byte);

    SetByte(&compiler->writer, CodeRexByteR64(reg));
    SetByte(&compiler->writer, mul_div_r64);
    SetByte(&compiler->writer, CodeR64(mode_div_r64_num, reg));

    if (compiler->asm_listing_required)
    {    
        fprintf(compiler->file, "cqo    \n\t"
                                "idiv %s\n\t", REGS[reg]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x431a
movl %esi, %ebx
movq %rdi, %r14
leaq 0x28(%rdi), %r15
movq %r15, %rdi
movl $0x48, %esi
callq 0x4f40
movq %r15, %rdi
movl $0xffffff99, %esi       # imm = 0xFFFFFF99
callq 0x4f40
xorl %esi, %esi
cmpl $0x8, %ebx
setge %sil
orl $0x48, %esi
movq %r15, %rdi
callq 0x4f40
movq %r15, %rdi
movl $0xfffffff7, %esi       # imm = 0xFFFFFFF7
callq 0x4f40
movl %ebx, %eax
andb $0x7, %al
orb $-0x10, %al
movsbl %al, %esi
movq %r15, %rdi
callq 0x4f40
cmpb $0x1, 0x20(%r14)
jne 0x430f
movq 0x10(%r14), %rdi
movl %ebx, %eax
leaq 0x9e5d(%rip), %rcx      # 0xe150
movq (%rcx,%rax,8), %rdx
leaq 0x4cb6(%rip), %rsi      # 0x8fb4
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2180
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x45e4(%rip), %rdi      # 0x8905
leaq 0x4a4e(%rip), %rsi      # 0x8d76
leaq 0x4c63(%rip), %rcx      # 0x8f92
movl $0x11f, %edx            # imm = 0x11F
callq 0x20b0