// File: /workspace/github_cpp_makefile_star2_O1/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 0x30144(%rip), %rax     # 0xb0ac0
cmpb $0x1, (%rax)
jne 0x80afd
movq %rdi, %r14
cmpq $0x0, 0x10(%rdi)
je 0x80997
movq %r14, %rdi
callq 0x42934
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 0x2ff2e
leaq 0x30(%r14), %r12
movq 0x38(%r14), %rbp
subq 0x30(%r14), %rbp
je 0x80a1c
sarq $0x7, %rbp
cmpq $0x1, %rbp
adcq $0x0, %rbp
xorl %r15d, %r15d
leaq 0x20(%rsp), %rbx
movq %r12, %rdi
movq %r15, %rsi
callq 0x863cc
movq %rax, %r13
movq (%rax), %rax
movq %r13, %rdi
callq *0x18(%rax)
addq $0x8, %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x30dca
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
cmpq $0x21, %rax
jb 0x80a14
movb $0x0, 0x38(%rsp)
incq %r15
cmpq %r15, %rbp
jne 0x809d9
leaq 0x20(%rsp), %rdi
callq 0x2fedc
leaq 0x20(%rsp), %rdi
movl $0x1, %esi
callq 0x75008
movq %rax, %r15
movq %r12, 0xa0(%rsp)
cmpq $-0x1, %rax
jne 0x80edd
leaq 0x20(%rsp), %rdi
callq 0x32c12
movq 0x58(%r14), %rbp
subq 0x50(%r14), %rbp
je 0x80afd
leaq 0x50(%r14), %r13
sarq $0x5, %rbp
cmpq $0x1, %rbp
adcq $0x0, %rbp
xorl %r15d, %r15d
movq %r13, %rdi
movq %r15, %rsi
callq 0x86460
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 0x80c21
movq %r13, %rdi
movq %r15, %rsi
callq 0x86460
movq (%rax), %rbx
movq 0x8(%rax), %r14
cmpq %r14, %rbx
je 0x80aee
movq %rbx, %rdi
movl $0x9, %esi
xorl %edx, %edx
callq 0xa740
cmpq $-0x1, %rax
jne 0x80b98
movq %rbx, %rdi
movl $0xa, %esi
xorl %edx, %edx
callq 0xa740
cmpq $-0x1, %rax
jne 0x80b0f
addq $0x20, %rbx
jmp 0x80ab5
incq %r15
cmpq %rbp, %r15
movq %r12, %r14
jne 0x80a75
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 0x863cc
addq $0x8, %rax
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
movl $0x22, %edx
callq 0x38d2b
leaq 0xfc11(%rip), %rsi      # 0x9075a
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x2c037
leaq 0xfbff(%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 0x80c9b
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x80ca7
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
movq %r15, %rsi
callq 0x863cc
addq $0x8, %rax
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
movl $0x22, %edx
callq 0x38d2b
leaq 0xfb88(%rip), %rsi      # 0x9075a
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x2c037
leaq 0xfb76(%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 0x80d20
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x80d2c
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
leaq 0x1(%r15), %rsi
leaq 0x108(%rsp), %rdi
callq 0x2ca55
leaq 0xfaa5(%rip), %rsi      # 0x906eb
leaq 0xa8(%rsp), %rdi
leaq 0x108(%rsp), %rdx
callq 0x2c037
leaq 0xfde0(%rip), %rsi      # 0x90a42
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x70(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x80e46
movups (%rcx), %xmm0
leaq 0x70(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x80e53
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 0x2ca55
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
leaq 0xa8(%rsp), %rdx
callq 0x2d562
leaq 0xfa96(%rip), %rsi      # 0x90784
leaq 0x40(%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 0x80d9e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x80dab
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 0x2ca55
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
leaq 0xa8(%rsp), %rdx
callq 0x2d562
leaq 0xf9f7(%rip), %rsi      # 0x9076a
leaq 0x40(%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 0x80df2
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x80dff
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 0x32a1e
xorl %ebp, %ebp
leaq 0x2dcc2(%rip), %rsi     # 0xaeaa0
movq 0x2f19b(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x813a1
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 0x32a1e
xorl %ebp, %ebp
leaq 0x2dc6e(%rip), %rsi     # 0xaeaa0
movq 0x2f147(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x813a1
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r13, %rdi
movq %r15, %rsi
callq 0x86460
movq 0x8(%rax), %rsi
subq (%rax), %rsi
sarq $0x5, %rsi
leaq 0xe8(%rsp), %rdi
callq 0x2ca55
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2d562
leaq 0xf88f(%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 0x80f4b
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x80f57
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x2e7a8
movq %rsp, %rdi
movq %rax, %rsi
movl $0x22, %edx
callq 0x38d2b
leaq 0xf818(%rip), %rsi      # 0x90726
leaq 0x40(%rsp), %rdi
movq %rsp, %rdx
callq 0x2c037
movb $0x1, %bpl
leaq 0x40(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32a1e
xorl %ebp, %ebp
leaq 0x2db69(%rip), %rsi     # 0xaeaa0
movq 0x2f042(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x813a1
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 0xc8(%rsp), %rdi
callq 0x2ca55
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
leaq 0xc8(%rsp), %rdx
callq 0x2d562
leaq 0xf767(%rip), %rsi      # 0x9070d
leaq 0x40(%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 0x80fd2
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x80fdf
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 0x32a1e
xorl %ebp, %ebp
leaq 0x2da8e(%rip), %rsi     # 0xaeaa0
movq 0x2ef67(%rip), %rdx     # 0xaff80
movq %rbx, %rdi
callq 0xa9b0
jmp 0x813a1
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x81048
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81048
movq %rax, %r14
movb $0x1, %bpl
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8106b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x8106b
movq %rax, %r14
movb $0x1, %bpl
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81094
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81094
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x810f5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x810f5
movq %rax, %r14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x810d2
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x810d2
movq %rax, %r14
movb $0x1, %bpl
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81147
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81147
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8111e
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x8111e
movq %rax, %r14
movb $0x1, %bpl
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81168
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81168
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x81477
movq %rbx, %rdi
callq 0xa440
jmp 0x81477
jmp 0x81474
movq %rax, %r14
movb $0x1, %bpl
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x81191
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81191
jmp 0x81474
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x811fd
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x811fd
jmp 0x811b8
jmp 0x811d4
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x811da
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x811da
movq %rax, %r14
movb $0x1, %bpl
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81227
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81227
movq %rax, %r14
movb $0x1, %bpl
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x814b0
movq 0x118(%rsp), %rsi
jmp 0x8149e
jmp 0x81221
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81257
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81257
jmp 0x814aa
jmp 0x81251
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x81451
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81451
movq %rax, %r14
cmpl $0x1, %edx
jne 0x81477
movq %r14, %rdi
callq 0xa240
movq %rax, %r14
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
incq %r15
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq 0x2ca55
leaq 0xf465(%rip), %rsi      # 0x90716
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x2c037
leaq 0xb63b(%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 0x812fa
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x81306
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 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x81355
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x81362
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
movq 0x8(%rax), %rdx
leaq 0x40(%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 0x2ec56(%rip), %rsi     # 0xaffe8
movq 0x2ebc7(%rip), %rdx     # 0xaff60
movq %rbx, %rdi
callq 0xa9b0
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x813c3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x813c3
movq %rax, %r14
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x813e1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x813e1
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8140a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x8140a
movq %rax, %r14
movb $0x1, %bpl
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8142d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x8142d
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x8143a
movq %rbx, %rdi
callq 0xa440
callq 0xa960
jmp 0x81477
movq %rax, %rdi
callq 0x2c6e2
jmp 0x8144b
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8148b
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x8148b
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x32c12
jmp 0x814bd
jmp 0x81485
movq %rax, %r14
movb $0x1, %bpl
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x814b0
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x814b0
jmp 0x814aa
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x814bd
movq %rbx, %rdi
callq 0xa440
movq %r14, %rdi
callq 0xaa10
nop