// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_diag_avx2_256_16.c
// Function: parasail_nw_rowcol_diag_avx2_256_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;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i vSaturationCheckMax;
    __m256i vNegInf;
    __m256i vOpen;
    __m256i vGap;
    __m256i vOne;
    __m256i vN;
    __m256i vGapN;
    __m256i vNegOne;
    __m256i vI;
    __m256i vJreset;
    __m256i vMax;
    __m256i vILimit;
    __m256i vILimit1;
    __m256i vJLimit;
    __m256i vJLimit1;
    __m256i 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 ? INT16_MIN + open : INT16_MIN - matrix->min) + 1;
    POS_LIMIT = INT16_MAX - matrix->max - 1;
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi16(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi16(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInf = _mm256_set1_epi16(NEG_LIMIT);
    vOpen = _mm256_set1_epi16(open);
    vGap  = _mm256_set1_epi16(gap);
    vOne = _mm256_set1_epi16(1);
    vN = _mm256_set1_epi16(N);
    vGapN = _mm256_set1_epi16(gap*N);
    vNegOne = _mm256_set1_epi16(-1);
    vI = _mm256_set_epi16(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);
    vJreset = _mm256_set_epi16(0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15);
    vMax = vNegInf;
    vILimit = _mm256_set1_epi16(s1Len);
    vILimit1 = _mm256_subs_epi16(vILimit, vOne);
    vJLimit = _mm256_set1_epi16(s2Len);
    vJLimit1 = _mm256_subs_epi16(vJLimit, vOne);
    vIBoundary = _mm256_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,
            -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_16 | 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_int16_t(32, s2Len+PAD2);
    _H_pr = parasail_memalign_int16_t(32, s2Len+PAD2);
    _F_pr = parasail_memalign_int16_t(32, 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(32, 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) {
        __m256i vNH = vNegInf;
        __m256i vWH = vNegInf;
        __m256i vE = vNegInf;
        __m256i vF = vNegInf;
        __m256i 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 = _mm256_srli_si256_rpl(vNH, 2);
        vNH = _mm256_insert_epi16_rpl(vNH, H_pr[-1], 15);
        vWH = _mm256_srli_si256_rpl(vWH, 2);
        vWH = _mm256_insert_epi16_rpl(vWH, -open - i*gap, 15);
        H_pr[-1] = -open - (i+N)*gap;
        /* iterate over database sequence */
        for (j=0; j<s2Len+PAD; ++j) {
            __m256i vMat;
            __m256i vNWH = vNH;
            vNH = _mm256_srli_si256_rpl(vWH, 2);
            vNH = _mm256_insert_epi16_rpl(vNH, H_pr[j], 15);
            vF = _mm256_srli_si256_rpl(vF, 2);
            vF = _mm256_insert_epi16_rpl(vF, F_pr[j], 15);
            vF = _mm256_max_epi16(
                    _mm256_subs_epi16(vNH, vOpen),
                    _mm256_subs_epi16(vF, vGap));
            vE = _mm256_max_epi16(
                    _mm256_subs_epi16(vWH, vOpen),
                    _mm256_subs_epi16(vE, vGap));
            vMat = _mm256_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]],
                    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 = _mm256_adds_epi16(vNWH, vMat);
            vWH = _mm256_max_epi16(vNWH, vE);
            vWH = _mm256_max_epi16(vWH, vF);
            /* as minor diagonal vector passes across the j=-1 boundary,
             * assign the appropriate boundary conditions */
            {
                __m256i cond = _mm256_cmpeq_epi16(vJ,vNegOne);
                vWH = _mm256_blendv_epi8(vWH, vIBoundary, cond);
                vF = _mm256_blendv_epi8(vF, vNegInf, cond);
                vE = _mm256_blendv_epi8(vE, vNegInf, cond);
            }
            /* cannot start checking sat until after J clears boundary */
            if (j > PAD) {
                vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vWH);
                vSaturationCheckMax = _mm256_max_epi16(vSaturationCheckMax, vWH);
            }
#ifdef PARASAIL_TABLE
            arr_store_si256(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] = (int16_t)_mm256_extract_epi16_rpl(vWH,0);
            F_pr[j-15] = (int16_t)_mm256_extract_epi16_rpl(vF,0);
            /* as minor diagonal vector passes across table, extract
               last table value at the i,j bound */
            {
                __m256i cond_valid_I = _mm256_cmpeq_epi16(vI, vILimit1);
                __m256i cond_valid_J = _mm256_cmpeq_epi16(vJ, vJLimit1);
                __m256i cond_all = _mm256_and_si256(cond_valid_I, cond_valid_J);
                vMax = _mm256_blendv_epi8(vMax, vWH, cond_all);
            }
            vJ = _mm256_adds_epi16(vJ, vOne);
        }
        vI = _mm256_adds_epi16(vI, vN);
        vIBoundary = _mm256_subs_epi16(vIBoundary, vGapN);
    }

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

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi16_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %r9, 0x90(%rsp)
testq %rdx, %rdx
je 0x4fd7dc
movl %ecx, %r15d
testl %ecx, %ecx
jle 0x4fd800
movl %r8d, %ebp
testl %r8d, %r8d
js 0x4fd824
cmpl $0x0, 0x90(%rsp)
js 0x4fe93d
movq 0x2f0(%rsp), %rcx
testq %rcx, %rcx
je 0x4fe95e
movq %rdx, %r14
cmpl $0x0, 0x30(%rcx)
je 0x4fd65b
movl 0x34(%rcx), %r12d
jmp 0x4fd66f
testq %rdi, %rdi
je 0x4fe97f
movl %esi, %r12d
testl %esi, %esi
jle 0x4fe9a0
movq %rdi, 0x88(%rsp)
vmovd 0x90(%rsp), %xmm0
vpinsrd $0x1, %ebp, %xmm0, %xmm0
vpmovsxbd 0xce5d5(%rip), %ymm1 # 0x5cbc64
vpermd %ymm0, %ymm1, %ymm0
vpmulld 0xce503(%rip), %ymm0, %ymm0 # 0x5cbba0
movl 0x20(%rcx), %eax
vmovdqu %ymm0, 0x190(%rsp)
vextracti128 $0x1, %ymm0, %xmm0
vpextrd $0x3, %xmm0, %esi
movl %eax, %edx
negl %edx
movl %esi, 0x1c(%rsp)
cmpl %esi, %eax
cmovgl %ebp, %edx
movl %edx, 0x18(%rsp)
movw $0x7ffe, %bx            # imm = 0x7FFE
subw 0x1c(%rcx), %bx
movl %r12d, %edi
movl %r15d, %esi
vzeroupper
callq 0x1ab93b
testq %rax, %rax
je 0x4fd750
movl %ebp, 0x78(%rsp)
movq %r12, %rbp
movq %r14, 0x8(%rsp)
movq %rax, 0xf8(%rsp)
orl $0x10241001, 0xc(%rax)  # imm = 0x10241001
movq %r15, 0x80(%rsp)
leal 0x1e(%r15), %r14d
pushq $0x20
popq %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x1ab77b
movq %rax, %r15
movq %r13, %rdi
movq %r14, %rsi
callq 0x1ab77b
movq %rax, %r12
movq %r13, %rdi
movq %r14, %rsi
callq 0x1ab77b
testq %r15, %r15
sete %dl
testq %r12, %r12
sete %cl
orb %dl, %cl
movq %rax, 0x70(%rsp)
testq %rax, %rax
sete %al
orb %cl, %al
je 0x4fd757
xorl %ebx, %ebx
jmp 0x4fe9c8
movq 0x2f0(%rsp), %rax
cmpl $0x0, 0x30(%rax)
movslq %ebp, %r14
movq %r12, 0xb8(%rsp)
je 0x4fd786
movq $0x0, 0xe0(%rsp)
movq 0x8(%rsp), %r11
jmp 0x4fd862
leal 0xf(%rbp), %eax
movslq %eax, %r12
pushq $0x20
popq %rdi
movq %r12, %rsi
callq 0x1ab77b
testq %rax, %rax
movq 0x8(%rsp), %r11
je 0x4fd750
movl %ebp, %ecx
sarl $0x1f, %ecx
andnl %ebp, %ecx, %edi
xorl %ecx, %ecx
movq 0x88(%rsp), %r8
cmpq %rcx, %rdi
je 0x4fd848
movq 0x2f0(%rsp), %rdx
movq 0x10(%rdx), %rdx
movzbl (%r8,%rcx), %esi
movzwl (%rdx,%rsi,4), %edx
movw %dx, (%rax,%rcx,2)
incq %rcx
jmp 0x4fd7b5
movq 0x23d7f5(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xc97fe(%rip), %rsi     # 0x5c6feb
leaq 0x88d32(%rip), %rdx     # 0x586526
leaq 0xc9f02(%rip), %rcx     # 0x5c76fd
jmp 0x4fe9bf
movq 0x23d7d1(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xc9ef0(%rip), %rsi     # 0x5c7701
leaq 0x88d0e(%rip), %rdx     # 0x586526
leaq 0xc9ef6(%rip), %rcx     # 0x5c7715
jmp 0x4fe9bf
movq 0x23d7ad(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xc9ee6(%rip), %rsi     # 0x5c771b
leaq 0x88cea(%rip), %rdx     # 0x586526
leaq 0xc9eed(%rip), %rcx     # 0x5c7730
jmp 0x4fe9bf
movq %r14, %rcx
cmpq %r12, %rcx
jge 0x4fd85a
andw $0x0, (%rax,%rcx,2)
incq %rcx
jmp 0x4fd84b
movq %rax, 0xe0(%rsp)
vmovd %ebx, %xmm1
movl 0x78(%rsp), %ebx
vmovd %ebx, %xmm2
movq 0x90(%rsp), %r9
movl %r9d, %eax
shll $0x4, %eax
vmovd %eax, %xmm6
movl 0x1c(%rsp), %r10d
movl %r10d, %ecx
subl %r9d, %ecx
subl %r9d, %ecx
imull $0xfffd, %r9d, %edx     # imm = 0xFFFD
subl %ebx, %edx
leal (,%r9,4), %eax
movl %r10d, %esi
subl %eax, %esi
imull $0xfffb, %r9d, %eax     # imm = 0xFFFB
subl %ebx, %eax
imull $0xfffa, %r9d, %edi     # imm = 0xFFFA
subl %ebx, %edi
leal (,%r9,8), %r8d
vmovd %ebx, %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
imull $0xfff9, %r9d, %r8d     # imm = 0xFFF9
subl %ebx, %r8d
vmovd %r8d, %xmm4
vmovd %edi, %xmm5
vmovd %ebp, %xmm3
vpbroadcastw %xmm3, %ymm3
vpcmpeqd %ymm7, %ymm7, %ymm7
vpaddsw %ymm7, %ymm3, %ymm3
vmovdqu %ymm3, 0x250(%rsp)
movq 0x80(%rsp), %r8
vmovd %r8d, %xmm3
vpbroadcastw %xmm3, %ymm3
vpaddsw %ymm7, %ymm3, %ymm3
vmovdqu %ymm3, 0x290(%rsp)
vpmovsxbd 0xce347(%rip), %ymm3 # 0x5cbc64
vpermd %ymm0, %ymm3, %ymm0
vmovd %eax, %xmm7
leal 0xf(%r8), %eax
leal -0x1(%rbp), %edi
movl %edi, 0x4(%rsp)
vmovdqu 0x190(%rsp), %ymm3
vpsubd %ymm0, %ymm3, %ymm8
vmovd %esi, %xmm9
leal -0x1(%r8), %esi
movl %esi, 0x14(%rsp)
movl 0x18(%rsp), %ebp
addl $0xffff8001, %ebp       # imm = 0xFFFF8001
vpbroadcastw %xmm4, %ymm0
vpbroadcastw %xmm5, %ymm4
vpblendw $0x2, %ymm4, %ymm0, %ymm5 # ymm5 = ymm0[0],ymm4[1],ymm0[2,3,4,5,6,7,8],ymm4[9],ymm0[10,11,12,13,14,15]
vmovd %ebp, %xmm0
vpbroadcastw %xmm0, %ymm0
vpbroadcastw %xmm1, %ymm11
vpbroadcastw %xmm2, %ymm4
vpbroadcastw %xmm7, %ymm1
vpblendw $0x4, %ymm1, %ymm5, %ymm1 # ymm1 = ymm5[0,1],ymm1[2],ymm5[3,4,5,6,7,8,9],ymm1[10],ymm5[11,12,13,14,15]
vmovd %r9d, %xmm2
vpbroadcastw %xmm2, %ymm5
vpbroadcastw %xmm6, %ymm2
vmovdqu %ymm2, 0x230(%rsp)
vpbroadcastw %xmm9, %ymm2
vpblendw $0x8, %ymm2, %ymm1, %ymm1 # ymm1 = ymm1[0,1,2],ymm2[3],ymm1[4,5,6,7,8,9,10],ymm2[11],ymm1[12,13,14,15]
vmovd %edx, %xmm2
movl %r10d, %edx
subl %r9d, %edx
vpshufb 0xce208(%rip), %ymm8, %ymm6 # 0x5cbbc0
vpermq $0xe8, %ymm6, %ymm6     # ymm6 = ymm6[0,2,2,3]
vpbroadcastw %xmm2, %ymm2
vpblendw $0x10, %ymm2, %ymm1, %ymm1 # ymm1 = ymm1[0,1,2,3],ymm2[4],ymm1[5,6,7,8,9,10,11],ymm2[12],ymm1[13,14,15]
vmovd %ecx, %xmm2
vpbroadcastw %xmm2, %ymm2
vpblendw $0x20, %ymm2, %ymm1, %ymm1 # ymm1 = ymm1[0,1,2,3,4],ymm2[5],ymm1[6,7,8,9,10,11,12],ymm2[13],ymm1[14,15]
vmovd %edx, %xmm2
vpbroadcastw %xmm2, %ymm2
vpblendw $0x40, %ymm2, %ymm1, %ymm1 # ymm1 = ymm1[0,1,2,3,4,5],ymm2[6],ymm1[7,8,9,10,11,12,13],ymm2[14],ymm1[15]
vmovd %r10d, %xmm2
vpbroadcastw %xmm2, %ymm2
vpblendw $0x80, %ymm2, %ymm1, %ymm1 # ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7],ymm1[8,9,10,11,12,13,14],ymm2[15]
vpblendd $0xf0, %ymm1, %ymm6, %ymm1 # ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
vmovdqu %ymm1, 0x1d0(%rsp)
movl %r8d, %edx
movq 0x2f0(%rsp), %rcx
movq 0x10(%rcx), %rcx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0x4fda30
movzbl (%r11,%rsi), %edi
movzwl (%rcx,%rdi,4), %edi
movw %di, 0x1e(%r15,%rsi,2)
incq %rsi
jmp 0x4fda17
xorl %ecx, %ecx
movq 0xb8(%rsp), %rdi
cmpq $0xf, %rcx
je 0x4fda4b
andw $0x0, (%r15,%rcx,2)
incq %rcx
jmp 0x4fda3a
movq %rdx, %rcx
cmpl %ecx, %eax
jle 0x4fda5e
andw $0x0, 0x1e(%r15,%rcx,2)
incq %rcx
jmp 0x4fda4e
xorl %ecx, %ecx
movl 0x1c(%rsp), %esi
movq 0x70(%rsp), %r8
cmpq %rcx, %rdx
je 0x4fda85
movw %si, 0x1e(%rdi,%rcx,2)
subl 0x90(%rsp), %esi
movw %bp, 0x1e(%r8,%rcx,2)
incq %rcx
jmp 0x4fda69
xorl %ecx, %ecx
movq 0x70(%rsp), %rsi
cmpq $0xf, %rcx
je 0x4fda9f
movw %bp, (%rdi,%rcx,2)
movw %bp, (%rsi,%rcx,2)
incq %rcx
jmp 0x4fda8c
movq %rdx, %rcx
movq 0x70(%rsp), %rsi
cmpl %ecx, %eax
jle 0x4fdaba
movw %bp, 0x1e(%rdi,%rcx,2)
movw %bp, 0x1e(%rsi,%rcx,2)
incq %rcx
jmp 0x4fdaa7
movl %ebp, 0x18(%rsp)
andw $0x0, 0x1c(%rdi)
vextracti128 $0x1, %ymm0, %xmm1
vpalignr $0x2, %ymm0, %ymm1, %ymm1 # ymm1 = ymm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],ymm1[0,1],ymm0[18,19,20,21,22,23,24,25,26,27,28,29,30,31],ymm1[16,17]
vmovdqu %ymm1, 0x210(%rsp)
movl 0x14(%rsp), %ecx
movq %rcx, 0x178(%rsp)
movl %eax, %ecx
sarl $0x1f, %ecx
andnl %eax, %ecx, %eax
movq %rax, 0x188(%rsp)
movl 0x4(%rsp), %r8d
leaq 0xe(%rdx), %rax
movq %rax, 0x170(%rsp)
leaq 0xd(%rdx), %rax
movq %rax, 0x168(%rsp)
leaq 0xc(%rdx), %rax
movq %rax, 0x160(%rsp)
leaq 0xb(%rdx), %rax
movq %rax, 0x158(%rsp)
leaq 0xa(%rdx), %rax
movq %rax, 0x150(%rsp)
leaq 0x9(%rdx), %rax
movq %rax, 0x148(%rsp)
leaq 0x8(%rdx), %rax
movq %rax, 0x140(%rsp)
leaq 0x7(%rdx), %rax
movq %rax, 0x138(%rsp)
leaq 0x6(%rdx), %rax
movq %rax, 0x130(%rsp)
leaq 0x5(%rdx), %rax
movq %rax, 0x128(%rsp)
leaq 0x4(%rdx), %rax
movq %rax, 0x120(%rsp)
leaq 0x3(%rdx), %rax
movq %rax, 0x118(%rsp)
vpmovsxbw 0xce0e0(%rip), %ymm6 # 0x5cbc74
vmovdqa %ymm0, %ymm10
vmovdqu %ymm0, 0x1b0(%rsp)
vmovdqu %ymm11, 0x1f0(%rsp)
leaq 0x2(%rdx), %rax
movq %rax, 0x110(%rsp)
leaq 0x1(%rdx), %rax
movq %rax, 0x108(%rsp)
xorl %edi, %edi
movq 0x2f0(%rsp), %rax
cmpq %r14, %rdi
jge 0x4fe876
cmpl $0x0, 0x30(%rax)
movq %rdi, 0xf0(%rsp)
je 0x4fdd5e
movq %rdi, %rsi
orq $0x1, %rsi
cmpq %r14, %rsi
movl 0x4(%rsp), %ecx
movl %ecx, %r10d
movq %rsi, 0x190(%rsp)
cmovll %esi, %r10d
movl %r10d, 0x48(%rsp)
movq %rdi, %rsi
orq $0x2, %rsi
cmpq %r14, %rsi
movq %rsi, 0x88(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x40(%rsp)
movq %rdi, %rsi
orq $0x3, %rsi
cmpq %r14, %rsi
movq %rsi, 0x8(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x50(%rsp)
movq %rdi, %rsi
orq $0x4, %rsi
cmpq %r14, %rsi
movq %rsi, 0x80(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x38(%rsp)
movq %rdi, %rsi
orq $0x5, %rsi
cmpq %r14, %rsi
movq %rsi, 0x78(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x58(%rsp)
movq %rdi, %rsi
orq $0x6, %rsi
cmpq %r14, %rsi
movq %rsi, 0xd8(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x30(%rsp)
movq %rdi, %rsi
orq $0x7, %rsi
cmpq %r14, %rsi
movq %rsi, 0xd0(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x60(%rsp)
movq %rdi, %rsi
orq $0x8, %rsi
cmpq %r14, %rsi
movq %rsi, 0xc8(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x28(%rsp)
movq %rdi, %rsi
orq $0x9, %rsi
cmpq %r14, %rsi
movq %rsi, 0xc0(%rsp)
movl %esi, %eax
cmovgel %ecx, %eax
movl %eax, 0x68(%rsp)
movq %rdi, %r13
orq $0xa, %r13
cmpq %r14, %r13
movl %r13d, %eax
cmovgel %ecx, %eax
movl %eax, 0x20(%rsp)
movq %rdi, %r12
orq $0xb, %r12
cmpq %r14, %r12
movl %r12d, %ebp
cmovgel %ecx, %ebp
movq %rdi, %rbx
orq $0xc, %rbx
cmpq %r14, %rbx
movl %ebx, %eax
cmovgel %ecx, %eax
movl %eax, 0xb0(%rsp)
movq %rdi, %rsi
orq $0xd, %rsi
cmpq %r14, %rsi
movl %esi, %eax
cmovgel %ecx, %eax
movq %rdi, %r9
orq $0xe, %r9
cmpq %r14, %r9
movl %r9d, %r10d
cmovgel %ecx, %r10d
movl %r10d, 0xa8(%rsp)
movq %rdi, %r10
orq $0xf, %r10
cmpq %r14, %r10
movl %r10d, %r11d
cmovgel %ecx, %r11d
movl %r11d, 0xa0(%rsp)
movl %edi, %r11d
jmp 0x4fdeb2
movq %rdi, %rcx
orq $0x1, %rcx
movq %rcx, 0x190(%rsp)
movq %rdi, %rcx
orq $0x2, %rcx
movq %rcx, 0x88(%rsp)
movq %rdi, %rcx
orq $0x3, %rcx
movq %rcx, 0x8(%rsp)
movq %rdi, %rcx
orq $0x4, %rcx
movq %rcx, 0x80(%rsp)
movq %rdi, %rcx
orq $0x5, %rcx
movq %rcx, 0x78(%rsp)
movq %rdi, %rcx
orq $0x6, %rcx
movq %rcx, 0xd8(%rsp)
movq %rdi, %rcx
orq $0x7, %rcx
movq %rcx, 0xd0(%rsp)
movq %rdi, %rcx
orq $0x8, %rcx
movq %rcx, 0xc8(%rsp)
movq %rdi, %rcx
orq $0x9, %rcx
movq %rcx, 0xc0(%rsp)
movq %rdi, %r13
orq $0xa, %r13
movq %rdi, %r12
orq $0xb, %r12
movq %rdi, %rbx
orq $0xc, %rbx
movq %rdi, %rsi
orq $0xd, %rsi
movq %rdi, %r9
orq $0xe, %r9
movq %rdi, %r10
orq $0xf, %r10
movq 0xe0(%rsp), %rcx
movswl (%rcx,%rdi,2), %eax
movl %eax, 0x98(%rsp)
movswl 0x2(%rcx,%rdi,2), %r11d
movl %r11d, 0x48(%rsp)
movswl 0x4(%rcx,%rdi,2), %eax
movl %eax, 0x40(%rsp)
movswl 0x6(%rcx,%rdi,2), %eax
movl %eax, 0x50(%rsp)
movswl 0x8(%rcx,%rdi,2), %eax
movl %eax, 0x38(%rsp)
movswl 0xa(%rcx,%rdi,2), %eax
movl %eax, 0x58(%rsp)
movswl 0xc(%rcx,%rdi,2), %eax
movl %eax, 0x30(%rsp)
movswl 0xe(%rcx,%rdi,2), %eax
movl %eax, 0x60(%rsp)
movswl 0x10(%rcx,%rdi,2), %eax
movl %eax, 0x28(%rsp)
movswl 0x12(%rcx,%rdi,2), %eax
movl %eax, 0x68(%rsp)
movswl 0x14(%rcx,%rdi,2), %eax
movl %eax, 0x20(%rsp)
movswl 0x16(%rcx,%rdi,2), %r11d
movswl 0x18(%rcx,%rdi,2), %eax
movl %eax, 0xb0(%rsp)
movswl 0x1a(%rcx,%rdi,2), %eax
movswl 0x1c(%rcx,%rdi,2), %ebp
movl %ebp, 0xa8(%rsp)
movl %r11d, %ebp
movl 0x98(%rsp), %r11d
movswl 0x1e(%rcx,%rdi,2), %ecx
movl %ecx, 0xa0(%rsp)
movq 0x2f0(%rsp), %rcx
movl 0x18(%rcx), %ecx
imull %ecx, %eax
imull %ecx, %ebp
movl %ebp, 0xe8(%rsp)
movl 0x68(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x68(%rsp)
movl 0x60(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x60(%rsp)
movl 0x58(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x58(%rsp)
movl 0x50(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x50(%rsp)
movl 0x48(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x48(%rsp)
imull %ecx, %r11d
movl %r11d, 0x98(%rsp)
movl 0x40(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x40(%rsp)
movl 0x38(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x38(%rsp)
movl 0x30(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x30(%rsp)
movl 0x28(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x28(%rsp)
movl 0x20(%rsp), %edi
imull %ecx, %edi
movl %edi, 0x20(%rsp)
movl 0xb0(%rsp), %ebp
imull %ecx, %ebp
movl 0xa8(%rsp), %r11d
imull %ecx, %r11d
movl 0xa0(%rsp), %edi
imull %ecx, %edi
cltq
movq 0x2f0(%rsp), %rcx
movq 0x8(%rcx), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0xb0(%rsp)
movslq 0xe8(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0xa8(%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 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 0x98(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x98(%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 0x20(%rsp), %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x20(%rsp)
movslq %ebp, %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0xa0(%rsp)
movslq %r11d, %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0xe8(%rsp)
movslq %edi, %rax
leaq (%rcx,%rax,4), %rax
movq %rax, 0x180(%rsp)
movq 0xf0(%rsp), %rbp
movl %ebp, %eax
movq 0x90(%rsp), %rdi
imull %edi, %eax
movl 0x1c(%rsp), %r11d
movl %r11d, %ecx
subl %eax, %ecx
vmovd %ecx, %xmm1
leaq 0x10(%rbp), %rax
movq %rax, 0x100(%rsp)
imull %edi, %eax
movl %r11d, %ecx
subl %eax, %ecx
movq 0xb8(%rsp), %rdi
vpbroadcastw 0x1c(%rdi), %ymm2
movw %cx, 0x1c(%rdi)
vmovdqu 0x210(%rsp), %ymm3
vpblendw $0x80, %ymm2, %ymm3, %ymm2 # ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7],ymm3[8,9,10,11,12,13,14],ymm2[15]
vpblendd $0xf0, %ymm2, %ymm3, %ymm8 # ymm8 = ymm3[0,1,2,3],ymm2[4,5,6,7]
vpbroadcastw %xmm1, %ymm1
vpblendw $0x80, %ymm1, %ymm3, %ymm1 # ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7],ymm3[8,9,10,11,12,13,14],ymm1[15]
vpblendd $0xf0, %ymm1, %ymm3, %ymm1 # ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
vmovdqu %ymm6, 0x270(%rsp)
vpcmpeqw 0x250(%rsp), %ymm6, %ymm15
vmovdqa %ymm0, %ymm12
vmovdqa %ymm0, %ymm6
vpmovsxbw 0xcdb93(%rip), %ymm13 # 0x5cbc84
xorl %r11d, %r11d
cmpq %r11, 0x188(%rsp)
je 0x4fe838
movswq 0x10(%r15,%r11,2), %rax
movq 0x60(%rsp), %rcx
vmovd (%rcx,%rax,4), %xmm2
movswq 0x12(%r15,%r11,2), %rax
movq 0x30(%rsp), %rcx
vpinsrw $0x1, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x14(%r15,%r11,2), %rax
movq 0x58(%rsp), %rcx
vpinsrw $0x2, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x16(%r15,%r11,2), %rax
movq 0x38(%rsp), %rcx
vpinsrw $0x3, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x18(%r15,%r11,2), %rax
movq 0x50(%rsp), %rcx
vpinsrw $0x4, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x1a(%r15,%r11,2), %rax
movq 0x40(%rsp), %rcx
vpinsrw $0x5, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x1c(%r15,%r11,2), %rax
movq 0x48(%rsp), %rcx
vpinsrw $0x6, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x1e(%r15,%r11,2), %rax
movq 0x98(%rsp), %rcx
vpinsrw $0x7, (%rcx,%rax,4), %xmm2, %xmm14
movswq (%r15,%r11,2), %rax
movq 0x180(%rsp), %rcx
vmovd (%rcx,%rax,4), %xmm2
movswq 0x2(%r15,%r11,2), %rax
movq 0xe8(%rsp), %rcx
vpinsrw $0x1, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x4(%r15,%r11,2), %rax
movq 0xb0(%rsp), %rcx
vpinsrw $0x2, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x6(%r15,%r11,2), %rax
movq 0xa0(%rsp), %rcx
vpinsrw $0x3, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0x8(%r15,%r11,2), %rax
movq 0xa8(%rsp), %rcx
vpinsrw $0x4, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0xa(%r15,%r11,2), %rax
movq 0x20(%rsp), %rcx
vpinsrw $0x5, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0xc(%r15,%r11,2), %rax
movq 0x68(%rsp), %rcx
vpinsrw $0x6, (%rcx,%rax,4), %xmm2, %xmm2
movswq 0xe(%r15,%r11,2), %rax
movq 0x28(%rsp), %rcx
vpinsrw $0x7, (%rcx,%rax,4), %xmm2, %xmm3
vextracti128 $0x1, %ymm1, %xmm2
vpalignr $0x2, %ymm1, %ymm2, %ymm2 # ymm2 = ymm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],ymm2[0,1],ymm1[18,19,20,21,22,23,24,25,26,27,28,29,30,31],ymm2[16,17]
vpbroadcastw 0x1e(%rdi,%r11,2), %ymm7
vpblendw $0x80, %ymm7, %ymm2, %ymm7 # ymm7 = ymm2[0,1,2,3,4,5,6],ymm7[7],ymm2[8,9,10,11,12,13,14],ymm7[15]
vpblendd $0xf0, %ymm7, %ymm2, %ymm2 # ymm2 = ymm2[0,1,2,3],ymm7[4,5,6,7]
movq 0x70(%rsp), %rax
vpbroadcastw 0x1e(%rax,%r11,2), %ymm7
vextracti128 $0x1, %ymm6, %xmm9
vpalignr $0x2, %ymm6, %ymm9, %ymm6 # ymm6 = ymm6[2,3,4,5,6,7,8,9,10,11,12,13,14,15],ymm9[0,1],ymm6[18,19,20,21,22,23,24,25,26,27,28,29,30,31],ymm9[16,17]
vpblendw $0x80, %ymm7, %ymm6, %ymm7 # ymm7 = ymm6[0,1,2,3,4,5,6],ymm7[7],ymm6[8,9,10,11,12,13,14],ymm7[15]
vpblendd $0xf0, %ymm7, %ymm6, %ymm6 # ymm6 = ymm6[0,1,2,3],ymm7[4,5,6,7]
vpsubsw %ymm4, %ymm2, %ymm7
vpsubsw %ymm5, %ymm6, %ymm6
vpmaxsw %ymm6, %ymm7, %ymm6
vpsubsw %ymm4, %ymm1, %ymm1
vpsubsw %ymm5, %ymm12, %ymm7
vpmaxsw %ymm7, %ymm1, %ymm12
cmpq %r8, 0xf0(%rsp)
setne %al
vinserti128 $0x1, %xmm14, %ymm3, %ymm1
vpaddsw %ymm1, %ymm8, %ymm1
vpmaxsw %ymm6, %ymm12, %ymm3
vpmaxsw %ymm3, %ymm1, %ymm1
vpcmpeqw 0xcd7df(%rip), %ymm13, %ymm8 # 0x5cba80
vpblendvb %ymm8, 0x1d0(%rsp), %ymm1, %ymm1
cmpq $0x10, %r11
jb 0x4fe2cc
vpminsw %ymm1, %ymm11, %ymm11
vmovdqu 0x1b0(%rsp), %ymm3
vpmaxsw %ymm1, %ymm3, %ymm3
vmovdqu %ymm3, 0x1b0(%rsp)
movq 0xf8(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq (%rcx), %rbp
movq 0x8(%rcx), %rcx
cmpq %rdx, %r11
setae %dil
orb %dil, %al
vextracti128 $0x1, %ymm1, %xmm14
jne 0x4fe2fd
vpextrw $0x7, %xmm14, %eax
cwtl
movl %eax, (%rbp,%r11,4)
cmpq %r11, 0x178(%rsp)
jne 0x4fe319
vpextrw $0x7, %xmm14, %eax
cwtl
movq 0xf0(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0x190(%rsp)
setne %al
leaq -0x1(%r11), %rdi
cmpq %rdx, %rdi
setae %dil
orb %al, %dil
jne 0x4fe340
vpextrw $0x6, %xmm14, %eax
cwtl
movl %eax, -0x4(%rbp,%r11,4)
cmpq %r14, 0x190(%rsp)
setge %al
cmpq %r11, %rdx
setne %dil
orb %al, %dil
jne 0x4fe369
vpextrw $0x6, %xmm14, %eax
cwtl
movq 0x190(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0x88(%rsp)
jne 0x4fe398
leaq -0x2(%r11), %rax
cmpq $0x2, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe398
vpextrw $0x5, %xmm14, %eax
cwtl
movl %eax, -0x8(%rbp,%r11,4)
cmpq %r14, 0x88(%rsp)
setge %al
cmpq %r11, 0x108(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe3c6
vpextrw $0x5, %xmm14, %eax
cwtl
movq 0x88(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0x8(%rsp)
jne 0x4fe3f2
leaq -0x3(%r11), %rax
cmpq $0x3, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe3f2
vpextrw $0x4, %xmm14, %eax
cwtl
movl %eax, -0xc(%rbp,%r11,4)
cmpq %r14, 0x8(%rsp)
setge %al
cmpq %r11, 0x110(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe41a
vpextrw $0x4, %xmm14, %eax
cwtl
movq 0x8(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0x80(%rsp)
jne 0x4fe449
leaq -0x4(%r11), %rax
cmpq $0x4, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe449
vpextrw $0x3, %xmm14, %eax
cwtl
movl %eax, -0x10(%rbp,%r11,4)
cmpq %r14, 0x80(%rsp)
setge %al
cmpq %r11, 0x118(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe477
vpextrw $0x3, %xmm14, %eax
cwtl
movq 0x80(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0x78(%rsp)
jne 0x4fe4a3
leaq -0x5(%r11), %rax
cmpq $0x5, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe4a3
vpextrw $0x2, %xmm14, %eax
cwtl
movl %eax, -0x14(%rbp,%r11,4)
cmpq %r14, 0x78(%rsp)
setge %al
cmpq %r11, 0x120(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe4cb
vpextrw $0x2, %xmm14, %eax
cwtl
movq 0x78(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0xd8(%rsp)
jne 0x4fe4fa
leaq -0x6(%r11), %rax
cmpq $0x6, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe4fa
vpextrw $0x1, %xmm14, %eax
cwtl
movl %eax, -0x18(%rbp,%r11,4)
cmpq %r14, 0xd8(%rsp)
setge %al
cmpq %r11, 0x128(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe528
vpextrw $0x1, %xmm14, %eax
cwtl
movq 0xd8(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0xd0(%rsp)
jne 0x4fe555
leaq -0x7(%r11), %rax
cmpq $0x7, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe555
vmovd %xmm14, %eax
cwtl
movl %eax, -0x1c(%rbp,%r11,4)
cmpq %r14, 0xd0(%rsp)
setge %al
cmpq %r11, 0x130(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe581
vmovd %xmm14, %eax
cwtl
movq 0xd0(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0xc8(%rsp)
jne 0x4fe5af
leaq -0x8(%r11), %rax
cmpq $0x8, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe5af
vpextrw $0x7, %xmm1, %eax
cwtl
movl %eax, -0x20(%rbp,%r11,4)
cmpq %r14, 0xc8(%rsp)
setge %al
cmpq %r11, 0x138(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe5dc
vpextrw $0x7, %xmm1, %eax
cwtl
movq 0xc8(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, 0xc0(%rsp)
jne 0x4fe60a
leaq -0x9(%r11), %rax
cmpq $0x9, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe60a
vpextrw $0x6, %xmm1, %eax
cwtl
movl %eax, -0x24(%rbp,%r11,4)
cmpq %r14, 0xc0(%rsp)
setge %al
cmpq %r11, 0x140(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe637
vpextrw $0x6, %xmm1, %eax
cwtl
movq 0xc0(%rsp), %rdi
movl %eax, (%rcx,%rdi,4)
cmpq %r8, %r13
jne 0x4fe660
leaq -0xa(%r11), %rax
cmpq $0xa, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe660
vpextrw $0x5, %xmm1, %eax
cwtl
movl %eax, -0x28(%rbp,%r11,4)
cmpq %r14, %r13
setge %al
cmpq %r11, 0x148(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe681
vpextrw $0x5, %xmm1, %eax
cwtl
movl %eax, (%rcx,%r13,4)
cmpq %r8, %r12
jne 0x4fe6aa
leaq -0xb(%r11), %rax
cmpq $0xb, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe6aa
vpextrw $0x4, %xmm1, %eax
cwtl
movl %eax, -0x2c(%rbp,%r11,4)
cmpq %r14, %r12
setge %al
cmpq %r11, 0x150(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe6cb
vpextrw $0x4, %xmm1, %eax
cwtl
movl %eax, (%rcx,%r12,4)
cmpq %r8, %rbx
jne 0x4fe6f4
leaq -0xc(%r11), %rax
cmpq $0xc, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe6f4
vpextrw $0x3, %xmm1, %eax
cwtl
movl %eax, -0x30(%rbp,%r11,4)
cmpq %r14, %rbx
setge %al
cmpq %r11, 0x158(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe714
vpextrw $0x3, %xmm1, %eax
cwtl
movl %eax, (%rcx,%rbx,4)
cmpq %r8, %rsi
jne 0x4fe73d
leaq -0xd(%r11), %rax
cmpq $0xd, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe73d
vpextrw $0x2, %xmm1, %eax
cwtl
movl %eax, -0x34(%rbp,%r11,4)
cmpq %r14, %rsi
setge %al
cmpq %r11, 0x160(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe75d
vpextrw $0x2, %xmm1, %eax
cwtl
movl %eax, (%rcx,%rsi,4)
cmpq %r8, %r9
jne 0x4fe786
leaq -0xe(%r11), %rax
cmpq $0xe, %r11
setae %dil
cmpq %rdx, %rax
setl %al
andb %dil, %al
cmpb $0x1, %al
jne 0x4fe786
vpextrw $0x1, %xmm1, %eax
cwtl
movl %eax, -0x38(%rbp,%r11,4)
cmpq %r14, %r9
setge %al
cmpq %r11, 0x168(%rsp)
setne %dil
orb %al, %dil
jne 0x4fe7a7
vpextrw $0x1, %xmm1, %eax
cwtl
movl %eax, (%rcx,%r9,4)
cmpq %r8, %r10
setne %al
cmpq $0xf, %r11
setb %dil
orb %al, %dil
jne 0x4fe7c4
vmovd %xmm1, %eax
cwtl
movl %eax, -0x3c(%rbp,%r11,4)
cmpq %r14, %r10
setge %dil
cmpq %r11, 0x170(%rsp)
setne %bpl
vmovd %xmm1, %eax
orb %dil, %bpl
jne 0x4fe7e7
movswl %ax, %edi
movl %edi, (%rcx,%r10,4)
vpblendvb %ymm8, %ymm0, %ymm6, %ymm6
vpblendvb %ymm8, %ymm0, %ymm12, %ymm12
movq 0xb8(%rsp), %rdi
movw %ax, (%rdi,%r11,2)
movq 0x70(%rsp), %rax
vpextrw $0x0, %xmm6, (%rax,%r11,2)
vpcmpeqw 0x290(%rsp), %ymm13, %ymm3
vpand %ymm3, %ymm15, %ymm3
vpbroadcastw 0xce874(%rip), %ymm7 # 0x5cd096
vpblendvb %ymm3, %ymm1, %ymm10, %ymm10
vpaddsw %ymm7, %ymm13, %ymm13
incq %r11
vmovdqa %ymm2, %ymm8
jmp 0x4fe0f4
vpbroadcastw 0xce857(%rip), %ymm1 # 0x5cd098
vmovdqu 0x270(%rsp), %ymm6
vpaddsw %ymm1, %ymm6, %ymm6
vmovdqu 0x1d0(%rsp), %ymm1
vpsubsw 0x230(%rsp), %ymm1, %ymm1
vmovdqu %ymm1, 0x1d0(%rsp)
movq 0x100(%rsp), %rdi
jmp 0x4fdbc4
pushq $0x10
popq %rax
movq 0xf8(%rsp), %rbx
movl 0x18(%rsp), %edx
subl $0x1, %eax
jb 0x4fe8ab
vextracti128 $0x1, %ymm10, %xmm1
vpextrw $0x7, %xmm1, %ecx
cmpw %dx, %cx
cmovlel %edx, %ecx
vperm2i128 $0x28, %ymm10, %ymm10, %ymm1 # ymm1 = zero,zero,ymm10[0,1]
vpalignr $0xe, %ymm1, %ymm10, %ymm10 # ymm10 = ymm1[14,15],ymm10[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm10[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
movl %ecx, %edx
jmp 0x4fe885
vpcmpgtw %ymm11, %ymm0, %ymm0
vmovdqu 0x1b0(%rsp), %ymm1
vpcmpgtw 0x1f0(%rsp), %ymm1, %ymm1
vpor %ymm1, %ymm0, %ymm0
vpmovmskb %ymm0, %eax
testl %eax, %eax
je 0x4fe8e4
orb $0x40, 0xc(%rbx)
xorl %edx, %edx
movl $0x0, 0x14(%rsp)
movl $0x0, 0x4(%rsp)
movswl %dx, %eax
movl %eax, (%rbx)
movl 0x4(%rsp), %eax
movl %eax, 0x4(%rbx)
movl 0x14(%rsp), %eax
movl %eax, 0x8(%rbx)
movq 0x70(%rsp), %rdi
vzeroupper
callq 0x1ab763
movq 0xb8(%rsp), %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq 0x2f0(%rsp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x4fe9c8
movq 0xe0(%rsp), %rdi
callq 0x1ab763
jmp 0x4fe9c8
movq 0x23c694(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xc8dcd(%rip), %rsi     # 0x5c771b
leaq 0x87bd1(%rip), %rdx     # 0x586526
leaq 0xc8dd9(%rip), %rcx     # 0x5c7735
jmp 0x4fe9bf
movq 0x23c673(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xc867c(%rip), %rsi     # 0x5c6feb
leaq 0x87bb0(%rip), %rdx     # 0x586526
leaq 0xc8fc5(%rip), %rcx     # 0x5c7942
jmp 0x4fe9bf
movq 0x23c652(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xc865b(%rip), %rsi     # 0x5c6feb
leaq 0x87b8f(%rip), %rdx     # 0x586526
leaq 0xc8d9b(%rip), %rcx     # 0x5c7739
jmp 0x4fe9bf
movq 0x23c631(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xc8d50(%rip), %rsi     # 0x5c7701
leaq 0x87b6e(%rip), %rdx     # 0x586526
leaq 0xc8d7e(%rip), %rcx     # 0x5c773d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x19e180
movq %rbx, %rax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)