// File: /workspace/github_cpp_makefile_star2_O3/ncbi[P]amr/tsv.cpp
// Function: Common_sp::TextTable::qc() const
void TextTable::qc () const
{
  if (! qc_on)
    return;
  if (! name. empty ())
    Named::qc (); 

  {    
    StringVector v;  v. reserve (header. size ());
    FFOR (size_t, i, header. size ())
    {
      const Header& h = header [i];
      try { h. qc (); }
        catch (const exception &e)
        {
          throw runtime_error ("Header column #" + to_string (i + 1) + ": " + e. what ());
        }
      v << h. name;
    }
    v. sort ();
    const size_t i = v. findDuplicate ();
    if (i != no_index)
      throw Error (*this, "Duplicate column name: " + strQuote (v [i]));
  }
  
  FFOR (RowNum, i, rows. size ())
  {
    if (rows [i]. size () != header. size ())
      throw Error (*this, "Row " + to_string (i + 1) + " contains " + to_string (rows [i]. size ()) + " columns whereas table has " + to_string (header. size ()) + " columns");
    for (const string& field : rows [i])
    {
      if (contains (field, '\t'))
        throw Error (*this, "Field " + strQuote (header [i]. name) + " of row " + to_string (i + 1) + " contains a tab character");
      if (contains (field, '\n'))
        throw Error (*this, "Field " + strQuote (header [i]. name) + " of row " + to_string (i + 1) + " contains an EOL character");
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
leaq 0x30310(%rip), %rax     # 0xb0ac0
cmpb $0x1, (%rax)
jne 0x80931
movq %rdi, %r14
cmpq $0x0, 0x10(%rdi)
je 0x807cb
movq %r14, %rdi
callq 0x424ca
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdi
movups %xmm0, 0x9(%rdi)
movaps %xmm0, (%rdi)
movq 0x38(%r14), %rsi
subq 0x30(%r14), %rsi
sarq $0x7, %rsi
callq 0x2fb76
leaq 0x30(%r14), %r12
movq 0x38(%r14), %rbp
subq 0x30(%r14), %rbp
je 0x80850
sarq $0x7, %rbp
cmpq $0x1, %rbp
adcq $0x0, %rbp
xorl %r15d, %r15d
leaq 0x20(%rsp), %rbx
movq %r12, %rdi
movq %r15, %rsi
callq 0x8634e
movq %rax, %r13
movq (%rax), %rax
movq %r13, %rdi
callq *0x18(%rax)
addq $0x8, %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x309da
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
cmpq $0x21, %rax
jb 0x80848
movb $0x0, 0x38(%rsp)
incq %r15
cmpq %r15, %rbp
jne 0x8080d
leaq 0x20(%rsp), %rdi
callq 0x2fb24
leaq 0x20(%rsp), %rdi
movl $0x1, %esi
callq 0x74c9a
movq %rax, %r15
movq %r12, 0xa0(%rsp)
cmpq $-0x1, %rax
jne 0x80d11
leaq 0x20(%rsp), %rdi
callq 0x327d2
movq 0x58(%r14), %rbp
subq 0x50(%r14), %rbp
je 0x80931
leaq 0x50(%r14), %r13
sarq $0x5, %rbp
cmpq $0x1, %rbp
adcq $0x0, %rbp
xorl %r15d, %r15d
movq %r13, %rdi
movq %r15, %rsi
callq 0x863e2
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x5, %rcx
movq 0x38(%r14), %rax
movq %r14, %r12
subq 0x30(%r14), %rax
sarq $0x7, %rax
cmpq %rax, %rcx
jne 0x80a55
movq %r13, %rdi
movq %r15, %rsi
callq 0x863e2
movq (%rax), %rbx
movq 0x8(%rax), %r14
cmpq %r14, %rbx
je 0x80922
movq %rbx, %rdi
movl $0x9, %esi
xorl %edx, %edx
callq 0xa740
cmpq $-0x1, %rax
jne 0x809cc
movq %rbx, %rdi
movl $0xa, %esi
xorl %edx, %edx
callq 0xa740
cmpq $-0x1, %rax
jne 0x80943
addq $0x20, %rbx
jmp 0x808e9
incq %r15
cmpq %rbp, %r15
movq %r12, %r14
jne 0x808a9
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
movq %r15, %rsi
callq 0x8634e
addq $0x8, %rax
leaq 0x40(%rsp), %rdi
movq %rax, %rsi
movl $0x22, %edx
callq 0x38a3a
leaq 0xfddd(%rip), %rsi      # 0x9075a
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2bbf7
leaq 0xfdcb(%rip), %rsi      # 0x90761
leaq 0x80(%rsp), %rdi
callq 0xaac0
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80acf
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x80adb
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
movq %r15, %rsi
callq 0x8634e
addq $0x8, %rax
leaq 0x40(%rsp), %rdi
movq %rax, %rsi
movl $0x22, %edx
callq 0x38a3a
leaq 0xfd54(%rip), %rsi      # 0x9075a
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2bbf7
leaq 0xfd42(%rip), %rsi      # 0x90761
leaq 0x80(%rsp), %rdi
callq 0xaac0
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80b54
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x80b60
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
leaq 0x1(%r15), %rsi
leaq 0xc8(%rsp), %rdi
callq 0x2c619
leaq 0xfc71(%rip), %rsi      # 0x906eb
leaq 0xa8(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
callq 0x2bbf7
leaq 0xffac(%rip), %rsi      # 0x90a42
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x50(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80c7a
movups (%rcx), %xmm0
leaq 0x50(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x80c87
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
incq %r15
leaq 0xa8(%rsp), %rdi
movq %r15, %rsi
callq 0x2c619
leaq 0x60(%rsp), %rdi
movq %rsp, %rsi
leaq 0xa8(%rsp), %rdx
callq 0x2d152
leaq 0xfc62(%rip), %rsi      # 0x90784
leaq 0x60(%rsp), %rdi
callq 0xaac0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80bd2
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x80bdf
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
incq %r15
leaq 0xa8(%rsp), %rdi
movq %r15, %rsi
callq 0x2c619
leaq 0x60(%rsp), %rdi
movq %rsp, %rsi
leaq 0xa8(%rsp), %rdx
callq 0x2d152
leaq 0xfbc3(%rip), %rsi      # 0x9076a
leaq 0x60(%rsp), %rdi
callq 0xaac0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80c26
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x80c33
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rsi
leaq 0x20(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3263e
xorl %ebp, %ebp
leaq 0x2dece(%rip), %rsi     # 0xaeae0
movq 0x2f367(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x81206
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rsi
leaq 0x20(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3263e
xorl %ebp, %ebp
leaq 0x2de7a(%rip), %rsi     # 0xaeae0
movq 0x2f313(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x81206
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r13, %rdi
movq %r15, %rsi
callq 0x863e2
movq 0x8(%rax), %rsi
subq (%rax), %rsi
sarq $0x5, %rsi
leaq 0x108(%rsp), %rdi
callq 0x2c619
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x108(%rsp), %rdx
callq 0x2d152
leaq 0xfa5b(%rip), %rsi      # 0x9073e
leaq 0x80(%rsp), %rdi
callq 0xaac0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80d7f
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x80d8b
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x2e39a
movq %rsp, %rdi
movq %rax, %rsi
movl $0x22, %edx
callq 0x38a3a
leaq 0xf9e4(%rip), %rsi      # 0x90726
leaq 0x60(%rsp), %rdi
movq %rsp, %rdx
callq 0x2bbf7
movb $0x1, %bpl
leaq 0x60(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3263e
xorl %ebp, %ebp
leaq 0x2dd75(%rip), %rsi     # 0xaeae0
movq 0x2f20e(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x81206
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x38(%r12), %rsi
subq 0x30(%r12), %rsi
sarq $0x7, %rsi
leaq 0xe8(%rsp), %rdi
callq 0x2c619
leaq 0x60(%rsp), %rdi
movq %rsp, %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d152
leaq 0xf933(%rip), %rsi      # 0x9070d
leaq 0x60(%rsp), %rdi
callq 0xaac0
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80e06
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x80e13
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rsi
leaq 0x20(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3263e
xorl %ebp, %ebp
leaq 0x2dc9a(%rip), %rsi     # 0xaeae0
movq 0x2f133(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x81206
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x80e7c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80e7c
movq %rax, %r14
movb $0x1, %bpl
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80e9f
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80e9f
movq %rax, %r14
movb $0x1, %bpl
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80ec8
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80ec8
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x80f49
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80f49
movq %rax, %r14
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80efe
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80f19
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %bpl, %bpl
jne 0x80f98
jmp 0x81311
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80f98
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80f98
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80f72
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80f72
movq %rax, %r14
movb $0x1, %bpl
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80fb0
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80fb0
movq %rax, %r14
movq %rbx, %rdi
callq 0xa440
jmp 0x81311
jmp 0x8130e
movq %rax, %r14
movb $0x1, %bpl
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x80fd9
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x80fd9
jmp 0x8130e
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80ffa
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81307
movq 0xd8(%rsp), %rsi
jmp 0x812ff
jmp 0x81020
jmp 0x8103c
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x81042
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81042
movq %rax, %r14
movb $0x1, %bpl
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8108c
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x8108c
movq %rax, %r14
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81344
movq 0xd8(%rsp), %rsi
jmp 0x81335
jmp 0x81086
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x810bc
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x810bc
jmp 0x81341
jmp 0x810b6
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x812cb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x812cb
movq %rax, %r14
cmpl $0x1, %edx
jne 0x81311
movq %r14, %rdi
callq 0xa240
movq %rax, %r14
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
incq %r15
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
callq 0x2c619
leaq 0xf600(%rip), %rsi      # 0x90716
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2bbf7
leaq 0xb7d6(%rip), %rsi      # 0x8c905
leaq 0x80(%rsp), %rdi
callq 0xaac0
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x8115f
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x8116b
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rsp, %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %r15, %rdi
movq %rax, %rsi
callq 0xaac0
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x811ba
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x811c7
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %rbx, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x2edf1(%rip), %rsi     # 0xaffe8
movq 0x2ed62(%rip), %rdx     # 0xaff60
movq %rbx, %rdi
callq 0xa9b0
movq %rax, %r14
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x81228
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81228
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x81246
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81246
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81267
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81282
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %bpl, %bpl
jne 0x812ac
jmp 0x812b4
movq %rax, %r14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x812ac
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x812ac
movq %rax, %r14
movq %rbx, %rdi
callq 0xa440
callq 0xa960
jmp 0x81311
movq %rax, %rdi
callq 0x2c2a7
jmp 0x812c5
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x812ec
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81307
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %bpl, %bpl
jne 0x81344
jmp 0x8134c
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x327d2
jmp 0x8134c
jmp 0x8131f
movq %rax, %r14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81344
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81344
jmp 0x81341
movq %rax, %r14
movq %rbx, %rdi
callq 0xa440
movq %r14, %rdi
callq 0xaa10