// File: /workspace/github_cpp_makefile_star2_O3/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseCustomDataTypesInMain(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Parser::parseCustomDataTypesInMain(std::string fileContent)
{
    std::smatch match;
    
    std::string patternOneString ="\\w* ::=\\n\\s*.*[^\\{]\\n";
    std::string patternTwoString = "\\w* ::=\\n\\s*SEQUENCE((.*\\n)*?)\\s*\\}";
    std::string patternThreeString = "\\w* ::=\\n\\s*CHOICE((.*\\n)*?)\\s*\\}";
    
    std::regex patternOne(patternOneString);
    std::regex patternTwo(patternTwoString);
    std::regex patternThree(patternThreeString);
    
    std::sregex_iterator beginOne(fileContent.cbegin(), fileContent.cend(), patternOne);
    
    std::sregex_iterator beginTwo(fileContent.cbegin(), fileContent.cend(), patternTwo);
    
    std::sregex_iterator beginThree(fileContent.cbegin(), fileContent.cend(), patternThree);
    
    std::sregex_iterator end;
    
    for (std::sregex_iterator it = beginOne; it != end; it++)
    {
        match = *it;
        m_customDataTypeStringVector.push_back(match.str(0));
    }
    
    for (std::sregex_iterator it = beginTwo; it != end; it++)
    {
        match = *it;
        m_customDataTypeStringVector.push_back(match.str(0));
    }
    
    for (std::sregex_iterator it = beginThree; it != end; it++)
    {
        match = *it;
        m_customDataTypeStringVector.push_back(match.str(0));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x318, %rsp            # imm = 0x318
movq %rsi, %r14
movq %rdi, 0x28(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
leaq 0xe0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x11bfa(%rip), %rsi     # 0x1e6e8
leaq 0x11c08(%rip), %rdx     # 0x1e6fd
leaq 0xd0(%rsp), %rdi
callq 0x6006
leaq 0xc0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x11be9(%rip), %rsi     # 0x1e6fe
leaq 0x11c05(%rip), %rdx     # 0x1e721
leaq 0xb0(%rsp), %rdi
callq 0x6006
leaq 0xa0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x11be6(%rip), %rsi     # 0x1e722
leaq 0x11c00(%rip), %rdx     # 0x1e743
leaq 0x90(%rsp), %rdi
callq 0x6006
leaq 0x178(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
movl $0x10, %edx
callq 0xe71a
leaq 0x158(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
movl $0x10, %edx
callq 0xe71a
leaq 0x138(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movl $0x10, %edx
callq 0xe71a
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x218(%rsp), %rdi
leaq 0x178(%rsp), %rcx
xorl %r8d, %r8d
callq 0xe592
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x1d8(%rsp), %rdi
leaq 0x158(%rsp), %rcx
xorl %r8d, %r8d
callq 0xe592
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x198(%rsp), %rdi
leaq 0x138(%rsp), %rcx
xorl %r8d, %r8d
callq 0xe592
xorps %xmm0, %xmm0
movaps %xmm0, 0x120(%rsp)
movaps %xmm0, 0x110(%rsp)
movaps %xmm0, 0xf0(%rsp)
movups %xmm0, 0xfc(%rsp)
leaq 0x238(%rsp), %rsi
movups -0x20(%rsi), %xmm0
movups -0x14(%rsi), %xmm1
leaq 0x50(%rsp), %rdi
movups %xmm1, -0x14(%rdi)
movaps %xmm0, -0x20(%rdi)
callq 0x1a7e2
movq 0x250(%rsp), %rax
leaq 0x30(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0xf0(%rsp), %rsi
callq 0x1baec
testb %al, %al
jne 0xcd22
movq 0x28(%rsp), %rax
leaq 0x48(%rax), %r15
leaq 0x70(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x2d8(%rsp), %rbp
leaq 0x30(%rsp), %rbx
leaq 0xf0(%rsp), %r14
movq %r12, %rdi
leaq 0x50(%rsp), %rsi
callq 0xe80c
movq 0x68(%rsp), %rax
movq %rax, 0x88(%rsp)
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xe51c
movq %r15, %rdi
movq %r13, %rsi
callq 0x1bcc4
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xcce5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4320
movq %rbp, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xe65a
movq 0x2f8(%rsp), %rdi
testq %rdi, %rdi
je 0xcd0f
movq 0x308(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1baec
testb %al, %al
je 0xcc97
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xcd39
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x1f8(%rsp), %rsi
movups -0x20(%rsi), %xmm0
movups -0x14(%rsi), %xmm1
leaq 0x50(%rsp), %rdi
movups %xmm1, -0x14(%rdi)
movaps %xmm0, -0x20(%rdi)
callq 0x1a7e2
movq 0x210(%rsp), %rax
leaq 0x30(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0xf0(%rsp), %rsi
callq 0x1baec
testb %al, %al
jne 0xce34
movq 0x28(%rsp), %rax
leaq 0x48(%rax), %r15
leaq 0x70(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x298(%rsp), %rbp
leaq 0x30(%rsp), %rbx
leaq 0xf0(%rsp), %r14
movq %r12, %rdi
leaq 0x50(%rsp), %rsi
callq 0xe80c
movq 0x68(%rsp), %rax
movq %rax, 0x88(%rsp)
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xe51c
movq %r15, %rdi
movq %r13, %rsi
callq 0x1bcc4
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xcdf7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4320
movq %rbp, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xe65a
movq 0x2b8(%rsp), %rdi
testq %rdi, %rdi
je 0xce21
movq 0x2c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1baec
testb %al, %al
je 0xcda9
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xce4b
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x1b8(%rsp), %rsi
movups -0x20(%rsi), %xmm0
movups -0x14(%rsi), %xmm1
leaq 0x50(%rsp), %r14
movups %xmm1, -0x14(%r14)
movaps %xmm0, -0x20(%r14)
movq %r14, %rdi
callq 0x1a7e2
movq 0x1d0(%rsp), %rax
leaq 0x30(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0xf0(%rsp), %rsi
callq 0x1baec
testb %al, %al
jne 0xcf48
addq $0x48, 0x28(%rsp)
leaq 0x70(%rsp), %r15
leaq 0x8(%rsp), %r12
leaq 0x258(%rsp), %r13
leaq 0x30(%rsp), %rbx
leaq 0xf0(%rsp), %rbp
movq %r15, %rdi
movq %r14, %rsi
callq 0xe80c
movq 0x68(%rsp), %rax
movq %rax, 0x88(%rsp)
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xe51c
movq 0x28(%rsp), %rdi
movq %r12, %rsi
callq 0x1bcc4
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xcf0b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4320
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xe65a
movq 0x278(%rsp), %rdi
testq %rdi, %rdi
je 0xcf35
movq 0x288(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1baec
testb %al, %al
je 0xcebd
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xcf5f
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0xcf7c
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x1b8(%rsp), %rdi
testq %rdi, %rdi
je 0xcf99
movq 0x1c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0xcfb6
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0xcfd3
movq 0x248(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x138(%rsp), %rdi
callq 0xe6fa
leaq 0x158(%rsp), %rdi
callq 0xe6fa
leaq 0x178(%rsp), %rdi
callq 0xe6fa
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xd01f
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xd044
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xd069
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0xd083
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
addq $0x318, %rsp            # imm = 0x318
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xd099
jmp 0xd099
movq %rax, %rbx
jmp 0xd132
movq %rax, %rbx
jmp 0xd16c
movq %rax, %rbx
jmp 0xd189
movq %rax, %rbx
jmp 0xd1a6
movq %rax, %rbx
jmp 0xd1b3
movq %rax, %rbx
jmp 0xd1c0
movq %rax, %rbx
jmp 0xd1cd
movq %rax, %rbx
jmp 0xd1f2
movq %rax, %rbx
jmp 0xd217
movq %rax, %rbx
jmp 0xd23c
jmp 0xd118
jmp 0xd0f3
jmp 0xd118
jmp 0xd0f3
jmp 0xd118
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xd11b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4320
jmp 0xd11b
jmp 0xd118
jmp 0xd118
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xd132
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0xd14f
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x1b8(%rsp), %rdi
testq %rdi, %rdi
je 0xd16c
movq 0x1c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0xd189
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0xd1a6
movq 0x248(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
leaq 0x138(%rsp), %rdi
callq 0xe6fa
leaq 0x158(%rsp), %rdi
callq 0xe6fa
leaq 0x178(%rsp), %rdi
callq 0xe6fa
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xd1f2
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xd217
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xd23c
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x4320
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0xd256
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x4320
movq %rbx, %rdi
callq 0x4550