// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_diag_sse2_128_16.c
// Function: parasail_nw_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 vOpen;
    __m128i vGap;
    __m128i vOne;
    __m128i vN;
    __m128i vGapN;
    __m128i vNegOne;
    __m128i vI;
    __m128i vJreset;
    __m128i vMax;
    __m128i vILimit;
    __m128i vILimit1;
    __m128i vJLimit;
    __m128i vJLimit1;
    __m128i vIBoundary;

    /* 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 = s1Len-1;
    end_ref = s2Len-1;
    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);
    vOpen = _mm_set1_epi16(open);
    vGap  = _mm_set1_epi16(gap);
    vOne = _mm_set1_epi16(1);
    vN = _mm_set1_epi16(N);
    vGapN = _mm_set1_epi16(gap*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);
    vMax = vNegInf;
    vILimit = _mm_set1_epi16(s1Len);
    vILimit1 = _mm_subs_epi16(vILimit, vOne);
    vJLimit = _mm_set1_epi16(s2Len);
    vJLimit1 = _mm_subs_epi16(vJLimit, vOne);
    vIBoundary = _mm_set_epi16(
            -open-0*gap,
            -open-1*gap,
            -open-2*gap,
            -open-3*gap,
            -open-4*gap,
            -open-5*gap,
            -open-6*gap,
            -open-7*gap);

    /* 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_NW | 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] = -open - j*gap;
        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;
    }
    H_pr[-1] = 0; /* upper left corner */

    /* iterate over query sequence */
    for (i=0; i<s1Len; i+=N) {
        __m128i vNH = vNegInf;
        __m128i vWH = vNegInf;
        __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))];
        vNH = _mm_srli_si128(vNH, 2);
        vNH = _mm_insert_epi16(vNH, H_pr[-1], 7);
        vWH = _mm_srli_si128(vWH, 2);
        vWH = _mm_insert_epi16(vWH, -open - i*gap, 7);
        H_pr[-1] = -open - (i+N)*gap;
        /* 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);
            /* as minor diagonal vector passes across the j=-1 boundary,
             * assign the appropriate boundary conditions */
            {
                __m128i cond = _mm_cmpeq_epi16(vJ,vNegOne);
                vWH = _mm_blendv_epi8_rpl(vWH, vIBoundary, cond);
                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
               last table value at the i,j bound */
            {
                __m128i cond_valid_I = _mm_cmpeq_epi16(vI, vILimit1);
                __m128i cond_valid_J = _mm_cmpeq_epi16(vJ, vJLimit1);
                __m128i cond_all = _mm_and_si128(cond_valid_I, cond_valid_J);
                vMax = _mm_blendv_epi8_rpl(vMax, vWH, cond_all);
            }
            vJ = _mm_adds_epi16(vJ, vOne);
        }
        vI = _mm_adds_epi16(vI, vN);
        vIBoundary = _mm_subs_epi16(vIBoundary, vGapN);
    }

    /* max in vMax */
    for (i=0; i<N; ++i) {
        int16_t value;
        value = (int16_t) _mm_extract_epi16(vMax, 7);
        if (value > score) {
            score = value;
        }
        vMax = _mm_slli_si128(vMax, 2);
    }

    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 %r14
pushq %rbx
subq $0x8c0, %rsp            # imm = 0x8C0
movq 0x10(%rbp), %rax
movq %rdi, -0x528(%rbp)
movl %esi, -0x52c(%rbp)
movq %rdx, -0x538(%rbp)
movl %ecx, -0x53c(%rbp)
movl %r8d, -0x540(%rbp)
movl %r9d, -0x544(%rbp)
movl $0x0, -0x548(%rbp)
movl $0x0, -0x54c(%rbp)
movl $0x0, -0x550(%rbp)
movl $0x0, -0x554(%rbp)
movl $0x0, -0x558(%rbp)
movl $0x0, -0x55c(%rbp)
movq $0x0, -0x568(%rbp)
movq $0x0, -0x570(%rbp)
movq $0x0, -0x578(%rbp)
movq $0x0, -0x580(%rbp)
movq $0x0, -0x588(%rbp)
movq $0x0, -0x590(%rbp)
movq $0x0, -0x598(%rbp)
movq $0x0, -0x5a0(%rbp)
movl $0x0, -0x5a4(%rbp)
movl $0x0, -0x5a8(%rbp)
movl $0x0, -0x5ac(%rbp)
movl $0x0, -0x5b0(%rbp)
movw $0x0, -0x5b2(%rbp)
movw $0x0, -0x5b4(%rbp)
movw $0x0, -0x5b6(%rbp)
cmpq $0x0, -0x538(%rbp)
jne 0x3a8931
movq 0xa7e6d6(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x9436df(%rip), %rsi    # 0xcebfeb
leaq 0x8f2cbc(%rip), %rdx    # 0xc9b5cf
leaq 0x943de3(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
jmp 0x3a8933
jmp 0x3a8935
cmpl $0x0, -0x53c(%rbp)
jg 0x3a8974
movq 0xa7e693(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x943db2(%rip), %rsi    # 0xcec701
leaq 0x8f2c79(%rip), %rdx    # 0xc9b5cf
leaq 0x943db8(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
jmp 0x3a8976
jmp 0x3a8978
cmpl $0x0, -0x540(%rbp)
jge 0x3a89b7
movq 0xa7e650(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x943d89(%rip), %rsi    # 0xcec71b
leaq 0x8f2c36(%rip), %rdx    # 0xc9b5cf
leaq 0x943d90(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
jmp 0x3a89b9
jmp 0x3a89bb
cmpl $0x0, -0x544(%rbp)
jge 0x3a89fa
movq 0xa7e60d(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x943d46(%rip), %rsi    # 0xcec71b
leaq 0x8f2bf3(%rip), %rdx    # 0xc9b5cf
leaq 0x943d52(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
jmp 0x3a89fc
jmp 0x3a89fe
cmpq $0x0, 0x10(%rbp)
jne 0x3a8a3b
movq 0xa7e5cc(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x9435d5(%rip), %rsi    # 0xcebfeb
leaq 0x8f2bb2(%rip), %rdx    # 0xc9b5cf
leaq 0x943f01(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
jmp 0x3a8a3d
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3a8ad4
jmp 0x3a8a4d
cmpq $0x0, -0x528(%rbp)
jne 0x3a8a8d
movq 0xa7e57a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x943583(%rip), %rsi    # 0xcebfeb
leaq 0x8f2b60(%rip), %rdx    # 0xc9b5cf
leaq 0x943cc3(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
jmp 0x3a8a8f
jmp 0x3a8a91
cmpl $0x0, -0x52c(%rbp)
jg 0x3a8ad0
movq 0xa7e537(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x943c56(%rip), %rsi    # 0xcec701
leaq 0x8f2b1d(%rip), %rdx    # 0xc9b5cf
leaq 0x943c84(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
jmp 0x3a8ad2
jmp 0x3a8ad4
movl $0x8, -0x548(%rbp)
movl -0x548(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x54c(%rbp)
movl -0x54c(%rbp), %eax
shll %eax
movl %eax, -0x550(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3a8b13
movl -0x52c(%rbp), %eax
movl %eax, -0x7e8(%rbp)
jmp 0x3a8b20
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, -0x7e8(%rbp)
movl -0x7e8(%rbp), %eax
movl %eax, -0x554(%rbp)
movl -0x554(%rbp), %eax
addl -0x54c(%rbp), %eax
movl %eax, -0x558(%rbp)
movl -0x53c(%rbp), %eax
addl -0x54c(%rbp), %eax
movl %eax, -0x55c(%rbp)
movl $0x0, -0x5a4(%rbp)
movl $0x0, -0x5a8(%rbp)
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x5ac(%rbp)
movl -0x53c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x5b0(%rbp)
xorl %eax, %eax
subl -0x540(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x3a8ba6
movl -0x540(%rbp), %eax
addl $0xffff8000, %eax       # imm = 0xFFFF8000
movl %eax, -0x7ec(%rbp)
jmp 0x3a8bb8
movq 0x10(%rbp), %rcx
movl $0xffff8000, %eax       # imm = 0xFFFF8000
subl 0x20(%rcx), %eax
movl %eax, -0x7ec(%rbp)
movl -0x7ec(%rbp), %eax
incl %eax
movw %ax, -0x5b2(%rbp)
movq 0x10(%rbp), %rax
movl 0x1c(%rax), %eax
xorl $0x7fff, %eax           # imm = 0x7FFF
decl %eax
movw %ax, -0x5b4(%rbp)
movw -0x5b2(%rbp), %ax
movw %ax, -0x5b6(%rbp)
movw -0x5b2(%rbp), %ax
movw %ax, -0x502(%rbp)
movw -0x502(%rbp), %ax
movw %ax, -0x806(%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, -0x5d0(%rbp)
movw -0x5b4(%rbp), %ax
movw %ax, -0x504(%rbp)
movw -0x504(%rbp), %ax
movw %ax, -0x804(%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]
movaps %xmm0, -0x4e0(%rbp)
movaps -0x4e0(%rbp), %xmm0
movaps %xmm0, -0x5e0(%rbp)
movaps -0x5e0(%rbp), %xmm0
movaps %xmm0, -0x5f0(%rbp)
movaps -0x5d0(%rbp), %xmm0
movaps %xmm0, -0x600(%rbp)
movw -0x5b2(%rbp), %ax
movw %ax, -0x506(%rbp)
movw -0x506(%rbp), %ax
movw %ax, -0x802(%rbp)
movw %ax, -0x4a2(%rbp)
movw %ax, -0x4a4(%rbp)
movw %ax, -0x4a6(%rbp)
movw %ax, -0x4a8(%rbp)
movw %ax, -0x4aa(%rbp)
movw %ax, -0x4ac(%rbp)
movw %ax, -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, -0x610(%rbp)
movw -0x540(%rbp), %ax
movw %ax, -0x508(%rbp)
movw -0x508(%rbp), %ax
movw %ax, -0x800(%rbp)
movw %ax, -0x482(%rbp)
movw %ax, -0x484(%rbp)
movw %ax, -0x486(%rbp)
movw %ax, -0x488(%rbp)
movw %ax, -0x48a(%rbp)
movw %ax, -0x48c(%rbp)
movw %ax, -0x48e(%rbp)
movw %ax, -0x490(%rbp)
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, -0x620(%rbp)
movw -0x544(%rbp), %ax
movw %ax, -0x50a(%rbp)
movw -0x50a(%rbp), %ax
movw %ax, -0x7fe(%rbp)
movw %ax, -0x462(%rbp)
movw %ax, -0x464(%rbp)
movw %ax, -0x466(%rbp)
movw %ax, -0x468(%rbp)
movw %ax, -0x46a(%rbp)
movw %ax, -0x46c(%rbp)
movw %ax, -0x46e(%rbp)
movw %ax, -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, -0x630(%rbp)
movw $0x1, -0x50c(%rbp)
movw -0x50c(%rbp), %ax
movw %ax, -0x7fc(%rbp)
movw %ax, -0x442(%rbp)
movw %ax, -0x444(%rbp)
movw %ax, -0x446(%rbp)
movw %ax, -0x448(%rbp)
movw %ax, -0x44a(%rbp)
movw %ax, -0x44c(%rbp)
movw %ax, -0x44e(%rbp)
movw %ax, -0x450(%rbp)
movzwl -0x442(%rbp), %eax
movd %eax, %xmm1
movzwl -0x444(%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 -0x446(%rbp), %eax
movd %eax, %xmm2
movzwl -0x448(%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 -0x44a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x44c(%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 -0x44e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x450(%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, -0x460(%rbp)
movaps -0x460(%rbp), %xmm0
movaps %xmm0, -0x640(%rbp)
movw -0x548(%rbp), %ax
movw %ax, -0x50e(%rbp)
movw -0x50e(%rbp), %ax
movw %ax, -0x7fa(%rbp)
movw %ax, -0x422(%rbp)
movw %ax, -0x424(%rbp)
movw %ax, -0x426(%rbp)
movw %ax, -0x428(%rbp)
movw %ax, -0x42a(%rbp)
movw %ax, -0x42c(%rbp)
movw %ax, -0x42e(%rbp)
movw %ax, -0x430(%rbp)
movzwl -0x422(%rbp), %eax
movd %eax, %xmm1
movzwl -0x424(%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 -0x426(%rbp), %eax
movd %eax, %xmm2
movzwl -0x428(%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 -0x42a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x42c(%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 -0x42e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x430(%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, -0x440(%rbp)
movaps -0x440(%rbp), %xmm0
movaps %xmm0, -0x650(%rbp)
movl -0x544(%rbp), %eax
movl -0x548(%rbp), %ecx
imull %ecx, %eax
movw %ax, -0x510(%rbp)
movw -0x510(%rbp), %ax
movw %ax, -0x7f8(%rbp)
movw %ax, -0x402(%rbp)
movw %ax, -0x404(%rbp)
movw %ax, -0x406(%rbp)
movw %ax, -0x408(%rbp)
movw %ax, -0x40a(%rbp)
movw %ax, -0x40c(%rbp)
movw %ax, -0x40e(%rbp)
movw %ax, -0x410(%rbp)
movzwl -0x402(%rbp), %eax
movd %eax, %xmm1
movzwl -0x404(%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 -0x406(%rbp), %eax
movd %eax, %xmm2
movzwl -0x408(%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 -0x40a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x40c(%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 -0x40e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x410(%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, -0x420(%rbp)
movaps -0x420(%rbp), %xmm0
movaps %xmm0, -0x660(%rbp)
movw $0xffff, -0x512(%rbp)   # imm = 0xFFFF
movw -0x512(%rbp), %ax
movw %ax, -0x7f6(%rbp)
movw %ax, -0x3e2(%rbp)
movw %ax, -0x3e4(%rbp)
movw %ax, -0x3e6(%rbp)
movw %ax, -0x3e8(%rbp)
movw %ax, -0x3ea(%rbp)
movw %ax, -0x3ec(%rbp)
movw %ax, -0x3ee(%rbp)
movw %ax, -0x3f0(%rbp)
movzwl -0x3e2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x3e4(%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 -0x3e6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x3e8(%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 -0x3ea(%rbp), %eax
movd %eax, %xmm0
movzwl -0x3ec(%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 -0x3ee(%rbp), %eax
movd %eax, %xmm3
movzwl -0x3f0(%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, -0x400(%rbp)
movaps -0x400(%rbp), %xmm0
movaps %xmm0, -0x670(%rbp)
movw $0x0, -0x322(%rbp)
movw $0x1, -0x324(%rbp)
movw $0x2, -0x326(%rbp)
movw $0x3, -0x328(%rbp)
movw $0x4, -0x32a(%rbp)
movw $0x5, -0x32c(%rbp)
movw $0x6, -0x32e(%rbp)
movw $0x7, -0x330(%rbp)
movzwl -0x322(%rbp), %eax
movd %eax, %xmm1
movzwl -0x324(%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 -0x326(%rbp), %eax
movd %eax, %xmm2
movzwl -0x328(%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 -0x32a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x32c(%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 -0x32e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x330(%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, -0x340(%rbp)
movaps -0x340(%rbp), %xmm0
movaps %xmm0, -0x680(%rbp)
movw $0x0, -0x342(%rbp)
movw $0xffff, -0x344(%rbp)   # imm = 0xFFFF
movw $0xfffe, -0x346(%rbp)   # imm = 0xFFFE
movw $0xfffd, -0x348(%rbp)   # imm = 0xFFFD
movw $0xfffc, -0x34a(%rbp)   # imm = 0xFFFC
movw $0xfffb, -0x34c(%rbp)   # imm = 0xFFFB
movw $0xfffa, -0x34e(%rbp)   # imm = 0xFFFA
movw $0xfff9, -0x350(%rbp)   # imm = 0xFFF9
movzwl -0x342(%rbp), %eax
movd %eax, %xmm1
movzwl -0x344(%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 -0x346(%rbp), %eax
movd %eax, %xmm2
movzwl -0x348(%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 -0x34a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x34c(%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 -0x34e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x350(%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, -0x360(%rbp)
movaps -0x360(%rbp), %xmm0
movaps %xmm0, -0x690(%rbp)
movaps -0x610(%rbp), %xmm0
movaps %xmm0, -0x6a0(%rbp)
movw -0x554(%rbp), %ax
movw %ax, -0x514(%rbp)
movw -0x514(%rbp), %ax
movw %ax, -0x7f4(%rbp)
movw %ax, -0x3c2(%rbp)
movw %ax, -0x3c4(%rbp)
movw %ax, -0x3c6(%rbp)
movw %ax, -0x3c8(%rbp)
movw %ax, -0x3ca(%rbp)
movw %ax, -0x3cc(%rbp)
movw %ax, -0x3ce(%rbp)
movw %ax, -0x3d0(%rbp)
movzwl -0x3c2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x3c4(%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 -0x3c6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x3c8(%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 -0x3ca(%rbp), %eax
movd %eax, %xmm0
movzwl -0x3cc(%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 -0x3ce(%rbp), %eax
movd %eax, %xmm3
movzwl -0x3d0(%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, -0x3e0(%rbp)
movaps -0x3e0(%rbp), %xmm0
movaps %xmm0, -0x6b0(%rbp)
movaps -0x6b0(%rbp), %xmm1
movaps -0x640(%rbp), %xmm0
movaps %xmm1, -0x250(%rbp)
movaps %xmm0, -0x260(%rbp)
movaps -0x250(%rbp), %xmm0
movaps -0x260(%rbp), %xmm1
psubsw %xmm1, %xmm0
movaps %xmm0, -0x6c0(%rbp)
movw -0x53c(%rbp), %ax
movw %ax, -0x516(%rbp)
movw -0x516(%rbp), %ax
movw %ax, -0x7f2(%rbp)
movw %ax, -0x3a2(%rbp)
movw %ax, -0x3a4(%rbp)
movw %ax, -0x3a6(%rbp)
movw %ax, -0x3a8(%rbp)
movw %ax, -0x3aa(%rbp)
movw %ax, -0x3ac(%rbp)
movw %ax, -0x3ae(%rbp)
movw %ax, -0x3b0(%rbp)
movzwl -0x3a2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x3a4(%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 -0x3a6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x3a8(%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 -0x3aa(%rbp), %eax
movd %eax, %xmm0
movzwl -0x3ac(%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 -0x3ae(%rbp), %eax
movd %eax, %xmm3
movzwl -0x3b0(%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, -0x3c0(%rbp)
movaps -0x3c0(%rbp), %xmm0
movaps %xmm0, -0x6d0(%rbp)
movaps -0x6d0(%rbp), %xmm1
movaps -0x640(%rbp), %xmm0
movaps %xmm1, -0x270(%rbp)
movaps %xmm0, -0x280(%rbp)
movaps -0x270(%rbp), %xmm0
movaps -0x280(%rbp), %xmm1
psubsw %xmm1, %xmm0
movaps %xmm0, -0x6e0(%rbp)
movl -0x540(%rbp), %r11d
movl %r11d, %ecx
negl %ecx
movl %ecx, -0x7f0(%rbp)
movl -0x544(%rbp), %eax
movw %cx, %r10w
movl %ecx, %edx
subl %eax, %edx
movw %dx, %r9w
movl %eax, %r14d
addl %r14d, %r14d
movl %ecx, %edx
subl %r14d, %edx
movw %dx, %r8w
movl %eax, %edx
leal (%rdx,%rdx,2), %edi
movl %ecx, %esi
subl %edi, %esi
movw %si, %di
movl %eax, %ebx
shll $0x2, %ebx
movl %ecx, %esi
subl %ebx, %esi
leal (%rdx,%rdx,4), %ebx
movl %ecx, %edx
subl %ebx, %edx
movl %r14d, %ebx
leal (%rbx,%rbx,2), %ebx
subl %ebx, %ecx
movl %eax, %ebx
shll $0x3, %ebx
subl %ebx, %eax
subl %r11d, %eax
movw %r10w, -0x362(%rbp)
movw %r9w, -0x364(%rbp)
movw %r8w, -0x366(%rbp)
movw %di, -0x368(%rbp)
movw %si, -0x36a(%rbp)
movw %dx, -0x36c(%rbp)
movw %cx, -0x36e(%rbp)
movw %ax, -0x370(%rbp)
movzwl -0x362(%rbp), %eax
movd %eax, %xmm1
movzwl -0x364(%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 -0x366(%rbp), %eax
movd %eax, %xmm2
movzwl -0x368(%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 -0x36a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x36c(%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 -0x36e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x370(%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, -0x380(%rbp)
movdqa -0x380(%rbp), %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movl -0x554(%rbp), %edi
movl -0x53c(%rbp), %esi
callq 0x1c39b0
movq %rax, -0x5a0(%rbp)
cmpq $0x0, -0x5a0(%rbp)
jne 0x3a98f7
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
movq -0x5a0(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x8201001, %ecx        # imm = 0x8201001
movl %ecx, 0xc(%rax)
movq -0x5a0(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x20000, %ecx          # imm = 0x20000
movl %ecx, 0xc(%rax)
movl -0x53c(%rbp), %eax
addl -0x550(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x570(%rbp)
movl -0x53c(%rbp), %eax
addl -0x550(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x578(%rbp)
movl -0x53c(%rbp), %eax
addl -0x550(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x580(%rbp)
movq -0x570(%rbp), %rax
movslq -0x54c(%rbp), %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0x588(%rbp)
movq -0x578(%rbp), %rax
movslq -0x54c(%rbp), %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0x590(%rbp)
movq -0x580(%rbp), %rax
movslq -0x54c(%rbp), %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0x598(%rbp)
cmpq $0x0, -0x570(%rbp)
jne 0x3a99e8
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
cmpq $0x0, -0x578(%rbp)
jne 0x3a9a02
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
cmpq $0x0, -0x580(%rbp)
jne 0x3a9a1c
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3a9b00
movl -0x554(%rbp), %eax
addl -0x54c(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3630
movq %rax, -0x568(%rbp)
cmpq $0x0, -0x568(%rbp)
jne 0x3a9a64
movq $0x0, -0x520(%rbp)
jmp 0x3aac00
movl $0x0, -0x5a4(%rbp)
movl -0x5a4(%rbp), %eax
cmpl -0x554(%rbp), %eax
jge 0x3a9abf
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x528(%rbp), %rcx
movslq -0x5a4(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %eax
movw %ax, %dx
movq -0x568(%rbp), %rax
movslq -0x5a4(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x5a4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a4(%rbp)
jmp 0x3a9a6e
movl -0x554(%rbp), %eax
movl %eax, -0x5a4(%rbp)
movl -0x5a4(%rbp), %eax
cmpl -0x558(%rbp), %eax
jge 0x3a9afe
movq -0x568(%rbp), %rax
movslq -0x5a4(%rbp), %rcx
movw $0x0, (%rax,%rcx,2)
movl -0x5a4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a4(%rbp)
jmp 0x3a9acb
jmp 0x3a9b00
movl $0x0, -0x5a8(%rbp)
movl -0x5a8(%rbp), %eax
cmpl -0x53c(%rbp), %eax
jge 0x3a9b5b
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x538(%rbp), %rcx
movslq -0x5a8(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %eax
movw %ax, %dx
movq -0x588(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x5a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a8(%rbp)
jmp 0x3a9b0a
xorl %eax, %eax
subl -0x54c(%rbp), %eax
movl %eax, -0x5a8(%rbp)
cmpl $0x0, -0x5a8(%rbp)
jge 0x3a9b97
movq -0x588(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw $0x0, (%rax,%rcx,2)
movl -0x5a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a8(%rbp)
jmp 0x3a9b69
movl -0x53c(%rbp), %eax
movl %eax, -0x5a8(%rbp)
movl -0x5a8(%rbp), %eax
cmpl -0x55c(%rbp), %eax
jge 0x3a9bd6
movq -0x588(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw $0x0, (%rax,%rcx,2)
movl -0x5a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a8(%rbp)
jmp 0x3a9ba3
movl $0x0, -0x5a8(%rbp)
movl -0x5a8(%rbp), %eax
cmpl -0x53c(%rbp), %eax
jge 0x3a9c44
xorl %eax, %eax
subl -0x540(%rbp), %eax
movl -0x5a8(%rbp), %ecx
imull -0x544(%rbp), %ecx
subl %ecx, %eax
movw %ax, %dx
movq -0x590(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movw -0x5b2(%rbp), %dx
movq -0x598(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x5a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a8(%rbp)
jmp 0x3a9be0
xorl %eax, %eax
subl -0x54c(%rbp), %eax
movl %eax, -0x5a8(%rbp)
cmpl $0x0, -0x5a8(%rbp)
jge 0x3a9c9e
movw -0x5b2(%rbp), %dx
movq -0x590(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movw -0x5b2(%rbp), %dx
movq -0x598(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x5a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a8(%rbp)
jmp 0x3a9c52
movl -0x53c(%rbp), %eax
movl %eax, -0x5a8(%rbp)
movl -0x5a8(%rbp), %eax
movl -0x53c(%rbp), %ecx
addl -0x54c(%rbp), %ecx
cmpl %ecx, %eax
jge 0x3a9d03
movw -0x5b2(%rbp), %dx
movq -0x590(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movw -0x5b2(%rbp), %dx
movq -0x598(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x5a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a8(%rbp)
jmp 0x3a9caa
movq -0x590(%rbp), %rax
movw $0x0, -0x2(%rax)
movl $0x0, -0x5a4(%rbp)
movl -0x5a4(%rbp), %eax
cmpl -0x554(%rbp), %eax
jge 0x3aaa61
movdqa -0x610(%rbp), %xmm0
movdqa %xmm0, -0x700(%rbp)
movdqa -0x610(%rbp), %xmm0
movdqa %xmm0, -0x710(%rbp)
movdqa -0x610(%rbp), %xmm0
movdqa %xmm0, -0x720(%rbp)
movdqa -0x610(%rbp), %xmm0
movdqa %xmm0, -0x730(%rbp)
movdqa -0x690(%rbp), %xmm0
movdqa %xmm0, -0x740(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x818(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x80c(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3a9dc1
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x81c(%rbp)
jmp 0x3a9dfe
movl -0x5a4(%rbp), %eax
addl $0x0, %eax
cmpl -0x554(%rbp), %eax
jl 0x3a9de3
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x820(%rbp)
jmp 0x3a9df2
movl -0x5a4(%rbp), %eax
addl $0x0, %eax
movl %eax, -0x820(%rbp)
movl -0x820(%rbp), %eax
movl %eax, -0x81c(%rbp)
movq -0x818(%rbp), %rax
movl -0x80c(%rbp), %ecx
movl -0x81c(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x748(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x830(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x824(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3a9e6a
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x834(%rbp)
jmp 0x3a9ea7
movl -0x5a4(%rbp), %eax
addl $0x1, %eax
cmpl -0x554(%rbp), %eax
jl 0x3a9e8c
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x838(%rbp)
jmp 0x3a9e9b
movl -0x5a4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x838(%rbp)
movl -0x838(%rbp), %eax
movl %eax, -0x834(%rbp)
movq -0x830(%rbp), %rax
movl -0x824(%rbp), %ecx
movl -0x834(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x750(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x848(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x83c(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3a9f13
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x84c(%rbp)
jmp 0x3a9f50
movl -0x5a4(%rbp), %eax
addl $0x2, %eax
cmpl -0x554(%rbp), %eax
jl 0x3a9f35
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x850(%rbp)
jmp 0x3a9f44
movl -0x5a4(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x850(%rbp)
movl -0x850(%rbp), %eax
movl %eax, -0x84c(%rbp)
movq -0x848(%rbp), %rax
movl -0x83c(%rbp), %ecx
movl -0x84c(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x758(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x860(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x854(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3a9fbc
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x864(%rbp)
jmp 0x3a9ff9
movl -0x5a4(%rbp), %eax
addl $0x3, %eax
cmpl -0x554(%rbp), %eax
jl 0x3a9fde
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x868(%rbp)
jmp 0x3a9fed
movl -0x5a4(%rbp), %eax
addl $0x3, %eax
movl %eax, -0x868(%rbp)
movl -0x868(%rbp), %eax
movl %eax, -0x864(%rbp)
movq -0x860(%rbp), %rax
movl -0x854(%rbp), %ecx
movl -0x864(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x760(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x878(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x86c(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3aa065
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x4, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x87c(%rbp)
jmp 0x3aa0a2
movl -0x5a4(%rbp), %eax
addl $0x4, %eax
cmpl -0x554(%rbp), %eax
jl 0x3aa087
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x880(%rbp)
jmp 0x3aa096
movl -0x5a4(%rbp), %eax
addl $0x4, %eax
movl %eax, -0x880(%rbp)
movl -0x880(%rbp), %eax
movl %eax, -0x87c(%rbp)
movq -0x878(%rbp), %rax
movl -0x86c(%rbp), %ecx
movl -0x87c(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x768(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x890(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x884(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3aa10e
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x5, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x894(%rbp)
jmp 0x3aa14b
movl -0x5a4(%rbp), %eax
addl $0x5, %eax
cmpl -0x554(%rbp), %eax
jl 0x3aa130
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x898(%rbp)
jmp 0x3aa13f
movl -0x5a4(%rbp), %eax
addl $0x5, %eax
movl %eax, -0x898(%rbp)
movl -0x898(%rbp), %eax
movl %eax, -0x894(%rbp)
movq -0x890(%rbp), %rax
movl -0x884(%rbp), %ecx
movl -0x894(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x770(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x8a8(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x89c(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3aa1b7
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x6, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x8ac(%rbp)
jmp 0x3aa1f4
movl -0x5a4(%rbp), %eax
addl $0x6, %eax
cmpl -0x554(%rbp), %eax
jl 0x3aa1d9
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x8b0(%rbp)
jmp 0x3aa1e8
movl -0x5a4(%rbp), %eax
addl $0x6, %eax
movl %eax, -0x8b0(%rbp)
movl -0x8b0(%rbp), %eax
movl %eax, -0x8ac(%rbp)
movq -0x8a8(%rbp), %rax
movl -0x89c(%rbp), %ecx
movl -0x8ac(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x778(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x8c0(%rbp)
movq 0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x8b4(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3aa260
movq -0x568(%rbp), %rax
movl -0x5a4(%rbp), %ecx
addl $0x7, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x8c4(%rbp)
jmp 0x3aa29d
movl -0x5a4(%rbp), %eax
addl $0x7, %eax
cmpl -0x554(%rbp), %eax
jl 0x3aa282
movl -0x554(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x8c8(%rbp)
jmp 0x3aa291
movl -0x5a4(%rbp), %eax
addl $0x7, %eax
movl %eax, -0x8c8(%rbp)
movl -0x8c8(%rbp), %eax
movl %eax, -0x8c4(%rbp)
movq -0x8c0(%rbp), %rax
movl -0x8b4(%rbp), %ecx
movl -0x8c4(%rbp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -0x780(%rbp)
movaps -0x700(%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, -0x700(%rbp)
movaps -0x700(%rbp), %xmm0
movq -0x590(%rbp), %rax
movzwl -0x2(%rax), %eax
pinsrw $0x7, %eax, %xmm0
movaps %xmm0, -0x700(%rbp)
movaps -0x710(%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, -0x710(%rbp)
movaps -0x710(%rbp), %xmm0
movl -0x540(%rbp), %eax
movl -0x5a4(%rbp), %ecx
movl -0x544(%rbp), %edx
imull %edx, %ecx
addl %ecx, %eax
negl %eax
pinsrw $0x7, %eax, %xmm0
movdqa %xmm0, -0x710(%rbp)
xorl %eax, %eax
subl -0x540(%rbp), %eax
movl -0x5a4(%rbp), %ecx
addl -0x548(%rbp), %ecx
imull -0x544(%rbp), %ecx
subl %ecx, %eax
movw %ax, %cx
movq -0x590(%rbp), %rax
movw %cx, -0x2(%rax)
movl $0x0, -0x5a8(%rbp)
movl -0x5a8(%rbp), %eax
movl -0x53c(%rbp), %ecx
addl -0x54c(%rbp), %ecx
cmpl %ecx, %eax
jge 0x3aa9d2
movaps -0x700(%rbp), %xmm0
movaps %xmm0, -0x7a0(%rbp)
movaps -0x710(%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, -0x700(%rbp)
movq -0x590(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw (%rax,%rcx,2), %ax
movw %ax, -0x6f2(%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, -0x730(%rbp)
movq -0x598(%rbp), %rax
movslq -0x5a8(%rbp), %rcx
movw (%rax,%rcx,2), %ax
movw %ax, -0x722(%rbp)
movaps -0x700(%rbp), %xmm1
movaps -0x620(%rbp), %xmm0
movaps %xmm1, -0x290(%rbp)
movaps %xmm0, -0x2a0(%rbp)
movaps -0x290(%rbp), %xmm1
movaps -0x2a0(%rbp), %xmm0
psubsw %xmm0, %xmm1
movaps -0x730(%rbp), %xmm2
movaps -0x630(%rbp), %xmm0
movaps %xmm2, -0x2b0(%rbp)
movaps %xmm0, -0x2c0(%rbp)
movaps -0x2b0(%rbp), %xmm0
movaps -0x2c0(%rbp), %xmm2
psubsw %xmm2, %xmm0
movaps %xmm1, -0x1b0(%rbp)
movaps %xmm0, -0x1c0(%rbp)
movaps -0x1b0(%rbp), %xmm0
movaps -0x1c0(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x730(%rbp)
movaps -0x710(%rbp), %xmm1
movaps -0x620(%rbp), %xmm0
movaps %xmm1, -0x2d0(%rbp)
movaps %xmm0, -0x2e0(%rbp)
movaps -0x2d0(%rbp), %xmm1
movaps -0x2e0(%rbp), %xmm0
psubsw %xmm0, %xmm1
movaps -0x720(%rbp), %xmm2
movaps -0x630(%rbp), %xmm0
movaps %xmm2, -0x2f0(%rbp)
movaps %xmm0, -0x300(%rbp)
movaps -0x2f0(%rbp), %xmm0
movaps -0x300(%rbp), %xmm2
psubsw %xmm2, %xmm0
movaps %xmm1, -0x1d0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
movaps -0x1d0(%rbp), %xmm0
movaps -0x1e0(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x720(%rbp)
movq -0x748(%rbp), %rax
movq -0x588(%rbp), %r11
movq %r11, -0x8d0(%rbp)
movslq -0x5a8(%rbp), %rcx
movl %ecx, %ebx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %r10w
movq -0x750(%rbp), %rax
movl %ebx, %ecx
decl %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %r9w
movq -0x758(%rbp), %rax
movl %ebx, %ecx
addl $-0x2, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %r8w
movq -0x760(%rbp), %rax
movl %ebx, %ecx
addl $-0x3, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %di
movq -0x768(%rbp), %rax
movl %ebx, %ecx
addl $-0x4, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %si
movq -0x770(%rbp), %rax
movl %ebx, %ecx
addl $-0x5, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %dx
movq -0x778(%rbp), %rax
movl %ebx, %ecx
addl $-0x6, %ecx
movslq %ecx, %rcx
movswq (%r11,%rcx,2), %rcx
movw (%rax,%rcx,4), %cx
movq -0x780(%rbp), %rax
addl $-0x7, %ebx
movslq %ebx, %rbx
movswq (%r11,%rbx,2), %r11
movw (%rax,%r11,4), %ax
movw %r10w, -0x382(%rbp)
movw %r9w, -0x384(%rbp)
movw %r8w, -0x386(%rbp)
movw %di, -0x388(%rbp)
movw %si, -0x38a(%rbp)
movw %dx, -0x38c(%rbp)
movw %cx, -0x38e(%rbp)
movw %ax, -0x390(%rbp)
movzwl -0x382(%rbp), %eax
movd %eax, %xmm1
movzwl -0x384(%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 -0x386(%rbp), %eax
movd %eax, %xmm2
movzwl -0x388(%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 -0x38a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x38c(%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 -0x38e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x390(%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, -0x3a0(%rbp)
movaps -0x3a0(%rbp), %xmm0
movaps %xmm0, -0x790(%rbp)
movaps -0x7a0(%rbp), %xmm1
movaps -0x790(%rbp), %xmm0
movaps %xmm1, -0x150(%rbp)
movaps %xmm0, -0x160(%rbp)
movaps -0x150(%rbp), %xmm0
movaps -0x160(%rbp), %xmm1
paddsw %xmm1, %xmm0
movaps %xmm0, -0x7a0(%rbp)
movaps -0x7a0(%rbp), %xmm1
movaps -0x720(%rbp), %xmm0
movaps %xmm1, -0x1f0(%rbp)
movaps %xmm0, -0x200(%rbp)
movaps -0x1f0(%rbp), %xmm0
movaps -0x200(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x710(%rbp)
movaps -0x710(%rbp), %xmm1
movaps -0x730(%rbp), %xmm0
movaps %xmm1, -0x210(%rbp)
movaps %xmm0, -0x220(%rbp)
movaps -0x210(%rbp), %xmm0
movaps -0x220(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movaps %xmm0, -0x710(%rbp)
movaps -0x740(%rbp), %xmm1
movaps -0x670(%rbp), %xmm0
movaps %xmm1, -0xf0(%rbp)
movaps %xmm0, -0x100(%rbp)
movaps -0xf0(%rbp), %xmm0
movaps -0x100(%rbp), %xmm1
pcmpeqw %xmm1, %xmm0
movdqa %xmm0, -0x7b0(%rbp)
movdqa -0x710(%rbp), %xmm0
movdqa -0x6f0(%rbp), %xmm1
movdqa -0x7b0(%rbp), %xmm2
callq 0x3aac20
movdqa %xmm0, -0x710(%rbp)
movdqa -0x730(%rbp), %xmm0
movdqa -0x610(%rbp), %xmm1
movdqa -0x7b0(%rbp), %xmm2
callq 0x3aac20
movdqa %xmm0, -0x730(%rbp)
movdqa -0x720(%rbp), %xmm0
movdqa -0x610(%rbp), %xmm1
movdqa -0x7b0(%rbp), %xmm2
callq 0x3aac20
movdqa %xmm0, -0x720(%rbp)
movl -0x5a8(%rbp), %eax
cmpl -0x54c(%rbp), %eax
jle 0x3aa84b
movdqa -0x5f0(%rbp), %xmm1
movdqa -0x710(%rbp), %xmm0
movdqa %xmm1, -0xd0(%rbp)
movdqa %xmm0, -0xe0(%rbp)
movdqa -0xd0(%rbp), %xmm0
movdqa -0xe0(%rbp), %xmm1
pminsw %xmm1, %xmm0
movdqa %xmm0, -0x5f0(%rbp)
movdqa -0x600(%rbp), %xmm1
movdqa -0x710(%rbp), %xmm0
movdqa %xmm1, -0x230(%rbp)
movdqa %xmm0, -0x240(%rbp)
movdqa -0x230(%rbp), %xmm0
movdqa -0x240(%rbp), %xmm1
pmaxsw %xmm1, %xmm0
movdqa %xmm0, -0x600(%rbp)
movq -0x5a0(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movaps -0x710(%rbp), %xmm0
movl -0x5a4(%rbp), %esi
movl -0x554(%rbp), %edx
movl -0x5a8(%rbp), %ecx
movl -0x53c(%rbp), %r8d
callq 0x3aacb0
movw -0x710(%rbp), %dx
movq -0x590(%rbp), %rax
movl -0x5a8(%rbp), %ecx
addl $-0x7, %ecx
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
movw -0x730(%rbp), %dx
movq -0x598(%rbp), %rax
movl -0x5a8(%rbp), %ecx
addl $-0x7, %ecx
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
movaps -0x680(%rbp), %xmm1
movaps -0x6c0(%rbp), %xmm0
movaps %xmm1, -0x110(%rbp)
movaps %xmm0, -0x120(%rbp)
movaps -0x110(%rbp), %xmm0
movaps -0x120(%rbp), %xmm1
pcmpeqw %xmm1, %xmm0
movaps %xmm0, -0x7c0(%rbp)
movaps -0x740(%rbp), %xmm1
movaps -0x6e0(%rbp), %xmm0
movaps %xmm1, -0x130(%rbp)
movaps %xmm0, -0x140(%rbp)
movaps -0x130(%rbp), %xmm0
movaps -0x140(%rbp), %xmm1
pcmpeqw %xmm1, %xmm0
movdqa %xmm0, -0x7d0(%rbp)
movdqa -0x7c0(%rbp), %xmm1
movdqa -0x7d0(%rbp), %xmm0
movdqa %xmm1, -0xb0(%rbp)
movdqa %xmm0, -0xc0(%rbp)
movdqa -0xb0(%rbp), %xmm0
pand -0xc0(%rbp), %xmm0
movdqa %xmm0, -0x7e0(%rbp)
movdqa -0x6a0(%rbp), %xmm0
movdqa -0x710(%rbp), %xmm1
movdqa -0x7e0(%rbp), %xmm2
callq 0x3aac20
movdqa %xmm0, -0x6a0(%rbp)
movdqa -0x740(%rbp), %xmm1
movdqa -0x640(%rbp), %xmm0
movdqa %xmm1, -0x170(%rbp)
movdqa %xmm0, -0x180(%rbp)
movdqa -0x170(%rbp), %xmm0
movdqa -0x180(%rbp), %xmm1
paddsw %xmm1, %xmm0
movdqa %xmm0, -0x740(%rbp)
movl -0x5a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a8(%rbp)
jmp 0x3aa367
movdqa -0x680(%rbp), %xmm1
movdqa -0x650(%rbp), %xmm0
movdqa %xmm1, -0x190(%rbp)
movdqa %xmm0, -0x1a0(%rbp)
movdqa -0x190(%rbp), %xmm0
movdqa -0x1a0(%rbp), %xmm1
paddsw %xmm1, %xmm0
movdqa %xmm0, -0x680(%rbp)
movdqa -0x6f0(%rbp), %xmm1
movdqa -0x660(%rbp), %xmm0
movdqa %xmm1, -0x310(%rbp)
movdqa %xmm0, -0x320(%rbp)
movdqa -0x310(%rbp), %xmm0
movdqa -0x320(%rbp), %xmm1
psubsw %xmm1, %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movl -0x548(%rbp), %eax
addl -0x5a4(%rbp), %eax
movl %eax, -0x5a4(%rbp)
jmp 0x3a9d1a
movl $0x0, -0x5a4(%rbp)
movl -0x5a4(%rbp), %eax
cmpl -0x548(%rbp), %eax
jge 0x3aaad4
movaps -0x6a0(%rbp), %xmm0
pextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movw %ax, -0x7e2(%rbp)
movswl -0x7e2(%rbp), %eax
movswl -0x5b6(%rbp), %ecx
cmpl %ecx, %eax
jle 0x3aaaaf
movw -0x7e2(%rbp), %ax
movw %ax, -0x5b6(%rbp)
movaps -0x6a0(%rbp), %xmm0
pslldq $0x2, %xmm0             # xmm0 = zero,zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13]
movdqa %xmm0, -0x6a0(%rbp)
movl -0x5a4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5a4(%rbp)
jmp 0x3aaa6b
movaps -0x5f0(%rbp), %xmm1
movaps -0x5d0(%rbp), %xmm0
movaps %xmm1, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
movaps -0x70(%rbp), %xmm1
movaps -0x60(%rbp), %xmm0
movaps %xmm1, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movaps -0x40(%rbp), %xmm1
movaps -0x50(%rbp), %xmm0
pcmpgtw %xmm0, %xmm1
movaps -0x600(%rbp), %xmm2
movaps -0x5e0(%rbp), %xmm0
movaps %xmm2, -0x20(%rbp)
movaps %xmm0, -0x30(%rbp)
movaps -0x20(%rbp), %xmm0
movaps -0x30(%rbp), %xmm2
pcmpgtw %xmm2, %xmm0
movdqa %xmm1, -0x80(%rbp)
movdqa %xmm0, -0x90(%rbp)
movdqa -0x80(%rbp), %xmm0
por -0x90(%rbp), %xmm0
movdqa %xmm0, -0xa0(%rbp)
movdqa -0xa0(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x3aab88
movq -0x5a0(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movw $0x0, -0x5b6(%rbp)
movl $0x0, -0x5ac(%rbp)
movl $0x0, -0x5b0(%rbp)
movswl -0x5b6(%rbp), %ecx
movq -0x5a0(%rbp), %rax
movl %ecx, (%rax)
movl -0x5ac(%rbp), %ecx
movq -0x5a0(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x5b0(%rbp), %ecx
movq -0x5a0(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x580(%rbp), %rdi
callq 0x1c3590
movq -0x578(%rbp), %rdi
callq 0x1c3590
movq -0x570(%rbp), %rdi
callq 0x1c3590
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3aabf2
movq -0x568(%rbp), %rdi
callq 0x1c3590
movq -0x5a0(%rbp), %rax
movq %rax, -0x520(%rbp)
movq -0x520(%rbp), %rax
addq $0x8c0, %rsp            # imm = 0x8C0
popq %rbx
popq %r14
popq %rbp
retq
nopw %cs:(%rax,%rax)