// File: /workspace/github_cpp_makefile_star2_O1/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 0x214c4(%rip), %rsi     # 0x318c8
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x1054a
leaq 0x214c1(%rip), %rsi     # 0x318dc
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x10546
leaq 0x214b4(%rip), %rsi     # 0x318e6
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x10561
leaq 0x21484(%rip), %rsi     # 0x318cd
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x105be
leaq 0x21477(%rip), %rsi     # 0x318d7
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x1064f
leaq 0x2146a(%rip), %rsi     # 0x318e1
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
je 0x106aa
leaq 0x21469(%rip), %rsi     # 0x318f7
movq %r15, %rdi
callq 0x5100
testl %eax, %eax
jne 0x1069d
leaq 0xc0(%rbx), %rdi
leaq 0x21442(%rip), %rsi     # 0x318ee
callq 0x5100
testl %eax, %eax
jne 0x1069d
movq %r14, %rdi
xorl %esi, %esi
callq 0x120f0
cvttsd2si %xmm0, %ebp
leaq 0xe0(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x54b0
movq %r14, %rdi
xorl %esi, %esi
callq 0x120f0
movsd %xmm0, 0x28(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x54b0
movq %r14, %rdi
xorl %esi, %esi
callq 0x120f0
movapd %xmm0, %xmm1
leaq 0x8(%rsp), %rdi
movl %ebp, %esi
movsd 0x28(%rsp), %xmm0
callq 0xf86a
movq 0x2f0(%rbx), %rsi
cmpq 0x2f8(%rbx), %rsi
je 0x106b3
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x2f0(%rbx)
jmp 0x1069d
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 0x82cc
leaq 0x20e10(%rip), %rsi     # 0x31398
movq %r14, %rdi
callq 0x5700
addq $0x40, %rbx
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x5110
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1069d
movq 0x18(%rsp), %rsi
jmp 0x10695
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 0x5510
cmpq %r15, (%r12)
je 0x106c9
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x106d5
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x106d5
leaq 0x2e8(%rbx), %rdi
testl %ecx, %ecx
jne 0x10616
movl %ebp, (%r14)
movslq %eax, %rsi
callq 0x1202c
movq 0xc8(%rbx), %rdx
addq $0xc0, %rbx
leaq 0x212bb(%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 0x5590
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 0x82cc
movq %rbx, %rsi
callq 0x10728
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x1069d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x53c0
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
subq $-0x80, %rbx
jmp 0x1054a
addq $0x2e8, %rbx            # imm = 0x2E8
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x1f3ac
jmp 0x1069d
leaq 0x20bb1(%rip), %rdi     # 0x31281
callq 0x5240
leaq 0x20ba5(%rip), %rdi     # 0x31281
callq 0x5550
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x1071f
movq 0x40(%rsp), %rsi
jmp 0x10709
jmp 0x106f7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1071f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
jmp 0x1071f
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x1071f
movl %ebp, (%r14)
movq %rbx, %rdi
callq 0x5670
nop