// File: /workspace/github_cpp_makefile_star2_O1/icemiliang[P]vot/src/vot/../../include/Eigen/src/SparseCore/SparseMatrix.h
// Function: Eigen::SparseMatrix<double, 0, int>& Eigen::SparseMatrix<double, 0, int>::operator=<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int>>>(Eigen::SparseMatrixBase<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int>>> const&)
EIGEN_DONT_INLINE SparseMatrix<Scalar,_Options,_StorageIndex>& SparseMatrix<Scalar,_Options,_StorageIndex>::operator=(const SparseMatrixBase<OtherDerived>& other)
{
  EIGEN_STATIC_ASSERT((internal::is_same<Scalar, typename OtherDerived::Scalar>::value),
        YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY)

  #ifdef EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN
    EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN
  #endif
      
  const bool needToTranspose = (Flags & RowMajorBit) != (internal::evaluator<OtherDerived>::Flags & RowMajorBit);
  if (needToTranspose)
  {
    #ifdef EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN
      EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN
    #endif
    // two passes algorithm:
    //  1 - compute the number of coeffs per dest inner vector
    //  2 - do the actual copy/eval
    // Since each coeff of the rhs has to be evaluated twice, let's evaluate it if needed
    typedef typename internal::nested_eval<OtherDerived,2,typename internal::plain_matrix_type<OtherDerived>::type >::type OtherCopy;
    typedef typename internal::remove_all<OtherCopy>::type _OtherCopy;
    typedef internal::evaluator<_OtherCopy> OtherCopyEval;
    OtherCopy otherCopy(other.derived());
    OtherCopyEval otherCopyEval(otherCopy);

    SparseMatrix dest(other.rows(),other.cols());
    Eigen::Map<IndexVector> (dest.m_outerIndex,dest.outerSize()).setZero();

    // pass 1
    // FIXME the above copy could be merged with that pass
    for (Index j=0; j<otherCopy.outerSize(); ++j)
      for (typename OtherCopyEval::InnerIterator it(otherCopyEval, j); it; ++it)
        ++dest.m_outerIndex[it.index()];

    // prefix sum
    StorageIndex count = 0;
    IndexVector positions(dest.outerSize());
    for (Index j=0; j<dest.outerSize(); ++j)
    {
      StorageIndex tmp = dest.m_outerIndex[j];
      dest.m_outerIndex[j] = count;
      positions[j] = count;
      count += tmp;
    }
    dest.m_outerIndex[dest.outerSize()] = count;
    // alloc
    dest.m_data.resize(count);
    // pass 2
    for (StorageIndex j=0; j<otherCopy.outerSize(); ++j)
    {
      for (typename OtherCopyEval::InnerIterator it(otherCopyEval, j); it; ++it)
      {
        Index pos = positions[it.index()]++;
        dest.m_data.index(pos) = j;
        dest.m_data.value(pos) = it.value();
      }
    }
    this->swap(dest);
    return *this;
  }
  else
  {
    if(other.isRValue())
    {
      initAssignment(other.derived());
    }
    // there is no special optimization
    return Base::operator=(other.derived());
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %r14
movq 0x8(%rsi), %r15
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
movq %rsp, %rdi
movb $0x0, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x38(%rdi)
callq 0x165a6
movq 0x8(%rsp), %rbx
testq %rbx, %rbx
js 0x164ec
movq %r15, 0x50(%rsp)
movq %r14, 0x48(%rsp)
movq 0x18(%rsp), %r15
movq %rbx, %r13
testb $0x3, %r15b
jne 0x161e0
movl %r15d, %r13d
shrl $0x2, %r13d
negl %r13d
andl $0x3, %r13d
cmpq %rbx, %r13
cmovgeq %rbx, %r13
movq %rbx, %r14
subq %r13, %r14
leaq 0x3(%r14), %r12
testq %r14, %r14
cmovnsq %r14, %r12
movq %r12, %rbp
andq $-0x4, %rbp
testq %r13, %r13
jle 0x1620f
leaq (,%r13,4), %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x71e0
addq %r13, %rbp
cmpq $0x4, %r14
jl 0x16243
leaq (%r15,%r13,4), %rdi
leaq 0x4(%r13), %rax
cmpq %rax, %rbp
cmovgq %rbp, %rax
movq %r13, %rcx
notq %rcx
addq %rax, %rcx
andq $-0x4, %rcx
leaq 0x10(,%rcx,4), %rdx
xorl %esi, %esi
callq 0x71e0
subq %rbp, %rbx
jle 0x16265
sarq $0x2, %r12
shlq $0x4, %r12
addq %r12, %r15
leaq (%r15,%r13,4), %rdi
shlq $0x2, %rbx
xorl %esi, %esi
movq %rbx, %rdx
callq 0x71e0
movq 0x50(%rsp), %rbx
movq 0x8(%rbx), %rax
testq %rax, %rax
jle 0x162bb
movq 0x30(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x20(%rbx), %rsi
movq 0x18(%rsp), %rdi
xorl %r8d, %r8d
movslq (%rdx,%r8,4), %r9
testq %rsi, %rsi
je 0x16299
movslq (%rsi,%r8,4), %r10
addq %r9, %r10
jmp 0x1629e
movslq 0x4(%rdx,%r8,4), %r10
cmpq %r9, %r10
jle 0x162b3
movslq (%rcx,%r9,4), %r11
incl (%rdi,%r11,4)
incq %r9
cmpq %r9, %r10
jne 0x162a3
incq %r8
cmpq %rax, %r8
jne 0x16287
movq 0x8(%rsp), %r13
testq %r13, %r13
js 0x1650b
xorl %ebp, %ebp
testq %r13, %r13
je 0x16332
movq %r13, %rax
shrq $0x3e, %rax
jne 0x16304
leaq (,%r13,4), %rdi
callq 0x74b0
movq %rax, %r14
cmpq $0x4, %r13
setae %al
testb $0xf, %r14b
setne %cl
testb %cl, %al
jne 0x1652a
testq %r14, %r14
jne 0x16335
movl $0x8, %edi
callq 0x71b0
movq 0x4bc6b(%rip), %rcx     # 0x61f80
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x4bc7d(%rip), %rsi     # 0x61fa0
movq 0x4bc2e(%rip), %rdx     # 0x61f58
movq %rax, %rdi
callq 0x7680
xorl %r14d, %r14d
testq %r13, %r13
je 0x16366
movq 0x18(%rsp), %rax
cmpq $0x2, %r13
movl $0x1, %ecx
cmovgeq %r13, %rcx
xorl %edx, %edx
xorl %esi, %esi
movl (%rax,%rdx,4), %ebp
addl %esi, %ebp
movl %esi, (%rax,%rdx,4)
movl %esi, (%r14,%rdx,4)
incq %rdx
movl %ebp, %esi
cmpq %rdx, %rcx
jne 0x16350
leaq 0x28(%rsp), %rdi
movq -0x10(%rdi), %rax
movl %ebp, (%rax,%r13,4)
movslq %ebp, %rsi
xorps %xmm0, %xmm0
callq 0x153b8
movq 0x8(%rbx), %rax
testq %rax, %rax
jle 0x16402
movq 0x28(%rbx), %rcx
movq 0x30(%rbx), %rdx
movq 0x18(%rbx), %rsi
movq 0x20(%rbx), %rdi
xorl %r8d, %r8d
movslq (%rsi,%r8,4), %r9
testq %rdi, %rdi
je 0x163ac
movslq (%rdi,%r8,4), %r10
addq %r9, %r10
jmp 0x163b1
movslq 0x4(%rsi,%r8,4), %r10
cmpq %r9, %r10
jle 0x163fa
movq 0x28(%rsp), %r11
movq 0x30(%rsp), %r12
movslq (%rdx,%r9,4), %rbx
testq %rbx, %rbx
js 0x164cd
cmpq %rbx, %r13
jle 0x164cd
movslq (%r14,%rbx,4), %rbp
leal 0x1(%rbp), %r15d
movl %r15d, (%r14,%rbx,4)
movl %r8d, (%r12,%rbp,4)
movsd (%rcx,%r9,8), %xmm0
movsd %xmm0, (%r11,%rbp,8)
incq %r9
cmpq %r9, %r10
jne 0x163c0
incq %r8
cmpq %rax, %r8
jne 0x1639a
movq 0x48(%rsp), %rbx
movq 0x18(%rbx), %r12
movq 0x18(%rsp), %rax
movq %rax, 0x18(%rbx)
movq %r12, 0x18(%rsp)
movq 0x10(%rbx), %rax
movq 0x10(%rsp), %rcx
movq %rcx, 0x10(%rbx)
movq %rax, 0x10(%rsp)
movq 0x8(%rbx), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, 0x8(%rsp)
movq 0x20(%rbx), %rax
movq 0x20(%rsp), %rcx
movq %rcx, 0x20(%rbx)
movq %rax, 0x20(%rsp)
movq 0x28(%rbx), %rax
movq 0x28(%rsp), %rcx
movq %rcx, 0x28(%rbx)
movq %rax, 0x28(%rsp)
movq 0x30(%rbx), %rax
movq 0x30(%rsp), %rcx
movq %rcx, 0x30(%rbx)
movq %rax, 0x30(%rsp)
movq 0x38(%rbx), %rax
movq 0x38(%rsp), %rcx
movq %rcx, 0x38(%rbx)
movq %rax, 0x38(%rsp)
movq 0x40(%rbx), %rax
movq 0x40(%rsp), %rcx
movq %rcx, 0x40(%rbx)
movq %rax, 0x40(%rsp)
movq %r14, %rdi
callq 0x7420
movq %r12, %rdi
callq 0x7420
movq 0x20(%rsp), %rdi
callq 0x7420
leaq 0x28(%rsp), %rdi
callq 0x14f80
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x35050(%rip), %rdi     # 0x4b524
leaq 0x35066(%rip), %rsi     # 0x4b541
leaq 0x353e9(%rip), %rcx     # 0x4b8cb
movl $0x198, %edx            # imm = 0x198
callq 0x7240
leaq 0x35311(%rip), %rdi     # 0x4b804
leaq 0x35317(%rip), %rsi     # 0x4b811
leaq 0x35337(%rip), %rcx     # 0x4b838
movl $0xa3, %edx
callq 0x7240
leaq 0x34a8d(%rip), %rdi     # 0x4af9f
leaq 0x34b10(%rip), %rsi     # 0x4b029
leaq 0x34b38(%rip), %rcx     # 0x4b058
movl $0x138, %edx            # imm = 0x138
callq 0x7240
leaq 0x34b93(%rip), %rdi     # 0x4b0c4
leaq 0x34c46(%rip), %rsi     # 0x4b17e
leaq 0x34c6a(%rip), %rcx     # 0x4b1a9
movl $0xa1, %edx
callq 0x7240
movq %rax, %rbx
movq %r14, %rdi
callq 0x7420
jmp 0x16568
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x14f80
jmp 0x16570
movq %rax, %rbx
movq %rsp, %rdi
callq 0x13b84
movq %rbx, %rdi
callq 0x76c0