// File: /workspace/github_cpp_makefile_star2_O3/Kingsford-Group[P]ghost2/src/readFromGexf.hpp
// Function: getAttribute[abi:cxx11](std::basic_ifstream<char, std::char_traits<char>>*)
string getAttribute(ifstream *fin)
{
  string cur = nextTag(fin);
  while(cur.substr(0,10) != "attributes")
  {
    cur = nextTag(fin);
    if(cur == "<EOF>") {cout << "read attribute error\n"; break;}
  }
  while(cur != "/attributes")
  {
    cur = nextTag(fin);
    if(cur == "<EOF>") {cout << "read attribute error\n"; break;}
    string title = extract(cur,"title");
    if(title != "<EOS>")
      return title;
  }
  return "";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movq %rsi, 0x8(%rsp)
callq 0xdac0
leaq 0x10(%rsp), %r12
leaq 0x3a73d(%rip), %rbp     # 0x48744
leaq 0x3a711(%rip), %r14     # 0x4871f
movq %rbx, (%rsp)
movl $0xa, %ecx
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xc580
movq %r12, %rdi
movq %rbp, %rsi
callq 0xc1b0
movl %eax, %ebx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xe04d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc550
testl %ebx, %ebx
je 0xe0b0
movq %r12, %rdi
movq 0x8(%rsp), %rsi
callq 0xdac0
movq %r15, %rdi
movq %r12, %rsi
callq 0xc6a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xe085
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc550
movq %r15, %rdi
movq %r14, %rsi
callq 0xc1b0
testl %eax, %eax
jne 0xe012
movq 0x69ef9(%rip), %rdi     # 0x77f98
leaq 0x3a687(%rip), %rsi     # 0x4872d
movl $0x15, %edx
callq 0xc620
leaq 0x3a68c(%rip), %rsi     # 0x48743
leaq 0x30(%rsp), %rdi
callq 0xc1b0
testl %eax, %eax
je 0xe22e
leaq 0x88(%rsp), %rbp
leaq 0x68(%rsp), %r15
movq (%rsp), %rax
addq $0x10, %rax
movq %rax, 0x50(%rsp)
leaq 0x10(%rsp), %r12
leaq 0x78(%rsp), %rbx
leaq 0x58(%rsp), %r14
movq %r12, %rdi
movq 0x8(%rsp), %rsi
callq 0xdac0
leaq 0x30(%rsp), %rdi
movq %r12, %rsi
callq 0xc6a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xe128
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x30(%rsp), %rdi
leaq 0x3a5eb(%rip), %rsi     # 0x4871f
callq 0xc1b0
testl %eax, %eax
je 0xe216
movq %rbp, 0x78(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x27846
movq %r15, 0x58(%rsp)
movq %r14, %rdi
leaq 0x3a5e5(%rip), %rsi     # 0x4874f
leaq 0x3a5e3(%rip), %rdx     # 0x48754
callq 0x278dc
movq %r14, %rdx
movq (%rsp), %rdi
movq %rbx, %r13
movq %rbx, %rsi
movq %rdx, %r14
callq 0xdc1b
movq 0x58(%rsp), %rdi
movq %r15, %rbx
cmpq %r15, %rdi
je 0xe1a5
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x78(%rsp), %rdi
movq %rbp, %r15
cmpq %rbp, %rdi
je 0xe1c2
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xc550
movq (%rsp), %rbp
movq %rbp, %rdi
leaq 0x3a557(%rip), %rsi     # 0x48727
callq 0xc1b0
testl %eax, %eax
jne 0xe248
movq (%rbp), %rdi
movq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xe1f2
movq (%rax), %rsi
incq %rsi
callq 0xc550
leaq 0x30(%rsp), %rdi
leaq 0x3a545(%rip), %rsi     # 0x48743
callq 0xc1b0
testl %eax, %eax
movq %r15, %rbp
movq %rbx, %r15
movq %r13, %rbx
jne 0xe0f2
jmp 0xe22e
movq 0x69d7b(%rip), %rdi     # 0x77f98
leaq 0x3a509(%rip), %rsi     # 0x4872d
movl $0x15, %edx
callq 0xc620
movq (%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x3a6a4(%rip), %rdx     # 0x488e4
movq %rdx, %rsi
callq 0x278dc
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe263
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc550
movq (%rsp), %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe2be
jmp 0xe2be
jmp 0xe2be
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0xe29e
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xe29e
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %rbp, %rdi
je 0xe2c1
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xe2c1
jmp 0xe2be
jmp 0xe2be
movq %rax, %r14
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe2dc
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc550
movq %r14, %rdi
callq 0xc9c0