// File: /workspace/github_cpp_makefile_star2_O2/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
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
orq $-0x1, 0x10(%rdi)
movl %ecx, %ebp
andq $0x0, 0x30(%rdi)
callq 0xc070
andl $0x0, (%rax)
cmpq $-0x1, %r15
je 0x56e40
movq %rax, %r14
testb %bpl, %bpl
je 0x56cf3
pushq $0x18
popq %rax
cmpq $0x30, %rax
je 0x56d2d
movb $0x0, (%rbx,%rax)
incq %rax
jmp 0x56ce4
leaq 0x10(%rbx), %r13
pushq $0x18
popq %rbp
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xc750
movq (%rbx), %rdi
movq %r13, %rsi
callq 0x5b58a
cmpq $0x30, %rbp
je 0x56e15
movq (%rbx), %rdi
leaq (%rbx,%rbp), %rsi
callq 0xc800
incq %rbp
jmp 0x56d12
andl $0x0, (%r14)
movq %rbx, %rdi
callq 0x570a4
testb %al, %al
je 0x56e2e
callq 0xc6d0
testl %eax, %eax
jne 0x56fe8
leaq 0xc2bd(%rip), %rsi      # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0x1247, %esi           # imm = 0x1247
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0x7440(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0xd7cd(%rip), %rsi      # 0x6457a
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0x7b09(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0xd7d0(%rip), %rdx      # 0x645c3
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
movq %rbx, %rdi
callq 0x57238
movq %rax, 0x30(%rbx)
andl $0x0, (%r14)
testq %rax, %rax
je 0x56f14
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xc6d0
testl %eax, %eax
jne 0x56fe8
leaq 0xc1be(%rip), %rsi      # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0x1241, %esi           # imm = 0x1241
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0x7341(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0xd6ce(%rip), %rsi      # 0x6457a
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0x7a0a(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0xd6c5(%rip), %rdx      # 0x645b7
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
callq 0xc6d0
testl %eax, %eax
jne 0x56fe8
leaq 0xc0ea(%rip), %rsi      # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0x1250, %esi           # imm = 0x1250
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0x726d(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0xd5fa(%rip), %rsi      # 0x6457a
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0x7936(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0xcc83(%rip), %rdx      # 0x63c49
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
pushq $0x1
popq %rdi
callq 0xc6f0
jmp 0x56ffc
jmp 0x56ffc
jmp 0x5700e
jmp 0x5700e
jmp 0x57024
jmp 0x57024
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0xcbe8
jmp 0x57011
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xcbe8
jmp 0x57027
jmp 0x57037
jmp 0x57037
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xcbe8
jmp 0x5703a
jmp 0x5704a
jmp 0x5704a
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xcbe8
jmp 0x5704d
jmp 0x57060
jmp 0x57060
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xcbe8
jmp 0x57063
jmp 0x57076
jmp 0x57076
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xcbe8
jmp 0x57079
jmp 0x57089
jmp 0x57089
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xcbe8
jmp 0x5708c
jmp 0x57098
jmp 0x57098
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xcbe8
jmp 0x5709b
movq %rax, %rbx
movq %rbx, %rdi
callq 0xcaa0
nop