// File: /workspace/github_cpp_makefile_star2_O3/ncbi[P]amr/tsv.cpp
// Function: Common_sp::TextTable::filterColumns(Common_sp::StringVector const&)
void TextTable::filterColumns (const StringVector &newColumnNames)
{
  const Vector<ColNum> colNums (columns2nums (newColumnNames));

  {  
    Vector<Header> newHeader;  newHeader. reserve (colNums. size ());
    for (const ColNum i : colNums)
      newHeader << header [i];
    header = std::move (newHeader);
  }

  for (StringVector& row : rows)
  {
    StringVector newRow;  newRow. reserve (colNums. size ());
    for (const ColNum i : colNums)
      newRow << row [i];
    row = std::move (newRow);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x864f4
xorps %xmm0, %xmm0
movq %rsp, %rdi
movups %xmm0, 0x9(%rdi)
movaps %xmm0, (%rdi)
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x3, %rsi
callq 0x8658e
movq 0x20(%rsp), %r12
movq 0x28(%rsp), %r13
cmpq %r13, %r12
je 0x8238a
leaq 0x30(%rbx), %r14
movq %rsp, %r15
movq (%r12), %rsi
movq %r14, %rdi
callq 0x861ea
movq %r15, %rdi
movq %rax, %rsi
callq 0x882de
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, %rdx
subq %rax, %rdx
cmpq $0x81, %rdx
jb 0x8237f
movb $0x0, 0x18(%rsp)
addq $0x8, %r12
cmpq %r13, %r12
jne 0x8234b
jmp 0x82393
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
movq 0x40(%rbx), %rdx
movq %rsp, %r14
movq 0x10(%r14), %rsi
movq %rsi, 0x40(%rbx)
movups 0x30(%rbx), %xmm0
movq %rax, 0x30(%rbx)
movq %rcx, 0x38(%rbx)
leaq 0x40(%rsp), %rdi
movaps %xmm0, (%rdi)
movq %rdx, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%r14)
movq $0x0, 0x10(%r14)
callq 0x325f6
movb 0x18(%r14), %al
movb %al, 0x48(%rbx)
movq %r14, %rdi
callq 0x325f6
movq 0x50(%rbx), %r14
movq 0x58(%rbx), %r12
cmpq %r12, %r14
je 0x824c3
movq %rsp, %rbx
leaq 0x40(%rsp), %r15
xorps %xmm0, %xmm0
movups %xmm0, 0x9(%rsp)
movaps %xmm0, (%rsp)
movq 0x28(%rsp), %rsi
subq 0x20(%rsp), %rsi
sarq $0x3, %rsi
movq %rbx, %rdi
callq 0x2fb76
movq 0x20(%rsp), %r13
movq 0x28(%rsp), %rbp
cmpq %rbp, %r13
je 0x82463
movq (%r13), %rsi
movq %r14, %rdi
callq 0x2e39a
movq %rbx, %rdi
movq %rax, %rsi
callq 0x309da
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, %rdx
subq %rax, %rdx
cmpq $0x21, %rdx
jb 0x82458
movb $0x0, 0x18(%rsp)
addq $0x8, %r13
cmpq %rbp, %r13
jne 0x82427
jmp 0x8246c
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
movq 0x10(%r14), %rdx
movq 0x10(%rsp), %rsi
movq %rsi, 0x10(%r14)
movups (%r14), %xmm0
movq %rax, (%r14)
movq %rcx, 0x8(%r14)
movaps %xmm0, 0x40(%rsp)
movq %rdx, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %r15, %rdi
callq 0x327d2
movb 0x18(%rsp), %al
movb %al, 0x18(%r14)
movq %rbx, %rdi
callq 0x327d2
addq $0x20, %r14
cmpq %r12, %r14
jne 0x823f6
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x824da
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0xa5a0
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x824ed
jmp 0x824fa
movq %rax, %rbx
movq %rsp, %rdi
callq 0x325f6
jmp 0x82505
movq %rax, %rbx
movq %rsp, %rdi
callq 0x327d2
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x8251c
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0xa5a0
movq %rbx, %rdi
callq 0xaa10