// File: /workspace/github_cpp_makefile_star2_O3/Kingsford-Group[P]ghost2/src/readFromGexf.hpp
// Function: extract(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string extract(string s, string attribute)
{
  std::size_t loc = s.find(" "+attribute+"=");
  if(loc != std::string::npos)
  {
    string prev=s.substr(0,loc);
    int count=0; // make sure this isn't in quotes
    for(size_t nxt=prev.find("\"");nxt!=std::string::npos;
        nxt=prev.find("\"",nxt+1)) ++count;
    s = s.substr(loc);
    if(count%2==1) 
      return extract(s.substr(s.find("\"")+1),attribute);
    s = s.substr(s.find("\"")+1);
    s = s.substr(0,s.find("\""));
    return s;
  }
  return "<EOS>"; // otherwise impossible return value
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %rbp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x3adf3(%rip), %rsi     # 0x48a2f
movq %rsp, %r12
movq %r12, %rdi
callq 0x1c12a
leaq 0x3aad7(%rip), %rsi     # 0x48725
movq %r12, %rdi
callq 0xca60
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq %rax, %rdx
addq $0x10, %rdx
cmpq %rdx, %rsi
je 0xdc7d
movq %rsi, 0x20(%rsp)
movq (%rdx), %rcx
movq %rcx, 0x30(%rsp)
jmp 0xdc87
movups (%rdx), %xmm0
movups %xmm0, (%r15)
movq %r15, %rsi
movq 0x8(%rax), %rcx
movq %rcx, 0x28(%rsp)
movq %rdx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r14, %rdi
xorl %edx, %edx
callq 0xc9b0
movq %rax, %r12
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0xdcc3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xdcde
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
cmpq $-0x1, %r12
je 0xdd5c
leaq 0x20(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xc580
leaq 0x40c9e(%rip), %rsi     # 0x4e99e
movl $0x1, %ecx
movq %r13, %rdi
xorl %edx, %edx
callq 0xc9b0
cmpq $-0x1, %rax
je 0xdd7e
movq %rbx, 0x40(%rsp)
movq %rbp, %rbx
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
leaq 0x40c74(%rip), %r13     # 0x4e99e
leaq 0x20(%rsp), %rbp
incq %rax
movl $0x1, %ecx
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xc9b0
incl %r15d
cmpq $-0x1, %rax
jne 0xdd2f
andb $0x1, %r15b
movq %rbx, %rbp
movq 0x40(%rsp), %rbx
jmp 0xdd81
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x3a9bd(%rip), %rsi     # 0x48727
leaq 0x3a9bb(%rip), %rdx     # 0x4872c
movq %rbx, %rdi
callq 0x278dc
jmp 0xdf40
movb $0x1, %r15b
movq %rsp, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq $-0x1, %rcx
callq 0xc580
leaq 0x10(%rsp), %r13
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xc6a0
movq (%r12), %rdi
cmpq %r13, %rdi
je 0xddbf
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x40bd8(%rip), %rsi     # 0x4e99e
movl $0x1, %ecx
movq %r14, %rdi
xorl %edx, %edx
testb %r15b, %r15b
je 0xde86
callq 0xc9b0
leaq 0x1(%rax), %rdx
movq %rsp, %rdi
movq %r14, %rsi
movq $-0x1, %rcx
callq 0xc580
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xc6a0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0xde17
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x40b80(%rip), %rsi     # 0x4e99e
movl $0x1, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0xc9b0
movq %rsp, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0xc580
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xc6a0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0xde60
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%r14), %rdx
leaq 0x10(%r14), %rax
cmpq %rax, %rdx
je 0xdf07
movq %rdx, (%rbx)
movq (%rax), %rcx
movq %rcx, 0x10(%rbx)
jmp 0xdf0d
callq 0xc9b0
leaq 0x1(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq $-0x1, %rcx
callq 0xc580
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x27846
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
movq %rbx, %rdi
callq 0xdc1b
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0xdeea
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xdf25
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xdf25
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
movb $0x0, 0x10(%r14)
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xdf40
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc550
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0xdf74
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xdf74
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xdf9a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0xdf9a
jmp 0xdf97
jmp 0xdf97
jmp 0xdf97
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xdfcd
movq 0x30(%rsp), %rsi
jmp 0xdfc5
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xdfcd
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
movq %rbx, %rdi
callq 0xc9c0