// File: /workspace/github_c_makefile_star2_O2/jonof[P]jftekwar/jfbuild/libsquish/clusterfit.cpp
// Function: squish::ClusterFit::Compress4(void*)
void ClusterFit::Compress4( void* block )
{
    // declare variables
    int const count = m_colours->GetCount();
    Vec4 const two = VEC4_CONST( 2.0f );
    Vec4 const one = VEC4_CONST( 1.0f );
    Vec4 const onethird_onethird2( 1.0f/3.0f, 1.0f/3.0f, 1.0f/3.0f, 1.0f/9.0f );
    Vec4 const twothirds_twothirds2( 2.0f/3.0f, 2.0f/3.0f, 2.0f/3.0f, 4.0f/9.0f );
    Vec4 const twonineths = VEC4_CONST( 2.0f/9.0f );
    Vec4 const zero = VEC4_CONST( 0.0f );
    Vec4 const half = VEC4_CONST( 0.5f );
    Vec4 const grid( 31.0f, 63.0f, 31.0f, 0.0f );
    Vec4 const gridrcp( 1.0f/31.0f, 1.0f/63.0f, 1.0f/31.0f, 0.0f );

    // prepare an ordering using the principle axis
    ConstructOrdering( m_principle, 0 );

    // check all possible clusters and iterate on the total order
    Vec4 beststart = VEC4_CONST( 0.0f );
    Vec4 bestend = VEC4_CONST( 0.0f );
    Vec4 besterror = m_besterror;
    u8 bestindices[16];
    int bestiteration = 0;
    int besti = 0, bestj = 0, bestk = 0;

    // loop over iterations (we avoid the case that all points in first or last cluster)
    for( int iterationIndex = 0;; )
    {
        // first cluster [0,i) is at the start
        Vec4 part0 = VEC4_CONST( 0.0f );
        for( int i = 0; i < count; ++i )
        {
            // second cluster [i,j) is one third along
            Vec4 part1 = VEC4_CONST( 0.0f );
            for( int j = i;; )
            {
                // third cluster [j,k) is two thirds along
                Vec4 part2 = ( j == 0 ) ? m_points_weights[0] : VEC4_CONST( 0.0f );
                int kmin = ( j == 0 ) ? 1 : j;
                for( int k = kmin;; )
                {
                    // last cluster [k,count) is at the end
                    Vec4 part3 = m_xsum_wsum - part2 - part1 - part0;

                    // compute least squares terms directly
                    Vec4 const alphax_sum = MultiplyAdd( part2, onethird_onethird2, MultiplyAdd( part1, twothirds_twothirds2, part0 ) );
                    Vec4 const alpha2_sum = alphax_sum.SplatW();

                    Vec4 const betax_sum = MultiplyAdd( part1, onethird_onethird2, MultiplyAdd( part2, twothirds_twothirds2, part3 ) );
                    Vec4 const beta2_sum = betax_sum.SplatW();

                    Vec4 const alphabeta_sum = twonineths*( part1 + part2 ).SplatW();

                    // compute the least-squares optimal points
                    Vec4 factor = Reciprocal( NegativeMultiplySubtract( alphabeta_sum, alphabeta_sum, alpha2_sum*beta2_sum ) );
                    Vec4 a = NegativeMultiplySubtract( betax_sum, alphabeta_sum, alphax_sum*beta2_sum )*factor;
                    Vec4 b = NegativeMultiplySubtract( alphax_sum, alphabeta_sum, betax_sum*alpha2_sum )*factor;

                    // clamp to the grid
                    a = Min( one, Max( zero, a ) );
                    b = Min( one, Max( zero, b ) );
                    a = Truncate( MultiplyAdd( grid, a, half ) )*gridrcp;
                    b = Truncate( MultiplyAdd( grid, b, half ) )*gridrcp;

                    // compute the error (we skip the constant xxsum)
                    Vec4 e1 = MultiplyAdd( a*a, alpha2_sum, b*b*beta2_sum );
                    Vec4 e2 = NegativeMultiplySubtract( a, alphax_sum, a*b*alphabeta_sum );
                    Vec4 e3 = NegativeMultiplySubtract( b, betax_sum, e2 );
                    Vec4 e4 = MultiplyAdd( two, e3, e1 );

                    // apply the metric to the error term
                    Vec4 e5 = e4*m_metric;
                    Vec4 error = e5.SplatX() + e5.SplatY() + e5.SplatZ();

                    // keep the solution if it wins
                    if( CompareAnyLessThan( error, besterror ) )
                    {
                        beststart = a;
                        bestend = b;
                        besterror = error;
                        besti = i;
                        bestj = j;
                        bestk = k;
                        bestiteration = iterationIndex;
                    }

                    // advance
                    if( k == count )
                        break;
                    part2 += m_points_weights[k];
                    ++k;
                }

                // advance
                if( j == count )
                    break;
                part1 += m_points_weights[j];
                ++j;
            }

            // advance
            part0 += m_points_weights[i];
        }

        // stop if we didn't improve in this iteration
        if( bestiteration != iterationIndex )
            break;

        // advance if possible
        ++iterationIndex;
        if( iterationIndex == m_iterationCount )
            break;

        // stop if a new iteration is an ordering that has already been tried
        Vec3 axis = ( bestend - beststart ).GetVec3();
        if( !ConstructOrdering( axis, iterationIndex ) )
            break;
    }

    // save the block if necessary
    if( CompareAnyLessThan( besterror, m_besterror ) )
    {
        // remap the indices
        u8 const* order = ( u8* )m_order + 16*bestiteration;

        u8 unordered[16];
        for( int m = 0; m < besti; ++m )
            unordered[order[m]] = 0;
        for( int m = besti; m < bestj; ++m )
            unordered[order[m]] = 2;
        for( int m = bestj; m < bestk; ++m )
            unordered[order[m]] = 3;
        for( int m = bestk; m < count; ++m )
            unordered[order[m]] = 1;

        m_colours->RemapIndices( unordered, bestindices );

        // save the block
        WriteColourBlock4( beststart.GetVec3(), bestend.GetVec3(), bestindices, block );

        // save the error
        m_besterror = besterror;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp            # imm = 0x2A8
movq %rsi, 0x120(%rsp)
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movl (%rax), %r14d
movaps 0xe28e(%rip), %xmm0     # 0x73b40
leaq 0x250(%rsp), %rax
movaps %xmm0, (%rax)
movaps 0xe28c(%rip), %xmm0     # 0x73b50
leaq 0x240(%rsp), %rax
movaps %xmm0, (%rax)
movaps 0xe2ca(%rip), %xmm0     # 0x73ba0
leaq 0x230(%rsp), %rax
movaps %xmm0, (%rax)
movaps 0xe2c8(%rip), %xmm0     # 0x73bb0
leaq 0x220(%rsp), %rax
movaps %xmm0, (%rax)
movaps 0xe2c6(%rip), %xmm0     # 0x73bc0
leaq 0x210(%rsp), %rax
movaps %xmm0, (%rax)
xorps %xmm0, %xmm0
leaq 0x200(%rsp), %rax
movaps %xmm0, (%rax)
movaps 0xe256(%rip), %xmm0     # 0x73b70
leaq 0x1f0(%rsp), %rax
movaps %xmm0, (%rax)
movaps 0xe254(%rip), %xmm0     # 0x73b80
leaq 0x1e0(%rsp), %rax
movaps %xmm0, (%rax)
movaps 0xe252(%rip), %xmm0     # 0x73b90
leaq 0x1d0(%rsp), %rax
movaps %xmm0, (%rax)
leaq 0x18(%rdi), %rsi
xorl %r12d, %r12d
xorl %edx, %edx
callq 0x64ef2
leaq 0x110(%rsp), %rax
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
leaq 0x100(%rsp), %rax
movaps %xmm0, (%rax)
leaq 0x1c4(%rbx), %rax
movq %rax, 0x128(%rsp)
movups 0x1c4(%rbx), %xmm0
movaps %xmm0, 0xf0(%rsp)
leaq 0x1a4(%rbx), %rax
movq %rax, 0x140(%rsp)
leaq 0x1b4(%rbx), %rax
movq %rax, 0x138(%rsp)
movq %rbx, 0x90(%rsp)
addq $0xa4, %rbx
testl %r14d, %r14d
movl $0x0, %eax
movq %r14, 0x48(%rsp)
cmovgl %r14d, %eax
movq %rax, 0x130(%rsp)
movl $0x0, 0x30(%rsp)
movl $0x0, 0x2c(%rsp)
movl $0x0, 0xc(%rsp)
xorl %eax, %eax
movq %rbx, 0x98(%rsp)
movl %eax, %ecx
movl %r12d, %eax
xorps %xmm0, %xmm0
movaps %xmm0, 0xe0(%rsp)
xorl %edx, %edx
movq %rax, 0x40(%rsp)
cmpq 0x130(%rsp), %rdx
je 0x66018
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq %rdx, %rax
movq %rdx, 0xa0(%rsp)
cmpq $0x1, %rax
movq %rax, %rsi
adcq $0x0, %rsi
testq %rax, %rax
je 0x65a43
xorps %xmm0, %xmm0
jmp 0x65a46
movups (%rbx), %xmm0
movaps %xmm0, 0x80(%rsp)
movq %rax, 0x38(%rsp)
movl %ecx, 0x34(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rsi, %rax
shlq $0x4, %rax
addq %rbx, %rax
movq %rax, 0x148(%rsp)
movq 0x140(%rsp), %rdi
leaq 0x80(%rsp), %rbp
movq %rbp, %rsi
callq 0x661dc
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xc0(%rsp)
leaq 0xc0(%rsp), %r14
movq %r14, %rdi
leaq 0x10(%rsp), %r13
movq %r13, %rsi
callq 0x661dc
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xd0(%rsp)
leaq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rbx
movq %rbx, %rsi
callq 0x661dc
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x1b0(%rsp)
movq %r13, %rdi
leaq 0x220(%rsp), %r12
movq %r12, %rsi
movq %rbx, %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xc0(%rsp)
movq %rbp, %rdi
leaq 0x230(%rsp), %rbx
movq %rbx, %rsi
movq %r14, %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, 0xd0(%rsp)
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movups %xmm1, 0xc0(%rsp)
movq %rbp, %rdi
movq %r12, %rsi
leaq 0x1b0(%rsp), %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x170(%rsp)
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x170(%rsp), %rbx
movq %rbx, %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, 0x180(%rsp)
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movups %xmm1, 0x170(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x662fc
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movups %xmm1, 0x190(%rsp)
leaq 0x210(%rsp), %rdi
leaq 0x190(%rsp), %r12
movq %r12, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x1a0(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x70(%rsp)
leaq 0x1a0(%rsp), %r13
movq %r13, %rdi
movq %r13, %rsi
leaq 0x70(%rsp), %r14
movq %r14, %rdx
callq 0x66226
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x60(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x66211
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x190(%rsp)
leaq 0xd0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x50(%rsp)
leaq 0x180(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
leaq 0x50(%rsp), %rbp
movq %rbp, %rdx
callq 0x66226
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x70(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x60(%rsp)
movq %rbx, %rdi
leaq 0xc0(%rsp), %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xb0(%rsp)
movq %r15, %rdi
movq %r13, %rsi
leaq 0xb0(%rsp), %rdx
movq %rdx, %r15
callq 0x66226
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x50(%rsp)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x70(%rsp)
leaq 0x200(%rsp), %r12
movq %r12, %rdi
leaq 0x60(%rsp), %r13
movq %r13, %rsi
callq 0x6625b
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x50(%rsp)
leaq 0x240(%rsp), %rbx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6624a
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x60(%rsp)
movq %r12, %rdi
movq %r14, %rsi
callq 0x6625b
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x50(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6624a
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x70(%rsp)
leaq 0x1e0(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
leaq 0x1f0(%rsp), %rbx
movq %rbx, %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xb0(%rsp)
movq %r15, %rdi
callq 0x6626c
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x50(%rsp)
movq %rbp, %rdi
leaq 0x1d0(%rsp), %r13
movq %r13, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x60(%rsp)
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xb0(%rsp)
movq %r15, %rdi
movq %r15, %r12
callq 0x6626c
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x50(%rsp)
movq %rbp, %rdi
movq %r13, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x70(%rsp)
leaq 0x60(%rsp), %rdi
movq %rdi, %rsi
movq %rdi, %r15
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xb0(%rsp)
movq %r14, %rdi
movq %r14, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x150(%rsp)
leaq 0x150(%rsp), %rbx
movq %rbx, %rdi
leaq 0x170(%rsp), %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x160(%rsp)
movq %r12, %rdi
movq %r12, %r13
leaq 0xc0(%rsp), %rsi
leaq 0x160(%rsp), %r12
movq %r12, %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x50(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x150(%rsp)
movq %rbx, %rdi
leaq 0x1a0(%rsp), %rsi
callq 0x661bb
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x160(%rsp)
movq %r15, %rdi
leaq 0xd0(%rsp), %rsi
movq %r12, %rdx
callq 0x66226
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0xb0(%rsp)
movq %r14, %rdi
leaq 0x180(%rsp), %rsi
movq %r13, %rdx
callq 0x66226
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x160(%rsp)
leaq 0x250(%rsp), %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x661ed
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x150(%rsp)
movq %rbx, %rdi
movq 0x138(%rsp), %rsi
callq 0x661bb
movaps %xmm1, 0x1c0(%rsp)
movaps %xmm0, %xmm1
shufps $0x0, %xmm0, %xmm1      # xmm1 = xmm1[0,0],xmm0[0,0]
movups %xmm1, 0x288(%rsp)
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movups %xmm0, 0x278(%rsp)
leaq 0x288(%rsp), %rdi
leaq 0x278(%rsp), %rsi
callq 0x662fc
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x298(%rsp)
movaps 0x1c0(%rsp), %xmm0
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movups %xmm0, 0x268(%rsp)
leaq 0x298(%rsp), %rdi
leaq 0x268(%rsp), %rsi
callq 0x662fc
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, %xmm1
cmpltps 0xf0(%rsp), %xmm1
movmskps %xmm1, %eax
testl %eax, %eax
movl 0x34(%rsp), %ecx
movq 0xa8(%rsp), %rdx
je 0x65f6e
movups 0x60(%rsp), %xmm1
movaps %xmm1, 0x110(%rsp)
movups 0x70(%rsp), %xmm1
movaps %xmm1, 0x100(%rsp)
movaps %xmm0, 0xf0(%rsp)
movl %edx, 0x30(%rsp)
movq 0x38(%rsp), %rax
movl %eax, 0x2c(%rsp)
movq 0xa0(%rsp), %rax
movl %eax, 0xc(%rsp)
movq 0x40(%rsp), %rax
movl %eax, %ecx
cmpq %rdx, 0x48(%rsp)
movq 0x148(%rsp), %rax
je 0x65fa8
movl %ecx, 0x34(%rsp)
movups (%rax), %xmm0
addps 0x80(%rsp), %xmm0
movaps %xmm0, 0x80(%rsp)
incq %rdx
movq %rdx, 0xa8(%rsp)
addq $0x10, %rax
jmp 0x65a69
movq 0x38(%rsp), %rax
cmpq 0x48(%rsp), %rax
je 0x65fe0
movq 0x38(%rsp), %rax
shlq $0x4, %rax
movq 0x98(%rsp), %rbx
movups (%rbx,%rax), %xmm0
movq 0x38(%rsp), %rax
addps 0x10(%rsp), %xmm0
movaps %xmm0, 0x10(%rsp)
incq %rax
jmp 0x65a2e
movq 0xa0(%rsp), %rdx
movq %rdx, %rax
shlq $0x4, %rax
movq 0x98(%rsp), %rbx
movups (%rbx,%rax), %xmm0
addps 0xe0(%rsp), %xmm0
movaps %xmm0, 0xe0(%rsp)
incq %rdx
movq 0x40(%rsp), %rax
jmp 0x65a0d
cmpl %eax, %ecx
jne 0x6606f
leal 0x1(%rax), %r12d
movq 0x90(%rsp), %r15
cmpl 0x14(%r15), %r12d
je 0x6606d
leaq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x661dc
movlps %xmm0, 0x10(%rsp)
movss %xmm1, 0x18(%rsp)
movq %r15, %rdi
leaq 0x10(%rsp), %rsi
movl %r12d, %edx
callq 0x64ef2
testb %al, %al
movq 0x40(%rsp), %rax
jne 0x659f6
jmp 0x66071
movl %eax, %ecx
movl %ecx, %eax
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
movq 0x128(%rsp), %r14
movq %r14, %rsi
callq 0x6630d
testb %al, %al
je 0x66184
shll $0x4, %ebx
movslq %ebx, %rax
movq 0x90(%rsp), %rdi
addq %rdi, %rax
addq $0x24, %rax
xorl %ecx, %ecx
movl 0xc(%rsp), %esi
testl %esi, %esi
movl $0x0, %edx
cmovgl %esi, %edx
cmpq %rcx, %rdx
je 0x660cc
movzbl (%rax,%rcx), %esi
movb $0x0, 0x10(%rsp,%rsi)
incq %rcx
jmp 0x660b9
movslq 0xc(%rsp), %rcx
movslq 0x2c(%rsp), %rdx
cmpq %rdx, %rcx
jge 0x660e9
movzbl (%rax,%rcx), %esi
movb $0x2, 0x10(%rsp,%rsi)
incq %rcx
jmp 0x660d6
movslq 0x30(%rsp), %rcx
cmpq %rcx, %rdx
jge 0x66101
movzbl (%rax,%rdx), %esi
movb $0x3, 0x10(%rsp,%rsi)
incq %rdx
jmp 0x660ee
movslq 0x48(%rsp), %rdx
cmpq %rdx, %rcx
jge 0x66119
movzbl (%rax,%rcx), %esi
movb $0x1, 0x10(%rsp,%rsi)
incq %rcx
jmp 0x66106
movq 0x8(%rdi), %rdi
leaq 0x10(%rsp), %rsi
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdx
callq 0x668a8
movaps 0x110(%rsp), %xmm0
leaq 0x80(%rsp), %rdi
movlps %xmm0, (%rdi)
movhlps %xmm0, %xmm0            # xmm0 = xmm0[1,1]
movss %xmm0, 0x8(%rdi)
movaps 0x100(%rsp), %xmm0
leaq 0x1b0(%rsp), %rsi
movlps %xmm0, (%rsi)
movhlps %xmm0, %xmm0            # xmm0 = xmm0[1,1]
movss %xmm0, 0x8(%rsi)
movq %rbx, %rdx
movq 0x120(%rsp), %rcx
callq 0x6649a
movaps 0xf0(%rsp), %xmm0
movups %xmm0, (%r14)
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq