// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/seq.cpp
// Function: Seq_sp::KmerIndex::KmerIndex(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
KmerIndex::KmerIndex (const string &name_arg)
: Named (name_arg)
, f (name, ios_base::in | ios_base::out | ios_base::binary)
, canRead (true)
, kmer_size (readKmerSize (f))
, code_max (powInt (2, 2 * kmer_size))
{
  checkFile (name);

  readBin (f, items);

  f. seekg (0, ios_base::end);
  addr_new = (Addr) f. tellg ();

  QC_ASSERT (f. good ());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
leaq 0x2e4e7(%rip), %r13     # 0xb7968
addq $0x10, %r13
movq %r13, (%rdi)
leaq 0x8(%rdi), %r15
leaq 0x18(%rdi), %r12
movq %r12, 0x8(%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0xdd82
movq %rbx, %rdi
callq 0x8f034
leaq 0x2f6a0(%rip), %rax     # 0xb8b58
movq %rax, (%rbx)
leaq 0x28(%rbx), %r14
movq %r14, %rdi
movq %r15, %rsi
movl $0x1c, %edx
callq 0xb9b0
movb $0x1, 0x238(%rbx)
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0xb710
movq 0x8(%rsp), %rsi
movq %rsi, 0x240(%rbx)
addq %rsi, %rsi
movl $0x2, %edi
callq 0x1250c
movq %rax, 0x248(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x250(%rbx)
movq %r15, %rdi
callq 0x8f0a1
leaq 0x250(%rbx), %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0xb710
movq %r14, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0xb7b0
movq %r14, %rdi
callq 0xba20
movq %rax, 0x258(%rbx)
callq 0xb070
movl $0x0, (%rax)
movq 0x28(%rbx), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x48(%rbx,%rax)
jne 0x89578
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6b0
testl %eax, %eax
jne 0x89614
leaq 0x98(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0xeaca(%rip), %rsi      # 0x98062
leaq 0xead3(%rip), %rdx      # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x12d4, %esi           # imm = 0x12D4
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x9bef(%rip), %rsi      # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x8961e
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x8962b
movl $0x1, %edi
callq 0xb6d0
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1014f(%rip), %rsi     # 0x997a2
leaq 0x10174(%rip), %rdx     # 0x997ce
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0xa246(%rip), %rsi      # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x8969a
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x896a7
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rsi
leaq 0x48(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0xe100
leaq 0xb7de(%rip), %rsi      # 0x94eba
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x8970e
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x8971b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1151b
movq %rax, %r15
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x89760
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x89760
movq %rax, %r15
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89786
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x89786
movq %rax, %r15
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x897a7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x897a7
movq %rax, %r15
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x897c8
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x897c8
movq %rax, %r15
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x897e9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x897e9
movq %rax, %r15
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8980f
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x8980f
movq %rax, %r15
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89835
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x89835
movq %rax, %r15
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x89865
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x89865
jmp 0x89862
jmp 0x89862
movq %rax, %r15
jmp 0x8986d
movq %rax, %r15
jmp 0x89874
movq %rax, %r15
movq %r14, %rdi
callq 0xb100
movb $0x0, 0x30384(%rip)     # 0xb9bf8
movq %r13, (%rbx)
movq 0x8(%rbx), %rdi
cmpq %r12, %rdi
je 0x8988c
movq (%r12), %rsi
incq %rsi
callq 0xb5a0
movq %r15, %rdi
callq 0xba60