// File: /workspace/github_cpp_makefile_star2_O1/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, %rbx
leaq 0x80(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x60(%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 0x14521(%rip), %rsi     # 0x1f53b
leaq 0x158(%rsp), %rdi
movl $0x10, %edx
callq 0xf4b6
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x178(%rsp), %rdi
leaq 0x158(%rsp), %rcx
xorl %r8d, %r8d
callq 0xf598
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 0x1b778
movq 0x1b0(%rsp), %rax
leaq 0xd0(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0x110(%rsp), %rsi
callq 0x1ca70
testb %al, %al
jne 0xb2b7
leaq 0xc0(%rsp), %rbp
leaq 0x90(%rsp), %r12
leaq 0xb0(%rsp), %r13
leaq 0x70(%rsp), %r14
leaq 0x50(%rsp), %r15
movq %r12, %rdi
leaq 0xf0(%rsp), %rsi
callq 0xf812
movq 0x108(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xf51e
movq %r14, %rdi
movq %r13, %rsi
callq 0x53d0
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb149
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x5320
movq %r13, %rdi
movq %r14, %rdx
movq %r15, %rcx
callq 0xb4aa
movq %r15, %rdi
movq %r13, %rsi
callq 0x53d0
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb17f
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x5320
movq %r14, %rsi
leaq 0xc(%rsp), %rdx
callq 0xb6a2
movl %eax, 0xc(%rsp)
movq %r14, %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
callq 0xb80a
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
cmpq $0x20, %rax
jne 0xb1c9
movq %rbx, %rdi
movq %r15, %rsi
leaq 0xc(%rsp), %rdx
leaq 0x10(%rsp), %rcx
callq 0xc092
jmp 0xb1f0
movq %rbx, %rdi
leaq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0xbe22
movq %rbx, %rdi
movq %r15, %rsi
leaq 0xc(%rsp), %rdx
leaq 0x10(%rsp), %rcx
callq 0xc092
movq %rax, 0x68(%rbx)
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %r15
cmpq %r14, %r15
je 0xb24b
movq %r12, %r13
movq %rbx, %r12
movq %rbp, %rbx
leaq 0x10(%r14), %rbp
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0xb225
movq (%rbp), %rsi
incq %rsi
callq 0x5320
leaq 0x20(%rbp), %rax
addq $0x10, %rbp
cmpq %r15, %rbp
movq %rax, %rbp
jne 0xb210
movq %r14, 0x18(%rsp)
movq %rbx, %rbp
movq %r12, %rbx
movq %r13, %r12
leaq 0xb0(%rsp), %r13
movq 0x30(%rsp), %rax
cmpq %rax, 0x38(%rsp)
leaq 0x70(%rsp), %r14
leaq 0x50(%rsp), %r15
je 0xb266
movq %rax, 0x38(%rsp)
leaq 0x1b8(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
xorl %edx, %edx
callq 0xf660
movq 0x1d8(%rsp), %rdi
testq %rdi, %rdi
je 0xb29a
movq 0x1e8(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0xd0(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x1ca70
testb %al, %al
je 0xb0f4
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0xb2d4
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0xb2f1
movq 0x140(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0xb30e
movq 0x1a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0xb32b
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x158(%rsp), %rdi
callq 0xf700
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb34f
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x10(%rsp), %rdi
callq 0x6f02
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xb375
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xb397
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x5320
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xb3df
movq %rax, %rbx
jmp 0xb419
movq %rax, %rbx
jmp 0xb443
jmp 0xb3bf
jmp 0xb3bf
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0xb3df
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0xb3fc
movq 0x140(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0xb419
movq 0x1a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0xb436
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x158(%rsp), %rdi
callq 0xf700
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb45a
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x10(%rsp), %rdi
callq 0x6f02
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xb480
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xb4a2
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550