// File: /workspace/github_cpp_makefile_star2_O2/EmbeddedPaul166[P]SNMP-Agent/src/manager.cpp
// Function: Manager::getNodeByOID(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void Manager::getNodeByOID(std::string & input)
{
    std::vector<unsigned int> vectorOfOID = getOIDVector(input);
    bool isNodeFound;
    unsigned int OID;
    std::string name;
    std::string baseType;
    std::string complexity;
    std::string encodingType;
    std::string visibility;
    int lengthLimit;
    int rangeLimitLower;
    int rangeLimitUpper;
    std::string description;
    std::string accessType;
    std::string statusType;
    m_pParser -> getNodeByOID(vectorOfOID,
                              isNodeFound,
                              OID,
                              name,
                              baseType,
                              complexity,
                              encodingType,
                              visibility,
                              lengthLimit,
                              rangeLimitLower,
                              rangeLimitUpper,
                              description,
                              accessType,
                              statusType);
    if (isNodeFound)
    {
        std::cout << "OID: " << OID << std::endl;
        std::cout << "Name: " << name << std::endl;
        std::cout << "Base type: " << baseType << std::endl;
        std::cout << "Encoding complexity: " << complexity << std::endl;
        std::cout << "Encoding type: " << encodingType << std::endl;
        std::cout << "Visibility: " << visibility << std::endl;
        std::cout << "Length limit: " << lengthLimit << std::endl;
        std::cout << "Range limit: " << rangeLimitUpper << std::endl;
        std::cout << "Description: " << description << std::endl;
        std::cout << "Access type: " << accessType << std::endl;
        std::cout << "Status type: " << statusType << std::endl; 
    }
    else
    {
        std::cout << "Node not found! Try different OID string." << std::endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rsi, %rdx
movq %rdi, %r14
leaq 0x130(%rsp), %rbx
movq %rbx, %rdi
callq 0x5c62
leaq 0x120(%rsp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
leaq 0x100(%rsp), %rdx
movq %rdx, -0x10(%rdx)
andq $0x0, -0x8(%rdx)
xorl %eax, %eax
movb %al, (%rcx)
leaq 0xe0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
leaq 0xc0(%rsp), %rsi
movq %rsi, -0x10(%rsi)
andq $0x0, -0x8(%rsi)
movb %al, (%rdx)
movb %al, (%rcx)
leaq 0xa0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
leaq 0x80(%rsp), %rdx
movq %rdx, -0x10(%rdx)
andq $0x0, -0x8(%rdx)
movb %al, (%rsi)
movb %al, (%rcx)
leaq 0x60(%rsp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
leaq 0x40(%rsp), %rsi
movq %rsi, -0x10(%rsi)
andq $0x0, -0x8(%rsi)
movb %al, (%rdx)
movb %al, (%rcx)
movb %al, (%rsi)
movq (%r14), %r14
leaq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0x6672
subq $0x8, %rsp
leaq 0x38(%rsp), %rax
leaq 0x58(%rsp), %r10
leaq 0x78(%rsp), %r11
leaq 0x10(%rsp), %rbx
leaq 0x1c(%rsp), %r15
leaq 0x14(%rsp), %r12
leaq 0x98(%rsp), %r13
leaq 0xb8(%rsp), %rbp
leaq 0x20(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x18(%rsp), %rcx
leaq 0x118(%rsp), %r8
leaq 0xf8(%rsp), %r9
movq %r14, %rdi
pushq %rax
pushq %r10
pushq %r11
pushq %rbx
pushq %r15
pushq %r12
pushq %r13
pushq %rbp
leaq 0x118(%rsp), %rax
pushq %rax
callq 0x7e1e
addq $0x50, %rsp
leaq 0x18(%rsp), %rdi
callq 0x5654
cmpb $0x1, 0x7(%rsp)
jne 0x60d9
movq 0x2208e(%rip), %rdi     # 0x27fb0
leaq 0x1328f(%rip), %rsi     # 0x191b8
callq 0x4300
movl 0x10(%rsp), %esi
movq %rax, %rdi
callq 0x4250
movq %rax, %rdi
callq 0x4190
movq 0x22067(%rip), %rdi     # 0x27fb0
leaq 0x1326e(%rip), %rsi     # 0x191be
callq 0x4300
leaq 0x110(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
movq %rax, %rdi
callq 0x4190
movq 0x2203c(%rip), %rdi     # 0x27fb0
leaq 0x1324a(%rip), %rsi     # 0x191c5
callq 0x4300
leaq 0xf0(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
movq %rax, %rdi
callq 0x4190
movq 0x22011(%rip), %rdi     # 0x27fb0
leaq 0x1322b(%rip), %rsi     # 0x191d1
callq 0x4300
leaq 0xd0(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
movq %rax, %rdi
callq 0x4190
movq 0x21fe6(%rip), %rdi     # 0x27fb0
leaq 0x13216(%rip), %rsi     # 0x191e7
callq 0x4300
leaq 0xb0(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
movq %rax, %rdi
callq 0x4190
movq 0x21fbb(%rip), %rdi     # 0x27fb0
leaq 0x131fb(%rip), %rsi     # 0x191f7
callq 0x4300
leaq 0x90(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
movq %rax, %rdi
callq 0x4190
movq 0x21f90(%rip), %rdi     # 0x27fb0
leaq 0x131dd(%rip), %rsi     # 0x19204
callq 0x4300
movl 0xc(%rsp), %esi
movq %rax, %rdi
callq 0x4510
movq %rax, %rdi
callq 0x4190
movq 0x21f69(%rip), %rdi     # 0x27fb0
leaq 0x131c5(%rip), %rsi     # 0x19213
callq 0x4300
movl 0x8(%rsp), %esi
movq %rax, %rdi
callq 0x4510
movq %rax, %rdi
callq 0x4190
movq 0x21f42(%rip), %rdi     # 0x27fb0
leaq 0x131ac(%rip), %rsi     # 0x19221
callq 0x4300
leaq 0x70(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
movq %rax, %rdi
callq 0x4190
movq 0x21f1a(%rip), %rdi     # 0x27fb0
leaq 0x13192(%rip), %rsi     # 0x1922f
callq 0x4300
leaq 0x50(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
movq %rax, %rdi
callq 0x4190
movq 0x21ef2(%rip), %rdi     # 0x27fb0
leaq 0x13178(%rip), %rsi     # 0x1923d
callq 0x4300
leaq 0x30(%rsp), %rsi
movq %rax, %rdi
callq 0x42e0
jmp 0x60ec
movq 0x21ed0(%rip), %rdi     # 0x27fb0
leaq 0x13164(%rip), %rsi     # 0x1924b
callq 0x4300
movq %rax, %rdi
callq 0x4190
leaq 0x30(%rsp), %rdi
callq 0x4170
leaq 0x50(%rsp), %rdi
callq 0x4170
leaq 0x70(%rsp), %rdi
callq 0x4170
leaq 0x90(%rsp), %rdi
callq 0x4170
leaq 0xb0(%rsp), %rdi
callq 0x4170
leaq 0xd0(%rsp), %rdi
callq 0x4170
leaq 0xf0(%rsp), %rdi
callq 0x4170
leaq 0x110(%rsp), %rdi
callq 0x4170
leaq 0x130(%rsp), %rdi
callq 0x5654
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x5654
jmp 0x6184
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x4170
leaq 0x50(%rsp), %rdi
callq 0x4170
leaq 0x70(%rsp), %rdi
callq 0x4170
leaq 0x90(%rsp), %rdi
callq 0x4170
leaq 0xb0(%rsp), %rdi
callq 0x4170
leaq 0xd0(%rsp), %rdi
callq 0x4170
leaq 0xf0(%rsp), %rdi
callq 0x4170
leaq 0x110(%rsp), %rdi
callq 0x4170
leaq 0x130(%rsp), %rdi
callq 0x5654
movq %rbx, %rdi
callq 0x4540