// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_trace_diag_sse2_128_8.c
// Function: parasail_nw_trace_diag_sse2_128_8
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_PAD = 0;
    int32_t s2Len_PAD = 0;
    int8_t * restrict s1 = NULL;
    int8_t * restrict s2B = NULL;
    int8_t * restrict _H_pr = NULL;
    int8_t * restrict _F_pr = NULL;
    int8_t * restrict s2 = NULL;
    int8_t * restrict H_pr = NULL;
    int8_t * restrict F_pr = NULL;
    parasail_result_t *result = NULL;
    int32_t i = 0;
    int32_t j = 0;
    int32_t s1Len = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int8_t NEG_LIMIT = 0;
    int8_t POS_LIMIT = 0;
    int8_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;
    __m128i vTDiag;
    __m128i vTIns;
    __m128i vTDel;
    __m128i vTDiagE;
    __m128i vTInsE;
    __m128i vTDiagF;
    __m128i vTDelF;

    /* 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 = 16; /* 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 ? INT8_MIN + open : INT8_MIN - matrix->min) + 1;
    POS_LIMIT = INT8_MAX - matrix->max - 1;
    score = NEG_LIMIT;
    vNegLimit = _mm_set1_epi8(NEG_LIMIT);
    vPosLimit = _mm_set1_epi8(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInf = _mm_set1_epi8(NEG_LIMIT);
    vOpen = _mm_set1_epi8(open);
    vGap  = _mm_set1_epi8(gap);
    vOne = _mm_set1_epi8(1);
    vN = _mm_set1_epi8(N);
    vGapN = _mm_set1_epi8(gap*N);
    vNegOne = _mm_set1_epi8(-1);
    vI = _mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);
    vJreset = _mm_set_epi8(0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15);
    vMax = vNegInf;
    vILimit = _mm_set1_epi8(s1Len);
    vILimit1 = _mm_subs_epi8(vILimit, vOne);
    vJLimit = _mm_set1_epi8(s2Len);
    vJLimit1 = _mm_subs_epi8(vJLimit, vOne);
    vIBoundary = _mm_set_epi8(
            -open-0*gap,
            -open-1*gap,
            -open-2*gap,
            -open-3*gap,
            -open-4*gap,
            -open-5*gap,
            -open-6*gap,
            -open-7*gap,
            -open-8*gap,
            -open-9*gap,
            -open-10*gap,
            -open-11*gap,
            -open-12*gap,
            -open-13*gap,
            -open-14*gap,
            -open-15*gap);
    vTDiag = _mm_set1_epi8(PARASAIL_DIAG);
    vTIns = _mm_set1_epi8(PARASAIL_INS);
    vTDel = _mm_set1_epi8(PARASAIL_DEL);
    vTDiagE = _mm_set1_epi8(PARASAIL_DIAG_E);
    vTInsE = _mm_set1_epi8(PARASAIL_INS_E);
    vTDiagF = _mm_set1_epi8(PARASAIL_DIAG_F);
    vTDelF = _mm_set1_epi8(PARASAIL_DEL_F);

    /* initialize result */
    result = parasail_result_new_trace(s1Len, s2Len, 16, sizeof(int8_t));
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_NW | PARASAIL_FLAG_DIAG
        | PARASAIL_FLAG_TRACE
        | PARASAIL_FLAG_BITS_8 | PARASAIL_FLAG_LANES_16;

    /* initialize heap variables */
    s2B= parasail_memalign_int8_t(16, s2Len+PAD2);
    _H_pr = parasail_memalign_int8_t(16, s2Len+PAD2);
    _F_pr = parasail_memalign_int8_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_int8_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 vE_opn = vNegInf;
        __m128i vE_ext = vNegInf;
        __m128i vF = vNegInf;
        __m128i vF_opn = vNegInf;
        __m128i vF_ext = 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))];
        const int * const restrict matrow8 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+8] : ((i+8 >= s1Len) ? s1Len-1 : i+8))];
        const int * const restrict matrow9 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+9] : ((i+9 >= s1Len) ? s1Len-1 : i+9))];
        const int * const restrict matrow10 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+10] : ((i+10 >= s1Len) ? s1Len-1 : i+10))];
        const int * const restrict matrow11 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+11] : ((i+11 >= s1Len) ? s1Len-1 : i+11))];
        const int * const restrict matrow12 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+12] : ((i+12 >= s1Len) ? s1Len-1 : i+12))];
        const int * const restrict matrow13 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+13] : ((i+13 >= s1Len) ? s1Len-1 : i+13))];
        const int * const restrict matrow14 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+14] : ((i+14 >= s1Len) ? s1Len-1 : i+14))];
        const int * const restrict matrow15 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+15] : ((i+15 >= s1Len) ? s1Len-1 : i+15))];
        vNH = _mm_srli_si128(vNH, 1);
        vNH = _mm_insert_epi8_rpl(vNH, H_pr[-1], 15);
        vWH = _mm_srli_si128(vWH, 1);
        vWH = _mm_insert_epi8_rpl(vWH, -open - i*gap, 15);
        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, 1);
            vNH = _mm_insert_epi8_rpl(vNH, H_pr[j], 15);
            vF = _mm_srli_si128(vF, 1);
            vF = _mm_insert_epi8_rpl(vF, F_pr[j], 15);
            vF_opn = _mm_subs_epi8(vNH, vOpen);
            vF_ext = _mm_subs_epi8(vF, vGap);
            vF = _mm_max_epi8_rpl(vF_opn, vF_ext);
            vE_opn = _mm_subs_epi8(vWH, vOpen);
            vE_ext = _mm_subs_epi8(vE, vGap);
            vE = _mm_max_epi8_rpl(vE_opn, vE_ext);
            vMat = _mm_set_epi8(
                    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]],
                    matrow8[s2[j-8]],
                    matrow9[s2[j-9]],
                    matrow10[s2[j-10]],
                    matrow11[s2[j-11]],
                    matrow12[s2[j-12]],
                    matrow13[s2[j-13]],
                    matrow14[s2[j-14]],
                    matrow15[s2[j-15]]
                    );
            vNWH = _mm_adds_epi8(vNWH, vMat);
            vWH = _mm_max_epi8_rpl(vNWH, vE);
            vWH = _mm_max_epi8_rpl(vWH, vF);
            /* as minor diagonal vector passes across the j=-1 boundary,
             * assign the appropriate boundary conditions */
            {
                __m128i cond = _mm_cmpeq_epi8(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_epi8_rpl(vSaturationCheckMin, vWH);
                vSaturationCheckMax = _mm_max_epi8_rpl(vSaturationCheckMax, vWH);
            }
            /* trace table */
            {
                __m128i case1 = _mm_cmpeq_epi8(vWH, vNWH);
                __m128i case2 = _mm_cmpeq_epi8(vWH, vF);
                __m128i vT = _mm_blendv_epi8_rpl(
                        _mm_blendv_epi8_rpl(vTIns, vTDel, case2),
                        vTDiag,
                        case1);
                __m128i condE = _mm_cmpgt_epi8(vE_opn, vE_ext);
                __m128i condF = _mm_cmpgt_epi8(vF_opn, vF_ext);
                __m128i vET = _mm_blendv_epi8_rpl(vTInsE, vTDiagE, condE);
                __m128i vFT = _mm_blendv_epi8_rpl(vTDelF, vTDiagF, condF);
                vT = _mm_or_si128(vT, vET);
                vT = _mm_or_si128(vT, vFT);
                arr_store_si128(result->trace->trace_table, vT, i, s1Len, j, s2Len);
            }
            H_pr[j-15] = (int8_t)_mm_extract_epi8_rpl(vWH,0);
            F_pr[j-15] = (int8_t)_mm_extract_epi8_rpl(vF,0);
            /* as minor diagonal vector passes across table, extract
               last table value at the i,j bound */
            {
                __m128i cond_valid_I = _mm_cmpeq_epi8(vI, vILimit1);
                __m128i cond_valid_J = _mm_cmpeq_epi8(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_epi8(vJ, vOne);
        }
        vI = _mm_adds_epi8(vI, vN);
        vIBoundary = _mm_subs_epi8(vIBoundary, vGapN);
    }

    /* max in vMax */
    for (i=0; i<N; ++i) {
        int8_t value;
        value = (int8_t) _mm_extract_epi8_rpl(vMax, 15);
        if (value > score) {
            score = value;
        }
        vMax = _mm_slli_si128(vMax, 1);
    }

    if (_mm_movemask_epi8(_mm_or_si128(
            _mm_cmplt_epi8(vSaturationCheckMin, vNegLimit),
            _mm_cmpgt_epi8(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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2f8, %rsp            # imm = 0x2F8
movq %r9, 0x58(%rsp)
testq %rdx, %rdx
je 0x35278a
movl %ecx, %r13d
testl %ecx, %ecx
jle 0x3527ae
movl %r8d, %r14d
testl %r8d, %r8d
js 0x3527d2
cmpl $0x0, 0x58(%rsp)
js 0x352815
movq %rdx, %r15
movq 0x330(%rsp), %rdx
testq %rdx, %rdx
je 0x352836
cmpl $0x0, 0x30(%rdx)
je 0x35127c
movl 0x34(%rdx), %esi
jmp 0x35128d
testq %rdi, %rdi
je 0x352857
testl %esi, %esi
jle 0x352878
movq %rdi, 0xd0(%rsp)
movl %r14d, %edi
negl %edi
movl 0x20(%rdx), %eax
movl %eax, %ecx
negb %cl
movl %edi, 0x54(%rsp)
cmpl %edi, %eax
movzbl %cl, %ebp
cmovgl %r14d, %ebp
movb $0x7e, %bl
subb 0x1c(%rdx), %bl
pushq $0x10
popq %rdx
pushq $0x1
popq %rcx
movq %rsi, 0x8(%rsp)
movl %esi, %edi
movl %r13d, %esi
callq 0x1abb59
testq %rax, %rax
je 0x351336
movq %rax, %r12
movq %r15, 0xc0(%rsp)
movl %ebp, 0x14(%rsp)
orl $0x10181001, 0xc(%rax)  # imm = 0x10181001
movq %r13, 0xb0(%rsp)
addl $0x1e, %r13d
pushq $0x10
popq %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x1ab776
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
callq 0x1ab776
movq %rax, %rbp
pushq $0x10
popq %rdi
movq %r13, %rsi
callq 0x1ab776
testq %r15, %r15
sete %dl
testq %rbp, %rbp
sete %cl
orb %dl, %cl
movq %rax, 0x30(%rsp)
testq %rax, %rax
sete %al
orb %cl, %al
je 0x35133d
xorl %ebx, %ebx
jmp 0x3528a0
movq %rbp, %r10
movq %r12, 0x170(%rsp)
movq 0x330(%rsp), %r8
cmpl $0x0, 0x30(%r8)
movq 0x8(%rsp), %r13
movslq %r13d, %rbp
movq %r10, 0xa8(%rsp)
je 0x352707
movq $0x0, 0x38(%rsp)
movl 0x14(%rsp), %edi
movq 0xc0(%rsp), %r12
movq 0xb0(%rsp), %r13
addb $-0x7f, %dil
movzbl %dil, %eax
movd %eax, %xmm0
movzbl %bl, %eax
movd %eax, %xmm1
movq 0x58(%rsp), %r9
movl 0x54(%rsp), %r11d
movl %r11d, %eax
subl %r9d, %eax
subl %r9d, %eax
leal (,%r9,4), %edx
movl %r11d, %ecx
subl %edx, %ecx
leal (,%r9,8), %esi
movl %r11d, %edx
subl %esi, %edx
imull $0xf5, %r9d, %esi
subl %r14d, %esi
movd %esi, %xmm6
imull $0xf6, %r9d, %esi
subl %r14d, %esi
movd %esi, %xmm5
imull $0xf7, %r9d, %esi
subl %r14d, %esi
movd %esi, %xmm4
movd %r9d, %xmm2
movq 0x8(%rsp), %rsi
movd %esi, %xmm3
punpcklbw %xmm3, %xmm3    # xmm3 = xmm3[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm3, %xmm3      # xmm3 = xmm3[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm3, %xmm7      # xmm7 = xmm3[0,0,0,0]
pcmpeqd %xmm3, %xmm3
paddsb %xmm3, %xmm7
movdqa %xmm7, 0x270(%rsp)
movd %r13d, %xmm7
punpcklbw %xmm7, %xmm7    # xmm7 = xmm7[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm7, %xmm7      # xmm7 = xmm7[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm7, %xmm7      # xmm7 = xmm7[0,0,0,0]
paddsb %xmm3, %xmm7
movdqa %xmm7, 0x2b0(%rsp)
pshufd $0x0, %xmm2, %xmm7      # xmm7 = xmm2[0,0,0,0]
movdqa 0x276844(%rip), %xmm3   # 0x5c7c90
pshufd $0xf5, %xmm3, %xmm8     # xmm8 = xmm3[1,1,3,3]
pmuludq %xmm7, %xmm8
pmuludq %xmm3, %xmm7
movd %r14d, %xmm3
pshufd $0xe8, %xmm8, %xmm8     # xmm8 = xmm8[0,2,2,3]
pshufd $0xe8, %xmm7, %xmm7     # xmm7 = xmm7[0,2,2,3]
punpckldq %xmm8, %xmm7    # xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
pshufd $0x0, %xmm3, %xmm8      # xmm8 = xmm3[0,0,0,0]
psubd %xmm8, %xmm7
pand 0x27681d(%rip), %xmm7   # 0x5c7ca0
packuswb %xmm7, %xmm7
packuswb %xmm7, %xmm7
movdqa 0x27681c(%rip), %xmm8   # 0x5c7cb0
pand %xmm8, %xmm7
pshufd $0x50, %xmm6, %xmm6     # xmm6 = xmm6[0,0,1,1]
pandn %xmm6, %xmm8
movd %edx, %xmm6
imull $0xf9, %r9d, %edx
subl %r14d, %edx
por %xmm7, %xmm8
movdqa 0x276801(%rip), %xmm9   # 0x5c7cc0
pand %xmm9, %xmm8
psllq $0x28, %xmm5
pandn %xmm5, %xmm9
movd %edx, %xmm7
imull $0xfa, %r9d, %edx
subl %r14d, %edx
por %xmm8, %xmm9
movdqa 0x2767e6(%rip), %xmm10  # 0x5c7cd0
pand %xmm10, %xmm9
psllq $0x30, %xmm4
pandn %xmm4, %xmm10
movd %edx, %xmm4
imull $0xfb, %r9d, %edx
subl %r14d, %edx
por %xmm9, %xmm10
movdqa 0x2767cb(%rip), %xmm8   # 0x5c7ce0
pand %xmm8, %xmm10
psllq $0x38, %xmm6
pandn %xmm6, %xmm8
movd %edx, %xmm5
leal 0xf(%r13), %ebx
leal -0x1(%rsi), %edx
movl %edx, 0x24(%rsp)
por %xmm10, %xmm8
movdqa 0x2767b0(%rip), %xmm6   # 0x5c7cf0
pand %xmm6, %xmm8
pshufd $0x44, %xmm7, %xmm7     # xmm7 = xmm7[0,1,0,1]
pandn %xmm7, %xmm6
movd %ecx, %xmm7
imull $0xfd, %r9d, %ecx
subl %r14d, %ecx
por %xmm8, %xmm6
movdqa 0x276796(%rip), %xmm9   # 0x5c7d00
pand %xmm9, %xmm6
pslldq $0x9, %xmm4             # xmm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm4[0,1,2,3,4,5,6]
pandn %xmm4, %xmm9
movd %ecx, %xmm8
leal -0x1(%r13), %ecx
movl %ecx, 0x144(%rsp)
punpcklbw %xmm0, %xmm0    # xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movdqa %xmm0, 0x180(%rsp)
punpcklbw %xmm1, %xmm1    # xmm1 = xmm1[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm1, %xmm0      # xmm0 = xmm1[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movdqa %xmm0, 0x240(%rsp)
punpcklbw %xmm3, %xmm3    # xmm3 = xmm3[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm3, %xmm0      # xmm0 = xmm3[0,0,0,0,4,5,6,7]
punpcklbw %xmm2, %xmm2    # xmm2 = xmm2[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm2, %xmm1      # xmm1 = xmm2[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm1, %xmm2      # xmm2 = xmm1[0,0,0,0]
por %xmm6, %xmm9
movdqa 0x276735(%rip), %xmm1   # 0x5c7d10
pand %xmm1, %xmm9
pslldq $0xa, %xmm5             # xmm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm5[0,1,2,3,4,5]
pandn %xmm5, %xmm1
movdqa %xmm2, 0x2a0(%rsp)
psllw $0x4, %xmm2
pand 0x276681(%rip), %xmm2   # 0x5c7c80
movdqa %xmm2, 0x260(%rsp)
pshufd $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movdqa %xmm0, 0x290(%rsp)
por %xmm9, %xmm1
movdqa 0x2766fd(%rip), %xmm0   # 0x5c7d20
pand %xmm0, %xmm1
pslldq $0xb, %xmm7             # xmm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm7[0,1,2,3,4]
pandn %xmm7, %xmm0
movd %eax, %xmm2
movl %r11d, %eax
subl %r9d, %eax
por %xmm1, %xmm0
movdqa 0x2766ea(%rip), %xmm1   # 0x5c7d30
pand %xmm1, %xmm0
pshufd $0x0, %xmm8, %xmm3      # xmm3 = xmm8[0,0,0,0]
pandn %xmm3, %xmm1
por %xmm0, %xmm1
movdqa 0x2766e0(%rip), %xmm0   # 0x5c7d40
pand %xmm0, %xmm1
pslldq $0xd, %xmm2             # xmm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm2[0,1,2]
pandn %xmm2, %xmm0
por %xmm1, %xmm0
pand 0x2766d7(%rip), %xmm0   # 0x5c7d50
movd %eax, %xmm1
pslldq $0xe, %xmm1             # xmm1 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm1[0,1]
por %xmm0, %xmm1
pand 0x2766d2(%rip), %xmm1   # 0x5c7d60
movd %r11d, %xmm0
pslldq $0xf, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0]
por %xmm1, %xmm0
movdqa %xmm0, 0x1b0(%rsp)
movl %r13d, %eax
movq %rax, 0x8(%rsp)
xorl %eax, %eax
cmpq %rax, 0x8(%rsp)
je 0x3516cc
movq 0x10(%r8), %rcx
movzbl (%r12,%rax), %edx
movb (%rcx,%rdx,4), %cl
movb %cl, 0xf(%r15,%rax)
incq %rax
jmp 0x3516af
xorl %eax, %eax
cmpq $0xf, %rax
je 0x3516de
movb $0x0, (%r15,%rax)
incq %rax
jmp 0x3516ce
movq 0x8(%rsp), %rax
cmpl %eax, %ebx
jle 0x3516f2
movb $0x0, 0xf(%r15,%rax)
incq %rax
jmp 0x3516e3
negb %r14b
xorl %eax, %eax
movq 0x30(%rsp), %rcx
cmpq %rax, 0x8(%rsp)
je 0x351717
movb %r14b, 0xf(%r10,%rax)
movb %dil, 0xf(%rcx,%rax)
incq %rax
subb 0x58(%rsp), %r14b
jmp 0x3516fc
xorl %eax, %eax
movq 0x30(%rsp), %rcx
cmpq $0xf, %rax
je 0x351731
movb %dil, (%r10,%rax)
movb %dil, (%rcx,%rax)
incq %rax
jmp 0x35171e
movq 0x8(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpl %eax, %ebx
jle 0x35174e
movb %dil, 0xf(%r10,%rax)
movb %dil, 0xf(%rcx,%rax)
incq %rax
jmp 0x35173b
movb $0x0, 0xe(%r10)
movdqa 0x180(%rsp), %xmm0
movdqa %xmm0, %xmm1
psrldq $0x1, %xmm1             # xmm1 = xmm1[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero
xorl %ecx, %ecx
testl %ebx, %ebx
movl $0x0, %eax
movq %rax, 0x160(%rsp)
cmovlel %ecx, %ebx
movq %rbx, 0x238(%rsp)
movq 0x8(%rsp), %rax
shlq $0x4, %rax
movq %rax, 0x1c0(%rsp)
movdqa 0x276336(%rip), %xmm2   # 0x5c7ad0
pand 0x2765be(%rip), %xmm1   # 0x5c7d60
movdqa %xmm1, 0x250(%rsp)
xorl %r11d, %r11d
movdqa %xmm0, %xmm3
movdqa %xmm0, 0x1a0(%rsp)
movdqa 0x240(%rsp), %xmm0
movdqa %xmm0, 0x190(%rsp)
movl %edi, 0x14(%rsp)
cmpq %rbp, %r11
jge 0x35263e
cmpl $0x0, 0x30(%r8)
je 0x351978
movq %r11, %rsi
orq $0x1, %rsi
cmpq %rbp, %rsi
movl 0x24(%rsp), %r9d
movl %r9d, %eax
cmovll %esi, %eax
movl %eax, 0xa0(%rsp)
movq %r11, %rax
orq $0x2, %rax
cmpq %rbp, %rax
movq %rax, 0xd0(%rsp)
cmovgel %r9d, %eax
movl %eax, 0x98(%rsp)
movq %r11, %rax
orq $0x3, %rax
cmpq %rbp, %rax
movq %rax, 0xc0(%rsp)
movl %eax, %ebx
cmovgel %r9d, %ebx
movq %r11, %rax
orq $0x4, %rax
cmpq %rbp, %rax
movq %rax, 0xb0(%rsp)
cmovgel %r9d, %eax
movl %eax, 0x90(%rsp)
movq %r11, %rax
orq $0x5, %rax
cmpq %rbp, %rax
movq %rax, 0x100(%rsp)
movl %eax, %r14d
cmovgel %r9d, %r14d
movq %r11, %rax
orq $0x6, %rax
cmpq %rbp, %rax
movq %rax, 0xf8(%rsp)
cmovgel %r9d, %eax
movl %eax, 0x88(%rsp)
movq %r11, %rax
orq $0x7, %rax
cmpq %rbp, %rax
movq %rax, 0xf0(%rsp)
movl %eax, %r12d
cmovgel %r9d, %r12d
movq %r11, %rax
orq $0x8, %rax
cmpq %rbp, %rax
movq %rax, 0xe8(%rsp)
cmovgel %r9d, %eax
movl %eax, 0x80(%rsp)
movq %r11, %rax
orq $0x9, %rax
cmpq %rbp, %rax
movq %rax, 0x18(%rsp)
movl %eax, %edi
cmovgel %r9d, %edi
movq %r11, %rax
orq $0xa, %rax
cmpq %rbp, %rax
movq %rax, 0x48(%rsp)
cmovgel %r9d, %eax
movl %eax, 0x78(%rsp)
movq %r11, %rax
orq $0xb, %rax
cmpq %rbp, %rax
movq %rax, 0xe0(%rsp)
movl %eax, %r13d
cmovgel %r9d, %r13d
movq %r11, %rax
orq $0xc, %rax
cmpq %rbp, %rax
movq %rax, 0x138(%rsp)
cmovgel %r9d, %eax
movl %eax, 0x70(%rsp)
movq %r11, %rcx
orq $0xd, %rcx
cmpq %rbp, %rcx
movq %rcx, 0x40(%rsp)
movl %ecx, %eax
cmovgel %r9d, %eax
movl %eax, 0x28(%rsp)
movq %r11, %rdx
orq $0xe, %rdx
cmpq %rbp, %rdx
movq %rdx, 0x130(%rsp)
movl %edx, %eax
cmovgel %r9d, %eax
movl %eax, 0x68(%rsp)
movq %r11, %r10
orq $0xf, %r10
cmpq %rbp, %r10
movq %r10, 0x128(%rsp)
movl %r10d, %eax
cmovgel %r9d, %eax
movl %eax, 0x60(%rsp)
movl %r11d, %edx
jmp 0x351ae3
movq %r11, %rsi
orq $0x1, %rsi
movq %r11, %rax
orq $0x2, %rax
movq %rax, 0xd0(%rsp)
movq %r11, %rax
orq $0x3, %rax
movq %rax, 0xc0(%rsp)
movq %r11, %rax
orq $0x4, %rax
movq %rax, 0xb0(%rsp)
movq %r11, %rax
orq $0x5, %rax
movq %rax, 0x100(%rsp)
movq %r11, %rax
orq $0x6, %rax
movq %rax, 0xf8(%rsp)
movq %r11, %rax
orq $0x7, %rax
movq %rax, 0xf0(%rsp)
movq %r11, %rax
orq $0x8, %rax
movq %rax, 0xe8(%rsp)
movq %r11, %rax
orq $0x9, %rax
movq %rax, 0x18(%rsp)
movq %r11, %rax
orq $0xa, %rax
movq %rax, 0x48(%rsp)
movq %r11, %rax
orq $0xb, %rax
movq %rax, 0xe0(%rsp)
movq %r11, %rax
orq $0xc, %rax
movq %rax, 0x138(%rsp)
movq %r11, %rax
orq $0xd, %rax
movq %rax, 0x40(%rsp)
movq %r11, %rax
orq $0xe, %rax
movq %rax, 0x130(%rsp)
movq %r11, %rax
orq $0xf, %rax
movq %rax, 0x128(%rsp)
movq 0x38(%rsp), %r9
movsbl (%r9,%r11), %edx
movsbl 0x1(%r9,%r11), %eax
movl %eax, 0xa0(%rsp)
movsbl 0x2(%r9,%r11), %eax
movl %eax, 0x98(%rsp)
movsbl 0x3(%r9,%r11), %ebx
movsbl 0x4(%r9,%r11), %eax
movl %eax, 0x90(%rsp)
movsbl 0x5(%r9,%r11), %r14d
movsbl 0x6(%r9,%r11), %eax
movl %eax, 0x88(%rsp)
movsbl 0x7(%r9,%r11), %r12d
movsbl 0x8(%r9,%r11), %eax
movl %eax, 0x80(%rsp)
movsbl 0x9(%r9,%r11), %edi
movsbl 0xa(%r9,%r11), %eax
movl %eax, 0x78(%rsp)
movsbl 0xb(%r9,%r11), %r13d
movsbl 0xc(%r9,%r11), %eax
movl %eax, 0x70(%rsp)
movsbl 0xd(%r9,%r11), %eax
movl %eax, 0x28(%rsp)
movsbl 0xe(%r9,%r11), %eax
movl %eax, 0x68(%rsp)
movsbl 0xf(%r9,%r11), %eax
movl %eax, 0x60(%rsp)
movq %rsi, 0x178(%rsp)
movl 0x18(%r8), %r8d
movl 0x28(%rsp), %ecx
imull %r8d, %ecx
imull %r8d, %r13d
imull %r8d, %edi
movl %edi, 0x110(%rsp)
imull %r8d, %r12d
movl %r12d, 0x118(%rsp)
imull %r8d, %r14d
movl %r14d, 0x28(%rsp)
imull %r8d, %ebx
movl %ebx, 0x120(%rsp)
movl 0xa0(%rsp), %r9d
imull %r8d, %r9d
imull %r8d, %edx
movl %edx, 0x108(%rsp)
movl 0x98(%rsp), %r14d
imull %r8d, %r14d
movl 0x90(%rsp), %ebx
imull %r8d, %ebx
movl 0x88(%rsp), %r12d
imull %r8d, %r12d
movl 0x80(%rsp), %r10d
imull %r8d, %r10d
movl %r13d, %edi
movl 0x78(%rsp), %r13d
imull %r8d, %r13d
movl 0x70(%rsp), %eax
imull %r8d, %eax
movl 0x68(%rsp), %edx
imull %r8d, %edx
movl 0x60(%rsp), %esi
imull %r8d, %esi
movslq %ecx, %r8
movq 0x330(%rsp), %rcx
movq 0x8(%rcx), %rcx
leaq (%rcx,%r8,4), %r8
movq %r8, 0xa0(%rsp)
movslq %edi, %r8
leaq (%rcx,%r8,4), %r8
movq %r8, 0x98(%rsp)
movslq 0x110(%rsp), %r8
leaq (%rcx,%r8,4), %r8
movq %r8, 0x90(%rsp)
movslq 0x118(%rsp), %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x88(%rsp)
movslq 0x28(%rsp), %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x80(%rsp)
movslq 0x120(%rsp), %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x78(%rsp)
movslq %r9d, %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x70(%rsp)
movslq 0x108(%rsp), %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x68(%rsp)
movslq %r14d, %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x60(%rsp)
movslq %ebx, %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x28(%rsp)
movslq %r12d, %r8
leaq (%rcx,%r8,4), %rdi
movq %rdi, 0x120(%rsp)
movslq %r10d, %rdi
leaq (%rcx,%rdi,4), %rdi
movq %rdi, 0x118(%rsp)
movslq %r13d, %rdi
leaq (%rcx,%rdi,4), %rdi
movq %rdi, 0x110(%rsp)
cltq
leaq (%rcx,%rax,4), %rax
movq %rax, 0x108(%rsp)
movslq %edx, %rdx
leaq (%rcx,%rdx,4), %rax
movq %rax, 0x230(%rsp)
movslq %esi, %rdx
leaq (%rcx,%rdx,4), %rax
movq %rax, 0x228(%rsp)
movq 0xa8(%rsp), %r10
movzbl 0xe(%r10), %ecx
movd %ecx, %xmm14
movl %r11d, %ecx
movq 0x58(%rsp), %rax
imull %eax, %ecx
movl 0x54(%rsp), %r14d
movl %r14d, %edx
subl %ecx, %edx
movd %edx, %xmm13
addq $0x10, %r11
movq %r11, 0x1c8(%rsp)
movl %r11d, %ecx
imull %eax, %ecx
movl %r14d, %edx
subl %ecx, %edx
movb %dl, 0xe(%r10)
pslldq $0xf, %xmm14            # xmm14 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm14[0]
movdqa 0x250(%rsp), %xmm0
por %xmm0, %xmm14
pslldq $0xf, %xmm13            # xmm13 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm13[0]
por %xmm0, %xmm13
movq 0x178(%rsp), %rcx
movq 0x8(%rsp), %rax
imulq %rax, %rcx
movq %rcx, 0x168(%rsp)
movq 0xd0(%rsp), %rdx
imulq %rax, %rdx
movq 0xc0(%rsp), %rdi
imulq %rax, %rdi
movq 0xb0(%rsp), %r8
imulq %rax, %r8
movq 0x100(%rsp), %r9
imulq %rax, %r9
movq 0xf8(%rsp), %r11
imulq %rax, %r11
movq 0xf0(%rsp), %rbx
imulq %rax, %rbx
movq 0xe8(%rsp), %r14
imulq %rax, %r14
movq 0x18(%rsp), %r12
imulq %rax, %r12
movq 0x48(%rsp), %r13
imulq %rax, %r13
movq 0xe0(%rsp), %rsi
imulq %rax, %rsi
movq 0x138(%rsp), %rcx
imulq %rax, %rcx
movq %rcx, 0x158(%rsp)
movq 0x40(%rsp), %rcx
imulq %rax, %rcx
movq %rcx, 0x150(%rsp)
movq 0x130(%rsp), %rcx
imulq %rax, %rcx
movq %rcx, 0x148(%rsp)
movq 0x128(%rsp), %rcx
imulq %rax, %rcx
addq $-0xf, %rcx
movq %rcx, 0x220(%rsp)
addq $-0x2, %rdx
movq %rdx, 0x218(%rsp)
addq $-0x3, %rdi
movq %rdi, 0x210(%rsp)
addq $-0x4, %r8
movq %r8, 0x208(%rsp)
addq $-0x5, %r9
movq %r9, 0x200(%rsp)
addq $-0x6, %r11
movq %r11, 0x1f8(%rsp)
addq $-0x7, %rbx
movq %rbx, 0x1f0(%rsp)
addq $-0x8, %r14
movq %r14, 0x1e8(%rsp)
addq $-0x9, %r12
movq %r12, 0x1e0(%rsp)
addq $-0xa, %r13
movq %r13, 0x1d8(%rsp)
addq $-0xb, %rsi
movq %rsi, 0x1d0(%rsp)
addq $-0xc, 0x158(%rsp)
addq $-0xd, 0x150(%rsp)
addq $-0xe, 0x148(%rsp)
decq 0x168(%rsp)
movdqa %xmm2, 0x280(%rsp)
pcmpeqb 0x270(%rsp), %xmm2
movdqa %xmm2, 0x2c0(%rsp)
movdqa 0x180(%rsp), %xmm1
movdqa %xmm1, %xmm2
movdqa 0x275ed0(%rip), %xmm10  # 0x5c7d70
xorl %edx, %edx
movq 0xd0(%rsp), %r9
movq 0xc0(%rsp), %r12
movq 0xb0(%rsp), %r8
movq 0x100(%rsp), %r13
movq 0xf8(%rsp), %rdi
movq 0xf0(%rsp), %rbx
movq 0xe8(%rsp), %r11
movq 0x18(%rsp), %rax
movq 0x48(%rsp), %rcx
movq 0xe0(%rsp), %rsi
movq 0x40(%rsp), %r14
movq %rax, 0x18(%rsp)
movq %rcx, 0x48(%rsp)
movq %r14, 0x40(%rsp)
cmpq %rdx, 0x238(%rsp)
je 0x3525e9
movdqa %xmm3, 0xd0(%rsp)
movdqa %xmm13, %xmm0
psrldq $0x1, %xmm0             # xmm0 = xmm0[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero
movzbl 0xf(%r10,%rdx), %ecx
movd %ecx, %xmm15
pslldq $0xf, %xmm15            # xmm15 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm15[0]
por %xmm0, %xmm15
psrldq $0x1, %xmm1             # xmm1 = xmm1[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero
movq 0x30(%rsp), %rax
movzbl 0xf(%rax,%rdx), %ecx
movd %ecx, %xmm0
pslldq $0xf, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0]
por %xmm1, %xmm0
movdqa %xmm15, 0xc0(%rsp)
movdqa 0x290(%rsp), %xmm4
psubsb %xmm4, %xmm15
movdqa 0x2a0(%rsp), %xmm3
psubsb %xmm3, %xmm0
movdqa %xmm15, %xmm5
pcmpgtb %xmm0, %xmm5
movdqa %xmm5, %xmm1
pandn %xmm0, %xmm1
pand %xmm5, %xmm15
por %xmm1, %xmm15
psubsb %xmm4, %xmm13
psubsb %xmm3, %xmm2
movdqa %xmm13, %xmm7
pcmpgtb %xmm2, %xmm7
movdqa %xmm7, %xmm0
pandn %xmm2, %xmm0
pand %xmm7, %xmm13
movdqa %xmm13, %xmm8
por %xmm0, %xmm8
movsbq 0xf(%r15,%rdx), %rcx
movq 0x68(%rsp), %rax
movd (%rax,%rcx,4), %xmm6
movsbq 0xe(%r15,%rdx), %rcx
movq 0x70(%rsp), %rax
movd (%rax,%rcx,4), %xmm2
movsbq 0xd(%r15,%rdx), %rcx
movq 0x60(%rsp), %rax
movd (%rax,%rcx,4), %xmm11
movsbq 0xc(%r15,%rdx), %rcx
movq 0x78(%rsp), %rax
movd (%rax,%rcx,4), %xmm0
movsbq 0xb(%r15,%rdx), %rcx
movq 0x28(%rsp), %rax
movd (%rax,%rcx,4), %xmm4
movsbq 0xa(%r15,%rdx), %rcx
movq 0x80(%rsp), %rax
movd (%rax,%rcx,4), %xmm13
movsbq 0x9(%r15,%rdx), %rcx
movq 0x120(%rsp), %rax
movd (%rax,%rcx,4), %xmm12
movsbq 0x8(%r15,%rdx), %rcx
movq 0x88(%rsp), %rax
movd (%rax,%rcx,4), %xmm1
movsbq 0x7(%r15,%rdx), %rcx
movq 0x118(%rsp), %rax
movdqa %xmm10, 0xb0(%rsp)
movd (%rax,%rcx,4), %xmm10
movsbq 0x6(%r15,%rdx), %rcx
movq 0x90(%rsp), %rax
movd (%rax,%rcx,4), %xmm9
movsbq 0x5(%r15,%rdx), %rcx
movq 0x110(%rsp), %rax
movd (%rax,%rcx,4), %xmm3
movsbq 0x4(%r15,%rdx), %rcx
punpcklbw %xmm6, %xmm2    # xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
movq 0x98(%rsp), %rax
movd (%rax,%rcx,4), %xmm6
movsbq 0x3(%r15,%rdx), %rcx
punpcklbw %xmm11, %xmm0   # xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1],xmm0[2],xmm11[2],xmm0[3],xmm11[3],xmm0[4],xmm11[4],xmm0[5],xmm11[5],xmm0[6],xmm11[6],xmm0[7],xmm11[7]
movq 0x108(%rsp), %rax
movd (%rax,%rcx,4), %xmm11
movsbq 0x2(%r15,%rdx), %rcx
punpcklwd %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
movq 0xa0(%rsp), %rax
movd (%rax,%rcx,4), %xmm2
movsbq 0x1(%r15,%rdx), %rcx
punpcklbw %xmm4, %xmm13   # xmm13 = xmm13[0],xmm4[0],xmm13[1],xmm4[1],xmm13[2],xmm4[2],xmm13[3],xmm4[3],xmm13[4],xmm4[4],xmm13[5],xmm4[5],xmm13[6],xmm4[6],xmm13[7],xmm4[7]
movq 0x230(%rsp), %rax
movd (%rax,%rcx,4), %xmm4
movsbq (%r15,%rdx), %rcx
punpcklbw %xmm12, %xmm1   # xmm1 = xmm1[0],xmm12[0],xmm1[1],xmm12[1],xmm1[2],xmm12[2],xmm1[3],xmm12[3],xmm1[4],xmm12[4],xmm1[5],xmm12[5],xmm1[6],xmm12[6],xmm1[7],xmm12[7]
movq 0x228(%rsp), %rax
movd (%rax,%rcx,4), %xmm12
punpcklwd %xmm13, %xmm1   # xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
punpcklbw %xmm10, %xmm9   # xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3],xmm9[4],xmm10[4],xmm9[5],xmm10[5],xmm9[6],xmm10[6],xmm9[7],xmm10[7]
movdqa 0xb0(%rsp), %xmm10
punpcklbw %xmm3, %xmm6    # xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3],xmm6[4],xmm3[4],xmm6[5],xmm3[5],xmm6[6],xmm3[6],xmm6[7],xmm3[7]
punpcklwd %xmm9, %xmm6    # xmm6 = xmm6[0],xmm9[0],xmm6[1],xmm9[1],xmm6[2],xmm9[2],xmm6[3],xmm9[3]
punpcklbw %xmm11, %xmm2   # xmm2 = xmm2[0],xmm11[0],xmm2[1],xmm11[1],xmm2[2],xmm11[2],xmm2[3],xmm11[3],xmm2[4],xmm11[4],xmm2[5],xmm11[5],xmm2[6],xmm11[6],xmm2[7],xmm11[7]
punpcklbw %xmm4, %xmm12   # xmm12 = xmm12[0],xmm4[0],xmm12[1],xmm4[1],xmm12[2],xmm4[2],xmm12[3],xmm4[3],xmm12[4],xmm4[4],xmm12[5],xmm4[5],xmm12[6],xmm4[6],xmm12[7],xmm4[7]
punpcklwd %xmm2, %xmm12   # xmm12 = xmm12[0],xmm2[0],xmm12[1],xmm2[1],xmm12[2],xmm2[2],xmm12[3],xmm2[3]
punpckldq %xmm6, %xmm12   # xmm12 = xmm12[0],xmm6[0],xmm12[1],xmm6[1]
punpcklqdq %xmm1, %xmm12   # xmm12 = xmm12[0],xmm1[0]
paddsb %xmm12, %xmm14
movdqa %xmm14, %xmm0
pcmpgtb %xmm8, %xmm0
movdqa %xmm14, %xmm1
pand %xmm0, %xmm1
pandn %xmm8, %xmm0
por %xmm1, %xmm0
movdqa %xmm0, %xmm1
pcmpgtb %xmm15, %xmm1
pand %xmm1, %xmm0
pandn %xmm15, %xmm1
por %xmm0, %xmm1
movdqa %xmm10, %xmm0
pcmpeqb 0x2759de(%rip), %xmm0   # 0x5c7b60
movdqa %xmm0, %xmm2
pandn %xmm1, %xmm2
movdqa 0x1b0(%rsp), %xmm13
pand %xmm0, %xmm13
por %xmm2, %xmm13
cmpq $0x10, %rdx
jb 0x3521f8
movdqa 0x190(%rsp), %xmm3
movdqa %xmm3, %xmm1
pcmpgtb %xmm13, %xmm1
movdqa %xmm13, %xmm2
pand %xmm1, %xmm2
pandn %xmm3, %xmm1
por %xmm2, %xmm1
movdqa 0x1a0(%rsp), %xmm3
movdqa %xmm3, %xmm2
pcmpgtb %xmm13, %xmm2
pand %xmm2, %xmm3
pandn %xmm13, %xmm2
por %xmm2, %xmm3
movdqa %xmm3, 0x1a0(%rsp)
movdqa %xmm1, 0x190(%rsp)
movdqa 0x216150(%rip), %xmm6   # 0x568350
movdqa %xmm0, %xmm1
pandn %xmm15, %xmm1
movdqa 0x180(%rsp), %xmm2
pand %xmm0, %xmm2
por %xmm2, %xmm1
pcmpeqb %xmm13, %xmm14
movdqa %xmm13, %xmm3
pcmpeqb %xmm1, %xmm3
movdqa %xmm6, %xmm4
psubb %xmm3, %xmm4
movdqa %xmm14, %xmm3
pandn %xmm4, %xmm3
pand 0x215f4e(%rip), %xmm14  # 0x568190
por %xmm3, %xmm14
pand 0x277541(%rip), %xmm7   # 0x5c9790
pand 0x277549(%rip), %xmm5   # 0x5c97a0
por %xmm7, %xmm5
por %xmm14, %xmm5
pxor 0x277668(%rip), %xmm5   # 0x5c98d0
movq 0x170(%rsp), %rax
movq 0x10(%rax), %rcx
movq (%rcx), %r10
pextrw $0x7, %xmm5, %ecx
cmpq 0x8(%rsp), %rdx
jae 0x352291
movq 0x160(%rsp), %rax
addq %r10, %rax
movb %ch, (%rdx,%rax)
cmpq %rbp, 0x178(%rsp)
setge %al
leaq -0x1(%rdx), %r14
cmpq 0x8(%rsp), %r14
setae %r14b
orb %al, %r14b
jne 0x3522bc
movq 0x168(%rsp), %rax
addq %r10, %rax
movb %cl, (%rdx,%rax)
pextrw $0x6, %xmm5, %ecx
cmpq %rbp, %r9
jge 0x3522ef
leaq -0x2(%rdx), %rax
cmpq $0x2, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x3522ef
movq 0x218(%rsp), %rax
addq %r10, %rax
movb %ch, (%rdx,%rax)
cmpq %rbp, %r12
jge 0x35231d
leaq -0x3(%rdx), %rax
cmpq $0x3, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x35231d
movq 0x210(%rsp), %rax
addq %r10, %rax
movb %cl, (%rdx,%rax)
pextrw $0x5, %xmm5, %ecx
cmpq %rbp, %r8
jge 0x352350
leaq -0x4(%rdx), %rax
cmpq $0x4, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x352350
movq 0x208(%rsp), %rax
addq %r10, %rax
movb %ch, (%rdx,%rax)
cmpq %rbp, %r13
jge 0x35237e
leaq -0x5(%rdx), %rax
cmpq $0x5, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x35237e
movq 0x200(%rsp), %rax
addq %r10, %rax
movb %cl, (%rdx,%rax)
pextrw $0x4, %xmm5, %ecx
cmpq %rbp, %rdi
jge 0x3523b1
leaq -0x6(%rdx), %rax
cmpq $0x6, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x3523b1
movq 0x1f8(%rsp), %rax
addq %r10, %rax
movb %ch, (%rdx,%rax)
cmpq %rbp, %rbx
jge 0x3523df
leaq -0x7(%rdx), %rax
cmpq $0x7, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x3523df
movq 0x1f0(%rsp), %rax
addq %r10, %rax
movb %cl, (%rdx,%rax)
pextrw $0x3, %xmm5, %ecx
cmpq %rbp, %r11
jge 0x352412
leaq -0x8(%rdx), %rax
cmpq $0x8, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x352412
movq 0x1e8(%rsp), %rax
addq %r10, %rax
movb %ch, (%rdx,%rax)
cmpq %rbp, 0x18(%rsp)
jge 0x352442
leaq -0x9(%rdx), %rax
cmpq $0x9, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x352442
movq 0x1e0(%rsp), %rax
addq %r10, %rax
movb %cl, (%rdx,%rax)
pextrw $0x2, %xmm5, %ecx
cmpq %rbp, 0x48(%rsp)
jge 0x352477
leaq -0xa(%rdx), %rax
cmpq $0xa, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x352477
movq 0x1d8(%rsp), %rax
addq %r10, %rax
movb %ch, (%rdx,%rax)
cmpq %rbp, %rsi
jge 0x3524a5
leaq -0xb(%rdx), %rax
cmpq $0xb, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x3524a5
movq 0x1d0(%rsp), %rax
addq %r10, %rax
movb %cl, (%rdx,%rax)
movd %xmm5, %ecx
cmpq %rbp, 0x138(%rsp)
jge 0x3524e2
leaq -0xc(%rdx), %rax
cmpq $0xc, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x3524e2
movl %ecx, %eax
shrl $0x18, %eax
movq 0x158(%rsp), %r14
addq %r10, %r14
movb %al, (%rdx,%r14)
cmpq %rbp, 0x40(%rsp)
jge 0x352518
leaq -0xd(%rdx), %rax
cmpq $0xd, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x352518
movl %ecx, %eax
shrl $0x10, %eax
movq 0x150(%rsp), %r14
addq %r10, %r14
movb %al, (%rdx,%r14)
cmpq %rbp, 0x130(%rsp)
jge 0x35254b
leaq -0xe(%rdx), %rax
cmpq $0xe, %rdx
setae %r14b
cmpq 0x8(%rsp), %rax
setl %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x35254b
movq 0x148(%rsp), %rax
addq %r10, %rax
movb %ch, (%rdx,%rax)
cmpq %rbp, 0x128(%rsp)
setge %al
cmpq $0xf, %rdx
setb %r14b
orb %al, %r14b
jne 0x35256f
addq 0x220(%rsp), %r10
movb %cl, (%rdx,%r10)
pandn %xmm8, %xmm0
por %xmm0, %xmm2
movdqa %xmm13, 0x2d0(%rsp)
movb 0x2d0(%rsp), %al
movq 0xa8(%rsp), %r10
movb %al, (%r10,%rdx)
movd %xmm1, %eax
movq 0x30(%rsp), %rcx
movb %al, (%rcx,%rdx)
movdqa %xmm10, %xmm0
pcmpeqb 0x2b0(%rsp), %xmm0
pand 0x2c0(%rsp), %xmm0
movdqa %xmm13, %xmm3
pand %xmm0, %xmm3
pandn 0xd0(%rsp), %xmm0
por %xmm3, %xmm0
paddsb %xmm6, %xmm10
incq %rdx
movdqa 0xc0(%rsp), %xmm14
movdqa %xmm0, %xmm3
jmp 0x351f00
movdqa 0x280(%rsp), %xmm2
paddsb 0x215bb6(%rip), %xmm2   # 0x5681b0
movdqa 0x1b0(%rsp), %xmm0
psubsb 0x260(%rsp), %xmm0
movdqa %xmm0, 0x1b0(%rsp)
movq 0x1c0(%rsp), %rax
addq %rax, 0x160(%rsp)
movq 0x330(%rsp), %r8
movl 0x14(%rsp), %edi
movq 0x1c8(%rsp), %r11
jmp 0x3517d1
pushq $0x10
popq %rax
movq 0x170(%rsp), %rbx
movl 0x144(%rsp), %edx
subl $0x1, %eax
jb 0x352677
movdqa %xmm3, 0x2e0(%rsp)
movzbl 0x2ef(%rsp), %ecx
movzbl %dil, %edi
cmpb %dil, %cl
cmovgl %ecx, %edi
pslldq $0x1, %xmm3             # xmm3 = zero,xmm3[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
jmp 0x352650
movdqa 0x180(%rsp), %xmm0
pcmpgtb 0x190(%rsp), %xmm0
movdqa 0x1a0(%rsp), %xmm1
pcmpgtb 0x240(%rsp), %xmm1
por %xmm0, %xmm1
pmovmskb %xmm1, %eax
testl %eax, %eax
je 0x3526b7
orb $0x40, 0xc(%rbx)
xorl %edi, %edi
xorl %edx, %edx
movl $0x0, 0x24(%rsp)
movsbl %dil, %eax
movl %eax, (%rbx)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rbx)
movl %edx, 0x8(%rbx)
movq 0x30(%rsp), %rdi
callq 0x1ab763
movq 0xa8(%rsp), %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq 0x330(%rsp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x3528a0
movq 0x38(%rsp), %rdi
callq 0x1ab763
jmp 0x3528a0
leal 0xf(%r13), %eax
movslq %eax, %rsi
pushq $0x10
popq %rdi
movq %rsi, 0x18(%rsp)
callq 0x1ab776
xorl %r9d, %r9d
movq %rax, 0x38(%rsp)
testq %rax, %rax
movl 0x14(%rsp), %edi
movq 0xc0(%rsp), %r12
movq 0xb0(%rsp), %rax
je 0x351336
testl %r13d, %r13d
movl $0x0, %ecx
cmovgl %r13d, %ecx
movq 0x330(%rsp), %r8
movq 0xa8(%rsp), %r10
movq %rax, %r13
movq 0xd0(%rsp), %r11
movq 0x38(%rsp), %rax
cmpq %r9, %rcx
je 0x3527f6
movq 0x10(%r8), %rdx
movzbl (%r11,%r9), %esi
movb (%rdx,%rsi,4), %dl
movb %dl, (%rax,%r9)
incq %r9
jmp 0x35276c
movq 0x3e8847(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x274850(%rip), %rsi    # 0x5c6feb
leaq 0x243a66(%rip), %rdx    # 0x596208
leaq 0x274f54(%rip), %rcx    # 0x5c76fd
jmp 0x352897
movq 0x3e8823(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x274f42(%rip), %rsi    # 0x5c7701
leaq 0x243a42(%rip), %rdx    # 0x596208
leaq 0x274f48(%rip), %rcx    # 0x5c7715
jmp 0x352897
movq 0x3e87ff(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x274f38(%rip), %rsi    # 0x5c771b
leaq 0x243a1e(%rip), %rdx    # 0x596208
leaq 0x274f3f(%rip), %rcx    # 0x5c7730
jmp 0x352897
movq %rbp, %rax
movq 0x18(%rsp), %rdx
movq 0x38(%rsp), %rcx
cmpq %rdx, %rax
jge 0x351388
movb $0x0, (%rcx,%rax)
incq %rax
jmp 0x352803
movq 0x3e87bc(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x274ef5(%rip), %rsi    # 0x5c771b
leaq 0x2439db(%rip), %rdx    # 0x596208
leaq 0x274f01(%rip), %rcx    # 0x5c7735
jmp 0x352897
movq 0x3e879b(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2747a4(%rip), %rsi    # 0x5c6feb
leaq 0x2439ba(%rip), %rdx    # 0x596208
leaq 0x2750ed(%rip), %rcx    # 0x5c7942
jmp 0x352897
movq 0x3e877a(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x274783(%rip), %rsi    # 0x5c6feb
leaq 0x243999(%rip), %rdx    # 0x596208
leaq 0x274ec3(%rip), %rcx    # 0x5c7739
jmp 0x352897
movq 0x3e8759(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x274e78(%rip), %rsi    # 0x5c7701
leaq 0x243978(%rip), %rdx    # 0x596208
leaq 0x274ea6(%rip), %rcx    # 0x5c773d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x19e180
movq %rbx, %rax
addq $0x2f8, %rsp            # imm = 0x2F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)