// File: /workspace/github_cpp_makefile_star2_O3/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 0x86954
movq %rax, %r14
testb %bpl, %bpl
je 0x868cf
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rbx)
movq $0x0, 0x28(%rbx)
movl $0x0, (%r14)
movq %rbx, %rdi
callq 0x86f3a
testb %al, %al
je 0x86942
callq 0xb6b0
testl %eax, %eax
jne 0x86a92
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x11802(%rip), %rsi     # 0x98052
leaq 0x1180b(%rip), %rdx     # 0x98062
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1247, %esi           # imm = 0x1247
callq 0xe1b2
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe10a
leaq 0xc937(%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 0x86b1d
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x86b2a
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 0x868f6
xorl %eax, %eax
cmpb $0x0, 0x18(%rbx,%rax)
je 0x8692e
incq %rax
cmpq $0x18, %rax
jne 0x8690d
movq $0x18, 0x30(%rbx)
movl $0x0, (%r14)
jmp 0x86942
movq %rax, 0x30(%rbx)
movl $0x0, (%r14)
testq %rax, %rax
je 0x869f3
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6b0
testl %eax, %eax
jne 0x86a92
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x116de(%rip), %rsi     # 0x98052
leaq 0x116e7(%rip), %rdx     # 0x98062
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1241, %esi           # imm = 0x1241
callq 0xe1b2
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe10a
leaq 0xc813(%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 0x86a9c
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x86aa9
callq 0xb6b0
testl %eax, %eax
jne 0x86a92
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1163f(%rip), %rsi     # 0x98052
leaq 0x11648(%rip), %rdx     # 0x98062
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1250, %esi           # imm = 0x1250
callq 0xe1b2
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe10a
leaq 0xc774(%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 0x86b9e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x86bab
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 0x12ad7(%rip), %rsi     # 0x995a9
leaq 0x12b0c(%rip), %rdx     # 0x995e5
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0xcdc7(%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 0x86c1f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x86c2c
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 0x12a56(%rip), %rsi     # 0x995a9
leaq 0x12a8b(%rip), %rdx     # 0x995e5
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0xcd46(%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 0x86c96
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x86ca3
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 0x129d5(%rip), %rsi     # 0x995a9
leaq 0x12a0a(%rip), %rdx     # 0x995e5
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0xccc5(%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 0x86d0d
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x86d1a
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 0xe10a
leaq 0x12985(%rip), %rsi     # 0x995e6
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 0x86d7d
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x86d8a
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 0xe10a
leaq 0x1291a(%rip), %rsi     # 0x995f2
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 0x86dab
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x86db8
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 0xe10a
leaq 0x11f29(%rip), %rsi     # 0x98c78
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 0x86dd9
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x86de6
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 0x1155a
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 0x1155a
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 0x1155a
jmp 0x86e13
jmp 0x86e2f
jmp 0x86e13
jmp 0x86e2f
jmp 0x86e59
jmp 0x86e59
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x86e32
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86e32
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86e5c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86e5c
jmp 0x86e79
jmp 0x86e79
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x86e7c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86e7c
jmp 0x86e99
jmp 0x86e99
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x86e9c
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86e9c
jmp 0x86eb9
jmp 0x86eb9
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x86ebc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86ebc
jmp 0x86ee3
jmp 0x86ee3
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86ee6
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86ee6
jmp 0x86f0d
jmp 0x86f0d
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86f10
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86f10
jmp 0x86f2f
jmp 0x86f2f
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x86f32
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x86f32
movq %rax, %rbx
movq %rbx, %rdi
callq 0xba60