// File: /workspace/github_cpp_makefile_star2_O3/GAStudyGroup[P]GPX2/src/base/sources/ImportData.cpp
// Function: ImportData::regexManager(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void ImportData::regexManager(string input)
{
    //|[[:digit:]]+?=[\\.]?=[[:digit:]]+
    regex number("[[:digit:]]+");
    regex name("NAME(.*)");
    regex type("TYPE(.*)");
    regex comment("COMMENT(.*)");
    regex dimension("DIMENSION(.*)");
    regex edge_type("EDGE(.*)");
    regex node_comment("NODE(.*)");
    if (regex_match(input, name)) {
        flag = "name";
        //cout << "Nome\n";
    } else if (regex_match(input, type)) {
        flag = "type";
        //cout << "Tipo\n";
    } else if (regex_match(input, comment)) {
        flag = "comment";
    } else if (regex_match(input, dimension)) {
        flag = "dimension";
    } else if (regex_match(input, edge_type)) {
        flag = "edge_type";
    } else if (regex_match(input, node_comment)) {
        flag = "node_comment";
    } else if (regex_match(input, number) && flagaux == "wait for number") {
        flag = "number";
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x21929(%rip), %rsi     # 0x3187d
leaq 0xe8(%rsp), %rdi
movl $0x10, %edx
callq 0x11f54
leaq 0x2191d(%rip), %rsi     # 0x3188a
leaq 0xc8(%rsp), %rdi
movl $0x10, %edx
callq 0x11f54
leaq 0x2190d(%rip), %rsi     # 0x31893
leaq 0xa8(%rsp), %rdi
movl $0x10, %edx
callq 0x11f54
leaq 0x218fd(%rip), %rsi     # 0x3189c
leaq 0x88(%rsp), %rdi
movl $0x10, %edx
callq 0x11f54
leaq 0x218f0(%rip), %rsi     # 0x318a8
leaq 0x68(%rsp), %rdi
movl $0x10, %edx
callq 0x11f54
leaq 0x218e8(%rip), %rsi     # 0x318b6
leaq 0x48(%rsp), %rdi
movl $0x10, %edx
callq 0x11f54
leaq 0x218db(%rip), %rsi     # 0x318bf
leaq 0x28(%rsp), %rdi
movl $0x10, %edx
callq 0x11f54
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0xc8(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1d4df
movl %eax, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x10032
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
movl $0x4, %r15d
testb %bpl, %bpl
je 0x10049
leaq 0x21884(%rip), %rcx     # 0x318c8
jmp 0x1018b
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0xa8(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1d4df
movl %eax, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x10088
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
testb %bpl, %bpl
je 0x10099
leaq 0x21848(%rip), %rcx     # 0x318dc
jmp 0x1018b
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x88(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1d4df
movl %eax, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x100d8
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
testb %bpl, %bpl
je 0x100ef
movl $0x7, %r15d
leaq 0x217fc(%rip), %rcx     # 0x318e6
jmp 0x1018b
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x68(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1d4df
movl %eax, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1012b
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
movl $0x9, %r15d
testb %bpl, %bpl
je 0x1013f
leaq 0x21790(%rip), %rcx     # 0x318cd
jmp 0x1018b
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x48(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1d4df
movl %eax, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1017b
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
testb %bpl, %bpl
je 0x10206
leaq 0x2174c(%rip), %rcx     # 0x318d7
movq 0xa8(%rbx), %rdx
addq $0xa0, %rbx
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %r8
callq 0x5580
leaq 0x28(%rsp), %rdi
callq 0x12028
leaq 0x48(%rsp), %rdi
callq 0x12028
leaq 0x68(%rsp), %rdi
callq 0x12028
leaq 0x88(%rsp), %rdi
callq 0x12028
leaq 0xa8(%rsp), %rdi
callq 0x12028
leaq 0xc8(%rsp), %rdi
callq 0x12028
leaq 0xe8(%rsp), %rdi
callq 0x12028
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x28(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1d4df
movl %eax, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x10242
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
testb %bpl, %bpl
je 0x10262
leaq 0x21693(%rip), %rsi     # 0x318e1
addq $0xa0, %rbx
movq %rbx, %rdi
callq 0x54d0
jmp 0x101a6
leaq 0xe8(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x11fbc
testb %al, %al
je 0x101a6
leaq 0xc0(%rbx), %rdi
leaq 0x21664(%rip), %rsi     # 0x318ee
callq 0x5100
testl %eax, %eax
jne 0x101a6
leaq 0x21659(%rip), %rsi     # 0x318f7
jmp 0x1024e
jmp 0x102aa
jmp 0x102aa
jmp 0x102aa
jmp 0x102aa
jmp 0x102aa
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x102e6
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x53b0
jmp 0x102e6
movq %rax, %rbx
jmp 0x102f0
movq %rax, %rbx
jmp 0x102fa
movq %rax, %rbx
jmp 0x10304
movq %rax, %rbx
jmp 0x10311
movq %rax, %rbx
jmp 0x1031e
movq %rax, %rbx
jmp 0x1032b
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x12028
leaq 0x48(%rsp), %rdi
callq 0x12028
leaq 0x68(%rsp), %rdi
callq 0x12028
leaq 0x88(%rsp), %rdi
callq 0x12028
leaq 0xa8(%rsp), %rdi
callq 0x12028
leaq 0xc8(%rsp), %rdi
callq 0x12028
leaq 0xe8(%rsp), %rdi
callq 0x12028
movq %rbx, %rdi
callq 0x5660