// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/tsv.cpp
// Function: Common_sp::TextTable::isKey(unsigned long) const
bool TextTable::isKey (ColNum colNum) const
{
  ASSERT (colNum < header. size ());

  const Header& h = header [colNum];
  if (h. null)
    return false;
  if (h. numeric)
    if (   h. scientific
        || h. decimals > 0
       )
      return false;
    
  unordered_set<string> values;  values. rehash (rows. size ());
  for (const StringVector& row : rows)
  {
    ASSERT (! row [colNum]. empty ());
    if (! values. insert (row [colNum]). second)
      return false;
  }
      
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rsi, %rbx
movq %rdi, %r15
callq 0xb060
movq %rax, %r14
andl $0x0, (%rax)
movq 0x38(%r15), %rax
subq 0x30(%r15), %rax
sarq $0x7, %rax
cmpq %rbx, %rax
jbe 0x52b41
leaq 0x30(%r15), %rdi
movq %rbx, %rsi
callq 0x55468
cmpb $0x0, 0x40(%rax)
je 0x529a2
xorl %ebp, %ebp
jmp 0x52a59
cmpb $0x1, 0x30(%rax)
jne 0x529bf
xorl %ebp, %ebp
cmpb $0x0, 0x31(%rax)
jne 0x52a59
cmpq $0x0, 0x38(%rax)
jg 0x52a59
leaq 0x120(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movq 0x58(%r15), %rsi
subq 0x50(%r15), %rsi
sarq $0x5, %rsi
leaq 0xf0(%rsp), %rdi
callq 0x570ee
movq 0x50(%r15), %r12
movq 0x58(%r15), %r13
leaq 0xf0(%rsp), %r15
cmpq %r13, %r12
sete %bpl
je 0x52a4c
andl $0x0, (%r14)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1d398
cmpq $0x0, 0x8(%rax)
je 0x52a6d
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1d398
movq %r15, %rdi
movq %rax, %rsi
callq 0x572a0
addq $0x20, %r12
testb $0x1, %dl
jne 0x52a0e
leaq 0xf0(%rsp), %rdi
callq 0x55d30
movl %ebp, %eax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6c0
testl %eax, %eax
jne 0x52c18
leaq 0xcb28(%rip), %rsi      # 0x5f5a9
leaq 0x50(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x30(%rsp), %rdi
movl $0x1c8, %esi            # imm = 0x1C8
callq 0x1caa3
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x1ca3c
leaq 0x7129(%rip), %rdx      # 0x59be3
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1b92d
leaq 0xccfb(%rip), %rsi      # 0x5f7ce
leaq 0x128(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0x8e52(%rip), %rdx      # 0x5b93e
leaq 0x10(%rsp), %rdi
leaq 0x128(%rsp), %rsi
callq 0x1b92d
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x1ca3c
leaq 0xccf7(%rip), %rdx      # 0x5f816
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x1b92d
leaq 0xd0(%rsp), %rdi
callq 0x224fc
callq 0xb6c0
testl %eax, %eax
jne 0x52c18
leaq 0xca54(%rip), %rsi      # 0x5f5a9
leaq 0x70(%rsp), %rdi
leaq 0x128(%rsp), %rdx
callq 0x1b7b6
leaq 0x50(%rsp), %rdi
movl $0x1ba, %esi            # imm = 0x1BA
callq 0x1caa3
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x1ca3c
leaq 0x704f(%rip), %rdx      # 0x59be3
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x1b92d
leaq 0xcc1e(%rip), %rsi      # 0x5f7ce
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x1b7b6
leaq 0x8d78(%rip), %rdx      # 0x5b93e
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1b92d
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x1ca3c
leaq 0xcc07(%rip), %rdx      # 0x5f7fd
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x1b92d
leaq 0xf0(%rsp), %rdi
callq 0x224fc
pushq $0x1
popq %rdi
callq 0xb6d0
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0xbb68
jmp 0x52c35
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0xbb68
jmp 0x52c47
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xbb68
jmp 0x52c56
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xbb68
jmp 0x52c89
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0xbb68
jmp 0x52c77
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0xbb68
jmp 0x52c9b
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0xbb68
jmp 0x52caa
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xbb68
jmp 0x52cbc
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0xbb68
jmp 0x52cce
movq %rax, %rbx
leaq 0x128(%rsp), %rdi
callq 0xbb68
jmp 0x52cdd
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xbb68
jmp 0x52cef
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0xbb68
jmp 0x52cfe
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xbb68
jmp 0x52d43
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xbb68
jmp 0x52d12
movq %rax, %rbx
jmp 0x52d43
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xbb68
jmp 0x52d23
jmp 0x52d33
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xbb68
jmp 0x52d36
jmp 0x52d33
jmp 0x52d33
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0x55d30
movq %rbx, %rdi
callq 0xba30
nop