// File: /workspace/github_cpp_makefile_star2_O3/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 $0x138, %rsp            # imm = 0x138
movq %rdx, 0x28(%rsp)
movq %rsi, 0x110(%rsp)
movq %rdi, %r15
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdac0
leaq 0x8(%rsp), %r14
leaq 0x39ec4(%rip), %r12     # 0x48787
leaq 0x39e55(%rip), %r13     # 0x4871f
movl $0x5, %ecx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xc580
movq %r14, %rdi
movq %r12, %rsi
callq 0xc1b0
movl %eax, %ebp
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xe905
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc550
testl %ebp, %ebp
je 0xe962
movq %r14, %rdi
movq %r15, %rsi
callq 0xdac0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc6a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xe93b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc550
movq %rbx, %rdi
movq %r13, %rsi
callq 0xc1b0
testl %eax, %eax
jne 0xe8ca
movq 0x69647(%rip), %rdi     # 0x77f98
leaq 0x39e1c(%rip), %rsi     # 0x48774
movl $0x11, %edx
callq 0xc620
leaq 0x39e1d(%rip), %rsi     # 0x48786
leaq 0x30(%rsp), %rdi
callq 0xc1b0
testl %eax, %eax
je 0xec8e
leaq 0x8(%rsp), %r12
leaq 0x30(%rsp), %r13
leaq 0xd0(%rsp), %r14
leaq 0x118(%rsp), %rbp
movq %r12, %rdi
movq %r15, %rsi
callq 0xdac0
movq %r13, %rdi
movq %r12, %rsi
callq 0xc6a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xe9c7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc550
movq %r13, %rdi
leaq 0x39d4e(%rip), %rsi     # 0x4871f
callq 0xc1b0
testl %eax, %eax
je 0xec76
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x27846
leaq 0x100(%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0xf0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x39d63(%rip), %rsi     # 0x4878d
leaq 0x39d62(%rip), %rdx     # 0x48793
callq 0x278dc
movq %r12, %rdi
leaq 0x90(%rsp), %rsi
movq %rbx, %rdx
callq 0xdc1b
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0xea6e
movq 0x100(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xea93
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rdi
callq 0x27846
leaq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq %r14, %rdi
leaq 0x39cc3(%rip), %rsi     # 0x48794
leaq 0x39cc2(%rip), %rdx     # 0x4879a
callq 0x278dc
movq %rbp, %rdi
leaq 0x70(%rsp), %rsi
movq %r14, %rdx
callq 0xdc1b
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xeb12
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xeb34
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc550
movq %r12, %rdi
leaq 0x39be9(%rip), %rsi     # 0x48727
callq 0xc1b0
testl %eax, %eax
je 0xec1c
movq %rbp, %rdi
leaq 0x39bd2(%rip), %rsi     # 0x48727
callq 0xc1b0
testl %eax, %eax
je 0xec1c
movq 0x28(%rsp), %rdi
movq %r12, %rsi
callq 0x28076
leaq 0x60(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq 0x30(%rax), %rsi
movq 0x38(%rax), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x27846
movq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x28076
leaq 0xb0(%rsp), %rbx
leaq 0xc0(%rsp), %rcx
movq %rcx, 0xb0(%rsp)
movq 0x30(%rax), %rsi
movq 0x38(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x27846
movq 0x110(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq %rbx, %rdx
callq 0x1c21a
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xec00
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xec1c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0xec41
movq 0x128(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xec5d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc550
movq %r13, %rdi
leaq 0x39b1f(%rip), %rsi     # 0x48786
callq 0xc1b0
testl %eax, %eax
jne 0xe995
jmp 0xec8e
movq 0x6931b(%rip), %rdi     # 0x77f98
leaq 0x39af0(%rip), %rsi     # 0x48774
movl $0x11, %edx
callq 0xc620
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xeca9
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc550
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xedfb
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xeced
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xeced
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xed0e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xed0e
movq %rax, %rbx
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0xedd9
movq 0x128(%rsp), %rsi
jmp 0xedd1
jmp 0xedfb
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0xed6b
movq 0x100(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xed6b
movq %rax, %rbx
jmp 0xedb7
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xedfe
movq 0xa0(%rsp), %rsi
jmp 0xeded
movq %rax, %rbx
jmp 0xedd9
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xedb7
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xedd9
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xedfe
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xedfe
jmp 0xedfb
jmp 0xedfb
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xee19
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc550
movq %rbx, %rdi
callq 0xc9c0