// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_diag_sse2_128_16.c
// Function: parasail_sw_table_diag_sse2_128_16
parasail_result_t* FNAME(
        const char * const restrict _s1, const int _s1Len,
        const char * const restrict _s2, const int s2Len,
        const int open, const int gap, const parasail_matrix_t *matrix)
{
    /* declare local variables */
    int32_t N = 0;
    int32_t PAD = 0;
    int32_t PAD2 = 0;
    int32_t s1Len = 0;
    int32_t s1Len_PAD = 0;
    int32_t s2Len_PAD = 0;
    int16_t * restrict s1 = NULL;
    int16_t * restrict s2B = NULL;
    int16_t * restrict _H_pr = NULL;
    int16_t * restrict _F_pr = NULL;
    int16_t * restrict s2 = NULL;
    int16_t * restrict H_pr = NULL;
    int16_t * restrict F_pr = NULL;
    parasail_result_t *result = NULL;
    int32_t i = 0;
    int32_t j = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int16_t NEG_LIMIT = 0;
    int16_t POS_LIMIT = 0;
    int16_t score = 0;
    __m128i vNegLimit;
    __m128i vPosLimit;
    __m128i vSaturationCheckMin;
    __m128i vSaturationCheckMax;
    __m128i vNegInf;
    __m128i vNegInf0;
    __m128i vOpen;
    __m128i vGap;
    __m128i vZero;
    __m128i vOne;
    __m128i vN;
    __m128i vNegOne;
    __m128i vI;
    __m128i vJreset;
    __m128i vMaxH;
    __m128i vEndI;
    __m128i vEndJ;
    __m128i vILimit;
    __m128i vJLimit;

    /* validate inputs */
    PARASAIL_CHECK_NULL(_s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);
    PARASAIL_CHECK_NULL(matrix);
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        PARASAIL_CHECK_NULL(_s1);
        PARASAIL_CHECK_GT0(_s1Len);
    }

    /* initialize stack variables */
    N = 8; /* number of values in vector */
    PAD = N-1;
    PAD2 = PAD*2;
    s1Len = matrix->type == PARASAIL_MATRIX_TYPE_SQUARE ? _s1Len : matrix->length;
    s1Len_PAD = s1Len+PAD;
    s2Len_PAD = s2Len+PAD;
    i = 0;
    j = 0;
    end_query = 0;
    end_ref = 0;
    NEG_LIMIT = (-open < matrix->min ? INT16_MIN + open : INT16_MIN - matrix->min) + 1;
    POS_LIMIT = INT16_MAX - matrix->max - 1;
    score = NEG_LIMIT;
    vNegLimit = _mm_set1_epi16(NEG_LIMIT);
    vPosLimit = _mm_set1_epi16(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInf = _mm_set1_epi16(NEG_LIMIT);
    vNegInf0 = _mm_srli_si128(vNegInf, 2); /* shift in a 0 */
    vOpen = _mm_set1_epi16(open);
    vGap  = _mm_set1_epi16(gap);
    vZero = _mm_set1_epi16(0);
    vOne = _mm_set1_epi16(1);
    vN = _mm_set1_epi16(N);
    vNegOne = _mm_set1_epi16(-1);
    vI = _mm_set_epi16(0,1,2,3,4,5,6,7);
    vJreset = _mm_set_epi16(0,-1,-2,-3,-4,-5,-6,-7);
    vMaxH = vNegInf;
    vEndI = vNegInf;
    vEndJ = vNegInf;
    vILimit = _mm_set1_epi16(s1Len);
    vJLimit = _mm_set1_epi16(s2Len);

    /* initialize result */
#ifdef PARASAIL_TABLE
    result = parasail_result_new_table1(s1Len, s2Len);
#else
#ifdef PARASAIL_ROWCOL
    result = parasail_result_new_rowcol1(s1Len, s2Len);
#else
    result = parasail_result_new();
#endif
#endif
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SW | PARASAIL_FLAG_DIAG
        | PARASAIL_FLAG_BITS_16 | PARASAIL_FLAG_LANES_8;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    s2B= parasail_memalign_int16_t(16, s2Len+PAD2);
    _H_pr = parasail_memalign_int16_t(16, s2Len+PAD2);
    _F_pr = parasail_memalign_int16_t(16, s2Len+PAD2);
    s2 = s2B+PAD; /* will allow later for negative indices */
    H_pr = _H_pr+PAD;
    F_pr = _F_pr+PAD;

    /* validate heap variables */
    if (!s2B) return NULL;
    if (!_H_pr) return NULL;
    if (!_F_pr) return NULL;

    /* convert _s1 from char to int in range 0-23 */
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        s1 = parasail_memalign_int16_t(16, s1Len+PAD);
        if (!s1) return NULL;
        for (i=0; i<s1Len; ++i) {
            s1[i] = matrix->mapper[(unsigned char)_s1[i]];
        }
        /* pad back of s1 with dummy values */
        for (i=s1Len; i<s1Len_PAD; ++i) {
            s1[i] = 0; /* point to first matrix row because we don't care */
        }
    }

    /* convert _s2 from char to int in range 0-23 */
    for (j=0; j<s2Len; ++j) {
        s2[j] = matrix->mapper[(unsigned char)_s2[j]];
    }
    /* pad front of s2 with dummy values */
    for (j=-PAD; j<0; ++j) {
        s2[j] = 0; /* point to first matrix row because we don't care */
    }
    /* pad back of s2 with dummy values */
    for (j=s2Len; j<s2Len_PAD; ++j) {
        s2[j] = 0; /* point to first matrix row because we don't care */
    }

    /* set initial values for stored row */
    for (j=0; j<s2Len; ++j) {
        H_pr[j] = 0;
        F_pr[j] = NEG_LIMIT;
    }
    /* pad front of stored row values */
    for (j=-PAD; j<0; ++j) {
        H_pr[j] = NEG_LIMIT;
        F_pr[j] = NEG_LIMIT;
    }
    /* pad back of stored row values */
    for (j=s2Len; j<s2Len+PAD; ++j) {
        H_pr[j] = NEG_LIMIT;
        F_pr[j] = NEG_LIMIT;
    }

    /* iterate over query sequence */
    for (i=0; i<s1Len; i+=N) {
        __m128i vNH = vNegInf0;
        __m128i vWH = vNegInf0;
        __m128i vE = vNegInf;
        __m128i vF = vNegInf;
        __m128i vJ = vJreset;
        const int * const restrict matrow0 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+0] : ((i+0 >= s1Len) ? s1Len-1 : i+0))];
        const int * const restrict matrow1 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+1] : ((i+1 >= s1Len) ? s1Len-1 : i+1))];
        const int * const restrict matrow2 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+2] : ((i+2 >= s1Len) ? s1Len-1 : i+2))];
        const int * const restrict matrow3 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+3] : ((i+3 >= s1Len) ? s1Len-1 : i+3))];
        const int * const restrict matrow4 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+4] : ((i+4 >= s1Len) ? s1Len-1 : i+4))];
        const int * const restrict matrow5 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+5] : ((i+5 >= s1Len) ? s1Len-1 : i+5))];
        const int * const restrict matrow6 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+6] : ((i+6 >= s1Len) ? s1Len-1 : i+6))];
        const int * const restrict matrow7 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+7] : ((i+7 >= s1Len) ? s1Len-1 : i+7))];
        __m128i vIltLimit = _mm_cmplt_epi16(vI, vILimit);
        /* iterate over database sequence */
        for (j=0; j<s2Len+PAD; ++j) {
            __m128i vMat;
            __m128i vNWH = vNH;
            vNH = _mm_srli_si128(vWH, 2);
            vNH = _mm_insert_epi16(vNH, H_pr[j], 7);
            vF = _mm_srli_si128(vF, 2);
            vF = _mm_insert_epi16(vF, F_pr[j], 7);
            vF = _mm_max_epi16(
                    _mm_subs_epi16(vNH, vOpen),
                    _mm_subs_epi16(vF, vGap));
            vE = _mm_max_epi16(
                    _mm_subs_epi16(vWH, vOpen),
                    _mm_subs_epi16(vE, vGap));
            vMat = _mm_set_epi16(
                    matrow0[s2[j-0]],
                    matrow1[s2[j-1]],
                    matrow2[s2[j-2]],
                    matrow3[s2[j-3]],
                    matrow4[s2[j-4]],
                    matrow5[s2[j-5]],
                    matrow6[s2[j-6]],
                    matrow7[s2[j-7]]
                    );
            vNWH = _mm_adds_epi16(vNWH, vMat);
            vWH = _mm_max_epi16(vNWH, vE);
            vWH = _mm_max_epi16(vWH, vF);
            vWH = _mm_max_epi16(vWH, vZero);
            /* as minor diagonal vector passes across the j=-1 boundary,
             * assign the appropriate boundary conditions */
            {
                __m128i cond = _mm_cmpeq_epi16(vJ,vNegOne);
                vWH = _mm_andnot_si128(cond, vWH);
                vF = _mm_blendv_epi8_rpl(vF, vNegInf, cond);
                vE = _mm_blendv_epi8_rpl(vE, vNegInf, cond);
            }
            /* cannot start checking sat until after J clears boundary */
            if (j > PAD) {
                vSaturationCheckMin = _mm_min_epi16(vSaturationCheckMin, vWH);
                vSaturationCheckMax = _mm_max_epi16(vSaturationCheckMax, vWH);
            }
#ifdef PARASAIL_TABLE
            arr_store_si128(result->tables->score_table, vWH, i, s1Len, j, s2Len);
#endif
#ifdef PARASAIL_ROWCOL
            arr_store_rowcol(result->rowcols->score_row, result->rowcols->score_col, vWH, i, s1Len, j, s2Len);
#endif
            H_pr[j-7] = (int16_t)_mm_extract_epi16(vWH,0);
            F_pr[j-7] = (int16_t)_mm_extract_epi16(vF,0);
            /* as minor diagonal vector passes across table, extract
             * max values within the i,j bounds */
            {
                __m128i cond_valid_J = _mm_and_si128(
                        _mm_cmpgt_epi16(vJ, vNegOne),
                        _mm_cmplt_epi16(vJ, vJLimit));
                __m128i cond_valid_IJ = _mm_and_si128(cond_valid_J, vIltLimit);
                __m128i cond_eq = _mm_cmpeq_epi16(vWH, vMaxH);
                __m128i cond_max = _mm_cmpgt_epi16(vWH, vMaxH);
                __m128i cond_all = _mm_and_si128(cond_max, cond_valid_IJ);
                __m128i cond_Jlt = _mm_cmplt_epi16(vJ, vEndJ);
                vMaxH = _mm_blendv_epi8_rpl(vMaxH, vWH, cond_all);
                vEndI = _mm_blendv_epi8_rpl(vEndI, vI, cond_all);
                vEndJ = _mm_blendv_epi8_rpl(vEndJ, vJ, cond_all);
                cond_all = _mm_and_si128(cond_Jlt, cond_eq);
                cond_all = _mm_and_si128(cond_all, cond_valid_IJ);
                vEndI = _mm_blendv_epi8_rpl(vEndI, vI, cond_all);
                vEndJ = _mm_blendv_epi8_rpl(vEndJ, vJ, cond_all);
            }
            vJ = _mm_adds_epi16(vJ, vOne);
        }
        vI = _mm_adds_epi16(vI, vN);
    }

    /* alignment ending position */
    {
        int16_t *t = (int16_t*)&vMaxH;
        int16_t *i = (int16_t*)&vEndI;
        int16_t *j = (int16_t*)&vEndJ;
        int32_t k;
        for (k=0; k<N; ++k, ++t, ++i, ++j) {
            if (*t > score) {
                score = *t;
                end_query = *i;
                end_ref = *j;
            }
            else if (*t == score) {
                if (*j < end_ref) {
                    end_query = *i;
                    end_ref = *j;
                }
                else if (*j == end_ref && *i < end_query) {
                    end_query = *i;
                    end_ref = *j;
                }
            }
        }
    }

    if (_mm_movemask_epi8(_mm_or_si128(
            _mm_cmplt_epi16(vSaturationCheckMin, vNegLimit),
            _mm_cmpgt_epi16(vSaturationCheckMax, vPosLimit)))) {
        result->flag |= PARASAIL_FLAG_SATURATED;
        score = 0;
        end_query = 0;
        end_ref = 0;
    }

    result->score = score;
    result->end_query = end_query;
    result->end_ref = end_ref;

    parasail_free(_F_pr);
    parasail_free(_H_pr);
    parasail_free(s2B);
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        parasail_free(s1);
    }

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0xa38, %rsp            # imm = 0xA38
movq 0x10(%rbp), %rax
movq %rdi, -0x648(%rbp)
movl %esi, -0x64c(%rbp)
movq %rdx, -0x658(%rbp)
movl %ecx, -0x65c(%rbp)
movl %r8d, -0x660(%rbp)
movl %r9d, -0x664(%rbp)
movl $0x0, -0x668(%rbp)
movl $0x0, -0x66c(%rbp)
movl $0x0, -0x670(%rbp)
movl $0x0, -0x674(%rbp)
movl $0x0, -0x678(%rbp)
movl $0x0, -0x67c(%rbp)
movq $0x0, -0x688(%rbp)
movq $0x0, -0x690(%rbp)
movq $0x0, -0x698(%rbp)
movq $0x0, -0x6a0(%rbp)
movq $0x0, -0x6a8(%rbp)
movq $0x0, -0x6b0(%rbp)
movq $0x0, -0x6b8(%rbp)
movq $0x0, -0x6c0(%rbp)
movl $0x0, -0x6c4(%rbp)
movl $0x0, -0x6c8(%rbp)
movl $0x0, -0x6cc(%rbp)
movl $0x0, -0x6d0(%rbp)
movw $0x0, -0x6d2(%rbp)
movw $0x0, -0x6d4(%rbp)
movw $0x0, -0x6d6(%rbp)
cmpq $0x0, -0x658(%rbp)
jne 0x3ae64f
movq 0xa789b8(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x93d9c1(%rip), %rsi    # 0xcebfeb
leaq 0x8edfe0(%rip), %rdx    # 0xc9c611
leaq 0x93e0c5(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
jmp 0x3ae651
jmp 0x3ae653
cmpl $0x0, -0x65c(%rbp)
jg 0x3ae692
movq 0xa78975(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x93e094(%rip), %rsi    # 0xcec701
leaq 0x8edf9d(%rip), %rdx    # 0xc9c611
leaq 0x93e09a(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
jmp 0x3ae694
jmp 0x3ae696
cmpl $0x0, -0x660(%rbp)
jge 0x3ae6d5
movq 0xa78932(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x93e06b(%rip), %rsi    # 0xcec71b
leaq 0x8edf5a(%rip), %rdx    # 0xc9c611
leaq 0x93e072(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
jmp 0x3ae6d7
jmp 0x3ae6d9
cmpl $0x0, -0x664(%rbp)
jge 0x3ae718
movq 0xa788ef(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x93e028(%rip), %rsi    # 0xcec71b
leaq 0x8edf17(%rip), %rdx    # 0xc9c611
leaq 0x93e034(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
jmp 0x3ae71a
jmp 0x3ae71c
cmpq $0x0, 0x10(%rbp)
jne 0x3ae759
movq 0xa788ae(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x93d8b7(%rip), %rsi    # 0xcebfeb
leaq 0x8eded6(%rip), %rdx    # 0xc9c611
leaq 0x93e1e3(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
jmp 0x3ae75b
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3ae7f2
jmp 0x3ae76b
cmpq $0x0, -0x648(%rbp)
jne 0x3ae7ab
movq 0xa7885c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x93d865(%rip), %rsi    # 0xcebfeb
leaq 0x8ede84(%rip), %rdx    # 0xc9c611
leaq 0x93dfa5(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
jmp 0x3ae7ad
jmp 0x3ae7af
cmpl $0x0, -0x64c(%rbp)
jg 0x3ae7ee
movq 0xa78819(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x93df38(%rip), %rsi    # 0xcec701
leaq 0x8ede41(%rip), %rdx    # 0xc9c611
leaq 0x93df66(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
jmp 0x3ae7f0
jmp 0x3ae7f2
movl $0x8, -0x668(%rbp)
movl -0x668(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x66c(%rbp)
movl -0x66c(%rbp), %eax
shll %eax
movl %eax, -0x670(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3ae831
movl -0x64c(%rbp), %eax
movl %eax, -0x960(%rbp)
jmp 0x3ae83e
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, -0x960(%rbp)
movl -0x960(%rbp), %eax
movl %eax, -0x674(%rbp)
movl -0x674(%rbp), %eax
addl -0x66c(%rbp), %eax
movl %eax, -0x678(%rbp)
movl -0x65c(%rbp), %eax
addl -0x66c(%rbp), %eax
movl %eax, -0x67c(%rbp)
movl $0x0, -0x6c4(%rbp)
movl $0x0, -0x6c8(%rbp)
movl $0x0, -0x6cc(%rbp)
movl $0x0, -0x6d0(%rbp)
xorl %eax, %eax
subl -0x660(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x3ae8ba
movl -0x660(%rbp), %eax
addl $0xffff8000, %eax       # imm = 0xFFFF8000
movl %eax, -0x964(%rbp)
jmp 0x3ae8cc
movq 0x10(%rbp), %rcx
movl $0xffff8000, %eax       # imm = 0xFFFF8000
subl 0x20(%rcx), %eax
movl %eax, -0x964(%rbp)
movl -0x964(%rbp), %eax
incl %eax
movw %ax, -0x6d2(%rbp)
movq 0x10(%rbp), %rax
movl 0x1c(%rax), %eax
xorl $0x7fff, %eax           # imm = 0x7FFF
decl %eax
movw %ax, -0x6d4(%rbp)
movw -0x6d2(%rbp), %ax
movw %ax, -0x6d6(%rbp)
movw -0x6d2(%rbp), %ax
movw %ax, -0x622(%rbp)
movw -0x622(%rbp), %ax
movw %ax, -0x97a(%rbp)
movw %ax, -0x602(%rbp)
movw %ax, -0x604(%rbp)
movw %ax, -0x606(%rbp)
movw %ax, -0x608(%rbp)
movw %ax, -0x60a(%rbp)
movw %ax, -0x60c(%rbp)
movw %ax, -0x60e(%rbp)
movw %ax, -0x610(%rbp)
movzwl -0x602(%rbp), %eax
movd %eax, %xmm1
movzwl -0x604(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x606(%rbp), %eax
movd %eax, %xmm2
movzwl -0x608(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x60a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x60c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x60e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x610(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x620(%rbp)
movaps -0x620(%rbp), %xmm0
movaps %xmm0, -0x6f0(%rbp)
movw -0x6d4(%rbp), %ax
movw %ax, -0x624(%rbp)
movw -0x624(%rbp), %ax
movw %ax, -0x978(%rbp)
movw %ax, -0x5e2(%rbp)
movw %ax, -0x5e4(%rbp)
movw %ax, -0x5e6(%rbp)
movw %ax, -0x5e8(%rbp)
movw %ax, -0x5ea(%rbp)
movw %ax, -0x5ec(%rbp)
movw %ax, -0x5ee(%rbp)
movw %ax, -0x5f0(%rbp)
movzwl -0x5e2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x5e4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x5e6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x5e8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x5ea(%rbp), %eax
movd %eax, %xmm0
movzwl -0x5ec(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x5ee(%rbp), %eax
movd %eax, %xmm3
movzwl -0x5f0(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x600(%rbp)
movaps -0x600(%rbp), %xmm0
movaps %xmm0, -0x700(%rbp)
movaps -0x700(%rbp), %xmm0
movaps %xmm0, -0x710(%rbp)
movaps -0x6f0(%rbp), %xmm0
movaps %xmm0, -0x720(%rbp)
movw -0x6d2(%rbp), %ax
movw %ax, -0x626(%rbp)
movw -0x626(%rbp), %ax
movw %ax, -0x976(%rbp)
movw %ax, -0x5c2(%rbp)
movw %ax, -0x5c4(%rbp)
movw %ax, -0x5c6(%rbp)
movw %ax, -0x5c8(%rbp)
movw %ax, -0x5ca(%rbp)
movw %ax, -0x5cc(%rbp)
movw %ax, -0x5ce(%rbp)
movw %ax, -0x5d0(%rbp)
movzwl -0x5c2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x5c4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x5c6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x5c8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x5ca(%rbp), %eax
movd %eax, %xmm0
movzwl -0x5cc(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x5ce(%rbp), %eax
movd %eax, %xmm3
movzwl -0x5d0(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x5e0(%rbp)
movaps -0x5e0(%rbp), %xmm0
movaps %xmm0, -0x730(%rbp)
movaps -0x730(%rbp), %xmm0
psrldq $0x2, %xmm0             # xmm0 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
movaps %xmm0, -0x740(%rbp)
movw -0x660(%rbp), %ax
movw %ax, -0x628(%rbp)
movw -0x628(%rbp), %ax
movw %ax, -0x974(%rbp)
movw %ax, -0x5a2(%rbp)
movw %ax, -0x5a4(%rbp)
movw %ax, -0x5a6(%rbp)
movw %ax, -0x5a8(%rbp)
movw %ax, -0x5aa(%rbp)
movw %ax, -0x5ac(%rbp)
movw %ax, -0x5ae(%rbp)
movw %ax, -0x5b0(%rbp)
movzwl -0x5a2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x5a4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x5a6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x5a8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x5aa(%rbp), %eax
movd %eax, %xmm0
movzwl -0x5ac(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x5ae(%rbp), %eax
movd %eax, %xmm3
movzwl -0x5b0(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x5c0(%rbp)
movaps -0x5c0(%rbp), %xmm0
movaps %xmm0, -0x750(%rbp)
movw -0x664(%rbp), %ax
movw %ax, -0x62a(%rbp)
movw -0x62a(%rbp), %ax
movw %ax, -0x972(%rbp)
movw %ax, -0x582(%rbp)
movw %ax, -0x584(%rbp)
movw %ax, -0x586(%rbp)
movw %ax, -0x588(%rbp)
movw %ax, -0x58a(%rbp)
movw %ax, -0x58c(%rbp)
movw %ax, -0x58e(%rbp)
movw %ax, -0x590(%rbp)
movzwl -0x582(%rbp), %eax
movd %eax, %xmm1
movzwl -0x584(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x586(%rbp), %eax
movd %eax, %xmm2
movzwl -0x588(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x58a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x58c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x58e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x590(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x5a0(%rbp)
movaps -0x5a0(%rbp), %xmm0
movaps %xmm0, -0x760(%rbp)
movw $0x0, -0x62c(%rbp)
movw -0x62c(%rbp), %ax
movw %ax, -0x970(%rbp)
movw %ax, -0x562(%rbp)
movw %ax, -0x564(%rbp)
movw %ax, -0x566(%rbp)
movw %ax, -0x568(%rbp)
movw %ax, -0x56a(%rbp)
movw %ax, -0x56c(%rbp)
movw %ax, -0x56e(%rbp)
movw %ax, -0x570(%rbp)
movzwl -0x562(%rbp), %eax
movd %eax, %xmm1
movzwl -0x564(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x566(%rbp), %eax
movd %eax, %xmm2
movzwl -0x568(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x56a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x56c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x56e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x570(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x580(%rbp)
movaps -0x580(%rbp), %xmm0
movaps %xmm0, -0x770(%rbp)
movw $0x1, -0x62e(%rbp)
movw -0x62e(%rbp), %ax
movw %ax, -0x96e(%rbp)
movw %ax, -0x542(%rbp)
movw %ax, -0x544(%rbp)
movw %ax, -0x546(%rbp)
movw %ax, -0x548(%rbp)
movw %ax, -0x54a(%rbp)
movw %ax, -0x54c(%rbp)
movw %ax, -0x54e(%rbp)
movw %ax, -0x550(%rbp)
movzwl -0x542(%rbp), %eax
movd %eax, %xmm1
movzwl -0x544(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x546(%rbp), %eax
movd %eax, %xmm2
movzwl -0x548(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x54a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x54c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x54e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x550(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x560(%rbp)
movaps -0x560(%rbp), %xmm0
movaps %xmm0, -0x780(%rbp)
movw -0x668(%rbp), %ax
movw %ax, -0x630(%rbp)
movw -0x630(%rbp), %ax
movw %ax, -0x96c(%rbp)
movw %ax, -0x522(%rbp)
movw %ax, -0x524(%rbp)
movw %ax, -0x526(%rbp)
movw %ax, -0x528(%rbp)
movw %ax, -0x52a(%rbp)
movw %ax, -0x52c(%rbp)
movw %ax, -0x52e(%rbp)
movw %ax, -0x530(%rbp)
movzwl -0x522(%rbp), %eax
movd %eax, %xmm1
movzwl -0x524(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x526(%rbp), %eax
movd %eax, %xmm2
movzwl -0x528(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x52a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x52c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x52e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x530(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x540(%rbp)
movaps -0x540(%rbp), %xmm0
movaps %xmm0, -0x790(%rbp)
movw $0xffff, -0x632(%rbp)   # imm = 0xFFFF
movw -0x632(%rbp), %ax
movw %ax, -0x96a(%rbp)
movw %ax, -0x502(%rbp)
movw %ax, -0x504(%rbp)
movw %ax, -0x506(%rbp)
movw %ax, -0x508(%rbp)
movw %ax, -0x50a(%rbp)
movw %ax, -0x50c(%rbp)
movw %ax, -0x50e(%rbp)
movw %ax, -0x510(%rbp)
movzwl -0x502(%rbp), %eax
movd %eax, %xmm1
movzwl -0x504(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x506(%rbp), %eax
movd %eax, %xmm2
movzwl -0x508(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x50a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x50c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x50e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x510(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x520(%rbp)
movaps -0x520(%rbp), %xmm0
movaps %xmm0, -0x7a0(%rbp)
movw $0x0, -0x462(%rbp)
movw $0x1, -0x464(%rbp)
movw $0x2, -0x466(%rbp)
movw $0x3, -0x468(%rbp)
movw $0x4, -0x46a(%rbp)
movw $0x5, -0x46c(%rbp)
movw $0x6, -0x46e(%rbp)
movw $0x7, -0x470(%rbp)
movzwl -0x462(%rbp), %eax
movd %eax, %xmm1
movzwl -0x464(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x466(%rbp), %eax
movd %eax, %xmm2
movzwl -0x468(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x46a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x46c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x46e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x470(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x480(%rbp)
movaps -0x480(%rbp), %xmm0
movaps %xmm0, -0x7b0(%rbp)
movw $0x0, -0x482(%rbp)
movw $0xffff, -0x484(%rbp)   # imm = 0xFFFF
movw $0xfffe, -0x486(%rbp)   # imm = 0xFFFE
movw $0xfffd, -0x488(%rbp)   # imm = 0xFFFD
movw $0xfffc, -0x48a(%rbp)   # imm = 0xFFFC
movw $0xfffb, -0x48c(%rbp)   # imm = 0xFFFB
movw $0xfffa, -0x48e(%rbp)   # imm = 0xFFFA
movw $0xfff9, -0x490(%rbp)   # imm = 0xFFF9
movzwl -0x482(%rbp), %eax
movd %eax, %xmm1
movzwl -0x484(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x486(%rbp), %eax
movd %eax, %xmm2
movzwl -0x488(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x48a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x48c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x48e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x490(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x4a0(%rbp)
movaps -0x4a0(%rbp), %xmm0
movaps %xmm0, -0x7c0(%rbp)
movaps -0x730(%rbp), %xmm0
movaps %xmm0, -0x7d0(%rbp)
movaps -0x730(%rbp), %xmm0
movaps %xmm0, -0x7e0(%rbp)
movaps -0x730(%rbp), %xmm0
movaps %xmm0, -0x7f0(%rbp)
movw -0x674(%rbp), %ax
movw %ax, -0x634(%rbp)
movw -0x634(%rbp), %ax
movw %ax, -0x968(%rbp)
movw %ax, -0x4e2(%rbp)
movw %ax, -0x4e4(%rbp)
movw %ax, -0x4e6(%rbp)
movw %ax, -0x4e8(%rbp)
movw %ax, -0x4ea(%rbp)
movw %ax, -0x4ec(%rbp)
movw %ax, -0x4ee(%rbp)
movw %ax, -0x4f0(%rbp)
movzwl -0x4e2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x4e4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x4e6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x4e8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x4ea(%rbp), %eax
movd %eax, %xmm0
movzwl -0x4ec(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x4ee(%rbp), %eax
movd %eax, %xmm3
movzwl -0x4f0(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x500(%rbp)
movaps -0x500(%rbp), %xmm0
movaps %xmm0, -0x800(%rbp)
movw -0x65c(%rbp), %ax
movw %ax, -0x636(%rbp)
movw -0x636(%rbp), %ax
movw %ax, -0x966(%rbp)
movw %ax, -0x4c2(%rbp)
movw %ax, -0x4c4(%rbp)
movw %ax, -0x4c6(%rbp)
movw %ax, -0x4c8(%rbp)
movw %ax, -0x4ca(%rbp)
movw %ax, -0x4cc(%rbp)
movw %ax, -0x4ce(%rbp)
movw %ax, -0x4d0(%rbp)
movzwl -0x4c2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x4c4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x4c6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x4c8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x4ca(%rbp), %eax
movd %eax, %xmm0
movzwl -0x4cc(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x4ce(%rbp), %eax
movd %eax, %xmm3
movzwl -0x4d0(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x4e0(%rbp)
movdqa -0x4e0(%rbp), %xmm0
movdqa %xmm0, -0x810(%rbp)
movl -0x674(%rbp), %edi
movl -0x65c(%rbp), %esi
callq 0x1c39b0
movq %rax, -0x6c0(%rbp)
cmpq $0x0, -0x6c0(%rbp)
jne 0x3af49e
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
movq -0x6c0(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x8201004, %ecx        # imm = 0x8201004
movl %ecx, 0xc(%rax)
movq -0x6c0(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x20000, %ecx          # imm = 0x20000
movl %ecx, 0xc(%rax)
movl -0x65c(%rbp), %eax
addl -0x670(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x690(%rbp)
movl -0x65c(%rbp), %eax
addl -0x670(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x698(%rbp)
movl -0x65c(%rbp), %eax
addl -0x670(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x6a0(%rbp)
movq -0x690(%rbp), %rax
movslq -0x66c(%rbp), %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0x6a8(%rbp)
movq -0x698(%rbp), %rax
movslq -0x66c(%rbp), %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0x6b0(%rbp)
movq -0x6a0(%rbp), %rax
movslq -0x66c(%rbp), %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0x6b8(%rbp)
cmpq $0x0, -0x690(%rbp)
jne 0x3af58f
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
cmpq $0x0, -0x698(%rbp)
jne 0x3af5a9
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
cmpq $0x0, -0x6a0(%rbp)
jne 0x3af5c3
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3af6a7
movl -0x674(%rbp), %eax
addl -0x66c(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x688(%rbp)
cmpq $0x0, -0x688(%rbp)
jne 0x3af60b
movq $0x0, -0x640(%rbp)
jmp 0x3b0a69
movl $0x0, -0x6c4(%rbp)
movl -0x6c4(%rbp), %eax
cmpl -0x674(%rbp), %eax
jge 0x3af666
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x648(%rbp), %rcx
movslq -0x6c4(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %eax
movw %ax, %dx
movq -0x688(%rbp), %rax
movslq -0x6c4(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x6c4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c4(%rbp)
jmp 0x3af615
movl -0x674(%rbp), %eax
movl %eax, -0x6c4(%rbp)
movl -0x6c4(%rbp), %eax
cmpl -0x678(%rbp), %eax
jge 0x3af6a5
movq -0x688(%rbp), %rax
movslq -0x6c4(%rbp), %rcx
movw $0x0, (%rax,%rcx,2)
movl -0x6c4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c4(%rbp)
jmp 0x3af672
jmp 0x3af6a7
movl $0x0, -0x6c8(%rbp)
movl -0x6c8(%rbp), %eax
cmpl -0x65c(%rbp), %eax
jge 0x3af702
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x658(%rbp), %rcx
movslq -0x6c8(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %eax
movw %ax, %dx
movq -0x6a8(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x6c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c8(%rbp)
jmp 0x3af6b1
xorl %eax, %eax
subl -0x66c(%rbp), %eax
movl %eax, -0x6c8(%rbp)
cmpl $0x0, -0x6c8(%rbp)
jge 0x3af73e
movq -0x6a8(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw $0x0, (%rax,%rcx,2)
movl -0x6c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c8(%rbp)
jmp 0x3af710
movl -0x65c(%rbp), %eax
movl %eax, -0x6c8(%rbp)
movl -0x6c8(%rbp), %eax
cmpl -0x67c(%rbp), %eax
jge 0x3af77d
movq -0x6a8(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw $0x0, (%rax,%rcx,2)
movl -0x6c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c8(%rbp)
jmp 0x3af74a
movl $0x0, -0x6c8(%rbp)
movl -0x6c8(%rbp), %eax
cmpl -0x65c(%rbp), %eax
jge 0x3af7d3
movq -0x6b0(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw $0x0, (%rax,%rcx,2)
movw -0x6d2(%rbp), %dx
movq -0x6b8(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x6c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c8(%rbp)
jmp 0x3af787
xorl %eax, %eax
subl -0x66c(%rbp), %eax
movl %eax, -0x6c8(%rbp)
cmpl $0x0, -0x6c8(%rbp)
jge 0x3af82d
movw -0x6d2(%rbp), %dx
movq -0x6b0(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movw -0x6d2(%rbp), %dx
movq -0x6b8(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x6c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c8(%rbp)
jmp 0x3af7e1
movl -0x65c(%rbp), %eax
movl %eax, -0x6c8(%rbp)
movl -0x6c8(%rbp), %eax
movl -0x65c(%rbp), %ecx
addl -0x66c(%rbp), %ecx
cmpl %ecx, %eax
jge 0x3af892
movw -0x6d2(%rbp), %dx
movq -0x6b0(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movw -0x6d2(%rbp), %dx
movq -0x6b8(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x6c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c8(%rbp)
jmp 0x3af839
movl $0x0, -0x6c4(%rbp)
movl -0x6c4(%rbp), %eax
cmpl -0x674(%rbp), %eax
jge 0x3b07b5
movdqa -0x740(%rbp), %xmm0
movdqa %xmm0, -0x820(%rbp)
movdqa -0x740(%rbp), %xmm0
movdqa %xmm0, -0x830(%rbp)
movdqa -0x730(%rbp), %xmm0
movdqa %xmm0, -0x840(%rbp)
movdqa -0x730(%rbp), %xmm0
movdqa %xmm0, -0x850(%rbp)
movdqa -0x7c0(%rbp), %xmm0
movdqa %xmm0, -0x860(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x988(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x980(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3af943
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x98c(%rbp)
jmp 0x3af980
movl -0x6c4(%rbp), %eax
addl $0x0, %eax
cmpl -0x674(%rbp), %eax
jl 0x3af965
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x990(%rbp)
jmp 0x3af974
movl -0x6c4(%rbp), %eax
addl $0x0, %eax
movl %eax, -0x990(%rbp)
movl -0x990(%rbp), %eax
movl %eax, -0x98c(%rbp)
movq -0x988(%rbp), %rax
movl -0x980(%rbp), %ecx
movl -0x98c(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x868(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x9a0(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x994(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3af9ec
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x9a4(%rbp)
jmp 0x3afa29
movl -0x6c4(%rbp), %eax
addl $0x1, %eax
cmpl -0x674(%rbp), %eax
jl 0x3afa0e
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x9a8(%rbp)
jmp 0x3afa1d
movl -0x6c4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9a8(%rbp)
movl -0x9a8(%rbp), %eax
movl %eax, -0x9a4(%rbp)
movq -0x9a0(%rbp), %rax
movl -0x994(%rbp), %ecx
movl -0x9a4(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x870(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x9b8(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x9ac(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3afa95
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x9bc(%rbp)
jmp 0x3afad2
movl -0x6c4(%rbp), %eax
addl $0x2, %eax
cmpl -0x674(%rbp), %eax
jl 0x3afab7
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x9c0(%rbp)
jmp 0x3afac6
movl -0x6c4(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x9c0(%rbp)
movl -0x9c0(%rbp), %eax
movl %eax, -0x9bc(%rbp)
movq -0x9b8(%rbp), %rax
movl -0x9ac(%rbp), %ecx
movl -0x9bc(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x878(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x9d0(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x9c4(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3afb3e
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x9d4(%rbp)
jmp 0x3afb7b
movl -0x6c4(%rbp), %eax
addl $0x3, %eax
cmpl -0x674(%rbp), %eax
jl 0x3afb60
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x9d8(%rbp)
jmp 0x3afb6f
movl -0x6c4(%rbp), %eax
addl $0x3, %eax
movl %eax, -0x9d8(%rbp)
movl -0x9d8(%rbp), %eax
movl %eax, -0x9d4(%rbp)
movq -0x9d0(%rbp), %rax
movl -0x9c4(%rbp), %ecx
movl -0x9d4(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x880(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x9e8(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x9dc(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3afbe7
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x4, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x9ec(%rbp)
jmp 0x3afc24
movl -0x6c4(%rbp), %eax
addl $0x4, %eax
cmpl -0x674(%rbp), %eax
jl 0x3afc09
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x9f0(%rbp)
jmp 0x3afc18
movl -0x6c4(%rbp), %eax
addl $0x4, %eax
movl %eax, -0x9f0(%rbp)
movl -0x9f0(%rbp), %eax
movl %eax, -0x9ec(%rbp)
movq -0x9e8(%rbp), %rax
movl -0x9dc(%rbp), %ecx
movl -0x9ec(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x888(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xa00(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x9f4(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3afc90
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x5, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0xa04(%rbp)
jmp 0x3afccd
movl -0x6c4(%rbp), %eax
addl $0x5, %eax
cmpl -0x674(%rbp), %eax
jl 0x3afcb2
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xa08(%rbp)
jmp 0x3afcc1
movl -0x6c4(%rbp), %eax
addl $0x5, %eax
movl %eax, -0xa08(%rbp)
movl -0xa08(%rbp), %eax
movl %eax, -0xa04(%rbp)
movq -0xa00(%rbp), %rax
movl -0x9f4(%rbp), %ecx
movl -0xa04(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x890(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xa18(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0xa0c(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3afd39
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x6, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0xa1c(%rbp)
jmp 0x3afd76
movl -0x6c4(%rbp), %eax
addl $0x6, %eax
cmpl -0x674(%rbp), %eax
jl 0x3afd5b
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xa20(%rbp)
jmp 0x3afd6a
movl -0x6c4(%rbp), %eax
addl $0x6, %eax
movl %eax, -0xa20(%rbp)
movl -0xa20(%rbp), %eax
movl %eax, -0xa1c(%rbp)
movq -0xa18(%rbp), %rax
movl -0xa0c(%rbp), %ecx
movl -0xa1c(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x898(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xa30(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0xa24(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3afde2
movq -0x688(%rbp), %rax
movl -0x6c4(%rbp), %ecx
addl $0x7, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0xa34(%rbp)
jmp 0x3afe1f
movl -0x6c4(%rbp), %eax
addl $0x7, %eax
cmpl -0x674(%rbp), %eax
jl 0x3afe04
movl -0x674(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xa38(%rbp)
jmp 0x3afe13
movl -0x6c4(%rbp), %eax
addl $0x7, %eax
movl %eax, -0xa38(%rbp)
movl -0xa38(%rbp), %eax
movl %eax, -0xa34(%rbp)
movq -0xa30(%rbp), %rax
movl -0xa24(%rbp), %ecx
movl -0xa34(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -0x8a0(%rbp)
movaps -0x7b0(%rbp), %xmm1
movaps -0x800(%rbp), %xmm0
movaps %xmm1, -0x3f0(%rbp)
movaps %xmm0, -0x400(%rbp)
movaps -0x400(%rbp), %xmm1
movaps -0x3f0(%rbp), %xmm0
movaps %xmm1, -0x110(%rbp)
movaps %xmm0, -0x120(%rbp)
movaps -0x110(%rbp), %xmm0
movaps -0x120(%rbp), %xmm1
pcmpgtw %xmm1, %xmm0
movdqa %xmm0, -0x8b0(%rbp)
movl $0x0, -0x6c8(%rbp)
movl -0x6c8(%rbp), %eax
movl -0x65c(%rbp), %ecx
addl -0x66c(%rbp), %ecx
cmpl %ecx, %eax
jge 0x3b0762
movaps -0x820(%rbp), %xmm0
movaps %xmm0, -0x8d0(%rbp)
movaps -0x830(%rbp), %xmm0
psrldq $0x2, %xmm0             # xmm0 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
movaps %xmm0, -0x820(%rbp)
movq -0x6b0(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw (%rax,%rcx,2), %ax
movw %ax, -0x812(%rbp)
movaps -0x850(%rbp), %xmm0
psrldq $0x2, %xmm0             # xmm0 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
movaps %xmm0, -0x850(%rbp)
movq -0x6b8(%rbp), %rax
movslq -0x6c8(%rbp), %rcx
movw (%rax,%rcx,2), %ax
movw %ax, -0x842(%rbp)
movaps -0x820(%rbp), %xmm1
movaps -0x750(%rbp), %xmm0
movaps %xmm1, -0x2b0(%rbp)
movaps %xmm0, -0x2c0(%rbp)
movaps -0x2b0(%rbp), %xmm1
movaps -0x2c0(%rbp), %xmm0
psubsw %xmm0, %xmm1
movaps -0x850(%rbp), %xmm2
movaps -0x760(%rbp), %xmm0
movaps %xmm2, -0x2d0(%rbp)
movaps %xmm0, -0x2e0(%rbp)
movaps -0x2d0(%rbp), %xmm0
movaps -0x2e0(%rbp), %xmm2
psubsw %xmm2, %xmm0
movaps %xmm1, -0x330(%rbp)
movaps %xmm0, -0x340(%rbp)
movaps -0x330(%rbp), %xmm0
movaps -0x340(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x850(%rbp)
movaps -0x830(%rbp), %xmm1
movaps -0x750(%rbp), %xmm0
movaps %xmm1, -0x2f0(%rbp)
movaps %xmm0, -0x300(%rbp)
movaps -0x2f0(%rbp), %xmm1
movaps -0x300(%rbp), %xmm0
psubsw %xmm0, %xmm1
movaps -0x840(%rbp), %xmm2
movaps -0x760(%rbp), %xmm0
movaps %xmm2, -0x310(%rbp)
movaps %xmm0, -0x320(%rbp)
movaps -0x310(%rbp), %xmm0
movaps -0x320(%rbp), %xmm2
psubsw %xmm2, %xmm0
movaps %xmm1, -0x350(%rbp)
movaps %xmm0, -0x360(%rbp)
movaps -0x350(%rbp), %xmm0
movaps -0x360(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x840(%rbp)
movq -0x868(%rbp), %rax
movq -0x6a8(%rbp), %r11
movq %r11, -0xa40(%rbp)
movslq -0x6c8(%rbp), %rcx
movl %ecx, %ebx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %r10w
movq -0x870(%rbp), %rax
movl %ebx, %ecx
decl %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %r9w
movq -0x878(%rbp), %rax
movl %ebx, %ecx
addl $-0x2, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %r8w
movq -0x880(%rbp), %rax
movl %ebx, %ecx
addl $-0x3, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %di
movq -0x888(%rbp), %rax
movl %ebx, %ecx
addl $-0x4, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %si
movq -0x890(%rbp), %rax
movl %ebx, %ecx
addl $-0x5, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %dx
movq -0x898(%rbp), %rax
movl %ebx, %ecx
addl $-0x6, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %cx
movq -0x8a0(%rbp), %rax
addl $-0x7, %ebx
movslq %ebx, %rbx
movswq (%r11,%rbx,2), %r11
movw (%rax,%r11,4), %ax
movw %r10w, -0x4a2(%rbp)
movw %r9w, -0x4a4(%rbp)
movw %r8w, -0x4a6(%rbp)
movw %di, -0x4a8(%rbp)
movw %si, -0x4aa(%rbp)
movw %dx, -0x4ac(%rbp)
movw %cx, -0x4ae(%rbp)
movw %ax, -0x4b0(%rbp)
movzwl -0x4a2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x4a4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x4a6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x4a8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x4aa(%rbp), %eax
movd %eax, %xmm0
movzwl -0x4ac(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x4ae(%rbp), %eax
movd %eax, %xmm3
movzwl -0x4b0(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x4c0(%rbp)
movaps -0x4c0(%rbp), %xmm0
movaps %xmm0, -0x8c0(%rbp)
movaps -0x8d0(%rbp), %xmm1
movaps -0x8c0(%rbp), %xmm0
movaps %xmm1, -0x250(%rbp)
movaps %xmm0, -0x260(%rbp)
movaps -0x250(%rbp), %xmm0
movaps -0x260(%rbp), %xmm1
paddsw %xmm1, %xmm0
movaps %xmm0, -0x8d0(%rbp)
movaps -0x8d0(%rbp), %xmm1
movaps -0x840(%rbp), %xmm0
movaps %xmm1, -0x370(%rbp)
movaps %xmm0, -0x380(%rbp)
movaps -0x370(%rbp), %xmm0
movaps -0x380(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x830(%rbp)
movaps -0x830(%rbp), %xmm1
movaps -0x850(%rbp), %xmm0
movaps %xmm1, -0x390(%rbp)
movaps %xmm0, -0x3a0(%rbp)
movaps -0x390(%rbp), %xmm0
movaps -0x3a0(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x830(%rbp)
movaps -0x830(%rbp), %xmm1
movaps -0x770(%rbp), %xmm0
movaps %xmm1, -0x3b0(%rbp)
movaps %xmm0, -0x3c0(%rbp)
movaps -0x3b0(%rbp), %xmm0
movaps -0x3c0(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x830(%rbp)
movaps -0x860(%rbp), %xmm1
movaps -0x7a0(%rbp), %xmm0
movaps %xmm1, -0x210(%rbp)
movaps %xmm0, -0x220(%rbp)
movaps -0x210(%rbp), %xmm0
movaps -0x220(%rbp), %xmm1
pcmpeqw %xmm1, %xmm0
movaps %xmm0, -0x8e0(%rbp)
movaps -0x8e0(%rbp), %xmm1
movaps -0x830(%rbp), %xmm0
movaps %xmm1, -0x1f0(%rbp)
movaps %xmm0, -0x200(%rbp)
movaps -0x1f0(%rbp), %xmm0
pcmpeqd %xmm1, %xmm1
pxor %xmm1, %xmm0
pand -0x200(%rbp), %xmm0
movdqa %xmm0, -0x830(%rbp)
movdqa -0x850(%rbp), %xmm0
movdqa -0x730(%rbp), %xmm1
movdqa -0x8e0(%rbp), %xmm2
callq 0x3b0a80
movdqa %xmm0, -0x850(%rbp)
movdqa -0x840(%rbp), %xmm0
movdqa -0x730(%rbp), %xmm1
movdqa -0x8e0(%rbp), %xmm2
callq 0x3b0a80
movdqa %xmm0, -0x840(%rbp)
movl -0x6c8(%rbp), %eax
cmpl -0x66c(%rbp), %eax
jle 0x3b03cd
movdqa -0x710(%rbp), %xmm1
movdqa -0x830(%rbp), %xmm0
movdqa %xmm1, -0x1d0(%rbp)
movdqa %xmm0, -0x1e0(%rbp)
movdqa -0x1d0(%rbp), %xmm0
movdqa -0x1e0(%rbp), %xmm1
pminsw %xmm1, %xmm0
movdqa %xmm0, -0x710(%rbp)
movdqa -0x720(%rbp), %xmm1
movdqa -0x830(%rbp), %xmm0
movdqa %xmm1, -0x3d0(%rbp)
movdqa %xmm0, -0x3e0(%rbp)
movdqa -0x3d0(%rbp), %xmm0
movdqa -0x3e0(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movdqa %xmm0, -0x720(%rbp)
movq -0x6c0(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movaps -0x830(%rbp), %xmm0
movl -0x6c4(%rbp), %esi
movl -0x674(%rbp), %edx
movl -0x6c8(%rbp), %ecx
movl -0x65c(%rbp), %r8d
callq 0x3b0b10
movw -0x830(%rbp), %dx
movq -0x6b0(%rbp), %rax
movl -0x6c8(%rbp), %ecx
addl $-0x7, %ecx
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
movw -0x850(%rbp), %dx
movq -0x6b8(%rbp), %rax
movl -0x6c8(%rbp), %ecx
addl $-0x7, %ecx
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
movaps -0x860(%rbp), %xmm1
movaps -0x7a0(%rbp), %xmm0
movaps %xmm1, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps -0x50(%rbp), %xmm1
movaps -0x60(%rbp), %xmm0
pcmpgtw %xmm0, %xmm1
movaps -0x860(%rbp), %xmm2
movaps -0x810(%rbp), %xmm0
movaps %xmm2, -0x410(%rbp)
movaps %xmm0, -0x420(%rbp)
movaps -0x420(%rbp), %xmm2
movaps -0x410(%rbp), %xmm0
movaps %xmm2, -0xf0(%rbp)
movaps %xmm0, -0x100(%rbp)
movaps -0xf0(%rbp), %xmm0
movaps -0x100(%rbp), %xmm2
pcmpgtw %xmm2, %xmm0
movaps %xmm1, -0x130(%rbp)
movaps %xmm0, -0x140(%rbp)
movaps -0x130(%rbp), %xmm0
movaps -0x140(%rbp), %xmm1
pand %xmm1, %xmm0
movaps %xmm0, -0x8f0(%rbp)
movaps -0x8f0(%rbp), %xmm1
movaps -0x8b0(%rbp), %xmm0
movaps %xmm1, -0x150(%rbp)
movaps %xmm0, -0x160(%rbp)
movaps -0x150(%rbp), %xmm0
movaps -0x160(%rbp), %xmm1
pand %xmm1, %xmm0
movaps %xmm0, -0x900(%rbp)
movaps -0x830(%rbp), %xmm1
movaps -0x7d0(%rbp), %xmm0
movaps %xmm1, -0x230(%rbp)
movaps %xmm0, -0x240(%rbp)
movaps -0x230(%rbp), %xmm0
movaps -0x240(%rbp), %xmm1
pcmpeqw %xmm1, %xmm0
movaps %xmm0, -0x910(%rbp)
movaps -0x830(%rbp), %xmm1
movaps -0x7d0(%rbp), %xmm0
movaps %xmm1, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps -0x70(%rbp), %xmm0
movaps -0x80(%rbp), %xmm1
pcmpgtw %xmm1, %xmm0
movaps %xmm0, -0x920(%rbp)
movaps -0x920(%rbp), %xmm1
movaps -0x900(%rbp), %xmm0
movaps %xmm1, -0x170(%rbp)
movaps %xmm0, -0x180(%rbp)
movaps -0x170(%rbp), %xmm0
movaps -0x180(%rbp), %xmm1
pand %xmm1, %xmm0
movaps %xmm0, -0x930(%rbp)
movaps -0x860(%rbp), %xmm1
movaps -0x7f0(%rbp), %xmm0
movaps %xmm1, -0x430(%rbp)
movaps %xmm0, -0x440(%rbp)
movaps -0x440(%rbp), %xmm1
movaps -0x430(%rbp), %xmm0
movaps %xmm1, -0xd0(%rbp)
movaps %xmm0, -0xe0(%rbp)
movaps -0xd0(%rbp), %xmm0
movaps -0xe0(%rbp), %xmm1
pcmpgtw %xmm1, %xmm0
movdqa %xmm0, -0x940(%rbp)
movdqa -0x7d0(%rbp), %xmm0
movdqa -0x830(%rbp), %xmm1
movdqa -0x930(%rbp), %xmm2
callq 0x3b0a80
movdqa %xmm0, -0x7d0(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x7b0(%rbp), %xmm1
movdqa -0x930(%rbp), %xmm2
callq 0x3b0a80
movdqa %xmm0, -0x7e0(%rbp)
movdqa -0x7f0(%rbp), %xmm0
movdqa -0x860(%rbp), %xmm1
movdqa -0x930(%rbp), %xmm2
callq 0x3b0a80
movdqa %xmm0, -0x7f0(%rbp)
movdqa -0x940(%rbp), %xmm1
movdqa -0x910(%rbp), %xmm0
movdqa %xmm1, -0x190(%rbp)
movdqa %xmm0, -0x1a0(%rbp)
movdqa -0x190(%rbp), %xmm0
pand -0x1a0(%rbp), %xmm0
movdqa %xmm0, -0x930(%rbp)
movdqa -0x930(%rbp), %xmm1
movdqa -0x900(%rbp), %xmm0
movdqa %xmm1, -0x1b0(%rbp)
movdqa %xmm0, -0x1c0(%rbp)
movdqa -0x1b0(%rbp), %xmm0
pand -0x1c0(%rbp), %xmm0
movdqa %xmm0, -0x930(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x7b0(%rbp), %xmm1
movdqa -0x930(%rbp), %xmm2
callq 0x3b0a80
movdqa %xmm0, -0x7e0(%rbp)
movdqa -0x7f0(%rbp), %xmm0
movdqa -0x860(%rbp), %xmm1
movdqa -0x930(%rbp), %xmm2
callq 0x3b0a80
movdqa %xmm0, -0x7f0(%rbp)
movdqa -0x860(%rbp), %xmm1
movdqa -0x780(%rbp), %xmm0
movdqa %xmm1, -0x270(%rbp)
movdqa %xmm0, -0x280(%rbp)
movdqa -0x270(%rbp), %xmm0
movdqa -0x280(%rbp), %xmm1
paddsw %xmm1, %xmm0
movdqa %xmm0, -0x860(%rbp)
movl -0x6c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c8(%rbp)
jmp 0x3afe9f
movdqa -0x7b0(%rbp), %xmm1
movdqa -0x790(%rbp), %xmm0
movdqa %xmm1, -0x290(%rbp)
movdqa %xmm0, -0x2a0(%rbp)
movdqa -0x290(%rbp), %xmm0
movdqa -0x2a0(%rbp), %xmm1
paddsw %xmm1, %xmm0
movdqa %xmm0, -0x7b0(%rbp)
movl -0x668(%rbp), %eax
addl -0x6c4(%rbp), %eax
movl %eax, -0x6c4(%rbp)
jmp 0x3af89c
leaq -0x7d0(%rbp), %rax
movq %rax, -0x948(%rbp)
leaq -0x7e0(%rbp), %rax
movq %rax, -0x950(%rbp)
leaq -0x7f0(%rbp), %rax
movq %rax, -0x958(%rbp)
movl $0x0, -0x95c(%rbp)
movl -0x95c(%rbp), %eax
cmpl -0x668(%rbp), %eax
jge 0x3b0925
movq -0x948(%rbp), %rax
movswl (%rax), %eax
movswl -0x6d6(%rbp), %ecx
cmpl %ecx, %eax
jle 0x3b0846
movq -0x948(%rbp), %rax
movw (%rax), %ax
movw %ax, -0x6d6(%rbp)
movq -0x950(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x6cc(%rbp)
movq -0x958(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x6d0(%rbp)
jmp 0x3b08d9
movq -0x948(%rbp), %rax
movswl (%rax), %eax
movswl -0x6d6(%rbp), %ecx
cmpl %ecx, %eax
jne 0x3b08d7
movq -0x958(%rbp), %rax
movswl (%rax), %eax
cmpl -0x6d0(%rbp), %eax
jge 0x3b088f
movq -0x950(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x6cc(%rbp)
movq -0x958(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x6d0(%rbp)
jmp 0x3b08d5
movq -0x958(%rbp), %rax
movswl (%rax), %eax
cmpl -0x6d0(%rbp), %eax
jne 0x3b08d3
movq -0x950(%rbp), %rax
movswl (%rax), %eax
cmpl -0x6cc(%rbp), %eax
jge 0x3b08d3
movq -0x950(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x6cc(%rbp)
movq -0x958(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x6d0(%rbp)
jmp 0x3b08d5
jmp 0x3b08d7
jmp 0x3b08d9
jmp 0x3b08db
movl -0x95c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x95c(%rbp)
movq -0x948(%rbp), %rax
addq $0x2, %rax
movq %rax, -0x948(%rbp)
movq -0x950(%rbp), %rax
addq $0x2, %rax
movq %rax, -0x950(%rbp)
movq -0x958(%rbp), %rax
addq $0x2, %rax
movq %rax, -0x958(%rbp)
jmp 0x3b07e9
movaps -0x710(%rbp), %xmm1
movaps -0x6f0(%rbp), %xmm0
movaps %xmm1, -0x450(%rbp)
movaps %xmm0, -0x460(%rbp)
movaps -0x460(%rbp), %xmm1
movaps -0x450(%rbp), %xmm0
movaps %xmm1, -0xb0(%rbp)
movaps %xmm0, -0xc0(%rbp)
movaps -0xb0(%rbp), %xmm1
movaps -0xc0(%rbp), %xmm0
pcmpgtw %xmm0, %xmm1
movaps -0x720(%rbp), %xmm2
movaps -0x700(%rbp), %xmm0
movaps %xmm2, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps -0x90(%rbp), %xmm0
movaps -0xa0(%rbp), %xmm2
pcmpgtw %xmm2, %xmm0
movdqa %xmm1, -0x20(%rbp)
movdqa %xmm0, -0x30(%rbp)
movdqa -0x20(%rbp), %xmm0
por -0x30(%rbp), %xmm0
movdqa %xmm0, -0x40(%rbp)
movdqa -0x40(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x3b09f1
movq -0x6c0(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movw $0x0, -0x6d6(%rbp)
movl $0x0, -0x6cc(%rbp)
movl $0x0, -0x6d0(%rbp)
movswl -0x6d6(%rbp), %ecx
movq -0x6c0(%rbp), %rax
movl %ecx, (%rax)
movl -0x6cc(%rbp), %ecx
movq -0x6c0(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x6d0(%rbp), %ecx
movq -0x6c0(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x6a0(%rbp), %rdi
callq 0x1c3590
movq -0x698(%rbp), %rdi
callq 0x1c3590
movq -0x690(%rbp), %rdi
callq 0x1c3590
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3b0a5b
movq -0x688(%rbp), %rdi
callq 0x1c3590
movq -0x6c0(%rbp), %rax
movq %rax, -0x640(%rbp)
movq -0x640(%rbp), %rax
addq $0xa38, %rsp            # imm = 0xA38
popq %rbx
popq %rbp
retq
nopw (%rax,%rax)