// File: /workspace/github_cpp_makefile_star2_O2/EmbeddedPaul166[P]SNMP-Agent/src/parser.cpp
// Function: Parser::parseCustomDataTypesInImport(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Parser::parseCustomDataTypesInImport(std::string fileContent)
{ 
    std::smatch match;
    
    for (std::vector<std::string>::size_type i = m_customDataTypeNameVector.size() - 1; i != (std::vector<std::string>::size_type) - 1; i--)
    {
        std::string patternOneString = m_customDataTypeNameVector[i] + " ::=\\n\\s*[^:upper:c].*?\\n\\s*.*";
        std::string patternTwoString = m_customDataTypeNameVector[i] + " ::=\\n\\s*CHOICE((.*\\n)*?)\\s*\\}"; 
        std::regex patternOne(patternOneString);
        std::regex patternTwo(patternTwoString);
        std::regex patternThree("CHOICE");
        if (std::regex_search(fileContent, match, patternOne))
        {
            std::string matchString = match.str(0);
            if (!std::regex_search(matchString, match, patternThree))
            {
                m_customDataTypeStringVector.push_back(matchString);
            }
        }
        if (std::regex_search(fileContent, match, patternTwo))
        {
            m_customDataTypeStringVector.push_back(match.str(0)); 
        }
    } 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, 0x8(%rsp)
xorps %xmm0, %xmm0
leaq 0xc0(%rsp), %rbx
movaps %xmm0, 0x10(%rbx)
movaps %xmm0, (%rbx)
movq 0x20(%rdi), %rcx
subq 0x18(%rdi), %rcx
movq %rcx, %rbp
sarq $0x5, %rbp
leaq 0x48(%rdi), %rax
movq %rax, (%rsp)
addq $-0x20, %rcx
pushq $0x10
popq %r12
leaq 0xe8(%rsp), %r13
movq %rdi, 0x10(%rsp)
subq $0x1, %rbp
jb 0x860c
movq 0x18(%rdi), %rsi
addq %rcx, %rsi
movq %rdi, %r14
leaq 0xa0(%rsp), %rdi
leaq 0x1100e(%rip), %rdx     # 0x194d5
movq %rcx, %r15
callq 0xb74d
movq 0x18(%r14), %rsi
movq %r15, 0x18(%rsp)
addq %r15, %rsi
leaq 0x80(%rsp), %rdi
leaq 0x111fb(%rip), %rdx     # 0x196e5
callq 0xb74d
leaq 0x60(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
movl %r12d, %r15d
movl %r12d, %edx
callq 0xb7a0
leaq 0x40(%rsp), %rdi
leaq 0x80(%rsp), %rsi
movl %r15d, %edx
callq 0xb7a0
leaq 0x20(%rsp), %rdi
leaq 0x10fcc(%rip), %rsi     # 0x194f4
movl %r15d, %edx
callq 0xb4e0
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
leaq 0x60(%rsp), %rdx
xorl %ecx, %ecx
callq 0xb546
testb %al, %al
je 0x8585
movq %r13, %r14
movq %r13, %rdi
movq %rbx, %r15
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb562
movq %r14, %rdi
movq %r15, %rsi
leaq 0x20(%rsp), %rdx
xorl %ecx, %ecx
callq 0xb546
testb %al, %al
jne 0x857d
movq (%rsp), %rdi
movq %r13, %rsi
callq 0xb802
movq %r13, %rdi
callq 0x4170
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
leaq 0x40(%rsp), %rdx
xorl %ecx, %ecx
callq 0xb546
testb %al, %al
je 0x85c1
movq %r13, %r15
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb562
movq (%rsp), %rdi
movq %r15, %rsi
callq 0x174b0
movq %r15, %rdi
callq 0x4170
leaq 0x20(%rsp), %rdi
callq 0xb786
leaq 0x40(%rsp), %rdi
callq 0xb786
leaq 0x60(%rsp), %rdi
callq 0xb786
leaq 0x80(%rsp), %rdi
callq 0x4170
leaq 0xa0(%rsp), %rdi
callq 0x4170
movq 0x18(%rsp), %rcx
addq $-0x20, %rcx
movq 0x10(%rsp), %rdi
jmp 0x84a4
leaq 0xc0(%rsp), %rdi
callq 0xb94c
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x865c
jmp 0x865c
jmp 0x8631
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x4170
jmp 0x865f
movq %rax, %rbx
jmp 0x867d
movq %rax, %rbx
jmp 0x8673
movq %rax, %rbx
jmp 0x8669
movq %rax, %rbx
jmp 0x8697
movq %rax, %rbx
jmp 0x868a
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0xb786
leaq 0x40(%rsp), %rdi
callq 0xb786
leaq 0x60(%rsp), %rdi
callq 0xb786
leaq 0x80(%rsp), %rdi
callq 0x4170
leaq 0xa0(%rsp), %rdi
callq 0x4170
leaq 0xc0(%rsp), %rdi
callq 0xb94c
movq %rbx, %rdi
callq 0x4540