// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/tsv.cpp
// Function: Common_sp::TextTable::duplicateColumn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void TextTable::duplicateColumn (const string &columnName_from,
                                 const string &columnName_to)
{
  ASSERT (! columnName_to. empty ());
  const ColNum from = col2num (columnName_from);
  if (hasColumn (columnName_to))
    throw runtime_error ("Table already has column " + strQuote (columnName_to));
  header << header [from];
  header. back (). name = columnName_to;
  for (StringVector& row : rows)
    row << row [from];
  qc ();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0xa070
movl $0x0, (%rax)
cmpq $0x0, 0x8(%r15)
je 0x8175d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2edd4
movq %rax, %r14
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8014c
cmpq $-0x1, %rax
jne 0x817f5
leaq 0x30(%rbx), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x86268
movq %r12, %rdi
movq %rax, %rsi
callq 0x8835c
movq 0x38(%rbx), %rdi
movq %rdi, %rax
subq 0x30(%rbx), %rax
cmpq $0x81, %rax
jb 0x816fc
movb $0x0, 0x48(%rbx)
addq $-0x78, %rdi
movq %r15, %rsi
callq 0xa320
movq 0x50(%rbx), %r15
movq 0x58(%rbx), %r12
cmpq %r12, %r15
je 0x81743
movq %r15, %rdi
movq %r14, %rsi
callq 0x2e7a8
movq %r15, %rdi
movq %rax, %rsi
callq 0x30dca
movq 0x8(%r15), %rax
subq (%r15), %rax
cmpq $0x21, %rax
jb 0x8173d
movb $0x0, 0x18(%r15)
addq $0x20, %r15
jmp 0x81710
movq (%rbx), %rax
movq %rbx, %rdi
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *0x18(%rax)
callq 0xa6b0
testl %eax, %eax
jne 0x81852
leaq 0xb8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xee7c(%rip), %rsi      # 0x905f9
leaq 0xee85(%rip), %rdx      # 0x90609
leaq 0xa8(%rsp), %rdi
callq 0x2fdd8
leaq 0xc8(%rsp), %rdi
movl $0x18d, %esi            # imm = 0x18D
callq 0x2d60a
leaq 0xe8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0x2d562
leaq 0x941e(%rip), %rsi      # 0x8abe5
leaq 0xe8(%rsp), %rdi
callq 0xaac0
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x8185c
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x81869
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r14
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
movl $0x22, %edx
callq 0x38d2b
leaq 0xefe9(%rip), %rsi      # 0x90804
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2c037
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x2e7a5(%rip), %rsi     # 0xaffe8
movq 0x2e716(%rip), %rdx     # 0xaff60
movq %r14, %rdi
callq 0xa9b0
movl $0x1, %edi
callq 0xa6c0
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x98(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xef0a(%rip), %rsi      # 0x9079f
leaq 0xef4d(%rip), %rdx      # 0x907e9
leaq 0x88(%rsp), %rdi
callq 0x2fdd8
leaq 0xb083(%rip), %rsi      # 0x8c933
leaq 0x88(%rsp), %rdi
callq 0xaac0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x818df
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x818ec
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rsi
leaq 0x68(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x2d562
leaq 0xeecc(%rip), %rsi      # 0x907ea
leaq 0x28(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x81949
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x81956
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x3523b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x81996
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81996
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x819b6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x819b6
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x819d2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x819d2
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x819f4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x819f4
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x81a10
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81a10
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81a36
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81a36
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81a5c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81a5c
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r14, %rdi
je 0x81ad6
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81ad6
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81aa1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81aa1
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81ac9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x81ac9
movq %rax, %rbx
jmp 0x81ad6
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x81ad6
movq %r14, %rdi
callq 0xa440
movq %rbx, %rdi
callq 0xaa10