// File: /workspace/github_cpp_makefile_star2_O1/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 0x86572
xorps %xmm0, %xmm0
movq %rsp, %rdi
movups %xmm0, 0x9(%rdi)
movaps %xmm0, (%rdi)
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x3, %rsi
callq 0x8660c
movq 0x20(%rsp), %r12
movq 0x28(%rsp), %r13
cmpq %r13, %r12
je 0x82525
leaq 0x30(%rbx), %r14
movq %rsp, %r15
movq (%r12), %rsi
movq %r14, %rdi
callq 0x86268
movq %r15, %rdi
movq %rax, %rsi
callq 0x8835c
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cmpq $0x81, %rax
jb 0x8251c
movb $0x0, 0x18(%rsp)
addq $0x8, %r12
cmpq %r13, %r12
jne 0x824ef
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movups 0x30(%rbx), %xmm0
movq 0x40(%rbx), %rax
movq %rsp, %r14
movaps (%r14), %xmm1
movups %xmm1, 0x30(%rbx)
movq 0x10(%r14), %rcx
movq %rcx, 0x40(%rbx)
movq 0x10(%rdi), %rcx
movq %rax, 0x10(%rdi)
movaps (%rdi), %xmm1
movaps %xmm0, (%rdi)
movaps %xmm1, (%r14)
movq %rcx, 0x10(%r14)
callq 0x329dc
movb 0x18(%r14), %al
movb %al, 0x48(%rbx)
movq %r14, %rdi
callq 0x329dc
movq 0x50(%rbx), %r14
movq 0x58(%rbx), %r12
cmpq %r12, %r14
je 0x82664
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 0x2ff2e
movq 0x20(%rsp), %r13
movq 0x28(%rsp), %rbp
cmpq %rbp, %r13
je 0x825f8
movq (%r13), %rsi
movq %r14, %rdi
callq 0x2e7a8
movq %rbx, %rdi
movq %rax, %rsi
callq 0x30dca
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cmpq $0x21, %rax
jb 0x825f2
movb $0x0, 0x18(%rsp)
addq $0x8, %r13
jmp 0x825c2
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x50(%rsp)
movups (%r14), %xmm0
movq 0x10(%r14), %rax
movaps (%rsp), %xmm1
movups %xmm1, (%r14)
movq 0x10(%rsp), %rcx
movq %rcx, 0x10(%r14)
movq 0x50(%rsp), %rcx
movq %rax, 0x50(%rsp)
movaps 0x40(%rsp), %xmm1
movaps %xmm0, 0x40(%rsp)
movaps %xmm1, (%rsp)
movq %rcx, 0x10(%rsp)
movq %r15, %rdi
callq 0x32c12
movb 0x18(%rsp), %al
movb %al, 0x18(%r14)
movq %rbx, %rdi
callq 0x32c12
addq $0x20, %r14
cmpq %r12, %r14
jne 0x82596
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x8267b
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 0x8268e
jmp 0x8269b
movq %rax, %rbx
movq %rsp, %rdi
callq 0x329dc
jmp 0x826a6
movq %rax, %rbx
movq %rsp, %rdi
callq 0x32c12
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x826bd
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0xa5a0
movq %rbx, %rdi
callq 0xaa10
nop