// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_striped_avx2_256_16.c
// Function: parasail_nw_rowcol_striped_profile_avx2_256_16
parasail_result_t* PNAME(
        const parasail_profile_t * const restrict profile,
        const char * const restrict s2, const int s2Len,
        const int open, const int gap)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t k = 0;
    int s1Len = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
    int32_t offset = 0;
    int32_t position = 0;
    __m256i* restrict vProfile = NULL;
    __m256i* restrict pvHStore = NULL;
    __m256i* restrict pvHLoad = NULL;
    __m256i* restrict pvE = NULL;
    int16_t* restrict boundary = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int16_t NEG_LIMIT = 0;
    int16_t POS_LIMIT = 0;
    int16_t score = 0;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i vSaturationCheckMax;
    parasail_result_t *result = NULL;

    /* validate inputs */
    PARASAIL_CHECK_NULL(profile);
    PARASAIL_CHECK_NULL(profile->profile16.score);
    PARASAIL_CHECK_NULL(profile->matrix);
    PARASAIL_CHECK_GT0(profile->s1Len);
    PARASAIL_CHECK_NULL(s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);

    /* initialize stack variables */
    i = 0;
    j = 0;
    k = 0;
    s1Len = profile->s1Len;
    end_query = s1Len-1;
    end_ref = s2Len-1;
    matrix = profile->matrix;
    segWidth = 16; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
    vProfile = (__m256i*)profile->profile16.score;
    vGapO = _mm256_set1_epi16(open);
    vGapE = _mm256_set1_epi16(gap);
    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;

    /* initialize result */
#ifdef PARASAIL_TABLE
    result = parasail_result_new_table1(segLen*segWidth, s2Len);
#else
#ifdef PARASAIL_ROWCOL
    result = parasail_result_new_rowcol1(segLen*segWidth, s2Len);
#else
    result = parasail_result_new();
#endif
#endif
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_NW | PARASAIL_FLAG_STRIPED
        | 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 */
    pvHStore = parasail_memalign___m256i(32, segLen);
    pvHLoad  = parasail_memalign___m256i(32, segLen);
    pvE      = parasail_memalign___m256i(32, segLen);
    boundary = parasail_memalign_int16_t(32, s2Len+1);

    /* validate heap variables */
    if (!pvHStore) return NULL;
    if (!pvHLoad) return NULL;
    if (!pvE) return NULL;
    if (!boundary) return NULL;

    /* initialize H and E */
    {
        int32_t index = 0;
        for (i=0; i<segLen; ++i) {
            int32_t segNum = 0;
            __m256i_16_t h;
            __m256i_16_t e;
            for (segNum=0; segNum<segWidth; ++segNum) {
                int64_t tmp = -open-gap*(segNum*segLen+i);
                h.v[segNum] = tmp < INT16_MIN ? INT16_MIN : tmp;
                tmp = tmp - open;
                e.v[segNum] = tmp < INT16_MIN ? INT16_MIN : tmp;
            }
            _mm256_store_si256(&pvHStore[index], h.m);
            _mm256_store_si256(&pvE[index], e.m);
            ++index;
        }
    }

    /* initialize uppder boundary */
    {
        boundary[0] = 0;
        for (i=1; i<=s2Len; ++i) {
            int64_t tmp = -open-gap*(i-1);
            boundary[i] = tmp < INT16_MIN ? INT16_MIN : tmp;
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m256i vE;
        /* Initialize F value to -inf.  Any errors to vH values will be
         * corrected in the Lazy_F loop.  */
        __m256i vF = vNegLimit;

        /* load final segment of pvHStore and shift left by 2 bytes */
        __m256i vH = _mm256_slli_si256_rpl(pvHStore[segLen - 1], 2);

        /* Correct part of the vProfile */
        const __m256i* vP = vProfile + matrix->mapper[(unsigned char)s2[j]] * segLen;

        /* Swap the 2 H buffers. */
        __m256i* pv = pvHLoad;
        pvHLoad = pvHStore;
        pvHStore = pv;

        /* insert upper boundary condition */
        vH = _mm256_insert_epi16_rpl(vH, boundary[j], 0);

        /* inner loop to process the query sequence */
        for (i=0; i<segLen; ++i) {
            vH = _mm256_adds_epi16(vH, _mm256_load_si256(vP + i));
            vE = _mm256_load_si256(pvE + i);

            /* Get max from vH, vE and vF. */
            vH = _mm256_max_epi16(vH, vE);
            vH = _mm256_max_epi16(vH, vF);
            /* Save vH values. */
            _mm256_store_si256(pvHStore + i, vH);
            vSaturationCheckMax = _mm256_max_epi16(vSaturationCheckMax, vH);
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vH);
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vE);
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vF);
#ifdef PARASAIL_TABLE
            arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif

            /* Update vE value. */
            vH = _mm256_subs_epi16(vH, vGapO);
            vE = _mm256_subs_epi16(vE, vGapE);
            vE = _mm256_max_epi16(vE, vH);
            _mm256_store_si256(pvE + i, vE);

            /* Update vF value. */
            vF = _mm256_subs_epi16(vF, vGapE);
            vF = _mm256_max_epi16(vF, vH);

            /* Load the next vH. */
            vH = _mm256_load_si256(pvHLoad + i);
        }

        /* Lazy_F loop: has been revised to disallow adjecent insertion and
         * then deletion, so don't update E(i, i), learn from SWPS3 */
        for (k=0; k<segWidth; ++k) {
            int64_t tmp = boundary[j+1]-open;
            int16_t tmp2 = tmp < INT16_MIN ? INT16_MIN : tmp;
            vF = _mm256_slli_si256_rpl(vF, 2);
            vF = _mm256_insert_epi16_rpl(vF, tmp2, 0);
            for (i=0; i<segLen; ++i) {
                vH = _mm256_load_si256(pvHStore + i);
                vH = _mm256_max_epi16(vH,vF);
                _mm256_store_si256(pvHStore + i, vH);
                vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vH);
                vSaturationCheckMax = _mm256_max_epi16(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
                arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
                vH = _mm256_subs_epi16(vH, vGapO);
                vF = _mm256_subs_epi16(vF, vGapE);
                if (! _mm256_movemask_epi8(_mm256_cmpgt_epi16(vF, vH))) goto end;
                /*vF = _mm256_max_epi16(vF, vH);*/
            }
        }
end:
        {
        }

#ifdef PARASAIL_ROWCOL
        /* extract last value from the column */
        {
            vH = _mm256_load_si256(pvHStore + offset);
            for (k=0; k<position; ++k) {
                vH = _mm256_slli_si256_rpl(vH, 2);
            }
            result->rowcols->score_row[j] = (int16_t) _mm256_extract_epi16_rpl (vH, 15);
        }
#endif
    }

#ifdef PARASAIL_ROWCOL
    for (i=0; i<segLen; ++i) {
        __m256i vH = _mm256_load_si256(pvHStore+i);
        arr_store_col(result->rowcols->score_col, vH, i, segLen);
    }
#endif

    /* extract last value from the last column */
    {
        __m256i vH = _mm256_load_si256(pvHStore + offset);
        for (k=0; k<position; ++k) {
            vH = _mm256_slli_si256_rpl (vH, 2);
        }
        score = (int16_t) _mm256_extract_epi16_rpl (vH, 15);
    }

    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(boundary);
    parasail_free(pvE);
    parasail_free(pvHLoad);
    parasail_free(pvHStore);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0xb20, %rsp            # imm = 0xB20
movq %rdi, 0x2e8(%rsp)
movq %rsi, 0x2e0(%rsp)
movl %edx, 0x2dc(%rsp)
movl %ecx, 0x2d8(%rsp)
movl %r8d, 0x2d4(%rsp)
movl $0x0, 0x2d0(%rsp)
movl $0x0, 0x2cc(%rsp)
movl $0x0, 0x2c8(%rsp)
movl $0x0, 0x2c4(%rsp)
movl $0x0, 0x2c0(%rsp)
movl $0x0, 0x2bc(%rsp)
movq $0x0, 0x2b0(%rsp)
movl $0x0, 0x2ac(%rsp)
movl $0x0, 0x2a8(%rsp)
movl $0x0, 0x2a4(%rsp)
movl $0x0, 0x2a0(%rsp)
movq $0x0, 0x298(%rsp)
movq $0x0, 0x290(%rsp)
movq $0x0, 0x288(%rsp)
movq $0x0, 0x280(%rsp)
movq $0x0, 0x278(%rsp)
movw $0x0, 0x21e(%rsp)
movw $0x0, 0x21c(%rsp)
movw $0x0, 0x21a(%rsp)
movq $0x0, 0x178(%rsp)
cmpq $0x0, 0x2e8(%rsp)
jne 0xb23fa7
movq 0x303061(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c806a(%rip), %rsi    # 0xcebfeb
leaq 0x1b5cde(%rip), %rdx    # 0xcd9c66
leaq 0x19e54e(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb23fa9
jmp 0xb23fab
movq 0x2e8(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0xb23ff1
movq 0x303017(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c8020(%rip), %rsi    # 0xcebfeb
leaq 0x1b5c94(%rip), %rdx    # 0xcd9c66
leaq 0x1c8a17(%rip), %rcx    # 0xcec9f0
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb23ff3
jmp 0xb23ff5
movq 0x2e8(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xb2403b
movq 0x302fcd(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c7fd6(%rip), %rsi    # 0xcebfeb
leaq 0x1b5c4a(%rip), %rdx    # 0xcd9c66
leaq 0x1c88f9(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb2403d
jmp 0xb2403f
movq 0x2e8(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xb24084
movq 0x302f84(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c86a3(%rip), %rsi    # 0xcec701
leaq 0x1b5c01(%rip), %rdx    # 0xcd9c66
leaq 0x1c88c0(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb24086
jmp 0xb24088
cmpq $0x0, 0x2e0(%rsp)
jne 0xb240ca
movq 0x302f3e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c7f47(%rip), %rsi    # 0xcebfeb
leaq 0x1b5bbb(%rip), %rdx    # 0xcd9c66
leaq 0x1c864c(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb240cc
jmp 0xb240ce
cmpl $0x0, 0x2dc(%rsp)
jg 0xb2410f
movq 0x302ef9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c8618(%rip), %rsi    # 0xcec701
leaq 0x1b5b76(%rip), %rdx    # 0xcd9c66
leaq 0x1c861e(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb24111
jmp 0xb24113
cmpl $0x0, 0x2d8(%rsp)
jge 0xb24154
movq 0x302eb4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c85ed(%rip), %rsi    # 0xcec71b
leaq 0x1b5b31(%rip), %rdx    # 0xcd9c66
leaq 0x1c85f4(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb24156
jmp 0xb24158
cmpl $0x0, 0x2d4(%rsp)
jge 0xb24199
movq 0x302e6f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c85a8(%rip), %rsi    # 0xcec71b
leaq 0x1b5aec(%rip), %rdx    # 0xcd9c66
leaq 0x1c85b4(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
jmp 0xb2419b
movl $0x0, 0x2d0(%rsp)
movl $0x0, 0x2cc(%rsp)
movl $0x0, 0x2c8(%rsp)
movq 0x2e8(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x2c4(%rsp)
movl 0x2c4(%rsp), %eax
decl %eax
movl %eax, 0x2c0(%rsp)
movl 0x2dc(%rsp), %eax
decl %eax
movl %eax, 0x2bc(%rsp)
movq 0x2e8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x2b0(%rsp)
movl $0x10, 0x2ac(%rsp)
movl 0x2c4(%rsp), %esi
movl 0x2ac(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x2a8(%rsp)
movl 0x2c4(%rsp), %eax
decl %eax
movl 0x2a8(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x2a4(%rsp)
movl 0x2ac(%rsp), %ecx
movl 0x2c4(%rsp), %eax
decl %eax
movl 0x2a8(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x2a0(%rsp)
movq 0x2e8(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, 0x298(%rsp)
movw 0x2d8(%rsp), %ax
movw %ax, 0x2fe(%rsp)
movw 0x2fe(%rsp), %ax
movw %ax, 0x3c(%rsp)
movw %ax, 0xa3e(%rsp)
movw %ax, 0xa3c(%rsp)
movw %ax, 0xa3a(%rsp)
movw %ax, 0xa38(%rsp)
movw %ax, 0xa36(%rsp)
movw %ax, 0xa34(%rsp)
movw %ax, 0xa32(%rsp)
movw %ax, 0xa30(%rsp)
movw %ax, 0xa2e(%rsp)
movw %ax, 0xa2c(%rsp)
movw %ax, 0xa2a(%rsp)
movw %ax, 0xa28(%rsp)
movw %ax, 0xa26(%rsp)
movw %ax, 0xa24(%rsp)
movw %ax, 0xa22(%rsp)
movw %ax, 0xa20(%rsp)
movzwl 0xa20(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xa22(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xa24(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xa26(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xa28(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xa2a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xa2c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xa2e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0xa30(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0xa32(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0xa34(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0xa36(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0xa38(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0xa3a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0xa3c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0xa3e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xa10(%rsp)
vmovdqa %xmm0, 0xa00(%rsp)
vmovaps 0xa00(%rsp), %ymm0
vmovaps %ymm0, 0x240(%rsp)
movw 0x2d4(%rsp), %ax
movw %ax, 0x2fc(%rsp)
movw 0x2fc(%rsp), %ax
movw %ax, 0x3e(%rsp)
movw %ax, 0xa7e(%rsp)
movw %ax, 0xa7c(%rsp)
movw %ax, 0xa7a(%rsp)
movw %ax, 0xa78(%rsp)
movw %ax, 0xa76(%rsp)
movw %ax, 0xa74(%rsp)
movw %ax, 0xa72(%rsp)
movw %ax, 0xa70(%rsp)
movw %ax, 0xa6e(%rsp)
movw %ax, 0xa6c(%rsp)
movw %ax, 0xa6a(%rsp)
movw %ax, 0xa68(%rsp)
movw %ax, 0xa66(%rsp)
movw %ax, 0xa64(%rsp)
movw %ax, 0xa62(%rsp)
movw %ax, 0xa60(%rsp)
movzwl 0xa70(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xa72(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xa74(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xa76(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xa78(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xa7a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xa7c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xa7e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm1
movzwl 0xa60(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xa62(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xa64(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xa66(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xa68(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xa6a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xa6c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xa6e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa40(%rsp)
vmovdqa 0xa40(%rsp), %ymm0
vmovdqa %ymm0, 0x220(%rsp)
xorl %eax, %eax
subl 0x2d8(%rsp), %eax
movq 0x2b0(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xb245c7
movl 0x2d8(%rsp), %eax
addl $0xffff8000, %eax       # imm = 0xFFFF8000
movl %eax, 0x38(%rsp)
jmp 0xb245db
movq 0x2b0(%rsp), %rcx
movl $0xffff8000, %eax       # imm = 0xFFFF8000
subl 0x20(%rcx), %eax
movl %eax, 0x38(%rsp)
movl 0x38(%rsp), %eax
incl %eax
movw %ax, 0x21e(%rsp)
movq 0x2b0(%rsp), %rax
movl 0x1c(%rax), %eax
xorl $0x7fff, %eax           # imm = 0x7FFF
decl %eax
movw %ax, 0x21c(%rsp)
movw 0x21e(%rsp), %ax
movw %ax, 0x21a(%rsp)
movw 0x21e(%rsp), %ax
movw %ax, 0x2fa(%rsp)
movw 0x2fa(%rsp), %ax
movw %ax, 0x34(%rsp)
movw %ax, 0xabe(%rsp)
movw %ax, 0xabc(%rsp)
movw %ax, 0xaba(%rsp)
movw %ax, 0xab8(%rsp)
movw %ax, 0xab6(%rsp)
movw %ax, 0xab4(%rsp)
movw %ax, 0xab2(%rsp)
movw %ax, 0xab0(%rsp)
movw %ax, 0xaae(%rsp)
movw %ax, 0xaac(%rsp)
movw %ax, 0xaaa(%rsp)
movw %ax, 0xaa8(%rsp)
movw %ax, 0xaa6(%rsp)
movw %ax, 0xaa4(%rsp)
movw %ax, 0xaa2(%rsp)
movw %ax, 0xaa0(%rsp)
movzwl 0xaa0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xaa2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xaa4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xaa6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xaa8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xaaa(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xaac(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xaae(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0xab0(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0xab2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0xab4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0xab6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0xab8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0xaba(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0xabc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0xabe(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xa90(%rsp)
vmovdqa %xmm0, 0xa80(%rsp)
vmovaps 0xa80(%rsp), %ymm0
vmovaps %ymm0, 0x1e0(%rsp)
movw 0x21c(%rsp), %ax
movw %ax, 0x2f8(%rsp)
movw 0x2f8(%rsp), %ax
movw %ax, 0x36(%rsp)
movw %ax, 0xb0e(%rsp)
movw %ax, 0xb0c(%rsp)
movw %ax, 0xb0a(%rsp)
movw %ax, 0xb08(%rsp)
movw %ax, 0xb06(%rsp)
movw %ax, 0xb04(%rsp)
movw %ax, 0xb02(%rsp)
movw %ax, 0xb00(%rsp)
movw %ax, 0xafe(%rsp)
movw %ax, 0xafc(%rsp)
movw %ax, 0xafa(%rsp)
movw %ax, 0xaf8(%rsp)
movw %ax, 0xaf6(%rsp)
movw %ax, 0xaf4(%rsp)
movw %ax, 0xaf2(%rsp)
movw %ax, 0xaf0(%rsp)
movzwl 0xb00(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xb02(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xb04(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xb06(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xb08(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xb0a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xb0c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xb0e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm1
movzwl 0xaf0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xaf2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xaf4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xaf6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xaf8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xafa(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xafc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xafe(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xac0(%rsp)
vmovdqa 0xac0(%rsp), %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
vmovdqa 0x1c0(%rsp), %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1e0(%rsp), %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x2a8(%rsp), %edi
imull 0x2ac(%rsp), %edi
movl 0x2dc(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x178(%rsp)
cmpq $0x0, 0x178(%rsp)
jne 0xb24998
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
movq 0x178(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x10200801, %ecx       # imm = 0x10200801
movl %ecx, 0xc(%rax)
movq 0x178(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x2a8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x290(%rsp)
movslq 0x2a8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x288(%rsp)
movslq 0x2a8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x280(%rsp)
movl 0x2dc(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3630
movq %rax, 0x278(%rsp)
cmpq $0x0, 0x290(%rsp)
jne 0xb24a49
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
cmpq $0x0, 0x288(%rsp)
jne 0xb24a65
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
cmpq $0x0, 0x280(%rsp)
jne 0xb24a81
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
cmpq $0x0, 0x278(%rsp)
jne 0xb24a9d
movq $0x0, 0x2f0(%rsp)
jmp 0xb2592a
movl $0x0, 0x174(%rsp)
movl $0x0, 0x2d0(%rsp)
movl 0x2d0(%rsp), %eax
cmpl 0x2a8(%rsp), %eax
jge 0xb24c8c
movl $0x0, 0x170(%rsp)
movl $0x0, 0x170(%rsp)
movl 0x170(%rsp), %eax
cmpl 0x2ac(%rsp), %eax
jge 0xb24bd9
xorl %eax, %eax
subl 0x2d8(%rsp), %eax
movl 0x2d4(%rsp), %ecx
movl 0x170(%rsp), %edx
imull 0x2a8(%rsp), %edx
addl 0x2d0(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x118(%rsp)
cmpq $-0x8000, 0x118(%rsp) # imm = 0x8000
jge 0xb24b42
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x28(%rsp)
jmp 0xb24b4f
movq 0x118(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movw %ax, %cx
movslq 0x170(%rsp), %rax
movw %cx, 0x140(%rsp,%rax,2)
movq 0x118(%rsp), %rax
movslq 0x2d8(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x118(%rsp)
cmpq $-0x8000, 0x118(%rsp) # imm = 0x8000
jge 0xb24b9e
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x20(%rsp)
jmp 0xb24bab
movq 0x118(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movw %ax, %cx
movslq 0x170(%rsp), %rax
movw %cx, 0x120(%rsp,%rax,2)
movl 0x170(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x170(%rsp)
jmp 0xb24add
movq 0x290(%rsp), %rax
movslq 0x174(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x140(%rsp), %ymm0
movq %rax, 0x438(%rsp)
vmovdqa %ymm0, 0x400(%rsp)
vmovdqa 0x400(%rsp), %ymm0
movq 0x438(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x280(%rsp), %rax
movslq 0x174(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x120(%rsp), %ymm0
movq %rax, 0x3f8(%rsp)
vmovdqa %ymm0, 0x3c0(%rsp)
vmovdqa 0x3c0(%rsp), %ymm0
movq 0x3f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
movl 0x174(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x174(%rsp)
movl 0x2d0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2d0(%rsp)
jmp 0xb24ab3
movq 0x278(%rsp), %rax
movw $0x0, (%rax)
movl $0x1, 0x2d0(%rsp)
movl 0x2d0(%rsp), %eax
cmpl 0x2dc(%rsp), %eax
jg 0xb24d3c
xorl %eax, %eax
subl 0x2d8(%rsp), %eax
movl 0x2d4(%rsp), %ecx
movl 0x2d0(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x110(%rsp)
cmpq $-0x8000, 0x110(%rsp) # imm = 0x8000
jge 0xb24cfd
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x18(%rsp)
jmp 0xb24d0a
movq 0x110(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movw %ax, %dx
movq 0x278(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
movw %dx, (%rax,%rcx,2)
movl 0x2d0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2d0(%rsp)
jmp 0xb24ca4
movl $0x0, 0x2cc(%rsp)
movl 0x2cc(%rsp), %eax
cmpl 0x2dc(%rsp), %eax
jge 0xb256bd
vmovaps 0x1e0(%rsp), %ymm0
vmovaps %ymm0, 0xc0(%rsp)
movq 0x290(%rsp), %rax
movl 0x2a8(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
vmovaps (%rax,%rcx), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovaps %ymm0, 0xa0(%rsp)
movq 0x298(%rsp), %rax
movq 0x2b0(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x2e0(%rsp), %rdx
movslq 0x2cc(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
movl 0x2a8(%rsp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x98(%rsp)
movq 0x288(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x290(%rsp), %rax
movq %rax, 0x288(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x290(%rsp)
vmovaps 0xa0(%rsp), %ymm0
movq 0x278(%rsp), %rax
movslq 0x2cc(%rsp), %rcx
movzwl (%rax,%rcx,2), %eax
vmovaps %xmm0, %xmm1
vpinsrw $0x0, %eax, %xmm1, %xmm2
vmovaps %xmm2, %xmm1
vblendps $0xf, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
vmovdqa %ymm0, 0xa0(%rsp)
movl $0x0, 0x2d0(%rsp)
movl 0x2d0(%rsp), %eax
cmpl 0x2a8(%rsp), %eax
jge 0xb252be
vmovdqa 0xa0(%rsp), %ymm1
movq 0x98(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x4b8(%rsp)
movq 0x4b8(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0x460(%rsp)
vmovdqa %ymm0, 0x440(%rsp)
vmovdqa 0x460(%rsp), %ymm0
vmovdqa 0x440(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x280(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x4b0(%rsp)
movq 0x4b0(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm1, 0x660(%rsp)
vmovdqa %ymm0, 0x640(%rsp)
vmovdqa 0x660(%rsp), %ymm0
vmovdqa 0x640(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm1, 0x620(%rsp)
vmovdqa %ymm0, 0x600(%rsp)
vmovdqa 0x620(%rsp), %ymm0
vmovdqa 0x600(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x290(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0xa0(%rsp), %ymm0
movq %rax, 0x3b8(%rsp)
vmovdqa %ymm0, 0x380(%rsp)
vmovdqa 0x380(%rsp), %ymm0
movq 0x3b8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x180(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x5e0(%rsp)
vmovdqa %ymm0, 0x5c0(%rsp)
vmovdqa 0x5e0(%rsp), %ymm0
vmovdqa 0x5c0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x760(%rsp)
vmovdqa %ymm0, 0x740(%rsp)
vmovdqa 0x760(%rsp), %ymm0
vmovdqa 0x740(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm1, 0x720(%rsp)
vmovdqa %ymm0, 0x700(%rsp)
vmovdqa 0x720(%rsp), %ymm0
vmovdqa 0x700(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm1, 0x6e0(%rsp)
vmovdqa %ymm0, 0x6c0(%rsp)
vmovdqa 0x6e0(%rsp), %ymm0
vmovdqa 0x6c0(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0x240(%rsp), %ymm0
vmovdqa %ymm1, 0x8a0(%rsp)
vmovdqa %ymm0, 0x880(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
vmovdqa 0x880(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x860(%rsp)
vmovdqa %ymm0, 0x840(%rsp)
vmovdqa 0x860(%rsp), %ymm0
vmovdqa 0x840(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x5a0(%rsp)
vmovdqa %ymm0, 0x580(%rsp)
vmovdqa 0x5a0(%rsp), %ymm0
vmovdqa 0x580(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
movq 0x280(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0xe0(%rsp), %ymm0
movq %rax, 0x378(%rsp)
vmovdqa %ymm0, 0x340(%rsp)
vmovdqa 0x340(%rsp), %ymm0
movq 0x378(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x820(%rsp)
vmovdqa %ymm0, 0x800(%rsp)
vmovdqa 0x820(%rsp), %ymm0
vmovdqa 0x800(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x560(%rsp)
vmovdqa %ymm0, 0x540(%rsp)
vmovdqa 0x560(%rsp), %ymm0
vmovdqa 0x540(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
movq 0x288(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x4a8(%rsp)
movq 0x4a8(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movl 0x2d0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2d0(%rsp)
jmp 0xb24e5a
movl $0x0, 0x2c8(%rsp)
movl 0x2c8(%rsp), %eax
cmpl 0x2ac(%rsp), %eax
jge 0xb255f7
movq 0x278(%rsp), %rax
movl 0x2cc(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movswl (%rax,%rcx,2), %eax
subl 0x2d8(%rsp), %eax
cltq
movq %rax, 0x88(%rsp)
cmpq $-0x8000, 0x88(%rsp) # imm = 0x8000
jge 0xb25323
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x10(%rsp)
jmp 0xb25330
movq 0x88(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movw %ax, 0x86(%rsp)
vmovaps 0xc0(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovaps %ymm0, 0xc0(%rsp)
vmovaps 0xc0(%rsp), %ymm0
vmovaps %xmm0, %xmm1
movzwl 0x86(%rsp), %eax
vpinsrw $0x0, %eax, %xmm1, %xmm2
vmovaps %xmm2, %xmm1
vblendps $0xf, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
vmovdqa %ymm0, 0xc0(%rsp)
movl $0x0, 0x2d0(%rsp)
movl 0x2d0(%rsp), %eax
cmpl 0x2a8(%rsp), %eax
jge 0xb255df
movq 0x290(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x4a0(%rsp)
movq 0x4a0(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0xa0(%rsp)
vmovaps 0xa0(%rsp), %ymm1
vmovaps 0xc0(%rsp), %ymm0
vmovaps %ymm1, 0x520(%rsp)
vmovaps %ymm0, 0x500(%rsp)
vmovaps 0x520(%rsp), %ymm0
vmovaps 0x500(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xa0(%rsp)
movq 0x290(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovaps 0xa0(%rsp), %ymm0
movq %rax, 0x338(%rsp)
vmovaps %ymm0, 0x300(%rsp)
vmovaps 0x300(%rsp), %ymm0
movq 0x338(%rsp), %rax
vmovaps %ymm0, (%rax)
vmovaps 0x1a0(%rsp), %ymm1
vmovaps 0xa0(%rsp), %ymm0
vmovaps %ymm1, 0x6a0(%rsp)
vmovaps %ymm0, 0x680(%rsp)
vmovaps 0x6a0(%rsp), %ymm0
vmovaps 0x680(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x180(%rsp), %ymm1
vmovaps 0xa0(%rsp), %ymm0
vmovaps %ymm1, 0x4e0(%rsp)
vmovaps %ymm0, 0x4c0(%rsp)
vmovaps 0x4e0(%rsp), %ymm0
vmovaps 0x4c0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x180(%rsp)
vmovaps 0xa0(%rsp), %ymm1
vmovaps 0x240(%rsp), %ymm0
vmovaps %ymm1, 0x7e0(%rsp)
vmovaps %ymm0, 0x7c0(%rsp)
vmovaps 0x7e0(%rsp), %ymm0
vmovaps 0x7c0(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xa0(%rsp)
vmovaps 0xc0(%rsp), %ymm1
vmovaps 0x220(%rsp), %ymm0
vmovaps %ymm1, 0x7a0(%rsp)
vmovaps %ymm0, 0x780(%rsp)
vmovaps 0x7a0(%rsp), %ymm0
vmovaps 0x780(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xc0(%rsp)
vmovaps 0xc0(%rsp), %ymm1
vmovaps 0xa0(%rsp), %ymm0
vmovaps %ymm1, 0x9a0(%rsp)
vmovaps %ymm0, 0x980(%rsp)
vmovaps 0x9a0(%rsp), %ymm0
vmovaps 0x980(%rsp), %ymm1
vpcmpgtw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x8e0(%rsp)
vmovdqa 0x8e0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
jne 0xb255c7
jmp 0xb255f9
jmp 0xb255c9
movl 0x2d0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2d0(%rsp)
jmp 0xb25393
jmp 0xb255e1
movl 0x2c8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2c8(%rsp)
jmp 0xb252c9
jmp 0xb255f9
movq 0x290(%rsp), %rax
movslq 0x2a4(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x498(%rsp)
movq 0x498(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movl $0x0, 0x2c8(%rsp)
movl 0x2c8(%rsp), %eax
cmpl 0x2a0(%rsp), %eax
jge 0xb25679
vmovaps 0xa0(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovdqa %ymm0, 0xa0(%rsp)
movl 0x2c8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2c8(%rsp)
jmp 0xb25638
vmovdqa 0xb0(%rsp), %xmm0
vpextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq 0x178(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x2cc(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x2cc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2cc(%rsp)
jmp 0xb24d47
movl $0x0, 0x2d0(%rsp)
movl 0x2d0(%rsp), %eax
cmpl 0x2a8(%rsp), %eax
jge 0xb25745
movq 0x290(%rsp), %rax
movslq 0x2d0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x490(%rsp)
movq 0x490(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x60(%rsp)
movq 0x178(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0x60(%rsp), %ymm0
movl 0x2d0(%rsp), %esi
movl 0x2a8(%rsp), %edx
callq 0xb25940
movl 0x2d0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2d0(%rsp)
jmp 0xb256c8
movq 0x290(%rsp), %rax
movslq 0x2a4(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x488(%rsp)
movq 0x488(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x40(%rsp)
movl $0x0, 0x2c8(%rsp)
movl 0x2c8(%rsp), %eax
cmpl 0x2a0(%rsp), %eax
jge 0xb257bc
vmovaps 0x40(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovdqa %ymm0, 0x40(%rsp)
movl 0x2c8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2c8(%rsp)
jmp 0xb25781
movw 0x5e(%rsp), %ax
movw %ax, 0x21a(%rsp)
vmovaps 0x1e0(%rsp), %ymm1
vmovaps 0x1a0(%rsp), %ymm0
vmovaps %ymm1, 0x960(%rsp)
vmovaps %ymm0, 0x940(%rsp)
vmovaps 0x960(%rsp), %ymm0
vmovaps 0x940(%rsp), %ymm1
vpcmpgtw %ymm1, %ymm0, %ymm1
vmovaps 0x180(%rsp), %ymm2
vmovaps 0x1c0(%rsp), %ymm0
vmovaps %ymm2, 0x920(%rsp)
vmovaps %ymm0, 0x900(%rsp)
vmovaps 0x920(%rsp), %ymm0
vmovaps 0x900(%rsp), %ymm2
vpcmpgtw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0x9e0(%rsp)
vmovdqa %ymm0, 0x9c0(%rsp)
vmovdqa 0x9e0(%rsp), %ymm0
vpor 0x9c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x8c0(%rsp)
vmovdqa 0x8c0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xb258ad
movq 0x178(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movw $0x0, 0x21a(%rsp)
movl $0x0, 0x2c0(%rsp)
movl $0x0, 0x2bc(%rsp)
movswl 0x21a(%rsp), %ecx
movq 0x178(%rsp), %rax
movl %ecx, (%rax)
movl 0x2c0(%rsp), %ecx
movq 0x178(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x2bc(%rsp), %ecx
movq 0x178(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x278(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x280(%rsp), %rdi
callq 0x1c3590
movq 0x288(%rsp), %rdi
callq 0x1c3590
movq 0x290(%rsp), %rdi
callq 0x1c3590
movq 0x178(%rsp), %rax
movq %rax, 0x2f0(%rsp)
movq 0x2f0(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw (%rax,%rax)