LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/memory.cpp
// Function: memory::setMem(valType, int, void*)
bool memory::setMem(valType type, int addr, void* val)
{
    if (addr>=size){
        err_log("Mem set out of range");
        return false;
    }
    if (type == INTGR)
        buf[addr].i = *(int*)val;
    else
        buf[addr].f = *(float*)val;
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebx
movl 0x8(%rdi), %r15d
cmpl %edx, %r15d
jle 0xf90f
movq (%rdi), %rax
movslq %ebx, %rdx
testl %esi, %esi
je 0xf94a
movss (%rcx), %xmm0
movss %xmm0, (%rax,%rdx,4)
jmp 0xf94f
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x5ea9(%rip), %rsi      # 0x157c8
leaq 0x5eb6(%rip), %rdx      # 0x157dc
leaq -0x40(%rbp), %r14
movq %r14, %rdi
callq 0x7202
movq %r14, %rdi
callq 0x9777
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xf94f
callq 0x3230
jmp 0xf94f
movl (%rcx), %ecx
movl %ecx, (%rax,%rdx,4)
cmpl %ebx, %r15d
setg %al
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xf973
callq 0x3230
movq %rbx, %rdi
callq 0x3440
nop
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/memory.cpp
// Function: memory::mem_automat()
void memory::mem_automat()
{
    mem_next_vdd = 0;
    while (true)
    {
        at_rising_edge(mem_next_vdd);
        if (Sfront == Srear && Lfront == Lrear && sys_clk.is_instr_ended())
            sys_clk.end_mem();
        if (squash_p.flag)
        {
            squash_p.flag = false;
            at_falling_edge(mem_next_vdd);
        }
        else
        {
            if (Sfront != Srear && Stor_Q[Sfront].ready && CPU_ROB->get_front() == Stor_Q[Sfront].rob_i)
                store(Stor_Q[Sfront]);
            else if(Lfront != Lrear && Load_Q[Lfront].ready)
                load(Load_Q[Lfront]);
            else
                at_falling_edge(mem_next_vdd);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x80(%rdi), %r14
movl $0x0, 0x80(%rdi)
leaq 0x1888(%rdi), %r12
leaq 0x88(%rdi), %r13
leaq 0xb50e(%rip), %r15      # 0x1bca0
movq %r14, %rdi
callq 0x9fdf
movl 0x14(%rbx), %eax
cmpl 0x18(%rbx), %eax
jne 0x107be
movl 0xc(%rbx), %eax
cmpl 0x10(%rbx), %eax
jne 0x107be
movq %r15, %rdi
callq 0x967e
testb %al, %al
je 0x107be
movq %r15, %rdi
callq 0x969c
cmpb $0x1, 0x28(%rbx)
jne 0x107cd
movb $0x0, 0x28(%rbx)
jmp 0x1085d
movslq 0x14(%rbx), %rax
cmpl 0x18(%rbx), %eax
je 0x10820
leaq (%rax,%rax,2), %rax
cmpb $0x1, 0x14(%r12,%rax,8)
jne 0x10820
leaq 0xab7f(%rip), %rax      # 0x1b368
movq (%rax), %rdi
callq 0x7fc0
movslq 0x14(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
cmpl (%r12,%rcx,8), %eax
jne 0x10820
leaq (%r12,%rcx,8), %rax
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups (%rax), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0xe894
jmp 0x10792
movslq 0xc(%rbx), %rax
cmpl 0x10(%rbx), %eax
je 0x1085d
leaq (%rax,%rax,2), %rax
cmpb $0x1, 0x14(%r13,%rax,8)
jne 0x1085d
leaq (,%rax,8), %rax
addq %r13, %rax
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups (%rax), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0xed80
jmp 0x10792
movq %r14, %rdi
callq 0xa03d
jmp 0x10792
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/memory.cpp
// Function: init_main_mem()
void init_main_mem()
{
    while(pthread_create(&main_mem.mem_handle, NULL, [](void *arg)->void*{main_mem.mem_automat(); return NULL;}, NULL));
    while(pthread_create(&main_mem.SDQ_handle, NULL, [](void *arg)->void*{main_mem.SD_Q_automat(); return NULL;}, NULL));
    clk_wait_list.push_back(&main_mem.mem_next_vdd);
    clk_wait_list.push_back(&main_mem.SDQ_next_vdd);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl $0x3088, %ebx           # imm = 0x3088
addq 0xa747(%rip), %rbx      # 0x1afc8
leaq 0xb0(%rip), %r14        # 0x10938
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x3460
testl %eax, %eax
jne 0x10888
movl $0x3090, %ebx           # imm = 0x3090
addq 0xa721(%rip), %rbx      # 0x1afc8
leaq 0x9a(%rip), %r14        # 0x10948
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x3460
testl %eax, %eax
jne 0x108ae
leaq 0xb460(%rip), %rax      # 0x1bd28
subq $-0x80, %rax
movq %rax, -0x18(%rbp)
leaq 0xb439(%rip), %rbx      # 0x1bd10
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x108eb
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x108fb
leaq 0xb41e(%rip), %rdi      # 0x1bd10
leaq -0x18(%rbp), %rdx
callq 0x729c
movl $0x84, %eax
addq 0xa6c1(%rip), %rax      # 0x1afc8
movq %rax, -0x18(%rbp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x1091f
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x1092f
leaq 0xb3ea(%rip), %rdi      # 0x1bd10
leaq -0x18(%rbp), %rdx
callq 0x729c
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/output.cpp
// Function: init_output_unit()
void init_output_unit()
{
    next_vdd = 0;
    output_QEntry tmp;
    tmp.iss_cyc = 0;
    tmp.name = "\nInstructions:\t\tISS\tEXE\tMEM\tWB\tCOMMMIT";
    CPU_output_Q.push_back(tmp);
    while(pthread_create(&handle, NULL, &output_automat, NULL));
    clk_wait_list.push_back(&next_vdd);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
xorl %eax, %eax
movl %eax, 0xc8b2(%rip)      # 0x1ede4
leaq -0x40(%rbp), %rdi
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movl %eax, -0x18(%r15)
leaq 0x3468(%rip), %rcx      # 0x159bd
movl $0x26, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x33b0
leaq 0xc855(%rip), %rdi      # 0x1edc0
leaq -0x48(%rbp), %rsi
callq 0x131f8
leaq 0xc86d(%rip), %rbx      # 0x1ede8
leaq -0xf5b(%rip), %r14      # 0x11627
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x3460
testl %eax, %eax
jne 0x12582
leaq 0xc848(%rip), %rax      # 0x1ede4
movq %rax, -0x20(%rbp)
leaq 0x9769(%rip), %rcx      # 0x1bd10
movq 0x8(%rcx), %rsi
cmpq 0x10(%rcx), %rsi
je 0x125bb
movq %rax, (%rsi)
addq $0x8, 0x8(%rcx)
jmp 0x125cb
leaq 0x974e(%rip), %rdi      # 0x1bd10
leaq -0x20(%rbp), %rdx
callq 0x729c
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x125d9
callq 0x3230
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x125e6
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x125f7
callq 0x3230
movq %rbx, %rdi
callq 0x3440
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/registor.cpp
// Function: registor::registor(int)
registor::registor(int _RegSize):RegSize(_RegSize)
{
    intReg = new int[_RegSize];
    for (int i = 0; i<_RegSize; i++)
        intReg[i] = 0;
    // intReg[0] = 0;
    flpReg = new float[_RegSize];
    for (int i = 0; i<RegSize; i++)
        flpReg[i] = 0.;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl %esi, 0x10(%rdi)
movslq %esi, %r13
leaq (,%r13,4), %rax
testl %r13d, %r13d
movq $-0x1, %r12
cmovnsq %rax, %r12
movq %r12, %rdi
callq 0x3030
movq %rax, (%r14)
movl %ebx, %r15d
testl %r13d, %r13d
jle 0x13518
leaq (,%r15,4), %rdx
movq %rax, %rdi
xorl %esi, %esi
callq 0x3170
movq %r12, %rdi
callq 0x3030
movq %rax, 0x8(%r14)
testl %ebx, %ebx
jle 0x13547
shlq $0x2, %r15
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3170
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/registor.cpp
// Function: registor::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, memCell&)
bool registor::get(string name, memCell &ret)
{
    int index = stoi(name.substr(1, name.size() - 1));
    if (index >= RegSize)
    {
        err_log(name + ": Reg access out of range");
        return false;
    }
    if (name[0] == 'R')
        ret.i = intReg[index];
    else if (name[0] == 'F')
        ret.f = flpReg[index];
    else
    {
        err_log("Reg name error");
        return false;
    }
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, -0x38(%rbp)
movq %rsi, %r15
movq %rdi, -0x40(%rbp)
movq 0x8(%rsi), %rcx
decq %rcx
leaq -0xa8(%rbp), %r12
movl $0x1, %edx
movq %r12, %rdi
callq 0x3270
movq (%r12), %rbx
callq 0x3050
movq %rax, %r13
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
movl $0x0, (%r13)
leaq -0x88(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
movl $0xa, %edx
callq 0x3330
cmpq %rbx, (%r14)
je 0x136f0
movq %rax, %r12
movslq %r12d, %rax
cmpq %r12, %rax
jne 0x136fc
movl (%r13), %eax
cmpl $0x22, %eax
je 0x136fc
testl %eax, %eax
jne 0x1361e
movl -0x2c(%rbp), %eax
movl %eax, (%r13)
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13633
callq 0x3230
movq -0x40(%rbp), %rcx
cmpl %r12d, 0x10(%rcx)
jle 0x13668
movq (%r15), %rax
movzbl (%rax), %eax
cmpl $0x52, %eax
je 0x13651
cmpl $0x46, %eax
jne 0x136a4
addq $0x8, %rcx
movq (%rcx), %rax
movslq %r12d, %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x38(%rbp), %rax
movss %xmm0, (%rax)
movb $0x1, %al
jmp 0x136de
leaq -0x50(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %rbx
movq %rbx, %rdi
callq 0x7168
leaq 0x2357(%rip), %rsi      # 0x159e4
movq %rbx, %rdi
callq 0x34a0
leaq -0x60(%rbp), %rdi
callq 0x9777
movq -0x60(%rbp), %rdi
jmp 0x136d2
leaq -0x70(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x234b(%rip), %rsi      # 0x159fe
leaq 0x2352(%rip), %rdx      # 0x15a0c
leaq -0x80(%rbp), %rbx
movq %rbx, %rdi
callq 0x7202
movq %rbx, %rdi
callq 0x9777
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x136dc
callq 0x3230
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1e55(%rip), %rdi      # 0x1554c
callq 0x3180
leaq 0x1e49(%rip), %rdi      # 0x1554c
callq 0x3360
movq %rax, %rbx
movq -0x80(%rbp), %rdi
jmp 0x1371a
jmp 0x13713
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
jne 0x13742
jmp 0x13747
movq %rax, %rbx
cmpl $0x0, (%r13)
jne 0x13732
movl -0x2c(%rbp), %eax
movl %eax, (%r13)
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13747
callq 0x3230
movq %rbx, %rdi
callq 0x3440
nop
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/registor.cpp
// Function: registor::clear()
void registor::clear()
{
    for (int i = 0; i<RegSize; i++)
        intReg[i] = 0;
    for (int i = 0; i<RegSize; i++)
        flpReg[i] = 0;
    return;
}

// Assembly:
movl 0x10(%rdi), %eax
testl %eax, %eax
jle 0x13988
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
xorl %edx, %edx
movl $0x0, (%rcx,%rdx,4)
incq %rdx
movslq 0x10(%rdi), %rax
cmpq %rax, %rdx
jl 0x13974
popq %rbp
testl %eax, %eax
jle 0x1399d
movq 0x8(%rdi), %rdi
movl %eax, %edx
shlq $0x2, %rdx
xorl %esi, %esi
jmp 0x3170
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/reserv_station.cpp
// Function: resStation::resStation(FU_Q*, valType)
resStation::resStation(FU_Q *Q, valType t):type(t)
{
    prnt_Q = Q;
    busy = false;
    to_start = false;
    dest = -1;
    Rj = Rk = true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edx, 0x34(%rdi)
movq %rsi, 0x48(%rdi)
movw $0x0, (%rdi)
movl $0xffffffff, 0x4(%rdi)  # imm = 0xFFFFFFFF
movw $0x101, 0x2c(%rdi)      # imm = 0x101
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Ziang95[P]Tomasulo_simulator/reserv_station.cpp
// Function: resStation::squash(int)
void resStation::squash(int ROB_i)
{
    int R_f = CPU_ROB->get_front();
    int R_r = CPU_ROB->get_rear();
    if (is_prev_index(ROB_i, dest, R_f, R_r) || is_prev_index(ROB_i, Qj, R_f, R_r) || is_prev_index(ROB_i, Qk, R_f, R_r))
        busy = false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x7586(%rip), %r12      # 0x1b368
movq (%r12), %rdi
callq 0x7fc0
movl %eax, %r15d
movq (%r12), %rdi
callq 0x7fc8
movl %eax, %r12d
movl 0x4(%rbx), %esi
movl %r14d, %edi
movl %r15d, %edx
movl %eax, %ecx
callq 0xf729
testb %al, %al
jne 0x13e38
movl 0x8(%rbx), %esi
movl %r14d, %edi
movl %r15d, %edx
movl %r12d, %ecx
callq 0xf729
testb %al, %al
jne 0x13e38
movl 0xc(%rbx), %esi
movl %r14d, %edi
movl %r15d, %edx
movl %r12d, %ecx
callq 0xf729
testb %al, %al
je 0x13e3b
movb $0x0, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/node.cpp
// Function: Node::Node(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, DataType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, AccessType, StatusType, Node*, std::__cxx11::list<Node*, std::allocator<Node*>>)
Node::Node(unsigned int objectIdentifier, std::string name, DataType dataType, std::string description, AccessType accessType, StatusType statusType, Node * pParentElement, std::list<Node *> childElementPointerList)
{
    m_objectIdentifier = objectIdentifier;
    m_name = name;
    m_dataType = dataType;
    m_description = description;
    m_accessType = accessType;
    m_statusType = statusType;
    m_pParentElement = pParentElement;
    m_childElementPointerList = childElementPointerList;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r9d, 0xc(%rsp)
movq %r8, 0x30(%rsp)
movq %rcx, %r12
movq %rdx, %rbp
movl %esi, %r15d
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0x18(%rdi), %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rdi)
movq $0x0, 0x10(%rdi)
movb $0x0, 0x18(%rdi)
addq $0x28, %rdi
movq %rdi, 0x20(%rsp)
callq 0x1dc38
leaq 0x78(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x88(%rbx), %rax
movq %rax, 0x28(%rsp)
movq %rax, 0x78(%rbx)
xorl %eax, %eax
movq %rax, 0x80(%rbx)
movb $0x0, 0x88(%rbx)
leaq 0xa8(%rbx), %r13
movq %r13, 0xb0(%rbx)
movq %r13, 0xa8(%rbx)
movq %rax, 0xb8(%rbx)
movl %r15d, (%rbx)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x51e0
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movq 0x20(%rsp), %rax
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
leaq 0x48(%rbx), %rdi
leaq 0x20(%r12), %rsi
callq 0x8552
leaq 0x60(%rbx), %rdi
addq $0x38, %r12
movq %r12, %rsi
callq 0xf988
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x51e0
movq 0x80(%rsp), %rdx
movq 0x78(%rsp), %rax
movl 0x70(%rsp), %ecx
movl 0xc(%rsp), %esi
movl %esi, 0x98(%rbx)
movl %ecx, 0x9c(%rbx)
movq %rax, 0xa0(%rbx)
cmpq %rdx, %r13
je 0x1e7ba
movq (%rdx), %rsi
movq %r13, %rdi
callq 0x1e920
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x1e803
movq %rax, %rbx
movq (%r13), %rdi
cmpq %r13, %rdi
je 0x1e7ef
movq (%rdi), %r15
movl $0x18, %esi
callq 0x5320
movq %r15, %rdi
cmpq %r13, %r15
jne 0x1e7da
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
callq 0x57d1
movq (%r14), %rdi
cmpq 0x10(%rsp), %rdi
je 0x1e81d
movq 0x10(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/manager.cpp
// Function: Manager::Manager()
Manager::Manager()
{
    m_pParser = std::make_unique<Parser>();
    m_pFileHandler = std::make_unique<FileHandler>();
    m_pCoder = std::make_unique<Coder>();
    m_pValidator = std::make_unique<Validator>();
    m_pTree = std::make_unique<Tree>();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movq %rax, 0x10(%rsp)
leaq 0x10(%rdi), %r15
leaq 0x18(%rdi), %r12
leaq 0x20(%rdi), %r13
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq $0x0, 0x20(%rdi)
movl $0x70, %edi
callq 0x5310
movq %rax, %rbp
movq %rax, %rdi
callq 0x9ed4
leaq 0x8(%rsp), %r14
movq $0x0, (%r14)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x87a4
movq %r14, %rdi
callq 0x844e
movl $0x20, %edi
callq 0x5310
movq %rax, %rbp
movq %rax, %rdi
callq 0x8dc0
leaq 0x8(%rsp), %r14
movq $0x0, (%r14)
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x87c8
movq %r14, %rdi
callq 0x8482
movl $0x8, %edi
callq 0x5310
movq %rax, %rbp
movq %rax, %rdi
callq 0x8f2c
leaq 0x8(%rsp), %r14
movq $0x0, (%r14)
movq %r15, %rdi
movq %rbp, %rsi
callq 0x87ec
movq %r14, %rdi
callq 0x84b6
movl $0x1, %edi
callq 0x5310
movq %rax, %rbp
movq %rax, %rdi
callq 0x8d74
leaq 0x8(%rsp), %r14
movq $0x0, (%r14)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x8810
movq %r14, %rdi
callq 0x84ea
movl $0x38, %edi
callq 0x5310
movq %rax, %rbp
movq %rax, %rdi
callq 0x1dc70
leaq 0x8(%rsp), %rbx
movq $0x0, (%rbx)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x8834
movq %rbx, %rdi
callq 0x851e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movl $0x38, %esi
jmp 0x7395
jmp 0x739f
movq %rax, %r14
movl $0x1, %esi
jmp 0x7395
jmp 0x739f
movq %rax, %r14
movl $0x8, %esi
jmp 0x7395
jmp 0x739f
movq %rax, %r14
movl $0x20, %esi
jmp 0x7395
jmp 0x739f
movq %rax, %r14
movl $0x70, %esi
movq %rbp, %rdi
callq 0x5320
jmp 0x73a2
movq %rax, %r14
movq %r13, %rdi
callq 0x851e
movq %r12, %rdi
callq 0x84ea
movq %r15, %rdi
callq 0x84b6
movq 0x10(%rsp), %rdi
callq 0x8482
movq %rbx, %rdi
callq 0x844e
movq %r14, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/manager.cpp
// Function: Manager::validate(DataType&, DataType&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
bool Manager::validate(DataType & dataType, DataType & nodeType, std::vector<std::string> & nodeNameVector)
{
    if (dataType.m_baseType == BaseDataType::SEQUENCE_OF)
    {
        nodeNameVector = nodeType.m_nodeNameList; 
        if (nodeNameVector.size() == 1)
        {
            for (std::vector<std::string>::size_type i = m_pParser -> m_customDataTypeVector.size() - 1; i != (std::vector<std::string>::size_type) - 1; i--)
            {
                if (m_pParser -> m_customDataTypeNameVector[i] == nodeNameVector[0])
                {
                    DataType type = m_pParser -> m_customDataTypeVector[i];
                    nodeNameVector = type.m_nodeNameList;
                }
            }
        }
    }
    return m_pValidator -> validate(dataType, nodeType); 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, 0x18(%rsp)
cmpl $0x6, (%rsi)
jne 0x752f
movq %rcx, %r15
movq 0x10(%rsp), %rax
leaq 0x20(%rax), %rsi
movq %rdi, 0x8(%rsp)
movq %rcx, %rdi
callq 0x8552
movq 0x8(%rsp), %rdi
movq 0x8(%r15), %rax
subq (%r15), %rax
cmpq $0x20, %rax
jne 0x752f
movq (%rdi), %rax
movq 0x8(%rax), %r13
subq (%rax), %r13
je 0x752f
movq %r13, %rax
sarq $0x4, %rax
movabsq $-0x3333333333333333, %r14 # imm = 0xCCCCCCCCCCCCCCCD
imulq %rax, %r14
leaq 0x40(%rsp), %r12
addq $-0x18, %r13
movq %r14, %rbx
shlq $0x5, %rbx
addq $-0x18, %rbx
movq (%rdi), %rbp
movq 0x18(%rbp), %rax
movq (%r15), %rcx
movq (%rax,%rbx), %rdx
cmpq 0x8(%rcx), %rdx
jne 0x751b
testq %rdx, %rdx
je 0x74c3
movq (%rcx), %rsi
movq -0x8(%rax,%rbx), %rdi
callq 0x5340
movq 0x8(%rsp), %rdi
leaq 0x40(%rsp), %r12
testl %eax, %eax
jne 0x751b
movq (%rbp), %rbp
leaq -0x18(,%r13), %rsi
addq %rbp, %rsi
addq %r13, %rbp
movups -0x20(%rsi), %xmm0
movups -0x10(%rsi), %xmm1
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movq %r12, %rdi
callq 0x8858
leaq 0x58(%rsp), %rdi
movq %rbp, %rsi
callq 0x88e2
movq %r15, %rdi
movq %r12, %rsi
callq 0x8552
leaq 0x20(%rsp), %rdi
callq 0x1dc56
leaq 0x40(%rsp), %r12
movq 0x8(%rsp), %rdi
decq %r14
addq $-0x50, %r13
addq $-0x20, %rbx
testq %r14, %r14
jne 0x748f
movq 0x18(%rdi), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0x8d78
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x1dc56
jmp 0x756b
movq %rax, %rbx
movq %r12, %rdi
callq 0x6f02
movq %rbx, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/filehandler.cpp
// Function: FileHandler::readFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string FileHandler::readFile(std::string filePath)
{
    std::ifstream file(filePath);
    if (file.is_open())
    {
        auto ss = std::ostringstream{};
        ss << file.rdbuf();
        m_fileContent = ss.str();
        return m_fileContent; 
    }
    else
    {
        return "";
    } 
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x3a0, %rsp            # imm = 0x3A0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x198(%rsp), %rdi
movq %rdx, %rsi
movl $0x8, %edx
callq 0x54d0
leaq 0x210(%rsp), %rdi
callq 0x50a0
testb %al, %al
je 0x8eb6
leaq 0x20(%rsp), %rdi
callq 0x5410
leaq 0x1a8(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x5090
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x54b0
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x53d0
movq (%r15), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x8e7d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x6f5e
movq 0x2210b(%rip), %rsi     # 0x2afa8
leaq 0x20(%rsp), %rdi
callq 0x51d0
leaq 0x90(%rsp), %rdi
callq 0x5100
jmp 0x8ecf
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x16950(%rip), %rdx     # 0x1f814
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x6fee
leaq 0x198(%rsp), %rdi
callq 0x50b0
movq %rbx, %rax
addq $0x3a0, %rsp            # imm = 0x3A0
popq %rbx
popq %r14
popq %r15
retq
jmp 0x8ef5
jmp 0x8ef0
movq %rax, %rbx
jmp 0x8f16
movq %rax, %rbx
movq 0x220a9(%rip), %rsi     # 0x2afa8
leaq 0x20(%rsp), %rdi
callq 0x51d0
leaq 0x90(%rsp), %rdi
callq 0x5100
leaq 0x198(%rsp), %rdi
callq 0x50b0
movq %rbx, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::encodeInteger(DataType&, int&)
std::vector<std::byte> Coder::encodeInteger(DataType & dataType, int & data)
{
    std::vector<std::byte> dataVector;
    dataVector.push_back(encodeID(dataType));
    int length = 0;
    std::vector<std::byte> dataInBytes = splitIntoBytes(data, length);
    std::vector<std::byte> lengthInBytes = encodeLength(length);
    dataVector.insert(dataVector.end(), lengthInBytes.begin(), lengthInBytes.end());
    dataVector.insert(dataVector.end(), dataInBytes.begin(), dataInBytes.end());
    return dataVector;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rdx, %rsi
callq 0x9050
leaq 0x8(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
leaq 0x4(%rsp), %rcx
movl $0x0, (%rcx)
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x909a
leaq 0x20(%rsp), %rdi
leaq 0x4(%rsp), %rdx
callq 0x912a
movq 0x8(%rbx), %rsi
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq %rbx, %rdi
callq 0x9cc2
movq 0x8(%rbx), %rsi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
movq %rbx, %rdi
callq 0x9cc2
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x8fd2
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x8fe9
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
jmp 0x8ff6
movq %rax, %r14
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x9015
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
jmp 0x9015
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x9033
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
jmp 0x9033
jmp 0x9030
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x9047
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::splitIntoBytes(int&, int&)
std::vector<std::byte> Coder::splitIntoBytes(int & number, int & numberOfBytes)
{
    std::vector<std::byte> vectorOfBytes;
    if (number != 0)
    {
       numberOfBytes = getNumberOfBytes(number);
       for (int i = numberOfBytes - 1; i >= 0; i--) 
        {
           vectorOfBytes.push_back(static_cast<std::byte>(((number >> i * 8) & 0xFF))); 
        }
    }
    else
    {
        vectorOfBytes.push_back(static_cast<std::byte>(0));
    }
    
    return vectorOfBytes;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
cmpl $0x0, (%rdx)
je 0x90ea
movq %rdx, %r14
movl $0x4, (%rcx)
movl $0x18, %ebp
leaq 0x6(%rsp), %r15
movl (%r14), %eax
movl %ebp, %ecx
sarl %cl, %eax
movb %al, 0x6(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9ba4
addl $-0x8, %ebp
cmpl $-0x8, %ebp
jne 0x90ca
jmp 0x90fa
leaq 0x7(%rsp), %rsi
movb $0x0, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x910a
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x9121
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::encodeLength(int&)
std::vector<std::byte> Coder::encodeLength(int & lengthInBytes)
{
    std::vector<std::byte> vectorOfBytes;
    
    int numberOfSeptets = 0;
    if (lengthInBytes != 0)
    {
        int len = lengthInBytes;
        while (len != 0)
        {
            len >>= 7;
            numberOfSeptets++;
        }  
        
        for (int i = 0; i < numberOfSeptets; i++)
        {
            if (i == numberOfSeptets - 1)
            {
                int8_t num = lengthInBytes >> (i * 7);
                num &= ~(1 << 7);
                vectorOfBytes.push_back(static_cast<std::byte>(num));
                
            }
            else
            {
                int8_t num = lengthInBytes >> (i * 7);
                num |= (1 << 7);
                vectorOfBytes.push_back(static_cast<std::byte>(num));
            }
        }
    }
    else
    {
        vectorOfBytes.push_back(static_cast<std::byte>(0));
    }
    
    return vectorOfBytes;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl (%rdx), %eax
testl %eax, %eax
je 0x91b0
movq %rdx, %r14
xorl %r13d, %r13d
movl %eax, %ecx
sarl $0x7, %ecx
decl %r13d
cmpl $0x7f, %eax
movl %ecx, %eax
ja 0x9154
movl %r13d, %r15d
negl %r15d
notl %r13d
xorl %ebp, %ebp
xorl %r12d, %r12d
movl (%r14), %eax
movl %ebp, %ecx
sarl %cl, %eax
cmpl %r12d, %r13d
jne 0x9190
andb $0x7f, %al
movb %al, 0x6(%rsp)
movq %rbx, %rdi
leaq 0x6(%rsp), %rsi
callq 0x9ba4
jmp 0x91a3
orb $-0x80, %al
movb %al, 0x5(%rsp)
movq %rbx, %rdi
leaq 0x5(%rsp), %rsi
callq 0x9ba4
incl %r12d
addl $0x7, %ebp
cmpl %r12d, %r15d
jne 0x916f
jmp 0x91c0
leaq 0x7(%rsp), %rsi
movb $0x0, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x91d6
jmp 0x91d6
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x91ed
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::encodeOctetString(DataType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::vector<std::byte> Coder::encodeOctetString(DataType & dataType, std::string & data)
{
    std::vector<std::byte> dataVector;
    dataVector.push_back(encodeID(dataType));
    int length = data.size();
    std::vector<std::byte> lengthInBytes = encodeLength(length);
    std::vector<std::byte> dataInBytes = splitIntoBytes(data);
    dataVector.insert(dataVector.end(), lengthInBytes.begin(), lengthInBytes.end());
    dataVector.insert(dataVector.end(), dataInBytes.begin(), dataInBytes.end());
    return dataVector;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rdx, %rsi
callq 0x9050
movq %rsp, %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
movl 0x8(%r14), %eax
leaq 0x34(%rsp), %rdx
movl %eax, (%rdx)
movq %rsp, %rdi
callq 0x912a
leaq 0x18(%rsp), %rdi
movq %r14, %rdx
callq 0x9304
movq 0x8(%rbx), %rsi
movq (%rsp), %rdx
movq 0x8(%rsp), %rcx
movq %rbx, %rdi
callq 0x9cc2
movq 0x8(%rbx), %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq %rbx, %rdi
callq 0x9cc2
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x9288
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x929e
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
jmp 0x92ab
movq %rax, %r14
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x92ca
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
jmp 0x92ca
movq %rax, %r14
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x92e7
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
jmp 0x92e7
jmp 0x92e4
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x92fb
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::splitIntoBytes(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::vector<std::byte> Coder::splitIntoBytes(std::string & string)
{
    std::vector<std::byte> vectorOfBytes;
    for(std::string::size_type i = 0; i < string.size(); i++)
    {
        vectorOfBytes.push_back(static_cast<std::byte>(string[i]));
    }
    
    return vectorOfBytes;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
cmpq $0x0, 0x8(%rdx)
je 0x934e
movq %rdx, %r14
xorl %r12d, %r12d
leaq 0x7(%rsp), %r15
movq (%r14), %rax
movb (%rax,%r12), %al
movb %al, 0x7(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9ba4
incq %r12
cmpq 0x8(%r14), %r12
jb 0x932f
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x9374
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::encodeBoolean(DataType&, bool&)
std::vector<std::byte> Coder::encodeBoolean(DataType & dataType, bool & data)
{
    std::vector<std::byte> dataVector;
    dataVector.push_back(encodeID(dataType));
    dataVector.push_back(static_cast<std::byte>(1));
    if (data)
    {
        dataVector.push_back(static_cast<std::byte>(0xFF)); 
    }
    else
    {
        dataVector.push_back(static_cast<std::byte>(0x00)); 
    }
    return dataVector;
    
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rdx, %rsi
callq 0x9050
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
leaq 0x6(%rsp), %rsi
movb $0x1, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
cmpb $0x1, (%r14)
jne 0x957b
leaq 0x5(%rsp), %rsi
movb $-0x1, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
jmp 0x958b
leaq 0x4(%rsp), %rsi
movb $0x0, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
jmp 0x959c
jmp 0x959c
jmp 0x959c
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x95b3
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::encodeNULL(DataType&)
std::vector<std::byte> Coder::encodeNULL(DataType & dataType)
{
    std::vector<std::byte> dataVector;
    dataVector.push_back(encodeID(dataType));
    dataVector.push_back(static_cast<std::byte>(0));
    return dataVector;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rdx, %rsi
callq 0x9050
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
leaq 0x6(%rsp), %rsi
movb $0x0, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
jmp 0x9605
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x961c
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::addInteger(DataType&, int&, int&, std::vector<std::byte, std::allocator<std::byte>>&)
void Coder::addInteger(DataType & dataType, int & data, int & lengthInBytes, std::vector<std::byte> & dataVector)
{
    std::vector<std::byte> vector;
    lengthInBytes += getNumberOfBytes(data) + 2;
    vector = encodeInteger(dataType, data);
    dataVector.insert(dataVector.end(), vector.begin(), vector.end());
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %r8, %r15
movq %rdx, %rax
movq %rsi, %rdx
movq %rdi, %rsi
addl $0x6, (%rcx)
movq %rsp, %rdi
movq %rax, %rcx
callq 0x8f36
movq (%rsp), %r14
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rbx
movq 0x8(%r15), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x9cc2
testq %r14, %r14
je 0x96a1
subq %r14, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5320
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r15
jmp 0x96b8
movq %rax, %r15
xorl %ebx, %ebx
xorl %r14d, %r14d
testq %r14, %r14
je 0x96cb
subq %r14, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5320
movq %r15, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::addOctetString(DataType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int&, std::vector<std::byte, std::allocator<std::byte>>&)
void Coder::addOctetString(DataType & dataType, std::string & data, int & lengthInBytes, std::vector<std::byte> & dataVector)
{
    std::vector<std::byte> vector;
    lengthInBytes += getNumberOfBytes(data) + 2;
    vector = encodeOctetString(dataType, data);
    dataVector.insert(dataVector.end(), vector.begin(), vector.end());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %rbx
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x28(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x6f5e
movl 0x20(%rsp), %eax
movl (%r13), %ecx
addl %ecx, %eax
addl $0x2, %eax
movl %eax, (%r13)
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0x973c
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x5320
movq %rsp, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x91f6
movq (%rsp), %r15
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r14
movq 0x8(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x9cc2
testq %r15, %r15
je 0x977d
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x5320
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x979c
jmp 0x9793
movq %rax, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
testq %r15, %r15
je 0x97af
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::addObjectIdentifier(DataType&, std::vector<unsigned int, std::allocator<unsigned int>>&, int&, std::vector<std::byte, std::allocator<std::byte>>&)
void Coder::addObjectIdentifier(DataType & dataType, std::vector<unsigned int> & data, int & lengthInBytes, std::vector<std::byte> & dataVector)
{
    std::vector<std::byte> vector;
    lengthInBytes += getNumberOfBytes(data) + 2;
    vector = encodeObjectIdentifier(dataType, data);
    dataVector.insert(dataVector.end(), vector.begin(), vector.end());
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %rbx
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0x86cc
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rax
subq %rdi, %rax
shrq $0x2, %rax
movl (%r12), %ecx
addl %ecx, %eax
incl %eax
movl %eax, (%r12)
testq %rdi, %rdi
je 0x980f
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rsp, %rdi
movq %r15, %rdx
movq %r14, %rcx
callq 0x937c
movq (%rsp), %r15
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r14
movq 0x8(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x9cc2
testq %r15, %r15
je 0x984d
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x5320
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x9869
jmp 0x9860
movq %rax, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
testq %r15, %r15
je 0x987c
subq %r15, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::addBoolean(DataType&, bool&, int&, std::vector<std::byte, std::allocator<std::byte>>&)
void Coder::addBoolean(DataType & dataType, bool & data, int & lengthInBytes, std::vector<std::byte> & dataVector)
{
    std::vector<std::byte> vector;
    lengthInBytes += 3;
    vector = encodeBoolean(dataType, data);
    dataVector.insert(dataVector.end(), vector.begin(), vector.end());
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %r8, %r15
movq %rdx, %rax
movq %rsi, %rdx
addl $0x3, (%rcx)
movq %rsp, %rdi
movq %rax, %rcx
callq 0x9524
movq (%rsp), %r14
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rbx
movq 0x8(%r15), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x9cc2
testq %r14, %r14
je 0x98e2
subq %r14, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5320
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r15
jmp 0x98f9
movq %rax, %r15
xorl %ebx, %ebx
xorl %r14d, %r14d
testq %r14, %r14
je 0x990c
subq %r14, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5320
movq %r15, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::addNULL(DataType&, int&, std::vector<std::byte, std::allocator<std::byte>>&)
void Coder::addNULL(DataType & dataType, int & lengthInBytes, std::vector<std::byte> & dataVector)
{
    std::vector<std::byte> vector;
    lengthInBytes += 2;
    vector = encodeNULL(dataType);
    dataVector.insert(dataVector.end(), vector.begin(), vector.end());
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r15
addl $0x2, (%rdx)
movq %rsp, %rdi
movq %rsi, %rdx
callq 0x95bc
movq (%rsp), %r14
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rbx
movq 0x8(%r15), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x9cc2
testq %r14, %r14
je 0x995e
subq %r14, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5320
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r15
jmp 0x9975
movq %rax, %r15
xorl %ebx, %ebx
xorl %r14d, %r14d
testq %r14, %r14
je 0x9988
subq %r14, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5320
movq %r15, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::endSubSequence(int&, int&, std::vector<std::byte, std::allocator<std::byte>>&)
void Coder::endSubSequence(int & lengthInBytesUpper, int & lengthInBytesLower, std::vector<std::byte> & beginVector)
{
    lengthInBytesUpper += lengthInBytesLower + 2;
    std::vector<std::byte> lengthInBytesVector = encodeLength(lengthInBytesLower);
    beginVector.insert(beginVector.end(), lengthInBytesVector.begin(), lengthInBytesVector.end());
    m_endSequenceCount++;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r14
movq %rdi, %rbx
movl (%rdx), %eax
movl (%rsi), %ecx
leal 0x2(%rax,%rcx), %eax
movl %eax, (%rsi)
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x912a
movq 0x8(%r14), %rsi
movq (%r15), %rdx
movq 0x8(%r15), %rcx
movq %r14, %rdi
callq 0x9cc2
incl 0x4(%rbx)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x9a5b
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x9a7f
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::encodeSequence(std::vector<std::byte, std::allocator<std::byte>>&, std::vector<std::byte, std::allocator<std::byte>>&)
std::vector<std::byte> Coder::encodeSequence(std::vector<std::byte> & beginVector, std::vector<std::byte> & endVector)
{
    if (m_startSequenceCount == m_endSequenceCount)
    {
        beginVector.insert(beginVector.end(), endVector.begin(), endVector.end());
        return beginVector;
    }
    else
    {
        beginVector.clear();
        return beginVector;
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movl (%rsi), %eax
cmpl 0x4(%rsi), %eax
jne 0x9aae
movq 0x8(%r14), %rsi
movq (%rcx), %rdx
movq 0x8(%rcx), %rcx
movq %r14, %rdi
callq 0x9cc2
jmp 0x9abb
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x9abb
movq %rax, 0x8(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x874c
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/coder.cpp
// Function: Coder::splitIntoBytes(int&)
std::vector<std::byte> Coder::splitIntoBytes(int & number)
{
    std::vector<std::byte> vectorOfBytes;
    if (number != 0)
    {
        int numberOfBytes = getNumberOfBytes(number);
        for (int i = numberOfBytes - 1; i >= 0; i--)
        {
           vectorOfBytes.push_back(static_cast<std::byte>(((number >> i * 8) & 0xFF))); 
        }
    }
    else
    {
        vectorOfBytes.push_back(static_cast<std::byte>(0));
    }
    
    return vectorOfBytes;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
cmpl $0x0, (%rdx)
je 0x9b64
movq %rdx, %r14
movl $0x18, %ebp
leaq 0x6(%rsp), %r15
movl (%r14), %eax
movl %ebp, %ecx
sarl %cl, %eax
movb %al, 0x6(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9ba4
addl $-0x8, %ebp
cmpl $-0x8, %ebp
jne 0x9b44
jmp 0x9b74
leaq 0x7(%rsp), %rsi
movb $0x0, (%rsi)
movq %rbx, %rdi
callq 0x9ba4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9b84
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x9b9b
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5320
movq %r14, %rdi
callq 0x5550
nop
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseLineForNodeNameDiminished(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::string Parser::parseLineForNodeNameDiminished(std::string & nodeLine, std::string & nodeName)
{
    std::regex patternNodeName("(\\S*)\\s*OBJECT IDENTIFIER");
    std::regex patternCutNodeName("");
    std::smatch match;
    if (std::regex_search(nodeLine, match, patternNodeName))
    {
        nodeName = match.str(1);
        patternCutNodeName.assign(nodeName);
        nodeLine = std::regex_replace(nodeLine, patternCutNodeName, "", std::regex_constants::format_first_only);
        return nodeName;
    }
    return "";
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x14094(%rip), %rsi     # 0x1f55e
leaq 0x70(%rsp), %rdi
movl $0x10, %edx
callq 0xf4b6
leaq 0x14334(%rip), %rsi     # 0x1f814
leaq 0x50(%rsp), %rdi
movl $0x10, %edx
callq 0xf4b6
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
movq (%r15), %rdi
movq 0x8(%r15), %rsi
addq %rdi, %rsi
leaq 0x70(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1ab53
testb %al, %al
je 0xb5ef
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movl $0x1, %edx
callq 0xf51e
leaq 0x10(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x53d0
movq (%r12), %rdi
leaq 0x20(%rsp), %r13
cmpq %r13, %rdi
je 0xb55c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5320
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
movl $0x10, %ecx
callq 0xfc7a
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movl $0x400, (%rsp)          # imm = 0x400
leaq 0x14273(%rip), %r8      # 0x1f814
leaq 0x50(%rsp), %rcx
xorl %r9d, %r9d
callq 0x1d0de
leaq 0x10(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x53d0
movq (%r12), %rdi
cmpq %r13, %rdi
je 0xb5d4
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x6f5e
jmp 0xb608
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x14217(%rip), %rdx     # 0x1f814
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x6fee
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb61f
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x50(%rsp), %rdi
callq 0xf700
leaq 0x70(%rsp), %rdi
callq 0xf700
movq %rbx, %rax
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0xb66f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5320
jmp 0xb66f
jmp 0xb66c
jmp 0xb66c
movq %rax, %rbx
jmp 0xb690
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb686
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x50(%rsp), %rdi
callq 0xf700
leaq 0x70(%rsp), %rdi
callq 0xf700
movq %rbx, %rdi
callq 0x5550
// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseLineForOIDDiminished(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, unsigned int&)
unsigned int Parser::parseLineForOIDDiminished(std::string & nodeLine, unsigned int & OID)
{
    std::regex patternOID("(\\d+)\\s\\}");
    std::smatch match;
    if (std::regex_search(nodeLine, match, patternOID))
    {
        OID = std::stoi(match.str(1));
        return OID;
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x13ebd(%rip), %rsi     # 0x1f578
leaq 0x50(%rsp), %r15
movq %r15, %rdi
movl $0x10, %edx
callq 0xf4b6
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorl %ebp, %ebp
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x1ab53
testb %al, %al
je 0xb76d
leaq 0x28(%rsp), %rdi
movq %rsp, %rsi
movl $0x1, %edx
callq 0xf51e
movq 0x28(%rsp), %r15
callq 0x5060
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x48(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x5430
cmpq %r15, (%r12)
je 0xb79c
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0xb7a8
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0xb7a8
testl %ecx, %ecx
jne 0xb74e
movl %ebp, (%r14)
movl %eax, (%rbx)
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb76b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5320
movl (%rbx), %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xb783
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x50(%rsp), %rdi
callq 0xf700
movl %ebp, %eax
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14026(%rip), %rdi     # 0x1f7c9
callq 0x5200
leaq 0x1401a(%rip), %rdi     # 0x1f7c9
callq 0x5460
jmp 0xb7df
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0xb7c2
movl %ebp, (%r14)
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb7e2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5320
jmp 0xb7e2
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xb7f8
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x50(%rsp), %rdi
callq 0xf700
movq %rbx, %rdi
callq 0x5550