// File: EmbeddedPaul166[P]SNMP-Agent/src/manager.cpp
// Function: Manager::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Manager::parse(std::string filePath)
{
    std::string fileContent = m_pFileHandler -> readFile(filePath);
    std::string importPath = m_pParser -> isImportPresent(fileContent);
    if (importPath != "")
    {
        std::string importContent = m_pFileHandler -> readFile(importPath);
        m_pParser -> parseMIBImportFile(importContent);
    }
    m_pParser -> parseMIBFile(fileContent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movq %rsi, -0x138(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x140(%rbp)
addq $0x8, %rdi
callq 0xb8f0
movq -0x138(%rbp), %rsi
movq %rax, -0x130(%rbp)
leaq -0x50(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0x61d0
movq -0x130(%rbp), %rsi
movq -0x128(%rbp), %rdx
leaq -0x30(%rbp), %rdi
callq 0xfab0
jmp 0x9fb5
leaq -0x50(%rbp), %rdi
callq 0x62e0
movq -0x140(%rbp), %rdi
callq 0xb7e0
movq %rax, -0x148(%rbp)
leaq -0xa0(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x61d0
jmp 0x9fe3
movq -0x148(%rbp), %rsi
leaq -0x80(%rbp), %rdi
leaq -0xa0(%rbp), %rdx
callq 0x13a90
jmp 0x9ffc
leaq -0xa0(%rbp), %rdi
callq 0x62e0
leaq 0x3e835(%rip), %rsi     # 0x48844
leaq -0x80(%rbp), %rdi
callq 0xb910
movb %al, -0x149(%rbp)
jmp 0xa020
movb -0x149(%rbp), %al
testb $0x1, %al
jne 0xa02f
jmp 0xa184
movq -0x140(%rbp), %rdi
addq $0x8, %rdi
callq 0xb8f0
movq %rax, -0x158(%rbp)
leaq -0xe0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x61d0
jmp 0xa058
movq -0x158(%rbp), %rsi
leaq -0xc0(%rbp), %rdi
leaq -0xe0(%rbp), %rdx
callq 0xfab0
jmp 0xa074
leaq -0xe0(%rbp), %rdi
callq 0x62e0
movq -0x140(%rbp), %rdi
callq 0xb7e0
movq %rax, -0x160(%rbp)
leaq -0x100(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x61d0
jmp 0xa0a8
movq -0x160(%rbp), %rdi
leaq -0x100(%rbp), %rsi
callq 0x14400
jmp 0xa0bd
leaq -0x100(%rbp), %rdi
callq 0x62e0
leaq -0xc0(%rbp), %rdi
callq 0x62e0
jmp 0xa184
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x62e0
jmp 0xa20f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0xa206
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x62e0
jmp 0xa206
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0xa1fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x62e0
jmp 0xa1fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0xa176
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x62e0
leaq -0xc0(%rbp), %rdi
callq 0x62e0
jmp 0xa1fd
movq -0x140(%rbp), %rdi
callq 0xb7e0
movq %rax, -0x168(%rbp)
leaq -0x120(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x61d0
jmp 0xa1a9
movq -0x168(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x18cf0
jmp 0xa1be
leaq -0x120(%rbp), %rdi
callq 0x62e0
leaq -0x80(%rbp), %rdi
callq 0x62e0
leaq -0x30(%rbp), %rdi
callq 0x62e0
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x120(%rbp), %rdi
callq 0x62e0
leaq -0x80(%rbp), %rdi
callq 0x62e0
leaq -0x30(%rbp), %rdi
callq 0x62e0
movq -0x58(%rbp), %rdi
callq 0x6790
nopl (%rax,%rax)