// File: /workspace/github_cpp_makefile_star2_O3/GAStudyGroup[P]GPX2/src/base/sources/ImportData.cpp
// Function: ImportData::reader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void ImportData::reader(string flag, string input)
{
    if (flag == "name") {
        tspName = input;
        //cout << input << " is a name! \n";
    } else if (flag == "type") {
        type = input;
        //cout << input << " is a type! \n";
    } else if (flag == "comment") {
        comment += (input + " ");
        //cout << input << " is a comment! \n";
    } else if (flag == "dimension") {
        //cout << input << " is a dimension! \n";
        citiescoord.reserve(stoi(input));
        flagaux = "wait for number";
    } else if (flag == "edge_type") {
        edge_type = input;
        setEdge_Type(input);
        //cout << input << " is an edge_type! \n";
    } else if (flag == "node_comment") {
        node_comment = input;
        //cout << input << " is an node_comment! \n";
    } else if (flag == "number" && flagaux == "wait for number") {
        int id = stod(input);
        //cout << "I: " << input;
        myfile >> input;
        double x = stod(input);
        //cout << "\t X: " << input;
        myfile >> input;
        double y = stod(input);
        //cout << "\t Y: " << input << "\n";
        citiescoord.push_back(City(id, x, y));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x214cc(%rip), %rsi     # 0x318c8
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x10542
leaq 0x214c9(%rip), %rsi     # 0x318dc
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x1053e
leaq 0x214bc(%rip), %rsi     # 0x318e6
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x10559
leaq 0x2148c(%rip), %rsi     # 0x318cd
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x105b6
leaq 0x2147f(%rip), %rsi     # 0x318d7
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x10647
leaq 0x21472(%rip), %rsi     # 0x318e1
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x106a2
leaq 0x21471(%rip), %rsi     # 0x318f7
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
jne 0x10695
leaq 0xc0(%rbx), %rdi
leaq 0x2144a(%rip), %rsi     # 0x318ee
callq 0x5100
testl %eax, %eax
jne 0x10695
movq %r14, %rdi
xorl %esi, %esi
callq 0x1210c
cvttsd2si %xmm0, %ebp
leaq 0xe0(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x54a0
movq %r14, %rdi
xorl %esi, %esi
callq 0x1210c
movsd %xmm0, 0x28(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x54a0
movq %r14, %rdi
xorl %esi, %esi
callq 0x1210c
movapd %xmm0, %xmm1
leaq 0x8(%rsp), %rdi
movl %ebp, %esi
movsd 0x28(%rsp), %xmm0
callq 0xf862
movq 0x2f0(%rbx), %rsi
cmpq 0x2f8(%rbx), %rsi
je 0x106ab
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x2f0(%rbx)
jmp 0x10695
addq $0x20, %rbx
movq %rbx, %rdi
movq %r14, %rsi
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5210
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x82fa
leaq 0x20e18(%rip), %rsi     # 0x31398
movq %r14, %rdi
callq 0x56f0
addq $0x40, %rbx
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x5110
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x10695
movq 0x18(%rsp), %rsi
jmp 0x1068d
movq (%r14), %r15
callq 0x5060
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x5500
cmpq %r15, (%r12)
je 0x106c1
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x106cd
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x106cd
leaq 0x2e8(%rbx), %rdi
testl %ecx, %ecx
jne 0x1060e
movl %ebp, (%r14)
movq %rax, %rsi
callq 0x12048
movq 0xc8(%rbx), %rdx
addq $0xc0, %rbx
leaq 0x212c3(%rip), %rcx     # 0x318ee
movl $0xf, %r8d
movq %rbx, %rdi
xorl %esi, %esi
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5580
addq $0x60, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5210
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x82fa
movq %rbx, %rsi
callq 0x10720
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x10695
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x53b0
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
subq $-0x80, %rbx
jmp 0x10542
addq $0x2e8, %rbx            # imm = 0x2E8
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x1f46c
jmp 0x10695
leaq 0x20bb9(%rip), %rdi     # 0x31281
callq 0x5240
leaq 0x20bad(%rip), %rdi     # 0x31281
callq 0x5540
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x10717
movq 0x40(%rsp), %rsi
jmp 0x10701
jmp 0x106ef
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x10717
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53b0
jmp 0x10717
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x10717
movl %ebp, (%r14)
movq %rbx, %rdi
callq 0x5660
nop