// File: /workspace/github_cpp_makefile_star2_O2/Kingsford-Group[P]ghost2/src/readFromGexf.hpp
// Function: getNodes(std::basic_ifstream<char, std::char_traits<char>>*, Graph*, boost::unordered::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, boost::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>*)
void getNodes(ifstream *fin, Graph *target, idtoval *itv)
{
  string cur = nextTag(fin);
  while(cur.substr(0,5) != "nodes")
  {
    cur = nextTag(fin);
    if(cur == "<EOF>") {cout << "read nodes error\n"; break;}
  }
  string curid;
  while(cur != "/nodes")
  {
    cur = nextTag(fin);
    if(cur == "<EOF>") {cout << "read nodes error\n"; break;}
    string id = extract(cur,"id");
    if(id != "<EOS>")
      curid = id;
    string value = extract(cur,"value");
    if(value != "<EOS>")
    {
      (*target).addVertex(value);
      (*itv)[curid] = value;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rdx, 0x18(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdi, %rsi
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
movq %rsi, 0x10(%rsp)
callq 0xf548
leaq 0x28(%rsp), %r14
pushq $0x5
popq %r12
leaq 0x30c80(%rip), %r13     # 0x4074c
leaq 0x30c30(%rip), %rbp     # 0x40703
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xe5b0
movq %r14, %rdi
movq %r13, %rsi
callq 0x186d2
movl %eax, %r15d
movq %r14, %rdi
callq 0xe290
testb %r15b, %r15b
je 0xfb40
movq %r14, %rdi
movq 0x10(%rsp), %rsi
callq 0xf548
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe6b0
movq %r14, %rdi
callq 0xe290
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x18661
testb %al, %al
je 0xfad3
movq 0x6d464(%rip), %rdi     # 0x7cf98
leaq 0x30bfe(%rip), %rsi     # 0x40739
callq 0xe540
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x128(%rsp), %rbp
leaq 0x108(%rsp), %r15
leaq 0xe8(%rsp), %r12
leaq 0xa8(%rsp), %r13
leaq 0x48(%rsp), %rdi
leaq 0x30bce(%rip), %rsi     # 0x4074b
callq 0x186d2
testb %al, %al
je 0xfcfe
movq %rbp, %rdi
movq 0x10(%rsp), %rsi
callq 0xf548
leaq 0x48(%rsp), %r14
movq %r14, %rdi
movq %rbp, %rsi
callq 0xe6b0
movq %rbp, %rdi
callq 0xe290
movq %r14, %rdi
leaq 0x30b4a(%rip), %rsi     # 0x40703
callq 0x18661
testb %al, %al
jne 0xfceb
leaq 0x88(%rsp), %rdi
movq %r14, %rsi
callq 0xe7a0
movq %r15, %rdi
leaq 0x33908(%rip), %rsi     # 0x434e8
movq %r12, %rdx
callq 0x1866e
movq %r15, %r14
movq %rbp, %rdi
leaq 0x88(%rsp), %r15
movq %r15, %rsi
movq %r14, %rdx
callq 0xf681
movq %r14, %rbx
movq %r14, %rdi
callq 0xe290
movq %r15, %rdi
callq 0xe290
movq %rbp, %rdi
leaq 0x30aed(%rip), %rsi     # 0x4070b
callq 0x186d2
testb %al, %al
je 0xfc34
leaq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0xe300
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xe7a0
leaq 0xc8(%rsp), %r14
movq %r14, %rdi
leaq 0x30afd(%rip), %rsi     # 0x40752
leaq 0xf(%rsp), %rdx
callq 0x1866e
movq %rbx, %r15
movq %r12, %rdi
leaq 0x68(%rsp), %rbx
movq %rbx, %rsi
movq %r14, %rdx
callq 0xf681
movq %r14, %rdi
callq 0xe290
movq %rbx, %rdi
callq 0xe290
movq %r12, %rdi
leaq 0x30a7c(%rip), %rsi     # 0x4070b
callq 0x186d2
testb %al, %al
je 0xfcd6
movq %r13, %rdi
movq %r12, %rsi
callq 0xe7a0
movq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0x187e0
movq %r13, %rdi
callq 0xe290
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x22404
addq $0x30, %rax
movq %rax, %rdi
movq %r12, %rsi
callq 0xe300
movq %r12, %rdi
callq 0xe290
movq %rbp, %rdi
callq 0xe290
jmp 0xfb71
movq 0x6d2a6(%rip), %rdi     # 0x7cf98
leaq 0x30a40(%rip), %rsi     # 0x40739
callq 0xe540
leaq 0x28(%rsp), %rdi
callq 0xe290
leaq 0x48(%rsp), %rdi
callq 0xe290
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xfd7e
jmp 0xfd85
jmp 0xfd55
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xe290
jmp 0xfd8d
movq %rax, %rbx
jmp 0xfd6a
jmp 0xfd7e
movq %rax, %rbx
leaq 0x108(%rsp), %rdi
callq 0xe290
jmp 0xfd74
movq %rax, %rbx
jmp 0xfd9a
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xe290
leaq 0x68(%rsp), %rdi
jmp 0xfd95
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0xfda2
movq %rax, %rbx
jmp 0xfda7
jmp 0xfd85
movq %rax, %rbx
jmp 0xfdb1
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0xe290
leaq 0x128(%rsp), %rdi
callq 0xe290
leaq 0x28(%rsp), %rdi
callq 0xe290
leaq 0x48(%rsp), %rdi
callq 0xe290
movq %rbx, %rdi
callq 0xe9f0