// File: /workspace/github_cpp_makefile_star2_O1/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 0xeaca
leaq 0x8(%rsp), %r14
leaq 0x39e7b(%rip), %r12     # 0x49757
leaq 0x39e0c(%rip), %r13     # 0x496ef
movl $0x5, %ecx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xd580
movq %r14, %rdi
movq %r12, %rsi
callq 0xd1b0
movl %eax, %ebp
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xf91e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd550
testl %ebp, %ebp
je 0xf97b
movq %r14, %rdi
movq %r15, %rsi
callq 0xeaca
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd6a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xf954
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd550
movq %rbx, %rdi
movq %r13, %rsi
callq 0xd1b0
testl %eax, %eax
jne 0xf8e3
movq 0x6962e(%rip), %rdi     # 0x78f98
leaq 0x39dd3(%rip), %rsi     # 0x49744
movl $0x11, %edx
callq 0xd620
leaq 0x39dd4(%rip), %rsi     # 0x49756
leaq 0x30(%rsp), %rdi
callq 0xd1b0
testl %eax, %eax
je 0xfca7
leaq 0x8(%rsp), %r12
leaq 0x30(%rsp), %r13
leaq 0xd0(%rsp), %r14
leaq 0x118(%rsp), %rbp
movq %r12, %rdi
movq %r15, %rsi
callq 0xeaca
movq %r13, %rdi
movq %r12, %rsi
callq 0xd6a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xf9e0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd550
movq %r13, %rdi
leaq 0x39d05(%rip), %rsi     # 0x496ef
callq 0xd1b0
testl %eax, %eax
je 0xfc8f
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x28d6a
leaq 0x100(%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0xf0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x39d1a(%rip), %rsi     # 0x4975d
leaq 0x39d19(%rip), %rdx     # 0x49763
callq 0x28dfa
movq %r12, %rdi
leaq 0x90(%rsp), %rsi
movq %rbx, %rdx
callq 0xec37
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0xfa87
movq 0x100(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xfaac
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xd550
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rdi
callq 0x28d6a
leaq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq %r14, %rdi
leaq 0x39c7a(%rip), %rsi     # 0x49764
leaq 0x39c79(%rip), %rdx     # 0x4976a
callq 0x28dfa
movq %rbp, %rdi
leaq 0x70(%rsp), %rsi
movq %r14, %rdx
callq 0xec37
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xfb2b
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xfb4d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xd550
movq %r12, %rdi
leaq 0x39ba0(%rip), %rsi     # 0x496f7
callq 0xd1b0
testl %eax, %eax
je 0xfc35
movq %rbp, %rdi
leaq 0x39b89(%rip), %rsi     # 0x496f7
callq 0xd1b0
testl %eax, %eax
je 0xfc35
movq 0x28(%rsp), %rdi
movq %r12, %rsi
callq 0x295b8
leaq 0x60(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq 0x30(%rax), %rsi
movq 0x38(%rax), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x28d6a
movq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x295b8
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 0x28d6a
movq 0x110(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq %rbx, %rdx
callq 0x1d516
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xfc19
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xfc35
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0xfc5a
movq 0x128(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xfc76
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd550
movq %r13, %rdi
leaq 0x39ad6(%rip), %rsi     # 0x49756
callq 0xd1b0
testl %eax, %eax
jne 0xf9ae
jmp 0xfca7
movq 0x69302(%rip), %rdi     # 0x78f98
leaq 0x39aa7(%rip), %rsi     # 0x49744
movl $0x11, %edx
callq 0xd620
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfcc2
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd550
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xfe14
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xfd06
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0xfd06
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xfd27
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0xfd27
movq %rax, %rbx
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0xfdf2
movq 0x128(%rsp), %rsi
jmp 0xfdea
jmp 0xfe14
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0xfd84
movq 0x100(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0xfd84
movq %rax, %rbx
jmp 0xfdd0
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xfe17
movq 0xa0(%rsp), %rsi
jmp 0xfe06
movq %rax, %rbx
jmp 0xfdf2
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xfdd0
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xfdf2
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xfe17
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0xfe17
jmp 0xfe14
jmp 0xfe14
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfe32
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd550
movq %rbx, %rdi
callq 0xd9c0