// File: /workspace/github_cpp_makefile_star2_O1/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 0xeaca
leaq 0x10(%rsp), %r12
leaq 0x3a6f4(%rip), %rbp     # 0x49714
leaq 0x3a6c8(%rip), %r14     # 0x496ef
movq %rbx, (%rsp)
movl $0xa, %ecx
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xd580
movq %r12, %rdi
movq %rbp, %rsi
callq 0xd1b0
movl %eax, %ebx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xf066
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd550
testl %ebx, %ebx
je 0xf0c9
movq %r12, %rdi
movq 0x8(%rsp), %rsi
callq 0xeaca
movq %r15, %rdi
movq %r12, %rsi
callq 0xd6a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xf09e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd550
movq %r15, %rdi
movq %r14, %rsi
callq 0xd1b0
testl %eax, %eax
jne 0xf02b
movq 0x69ee0(%rip), %rdi     # 0x78f98
leaq 0x3a63e(%rip), %rsi     # 0x496fd
movl $0x15, %edx
callq 0xd620
leaq 0x3a643(%rip), %rsi     # 0x49713
leaq 0x30(%rsp), %rdi
callq 0xd1b0
testl %eax, %eax
je 0xf247
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 0xeaca
leaq 0x30(%rsp), %rdi
movq %r12, %rsi
callq 0xd6a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xf141
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd550
leaq 0x30(%rsp), %rdi
leaq 0x3a5a2(%rip), %rsi     # 0x496ef
callq 0xd1b0
testl %eax, %eax
je 0xf22f
movq %rbp, 0x78(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x28d6a
movq %r15, 0x58(%rsp)
movq %r14, %rdi
leaq 0x3a59c(%rip), %rsi     # 0x4971f
leaq 0x3a59a(%rip), %rdx     # 0x49724
callq 0x28dfa
movq %r14, %rdx
movq (%rsp), %rdi
movq %rbx, %r13
movq %rbx, %rsi
movq %rdx, %r14
callq 0xec37
movq 0x58(%rsp), %rdi
movq %r15, %rbx
cmpq %r15, %rdi
je 0xf1be
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x78(%rsp), %rdi
movq %rbp, %r15
cmpq %rbp, %rdi
je 0xf1db
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xd550
movq (%rsp), %rbp
movq %rbp, %rdi
leaq 0x3a50e(%rip), %rsi     # 0x496f7
callq 0xd1b0
testl %eax, %eax
jne 0xf261
movq (%rbp), %rdi
movq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xf20b
movq (%rax), %rsi
incq %rsi
callq 0xd550
leaq 0x30(%rsp), %rdi
leaq 0x3a4fc(%rip), %rsi     # 0x49713
callq 0xd1b0
testl %eax, %eax
movq %r15, %rbp
movq %rbx, %r15
movq %r13, %rbx
jne 0xf10b
jmp 0xf247
movq 0x69d62(%rip), %rdi     # 0x78f98
leaq 0x3a4c0(%rip), %rsi     # 0x496fd
movl $0x15, %edx
callq 0xd620
movq (%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x3a65b(%rip), %rdx     # 0x498b4
movq %rdx, %rsi
callq 0x28dfa
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf27c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd550
movq (%rsp), %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf2d7
jmp 0xf2d7
jmp 0xf2d7
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0xf2b7
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0xf2b7
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %rbp, %rdi
je 0xf2da
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0xf2da
jmp 0xf2d7
jmp 0xf2d7
movq %rax, %r14
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf2f5
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xd550
movq %r14, %rdi
callq 0xd9c0