LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/test_SnowFlake.cc
// Function: main
int main() {
    LLOG_FILE(); 
    SnowFlake sf(2, 3);
    pthread_t tid;
    pthread_create(&tid, NULL, test, &sf);
    for (int i = 0; i < (1<<12); i++) {
        LLOG(INFO) << sf.nextId();
    }
    pthread_join(tid, NULL);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
callq 0x2862
movq %rax, %rbx
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1a2d(%rip), %rsi      # 0x4020
leaq 0x1a30(%rip), %rdx      # 0x402a
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x3bca
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3164
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2629
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2180
xorps %xmm0, %xmm0
leaq 0xd0(%rsp), %rcx
movups %xmm0, 0x30(%rcx)
movups %xmm0, 0x20(%rcx)
movq $0x0, 0x40(%rcx)
movq $0x2, (%rcx)
movq $0x3, 0x8(%rcx)
movups %xmm0, 0x10(%rcx)
leaq -0x252(%rip), %rdx      # 0x240c
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
leaq 0x40(%rsp), %rbx
movl $0x1000, %r13d          # imm = 0x1000
movq %rsp, %r12
leaq 0x30(%rsp), %r14
leaq 0x70(%rsp), %r15
callq 0x2862
cmpl $0x0, (%rax)
jg 0x27b0
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r12, %rdi
leaq 0x1961(%rip), %rsi      # 0x4004
leaq 0x1970(%rip), %rdx      # 0x401a
callq 0x3bca
movq %rbx, 0x30(%rsp)
movq %r14, %rdi
leaq 0x196d(%rip), %rsi      # 0x402b
leaq 0x196a(%rip), %rdx      # 0x402f
callq 0x3bca
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r14, %rcx
movl $0x13, %r8d
callq 0x2936
leaq 0xd0(%rsp), %rdi
callq 0x2d04
movq %rax, 0x20(%rsp)
movq %r15, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2c2c
movq %rax, %rbp
callq 0x2862
movq %rax, %rdi
movq %rbp, %rsi
callq 0x2f00
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x2737
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x275c
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x277e
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2795
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2180
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x27b0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
decl %r13d
jne 0x2682
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x2150
xorl %eax, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x283b
movq 0x60(%rsp), %rsi
jmp 0x2833
movq %rax, %r14
jmp 0x2820
movq %rax, %r14
jmp 0x283b
movq %rax, %r14
jmp 0x2809
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0x3116
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2820
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2180
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x283b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
movq %r14, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../utils/lightlog.h
// Function: llog::Message& llog::Message::operator<<<char [48]>(char const (&) [48])
Message& operator<<(const T & t) {
        std::stringstream ss;
        ss << t;
        msg += ss.str();
        return *this;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
callq 0x20c0
leaq 0x38(%rsp), %r15
movq %r14, %rdi
callq 0x2080
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21b0
leaq 0x40(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x2240
leaq 0x40(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0x2050
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3dcc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x21e5(%rip), %rsi      # 0x5fb8
leaq 0x28(%rsp), %rdi
callq 0x20e0
leaq 0xa8(%rsp), %rdi
callq 0x2060
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3e1f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x3e1f
jmp 0x3e1c
movq %rax, %rbx
movq 0x2192(%rip), %rsi      # 0x5fb8
leaq 0x28(%rsp), %rdi
callq 0x20e0
leaq 0xa8(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../SnowFlake.h
// Function: SnowFlake::nextId()
uint64_t nextId() {
        std::unique_lock<std::mutex> lock(mutex_);
        uint64_t currStmp = getNewstmp();
        if (currStmp < lastStmp) {
            LLOG(ERRO) << "Clock moved backwards.  Refusing to generate id";
            exit(0);
        }

        if (currStmp == lastStmp) {
            sequence = (sequence + 1) & max_sequence_num_;
            if (sequence == 0) {
                currStmp = getNextMill();
            }
        } else {
            sequence = 0;
        }
        lastStmp = currStmp;
        return (currStmp - start_stmp_) << timestmp_left
                | datacenterId << datacenter_left
                | machineId << machine_left
                | sequence;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xb0, %rsp
movq %rdi, %rbx
leaq 0x20(%rdi), %rax
leaq 0x40(%rsp), %r14
movq %rax, (%r14)
movb $0x0, 0x8(%r14)
movq %r14, %rdi
callq 0x3ed6
movb $0x1, 0x8(%r14)
leaq 0x50(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x2250
movq 0x8(%r14), %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rcx # imm = 0x20C49BA5E353F7CF
mulq %rcx
imulq $0x3e8, (%r14), %rax    # imm = 0x3E8
shrq $0x4, %rdx
addq %rdx, %rax
cmpq 0x18(%rbx), %rax
jb 0x2dd6
jne 0x2d86
movl 0x10(%rbx), %ecx
incl %ecx
andl $0xfff, %ecx            # imm = 0xFFF
movq %rcx, 0x10(%rbx)
jne 0x2d8e
movq %rbx, %rdi
callq 0x3e46
jmp 0x2d8e
movq $0x0, 0x10(%rbx)
movq %rax, 0x18(%rbx)
shlq $0x16, %rax
movabsq $-0x562832f817c00000, %rcx # imm = 0xA9D7CD07E8400000
addq %rax, %rcx
movq (%rbx), %rax
movq 0x8(%rbx), %r14
shlq $0x11, %rax
shlq $0xc, %r14
orq %rax, %r14
orq %rcx, %r14
orq 0x10(%rbx), %r14
leaq 0x40(%rsp), %rdi
callq 0x3ec0
movq %r14, %rax
addq $0xb0, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x2862
cmpl $0x2, (%rax)
jg 0x2e9c
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x12af(%rip), %rsi      # 0x40a3
leaq 0x12bb(%rip), %rdx      # 0x40b6
leaq 0x20(%rsp), %rdi
callq 0x3bca
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x12a2(%rip), %rsi      # 0x40b7
leaq 0x12a1(%rip), %rdx      # 0x40bd
movq %rsp, %rdi
callq 0x3bca
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
movl $0x2, %esi
movl $0x43, %r8d
callq 0x2936
leaq 0x1276(%rip), %rsi      # 0x40be
leaq 0x50(%rsp), %rdi
callq 0x3d58
movq %rax, %rbx
callq 0x2862
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2f00
leaq 0x50(%rsp), %rdi
callq 0x3116
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2e85
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2e9c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
xorl %edi, %edi
callq 0x21d0
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x3116
jmp 0x2eb5
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2ed0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2ed0
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2eee
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2eee
jmp 0x2eeb
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x3ec0
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../utils/lightlog.h
// Function: llog::Logger::operator+=(llog::Message const&)
void operator+=(const Message& m)
    {
        mtx_.lock();
        if (console_)
            std::cout << m.get_string() + '\n';
        if (file_)
            log_file << m.get_string(false) + '\n';
        mtx_.unlock();
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x327a(%rip), %rdi      # 0x6190
callq 0x2210
testl %eax, %eax
jne 0x30be
cmpb $0x1, 0x4(%rbx)
jne 0x2fe6
leaq 0x20(%r14), %rsi
leaq 0x40(%r14), %rdx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x3f39
movq 0x8(%r15), %rsi
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
movl $0xa, %r8d
callq 0x22b0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2f81
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x2f88
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq 0x3028(%rip), %rdi      # 0x5fd8
callq 0x21b0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2fcb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2fe6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
cmpb $0x1, 0x5(%rbx)
jne 0x30a8
leaq 0x40(%r14), %rdx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3f39
movq 0x8(%r15), %rsi
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
movl $0xa, %r8d
callq 0x22b0
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3043
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x304a
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
addq $0x8, %rbx
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x308d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x30a8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x30e1(%rip), %rdi      # 0x6190
callq 0x2100
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl %eax, %edi
callq 0x20a0
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x30e1
jmp 0x30f3
jmp 0x30f0
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x30f3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x30f3
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x310e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../utils/lightlog.h
// Function: llog::Logger::init_log_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void init_log_file(std::string log_file_name = "output.log") {
        if (file_ == true)
            log_file.close();
        log_file.open(log_file_name);
        file_ = true;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x1, 0x5(%rdi)
jne 0x317d
leaq 0x8(%rbx), %rdi
callq 0x2200
leaq 0x8(%rbx), %rdi
movq %r14, %rsi
movl $0x10, %edx
callq 0x2090
movb $0x1, 0x5(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../utils/lightlog.h
// Function: llog::Logger::Logger()
Logger() {
        if (getenv("LLOG_LV") == NULL)
            m_level_ = LOG_LEVEL_INFO;
        else{
            std::string ev_level = getenv("LLOG_LV");
            if (ev_level == "WARN")
                m_level_ = LOG_LEVEL_WARNING;
            else if (ev_level == "ERRO")
                m_level_ = LOG_LEVEL_ERROR;
            else
                m_level_ = LOG_LEVEL_INFO;
        }
        console_ = true;
        file_ = false;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x2260
leaq 0xe79(%rip), %rdi       # 0x4030
callq 0x21e0
testq %rax, %rax
je 0x3210
leaq 0xe68(%rip), %rdi       # 0x4030
callq 0x21e0
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rax, %rsi
callq 0x28f8
leaq 0xe52(%rip), %rsi       # 0x4038
leaq 0x8(%rsp), %rdi
callq 0x2040
testl %eax, %eax
je 0x3218
leaq 0xe42(%rip), %rsi       # 0x403d
leaq 0x8(%rsp), %rdi
callq 0x2040
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
addl %ecx, %ecx
jmp 0x321d
movl $0x0, (%rbx)
jmp 0x323a
movl $0x1, %ecx
movl %ecx, (%rbx)
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x323a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movw $0x1, 0x4(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x2220
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../utils/lightlog.h
// Function: llog::Message::colorStr(int, int, 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&, bool)
std::string colorStr(int color, int bold, const std::string & delimiter, const std::string & t, bool if_color = true) {
        std::stringstream ss;
        if (if_color)
            ss << "\033[" << bold << ";" << color << "m";
        ss << t;
        if (if_color)
            ss << "\033[0m";
        ss << delimiter;
		return ss.str();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %r9, %r15
movq %r8, %r14
movl %ecx, %r12d
movl %edx, %ebp
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x20c0
cmpb $0x0, 0x1c0(%rsp)
je 0x3b24
leaq 0x10(%rsp), %r13
leaq 0x598(%rip), %rsi       # 0x406f
movl $0x2, %edx
movq %r13, %rdi
callq 0x21b0
movq %r13, %rdi
movl %r12d, %esi
callq 0x2270
movq %rax, %r12
leaq 0x579(%rip), %rsi       # 0x4072
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq %r12, %rdi
movl %ebp, %esi
callq 0x2270
leaq 0x560(%rip), %rsi       # 0x4077
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
leaq 0x10(%rsp), %r12
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x21b0
cmpb $0x0, 0x1c0(%rsp)
je 0x3b56
leaq 0x52b(%rip), %rsi       # 0x4074
movl $0x4, %edx
movq %r12, %rdi
callq 0x21b0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0x21b0
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0x2240
movq 0x243f(%rip), %rsi      # 0x5fb8
movq %rsp, %rdi
callq 0x20e0
leaq 0x80(%rsp), %rdi
callq 0x2060
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x240b(%rip), %rsi      # 0x5fb8
movq %rsp, %rdi
callq 0x20e0
leaq 0x80(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../SnowFlake.h
// Function: SnowFlake::getNextMill()
uint64_t getNextMill() {
        uint64_t mill = getNewstmp();
        while (mill <= lastStmp) {
            mill = getNewstmp();
        }
        return mill;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x2250
movq 0x8(%r14), %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %r15 # imm = 0x20C49BA5E353F7CF
mulq %r15
imulq $0x3e8, (%r14), %rax    # imm = 0x3E8
shrq $0x4, %rdx
addq %rdx, %rax
cmpq 0x18(%rbx), %rax
ja 0x3eb6
movq %rsp, %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x2250
movq 0x8(%rsp), %rax
shrq $0x3, %rax
mulq %r15
imulq $0x3e8, (%rsp), %rax    # imm = 0x3E8
shrq $0x4, %rdx
addq %rdx, %rax
cmpq 0x18(%rbx), %rax
jbe 0x3e8b
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/pmi.cpp
// Function: model::load(std::istream&)
void model::load(std::istream& in) {
    clear();
    lock();
    
    report("Loading...");
    
    size dictionarySize;
    in.read((char*)&dictionarySize, sizeof(dictionarySize));
    for(word i = 0; i < dictionarySize; ++i) {
        char s[wordMaxLength];
        in.read(s, wordMaxLength);
        std::string w(s);
        dictionary[w] = i;
        words.push_back(w);
    }
    size matrixSize;
    in.read((char*)&matrixSize, sizeof(matrixSize));
    for(size i = 0; i < matrixSize; ++i) {
        pair key;
        in.read((char*)&key, sizeof(key));
        occurences val;
        in.read((char*)&val, sizeof(val));
        lockedCount.push_back(std::make_pair(key, val));
    }
    report("Done\n");
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x3076
movq %r14, %rdi
callq 0x3184
movq 0x6ae9(%rip), %r15      # 0x8fc8
movq (%r15), %rcx
leaq 0x3bcb(%rip), %rdi      # 0x60b4
pushq $0xa
popq %rsi
pushq $0x1
popq %rdx
callq 0x2240
movq (%r15), %rdi
callq 0x2160
leaq 0x38(%rsp), %r15
pushq $0x8
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2170
cmpq $0x0, (%r15)
je 0x25a5
leaq 0x8(%r14), %rax
movq %rax, (%rsp)
leaq 0x40(%r14), %r12
xorl %r15d, %r15d
leaq 0x40(%rsp), %r13
leaq 0x10(%rsp), %rbp
movq %rbx, %rdi
movq %r13, %rsi
pushq $0x40
popq %rdx
callq 0x2170
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r13, %rdi
callq 0x2090
leaq (%rsp,%rax), %rdx
addq $0x40, %rdx
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2f3a
movq (%rsp), %rdi
movq %rbp, %rsi
callq 0x3f7a
movq %r15, (%rax)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x31a8
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x259b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2130
incq %r15
cmpq 0x38(%rsp), %r15
jb 0x2532
leaq 0x30(%rsp), %r15
pushq $0x8
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2170
cmpq $0x0, (%r15)
je 0x2650
leaq 0x90(%r14), %rax
movq %rax, (%rsp)
xorl %r12d, %r12d
pushq $0x10
popq %r13
leaq 0xc(%rsp), %rbp
pushq $0x4
popq %r15
movq %rbx, %rdi
leaq 0x10(%rsp), %rsi
movq %r13, %rdx
callq 0x2170
movq %rbx, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x2170
movaps 0x10(%rsp), %xmm0
movaps %xmm0, 0x40(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x50(%rsp)
movq 0x98(%r14), %rsi
cmpq 0xa0(%r14), %rsi
je 0x2638
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movaps %xmm1, 0x10(%rsi)
movaps %xmm0, (%rsi)
addq $0x20, 0x98(%r14)
jmp 0x2646
movq (%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x33e4
incq %r12
cmpq 0x30(%rsp), %r12
jb 0x25dd
movq 0x6971(%rip), %rbx      # 0x8fc8
movq (%rbx), %rcx
leaq 0x3a15(%rip), %rdi      # 0x6076
pushq $0x5
popq %rsi
pushq $0x1
popq %rdx
callq 0x2240
movq (%rbx), %rdi
callq 0x2160
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x26a5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2130
movq %rbx, %rdi
callq 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/pmi.cpp
// Function: hash(unsigned long, unsigned long, unsigned long)
ngram hash(word a, word b, word c) {
    if (a > c) {
        std::swap(a, c);
    }
    if (a > b) {
        std::swap(a, b);
    }
    if (b > c) {
        std::swap(b, c);
    }

    return a | (b << 21) | (c << 42);
}

// Assembly:
cmpq %rdx, %rdi
movq %rdx, %rax
cmovbq %rdi, %rax
cmovaq %rdi, %rdx
cmpq %rsi, %rax
movq %rsi, %rcx
cmovbq %rax, %rcx
cmovbeq %rsi, %rax
cmpq %rsi, %rdx
movq %rax, %rsi
cmovbq %rdx, %rsi
cmovaeq %rdx, %rax
shlq $0x15, %rsi
orq %rcx, %rsi
shlq $0x2a, %rax
orq %rsi, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/pmi.cpp
// Function: model::clear()
void model::clear() {
    locked = false;
    dictionary.clear();
    words.clear();
    unlockedCount.clear();
    lockedCount.clear();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movb $0x0, (%rdi)
addq $0x8, %rdi
callq 0x2ec2
leaq 0x40(%rbx), %rdi
movq 0x40(%rbx), %rsi
callq 0x3276
leaq 0x58(%rbx), %rdi
callq 0x2e52
movq 0x90(%rbx), %rax
cmpq %rax, 0x98(%rbx)
je 0x30b3
movq %rax, 0x98(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/pmi.cpp
// Function: model::count(unsigned long, unsigned long) const
occurences model::count(ngram x, ngram y) const {
    if(x > y) {
        std::swap(x, y);
    }
    if(locked) {
        auto key = std::make_pair((pair(x) << (3 * 21)) | pair(y), occurences(0));
        auto I = std::lower_bound(lockedCount.begin(), lockedCount.end(), key);
        if(I == lockedCount.end() ||
           I->first != key.first) {
            report("%d %d %llx %llx %llx %llx\n", I == lockedCount.end() , I->first != key.first,
                   uint64(I->first >> 64),
                   uint64((I->first << 64) >> 64),
                   uint64(key.first >> 64),
                   uint64((key.first << 64) >> 64)
                   );
            return 0;
        }
        return I->second;
    } else {
        return unlockedCount.at((pair(x) << (3 * 21)) | pair(y));
    }
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
cmpq %rdx, %rsi
movq %rdx, %rax
cmovaq %rsi, %rax
cmovbq %rsi, %rdx
cmpb $0x1, (%rdi)
jne 0x312f
movq %rdx, %rcx
shrq %rcx
shlq $0x3f, %rdx
orq %rax, %rdx
movq %rsp, %rax
movq %rcx, 0x8(%rax)
movq %rdx, (%rax)
movl $0x0, 0x10(%rax)
movq 0x90(%rbx), %rdi
movq 0x98(%rbx), %rsi
movq %rax, %rdx
callq 0x32c8
movq 0x98(%rbx), %rcx
cmpq %rcx, %rax
je 0x3160
movdqa (%rax), %xmm0
pcmpeqb (%rsp), %xmm0
pmovmskb %xmm0, %edx
cmpl $0xffff, %edx           # imm = 0xFFFF
jne 0x3160
movl 0x10(%rax), %eax
jmp 0x315a
addq $0x58, %rbx
movq %rdx, %rcx
shrq %rcx
shlq $0x3f, %rdx
orq %rax, %rdx
movq %rsp, %rsi
movq %rcx, 0x8(%rsi)
movq %rdx, (%rsi)
movq %rbx, %rdi
callq 0x3332
testq %rax, %rax
je 0x3178
movl 0x20(%rax), %eax
addq $0x20, %rsp
popq %rbx
retq
xorl %edi, %edi
cmpq %rcx, %rax
sete %dil
movq %rsp, %rdx
movq %rax, %rsi
callq 0x26ad
xorl %eax, %eax
jmp 0x315a
leaq 0x2f40(%rip), %rdi      # 0x60bf
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/train.cpp
// Function: model::push(unsigned long, unsigned long)
void model::push(ngram x, ngram y) {
    if(x > y) {
        std::swap(x, y);
    }
    ++unlockedCount[(pair(x) << (3 * 21)) | pair(y)];
    return;
}

// Assembly:
subq $0x18, %rsp
cmpq %rdx, %rsi
movq %rdx, %rax
cmovbq %rsi, %rax
cmovaq %rsi, %rdx
addq $0x58, %rdi
movq %rax, %rcx
shrq %rcx
shlq $0x3f, %rax
orq %rdx, %rax
movq %rsp, %rsi
movq %rcx, 0x8(%rsi)
movq %rax, (%rsi)
callq 0x4c76
incl (%rax)
addq $0x18, %rsp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/train.cpp
// Function: void model::processWindow<std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*>>(std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&, std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&)
void model::processWindow(const ForwardIterator& begin, const ForwardIterator& end) {
    auto ngrams = getNgrams(begin, end);
    for(auto i : ngrams) {
        for(auto j : ngrams) {
            push(i, j);
        }
    }
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
callq 0x4f96
movq (%r14), %r15
movq 0x8(%r14), %rax
movq %rax, 0x18(%rsp)
cmpq %rax, %r15
je 0x4a63
addq $0x58, %rbx
leaq 0x20(%rsp), %r14
movq (%rsp), %r13
movq 0x8(%rsp), %rbp
cmpq %rbp, %r13
je 0x4a58
movq (%r15), %r12
movq (%r13), %rax
cmpq %rax, %r12
movq %rax, %rcx
cmovaq %r12, %rax
cmovbq %r12, %rcx
movq %rcx, %rdx
shrq %rdx
shlq $0x3f, %rcx
orq %rax, %rcx
movq %rdx, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4c76
incl (%rax)
addq $0x8, %r13
cmpq %rbp, %r13
jne 0x4a19
addq $0x8, %r15
cmpq 0x18(%rsp), %r15
jne 0x4a08
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x4a79
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2130
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x4aa1
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2130
movq %rbx, %rdi
callq 0x2220
nop
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/train.cpp
// Function: std::vector<unsigned long, std::allocator<unsigned long>> getUnigrams<std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*>>(std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&, std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&)
std::vector<ngram> getUnigrams(const T& begin, const T& end) {
    std::unordered_set<ngram> ngrams;
    for(auto I = begin; I != end; ++I) {
        ngrams.insert(hash(*I));
    }
    return std::vector<ngram> (ngrams.begin(), ngrams.end());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, 0x10(%rsp)
leaq 0x50(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movq (%rsi), %rbp
cmpq (%rdx), %rbp
je 0x5210
movq %rdx, %r14
movq 0x10(%rsi), %r12
movq 0x18(%rsi), %rbx
leaq 0x20(%rsp), %r15
leaq 0x8(%rsp), %r13
movq (%rbp), %rdi
movl $0x1fffff, %esi         # imm = 0x1FFFFF
movl $0x1fffff, %edx         # imm = 0x1FFFFF
callq 0x2fcc
movq %rax, 0x18(%rsp)
movq %r15, 0x8(%rsp)
movq %r15, %rdi
leaq 0x18(%rsp), %rsi
movq %r13, %rdx
callq 0x5540
addq $0x8, %rbp
cmpq %r12, %rbp
jne 0x520b
movq 0x8(%rbx), %rbp
addq $0x8, %rbx
leaq 0x200(%rbp), %r12
cmpq (%r14), %rbp
jne 0x51c6
movq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x54fe
leaq 0x20(%rsp), %rdi
callq 0x5888
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5247
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x5888
movq %rbx, %rdi
callq 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/train.cpp
// Function: std::vector<unsigned long, std::allocator<unsigned long>> getBigrams<std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*>>(std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&, std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&)
std::vector<ngram> getBigrams(const T& begin, const T& end) {
    std::unordered_set<ngram> ngrams;
    for(auto I = begin, J = std::next(I); J != end; ++I, ++J) {
        ngrams.insert(hash(*I, *J));
    }
    return std::vector<ngram> (ngrams.begin(), ngrams.end());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r13
movq %rdi, 0x10(%rsp)
leaq 0x50(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movq (%rsi), %rbp
movq 0x10(%rsi), %r15
movq 0x18(%rsi), %rbx
leaq 0x8(%rbp), %r14
movq %rbx, (%rsp)
movq %r15, %r12
cmpq %r15, %r14
jne 0x52c3
leaq 0x8(%rbx), %rax
movq %rax, (%rsp)
movq 0x8(%rbx), %r14
leaq 0x200(%r14), %r12
cmpq (%r13), %r14
je 0x532b
movq (%rbp), %rdi
movq (%r14), %rsi
movl $0x1fffff, %edx         # imm = 0x1FFFFF
callq 0x2fcc
movq %rax, 0x18(%rsp)
leaq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
leaq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x5540
addq $0x8, %rbp
cmpq %r15, %rbp
jne 0x5310
movq 0x8(%rbx), %rbp
addq $0x8, %rbx
leaq 0x200(%rbp), %r15
addq $0x8, %r14
cmpq %r12, %r14
jne 0x52c3
movq (%rsp), %rax
movq 0x8(%rax), %r14
addq $0x8, %rax
movq %rax, (%rsp)
jmp 0x52bc
movq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x54fe
leaq 0x20(%rsp), %rdi
callq 0x5888
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5362
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x5888
movq %rbx, %rdi
callq 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/YerevaNN[P]pmi/train.cpp
// Function: std::vector<unsigned long, std::allocator<unsigned long>> getTrigrams<std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*>>(std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&, std::_Deque_iterator<unsigned long, unsigned long&, unsigned long*> const&)
std::vector<ngram> getTrigrams(const T& begin, const T& end) {
    std::unordered_set<ngram> ngrams;
    for(auto I = begin, J = std::next(I), K = std::next(J); K != end; ++I, ++J, ++K) {
        ngrams.insert(hash(*I, *J, *K));
    }
    return std::vector<ngram> (ngrams.begin(), ngrams.end());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, 0x20(%rsp)
movq %rdi, 0x30(%rsp)
leaq 0x70(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movq (%rsi), %rbp
movq 0x10(%rsi), %rbx
movq 0x18(%rsi), %rax
leaq 0x8(%rbp), %r14
movq %rax, %rcx
movq %rbx, %r13
cmpq %rbx, %r14
jne 0x53db
leaq 0x8(%rax), %rcx
movq 0x8(%rax), %r14
leaq 0x200(%r14), %r13
movq %rax, 0x18(%rsp)
leaq 0x8(%r14), %r15
movq %rcx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %r13, %r12
cmpq %r13, %r15
jne 0x540f
movq 0x10(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x8(%rax), %r15
leaq 0x200(%r15), %r12
movq 0x20(%rsp), %rax
cmpq (%rax), %r15
je 0x54b2
movq (%rbp), %rdi
movq (%r14), %rsi
movq (%r15), %rdx
callq 0x2fcc
movq %rax, 0x38(%rsp)
leaq 0x40(%rsp), %rdi
movq %rdi, 0x28(%rsp)
leaq 0x38(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x5540
addq $0x8, %rbp
cmpq %rbx, %rbp
jne 0x546c
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rbp
addq $0x8, %rax
movq %rax, 0x18(%rsp)
leaq 0x200(%rbp), %rbx
addq $0x8, %r14
cmpq %r13, %r14
jne 0x548e
movq 0x10(%rsp), %rax
movq 0x8(%rax), %r14
addq $0x8, %rax
movq %rax, 0x10(%rsp)
leaq 0x200(%r14), %r13
addq $0x8, %r15
cmpq %r12, %r15
jne 0x540f
movq 0x8(%rsp), %rax
movq 0x8(%rax), %r15
addq $0x8, %rax
movq %rax, 0x8(%rsp)
jmp 0x5408
movq 0x50(%rsp), %rsi
leaq 0x28(%rsp), %rcx
movq 0x30(%rsp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x54fe
leaq 0x40(%rsp), %rdi
callq 0x5888
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x54e9
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x5888
movq %rbx, %rdi
callq 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/front-end_main.cpp
// Function: main
int main(const int argc, const char* argv[])
{
    FrontEndInfo info = {};
    info.input_file = argv[1];

    info.parser_dump_required = (strcmp(argv[parser_dump_flag_offset], "1") == 0);
    info.tree_dump_required   = (strcmp(argv[tree_dump_flag_offset],   "1") == 0);
    info.emit_tree_requiered  = (strcmp(argv[emit_tree_flag_offset],   "1") == 0);
    info.emit_code_requiered  = (strcmp(argv[emit_code_flag_offset],   "1") == 0);

    if (argc - 1 > emit_code_flag_offset)
    {
        info.output_file = argv[emit_code_flag_offset + 1];
    }


    if (info.emit_code_requiered)
    {
        const char* output = "translated_program.shl";
        if (info.output_file != nullptr)
        {
            output = info.output_file;
        }

        Translate(info.input_file, output);
        return 0;
    }

    Parser* parser = Parse(info.input_file);
    if (info.parser_dump_required)
    {
        ParserDump(parser);
    }

    Tree* tree = GetTree(parser);
    if (info.tree_dump_required)
    {
        TreeDump(tree);
    }

    if (info.emit_tree_requiered)
    {
        const char* output = "tree_in_written_form.txt";
        WriteToFile(tree, info.output_file);
    }
    else
    {
        WriteToFile(tree, tree_tmp_file);
    }

    DestructTree(tree);
    DeleteTree(tree);

    DestructParser(parser);
    DeleteParser(parser);
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %r14d
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rdi
leaq 0x3d38(%rip), %r12      # 0x6017
movq %r12, %rsi
callq 0x2140
movl %eax, %r13d
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x2140
movl %eax, -0x2c(%rbp)
movq 0x20(%rbx), %rdi
movq %r12, %rsi
callq 0x2140
movl %eax, -0x30(%rbp)
movq 0x28(%rbx), %rdi
movq %r12, %rsi
callq 0x2140
cmpl $0x7, %r14d
jl 0x2320
movq 0x30(%rbx), %rbx
jmp 0x2322
xorl %ebx, %ebx
testl %eax, %eax
je 0x2391
movq %r15, %rdi
callq 0x307e
movq %rax, %r15
testl %r13d, %r13d
jne 0x233e
movq %r15, %rdi
callq 0x31ba
movq %r15, %rdi
callq 0x39f8
movq %rax, %r14
cmpl $0x0, -0x2c(%rbp)
jne 0x2357
movq %r14, %rdi
callq 0x36ed
cmpl $0x0, -0x30(%rbp)
je 0x2364
movq 0x7d8c(%rip), %rbx      # 0xa0f0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x23b8
movq %r14, %rdi
callq 0x396d
movq %r14, %rdi
callq 0x39cc
movq %r15, %rdi
callq 0x3101
movq %r15, %rdi
callq 0x318e
jmp 0x23a7
testq %rbx, %rbx
leaq 0x3c7e(%rip), %rsi      # 0x6019
cmovneq %rbx, %rsi
movq %r15, %rdi
callq 0x4a70
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: Translate(char const*, char const*)
void Translate(const char* input, const char* output)
{
    assert(input);

    Tree* tree = GetTreeFromFile(input);
    TreeDump(tree);
    FILE* translate = fopen(output, "w");
    assert(translate);

    fprintf(translate, "~ THIS FILE WAS GENERATED AUTOMATICLY\n"
                       "~ TREE TAKED FROM FILE '%s'          \n"
                       "~ CHECK FILE BEFORE COMPILING      \n\n", input);

    TranslateTree(tree, translate);

    DestructTree(tree);
    DeleteTree(tree);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x4ae5
movq %rsi, %r15
movq %rdi, %r14
callq 0x256e
movq %rax, %rbx
movq %rax, %rdi
callq 0x36ed
leaq 0x15e0(%rip), %rsi      # 0x607c
movq %r15, %rdi
callq 0x2100
testq %rax, %rax
je 0x4b04
movq %rax, %r15
leaq 0x27c3(%rip), %rsi      # 0x7276
movq %rax, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2150
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4b23
movq %rbx, %rdi
callq 0x396d
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x39cc
leaq 0x16c3(%rip), %rdi      # 0x61af
leaq 0x2731(%rip), %rsi      # 0x7224
leaq 0x2747(%rip), %rcx      # 0x7241
movl $0x18, %edx
callq 0x2090
leaq 0x2761(%rip), %rdi      # 0x726c
leaq 0x2712(%rip), %rsi      # 0x7224
leaq 0x2728(%rip), %rcx      # 0x7241
movl $0x1d, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateTree(Tree*, _IO_FILE*)
void TranslateTree(Tree* tree, FILE* file)
{
    assert(tree);
    assert(file);

    Node* node = tree->root;

    while (node != nullptr)
    {
        TranslateFunc(node->right, file);
        node = node->left;
        fprintf(file, "\n");
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x4b63
movq %rsi, %rbx
testq %rsi, %rsi
je 0x4b82
movq (%rdi), %r14
testq %r14, %r14
je 0x4b5e
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x4ba1
movq 0x18(%r14), %r14
movl $0xa, %edi
movq %rbx, %rsi
callq 0x2120
jmp 0x4b3a
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x14c6(%rip), %rdi      # 0x6030
leaq 0x26b3(%rip), %rsi      # 0x7224
leaq 0x2770(%rip), %rcx      # 0x72e8
movl $0x2b, %edx
callq 0x2090
leaq 0x1c6a(%rip), %rdi      # 0x67f3
leaq 0x2694(%rip), %rsi      # 0x7224
leaq 0x2751(%rip), %rcx      # 0x72e8
movl $0x2c, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateFunc(Node*, _IO_FILE*)
void TranslateFunc(Node* node, FILE* file)
{
    assert(node);
    assert(file);

    fprintf(file, "%s %s(", OPERATORS[DECLARATOR].rus_name, node->value.name);
    TranslateArgs(node->right, file);
    fprintf(file, ")\n");
    TranslateCompound(node->left, file, 0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x4c0b
movq %rsi, %rbx
testq %rsi, %rsi
je 0x4c2a
movq %rdi, %r14
movq 0x8(%rdi), %rcx
leaq 0x276b(%rip), %rsi      # 0x732e
leaq 0x1991(%rip), %rdx      # 0x655b
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2150
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x4c49
leaq 0x274e(%rip), %rdi      # 0x7335
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x21b0
movq 0x18(%r14), %rdi
movq %rbx, %rsi
xorl %edx, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x4cc0
leaq 0x14cc(%rip), %rdi      # 0x60de
leaq 0x260b(%rip), %rsi      # 0x7224
leaq 0x26eb(%rip), %rcx      # 0x730b
movl $0x3a, %edx
callq 0x2090
leaq 0x1bc2(%rip), %rdi      # 0x67f3
leaq 0x25ec(%rip), %rsi      # 0x7224
leaq 0x26cc(%rip), %rcx      # 0x730b
movl $0x3b, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateArgs(Node*, _IO_FILE*)
void TranslateArgs(Node* node, FILE* file)
{
    assert(file);

    if (node != nullptr)
    {
        fprintf(file, "%s", node->value.name);
        node = node->right;

        while (node != nullptr)
        {
            fprintf(file, ", %s", node->value.name);
            node = node->right;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x4ca1
movq %rdi, %r14
testq %rdi, %rdi
je 0x4c96
movq %rsi, %rbx
movq 0x8(%r14), %rdi
callq 0x20f0
movq 0x20(%r14), %r15
testq %r15, %r15
je 0x4c96
leaq 0x26df(%rip), %r14      # 0x735b
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x2150
movq 0x20(%r15), %r15
testq %r15, %r15
jne 0x4c7c
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b4b(%rip), %rdi      # 0x67f3
leaq 0x2575(%rip), %rsi      # 0x7224
leaq 0x2682(%rip), %rcx      # 0x7338
movl $0x45, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateCompound(Node*, _IO_FILE*, unsigned long)
void TranslateCompound(Node* node, FILE* file, size_t num_tabs)
{
    assert(node);
    assert(file);

    if (node == nullptr)
    {
        return;
    }

    node = node->right;
    SetTabs(file, num_tabs);
    fprintf(file, "%s\n", OPERATORS[OPENING_BRACE].rus_name);

    while (node != nullptr)
    {
        TranslateStatement(node->left, file, num_tabs + 1);
        node = node->right;
    }

    SetTabs(file, num_tabs);
    fprintf(file, "%s\n", OPERATORS[CLOSING_BRACE].rus_name);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x4d73
movq %rsi, %rbx
testq %rsi, %rsi
je 0x4d92
movq %rdx, %r14
movq 0x20(%rdi), %r12
testq %rdx, %rdx
je 0x4d01
movq %r14, %r15
movl $0x9, %edi
movq %rbx, %rsi
callq 0x2120
decq %r15
jne 0x4cef
leaq 0x26a4(%rip), %rsi      # 0x73ac
leaq 0x18c9(%rip), %rdx      # 0x65d8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2150
testq %r12, %r12
je 0x4d3c
leaq 0x1(%r14), %r15
movq 0x18(%r12), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x4dfe
movq 0x20(%r12), %r12
testq %r12, %r12
jne 0x4d22
testq %r14, %r14
je 0x4d53
movl $0x9, %edi
movq %rbx, %rsi
callq 0x2120
decq %r14
jne 0x4d41
leaq 0x2652(%rip), %rsi      # 0x73ac
leaq 0x1886(%rip), %rdx      # 0x65e7
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2150
leaq 0x1364(%rip), %rdi      # 0x60de
leaq 0x24a3(%rip), %rsi      # 0x7224
leaq 0x25f5(%rip), %rcx      # 0x737d
movl $0x60, %edx
callq 0x2090
leaq 0x1a5a(%rip), %rdi      # 0x67f3
leaq 0x2484(%rip), %rsi      # 0x7224
leaq 0x25d6(%rip), %rcx      # 0x737d
movl $0x61, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateExpression(Node*, _IO_FILE*)
void TranslateExpression(Node* node, FILE* file)
{
    assert(node);
    assert(file);

    switch (node->type)
    {
        case MATH_TYPE :
        {
            if (NeededBracket(node))
            {
                fprintf(file, "(");
            }
            
            TranslateExpression(node->left, file);
            fprintf(file, " %s ", STRING_MATH_OP[node->value.op]);
            TranslateExpression(node->right, file);

            if (NeededBracket(node)) 
            {
                fprintf(file, ")");
            }
            break;
        }
        case NUMB_TYPE :
        {   
            IntToDrevniyRus(file, node->value.number);   
            break;
        }
        case CALL_TYPE :
        {
            if (!TranslateStdCall(node, file))
            {
                fprintf(file, "%s(", node->left->value.name);
                TranslateParams(node->right, file);
                fprintf(file, ")");
            }
            break;
        }
        case ID_TYPE :
        {
            fprintf(file, "%s", node->value.name);
            break;
        }
        default :
        {
            fprintf(file, "can't interpret this construction");
            // printf("I'm here, but I shouldn't, line = %d\n", __LINE__);
            break;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x5119
movq %rsi, %rbx
testq %rsi, %rsi
je 0x5138
movq %rdi, %r14
movl (%rdi), %eax
cmpl $0xd, %eax
jg 0x5053
cmpl $0x4, %eax
je 0x50f9
cmpl $0xc, %eax
jne 0x50dc
movq %r14, %rdi
movq %rbx, %rsi
callq 0x531d
testb %al, %al
jne 0x50d7
movq 0x18(%r14), %rax
movq 0x8(%rax), %rdx
leaq 0x22f6(%rip), %rsi      # 0x7331
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2150
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x5408
jmp 0x50c6
cmpl $0xf, %eax
je 0x5109
cmpl $0xe, %eax
jne 0x50dc
cmpl $0x1, 0x8(%r14)
ja 0x507e
movq 0x10(%r14), %rax
cmpl $0xe, (%rax)
jne 0x507e
movl $0x28, %edi
movq %rbx, %rsi
callq 0x2120
movq 0x18(%r14), %rdi
movq %rbx, %rsi
callq 0x4fe1
movslq 0x8(%r14), %rax
leaq 0x507b(%rip), %rcx      # 0xa110
movq (%rcx,%rax,8), %rdx
leaq 0x2367(%rip), %rsi      # 0x7407
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2150
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x4fe1
cmpl $0x1, 0x8(%r14)
ja 0x50d7
movq 0x10(%r14), %rax
cmpl $0xe, (%rax)
jne 0x50d7
movl $0x29, %edi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x2120
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x22fd(%rip), %rdi      # 0x73e0
movl $0x21, %esi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
popq %r14
popq %rbp
jmp 0x21b0
movq 0x8(%r14), %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x20f0
movl 0x8(%r14), %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x54d9
leaq 0xfbe(%rip), %rdi       # 0x60de
leaq 0x20fd(%rip), %rsi      # 0x7224
leaq 0x23c5(%rip), %rcx      # 0x74f3
movl $0xf9, %edx
callq 0x2090
leaq 0x16b4(%rip), %rdi      # 0x67f3
leaq 0x20de(%rip), %rsi      # 0x7224
leaq 0x23a6(%rip), %rcx      # 0x74f3
movl $0xfa, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateCondition(Node*, _IO_FILE*, unsigned long)
void TranslateCondition(Node* node, FILE* file, size_t num_tabs)
{
    assert(node);
    assert(file);

    fprintf(file, "%s (", OPERATORS[IF].rus_name);
    TranslateExpression(node->left, file);
    fprintf(file, ")\n");

    TranslateCompound(node->right->left, file, num_tabs);

    if (node->right->right != nullptr)
    {
        SetTabs(file, num_tabs);
        fprintf(file, "%s\n", OPERATORS[ELSE].rus_name);
        TranslateCompound(node->right->right, file, num_tabs);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x522e
movq %rsi, %r14
testq %rsi, %rsi
je 0x524d
movq %rdx, %rbx
movq %rdi, %r15
leaq 0x231f(%rip), %rsi      # 0x74a3
leaq 0x1422(%rip), %rdx      # 0x65ad
movq %r14, %rdi
xorl %eax, %eax
callq 0x2150
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x4fe1
leaq 0x218d(%rip), %rdi      # 0x7335
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x21b0
movq 0x20(%r15), %rax
movq 0x18(%rax), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x4cc0
movq 0x20(%r15), %rax
cmpq $0x0, 0x20(%rax)
je 0x5225
testq %rbx, %rbx
je 0x51f2
movq %rbx, %r12
movl $0x9, %edi
movq %r14, %rsi
callq 0x2120
decq %r12
jne 0x51e0
leaq 0x21b3(%rip), %rsi      # 0x73ac
leaq 0x13b7(%rip), %rdx      # 0x65b7
movq %r14, %rdi
xorl %eax, %eax
callq 0x2150
movq 0x20(%r15), %rax
movq 0x20(%rax), %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4cc0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xea9(%rip), %rdi       # 0x60de
leaq 0x1fe8(%rip), %rsi      # 0x7224
leaq 0x2265(%rip), %rcx      # 0x74a8
movl $0xdf, %edx
callq 0x2090
leaq 0x159f(%rip), %rdi      # 0x67f3
leaq 0x1fc9(%rip), %rsi      # 0x7224
leaq 0x2246(%rip), %rcx      # 0x74a8
movl $0xe0, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateLoop(Node*, _IO_FILE*, unsigned long)
void TranslateLoop(Node* node, FILE* file, size_t num_tabs)
{
    assert(node);
    assert(file);

    fprintf(file, "%s (", OPERATORS[LOOP].rus_name);
    TranslateExpression(node->left, file);
    fprintf(file, ")\n");

    TranslateCompound(node->right, file, num_tabs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x52df
movq %rsi, %r14
testq %rsi, %rsi
je 0x52fe
movq %rdx, %rbx
movq %rdi, %r15
leaq 0x2213(%rip), %rsi      # 0x74a3
leaq 0x12e2(%rip), %rdx      # 0x6579
movq %r14, %rdi
xorl %eax, %eax
callq 0x2150
movq 0x18(%r15), %rdi
movq %r14, %rsi
callq 0x4fe1
leaq 0x2081(%rip), %rdi      # 0x7335
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x21b0
movq 0x20(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4cc0
leaq 0xdf8(%rip), %rdi       # 0x60de
leaq 0x1f37(%rip), %rsi      # 0x7224
leaq 0x2184(%rip), %rcx      # 0x7478
movl $0xd3, %edx
callq 0x2090
leaq 0x14ee(%rip), %rdi      # 0x67f3
leaq 0x1f18(%rip), %rsi      # 0x7224
leaq 0x2165(%rip), %rcx      # 0x7478
movl $0xd4, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateStdCall(Node*, _IO_FILE*)
bool TranslateStdCall(Node* node, FILE* file)
{
    assert(node);
    assert(file);

    if (strcmp(node->left->value.name, "scan") == 0)
    {
        fprintf(file, "nepravdoi()");
        return true;
    }

    if (strcmp(node->left->value.name, "print") == 0)
    {
        fprintf(file, "govoru(");
        TranslateParams(node->right, file);
        fprintf(file, ");\n");
        return true;
    }

    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x53ca
movq %rsi, %rbx
testq %rsi, %rsi
je 0x53e9
movq %rdi, %r14
movq 0x18(%rdi), %rax
movq 0x8(%rax), %r15
leaq 0x210b(%rip), %rsi      # 0x7459
movq %r15, %rdi
callq 0x2140
testl %eax, %eax
je 0x5371
leaq 0x2109(%rip), %rsi      # 0x746a
movq %r15, %rdi
callq 0x2140
testl %eax, %eax
je 0x537f
xorl %eax, %eax
jmp 0x53bf
leaq 0x20e6(%rip), %rdi      # 0x745e
movl $0xb, %esi
jmp 0x53b0
leaq 0x20ea(%rip), %rdi      # 0x7470
movl $0x7, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x21b0
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x5408
leaq 0x2061(%rip), %rdi      # 0x740c
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x21b0
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xd0d(%rip), %rdi       # 0x60de
leaq 0x1e4c(%rip), %rsi      # 0x7224
leaq 0x2054(%rip), %rcx      # 0x7433
movl $0xbd, %edx
callq 0x2090
leaq 0x1403(%rip), %rdi      # 0x67f3
leaq 0x1e2d(%rip), %rsi      # 0x7224
leaq 0x2035(%rip), %rcx      # 0x7433
movl $0xbe, %edx
callq 0x2090
// File: /workspace/github_cpp_makefile_star2_O1/vssense[P]Compiler/src/front-end/translator.cpp
// Function: TranslateParams(Node*, _IO_FILE*)
void TranslateParams(Node* node, FILE* file)
{
    assert(file);

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

        TranslateExpression(node->left, file);
        node = node->parent;

        while (node->type == ARG_TYPE)
        {
            fprintf(file, ", ");
            TranslateExpression(node->left, file);
            node = node->parent;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x547e
testq %rdi, %rdi
je 0x5473
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
jne 0x541f
movq 0x18(%r14), %rdi
movq %rbx, %rsi
callq 0x4fe1
movq 0x10(%r14), %r15
cmpl $0x5, (%r15)
jne 0x5473
leaq 0x20f9(%rip), %r14      # 0x7541
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x21b0
movq 0x18(%r15), %rdi
movq %rbx, %rsi
callq 0x4fe1
movq 0x10(%r15), %r15
cmpl $0x5, (%r15)
je 0x5448
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x136e(%rip), %rdi      # 0x67f3
leaq 0x1d98(%rip), %rsi      # 0x7224
leaq 0x2089(%rip), %rcx      # 0x751c
movl $0x12e, %edx            # imm = 0x12E
callq 0x2090