// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/seq.cpp
// Function: Seq_sp::KmerIndex::IdRecord::IdRecord(std::basic_fstream<char, std::char_traits<char>>&, unsigned long, bool)
KmerIndex::IdRecord::IdRecord (fstream &f_arg,
                               Addr addr_arg,
                               bool isNew)
: f (f_arg)
, addr (addr_arg)
{ 
  ASSERT (addr != nil);
  
  if (isNew)
  {
    FOR (size_t, i, textSize)
      text [i] = no_char;
    ASSERT (! full ());
  }
  else
  {
    f. seekg ((streamoff) addr);
    readBin (f, prev);
    FOR (size_t, i, textSize)
      f. get (text [i]);
    start = getStart ();
    QC_ASSERT (start);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
movq $-0x1, 0x10(%rdi)
movq $0x0, 0x30(%rdi)
callq 0xb070
movl $0x0, (%rax)
cmpq $-0x1, %r15
je 0x86d8a
movq %rax, %r14
testb %bpl, %bpl
je 0x86d11
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rbx)
movq $0x0, 0x28(%rbx)
movl $0x0, (%r14)
movq %rbx, %rdi
callq 0x87370
testb %al, %al
je 0x86d78
callq 0xb6b0
testl %eax, %eax
jne 0x86ec8
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x113d0(%rip), %rsi     # 0x98062
leaq 0x113d9(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1247, %esi           # imm = 0x1247
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0xc4f5(%rip), %rsi      # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86f53
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x86f60
leaq 0x10(%rbx), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xb730
movq (%rbx), %rdi
movl $0x8, %edx
movq %r13, %rsi
callq 0xb710
movl $0x18, %r15d
movq (%rbx), %rdi
leaq (%rbx,%r15), %rsi
callq 0xb7c0
incq %r15
cmpq $0x30, %r15
jne 0x86d38
xorl %eax, %eax
cmpb $0x0, 0x18(%rbx,%rax)
je 0x86d64
incq %rax
cmpq $0x18, %rax
jne 0x86d4f
movl $0x18, %eax
movq %rax, 0x30(%rbx)
movl $0x0, (%r14)
testq %rax, %rax
je 0x86e29
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6b0
testl %eax, %eax
jne 0x86ec8
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x112b8(%rip), %rsi     # 0x98062
leaq 0x112c1(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1241, %esi           # imm = 0x1241
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0xc3dd(%rip), %rsi      # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86ed2
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x86edf
callq 0xb6b0
testl %eax, %eax
jne 0x86ec8
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x11219(%rip), %rsi     # 0x98062
leaq 0x11222(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1250, %esi           # imm = 0x1250
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0xc33e(%rip), %rsi      # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86fd4
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x86fe1
movl $0x1, %edi
callq 0xb6d0
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x126b1(%rip), %rsi     # 0x995b9
leaq 0x126e6(%rip), %rdx     # 0x995f5
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0xc991(%rip), %rsi      # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x87055
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x87062
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x12630(%rip), %rsi     # 0x995b9
leaq 0x12665(%rip), %rdx     # 0x995f5
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0xc910(%rip), %rsi      # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x870cc
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x870d9
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x125af(%rip), %rsi     # 0x995b9
leaq 0x125e4(%rip), %rdx     # 0x995f5
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0xc88f(%rip), %rsi      # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x87143
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x87150
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe100
leaq 0x1255f(%rip), %rsi     # 0x995f6
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x871b3
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x871c0
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe100
leaq 0x124f4(%rip), %rsi     # 0x99602
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x871e1
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x871ee
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe100
leaq 0x11b03(%rip), %rsi     # 0x98c88
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x8720f
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x8721c
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1151b
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1151b
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1151b
jmp 0x87249
jmp 0x87249
jmp 0x87265
jmp 0x87265
jmp 0x8728f
jmp 0x8728f
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x87268
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x87268
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87292
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x87292
jmp 0x872af
jmp 0x872af
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x872b2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x872b2
jmp 0x872cf
jmp 0x872cf
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x872d2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x872d2
jmp 0x872ef
jmp 0x872ef
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x872f2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x872f2
jmp 0x87319
jmp 0x87319
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8731c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x8731c
jmp 0x87343
jmp 0x87343
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87346
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x87346
jmp 0x87365
jmp 0x87365
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x87368
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x87368
movq %rax, %rbx
movq %rbx, %rdi
callq 0xba60