// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_diag_sse41_128_8.c
// Function: parasail_nw_rowcol_diag_sse41_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 = 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 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;

    /* 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);

    /* 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_8 | PARASAIL_FLAG_LANES_16;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* 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 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))];
        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(vNH, H_pr[-1], 15);
        vWH = _mm_srli_si128(vWH, 1);
        vWH = _mm_insert_epi8(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(vNH, H_pr[j], 15);
            vF = _mm_srli_si128(vF, 1);
            vF = _mm_insert_epi8(vF, F_pr[j], 15);
            vF = _mm_max_epi8(
                    _mm_subs_epi8(vNH, vOpen),
                    _mm_subs_epi8(vF, vGap));
            vE = _mm_max_epi8(
                    _mm_subs_epi8(vWH, vOpen),
                    _mm_subs_epi8(vE, vGap));
            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(vNWH, vE);
            vWH = _mm_max_epi8(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(vWH, vIBoundary, cond);
                vF = _mm_blendv_epi8(vF, vNegInf, cond);
                vE = _mm_blendv_epi8(vE, vNegInf, cond);
            }
            /* cannot start checking sat until after J clears boundary */
            if (j > PAD) {
                vSaturationCheckMin = _mm_min_epi8(vSaturationCheckMin, vWH);
                vSaturationCheckMax = _mm_max_epi8(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-15] = (int8_t)_mm_extract_epi8(vWH,0);
            F_pr[j-15] = (int8_t)_mm_extract_epi8(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(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(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 $0x228, %rsp            # imm = 0x228
movq %r9, 0x20(%rsp)
testq %rdx, %rdx
je 0x3faa2e
movl %ecx, %r14d
testl %ecx, %ecx
jle 0x3faa52
movl %r8d, %r13d
testl %r8d, %r8d
js 0x3faa76
cmpl $0x0, 0x20(%rsp)
js 0x3fbb3c
movq 0x260(%rsp), %r12
testq %r12, %r12
je 0x3fbb5d
movq %rdx, %rbx
cmpl $0x0, 0x30(%r12)
je 0x3fa8a0
movl 0x34(%r12), %r15d
jmp 0x3fa8b4
testq %rdi, %rdi
je 0x3fbb7e
movl %esi, %r15d
testl %esi, %esi
jle 0x3fbb9f
movq %rdi, 0x90(%rsp)
movq 0x20(%rsp), %rax
movd %eax, %xmm0
movdqa %xmm0, 0x120(%rsp)
pinsrd $0x1, %eax, %xmm0
pinsrd $0x2, %eax, %xmm0
pinsrd $0x3, %r13d, %xmm0
pmulld 0x1cf446(%rip), %xmm0   # 0x5c9d30
movl 0x20(%r12), %eax
movdqa %xmm0, 0x100(%rsp)
pextrd $0x3, %xmm0, %edx
movl %eax, %ecx
negb %cl
movl %edx, 0x1c(%rsp)
cmpl %edx, %eax
movzbl %cl, %eax
cmovgl %r13d, %eax
movl %eax, (%rsp)
movb $0x7e, %bpl
subb 0x1c(%r12), %bpl
movl %r15d, %edi
movl %r14d, %esi
callq 0x1ab93b
testq %rax, %rax
je 0x3fa9a5
movl %r13d, 0x80(%rsp)
movq %r15, 0x8(%rsp)
movq %rbx, 0x10(%rsp)
movq %rax, 0x110(%rsp)
orl $0x10141001, 0xc(%rax)  # imm = 0x10141001
movq %r14, 0x88(%rsp)
addl $0x1e, %r14d
pushq $0x10
popq %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x1ab776
movq %rax, %r15
movq %r13, %rdi
movq %r14, %rsi
callq 0x1ab776
movq %rax, %rbx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1ab776
movq %rax, %r13
testq %r15, %r15
sete %al
movq %rbx, 0xf0(%rsp)
testq %rbx, %rbx
sete %cl
orb %al, %cl
testq %r13, %r13
sete %al
orb %cl, %al
je 0x3fa9ac
xorl %ebx, %ebx
jmp 0x3fbbc7
cmpl $0x0, 0x30(%r12)
movq 0x8(%rsp), %rax
movslq %eax, %r14
je 0x3fa9d5
movq $0x0, 0xd0(%rsp)
movl (%rsp), %edi
movq 0x10(%rsp), %rbx
jmp 0x3faab8
addl $0xf, %eax
movslq %eax, %rsi
pushq $0x10
popq %rdi
movq %rsi, 0x78(%rsp)
callq 0x1ab776
xorl %r8d, %r8d
testq %rax, %rax
movq 0x10(%rsp), %rbx
je 0x3fa9a5
movq 0x8(%rsp), %rdx
testl %edx, %edx
movl $0x0, %ecx
cmovgl %edx, %ecx
movl (%rsp), %edi
movq 0x90(%rsp), %r9
cmpq %r8, %rcx
je 0x3faa9a
movq 0x10(%r12), %rdx
movzbl (%r9,%r8), %esi
movb (%rdx,%rsi,4), %dl
movb %dl, (%rax,%r8)
incq %r8
jmp 0x3faa0f
movq 0x3405a3(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x1cc5ac(%rip), %rsi    # 0x5c6feb
leaq 0x18b8d7(%rip), %rdx    # 0x58631d
leaq 0x1cccb0(%rip), %rcx    # 0x5c76fd
jmp 0x3fbbbe
movq 0x34057f(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x1ccc9e(%rip), %rsi    # 0x5c7701
leaq 0x18b8b3(%rip), %rdx    # 0x58631d
leaq 0x1ccca4(%rip), %rcx    # 0x5c7715
jmp 0x3fbbbe
movq 0x34055b(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x1ccc94(%rip), %rsi    # 0x5c771b
leaq 0x18b88f(%rip), %rdx    # 0x58631d
leaq 0x1ccc9b(%rip), %rcx    # 0x5c7730
jmp 0x3fbbbe
movq %r14, %rcx
movq 0x78(%rsp), %rdx
cmpq %rdx, %rcx
jge 0x3faab0
movb $0x0, (%rax,%rcx)
incq %rcx
jmp 0x3faaa2
movq %rax, 0xd0(%rsp)
addb $-0x7f, %dil
movl %edi, (%rsp)
movzbl %dil, %eax
movd %eax, %xmm5
movzbl %bpl, %eax
movd %eax, %xmm11
movl 0x80(%rsp), %r9d
movd %r9d, %xmm0
movdqa %xmm0, %xmm3
movq 0x20(%rsp), %r10
movl 0x1c(%rsp), %r11d
movl %r11d, %eax
subl %r10d, %eax
subl %r10d, %eax
imull $0xfd, %r10d, %ecx
subl %r9d, %ecx
leal (,%r10,4), %esi
movl %r11d, %edx
subl %esi, %edx
imull $0xfb, %r10d, %esi
subl %r9d, %esi
imull $0xfa, %r10d, %edi
subl %r9d, %edi
imull $0xf9, %r10d, %r8d
subl %r9d, %r8d
pshufd $0x0, %xmm0, %xmm2      # xmm2 = xmm0[0,0,0,0]
pinsrd $0x1, %r9d, %xmm0
pinsrd $0x2, %r9d, %xmm0
leal (,%r10,8), %r9d
pinsrd $0x3, %r9d, %xmm0
movdqa 0x120(%rsp), %xmm6
pshufd $0x0, %xmm6, %xmm4      # xmm4 = xmm6[0,0,0,0]
pmulld 0x1cd12e(%rip), %xmm4   # 0x5c7c90
pxor %xmm1, %xmm1
psubd %xmm2, %xmm4
movdqa 0x100(%rsp), %xmm2
psubd %xmm0, %xmm2
pmovzxbd 0x1cf1c0(%rip), %xmm0   # 0x5c9d40
pand %xmm0, %xmm2
pand %xmm0, %xmm4
packusdw %xmm2, %xmm4
packuswb %xmm1, %xmm4
pinsrb $0x8, %r8d, %xmm4
pinsrb $0x9, %edi, %xmm4
pinsrb $0xa, %esi, %xmm4
pinsrb $0xb, %edx, %xmm4
movq 0x88(%rsp), %rsi
leal 0xf(%rsi), %r8d
movq 0x8(%rsp), %rdx
movd %edx, %xmm2
leal -0x1(%rdx), %edx
movl %edx, 0x4(%rsp)
pinsrb $0xc, %ecx, %xmm4
leal -0x1(%rsi), %edi
pshufb %xmm1, %xmm5
pshufb %xmm1, %xmm11
pshufb %xmm1, %xmm3
pshufb %xmm1, %xmm6
movdqa %xmm6, 0x120(%rsp)
psllw $0x4, %xmm6
pand 0x1cd086(%rip), %xmm6   # 0x5c7c80
movdqa %xmm6, 0x1e0(%rsp)
pshufb %xmm1, %xmm2
pcmpeqd %xmm0, %xmm0
paddsb %xmm0, %xmm2
movdqa %xmm2, 0x1f0(%rsp)
movd %esi, %xmm2
pshufb %xmm1, %xmm2
paddsb %xmm0, %xmm2
movdqa %xmm2, 0x210(%rsp)
pinsrb $0xd, %eax, %xmm4
movl %r11d, %eax
subl %r10d, %eax
pinsrb $0xe, %eax, %xmm4
pinsrb $0xf, %r11d, %xmm4
movl %esi, %esi
xorl %eax, %eax
movq 0xf0(%rsp), %rbp
cmpq %rax, %rsi
je 0x3fac6f
movq 0x10(%r12), %rcx
movzbl (%rbx,%rax), %edx
movb (%rcx,%rdx,4), %cl
movb %cl, 0xf(%r15,%rax)
incq %rax
jmp 0x3fac54
xorl %eax, %eax
movl (%rsp), %edx
cmpq $0xf, %rax
je 0x3fac84
movb $0x0, (%r15,%rax)
incq %rax
jmp 0x3fac74
movq %rsi, %rax
cmpl %eax, %r8d
jle 0x3fac97
movb $0x0, 0xf(%r15,%rax)
incq %rax
jmp 0x3fac87
xorl %eax, %eax
movl 0x1c(%rsp), %ecx
cmpq %rax, %rsi
je 0x3facb4
movb %cl, 0xf(%rbp,%rax)
movb %dl, 0xf(%r13,%rax)
incq %rax
subb 0x20(%rsp), %cl
jmp 0x3fac9d
xorl %eax, %eax
cmpq $0xf, %rax
je 0x3facca
movb %dl, (%rbp,%rax)
movb %dl, (%r13,%rax)
incq %rax
jmp 0x3facb6
movq %rsi, %rax
cmpl %eax, %r8d
jle 0x3face0
movb %dl, 0xf(%rbp,%rax)
movb %dl, 0xf(%r13,%rax)
incq %rax
jmp 0x3faccd
movb $0x0, 0xe(%rbp)
movdqa %xmm5, %xmm0
psrldq $0x1, %xmm0             # xmm0 = xmm0[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero
movdqa %xmm0, 0x1d0(%rsp)
xorl %ecx, %ecx
testl %r8d, %r8d
cmovlel %ecx, %r8d
movq %r8, 0x1b8(%rsp)
movl %edi, 0xfc(%rsp)
movl %edi, %eax
movq %rax, 0x1b0(%rsp)
movl 0x4(%rsp), %r8d
leaq 0xe(%rsi), %rax
movq %rax, 0x1a8(%rsp)
leaq 0xd(%rsi), %rax
movq %rax, 0x1a0(%rsp)
leaq 0xc(%rsi), %rax
movq %rax, 0x198(%rsp)
leaq 0xb(%rsi), %rax
movq %rax, 0x190(%rsp)
leaq 0xa(%rsi), %rax
movq %rax, 0x188(%rsp)
leaq 0x9(%rsi), %rax
movq %rax, 0x180(%rsp)
leaq 0x8(%rsi), %rax
movq %rax, 0x178(%rsp)
leaq 0x7(%rsi), %rax
movq %rax, 0x170(%rsp)
leaq 0x6(%rsi), %rax
movq %rax, 0x168(%rsp)
leaq 0x5(%rsi), %rax
movq %rax, 0x160(%rsp)
leaq 0x4(%rsi), %rax
movq %rax, 0x158(%rsp)
leaq 0x3(%rsi), %rax
movq %rax, 0x150(%rsp)
movdqa 0x1ccd1a(%rip), %xmm12  # 0x5c7ad0
movdqa %xmm5, %xmm10
movdqa %xmm5, %xmm8
movdqa %xmm11, 0x1c0(%rsp)
leaq 0x2(%rsi), %rax
movq %rax, 0x148(%rsp)
leaq 0x1(%rsi), %rax
movq %rax, 0x140(%rsp)
movq %r13, 0x118(%rsp)
movdqa 0x120(%rsp), %xmm7
movq %rcx, 0xb0(%rsp)
cmpq %r14, %rcx
jge 0x3fba99
cmpl $0x0, 0x30(%r12)
je 0x3faf7e
movq 0xb0(%rsp), %r11
movq %r11, %rcx
orq $0x1, %rcx
cmpq %r14, %rcx
movl 0x4(%rsp), %eax
movl %eax, %edi
movq %rcx, 0x8(%rsp)
cmovll %ecx, %edi
movl %edi, 0xa8(%rsp)
movq %r11, %rcx
orq $0x2, %rcx
cmpq %r14, %rcx
movq %rcx, 0x100(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x48(%rsp)
movq %r11, %rcx
orq $0x3, %rcx
cmpq %r14, %rcx
movq %rcx, 0x90(%rsp)
movl %ecx, %ebp
cmovgel %eax, %ebp
movq %r11, %rcx
orq $0x4, %rcx
cmpq %r14, %rcx
movq %rcx, 0x10(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x40(%rsp)
movq %r11, %rcx
orq $0x5, %rcx
cmpq %r14, %rcx
movq %rcx, 0x88(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x58(%rsp)
movq %r11, %rcx
orq $0x6, %rcx
cmpq %r14, %rcx
movq %rcx, 0x80(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x38(%rsp)
movq %r11, %rcx
orq $0x7, %rcx
cmpq %r14, %rcx
movq %rcx, 0x78(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x60(%rsp)
movq %r11, %rcx
orq $0x8, %rcx
cmpq %r14, %rcx
movq %rcx, 0xc8(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x30(%rsp)
movq %r11, %rcx
orq $0x9, %rcx
cmpq %r14, %rcx
movq %rcx, 0xc0(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x68(%rsp)
movq %r11, %rcx
orq $0xa, %rcx
cmpq %r14, %rcx
movq %rcx, 0xb8(%rsp)
cmovgel %eax, %ecx
movl %ecx, 0x28(%rsp)
movq %r11, %r12
orq $0xb, %r12
cmpq %r14, %r12
movl %r12d, %ecx
cmovgel %eax, %ecx
movl %ecx, 0x70(%rsp)
movq %r11, %r9
orq $0xc, %r9
cmpq %r14, %r9
movl %r9d, %ecx
cmovgel %eax, %ecx
movl %ecx, 0xa0(%rsp)
movq %r11, %rdx
orq $0xd, %rdx
cmpq %r14, %rdx
movl %edx, %r13d
cmovgel %eax, %r13d
movq %r11, %rdi
orq $0xe, %rdi
cmpq %r14, %rdi
movl %edi, %ecx
cmovgel %eax, %ecx
movl %ecx, 0x98(%rsp)
movq %r11, %r10
orq $0xf, %r10
cmpq %r14, %r10
movl %r10d, %ecx
cmovgel %eax, %ecx
movl %ecx, %eax
movl %r11d, 0x50(%rsp)
jmp 0x3fb0da
movq 0xb0(%rsp), %r11
movq %r11, %rax
orq $0x1, %rax
movq %rax, 0x8(%rsp)
movq %r11, %rax
orq $0x2, %rax
movq %rax, 0x100(%rsp)
movq %r11, %rax
orq $0x3, %rax
movq %rax, 0x90(%rsp)
movq %r11, %rax
orq $0x4, %rax
movq %rax, 0x10(%rsp)
movq %r11, %rax
orq $0x5, %rax
movq %rax, 0x88(%rsp)
movq %r11, %rax
orq $0x6, %rax
movq %rax, 0x80(%rsp)
movq %r11, %rax
orq $0x7, %rax
movq %rax, 0x78(%rsp)
movq %r11, %rax
orq $0x8, %rax
movq %rax, 0xc8(%rsp)
movq %r11, %rax
orq $0x9, %rax
movq %rax, 0xc0(%rsp)
movq %r11, %rax
orq $0xa, %rax
movq %rax, 0xb8(%rsp)
movq %r11, %r12
orq $0xb, %r12
movq %r11, %r9
orq $0xc, %r9
movq %r11, %rdx
orq $0xd, %rdx
movq %r11, %rdi
orq $0xe, %rdi
movq %r11, %r10
orq $0xf, %r10
movq 0xd0(%rsp), %rax
movsbl (%rax,%r11), %ecx
movl %ecx, 0x50(%rsp)
movsbl 0x1(%rax,%r11), %ecx
movl %ecx, 0xa8(%rsp)
movsbl 0x2(%rax,%r11), %ecx
movl %ecx, 0x48(%rsp)
movsbl 0x3(%rax,%r11), %ebp
movsbl 0x4(%rax,%r11), %ecx
movl %ecx, 0x40(%rsp)
movsbl 0x5(%rax,%r11), %ecx
movl %ecx, 0x58(%rsp)
movsbl 0x6(%rax,%r11), %ecx
movl %ecx, 0x38(%rsp)
movsbl 0x7(%rax,%r11), %ecx
movl %ecx, 0x60(%rsp)
movsbl 0x8(%rax,%r11), %ecx
movl %ecx, 0x30(%rsp)
movsbl 0x9(%rax,%r11), %ecx
movl %ecx, 0x68(%rsp)
movsbl 0xa(%rax,%r11), %ecx
movl %ecx, 0x28(%rsp)
movsbl 0xb(%rax,%r11), %ecx
movl %ecx, 0x70(%rsp)
movsbl 0xc(%rax,%r11), %ecx
movl %ecx, 0xa0(%rsp)
movsbl 0xd(%rax,%r11), %r13d
movsbl 0xe(%rax,%r11), %ecx
movl %ecx, 0x98(%rsp)
movsbl 0xf(%rax,%r11), %eax
movq 0x260(%rsp), %rbx
movl 0x18(%rbx), %ecx
imull %ecx, %r13d
movl %r13d, 0xe8(%rsp)
movl 0x70(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x70(%rsp)
movl 0x68(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x68(%rsp)
movl 0x60(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x60(%rsp)
movl 0x58(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x58(%rsp)
imull %ecx, %ebp
movl %ebp, 0xe0(%rsp)
movl 0xa8(%rsp), %r13d
imull %ecx, %r13d
movl 0x50(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x50(%rsp)
movl 0x48(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x48(%rsp)
movl 0x40(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x40(%rsp)
movl 0x38(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x38(%rsp)
movl 0x30(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x30(%rsp)
movl 0x28(%rsp), %ebx
imull %ecx, %ebx
movl %ebx, 0x28(%rsp)
movl 0xa0(%rsp), %ebp
imull %ecx, %ebp
movl 0x98(%rsp), %ebx
imull %ecx, %ebx
imull %ecx, %eax
movl %eax, 0xd8(%rsp)
movl %r11d, %eax
imull 0x20(%rsp), %eax
movl 0x1c(%rsp), %r11d
movl %r11d, %ecx
subl %eax, %ecx
movdqa 0x1d0(%rsp), %xmm0
movdqa %xmm0, %xmm9
pinsrb $0xf, %ecx, %xmm9
movslq 0xe8(%rsp), %rax
movq 0x260(%rsp), %rcx
movq 0x8(%rcx), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0xa8(%rsp)
movslq 0x70(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x70(%rsp)
movslq 0x68(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x68(%rsp)
movslq 0x60(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x60(%rsp)
movslq 0x58(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x58(%rsp)
movslq 0xe0(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0xa0(%rsp)
movslq %r13d, %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x98(%rsp)
movslq 0x50(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x50(%rsp)
movslq 0x48(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x48(%rsp)
movslq 0x40(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x40(%rsp)
movslq 0x38(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x38(%rsp)
movslq 0x30(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x30(%rsp)
movslq 0x28(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x28(%rsp)
movslq %ebp, %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0xe8(%rsp)
movslq %ebx, %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0xe0(%rsp)
movslq 0xd8(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0xd8(%rsp)
movq 0xf0(%rsp), %rbp
pinsrb $0xf, 0xe(%rbp), %xmm0
movq 0xb0(%rsp), %rax
addq $0x10, %rax
movq %rax, 0x138(%rsp)
imull 0x20(%rsp), %eax
subl %eax, %r11d
movb %r11b, 0xe(%rbp)
movdqa %xmm12, 0x200(%rsp)
pcmpeqb 0x1f0(%rsp), %xmm12
movdqa %xmm5, %xmm1
movdqa %xmm5, %xmm14
movdqa 0x1cca61(%rip), %xmm6   # 0x5c7d70
xorl %r11d, %r11d
movq 0x118(%rsp), %r13
cmpq %r11, 0x1b8(%rsp)
je 0x3fba68
movsbq (%r15,%r11), %rax
movq 0xd8(%rsp), %rcx
movd (%rcx,%rax,4), %xmm15
movsbq 0x1(%r15,%r11), %rax
movq 0xe0(%rsp), %rcx
pinsrb $0x1, (%rcx,%rax,4), %xmm15
movsbq 0x2(%r15,%r11), %rax
movq 0xa8(%rsp), %rcx
pinsrb $0x2, (%rcx,%rax,4), %xmm15
movsbq 0x3(%r15,%r11), %rax
movq 0xe8(%rsp), %rcx
pinsrb $0x3, (%rcx,%rax,4), %xmm15
movsbq 0x4(%r15,%r11), %rax
movq 0x70(%rsp), %rcx
pinsrb $0x4, (%rcx,%rax,4), %xmm15
movsbq 0x5(%r15,%r11), %rax
movq 0x28(%rsp), %rcx
pinsrb $0x5, (%rcx,%rax,4), %xmm15
movsbq 0x6(%r15,%r11), %rax
movq 0x68(%rsp), %rcx
pinsrb $0x6, (%rcx,%rax,4), %xmm15
movsbq 0x7(%r15,%r11), %rax
movq 0x30(%rsp), %rcx
pinsrb $0x7, (%rcx,%rax,4), %xmm15
movsbq 0x8(%r15,%r11), %rax
movq 0x60(%rsp), %rcx
pinsrb $0x8, (%rcx,%rax,4), %xmm15
movsbq 0x9(%r15,%r11), %rax
movq 0x38(%rsp), %rcx
pinsrb $0x9, (%rcx,%rax,4), %xmm15
movsbq 0xa(%r15,%r11), %rax
movq 0x58(%rsp), %rcx
pinsrb $0xa, (%rcx,%rax,4), %xmm15
movsbq 0xb(%r15,%r11), %rax
movq 0x40(%rsp), %rcx
pinsrb $0xb, (%rcx,%rax,4), %xmm15
movsbq 0xc(%r15,%r11), %rax
movq 0xa0(%rsp), %rcx
pinsrb $0xc, (%rcx,%rax,4), %xmm15
movsbq 0xd(%r15,%r11), %rax
movq 0x48(%rsp), %rcx
pinsrb $0xd, (%rcx,%rax,4), %xmm15
movsbq 0xe(%r15,%r11), %rax
movq 0x98(%rsp), %rcx
pinsrb $0xe, (%rcx,%rax,4), %xmm15
movsbq 0xf(%r15,%r11), %rax
movq 0x50(%rsp), %rcx
pinsrb $0xf, (%rcx,%rax,4), %xmm15
movdqa %xmm9, %xmm2
psrldq $0x1, %xmm2             # xmm2 = xmm2[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero
pinsrb $0xf, 0xf(%rbp,%r11), %xmm2
psrldq $0x1, %xmm14            # xmm14 = xmm14[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero
pinsrb $0xf, 0xf(%r13,%r11), %xmm14
movdqa %xmm2, %xmm13
psubsb %xmm3, %xmm13
psubsb %xmm7, %xmm14
pmaxsb %xmm13, %xmm14
movq 0xb0(%rsp), %r13
cmpq %r8, %r13
psubsb %xmm3, %xmm9
psubsb %xmm7, %xmm1
pmaxsb %xmm9, %xmm1
paddsb %xmm15, %xmm0
movdqa %xmm1, %xmm9
pmaxsb %xmm14, %xmm9
pmaxsb %xmm0, %xmm9
movdqa %xmm6, %xmm0
pcmpeqb 0x1cc686(%rip), %xmm0   # 0x5c7b60
pblendvb %xmm0, %xmm4, %xmm9
setne %al
pblendvb %xmm0, %xmm5, %xmm14
pblendvb %xmm0, %xmm5, %xmm1
cmpq $0x10, %r11
jb 0x3fb500
pminsb %xmm9, %xmm11
pmaxsb %xmm9, %xmm8
movq 0x110(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq (%rcx), %rbp
movq 0x8(%rcx), %rcx
cmpq %rsi, %r11
setae %bl
orb %bl, %al
pextrb $0xf, %xmm9, %eax
jne 0x3fb52c
movsbl %al, %ebx
movl %ebx, (%rbp,%r11,4)
cmpq %r11, 0x1b0(%rsp)
jne 0x3fb53d
movsbl %al, %eax
movl %eax, (%rcx,%r13,4)
cmpq %r8, 0x8(%rsp)
setne %al
leaq -0x1(%r11), %rbx
cmpq %rsi, %rbx
setae %bl
orb %al, %bl
pextrb $0xe, %xmm9, %eax
jne 0x3fb562
movsbl %al, %ebx
movl %ebx, -0x4(%rbp,%r11,4)
cmpq %r14, 0x8(%rsp)
setge %bl
cmpq %r11, %rsi
setne %r13b
orb %bl, %r13b
jne 0x3fb581
movsbl %al, %eax
movq 0x8(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0xd, %xmm9, %eax
cmpq %r8, 0x100(%rsp)
jne 0x3fb5b4
leaq -0x2(%r11), %rbx
cmpq $0x2, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb5b4
movsbl %al, %ebx
movl %ebx, -0x8(%rbp,%r11,4)
cmpq %r14, 0x100(%rsp)
setge %bl
cmpq %r11, 0x140(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb5de
movsbl %al, %eax
movq 0x100(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0xc, %xmm9, %eax
cmpq %r8, 0x90(%rsp)
jne 0x3fb611
leaq -0x3(%r11), %rbx
cmpq $0x3, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb611
movsbl %al, %ebx
movl %ebx, -0xc(%rbp,%r11,4)
cmpq %r14, 0x90(%rsp)
setge %bl
cmpq %r11, 0x148(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb63b
movsbl %al, %eax
movq 0x90(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0xb, %xmm9, %eax
cmpq %r8, 0x10(%rsp)
jne 0x3fb66b
leaq -0x4(%r11), %rbx
cmpq $0x4, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb66b
movsbl %al, %ebx
movl %ebx, -0x10(%rbp,%r11,4)
cmpq %r14, 0x10(%rsp)
setge %bl
cmpq %r11, 0x150(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb68f
movsbl %al, %eax
movq 0x10(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0xa, %xmm9, %eax
cmpq %r8, 0x88(%rsp)
jne 0x3fb6c2
leaq -0x5(%r11), %rbx
cmpq $0x5, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb6c2
movsbl %al, %ebx
movl %ebx, -0x14(%rbp,%r11,4)
cmpq %r14, 0x88(%rsp)
setge %bl
cmpq %r11, 0x158(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb6ec
movsbl %al, %eax
movq 0x88(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0x9, %xmm9, %eax
cmpq %r8, 0x80(%rsp)
jne 0x3fb71f
leaq -0x6(%r11), %rbx
cmpq $0x6, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb71f
movsbl %al, %ebx
movl %ebx, -0x18(%rbp,%r11,4)
cmpq %r14, 0x80(%rsp)
setge %bl
cmpq %r11, 0x160(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb749
movsbl %al, %eax
movq 0x80(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0x8, %xmm9, %eax
cmpq %r8, 0x78(%rsp)
jne 0x3fb779
leaq -0x7(%r11), %rbx
cmpq $0x7, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb779
movsbl %al, %ebx
movl %ebx, -0x1c(%rbp,%r11,4)
cmpq %r14, 0x78(%rsp)
setge %bl
cmpq %r11, 0x168(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb79d
movsbl %al, %eax
movq 0x78(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0x7, %xmm9, %eax
cmpq %r8, 0xc8(%rsp)
jne 0x3fb7d0
leaq -0x8(%r11), %rbx
cmpq $0x8, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb7d0
movsbl %al, %ebx
movl %ebx, -0x20(%rbp,%r11,4)
cmpq %r14, 0xc8(%rsp)
setge %bl
cmpq %r11, 0x170(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb7fa
movsbl %al, %eax
movq 0xc8(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0x6, %xmm9, %eax
cmpq %r8, 0xc0(%rsp)
jne 0x3fb82d
leaq -0x9(%r11), %rbx
cmpq $0x9, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb82d
movsbl %al, %ebx
movl %ebx, -0x24(%rbp,%r11,4)
cmpq %r14, 0xc0(%rsp)
setge %bl
cmpq %r11, 0x178(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb857
movsbl %al, %eax
movq 0xc0(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0x5, %xmm9, %eax
cmpq %r8, 0xb8(%rsp)
jne 0x3fb88a
leaq -0xa(%r11), %rbx
cmpq $0xa, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb88a
movsbl %al, %ebx
movl %ebx, -0x28(%rbp,%r11,4)
cmpq %r14, 0xb8(%rsp)
setge %bl
cmpq %r11, 0x180(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb8b4
movsbl %al, %eax
movq 0xb8(%rsp), %rbx
movl %eax, (%rcx,%rbx,4)
pextrb $0x4, %xmm9, %eax
cmpq %r8, %r12
jne 0x3fb8e2
leaq -0xb(%r11), %rbx
cmpq $0xb, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb8e2
movsbl %al, %ebx
movl %ebx, -0x2c(%rbp,%r11,4)
cmpq %r14, %r12
setge %bl
cmpq %r11, 0x188(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb900
movsbl %al, %eax
movl %eax, (%rcx,%r12,4)
pextrb $0x3, %xmm9, %eax
cmpq %r8, %r9
jne 0x3fb92e
leaq -0xc(%r11), %rbx
cmpq $0xc, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb92e
movsbl %al, %ebx
movl %ebx, -0x30(%rbp,%r11,4)
cmpq %r14, %r9
setge %bl
cmpq %r11, 0x190(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb94c
movsbl %al, %eax
movl %eax, (%rcx,%r9,4)
pextrb $0x2, %xmm9, %eax
cmpq %r8, %rdx
jne 0x3fb97a
leaq -0xd(%r11), %rbx
cmpq $0xd, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb97a
movsbl %al, %ebx
movl %ebx, -0x34(%rbp,%r11,4)
cmpq %r14, %rdx
setge %bl
cmpq %r11, 0x198(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb997
movsbl %al, %eax
movl %eax, (%rcx,%rdx,4)
pextrb $0x1, %xmm9, %eax
cmpq %r8, %rdi
jne 0x3fb9c5
leaq -0xe(%r11), %rbx
cmpq $0xe, %r11
setae %r13b
cmpq %rsi, %rbx
setl %bl
andb %r13b, %bl
cmpb $0x1, %bl
jne 0x3fb9c5
movsbl %al, %ebx
movl %ebx, -0x38(%rbp,%r11,4)
cmpq %r14, %rdi
setge %bl
cmpq %r11, 0x1a0(%rsp)
setne %r13b
orb %bl, %r13b
jne 0x3fb9e2
movsbl %al, %eax
movl %eax, (%rcx,%rdi,4)
cmpq %r8, %r10
setne %al
cmpq $0xf, %r11
setb %bl
orb %al, %bl
movd %xmm9, %eax
movq 0x118(%rsp), %r13
jne 0x3fba08
movsbl %al, %ebx
movl %ebx, -0x3c(%rbp,%r11,4)
cmpq %r14, %r10
setge %bl
cmpq %r11, 0x1a8(%rsp)
setne %bpl
orb %bl, %bpl
jne 0x3fba26
movsbl %al, %ebx
movl %ebx, (%rcx,%r10,4)
movq 0xf0(%rsp), %rbp
movb %al, (%rbp,%r11)
pextrb $0x0, %xmm14, (%r13,%r11)
movdqa %xmm6, %xmm0
pcmpeqb 0x210(%rsp), %xmm0
pand %xmm12, %xmm0
pblendvb %xmm0, %xmm9, %xmm10
paddsb 0x16c8f4(%rip), %xmm6   # 0x568350
incq %r11
movdqa %xmm2, %xmm0
jmp 0x3fb31a
movdqa 0x200(%rsp), %xmm12
paddsb 0x16c735(%rip), %xmm12  # 0x5681b0
psubsb 0x1e0(%rsp), %xmm4
movq 0x138(%rsp), %rcx
movq 0x260(%rsp), %r12
jmp 0x3fadf3
pushq $0x10
popq %rax
movq 0x110(%rsp), %rbx
movl (%rsp), %edx
movl 0xfc(%rsp), %esi
subl $0x1, %eax
jb 0x3fbaca
pextrb $0xf, %xmm10, %ecx
movzbl %dl, %edx
cmpb %dl, %cl
cmovgl %ecx, %edx
pslldq $0x1, %xmm10            # xmm10 = zero,xmm10[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
jmp 0x3fbaae
pcmpgtb %xmm11, %xmm5
pcmpgtb 0x1c0(%rsp), %xmm8
por %xmm5, %xmm8
pmovmskb %xmm8, %eax
testl %eax, %eax
je 0x3fbaf7
orb $0x40, 0xc(%rbx)
xorl %edx, %edx
xorl %esi, %esi
movl $0x0, 0x4(%rsp)
movsbl %dl, %eax
movl %eax, (%rbx)
movl 0x4(%rsp), %eax
movl %eax, 0x4(%rbx)
movl %esi, 0x8(%rbx)
movq %r13, %rdi
callq 0x1ab763
movq %rbp, %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
cmpl $0x0, 0x30(%r12)
jne 0x3fbbc7
movq 0xd0(%rsp), %rdi
callq 0x1ab763
jmp 0x3fbbc7
movq 0x33f495(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x1cbbce(%rip), %rsi    # 0x5c771b
leaq 0x18a7c9(%rip), %rdx    # 0x58631d
leaq 0x1cbbda(%rip), %rcx    # 0x5c7735
jmp 0x3fbbbe
movq 0x33f474(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x1cb47d(%rip), %rsi    # 0x5c6feb
leaq 0x18a7a8(%rip), %rdx    # 0x58631d
leaq 0x1cbdc6(%rip), %rcx    # 0x5c7942
jmp 0x3fbbbe
movq 0x33f453(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x1cb45c(%rip), %rsi    # 0x5c6feb
leaq 0x18a787(%rip), %rdx    # 0x58631d
leaq 0x1cbb9c(%rip), %rcx    # 0x5c7739
jmp 0x3fbbbe
movq 0x33f432(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x1cbb51(%rip), %rsi    # 0x5c7701
leaq 0x18a766(%rip), %rdx    # 0x58631d
leaq 0x1cbb7f(%rip), %rcx    # 0x5c773d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x19e180
movq %rbx, %rax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq