// File: /workspace/github_cpp_makefile_star2_O2/Kingsford-Group[P]ghost2/src/readFromGexf.hpp
// Function: getEdges(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 getEdges(ifstream *fin, Graph *target, idtoval *itv)
{
  string cur = nextTag(fin);
  while(cur.substr(0,5) != "edges")
  {
    cur = nextTag(fin);
    if(cur == "<EOF>") {cout << "read edges error\n"; break;}
  }
  while(cur != "/edges")
  {
    cur = nextTag(fin);
    if(cur == "<EOF>") {cout << "read edges error\n"; break;}
    string id1 = extract(cur, "source");
    string id2 = extract(cur, "target");
    if(id1 != "<EOS>" && id2 != "<EOS>")
      (*target).addEdge((*itv)[id1], (*itv)[id2]);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rdx, 0x10(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdi, %rsi
leaq 0x48(%rsp), %r12
movq %r12, %rdi
movq %rsi, 0x18(%rsp)
callq 0xf548
leaq 0x28(%rsp), %r13
pushq $0x5
popq %rbp
leaq 0x30969(%rip), %r14     # 0x4076b
leaq 0x308fa(%rip), %rbx     # 0x40703
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %rbp, %rcx
callq 0xe5b0
movq %r13, %rdi
movq %r14, %rsi
callq 0x186d2
movl %eax, %r15d
movq %r13, %rdi
callq 0xe290
testb %r15b, %r15b
je 0x1003c
movq %r13, %rdi
movq 0x18(%rsp), %rsi
callq 0xf548
movq %r12, %rdi
movq %r13, %rsi
callq 0xe6b0
movq %r13, %rdi
callq 0xe290
movq %r12, %rdi
movq %rbx, %rsi
callq 0x18661
testb %al, %al
je 0xfe09
movq 0x6d12a(%rip), %rdi     # 0x7cf98
leaq 0x308e3(%rip), %rsi     # 0x40758
callq 0xe540
jmp 0x1003c
leaq 0x28(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf548
leaq 0x48(%rsp), %rbx
leaq 0x28(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe6b0
movq %r14, %rdi
callq 0xe290
leaq 0x30851(%rip), %rsi     # 0x40703
movq %rbx, %rdi
callq 0x18661
testb %al, %al
jne 0x10057
leaq 0x128(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xe7a0
leaq 0x30896(%rip), %rsi     # 0x40771
leaq 0x108(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x1866e
leaq 0x28(%rsp), %rdi
leaq 0x128(%rsp), %rsi
leaq 0x108(%rsp), %rdx
callq 0xf681
leaq 0x108(%rsp), %rdi
callq 0xe290
leaq 0x128(%rsp), %rdi
callq 0xe290
leaq 0xe8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xe7a0
leaq 0x3083e(%rip), %rsi     # 0x40778
leaq 0xc8(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1866e
leaq 0x68(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0xf681
leaq 0xc8(%rsp), %rdi
callq 0xe290
leaq 0xe8(%rsp), %rdi
callq 0xe290
leaq 0x30784(%rip), %rsi     # 0x4070b
leaq 0x28(%rsp), %rdi
callq 0x186d2
testb %al, %al
je 0x10028
leaq 0x3076b(%rip), %rsi     # 0x4070b
leaq 0x68(%rsp), %rdi
callq 0x186d2
testb %al, %al
je 0x10028
leaq 0x28(%rsp), %rsi
movq 0x10(%rsp), %rdi
callq 0x22404
addq $0x30, %rax
leaq 0xa8(%rsp), %rdi
movq %rax, %rsi
callq 0xe7a0
leaq 0x68(%rsp), %rsi
movq 0x10(%rsp), %rdi
callq 0x22404
addq $0x30, %rax
leaq 0x88(%rsp), %rdi
movq %rax, %rsi
callq 0xe7a0
leaq 0xa8(%rsp), %rsi
leaq 0x88(%rsp), %rdx
movq 0x20(%rsp), %rdi
callq 0x1883a
leaq 0x88(%rsp), %rdi
callq 0xe290
leaq 0xa8(%rsp), %rdi
callq 0xe290
leaq 0x68(%rsp), %rdi
callq 0xe290
leaq 0x28(%rsp), %rdi
callq 0xe290
leaq 0x30727(%rip), %rsi     # 0x4076a
leaq 0x48(%rsp), %rdi
callq 0x186d2
testb %al, %al
jne 0xfe7f
jmp 0x1006a
movq 0x6cf3a(%rip), %rdi     # 0x7cf98
leaq 0x306f3(%rip), %rsi     # 0x40758
callq 0xe540
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 0x10111
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xe290
jmp 0x100a0
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xe290
jmp 0x100b2
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x100fc
movq %rax, %rbx
jmp 0x100e7
movq %rax, %rbx
jmp 0x10101
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xe290
jmp 0x100f4
jmp 0x10111
movq %rax, %rbx
leaq 0x108(%rsp), %rdi
callq 0xe290
leaq 0x128(%rsp), %rdi
jmp 0x10106
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0xe290
leaq 0x28(%rsp), %rdi
callq 0xe290
jmp 0x10114
jmp 0x10111
jmp 0x10111
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xe290
movq %rbx, %rdi
callq 0xe9f0