// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_trace_diag_avx2_256_16.c
// Function: parasail_nw_trace_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_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 s1Len = 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;
    __m256i vTDiag;
    __m256i vTIns;
    __m256i vTDel;
    __m256i vTDiagE;
    __m256i vTInsE;
    __m256i vTDiagF;
    __m256i 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 ? 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);
    vTDiag = _mm256_set1_epi16(PARASAIL_DIAG);
    vTIns = _mm256_set1_epi16(PARASAIL_INS);
    vTDel = _mm256_set1_epi16(PARASAIL_DEL);
    vTDiagE = _mm256_set1_epi16(PARASAIL_DIAG_E);
    vTInsE = _mm256_set1_epi16(PARASAIL_INS_E);
    vTDiagF = _mm256_set1_epi16(PARASAIL_DIAG_F);
    vTDelF = _mm256_set1_epi16(PARASAIL_DEL_F);

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

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

    /* 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 vE_opn = vNegInf;
        __m256i vE_ext = vNegInf;
        __m256i vF = vNegInf;
        __m256i vF_opn = vNegInf;
        __m256i vF_ext = 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_opn = _mm256_subs_epi16(vNH, vOpen);
            vF_ext = _mm256_subs_epi16(vF, vGap);
            vF = _mm256_max_epi16(vF_opn, vF_ext);
            vE_opn = _mm256_subs_epi16(vWH, vOpen);
            vE_ext = _mm256_subs_epi16(vE, vGap);
            vE = _mm256_max_epi16(vE_opn, vE_ext);
            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);
            }
            /* trace table */
            {
                __m256i case1 = _mm256_cmpeq_epi16(vWH, vNWH);
                __m256i case2 = _mm256_cmpeq_epi16(vWH, vF);
                __m256i vT = _mm256_blendv_epi8(
                        _mm256_blendv_epi8(vTIns, vTDel, case2),
                        vTDiag,
                        case1);
                __m256i condE = _mm256_cmpgt_epi16(vE_opn, vE_ext);
                __m256i condF = _mm256_cmpgt_epi16(vF_opn, vF_ext);
                __m256i vET = _mm256_blendv_epi8(vTInsE, vTDiagE, condE);
                __m256i vFT = _mm256_blendv_epi8(vTDelF, vTDiagF, condF);
                vT = _mm256_or_si256(vT, vET);
                vT = _mm256_or_si256(vT, vFT);
                arr_store_si256(result->trace->trace_table, vT, i, s1Len, j, s2Len);
            }
            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 $0x368, %rsp            # imm = 0x368
movq %r9, 0x20(%rsp)
testq %rdx, %rdx
je 0x553ef4
movl %ecx, %r15d
testl %ecx, %ecx
jle 0x553f18
movl %r8d, %r13d
testl %r8d, %r8d
js 0x553f3c
cmpl $0x0, 0x20(%rsp)
js 0x553f80
movq 0x3a0(%rsp), %rcx
testq %rcx, %rcx
je 0x553fa1
movq %rdx, %r14
cmpl $0x0, 0x30(%rcx)
je 0x552c95
movl 0x34(%rcx), %r12d
jmp 0x552ca9
testq %rdi, %rdi
je 0x553fc2
movl %esi, %r12d
testl %esi, %esi
jle 0x553fe3
movq %rdi, 0x1e0(%rsp)
vmovd 0x20(%rsp), %xmm0
vpinsrd $0x1, %r13d, %xmm0, %xmm0
vpmovsxbd 0x78f9e(%rip), %ymm1 # 0x5cbc64
vpermd %ymm0, %ymm1, %ymm0
vpmulld 0x78ecc(%rip), %ymm0, %ymm0 # 0x5cbba0
movl 0x20(%rcx), %eax
vmovdqu %ymm0, 0x150(%rsp)
vextracti128 $0x1, %ymm0, %xmm0
vpextrd $0x3, %xmm0, %edx
movl %eax, %ebp
negl %ebp
movl %edx, 0xc(%rsp)
cmpl %edx, %eax
cmovgl %r13d, %ebp
movw $0x7ffe, %bx            # imm = 0x7FFE
subw 0x1c(%rcx), %bx
pushq $0x20
popq %rdx
pushq $0x1
popq %rcx
movl %r12d, %edi
movl %r15d, %esi
vzeroupper
callq 0x1abb59
testq %rax, %rax
je 0x552d88
movl %r13d, 0x30(%rsp)
movq %r12, 0x40(%rsp)
movq %r14, 0x10(%rsp)
movq %rax, 0x148(%rsp)
orl $0x10281001, 0xc(%rax)  # imm = 0x10281001
movq %r15, 0x38(%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
movq %rax, %rdx
testq %r15, %r15
sete %al
testq %r12, %r12
sete %cl
orb %al, %cl
testq %rdx, %rdx
sete %al
orb %cl, %al
je 0x552d8f
xorl %ebx, %ebx
jmp 0x55400b
movq 0x3a0(%rsp), %rax
cmpl $0x0, 0x30(%rax)
movq 0x40(%rsp), %r13
movslq %r13d, %r14
movq %r12, 0x90(%rsp)
movq %rdx, 0xe0(%rsp)
je 0x553e85
movq $0x0, 0x18(%rsp)
movq 0x10(%rsp), %r11
vmovd %ebx, %xmm0
movl 0x30(%rsp), %ebx
vmovd %ebx, %xmm1
movq 0x20(%rsp), %r9
movl %r9d, %eax
shll $0x4, %eax
vmovd %eax, %xmm2
movl 0xc(%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, %xmm3
vpinsrd $0x1, %r8d, %xmm3, %xmm3
imull $0xfff9, %r9d, %r8d     # imm = 0xFFF9
subl %ebx, %r8d
vmovd %r8d, %xmm4
vmovd %edi, %xmm5
vmovd %r13d, %xmm6
vpbroadcastw %xmm6, %ymm6
vpcmpeqd %ymm7, %ymm7, %ymm7
vpaddsw %ymm7, %ymm6, %ymm6
vmovdqu %ymm6, 0x2c0(%rsp)
movq 0x38(%rsp), %r8
vmovd %r8d, %xmm6
vpbroadcastw %xmm6, %ymm6
vpaddsw %ymm7, %ymm6, %ymm6
vmovdqu %ymm6, 0x340(%rsp)
vpmovsxbd 0x78de7(%rip), %ymm6 # 0x5cbc64
vpermd %ymm3, %ymm6, %ymm3
vmovd %eax, %xmm6
leal 0xf(%r8), %eax
leal -0x1(%r13), %edi
movl %edi, 0x8(%rsp)
vmovdqu 0x150(%rsp), %ymm7
vpsubd %ymm3, %ymm7, %ymm3
vmovd %esi, %xmm7
leal -0x1(%r8), %esi
movl %esi, 0x128(%rsp)
addl $0xffff8001, %ebp       # imm = 0xFFFF8001
vpbroadcastw %xmm4, %ymm4
vpbroadcastw %xmm5, %ymm5
vpblendw $0x2, %ymm5, %ymm4, %ymm4 # ymm4 = ymm4[0],ymm5[1],ymm4[2,3,4,5,6,7,8],ymm5[9],ymm4[10,11,12,13,14,15]
vmovd %ebp, %xmm5
vpbroadcastw %xmm5, %ymm5
vpbroadcastw %xmm0, %ymm0
vmovdqu %ymm0, 0x260(%rsp)
vpbroadcastw %xmm1, %ymm0
vmovdqu %ymm0, 0x320(%rsp)
vpbroadcastw %xmm6, %ymm0
vpblendw $0x4, %ymm0, %ymm4, %ymm0 # ymm0 = ymm4[0,1],ymm0[2],ymm4[3,4,5,6,7,8,9],ymm0[10],ymm4[11,12,13,14,15]
vmovd %r9d, %xmm1
vpbroadcastw %xmm1, %ymm1
vmovdqu %ymm1, 0x300(%rsp)
vpbroadcastw %xmm2, %ymm1
vmovdqu %ymm1, 0x2a0(%rsp)
vpbroadcastw %xmm7, %ymm1
vpblendw $0x8, %ymm1, %ymm0, %ymm0 # ymm0 = ymm0[0,1,2],ymm1[3],ymm0[4,5,6,7,8,9,10],ymm1[11],ymm0[12,13,14,15]
vmovd %edx, %xmm1
movl %r10d, %edx
subl %r9d, %edx
vpshufb 0x78c8d(%rip), %ymm3, %ymm2 # 0x5cbbc0
vpermq $0xe8, %ymm2, %ymm2     # ymm2 = ymm2[0,2,2,3]
vpbroadcastw %xmm1, %ymm1
vpblendw $0x10, %ymm1, %ymm0, %ymm0 # ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5,6,7,8,9,10,11],ymm1[12],ymm0[13,14,15]
vmovd %ecx, %xmm1
vpbroadcastw %xmm1, %ymm1
vpblendw $0x20, %ymm1, %ymm0, %ymm0 # ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7,8,9,10,11,12],ymm1[13],ymm0[14,15]
vmovd %edx, %xmm1
vpbroadcastw %xmm1, %ymm1
vpblendw $0x40, %ymm1, %ymm0, %ymm0 # ymm0 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7,8,9,10,11,12,13],ymm1[14],ymm0[15]
vmovd %r10d, %xmm1
vpbroadcastw %xmm1, %ymm1
vpblendw $0x80, %ymm1, %ymm0, %ymm0 # ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7],ymm0[8,9,10,11,12,13,14],ymm1[15]
vpblendd $0xf0, %ymm0, %ymm2, %ymm0 # ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
vmovdqu %ymm0, 0x1e0(%rsp)
movl %r8d, %edx
movq 0x3a0(%rsp), %r9
movq 0x10(%r9), %rcx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0x552fab
movzbl (%r11,%rsi), %edi
movzwl (%rcx,%rdi,4), %edi
movw %di, 0x1e(%r15,%rsi,2)
incq %rsi
jmp 0x552f92
xorl %ecx, %ecx
movq 0xe0(%rsp), %rdi
cmpq $0xf, %rcx
je 0x552fc6
andw $0x0, (%r15,%rcx,2)
incq %rcx
jmp 0x552fb5
movq %rdx, %rcx
cmpl %ecx, %eax
jle 0x552fd9
andw $0x0, 0x1e(%r15,%rcx,2)
incq %rcx
jmp 0x552fc9
xorl %ecx, %ecx
movl 0xc(%rsp), %esi
cmpq %rcx, %rdx
je 0x552ff8
movw %si, 0x1e(%r12,%rcx,2)
subl 0x20(%rsp), %esi
movw %bp, 0x1e(%rdi,%rcx,2)
incq %rcx
jmp 0x552fdf
xorl %ecx, %ecx
cmpq $0xf, %rcx
je 0x55300e
movw %bp, (%r12,%rcx,2)
movw %bp, (%rdi,%rcx,2)
incq %rcx
jmp 0x552ffa
movq %rdx, %rcx
cmpl %ecx, %eax
jle 0x553025
movw %bp, 0x1e(%r12,%rcx,2)
movw %bp, 0x1e(%rdi,%rcx,2)
incq %rcx
jmp 0x553011
andw $0x0, 0x1c(%r12)
vextracti128 $0x1, %ymm5, %xmm0
vpalignr $0x2, %ymm5, %ymm0, %ymm0 # ymm0 = ymm5[2,3,4,5,6,7,8,9,10,11,12,13,14,15],ymm0[0,1],ymm5[18,19,20,21,22,23,24,25,26,27,28,29,30,31],ymm0[16,17]
vmovdqu %ymm0, 0x280(%rsp)
movl %eax, %ecx
sarl $0x1f, %ecx
andnl %eax, %ecx, %eax
movq %rax, 0x1d8(%rsp)
movq %rdx, %rax
shlq $0x4, %rax
movq %rax, 0x178(%rsp)
vpmovsxbw 0x78c09(%rip), %ymm4 # 0x5cbc74
movq $0x0, 0xa8(%rsp)
xorl %r13d, %r13d
vmovdqa %ymm5, %ymm9
vmovdqu %ymm5, 0x220(%rsp)
vmovups 0x260(%rsp), %ymm0
vmovups %ymm0, 0x200(%rsp)
movl %ebp, 0x12c(%rsp)
cmpq %r14, %r13
jge 0x553dc9
cmpl $0x0, 0x30(%r9)
movq %r13, 0xa0(%rsp)
movq %r13, %rax
je 0x553235
orq $0x1, %rax
cmpq %r14, %rax
movl 0x8(%rsp), %edi
movl %edi, %ecx
movq %rax, 0x150(%rsp)
cmovll %eax, %ecx
movl %ecx, 0x88(%rsp)
movq %r13, %rax
orq $0x2, %rax
cmpq %r14, %rax
movq %rax, 0x10(%rsp)
cmovgel %edi, %eax
movl %eax, 0x80(%rsp)
movq %r13, %rax
orq $0x3, %rax
cmpq %r14, %rax
movq %rax, 0x40(%rsp)
movl %eax, %r11d
cmovgel %edi, %r11d
movq %r13, %rax
orq $0x4, %rax
cmpq %r14, %rax
movq %rax, 0x38(%rsp)
cmovgel %edi, %eax
movl %eax, 0x78(%rsp)
movq %r13, %rax
orq $0x5, %rax
cmpq %r14, %rax
movq %rax, 0x30(%rsp)
movl %eax, %r8d
cmovgel %edi, %r8d
movq %r13, %rax
orq $0x6, %rax
cmpq %r14, %rax
movq %rax, 0x28(%rsp)
cmovgel %edi, %eax
movl %eax, 0x70(%rsp)
movq %r13, %rax
orq $0x7, %rax
cmpq %r14, %rax
movq %rax, 0x120(%rsp)
movl %eax, %ebx
cmovgel %edi, %ebx
movq %r13, %rax
orq $0x8, %rax
cmpq %r14, %rax
movq %rax, 0x118(%rsp)
cmovgel %edi, %eax
movl %eax, 0x68(%rsp)
movq %r13, %rax
orq $0x9, %rax
cmpq %r14, %rax
movq %rax, 0x110(%rsp)
movl %eax, %ebp
cmovgel %edi, %ebp
movq %r13, %rax
orq $0xa, %rax
cmpq %r14, %rax
movq %rax, 0x108(%rsp)
cmovgel %edi, %eax
movl %eax, 0x60(%rsp)
movq %r13, %rax
orq $0xb, %rax
cmpq %r14, %rax
movq %rax, 0x100(%rsp)
movl %eax, %r12d
cmovgel %edi, %r12d
movq %r13, %rax
orq $0xc, %rax
cmpq %r14, %rax
movq %rax, 0xf8(%rsp)
cmovgel %edi, %eax
movl %eax, 0x58(%rsp)
movq %r13, %rcx
orq $0xd, %rcx
cmpq %r14, %rcx
movq %rcx, 0xf0(%rsp)
cmovgel %edi, %ecx
movq %r13, %rsi
orq $0xe, %rsi
cmpq %r14, %rsi
movq %rsi, 0xe8(%rsp)
movl %esi, %eax
cmovgel %edi, %eax
movl %eax, 0x50(%rsp)
movq %r13, %r10
orq $0xf, %r10
cmpq %r14, %r10
movq %r10, 0x98(%rsp)
movl %r10d, %eax
cmovgel %edi, %eax
movl %eax, 0x48(%rsp)
movl %r13d, %esi
jmp 0x553392
orq $0x1, %rax
movq %rax, 0x150(%rsp)
movq %r13, %rax
orq $0x2, %rax
movq %rax, 0x10(%rsp)
movq %r13, %rax
orq $0x3, %rax
movq %rax, 0x40(%rsp)
movq %r13, %rax
orq $0x4, %rax
movq %rax, 0x38(%rsp)
movq %r13, %rax
orq $0x5, %rax
movq %rax, 0x30(%rsp)
movq %r13, %rax
orq $0x6, %rax
movq %rax, 0x28(%rsp)
movq %r13, %rax
orq $0x7, %rax
movq %rax, 0x120(%rsp)
movq %r13, %rax
orq $0x8, %rax
movq %rax, 0x118(%rsp)
movq %r13, %rax
orq $0x9, %rax
movq %rax, 0x110(%rsp)
movq %r13, %rax
orq $0xa, %rax
movq %rax, 0x108(%rsp)
movq %r13, %rax
orq $0xb, %rax
movq %rax, 0x100(%rsp)
movq %r13, %rax
orq $0xc, %rax
movq %rax, 0xf8(%rsp)
movq %r13, %rax
orq $0xd, %rax
movq %rax, 0xf0(%rsp)
movq %r13, %rax
orq $0xe, %rax
movq %rax, 0xe8(%rsp)
movq %r13, %rax
orq $0xf, %rax
movq %rax, 0x98(%rsp)
movq 0x18(%rsp), %r10
movswl (%r10,%r13,2), %esi
movswl 0x2(%r10,%r13,2), %eax
movl %eax, 0x88(%rsp)
movswl 0x4(%r10,%r13,2), %eax
movl %eax, 0x80(%rsp)
movswl 0x6(%r10,%r13,2), %r11d
movswl 0x8(%r10,%r13,2), %eax
movl %eax, 0x78(%rsp)
movswl 0xa(%r10,%r13,2), %r8d
movswl 0xc(%r10,%r13,2), %eax
movl %eax, 0x70(%rsp)
movswl 0xe(%r10,%r13,2), %ebx
movswl 0x10(%r10,%r13,2), %eax
movl %eax, 0x68(%rsp)
movswl 0x12(%r10,%r13,2), %ebp
movswl 0x14(%r10,%r13,2), %eax
movl %eax, 0x60(%rsp)
movswl 0x16(%r10,%r13,2), %r12d
movswl 0x18(%r10,%r13,2), %eax
movl %eax, 0x58(%rsp)
movswl 0x1a(%r10,%r13,2), %ecx
movswl 0x1c(%r10,%r13,2), %eax
movl %eax, 0x50(%rsp)
movswl 0x1e(%r10,%r13,2), %eax
movl %eax, 0x48(%rsp)
movl 0x18(%r9), %r13d
imull %r13d, %ecx
imull %r13d, %r12d
movl %r12d, 0xc0(%rsp)
imull %r13d, %ebp
movl %ebp, 0xb0(%rsp)
imull %r13d, %ebx
movl %ebx, 0xc8(%rsp)
imull %r13d, %r8d
movl %r8d, 0xd8(%rsp)
imull %r13d, %r11d
movl %r11d, 0xd0(%rsp)
movq %r9, %rbx
movl 0x88(%rsp), %r12d
imull %r13d, %r12d
imull %r13d, %esi
movl %esi, 0xb8(%rsp)
movl 0x80(%rsp), %edi
imull %r13d, %edi
movl 0x78(%rsp), %r11d
imull %r13d, %r11d
movl 0x70(%rsp), %r10d
imull %r13d, %r10d
movl 0x68(%rsp), %r8d
imull %r13d, %r8d
movl 0x60(%rsp), %ebp
imull %r13d, %ebp
movl 0x58(%rsp), %eax
imull %r13d, %eax
movl 0x50(%rsp), %esi
imull %r13d, %esi
movl 0x48(%rsp), %r9d
imull %r13d, %r9d
movslq %ecx, %rcx
movq 0x8(%rbx), %rbx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x88(%rsp)
movslq 0xc0(%rsp), %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x80(%rsp)
movslq 0xb0(%rsp), %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x78(%rsp)
movslq 0xc8(%rsp), %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x70(%rsp)
movslq 0xd8(%rsp), %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x68(%rsp)
movslq 0xd0(%rsp), %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x60(%rsp)
movslq %r12d, %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x58(%rsp)
movslq 0xb8(%rsp), %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x50(%rsp)
movslq %edi, %rcx
leaq (%rbx,%rcx,4), %rcx
movq %rcx, 0x48(%rsp)
movslq %r11d, %rdi
leaq (%rbx,%rdi,4), %rcx
movq %rcx, 0xd8(%rsp)
movslq %r10d, %r12
leaq (%rbx,%r12,4), %rcx
movq %rcx, 0xd0(%rsp)
movslq %r8d, %r12
leaq (%rbx,%r12,4), %rcx
movq %rcx, 0xc8(%rsp)
movslq %ebp, %r8
leaq (%rbx,%r8,4), %rcx
movq %rcx, 0xc0(%rsp)
cltq
leaq (%rbx,%rax,4), %rax
movq %rax, 0xb8(%rsp)
movslq %esi, %rsi
leaq (%rbx,%rsi,4), %rax
movq %rax, 0xb0(%rsp)
movslq %r9d, %rsi
leaq (%rbx,%rsi,4), %rax
movq %rax, 0x1d0(%rsp)
movq 0xa0(%rsp), %rax
movl %eax, %esi
movq 0x20(%rsp), %r9
imull %r9d, %esi
movl 0xc(%rsp), %edi
movl %edi, %r10d
subl %esi, %r10d
vmovd %r10d, %xmm0
movq 0x90(%rsp), %r11
vpbroadcastw 0x1c(%r11), %ymm1
addq $0x10, %rax
movq %rax, 0xa0(%rsp)
movl %eax, %esi
imull %r9d, %esi
movl %edi, %r10d
subl %esi, %r10d
movw %r10w, 0x1c(%r11)
vmovdqu 0x280(%rsp), %ymm2
vpblendw $0x80, %ymm1, %ymm2, %ymm1 # ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7],ymm2[8,9,10,11,12,13,14],ymm1[15]
vpblendd $0xf0, %ymm1, %ymm2, %ymm3 # ymm3 = ymm2[0,1,2,3],ymm1[4,5,6,7]
vpbroadcastw %xmm0, %ymm0
vpblendw $0x80, %ymm0, %ymm2, %ymm0 # ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7],ymm2[8,9,10,11,12,13,14],ymm0[15]
vpblendd $0xf0, %ymm0, %ymm2, %ymm15 # ymm15 = ymm2[0,1,2,3],ymm0[4,5,6,7]
movq 0x150(%rsp), %rax
imulq %rdx, %rax
movq %rax, 0x140(%rsp)
movq 0x10(%rsp), %rdi
imulq %rdx, %rdi
movq 0x40(%rsp), %r9
imulq %rdx, %r9
movq 0x38(%rsp), %r10
imulq %rdx, %r10
movq 0x30(%rsp), %r12
imulq %rdx, %r12
movq 0x28(%rsp), %rbp
imulq %rdx, %rbp
movq 0x120(%rsp), %rsi
imulq %rdx, %rsi
movq 0x118(%rsp), %r8
imulq %rdx, %r8
movq 0x110(%rsp), %rax
imulq %rdx, %rax
movq %rax, 0x240(%rsp)
movq 0x108(%rsp), %rax
imulq %rdx, %rax
movq %rax, 0x138(%rsp)
movq 0x100(%rsp), %rax
imulq %rdx, %rax
movq %rax, 0x130(%rsp)
movq 0xf8(%rsp), %rcx
imulq %rdx, %rcx
movq 0xf0(%rsp), %rax
imulq %rdx, %rax
movq 0xe8(%rsp), %rbx
imulq %rdx, %rbx
movq 0x98(%rsp), %r13
imulq %rdx, %r13
addq $-0xf, %r13
addq $-0x2, %rdi
movq %rdi, 0x1c8(%rsp)
addq $-0x3, %r9
movq %r9, 0x1c0(%rsp)
addq $-0x4, %r10
movq %r10, 0x1b8(%rsp)
addq $-0x5, %r12
movq %r12, 0x1b0(%rsp)
addq $-0x6, %rbp
movq %rbp, 0x1a8(%rsp)
movq 0x240(%rsp), %rbp
addq $-0x7, %rsi
movq %rsi, 0x198(%rsp)
addq $-0x8, %r8
movq %r8, 0x188(%rsp)
addq $-0x9, %rbp
addq $-0xa, 0x138(%rsp)
addq $-0xb, 0x130(%rsp)
addq $-0xc, %rcx
movq %rcx, 0x1a0(%rsp)
addq $-0xd, %rax
movq %rax, 0x190(%rsp)
addq $-0xe, %rbx
movq %rbx, 0x180(%rsp)
decq 0x140(%rsp)
vmovdqu %ymm4, 0x2e0(%rsp)
vpcmpeqw 0x2c0(%rsp), %ymm4, %ymm0
vmovdqu %ymm0, 0x240(%rsp)
vmovdqa %ymm5, %ymm7
vmovdqa %ymm5, %ymm0
vpmovsxbw 0x7854d(%rip), %ymm13 # 0x5cbc84
xorl %esi, %esi
movq 0xe0(%rsp), %rdi
movq 0x98(%rsp), %r12
cmpq %rsi, 0x1d8(%rsp)
je 0x553d64
movswq 0x10(%r15,%rsi,2), %r10
movq 0x70(%rsp), %r9
vmovd (%r9,%r10,4), %xmm2
movswq 0x12(%r15,%rsi,2), %r10
movq 0xd0(%rsp), %r9
vpinsrw $0x1, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x14(%r15,%rsi,2), %r10
movq 0x68(%rsp), %r9
vpinsrw $0x2, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x16(%r15,%rsi,2), %r10
movq 0xd8(%rsp), %r9
vpinsrw $0x3, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x18(%r15,%rsi,2), %r10
movq 0x60(%rsp), %r9
vpinsrw $0x4, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x1a(%r15,%rsi,2), %r10
movq 0x48(%rsp), %r9
vpinsrw $0x5, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x1c(%r15,%rsi,2), %r10
movq 0x58(%rsp), %r9
vpinsrw $0x6, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x1e(%r15,%rsi,2), %r10
movq 0x50(%rsp), %r9
vpinsrw $0x7, (%r9,%r10,4), %xmm2, %xmm11
movswq (%r15,%rsi,2), %r10
movq 0x1d0(%rsp), %r9
vmovd (%r9,%r10,4), %xmm2
movswq 0x2(%r15,%rsi,2), %r10
movq 0xb0(%rsp), %r9
vpinsrw $0x1, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x4(%r15,%rsi,2), %r10
movq 0x88(%rsp), %r9
vpinsrw $0x2, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x6(%r15,%rsi,2), %r10
movq 0xb8(%rsp), %r9
vpinsrw $0x3, (%r9,%r10,4), %xmm2, %xmm2
movswq 0x8(%r15,%rsi,2), %r10
movq 0x80(%rsp), %r9
vpinsrw $0x4, (%r9,%r10,4), %xmm2, %xmm2
movswq 0xa(%r15,%rsi,2), %r10
movq 0xc0(%rsp), %r9
vpinsrw $0x5, (%r9,%r10,4), %xmm2, %xmm2
movswq 0xc(%r15,%rsi,2), %r10
movq 0x78(%rsp), %r9
vpinsrw $0x6, (%r9,%r10,4), %xmm2, %xmm2
movswq 0xe(%r15,%rsi,2), %r10
movq 0xc8(%rsp), %r9
vpinsrw $0x7, (%r9,%r10,4), %xmm2, %xmm14
vextracti128 $0x1, %ymm15, %xmm2
vpbroadcastw 0x1e(%r11,%rsi,2), %ymm4
vpalignr $0x2, %ymm15, %ymm2, %ymm2 # ymm2 = ymm15[2,3,4,5,6,7,8,9,10,11,12,13,14,15],ymm2[0,1],ymm15[18,19,20,21,22,23,24,25,26,27,28,29,30,31],ymm2[16,17]
vpblendw $0x80, %ymm4, %ymm2, %ymm4 # ymm4 = ymm2[0,1,2,3,4,5,6],ymm4[7],ymm2[8,9,10,11,12,13,14],ymm4[15]
vpblendd $0xf0, %ymm4, %ymm2, %ymm6 # ymm6 = ymm2[0,1,2,3],ymm4[4,5,6,7]
vextracti128 $0x1, %ymm0, %xmm2
vpalignr $0x2, %ymm0, %ymm2, %ymm0 # ymm0 = ymm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],ymm2[0,1],ymm0[18,19,20,21,22,23,24,25,26,27,28,29,30,31],ymm2[16,17]
vpbroadcastw 0x1e(%rdi,%rsi,2), %ymm2
vpblendw $0x80, %ymm2, %ymm0, %ymm2 # ymm2 = ymm0[0,1,2,3,4,5,6],ymm2[7],ymm0[8,9,10,11,12,13,14],ymm2[15]
vpblendd $0xf0, %ymm2, %ymm0, %ymm0 # ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
vmovdqu 0x320(%rsp), %ymm1
vpsubsw %ymm1, %ymm6, %ymm2
vmovdqu 0x300(%rsp), %ymm8
vpsubsw %ymm8, %ymm0, %ymm10
vpmaxsw %ymm2, %ymm10, %ymm0
vpsubsw %ymm1, %ymm15, %ymm4
vpsubsw %ymm8, %ymm7, %ymm7
vpmaxsw %ymm7, %ymm4, %ymm12
vinserti128 $0x1, %xmm11, %ymm14, %ymm11
vpaddsw %ymm3, %ymm11, %ymm3
vpmaxsw %ymm0, %ymm12, %ymm11
vpmaxsw %ymm3, %ymm11, %ymm14
vpcmpeqw 0x7816d(%rip), %ymm13, %ymm11 # 0x5cba80
vpblendvb %ymm11, 0x1e0(%rsp), %ymm14, %ymm15
cmpq $0x10, %rsi
jb 0x553950
vmovdqu 0x200(%rsp), %ymm1
vpminsw %ymm1, %ymm15, %ymm1
vmovdqu %ymm1, 0x200(%rsp)
vmovdqu 0x220(%rsp), %ymm1
vpmaxsw %ymm1, %ymm15, %ymm1
vmovdqu %ymm1, 0x220(%rsp)
movq 0x150(%rsp), %rdi
vmovdqa %ymm5, %ymm1
vpblendvb %ymm11, %ymm5, %ymm0, %ymm0
vpbroadcastw 0x79f8b(%rip), %ymm14 # 0x5cd8f6
vpcmpeqw %ymm3, %ymm15, %ymm3
vpbroadcastw 0x79f80(%rip), %ymm5 # 0x5cd8f8
vpcmpeqw %ymm0, %ymm15, %ymm8
vpsubw %ymm8, %ymm14, %ymm8
vpblendvb %ymm3, %ymm5, %ymm8, %ymm3
vpbroadcastw 0x79f6a(%rip), %ymm5 # 0x5cd8fa
vpbroadcastw 0x79f63(%rip), %ymm8 # 0x5cd8fc
vpcmpgtw %ymm7, %ymm4, %ymm4
vpblendvb %ymm4, %ymm5, %ymm8, %ymm4
vpbroadcastw 0x79f52(%rip), %ymm5 # 0x5cd8fe
vpcmpgtw %ymm10, %ymm2, %ymm2
vpbroadcastw 0x79f46(%rip), %ymm7 # 0x5cd900
vpblendvb %ymm2, %ymm5, %ymm7, %ymm2
vpor %ymm4, %ymm2, %ymm2
vpor %ymm3, %ymm2, %ymm3
movq 0x148(%rsp), %r9
movq 0x10(%r9), %r10
movq (%r10), %r10
vextracti128 $0x1, %ymm3, %xmm7
cmpq %rdx, %rsi
jae 0x5539fd
movq 0xa8(%rsp), %rdi
leaq (%r10,%rdi), %r11
movq 0x150(%rsp), %rdi
vpextrb $0xe, %xmm7, (%rsi,%r11)
cmpq %r14, %rdi
setge %r11b
leaq -0x1(%rsi), %r9
cmpq %rdx, %r9
setae %r9b
orb %r11b, %r9b
jne 0x553a27
movq 0x140(%rsp), %rdi
leaq (%r10,%rdi), %r9
vpextrb $0xc, %xmm7, (%rsi,%r9)
cmpq %r14, 0x10(%rsp)
vmovdqa %ymm1, %ymm5
jge 0x553a61
leaq -0x2(%rsi), %r9
cmpq $0x2, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553a61
movq 0x1c8(%rsp), %rdi
leaq (%r10,%rdi), %r9
vpextrb $0xa, %xmm7, (%rsi,%r9)
cmpq %r14, 0x40(%rsp)
jge 0x553a97
leaq -0x3(%rsi), %r9
cmpq $0x3, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553a97
movq 0x1c0(%rsp), %rdi
leaq (%r10,%rdi), %r9
vpextrb $0x8, %xmm7, (%rsi,%r9)
cmpq %r14, 0x38(%rsp)
jge 0x553acd
leaq -0x4(%rsi), %r9
cmpq $0x4, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553acd
movq 0x1b8(%rsp), %rdi
leaq (%r10,%rdi), %r9
vpextrb $0x6, %xmm7, (%rsi,%r9)
cmpq %r14, 0x30(%rsp)
jge 0x553b03
leaq -0x5(%rsi), %r9
cmpq $0x5, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553b03
movq 0x1b0(%rsp), %rdi
leaq (%r10,%rdi), %r9
vpextrb $0x4, %xmm7, (%rsi,%r9)
cmpq %r14, 0x28(%rsp)
jge 0x553b39
leaq -0x6(%rsi), %r9
cmpq $0x6, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553b39
movq 0x1a8(%rsp), %rdi
leaq (%r10,%rdi), %r9
vpextrb $0x2, %xmm7, (%rsi,%r9)
cmpq %r14, 0x120(%rsp)
jge 0x553b72
leaq -0x7(%rsi), %r9
cmpq $0x7, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553b72
movq 0x198(%rsp), %rcx
leaq (%r10,%rcx), %r9
vpextrb $0x0, %xmm7, (%rsi,%r9)
cmpq %r14, 0x118(%rsp)
jge 0x553bab
leaq -0x8(%rsi), %r9
cmpq $0x8, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553bab
movq 0x188(%rsp), %rax
leaq (%r10,%rax), %r9
vpextrb $0xe, %xmm3, (%rsi,%r9)
cmpq %r14, 0x110(%rsp)
jge 0x553bdc
leaq -0x9(%rsi), %r9
cmpq $0x9, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553bdc
leaq (%r10,%rbp), %r9
vpextrb $0xc, %xmm3, (%rsi,%r9)
cmpq %r14, 0x108(%rsp)
jge 0x553c15
leaq -0xa(%rsi), %r9
cmpq $0xa, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553c15
movq 0x138(%rsp), %rax
leaq (%r10,%rax), %r9
vpextrb $0xa, %xmm3, (%rsi,%r9)
cmpq %r14, 0x100(%rsp)
jge 0x553c4e
leaq -0xb(%rsi), %r9
cmpq $0xb, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553c4e
movq 0x130(%rsp), %rax
leaq (%r10,%rax), %r9
vpextrb $0x8, %xmm3, (%rsi,%r9)
cmpq %r14, 0xf8(%rsp)
jge 0x553c87
leaq -0xc(%rsi), %r9
cmpq $0xc, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553c87
movq 0x1a0(%rsp), %rcx
leaq (%r10,%rcx), %r9
vpextrb $0x6, %xmm3, (%rsi,%r9)
cmpq %r14, 0xf0(%rsp)
jge 0x553cc0
leaq -0xd(%rsi), %r9
cmpq $0xd, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553cc0
movq 0x190(%rsp), %rax
leaq (%r10,%rax), %r9
vpextrb $0x4, %xmm3, (%rsi,%r9)
cmpq %r14, 0xe8(%rsp)
jge 0x553cf9
leaq -0xe(%rsi), %r9
cmpq $0xe, %rsi
setae %r11b
cmpq %rdx, %r9
setl %r9b
andb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x553cf9
movq 0x180(%rsp), %rax
leaq (%r10,%rax), %r9
vpextrb $0x2, %xmm3, (%rsi,%r9)
cmpq %r14, %r12
setge %r9b
cmpq $0xf, %rsi
setb %r11b
orb %r9b, %r11b
jne 0x553d17
addq %r13, %r10
vpextrb $0x0, %xmm3, (%rsi,%r10)
movq 0x90(%rsp), %r11
vpextrw $0x0, %xmm15, (%r11,%rsi,2)
movq 0xe0(%rsp), %rdi
vpextrw $0x0, %xmm0, (%rdi,%rsi,2)
vpblendvb %ymm11, %ymm5, %ymm12, %ymm7
vpcmpeqw 0x340(%rsp), %ymm13, %ymm2
vpand 0x240(%rsp), %ymm2, %ymm2
vpblendvb %ymm2, %ymm15, %ymm9, %ymm9
vpaddsw %ymm14, %ymm13, %ymm13
incq %rsi
vmovdqa %ymm6, %ymm3
jmp 0x553749
vpbroadcastw 0x79b8f(%rip), %ymm0 # 0x5cd8fc
vmovdqu 0x2e0(%rsp), %ymm4
vpaddsw %ymm0, %ymm4, %ymm4
vmovdqu 0x1e0(%rsp), %ymm0
vpsubsw 0x2a0(%rsp), %ymm0, %ymm0
vmovdqu %ymm0, 0x1e0(%rsp)
movq 0xa8(%rsp), %rax
addq 0x178(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0x3a0(%rsp), %r9
movl 0x12c(%rsp), %ebp
movq 0xa0(%rsp), %r13
jmp 0x5530a0
pushq $0x10
popq %rax
movq 0x148(%rsp), %rbx
movl 0x128(%rsp), %edx
subl $0x1, %eax
jb 0x553e01
vextracti128 $0x1, %ymm9, %xmm0
vpextrw $0x7, %xmm0, %ecx
cmpw %bp, %cx
cmovlel %ebp, %ecx
vperm2i128 $0x28, %ymm9, %ymm9, %ymm0 # ymm0 = zero,zero,ymm9[0,1]
vpalignr $0xe, %ymm0, %ymm9, %ymm9 # ymm9 = ymm0[14,15],ymm9[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm0[30,31],ymm9[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
movl %ecx, %ebp
jmp 0x553ddb
vpcmpgtw 0x200(%rsp), %ymm5, %ymm0
vmovdqu 0x220(%rsp), %ymm1
vpcmpgtw 0x260(%rsp), %ymm1, %ymm1
vpor %ymm1, %ymm0, %ymm0
vpmovmskb %ymm0, %eax
testl %eax, %eax
je 0x553e38
orb $0x40, 0xc(%rbx)
xorl %ebp, %ebp
xorl %edx, %edx
movl $0x0, 0x8(%rsp)
movswl %bp, %eax
movl %eax, (%rbx)
movl 0x8(%rsp), %eax
movl %eax, 0x4(%rbx)
movl %edx, 0x8(%rbx)
vzeroupper
callq 0x1ab763
movq 0x90(%rsp), %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq 0x3a0(%rsp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x55400b
movq 0x18(%rsp), %rdi
callq 0x1ab763
jmp 0x55400b
leal 0xf(%r13), %eax
movslq %eax, %rsi
pushq $0x20
popq %rdi
movq %rsi, 0x28(%rsp)
callq 0x1ab77b
movq %rax, 0x18(%rsp)
testq %rax, %rax
movq 0x10(%rsp), %r11
je 0x552d88
movl %r13d, %eax
sarl $0x1f, %eax
andnl %r13d, %eax, %eax
xorl %ecx, %ecx
movq 0x90(%rsp), %r12
movq 0x1e0(%rsp), %rdi
cmpq %rcx, %rax
je 0x553f60
movq 0x3a0(%rsp), %rdx
movq 0x10(%rdx), %rdx
movzbl (%rdi,%rcx), %esi
movzwl (%rdx,%rsi,4), %edx
movq 0x18(%rsp), %rsi
movw %dx, (%rsi,%rcx,2)
incq %rcx
jmp 0x553ec9
movq 0x1e70dd(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x730e6(%rip), %rsi     # 0x5c6feb
leaq 0x42720(%rip), %rdx     # 0x59662c
leaq 0x737ea(%rip), %rcx     # 0x5c76fd
jmp 0x554002
movq 0x1e70b9(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x737d8(%rip), %rsi     # 0x5c7701
leaq 0x426fc(%rip), %rdx     # 0x59662c
leaq 0x737de(%rip), %rcx     # 0x5c7715
jmp 0x554002
movq 0x1e7095(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x737ce(%rip), %rsi     # 0x5c771b
leaq 0x426d8(%rip), %rdx     # 0x59662c
leaq 0x737d5(%rip), %rcx     # 0x5c7730
jmp 0x554002
movq %r14, %rax
movq 0x28(%rsp), %rdx
movq 0x18(%rsp), %rcx
cmpq %rdx, %rax
jge 0x552dc7
andw $0x0, (%rcx,%rax,2)
incq %rax
jmp 0x553f6d
movq 0x1e7051(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7378a(%rip), %rsi     # 0x5c771b
leaq 0x42694(%rip), %rdx     # 0x59662c
leaq 0x73796(%rip), %rcx     # 0x5c7735
jmp 0x554002
movq 0x1e7030(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x73039(%rip), %rsi     # 0x5c6feb
leaq 0x42673(%rip), %rdx     # 0x59662c
leaq 0x73982(%rip), %rcx     # 0x5c7942
jmp 0x554002
movq 0x1e700f(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x73018(%rip), %rsi     # 0x5c6feb
leaq 0x42652(%rip), %rdx     # 0x59662c
leaq 0x73758(%rip), %rcx     # 0x5c7739
jmp 0x554002
movq 0x1e6fee(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7370d(%rip), %rsi     # 0x5c7701
leaq 0x42631(%rip), %rdx     # 0x59662c
leaq 0x7373b(%rip), %rcx     # 0x5c773d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x19e180
movq %rbx, %rax
addq $0x368, %rsp            # imm = 0x368
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq