// File: mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::hsschur_internalauxschur(bool, bool, long, long, long, alglib_impl::ae_matrix*, alglib_impl::ae_vector*, alglib_impl::ae_vector*, long, long, alglib_impl::ae_matrix*, alglib_impl::ae_vector*, alglib_impl::ae_vector*, alglib_impl::ae_vector*, alglib_impl::ae_vector*, long*, alglib_impl::ae_state*)
static void hsschur_internalauxschur(ae_bool wantt,
     ae_bool wantz,
     ae_int_t n,
     ae_int_t ilo,
     ae_int_t ihi,
     /* Real    */ ae_matrix* h,
     /* Real    */ ae_vector* wr,
     /* Real    */ ae_vector* wi,
     ae_int_t iloz,
     ae_int_t ihiz,
     /* Real    */ ae_matrix* z,
     /* Real    */ ae_vector* work,
     /* Real    */ ae_vector* workv3,
     /* Real    */ ae_vector* workc1,
     /* Real    */ ae_vector* works1,
     ae_int_t* info,
     ae_state *_state)
{
    ae_int_t i;
    ae_int_t i1;
    ae_int_t i2;
    ae_int_t itn;
    ae_int_t its;
    ae_int_t j;
    ae_int_t k;
    ae_int_t l;
    ae_int_t m;
    ae_int_t nh;
    ae_int_t nr;
    ae_int_t nz;
    double ave;
    double cs;
    double disc;
    double h00;
    double h10;
    double h11;
    double h12;
    double h21;
    double h22;
    double h33;
    double h33s;
    double h43h34;
    double h44;
    double h44s;
    double ovfl;
    double s;
    double smlnum;
    double sn;
    double sum;
    double t1;
    double t2;
    double t3;
    double tst1;
    double unfl;
    double v1;
    double v2;
    double v3;
    ae_bool failflag;
    double dat1;
    double dat2;
    ae_int_t p1;
    double him1im1;
    double him1i;
    double hiim1;
    double hii;
    double wrim1;
    double wri;
    double wiim1;
    double wii;
    double ulp;

    *info = 0;

    *info = 0;
    dat1 = 0.75;
    dat2 = -0.4375;
    ulp = ae_machineepsilon;
    
    /*
     * Quick return if possible
     */
    if( n==0 )
    {
        return;
    }
    if( ilo==ihi )
    {
        wr->ptr.p_double[ilo] = h->ptr.pp_double[ilo][ilo];
        wi->ptr.p_double[ilo] = 0;
        return;
    }
    nh = ihi-ilo+1;
    nz = ihiz-iloz+1;
    
    /*
     * Set machine-dependent constants for the stopping criterion.
     * If norm(H) <= sqrt(OVFL), overflow should not occur.
     */
    unfl = ae_minrealnumber;
    ovfl = 1/unfl;
    smlnum = unfl*(nh/ulp);
    
    /*
     * I1 and I2 are the indices of the first row and last column of H
     * to which transformations must be applied. If eigenvalues only are
     * being computed, I1 and I2 are set inside the main loop.
     */
    i1 = 1;
    i2 = n;
    
    /*
     * ITN is the total number of QR iterations allowed.
     */
    itn = 30*nh;
    
    /*
     * The main loop begins here. I is the loop index and decreases from
     * IHI to ILO in steps of 1 or 2. Each iteration of the loop works
     * with the active submatrix in rows and columns L to I.
     * Eigenvalues I+1 to IHI have already converged. Either L = ILO or
     * H(L,L-1) is negligible so that the matrix splits.
     */
    i = ihi;
    for(;;)
    {
        l = ilo;
        if( i<ilo )
        {
            return;
        }
        
        /*
         * Perform QR iterations on rows and columns ILO to I until a
         * submatrix of order 1 or 2 splits off at the bottom because a
         * subdiagonal element has become negligible.
         */
        failflag = ae_true;
        for(its=0; its<=itn; its++)
        {
            
            /*
             * Look for a single small subdiagonal element.
             */
            for(k=i; k>=l+1; k--)
            {
                tst1 = ae_fabs(h->ptr.pp_double[k-1][k-1], _state)+ae_fabs(h->ptr.pp_double[k][k], _state);
                if( ae_fp_eq(tst1,0) )
                {
                    tst1 = upperhessenberg1norm(h, l, i, l, i, work, _state);
                }
                if( ae_fp_less_eq(ae_fabs(h->ptr.pp_double[k][k-1], _state),ae_maxreal(ulp*tst1, smlnum, _state)) )
                {
                    break;
                }
            }
            l = k;
            if( l>ilo )
            {
                
                /*
                 * H(L,L-1) is negligible
                 */
                h->ptr.pp_double[l][l-1] = 0;
            }
            
            /*
             * Exit from loop if a submatrix of order 1 or 2 has split off.
             */
            if( l>=i-1 )
            {
                failflag = ae_false;
                break;
            }
            
            /*
             * Now the active submatrix is in rows and columns L to I. If
             * eigenvalues only are being computed, only the active submatrix
             * need be transformed.
             */
            if( its==10||its==20 )
            {
                
                /*
                 * Exceptional shift.
                 */
                s = ae_fabs(h->ptr.pp_double[i][i-1], _state)+ae_fabs(h->ptr.pp_double[i-1][i-2], _state);
                h44 = dat1*s+h->ptr.pp_double[i][i];
                h33 = h44;
                h43h34 = dat2*s*s;
            }
            else
            {
                
                /*
                 * Prepare to use Francis' double shift
                 * (i.e. 2nd degree generalized Rayleigh quotient)
                 */
                h44 = h->ptr.pp_double[i][i];
                h33 = h->ptr.pp_double[i-1][i-1];
                h43h34 = h->ptr.pp_double[i][i-1]*h->ptr.pp_double[i-1][i];
                s = h->ptr.pp_double[i-1][i-2]*h->ptr.pp_double[i-1][i-2];
                disc = (h33-h44)*0.5;
                disc = disc*disc+h43h34;
                if( ae_fp_greater(disc,0) )
                {
                    
                    /*
                     * Real roots: use Wilkinson's shift twice
                     */
                    disc = ae_sqrt(disc, _state);
                    ave = 0.5*(h33+h44);
                    if( ae_fp_greater(ae_fabs(h33, _state)-ae_fabs(h44, _state),0) )
                    {
                        h33 = h33*h44-h43h34;
                        h44 = h33/(hsschur_extschursign(disc, ave, _state)+ave);
                    }
                    else
                    {
                        h44 = hsschur_extschursign(disc, ave, _state)+ave;
                    }
                    h33 = h44;
                    h43h34 = 0;
                }
            }
            
            /*
             * Look for two consecutive small subdiagonal elements.
             */
            for(m=i-2; m>=l; m--)
            {
                
                /*
                 * Determine the effect of starting the double-shift QR
                 * iteration at row M, and see if this would make H(M,M-1)
                 * negligible.
                 */
                h11 = h->ptr.pp_double[m][m];
                h22 = h->ptr.pp_double[m+1][m+1];
                h21 = h->ptr.pp_double[m+1][m];
                h12 = h->ptr.pp_double[m][m+1];
                h44s = h44-h11;
                h33s = h33-h11;
                v1 = (h33s*h44s-h43h34)/h21+h12;
                v2 = h22-h11-h33s-h44s;
                v3 = h->ptr.pp_double[m+2][m+1];
                s = ae_fabs(v1, _state)+ae_fabs(v2, _state)+ae_fabs(v3, _state);
                v1 = v1/s;
                v2 = v2/s;
                v3 = v3/s;
                workv3->ptr.p_double[1] = v1;
                workv3->ptr.p_double[2] = v2;
                workv3->ptr.p_double[3] = v3;
                if( m==l )
                {
                    break;
                }
                h00 = h->ptr.pp_double[m-1][m-1];
                h10 = h->ptr.pp_double[m][m-1];
                tst1 = ae_fabs(v1, _state)*(ae_fabs(h00, _state)+ae_fabs(h11, _state)+ae_fabs(h22, _state));
                if( ae_fp_less_eq(ae_fabs(h10, _state)*(ae_fabs(v2, _state)+ae_fabs(v3, _state)),ulp*tst1) )
                {
                    break;
                }
            }
            
            /*
             * Double-shift QR step
             */
            for(k=m; k<=i-1; k++)
            {
                
                /*
                 * The first iteration of this loop determines a reflection G
                 * from the vector V and applies it from left and right to H,
                 * thus creating a nonzero bulge below the subdiagonal.
                 *
                 * Each subsequent iteration determines a reflection G to
                 * restore the Hessenberg form in the (K-1)th column, and thus
                 * chases the bulge one step toward the bottom of the active
                 * submatrix. NR is the order of G.
                 */
                nr = ae_minint(3, i-k+1, _state);
                if( k>m )
                {
                    for(p1=1; p1<=nr; p1++)
                    {
                        workv3->ptr.p_double[p1] = h->ptr.pp_double[k+p1-1][k-1];
                    }
                }
                generatereflection(workv3, nr, &t1, _state);
                if( k>m )
                {
                    h->ptr.pp_double[k][k-1] = workv3->ptr.p_double[1];
                    h->ptr.pp_double[k+1][k-1] = 0;
                    if( k<i-1 )
                    {
                        h->ptr.pp_double[k+2][k-1] = 0;
                    }
                }
                else
                {
                    if( m>l )
                    {
                        h->ptr.pp_double[k][k-1] = -h->ptr.pp_double[k][k-1];
                    }
                }
                v2 = workv3->ptr.p_double[2];
                t2 = t1*v2;
                if( nr==3 )
                {
                    v3 = workv3->ptr.p_double[3];
                    t3 = t1*v3;
                    
                    /*
                     * Apply G from the left to transform the rows of the matrix
                     * in columns K to I2.
                     */
                    for(j=k; j<=i2; j++)
                    {
                        sum = h->ptr.pp_double[k][j]+v2*h->ptr.pp_double[k+1][j]+v3*h->ptr.pp_double[k+2][j];
                        h->ptr.pp_double[k][j] = h->ptr.pp_double[k][j]-sum*t1;
                        h->ptr.pp_double[k+1][j] = h->ptr.pp_double[k+1][j]-sum*t2;
                        h->ptr.pp_double[k+2][j] = h->ptr.pp_double[k+2][j]-sum*t3;
                    }
                    
                    /*
                     * Apply G from the right to transform the columns of the
                     * matrix in rows I1 to min(K+3,I).
                     */
                    for(j=i1; j<=ae_minint(k+3, i, _state); j++)
                    {
                        sum = h->ptr.pp_double[j][k]+v2*h->ptr.pp_double[j][k+1]+v3*h->ptr.pp_double[j][k+2];
                        h->ptr.pp_double[j][k] = h->ptr.pp_double[j][k]-sum*t1;
                        h->ptr.pp_double[j][k+1] = h->ptr.pp_double[j][k+1]-sum*t2;
                        h->ptr.pp_double[j][k+2] = h->ptr.pp_double[j][k+2]-sum*t3;
                    }
                    if( wantz )
                    {
                        
                        /*
                         * Accumulate transformations in the matrix Z
                         */
                        for(j=iloz; j<=ihiz; j++)
                        {
                            sum = z->ptr.pp_double[j][k]+v2*z->ptr.pp_double[j][k+1]+v3*z->ptr.pp_double[j][k+2];
                            z->ptr.pp_double[j][k] = z->ptr.pp_double[j][k]-sum*t1;
                            z->ptr.pp_double[j][k+1] = z->ptr.pp_double[j][k+1]-sum*t2;
                            z->ptr.pp_double[j][k+2] = z->ptr.pp_double[j][k+2]-sum*t3;
                        }
                    }
                }
                else
                {
                    if( nr==2 )
                    {
                        
                        /*
                         * Apply G from the left to transform the rows of the matrix
                         * in columns K to I2.
                         */
                        for(j=k; j<=i2; j++)
                        {
                            sum = h->ptr.pp_double[k][j]+v2*h->ptr.pp_double[k+1][j];
                            h->ptr.pp_double[k][j] = h->ptr.pp_double[k][j]-sum*t1;
                            h->ptr.pp_double[k+1][j] = h->ptr.pp_double[k+1][j]-sum*t2;
                        }
                        
                        /*
                         * Apply G from the right to transform the columns of the
                         * matrix in rows I1 to min(K+3,I).
                         */
                        for(j=i1; j<=i; j++)
                        {
                            sum = h->ptr.pp_double[j][k]+v2*h->ptr.pp_double[j][k+1];
                            h->ptr.pp_double[j][k] = h->ptr.pp_double[j][k]-sum*t1;
                            h->ptr.pp_double[j][k+1] = h->ptr.pp_double[j][k+1]-sum*t2;
                        }
                        if( wantz )
                        {
                            
                            /*
                             * Accumulate transformations in the matrix Z
                             */
                            for(j=iloz; j<=ihiz; j++)
                            {
                                sum = z->ptr.pp_double[j][k]+v2*z->ptr.pp_double[j][k+1];
                                z->ptr.pp_double[j][k] = z->ptr.pp_double[j][k]-sum*t1;
                                z->ptr.pp_double[j][k+1] = z->ptr.pp_double[j][k+1]-sum*t2;
                            }
                        }
                    }
                }
            }
        }
        if( failflag )
        {
            
            /*
             * Failure to converge in remaining number of iterations
             */
            *info = i;
            return;
        }
        if( l==i )
        {
            
            /*
             * H(I,I-1) is negligible: one eigenvalue has converged.
             */
            wr->ptr.p_double[i] = h->ptr.pp_double[i][i];
            wi->ptr.p_double[i] = 0;
        }
        else
        {
            if( l==i-1 )
            {
                
                /*
                 * H(I-1,I-2) is negligible: a pair of eigenvalues have converged.
                 *
                 *        Transform the 2-by-2 submatrix to standard Schur form,
                 *        and compute and store the eigenvalues.
                 */
                him1im1 = h->ptr.pp_double[i-1][i-1];
                him1i = h->ptr.pp_double[i-1][i];
                hiim1 = h->ptr.pp_double[i][i-1];
                hii = h->ptr.pp_double[i][i];
                hsschur_aux2x2schur(&him1im1, &him1i, &hiim1, &hii, &wrim1, &wiim1, &wri, &wii, &cs, &sn, _state);
                wr->ptr.p_double[i-1] = wrim1;
                wi->ptr.p_double[i-1] = wiim1;
                wr->ptr.p_double[i] = wri;
                wi->ptr.p_double[i] = wii;
                h->ptr.pp_double[i-1][i-1] = him1im1;
                h->ptr.pp_double[i-1][i] = him1i;
                h->ptr.pp_double[i][i-1] = hiim1;
                h->ptr.pp_double[i][i] = hii;
                if( wantt )
                {
                    
                    /*
                     * Apply the transformation to the rest of H.
                     */
                    if( i2>i )
                    {
                        workc1->ptr.p_double[1] = cs;
                        works1->ptr.p_double[1] = sn;
                        applyrotationsfromtheleft(ae_true, i-1, i, i+1, i2, workc1, works1, h, work, _state);
                    }
                    workc1->ptr.p_double[1] = cs;
                    works1->ptr.p_double[1] = sn;
                    applyrotationsfromtheright(ae_true, i1, i-2, i-1, i, workc1, works1, h, work, _state);
                }
                if( wantz )
                {
                    
                    /*
                     * Apply the transformation to Z.
                     */
                    workc1->ptr.p_double[1] = cs;
                    works1->ptr.p_double[1] = sn;
                    applyrotationsfromtheright(ae_true, iloz, iloz+nz-1, i-1, i, workc1, works1, z, work, _state);
                }
            }
        }
        
        /*
         * Decrement number of remaining iterations, and return to start of
         * the main loop with new value of I.
         */
        itn = itn-its;
        i = l-1;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x260, %rsp            # imm = 0x260
movb %sil, %al
movb %dil, %sil
movq 0x60(%rbp), %rdi
movq 0x58(%rbp), %rdi
movq 0x50(%rbp), %rdi
movq 0x48(%rbp), %rdi
movq 0x40(%rbp), %rdi
movq 0x38(%rbp), %rdi
movq 0x30(%rbp), %rdi
movq 0x28(%rbp), %rdi
movq 0x20(%rbp), %rdi
movq 0x18(%rbp), %rdi
movq 0x10(%rbp), %rdi
andb $0x1, %sil
movb %sil, -0x11(%rbp)
andb $0x1, %al
movb %al, -0x12(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq 0x58(%rbp), %rax
movq $0x0, (%rax)
movq 0x58(%rbp), %rax
movq $0x0, (%rax)
movsd 0x2bd85(%rip), %xmm0    # 0x56450
movsd %xmm0, -0x180(%rbp)
movsd 0x2d185(%rip), %xmm0    # 0x57860
movsd %xmm0, -0x188(%rbp)
movsd 0x2b22d(%rip), %xmm0    # 0x55918
movsd %xmm0, -0x1d8(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2a6ff
jmp 0x2c094
movq -0x28(%rbp), %rax
cmpq -0x30(%rbp), %rax
jne 0x2a74c
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x28(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x28(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x28(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
jmp 0x2c094
movq -0x30(%rbp), %rax
subq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x88(%rbp)
movq 0x28(%rbp), %rax
subq 0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movsd 0x2bcae(%rip), %xmm0    # 0x56428
movsd %xmm0, -0x158(%rbp)
movsd 0x2a87e(%rip), %xmm0    # 0x55008
divsd -0x158(%rbp), %xmm0
movsd %xmm0, -0x110(%rbp)
movsd -0x158(%rbp), %xmm0
cvtsi2sdq -0x88(%rbp), %xmm1
divsd -0x1d8(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x120(%rbp)
movq $0x1, -0x48(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
imulq $0x1e, -0x88(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x40(%rbp), %rax
cmpq -0x28(%rbp), %rax
jge 0x2a7fa
jmp 0x2c094
movb $0x1, -0x171(%rbp)
movq $0x0, -0x60(%rbp)
movq -0x60(%rbp), %rax
cmpq -0x58(%rbp), %rax
jg 0x2bc83
movq -0x40(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq -0x78(%rbp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jl 0x2a95c
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x1e0(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movaps %xmm0, %xmm1
movsd -0x1e0(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x150(%rbp)
movsd -0x150(%rbp), %xmm0
xorps %xmm1, %xmm1
callq 0x3c3d0
testb $0x1, %al
jne 0x2a8b5
jmp 0x2a8e2
movq -0x38(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq -0x78(%rbp), %rcx
movq -0x40(%rbp), %r8
movq 0x38(%rbp), %r9
movq 0x60(%rbp), %rax
movq %rax, (%rsp)
callq 0x232c0
movsd %xmm0, -0x150(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x1e8(%rbp)
movsd -0x1d8(%rbp), %xmm0
mulsd -0x150(%rbp), %xmm0
movsd -0x120(%rbp), %xmm1
movq 0x60(%rbp), %rdi
callq 0x3ca70
movaps %xmm0, %xmm1
movsd -0x1e8(%rbp), %xmm0
callq 0x3c480
testb $0x1, %al
jne 0x2a947
jmp 0x2a949
jmp 0x2a95c
jmp 0x2a94b
movq -0x70(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x70(%rbp)
jmp 0x2a81f
movq -0x70(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x28(%rbp), %rax
jle 0x2a98e
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x78(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x78(%rbp), %rcx
subq $0x1, %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq -0x78(%rbp), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jl 0x2a9ab
movb $0x0, -0x171(%rbp)
jmp 0x2bc83
cmpq $0xa, -0x60(%rbp)
je 0x2a9bd
cmpq $0x14, -0x60(%rbp)
jne 0x2aa9a
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x1f0(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x2, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movaps %xmm0, %xmm1
movsd -0x1f0(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x118(%rbp)
movsd -0x180(%rbp), %xmm0
movsd -0x118(%rbp), %xmm2
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x100(%rbp)
movsd -0x100(%rbp), %xmm0
movsd %xmm0, -0xe8(%rbp)
movsd -0x188(%rbp), %xmm0
mulsd -0x118(%rbp), %xmm0
mulsd -0x118(%rbp), %xmm0
movsd %xmm0, -0xf8(%rbp)
jmp 0x2ad2b
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x100(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0xe8(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0xf8(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x2, %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x2, %rcx
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x118(%rbp)
movsd -0xe8(%rbp), %xmm0
subsd -0x100(%rbp), %xmm0
movsd 0x2a8c8(%rip), %xmm1    # 0x55450
mulsd %xmm1, %xmm0
movsd %xmm0, -0xb0(%rbp)
movsd -0xb0(%rbp), %xmm0
movsd -0xb0(%rbp), %xmm2
movsd -0xf8(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0xb0(%rbp)
movsd -0xb0(%rbp), %xmm0
xorps %xmm1, %xmm1
callq 0x3c4c0
testb $0x1, %al
jne 0x2abd5
jmp 0x2ad29
movsd -0xb0(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c890
movsd %xmm0, -0xb0(%rbp)
movsd -0xe8(%rbp), %xmm1
addsd -0x100(%rbp), %xmm1
movsd 0x2a84a(%rip), %xmm0    # 0x55450
mulsd %xmm1, %xmm0
movsd %xmm0, -0xa0(%rbp)
movsd -0xe8(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x1f8(%rbp)
movsd -0x100(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movaps %xmm0, %xmm1
movsd -0x1f8(%rbp), %xmm0
subsd %xmm1, %xmm0
xorps %xmm1, %xmm1
callq 0x3c4c0
testb $0x1, %al
jne 0x2ac5c
jmp 0x2ace5
movsd -0xe8(%rbp), %xmm0
movsd -0x100(%rbp), %xmm2
movsd -0xf8(%rbp), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0xe8(%rbp)
movsd -0xe8(%rbp), %xmm0
movsd %xmm0, -0x200(%rbp)
movsd -0xb0(%rbp), %xmm0
movsd -0xa0(%rbp), %xmm1
movq 0x60(%rbp), %rdi
callq 0x39600
movaps %xmm0, %xmm1
movsd -0x200(%rbp), %xmm0
addsd -0xa0(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x100(%rbp)
jmp 0x2ad0e
movsd -0xb0(%rbp), %xmm0
movsd -0xa0(%rbp), %xmm1
movq 0x60(%rbp), %rdi
callq 0x39600
addsd -0xa0(%rbp), %xmm0
movsd %xmm0, -0x100(%rbp)
movsd -0x100(%rbp), %xmm0
movsd %xmm0, -0xe8(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0xf8(%rbp)
jmp 0x2ad2b
movq -0x40(%rbp), %rax
subq $0x2, %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
cmpq -0x78(%rbp), %rax
jl 0x2b100
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x80(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x80(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0xc8(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x80(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x80(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm0
movsd %xmm0, -0xe0(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x80(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x80(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0xd8(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x80(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x80(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm0
movsd %xmm0, -0xd0(%rbp)
movsd -0x100(%rbp), %xmm0
subsd -0xc8(%rbp), %xmm0
movsd %xmm0, -0x108(%rbp)
movsd -0xe8(%rbp), %xmm0
subsd -0xc8(%rbp), %xmm0
movsd %xmm0, -0xf0(%rbp)
movsd -0xf0(%rbp), %xmm0
movsd -0x108(%rbp), %xmm2
movsd -0xf8(%rbp), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
divsd -0xd8(%rbp), %xmm0
addsd -0xd0(%rbp), %xmm0
movsd %xmm0, -0x160(%rbp)
movsd -0xe0(%rbp), %xmm0
subsd -0xc8(%rbp), %xmm0
subsd -0xf0(%rbp), %xmm0
subsd -0x108(%rbp), %xmm0
movsd %xmm0, -0x168(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x80(%rbp), %rcx
movq 0x10(%rax,%rcx,8), %rax
movq -0x80(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm0
movsd %xmm0, -0x170(%rbp)
movsd -0x160(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x210(%rbp)
movsd -0x168(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movaps %xmm0, %xmm1
movsd -0x210(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x208(%rbp)
movsd -0x170(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movaps %xmm0, %xmm1
movsd -0x208(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x118(%rbp)
movsd -0x160(%rbp), %xmm0
divsd -0x118(%rbp), %xmm0
movsd %xmm0, -0x160(%rbp)
movsd -0x168(%rbp), %xmm0
divsd -0x118(%rbp), %xmm0
movsd %xmm0, -0x168(%rbp)
movsd -0x170(%rbp), %xmm0
divsd -0x118(%rbp), %xmm0
movsd %xmm0, -0x170(%rbp)
movsd -0x160(%rbp), %xmm0
movq 0x40(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x8(%rax)
movsd -0x168(%rbp), %xmm0
movq 0x40(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x10(%rax)
movsd -0x170(%rbp), %xmm0
movq 0x40(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x18(%rax)
movq -0x80(%rbp), %rax
cmpq -0x78(%rbp), %rax
jne 0x2af96
jmp 0x2b100
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x80(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x80(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0xb8(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x80(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x80(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0xc0(%rbp)
movsd -0x160(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x228(%rbp)
movsd -0xb8(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x238(%rbp)
movsd -0xc8(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movaps %xmm0, %xmm1
movsd -0x238(%rbp), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x230(%rbp)
movsd -0xe0(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd -0x230(%rbp), %xmm1
movaps %xmm0, %xmm2
movsd -0x228(%rbp), %xmm0
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x150(%rbp)
movsd -0xc0(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x218(%rbp)
movsd -0x168(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd %xmm0, -0x220(%rbp)
movsd -0x170(%rbp), %xmm0
movq 0x60(%rbp), %rdi
callq 0x3c820
movsd -0x220(%rbp), %xmm1
movaps %xmm0, %xmm2
movsd -0x218(%rbp), %xmm0
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd -0x1d8(%rbp), %xmm1
mulsd -0x150(%rbp), %xmm1
callq 0x3c480
testb $0x1, %al
jne 0x2b0eb
jmp 0x2b0ed
jmp 0x2b100
jmp 0x2b0ef
movq -0x80(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x80(%rbp)
jmp 0x2ad37
movq -0x80(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jg 0x2bc70
movq -0x40(%rbp), %rsi
subq -0x70(%rbp), %rsi
addq $0x1, %rsi
movq 0x60(%rbp), %rdx
movl $0x3, %edi
callq 0x3ca30
movq %rax, -0x90(%rbp)
movq -0x70(%rbp), %rax
cmpq -0x80(%rbp), %rax
jle 0x2b1b5
movq $0x1, -0x190(%rbp)
movq -0x190(%rbp), %rax
cmpq -0x90(%rbp), %rax
jg 0x2b1b3
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
addq -0x190(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x40(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x190(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x190(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x190(%rbp)
jmp 0x2b153
jmp 0x2b1b5
movq 0x40(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq 0x60(%rbp), %rcx
leaq -0x138(%rbp), %rdx
callq 0x25760
movq -0x70(%rbp), %rax
cmpq -0x80(%rbp), %rax
jle 0x2b259
movq 0x40(%rbp), %rax
movq 0x28(%rax), %rax
movsd 0x8(%rax), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq -0x70(%rbp), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jge 0x2b257
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x10(%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
jmp 0x2b2b6
movq -0x80(%rbp), %rax
cmpq -0x78(%rbp), %rax
jle 0x2b2b4
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
subq $0x1, %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x2b2b6
movq 0x40(%rbp), %rax
movq 0x28(%rax), %rax
movsd 0x10(%rax), %xmm0
movsd %xmm0, -0x168(%rbp)
movsd -0x138(%rbp), %xmm0
mulsd -0x168(%rbp), %xmm0
movsd %xmm0, -0x140(%rbp)
cmpq $0x3, -0x90(%rbp)
jne 0x2b89d
movq 0x40(%rbp), %rax
movq 0x28(%rax), %rax
movsd 0x18(%rax), %xmm0
movsd %xmm0, -0x170(%rbp)
movsd -0x138(%rbp), %xmm0
mulsd -0x170(%rbp), %xmm0
movsd %xmm0, -0x148(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
cmpq -0x50(%rbp), %rax
jg 0x2b4e1
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd -0x168(%rbp), %xmm1
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd -0x170(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x10(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x130(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x138(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x140(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x10(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x148(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x10(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x2b326
movq -0x48(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x240(%rbp)
movq -0x70(%rbp), %rdi
addq $0x3, %rdi
movq -0x40(%rbp), %rsi
movq 0x60(%rbp), %rdx
callq 0x3ca30
movq %rax, %rcx
movq -0x240(%rbp), %rax
cmpq %rcx, %rax
jg 0x2b6c9
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd -0x168(%rbp), %xmm1
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd -0x170(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x10(%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x130(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x138(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x140(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, 0x8(%rax,%rcx,8)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x10(%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x148(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, 0x10(%rax,%rcx,8)
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x2b4e9
testb $0x1, -0x12(%rbp)
je 0x2b898
movq 0x20(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
cmpq 0x28(%rbp), %rax
jg 0x2b896
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd -0x168(%rbp), %xmm1
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd -0x170(%rbp), %xmm0
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x10(%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x130(%rbp)
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x138(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x140(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, 0x8(%rax,%rcx,8)
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x10(%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x148(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, 0x10(%rax,%rcx,8)
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x2b6db
jmp 0x2b898
jmp 0x2bc5d
cmpq $0x2, -0x90(%rbp)
jne 0x2bc5b
movq -0x70(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
cmpq -0x50(%rbp), %rax
jg 0x2b9e1
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x168(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x130(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x138(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x140(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x70(%rbp), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq -0x68(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x2b8b3
movq -0x48(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
cmpq -0x40(%rbp), %rax
jg 0x2bb17
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x168(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x130(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x138(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x140(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, 0x8(%rax,%rcx,8)
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x2b9e9
testb $0x1, -0x12(%rbp)
je 0x2bc59
movq 0x20(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
cmpq 0x28(%rbp), %rax
jg 0x2bc57
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x168(%rbp), %xmm0
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x130(%rbp)
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x138(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd 0x8(%rax,%rcx,8), %xmm1
movsd -0x130(%rbp), %xmm0
movsd -0x140(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, 0x8(%rax,%rcx,8)
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x2bb29
jmp 0x2bc59
jmp 0x2bc5b
jmp 0x2bc5d
jmp 0x2bc5f
movq -0x70(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x70(%rbp)
jmp 0x2b108
jmp 0x2bc72
movq -0x60(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x60(%rbp)
jmp 0x2a809
testb $0x1, -0x171(%rbp)
je 0x2bc9c
movq -0x40(%rbp), %rcx
movq 0x58(%rbp), %rax
movq %rcx, (%rax)
jmp 0x2c094
movq -0x78(%rbp), %rax
cmpq -0x40(%rbp), %rax
jne 0x2bce9
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x40(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x40(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
jmp 0x2c077
movq -0x78(%rbp), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jne 0x2c075
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x198(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x1a0(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x1a8(%rbp)
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x1b0(%rbp)
movq 0x60(%rbp), %rax
leaq -0x198(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
leaq -0x1a8(%rbp), %rdx
leaq -0x1b0(%rbp), %rcx
leaq -0x1b8(%rbp), %r8
leaq -0x1c8(%rbp), %r9
leaq -0x1c0(%rbp), %r14
leaq -0x1d0(%rbp), %rbx
leaq -0xa8(%rbp), %r11
leaq -0x128(%rbp), %r10
movq %r14, (%rsp)
movq %rbx, 0x8(%rsp)
movq %r11, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movq %rax, 0x20(%rsp)
callq 0x39680
movsd -0x1b8(%rbp), %xmm0
movq 0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -0x1c8(%rbp), %xmm0
movq 0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -0x1c0(%rbp), %xmm0
movq 0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x40(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -0x1d0(%rbp), %xmm0
movq 0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x40(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -0x198(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -0x1a0(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -0x1a8(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -0x1b0(%rbp), %xmm0
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x40(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
testb $0x1, -0x11(%rbp)
je 0x2bff3
movq -0x50(%rbp), %rax
cmpq -0x40(%rbp), %rax
jle 0x2bf80
movsd -0xa8(%rbp), %xmm0
movq 0x48(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x8(%rax)
movsd -0x128(%rbp), %xmm0
movq 0x50(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x8(%rax)
movq -0x40(%rbp), %rsi
subq $0x1, %rsi
movq -0x40(%rbp), %rdx
movq -0x40(%rbp), %rcx
addq $0x1, %rcx
movq -0x50(%rbp), %r8
movq 0x48(%rbp), %r9
movq 0x50(%rbp), %rbx
movq -0x38(%rbp), %r11
movq 0x38(%rbp), %r10
movq 0x60(%rbp), %rax
movl $0x1, %edi
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x27680
movsd -0xa8(%rbp), %xmm0
movq 0x48(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x8(%rax)
movsd -0x128(%rbp), %xmm0
movq 0x50(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x8(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
subq $0x2, %rdx
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq -0x40(%rbp), %r8
movq 0x48(%rbp), %r9
movq 0x50(%rbp), %rbx
movq -0x38(%rbp), %r11
movq 0x38(%rbp), %r10
movq 0x60(%rbp), %rax
movl $0x1, %edi
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x27ee0
testb $0x1, -0x12(%rbp)
je 0x2c073
movsd -0xa8(%rbp), %xmm0
movq 0x48(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x8(%rax)
movsd -0x128(%rbp), %xmm0
movq 0x50(%rbp), %rax
movq 0x28(%rax), %rax
movsd %xmm0, 0x8(%rax)
movq 0x20(%rbp), %rsi
movq 0x20(%rbp), %rdx
addq -0x98(%rbp), %rdx
subq $0x1, %rdx
movq -0x40(%rbp), %rcx
subq $0x1, %rcx
movq -0x40(%rbp), %r8
movq 0x48(%rbp), %r9
movq 0x50(%rbp), %rbx
movq 0x30(%rbp), %r11
movq 0x38(%rbp), %r10
movq 0x60(%rbp), %rax
movl $0x1, %edi
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x27ee0
jmp 0x2c075
jmp 0x2c077
movq -0x58(%rbp), %rax
subq -0x60(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x78(%rbp), %rax
subq $0x1, %rax
movq %rax, -0x40(%rbp)
jmp 0x2a7e3
addq $0x260, %rsp            # imm = 0x260
popq %rbx
popq %r14
popq %rbp
retq