// File: /workspace/github_cpp_makefile_star2_O1/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 0x38690(%rip), %rsi     # 0x4bf8c
callq 0xd640
testq %rax, %rax
je 0x13d26
movq %rax, %rdi
callq 0xd510
leaq 0x180(%rsp), %rdi
callq 0x1e67a
leaq 0xd8(%rsp), %rdi
movl $0x1000, %edx           # imm = 0x1000
movl $0xf, %esi
callq 0x1e70c
movq 0x188(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
movq $-0x1, %rdx
movq $-0x1, %rcx
callq 0x3c1ac
leaq 0x168(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1397a
movq 0x168(%rsp), %rsi
incq %rsi
callq 0xd550
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1399b
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xd550
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x139bc
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xd550
leaq 0xe0(%rsp), %rdi
callq 0x2307a
leaq 0xd8(%rsp), %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0xda70
movq 0x188(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
movq $-0x1, %rdx
movq $-0x1, %rcx
callq 0x3e552
leaq 0xe0(%rsp), %rdi
callq 0x2307a
leaq 0x190(%rsp), %r14
movq %r14, %rdi
callq 0x13479
movl %eax, (%rsp)
movq %r14, %rdi
callq 0x13479
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 0x13cee
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 0x13548
cmpl $0x0, 0x4(%rsp)
jle 0x13c96
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x13479
movq %r14, %rdi
callq 0x13479
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 0x13b18
movq %r13, %rdi
movq %r14, %rsi
callq 0x13548
movq %rbx, %rdi
movq %r13, %rsi
callq 0x3f214
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x13b13
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0xd550
decl %r15d
jne 0x13ae0
movq %r14, %rdi
callq 0x13479
movl %eax, %r15d
testl %eax, %eax
jle 0x13b65
movq %r14, %rdi
callq 0x134d7
movsd %xmm0, 0xd8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x13b53
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x13b60
leaq 0x10(%rsp), %rdi
movq %r13, %rdx
callq 0x3f41c
decl %r15d
jne 0x13b27
movq %r14, %rdi
callq 0x134d7
movsd %xmm0, 0x48(%rsp)
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
callq 0x1e844
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1e8ce
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
subq %rsi, %rdx
shrq $0x3, %rdx
leaq 0x88(%rsp), %r15
movq %r15, %rdi
movsd 0x3551a(%rip), %xmm0    # 0x490d0
callq 0x136d3
movq %r13, %rdi
leaq 0xc0(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movsd 0x48(%rsp), %xmm0
movq %r15, %rcx
callq 0x1e94e
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x13bf6
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x13c0d
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
leaq 0xc0(%rsp), %rdi
callq 0x1d3ca
leaq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x1e9c6
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x13c44
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x13c61
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
movq %r13, %rdi
callq 0x1d3ca
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x13c80
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
movq %rbx, %rdi
callq 0x1d3ca
incl %r12d
cmpl 0x4(%rsp), %r12d
jne 0x13aa9
movq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x3f814
addq $0x30, %rax
movq %rax, %rdi
leaq 0x30(%rsp), %rsi
callq 0x1ea28
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
movl 0x2c(%rsp), %r15d
je 0x13cd7
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd550
leaq 0x30(%rsp), %rdi
callq 0x1eafe
incl %r15d
cmpl (%rsp), %r15d
jne 0x13a78
leaq 0x6447b(%rip), %rsi     # 0x78170
leaq 0x180(%rsp), %rdi
callq 0x3bd02
leaq 0x1b0(%rsp), %rdi
callq 0xd1e0
movq 0x8(%rsp), %rax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x6526b(%rip), %rdi     # 0x78f98
leaq 0x35a45(%rip), %rsi     # 0x49779
callq 0xd500
movq %rax, %rdi
movq %rbx, %rsi
callq 0xd470
leaq 0x35b5c(%rip), %rsi     # 0x498a7
movq %rax, %rdi
callq 0xd500
xorl %edi, %edi
callq 0xd690
jmp 0x13d8a
jmp 0x13d8a
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x2307a
jmp 0x13e89
jmp 0x13d8a
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x1e7e4
jmp 0x13e89
movq %rax, %rbx
jmp 0x13e89
movq %rax, %rbx
jmp 0x13e75
jmp 0x13e09
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x1e9f0
jmp 0x13e35
movq %rax, %rbx
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x13dd6
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
jmp 0x13dd6
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x13df2
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
jmp 0x13df2
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x1d3ca
jmp 0x13e35
jmp 0x13e32
jmp 0x13e32
jmp 0x13e32
jmp 0x13e09
movq %rax, %rbx
jmp 0x13e59
jmp 0x13e32
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x13e35
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0x13e35
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x13e4c
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
leaq 0xa0(%rsp), %rdi
callq 0x1d3ca
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x13e75
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xd550
leaq 0x30(%rsp), %rdi
callq 0x1eafe
movq 0x8(%rsp), %rdi
callq 0x3f0b8
leaq 0x642e0(%rip), %rsi     # 0x78170
leaq 0x180(%rsp), %rdi
callq 0x3bd02
leaq 0x1b0(%rsp), %rdi
callq 0xd1e0
movq %rbx, %rdi
callq 0xd9c0