// File: /workspace/github_cpp_makefile_star2_O3/Kingsford-Group[P]ghost2/src/gzReader.hpp
// Function: loadSigs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
spectramap loadSigs(string file)
{

  if(FILE *check = fopen(file.c_str(),"r")) {fclose(check);}
  else {std::cout << "file: " << file << " not found\n"; exit(0);}

  io::filtering_istream in;
  in.push(io::gzip_decompressor());
  in.push(io::file_descriptor_source(file));

  int numVerts = readInt(in);
  int numHops = readInt(in);

  spectramap map;

  for(int i=0; i < numVerts; i++)
  {
    vector<LevelInfo> levels;
    string vname = readString(in);
    for(int j=0; j < numHops; j++)
    {
      int l = readInt(in);
      int numnames = readInt(in);
      vector<string> vnames;
      vector<double> spectrum;
     
      for(int k=0; k < numnames; k++)
        vnames.push_back(readString(in));

      int spectrumSize = readInt(in);

      for(int k=0; k < spectrumSize; k++)
        spectrum.push_back(readDouble(in));

      double density = readDouble(in);
      LevelInfo m(vnames,spectrum,density,
                  ipsenMikhailovVector(&spectrum[0], spectrum.size(), .005));
      levels.push_back(m);
    }
    map[vname] = levels;
  }
  return map;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %rsi, %rbx
movq %rdi, 0x8(%rsp)
movq (%rsi), %rdi
leaq 0x388cd(%rip), %rsi     # 0x4afbc
callq 0xc640
testq %rax, %rax
je 0x12b19
movq %rax, %rdi
callq 0xc510
leaq 0x180(%rsp), %rdi
callq 0x1d374
leaq 0xd8(%rsp), %rdi
movl $0x1000, %edx           # imm = 0x1000
movl $0xf, %esi
callq 0x1d406
movq 0x188(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
movq $-0x1, %rdx
movq $-0x1, %rcx
callq 0x3b0ee
leaq 0x168(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1276d
movq 0x168(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1278e
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x127af
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0xe0(%rsp), %rdi
callq 0x21c42
leaq 0xd8(%rsp), %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0xca70
movq 0x188(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
movq $-0x1, %rdx
movq $-0x1, %rcx
callq 0x3d446
leaq 0xe0(%rsp), %rdi
callq 0x21c42
leaq 0x190(%rsp), %r14
movq %r14, %rdi
callq 0x12275
movl %eax, (%rsp)
movq %r14, %rdi
callq 0x12275
movl %eax, 0x4(%rsp)
movq 0x8(%rsp), %rax
movb $0x0, (%rax)
movq $0x10, 0x8(%rax)
movq $0x0, 0x10(%rax)
movl $0x3f800000, 0x18(%rax) # imm = 0x3F800000
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
cmpl $0x0, (%rsp)
jle 0x12ae1
leaq 0xe8(%rsp), %rbp
leaq 0xd8(%rsp), %r13
leaq 0xa0(%rsp), %rbx
xorl %r15d, %r15d
movl %r15d, 0x2c(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
callq 0x12344
cmpl $0x0, 0x4(%rsp)
jle 0x12a89
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x12275
movq %r14, %rdi
callq 0x12275
movl %eax, %r15d
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
xorl %eax, %eax
movq %rax, 0xb0(%rsp)
movq %rax, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
testl %r15d, %r15d
jle 0x1290b
movq %r13, %rdi
movq %r14, %rsi
callq 0x12344
movq %rbx, %rdi
movq %r13, %rsi
callq 0x3e116
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x12906
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0xc550
decl %r15d
jne 0x128d3
movq %r14, %rdi
callq 0x12275
movl %eax, %r15d
testl %eax, %eax
jle 0x12958
movq %r14, %rdi
callq 0x122d3
movsd %xmm0, 0xd8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x12946
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x12953
leaq 0x10(%rsp), %rdi
movq %r13, %rdx
callq 0x3e326
decl %r15d
jne 0x1291a
movq %r14, %rdi
callq 0x122d3
movsd %xmm0, 0x48(%rsp)
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
callq 0x1d53e
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1d5c8
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
subq %rsi, %rdx
shrq $0x3, %rdx
leaq 0x88(%rsp), %r15
movq %r15, %rdi
movsd 0x35727(%rip), %xmm0    # 0x480d0
callq 0x124cf
movq %r13, %rdi
leaq 0xc0(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movsd 0x48(%rsp), %xmm0
movq %r15, %rcx
callq 0x1d648
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x129e9
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x12a00
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
leaq 0xc0(%rsp), %rdi
callq 0x1c0cc
leaq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x1d6c0
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x12a37
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x12a54
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
movq %r13, %rdi
callq 0x1c0cc
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x12a73
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
movq %rbx, %rdi
callq 0x1c0cc
incl %r12d
cmpl 0x4(%rsp), %r12d
jne 0x1289c
movq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x3e702
addq $0x30, %rax
movq %rax, %rdi
leaq 0x30(%rsp), %rsi
callq 0x1d722
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
movl 0x2c(%rsp), %r15d
je 0x12aca
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x30(%rsp), %rdi
callq 0x1d7f8
incl %r15d
cmpl (%rsp), %r15d
jne 0x1286b
leaq 0x646b0(%rip), %rsi     # 0x77198
leaq 0x180(%rsp), %rdi
callq 0x3ac48
leaq 0x1b0(%rsp), %rdi
callq 0xc1e0
movq 0x8(%rsp), %rax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x65478(%rip), %rdi     # 0x77f98
leaq 0x35c82(%rip), %rsi     # 0x487a9
callq 0xc500
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc470
leaq 0x35d99(%rip), %rsi     # 0x488d7
movq %rax, %rdi
callq 0xc500
xorl %edi, %edi
callq 0xc690
jmp 0x12b7d
jmp 0x12b7d
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x21c42
jmp 0x12c7c
jmp 0x12b7d
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x1d4de
jmp 0x12c7c
movq %rax, %rbx
jmp 0x12c7c
movq %rax, %rbx
jmp 0x12c68
jmp 0x12bfc
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x1d6ea
jmp 0x12c28
movq %rax, %rbx
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x12bc9
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
jmp 0x12bc9
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x12be5
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
jmp 0x12be5
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x1c0cc
jmp 0x12c28
jmp 0x12c25
jmp 0x12c25
jmp 0x12c25
jmp 0x12bfc
movq %rax, %rbx
jmp 0x12c4c
jmp 0x12c25
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x12c28
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0x12c28
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x12c3f
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
leaq 0xa0(%rsp), %rdi
callq 0x1c0cc
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x12c68
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc550
leaq 0x30(%rsp), %rdi
callq 0x1d7f8
movq 0x8(%rsp), %rdi
callq 0x3dfba
leaq 0x64515(%rip), %rsi     # 0x77198
leaq 0x180(%rsp), %rdi
callq 0x3ac48
leaq 0x1b0(%rsp), %rdi
callq 0xc1e0
movq %rbx, %rdi
callq 0xc9c0