// File: /workspace/github_cpp_makefile_star2_O3/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseDiminishedNodes(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Parser::parseDiminishedNodes(std::string fileContent)
{
    std::string nodeLine;
    std::string nodeName;
    unsigned int OID;
    std::vector<std::string> parentVector;
    std::vector<unsigned int> vectorOID;
    std::regex patternOIDLine("\\n[^-].*?OBJECT IDENTIFIER ::=.*?}");
    std::smatch match;
    std::sregex_iterator begin(fileContent.cbegin(), fileContent.cend(), patternOIDLine);
    std::sregex_iterator end;
    
    for (std::sregex_iterator it = begin; it != end; it++)
    {
        match = *it;
        nodeLine = match.str(0);
        nodeName = parseLineForNodeNameDiminished(nodeLine, nodeName);
        OID = parseLineForOIDDiminished(nodeLine, OID);
        parseLineForParentNamesDiminished(nodeLine, parentVector, vectorOID); 
        if (parentVector.size() != 1)
        {
            addParentNodes(parentVector, vectorOID);
            m_pNode = addNodeOneOrMore(nodeName, OID, parentVector); 
        }
        else
        {
            m_pNode = addNodeOneOrMore(nodeName, OID, parentVector);
        }
        parentVector.clear();
        vectorOID.clear();
    }   
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp            # imm = 0x1F8
movq %rsi, %r14
movq %rdi, %r15
leaq 0xa0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x80(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq %rax, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq %rax, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x14516(%rip), %rsi     # 0x1e53b
leaq 0x158(%rsp), %rdi
movl $0x10, %edx
callq 0xe4b4
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x178(%rsp), %rdi
leaq 0x158(%rsp), %rcx
xorl %r8d, %r8d
callq 0xe592
xorps %xmm0, %xmm0
movaps %xmm0, 0x140(%rsp)
movaps %xmm0, 0x130(%rsp)
movaps %xmm0, 0x110(%rsp)
movups %xmm0, 0x11c(%rsp)
leaq 0x198(%rsp), %rsi
movups -0x20(%rsi), %xmm0
movups -0x14(%rsi), %xmm1
leaq 0xf0(%rsp), %rdi
movups %xmm1, -0x14(%rdi)
movaps %xmm0, -0x20(%rdi)
callq 0x1a7e2
movq 0x1b0(%rsp), %rax
leaq 0xd0(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0x110(%rsp), %rsi
callq 0x1baec
testb %al, %al
jne 0xa2a5
leaq 0xc0(%rsp), %rbp
leaq 0x50(%rsp), %rbx
leaq 0xb0(%rsp), %r13
leaq 0x90(%rsp), %r14
movq %rbx, %rdi
leaq 0xf0(%rsp), %rsi
callq 0xe80c
movq 0x108(%rsp), %rax
movq %rax, 0x68(%rsp)
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xe51c
movq %r14, %rdi
movq %r13, %rsi
callq 0x43d0
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa146
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x4320
movq %r13, %rdi
movq %r14, %rdx
leaq 0x70(%rsp), %r12
movq %r12, %rcx
callq 0xa49e
movq %r12, %rdi
movq %r13, %rsi
callq 0x43d0
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa181
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x4320
movq %r14, %rsi
leaq 0xc(%rsp), %rdx
callq 0xa696
movl %eax, 0xc(%rsp)
movq %r14, %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
callq 0xa80a
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
cmpq $0x20, %rax
je 0xa1c6
movq %r15, %rdi
leaq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0xae22
movq %r15, %rdi
leaq 0x70(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x10(%rsp), %rcx
callq 0xb08a
movq %r14, %r12
movq %rax, 0x68(%r15)
movq 0x10(%rsp), %r14
movq %r15, %rax
movq 0x18(%rsp), %r15
cmpq %r14, %r15
je 0xa23d
movq %rax, %r13
movq %rbp, %rbx
leaq 0x10(%r14), %rbp
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0xa215
movq (%rbp), %rsi
incq %rsi
callq 0x4320
leaq 0x20(%rbp), %rax
addq $0x10, %rbp
cmpq %r15, %rbp
movq %rax, %rbp
jne 0xa200
movq %r14, 0x18(%rsp)
movq %rbx, %rbp
movq %r13, %rax
leaq 0x50(%rsp), %rbx
leaq 0xb0(%rsp), %r13
movq %rax, %r15
movq 0x30(%rsp), %rax
cmpq %rax, 0x38(%rsp)
je 0xa251
movq %rax, 0x38(%rsp)
leaq 0x1b8(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
xorl %edx, %edx
callq 0xe65a
movq %r12, %r14
movq 0x1d8(%rsp), %rdi
testq %rdi, %rdi
je 0xa288
movq 0x1e8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0xd0(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x1baec
testb %al, %al
je 0xa0f4
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0xa2c2
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0xa2df
movq 0x140(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0xa2fc
movq 0x1a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xa313
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x158(%rsp), %rdi
callq 0xe6fa
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa337
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x10(%rsp), %rdi
callq 0x5f12
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xa363
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa388
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4320
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xa3d0
movq %rax, %rbx
jmp 0xa40a
movq %rax, %rbx
jmp 0xa445
jmp 0xa3b0
jmp 0xa3b0
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0xa3d0
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0xa3ed
movq 0x140(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0xa40a
movq 0x1a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xa421
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x158(%rsp), %rdi
callq 0xe6fa
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa445
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x10(%rsp), %rdi
callq 0x5f12
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xa471
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa496
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4320
movq %rbx, %rdi
callq 0x4550