// File: /workspace/github_cpp_makefile_star2_O1/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 0x11c10(%rip), %rsi     # 0x1f6e8
leaq 0x11c1e(%rip), %rdx     # 0x1f6fd
leaq 0xd0(%rsp), %rdi
callq 0x6fee
leaq 0xc0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x11bff(%rip), %rsi     # 0x1f6fe
leaq 0x11c1b(%rip), %rdx     # 0x1f721
leaq 0xb0(%rsp), %rdi
callq 0x6fee
leaq 0xa0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x11bfc(%rip), %rsi     # 0x1f722
leaq 0x11c16(%rip), %rdx     # 0x1f743
leaq 0x90(%rsp), %rdi
callq 0x6fee
leaq 0x178(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
movl $0x10, %edx
callq 0xf720
leaq 0x158(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
movl $0x10, %edx
callq 0xf720
leaq 0x138(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movl $0x10, %edx
callq 0xf720
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x218(%rsp), %rdi
leaq 0x178(%rsp), %rcx
xorl %r8d, %r8d
callq 0xf598
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x1d8(%rsp), %rdi
leaq 0x158(%rsp), %rcx
xorl %r8d, %r8d
callq 0xf598
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x198(%rsp), %rdi
leaq 0x138(%rsp), %rcx
xorl %r8d, %r8d
callq 0xf598
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 0x1b778
movq 0x250(%rsp), %rax
leaq 0x30(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0xf0(%rsp), %rsi
callq 0x1ca70
testb %al, %al
jne 0xdd0c
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 0xf812
movq 0x68(%rsp), %rax
movq %rax, 0x88(%rsp)
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xf51e
movq %r15, %rdi
movq %r13, %rsi
callq 0x1cc5c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xdccf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5320
movq %rbp, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xf660
movq 0x2f8(%rsp), %rdi
testq %rdi, %rdi
je 0xdcf9
movq 0x308(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1ca70
testb %al, %al
je 0xdc81
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xdd23
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
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 0x1b778
movq 0x210(%rsp), %rax
leaq 0x30(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0xf0(%rsp), %rsi
callq 0x1ca70
testb %al, %al
jne 0xde1e
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 0xf812
movq 0x68(%rsp), %rax
movq %rax, 0x88(%rsp)
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xf51e
movq %r15, %rdi
movq %r13, %rsi
callq 0x1cc5c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xdde1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5320
movq %rbp, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xf660
movq 0x2b8(%rsp), %rdi
testq %rdi, %rdi
je 0xde0b
movq 0x2c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1ca70
testb %al, %al
je 0xdd93
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xde35
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
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 0x1b778
movq 0x1d0(%rsp), %rax
leaq 0x30(%rsp), %rdi
movq %rax, 0x38(%rdi)
leaq 0xf0(%rsp), %rsi
callq 0x1ca70
testb %al, %al
jne 0xdf32
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 0xf812
movq 0x68(%rsp), %rax
movq %rax, 0x88(%rsp)
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xf51e
movq 0x28(%rsp), %rdi
movq %r12, %rsi
callq 0x1cc5c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xdef5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5320
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xf660
movq 0x278(%rsp), %rdi
testq %rdi, %rdi
je 0xdf1f
movq 0x288(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1ca70
testb %al, %al
je 0xdea7
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xdf49
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0xdf66
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x1b8(%rsp), %rdi
testq %rdi, %rdi
je 0xdf83
movq 0x1c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0xdfa0
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0xdfbd
movq 0x248(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x138(%rsp), %rdi
callq 0xf700
leaq 0x158(%rsp), %rdi
callq 0xf700
leaq 0x178(%rsp), %rdi
callq 0xf700
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xe009
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xe02e
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xe053
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0xe06d
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
addq $0x318, %rsp            # imm = 0x318
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe083
jmp 0xe083
movq %rax, %rbx
jmp 0xe11c
movq %rax, %rbx
jmp 0xe156
movq %rax, %rbx
jmp 0xe173
movq %rax, %rbx
jmp 0xe190
movq %rax, %rbx
jmp 0xe19d
movq %rax, %rbx
jmp 0xe1aa
movq %rax, %rbx
jmp 0xe1b7
movq %rax, %rbx
jmp 0xe1dc
movq %rax, %rbx
jmp 0xe201
movq %rax, %rbx
jmp 0xe226
jmp 0xe102
jmp 0xe0dd
jmp 0xe102
jmp 0xe0dd
jmp 0xe102
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xe105
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5320
jmp 0xe105
jmp 0xe102
jmp 0xe102
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xe11c
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0xe139
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x1b8(%rsp), %rdi
testq %rdi, %rdi
je 0xe156
movq 0x1c8(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0xe173
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0xe190
movq 0x248(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
leaq 0x138(%rsp), %rdi
callq 0xf700
leaq 0x158(%rsp), %rdi
callq 0xf700
leaq 0x178(%rsp), %rdi
callq 0xf700
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xe1dc
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xe201
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xe226
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x5320
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0xe240
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550