// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_striped_avx2_256_16.c
// Function: parasail_sw_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;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int32_t s1Len = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
#ifdef PARASAIL_ROWCOL
    int32_t offset = 0;
    int32_t position = 0;
#endif
    __m256i* restrict vProfile = NULL;
    __m256i* restrict pvHStore = NULL;
    __m256i* restrict pvHLoad = NULL;
    __m256i* restrict pvHMax = NULL;
    __m256i* restrict pvE = NULL;
    __m256i vGapO;
    __m256i vGapE;
    __m256i vZero;
    int16_t bias = 0;
    int16_t score = 0;
    __m256i vBias;
    __m256i vMaxH;
    __m256i vMaxHUnit;
    int16_t maxp = 0;
    __m256i insert_mask;
    /*int16_t stop = 0;*/
    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;
    end_query = 0;
    end_ref = 0;
    s1Len = profile->s1Len;
    matrix = profile->matrix;
    segWidth = 16; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
#ifdef PARASAIL_ROWCOL
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
#endif
    vProfile = (__m256i*)profile->profile16.score;
    vGapO = _mm256_set1_epi16(open);
    vGapE = _mm256_set1_epi16(gap);
    vZero = _mm256_set1_epi16(0);
    bias = INT16_MIN;
    score = bias;
    vBias = _mm256_set1_epi16(bias);
    vMaxH = vBias;
    vMaxHUnit = vBias;
    maxp = INT16_MAX - (int16_t)(matrix->max+1);
    insert_mask = _mm256_cmpgt_epi16(
            _mm256_set_epi16(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1),
            vZero);
    /*stop = profile->stop == INT32_MAX ?  INT16_MAX : (int16_t)profile->stop-bias;*/

    /* 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_SW | 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);
    pvHMax = parasail_memalign___m256i(32, segLen);
    pvE = parasail_memalign___m256i(32, segLen);

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

    /* initialize H and E */
    parasail_memset___m256i(pvHStore, vBias, segLen);
    parasail_memset___m256i(pvE, vBias, segLen);

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m256i vE;
        __m256i vF;
        __m256i vH;
        const __m256i* vP = NULL;
        __m256i* pv = NULL;

        /* Initialize F value to 0.  Any errors to vH values will be
         * corrected in the Lazy_F loop.  */
        vF = vBias;

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

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

        if (end_ref == j-2) {
            /* Swap in the max buffer. */
            pv = pvHMax;
            pvHMax = pvHLoad;
            pvHLoad = pvHStore;
            pvHStore = pv;
        }
        else {
            /* Swap the 2 H buffers. */
            pv = pvHLoad;
            pvHLoad = pvHStore;
            pvHStore = pv;
        }

        /* 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);
#ifdef PARASAIL_TABLE
            arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len, bias);
#endif
            vMaxH = _mm256_max_epi16(vH, vMaxH);

            /* 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) {
            vF = _mm256_slli_si256_rpl(vF, 2);
            vF = _mm256_blendv_epi8(vF, vBias, insert_mask);
            for (i=0; i<segLen; ++i) {
                vH = _mm256_load_si256(pvHStore + i);
                vH = _mm256_max_epi16(vH,vF);
                _mm256_store_si256(pvHStore + i, vH);
#ifdef PARASAIL_TABLE
                arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len, bias);
#endif
                vMaxH = _mm256_max_epi16(vH, vMaxH);
                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) - bias;
        }
#endif

        {
            __m256i vCompare = _mm256_cmpgt_epi16(vMaxH, vMaxHUnit);
            if (_mm256_movemask_epi8(vCompare)) {
                score = _mm256_hmax_epi16_rpl(vMaxH);
                /* if score has potential to overflow, abort early */
                if (score > maxp) {
                    result->flag |= PARASAIL_FLAG_SATURATED;
                    break;
                }
                vMaxHUnit = _mm256_set1_epi16(score);
                end_ref = j;
            }
        }

        /*if (score == stop) break;*/
    }

#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, bias);
    }
#endif

    if (score == INT16_MAX) {
        result->flag |= PARASAIL_FLAG_SATURATED;
    }

    if (parasail_result_is_saturated(result)) {
        score = INT16_MAX;
        end_query = 0;
        end_ref = 0;
    }
    else {
        if (end_ref == j-1) {
            /* end_ref was the last store column */
            __m256i *pv = pvHMax;
            pvHMax = pvHStore;
            pvHStore = pv;
        }
        else if (end_ref == j-2) {
            /* end_ref was the last load column */
            __m256i *pv = pvHMax;
            pvHMax = pvHLoad;
            pvHLoad = pv;
        }
        /* Trace the alignment ending position on read. */
        {
            int16_t *t = (int16_t*)pvHMax;
            int32_t column_len = segLen * segWidth;
            end_query = s1Len - 1;
            for (i = 0; i<column_len; ++i, ++t) {
                if (*t == score) {
                    int32_t temp = i / segWidth + i % segWidth * segLen;
                    if (temp < end_query) {
                        end_query = temp;
                    }
                }
            }
        }
    }

    result->score = score - bias;
    result->end_query = end_query;
    result->end_ref = end_ref;

    parasail_free(pvE);
    parasail_free(pvHMax);
    parasail_free(pvHLoad);
    parasail_free(pvHStore);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0xa80, %rsp            # imm = 0xA80
movq %rdi, 0x2c0(%rsp)
movq %rsi, 0x2b8(%rsp)
movl %edx, 0x2b4(%rsp)
movl %ecx, 0x2b0(%rsp)
movl %r8d, 0x2ac(%rsp)
movl $0x0, 0x2a8(%rsp)
movl $0x0, 0x2a4(%rsp)
movl $0x0, 0x2a0(%rsp)
movl $0x0, 0x29c(%rsp)
movl $0x0, 0x298(%rsp)
movl $0x0, 0x294(%rsp)
movq $0x0, 0x288(%rsp)
movl $0x0, 0x284(%rsp)
movl $0x0, 0x280(%rsp)
movl $0x0, 0x27c(%rsp)
movl $0x0, 0x278(%rsp)
movq $0x0, 0x270(%rsp)
movq $0x0, 0x268(%rsp)
movq $0x0, 0x260(%rsp)
movq $0x0, 0x258(%rsp)
movq $0x0, 0x250(%rsp)
movw $0x0, 0x1de(%rsp)
movw $0x0, 0x1dc(%rsp)
movw $0x0, 0x15e(%rsp)
movq $0x0, 0x118(%rsp)
cmpq $0x0, 0x2c0(%rsp)
jne 0xb28fa7
movq 0x2fe061(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c306a(%rip), %rsi    # 0xcebfeb
leaq 0x1b1a76(%rip), %rdx    # 0xcda9fe
leaq 0x19954e(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb28fa9
jmp 0xb28fab
movq 0x2c0(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0xb28ff1
movq 0x2fe017(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c3020(%rip), %rsi    # 0xcebfeb
leaq 0x1b1a2c(%rip), %rdx    # 0xcda9fe
leaq 0x1c3a17(%rip), %rcx    # 0xcec9f0
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb28ff3
jmp 0xb28ff5
movq 0x2c0(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xb2903b
movq 0x2fdfcd(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c2fd6(%rip), %rsi    # 0xcebfeb
leaq 0x1b19e2(%rip), %rdx    # 0xcda9fe
leaq 0x1c38f9(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb2903d
jmp 0xb2903f
movq 0x2c0(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xb29084
movq 0x2fdf84(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c36a3(%rip), %rsi    # 0xcec701
leaq 0x1b1999(%rip), %rdx    # 0xcda9fe
leaq 0x1c38c0(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb29086
jmp 0xb29088
cmpq $0x0, 0x2b8(%rsp)
jne 0xb290ca
movq 0x2fdf3e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c2f47(%rip), %rsi    # 0xcebfeb
leaq 0x1b1953(%rip), %rdx    # 0xcda9fe
leaq 0x1c364c(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb290cc
jmp 0xb290ce
cmpl $0x0, 0x2b4(%rsp)
jg 0xb2910f
movq 0x2fdef9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c3618(%rip), %rsi    # 0xcec701
leaq 0x1b190e(%rip), %rdx    # 0xcda9fe
leaq 0x1c361e(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb29111
jmp 0xb29113
cmpl $0x0, 0x2b0(%rsp)
jge 0xb29154
movq 0x2fdeb4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c35ed(%rip), %rsi    # 0xcec71b
leaq 0x1b18c9(%rip), %rdx    # 0xcda9fe
leaq 0x1c35f4(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb29156
jmp 0xb29158
cmpl $0x0, 0x2ac(%rsp)
jge 0xb29199
movq 0x2fde6f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1c35a8(%rip), %rsi    # 0xcec71b
leaq 0x1b1884(%rip), %rdx    # 0xcda9fe
leaq 0x1c35b4(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
jmp 0xb2919b
movl $0x0, 0x2a8(%rsp)
movl $0x0, 0x2a4(%rsp)
movl $0x0, 0x2a0(%rsp)
movl $0x0, 0x29c(%rsp)
movl $0x0, 0x298(%rsp)
movq 0x2c0(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x294(%rsp)
movq 0x2c0(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x288(%rsp)
movl $0x10, 0x284(%rsp)
movl 0x294(%rsp), %esi
movl 0x284(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x280(%rsp)
movl 0x294(%rsp), %eax
decl %eax
movl 0x280(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x27c(%rsp)
movl 0x284(%rsp), %ecx
movl 0x294(%rsp), %eax
decl %eax
movl 0x280(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x278(%rsp)
movq 0x2c0(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, 0x270(%rsp)
movw 0x2b0(%rsp), %ax
movw %ax, 0x2de(%rsp)
movw 0x2de(%rsp), %ax
movw %ax, 0x18(%rsp)
movw %ax, 0x3de(%rsp)
movw %ax, 0x3dc(%rsp)
movw %ax, 0x3da(%rsp)
movw %ax, 0x3d8(%rsp)
movw %ax, 0x3d6(%rsp)
movw %ax, 0x3d4(%rsp)
movw %ax, 0x3d2(%rsp)
movw %ax, 0x3d0(%rsp)
movw %ax, 0x3ce(%rsp)
movw %ax, 0x3cc(%rsp)
movw %ax, 0x3ca(%rsp)
movw %ax, 0x3c8(%rsp)
movw %ax, 0x3c6(%rsp)
movw %ax, 0x3c4(%rsp)
movw %ax, 0x3c2(%rsp)
movw %ax, 0x3c0(%rsp)
movzwl 0x3c0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x3c2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x3c4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x3c6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x3c8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x3ca(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x3cc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x3ce(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x3d0(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x3d2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x3d4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x3d6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x3d8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x3da(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x3dc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x3de(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x3b0(%rsp)
vmovdqa %xmm0, 0x3a0(%rsp)
vmovaps 0x3a0(%rsp), %ymm0
vmovaps %ymm0, 0x220(%rsp)
movw 0x2ac(%rsp), %ax
movw %ax, 0x2dc(%rsp)
movw 0x2dc(%rsp), %ax
movw %ax, 0x1a(%rsp)
movw %ax, 0x41e(%rsp)
movw %ax, 0x41c(%rsp)
movw %ax, 0x41a(%rsp)
movw %ax, 0x418(%rsp)
movw %ax, 0x416(%rsp)
movw %ax, 0x414(%rsp)
movw %ax, 0x412(%rsp)
movw %ax, 0x410(%rsp)
movw %ax, 0x40e(%rsp)
movw %ax, 0x40c(%rsp)
movw %ax, 0x40a(%rsp)
movw %ax, 0x408(%rsp)
movw %ax, 0x406(%rsp)
movw %ax, 0x404(%rsp)
movw %ax, 0x402(%rsp)
movw %ax, 0x400(%rsp)
movzwl 0x400(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x402(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x404(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x406(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x408(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x40a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x40c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x40e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x410(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x412(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x414(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x416(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x418(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x41a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x41c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x41e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x3f0(%rsp)
vmovdqa %xmm0, 0x3e0(%rsp)
vmovaps 0x3e0(%rsp), %ymm0
vmovaps %ymm0, 0x200(%rsp)
movw $0x0, 0x2da(%rsp)
movw 0x2da(%rsp), %ax
movw %ax, 0x1c(%rsp)
movw %ax, 0x45e(%rsp)
movw %ax, 0x45c(%rsp)
movw %ax, 0x45a(%rsp)
movw %ax, 0x458(%rsp)
movw %ax, 0x456(%rsp)
movw %ax, 0x454(%rsp)
movw %ax, 0x452(%rsp)
movw %ax, 0x450(%rsp)
movw %ax, 0x44e(%rsp)
movw %ax, 0x44c(%rsp)
movw %ax, 0x44a(%rsp)
movw %ax, 0x448(%rsp)
movw %ax, 0x446(%rsp)
movw %ax, 0x444(%rsp)
movw %ax, 0x442(%rsp)
movw %ax, 0x440(%rsp)
movzwl 0x440(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x442(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x444(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x446(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x448(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x44a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x44c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x44e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x450(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x452(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x454(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x456(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x458(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x45a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x45c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x45e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x430(%rsp)
vmovdqa %xmm0, 0x420(%rsp)
vmovaps 0x420(%rsp), %ymm0
vmovaps %ymm0, 0x1e0(%rsp)
movw $0x8000, 0x1de(%rsp)    # imm = 0x8000
movw 0x1de(%rsp), %ax
movw %ax, 0x1dc(%rsp)
movw 0x1de(%rsp), %ax
movw %ax, 0x2d8(%rsp)
movw 0x2d8(%rsp), %ax
movw %ax, 0x1e(%rsp)
movw %ax, 0x49e(%rsp)
movw %ax, 0x49c(%rsp)
movw %ax, 0x49a(%rsp)
movw %ax, 0x498(%rsp)
movw %ax, 0x496(%rsp)
movw %ax, 0x494(%rsp)
movw %ax, 0x492(%rsp)
movw %ax, 0x490(%rsp)
movw %ax, 0x48e(%rsp)
movw %ax, 0x48c(%rsp)
movw %ax, 0x48a(%rsp)
movw %ax, 0x488(%rsp)
movw %ax, 0x486(%rsp)
movw %ax, 0x484(%rsp)
movw %ax, 0x482(%rsp)
movw %ax, 0x480(%rsp)
movzwl 0x480(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x482(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x484(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x486(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x488(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x48a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x48c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x48e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x490(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x492(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x494(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x496(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x498(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x49a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x49c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x49e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x470(%rsp)
vmovdqa %xmm0, 0x460(%rsp)
vmovaps 0x460(%rsp), %ymm0
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x1a0(%rsp), %ymm0
vmovaps %ymm0, 0x180(%rsp)
vmovaps 0x1a0(%rsp), %ymm0
vmovaps %ymm0, 0x160(%rsp)
movq 0x288(%rsp), %rax
movl 0x1c(%rax), %eax
incl %eax
xorl $0x7fff, %eax           # imm = 0x7FFF
movw %ax, 0x15e(%rsp)
movw $0x0, 0x51e(%rsp)
movw $0x0, 0x51c(%rsp)
movw $0x0, 0x51a(%rsp)
movw $0x0, 0x518(%rsp)
movw $0x0, 0x516(%rsp)
movw $0x0, 0x514(%rsp)
movw $0x0, 0x512(%rsp)
movw $0x0, 0x510(%rsp)
movw $0x0, 0x50e(%rsp)
movw $0x0, 0x50c(%rsp)
movw $0x0, 0x50a(%rsp)
movw $0x0, 0x508(%rsp)
movw $0x0, 0x506(%rsp)
movw $0x0, 0x504(%rsp)
movw $0x0, 0x502(%rsp)
movw $0x1, 0x500(%rsp)
movzwl 0x500(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x502(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x504(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x506(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x508(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x50a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x50c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x50e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x510(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x512(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x514(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x516(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x518(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x51a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x51c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x51e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x4f0(%rsp)
vmovdqa %xmm0, 0x4e0(%rsp)
vmovaps 0x4e0(%rsp), %ymm1
vmovaps 0x1e0(%rsp), %ymm0
vmovaps %ymm1, 0x380(%rsp)
vmovaps %ymm0, 0x360(%rsp)
vmovaps 0x380(%rsp), %ymm0
vmovaps 0x360(%rsp), %ymm1
vpcmpgtw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl 0x280(%rsp), %edi
imull 0x284(%rsp), %edi
movl 0x2b4(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x118(%rsp)
cmpq $0x0, 0x118(%rsp)
jne 0xb29b09
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
movq 0x118(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x10200804, %ecx       # imm = 0x10200804
movl %ecx, 0xc(%rax)
movq 0x118(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x280(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x268(%rsp)
movslq 0x280(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x260(%rsp)
movslq 0x280(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x258(%rsp)
movslq 0x280(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x250(%rsp)
cmpq $0x0, 0x268(%rsp)
jne 0xb29bb5
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
cmpq $0x0, 0x260(%rsp)
jne 0xb29bd1
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
cmpq $0x0, 0x258(%rsp)
jne 0xb29bed
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
cmpq $0x0, 0x250(%rsp)
jne 0xb29c09
movq $0x0, 0x2c8(%rsp)
jmp 0xb2aa2e
movq 0x268(%rsp), %rdi
vmovdqa 0x1a0(%rsp), %ymm0
movslq 0x280(%rsp), %rsi
callq 0x992f90
movq 0x250(%rsp), %rdi
vmovdqa 0x1a0(%rsp), %ymm0
movslq 0x280(%rsp), %rsi
callq 0x992f90
movl $0x0, 0x2a4(%rsp)
movl 0x2a4(%rsp), %eax
cmpl 0x2b4(%rsp), %eax
jge 0xb2a764
movq $0x0, 0x98(%rsp)
movq $0x0, 0x90(%rsp)
vmovaps 0x1a0(%rsp), %ymm0
vmovaps %ymm0, 0xc0(%rsp)
movq 0x268(%rsp), %rax
movl 0x280(%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]
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xa0(%rsp), %ymm2
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm2, 0x5c0(%rsp)
vmovdqa %ymm1, 0x5a0(%rsp)
vmovdqa %ymm0, 0x580(%rsp)
vmovdqa 0x5c0(%rsp), %ymm0
vmovdqa 0x5a0(%rsp), %ymm1
vmovdqa 0x580(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x270(%rsp), %rax
movq 0x288(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x2b8(%rsp), %rdx
movslq 0x2a4(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x280(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x98(%rsp)
movl 0x298(%rsp), %eax
movl 0x2a4(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jne 0xb29dbc
movq 0x258(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x260(%rsp), %rax
movq %rax, 0x258(%rsp)
movq 0x268(%rsp), %rax
movq %rax, 0x260(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x268(%rsp)
jmp 0xb29dec
movq 0x260(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x268(%rsp), %rax
movq %rax, 0x260(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x268(%rsp)
movl $0x0, 0x2a8(%rsp)
movl 0x2a8(%rsp), %eax
cmpl 0x280(%rsp), %eax
jge 0xb2a192
vmovdqa 0xa0(%rsp), %ymm1
movq 0x98(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x658(%rsp)
movq 0x658(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0x600(%rsp)
vmovdqa %ymm0, 0x5e0(%rsp)
vmovdqa 0x600(%rsp), %ymm0
vmovdqa 0x5e0(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x250(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x650(%rsp)
movq 0x650(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm1, 0x800(%rsp)
vmovdqa %ymm0, 0x7e0(%rsp)
vmovdqa 0x800(%rsp), %ymm0
vmovdqa 0x7e0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm1, 0x7c0(%rsp)
vmovdqa %ymm0, 0x7a0(%rsp)
vmovdqa 0x7c0(%rsp), %ymm0
vmovdqa 0x7a0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x268(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0xa0(%rsp), %ymm0
movq %rax, 0x8d8(%rsp)
vmovdqa %ymm0, 0x8a0(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
movq 0x8d8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0x180(%rsp), %ymm0
vmovdqa %ymm1, 0x780(%rsp)
vmovdqa %ymm0, 0x760(%rsp)
vmovdqa 0x780(%rsp), %ymm0
vmovdqa 0x760(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0xa00(%rsp)
vmovdqa %ymm0, 0x9e0(%rsp)
vmovdqa 0xa00(%rsp), %ymm0
vmovdqa 0x9e0(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0x200(%rsp), %ymm0
vmovdqa %ymm1, 0x9c0(%rsp)
vmovdqa %ymm0, 0x9a0(%rsp)
vmovdqa 0x9c0(%rsp), %ymm0
vmovdqa 0x9a0(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x740(%rsp)
vmovdqa %ymm0, 0x720(%rsp)
vmovdqa 0x740(%rsp), %ymm0
vmovdqa 0x720(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
movq 0x250(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0xe0(%rsp), %ymm0
movq %rax, 0x898(%rsp)
vmovdqa %ymm0, 0x860(%rsp)
vmovdqa 0x860(%rsp), %ymm0
movq 0x898(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0x200(%rsp), %ymm0
vmovdqa %ymm1, 0x980(%rsp)
vmovdqa %ymm0, 0x960(%rsp)
vmovdqa 0x980(%rsp), %ymm0
vmovdqa 0x960(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x700(%rsp)
vmovdqa %ymm0, 0x6e0(%rsp)
vmovdqa 0x700(%rsp), %ymm0
vmovdqa 0x6e0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
movq 0x260(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x648(%rsp)
movq 0x648(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movl 0x2a8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a8(%rsp)
jmp 0xb29df7
movl $0x0, 0x2a0(%rsp)
movl 0x2a0(%rsp), %eax
cmpl 0x284(%rsp), %eax
jge 0xb2a45b
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]
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0xc0(%rsp), %ymm2
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm2, 0x560(%rsp)
vmovdqa %ymm1, 0x540(%rsp)
vmovdqa %ymm0, 0x520(%rsp)
vmovdqa 0x560(%rsp), %ymm0
vmovdqa 0x540(%rsp), %ymm1
vmovdqa 0x520(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
movl $0x0, 0x2a8(%rsp)
movl 0x2a8(%rsp), %eax
cmpl 0x280(%rsp), %eax
jge 0xb2a443
movq 0x268(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x640(%rsp)
movq 0x640(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0xa0(%rsp)
vmovaps 0xa0(%rsp), %ymm1
vmovaps 0xc0(%rsp), %ymm0
vmovaps %ymm1, 0x6c0(%rsp)
vmovaps %ymm0, 0x6a0(%rsp)
vmovaps 0x6c0(%rsp), %ymm0
vmovaps 0x6a0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xa0(%rsp)
movq 0x268(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovaps 0xa0(%rsp), %ymm0
movq %rax, 0x858(%rsp)
vmovaps %ymm0, 0x820(%rsp)
vmovaps 0x820(%rsp), %ymm0
movq 0x858(%rsp), %rax
vmovaps %ymm0, (%rax)
vmovaps 0xa0(%rsp), %ymm1
vmovaps 0x180(%rsp), %ymm0
vmovaps %ymm1, 0x680(%rsp)
vmovaps %ymm0, 0x660(%rsp)
vmovaps 0x680(%rsp), %ymm0
vmovaps 0x660(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x180(%rsp)
vmovaps 0xa0(%rsp), %ymm1
vmovaps 0x220(%rsp), %ymm0
vmovaps %ymm1, 0x940(%rsp)
vmovaps %ymm0, 0x920(%rsp)
vmovaps 0x940(%rsp), %ymm0
vmovaps 0x920(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xa0(%rsp)
vmovaps 0xc0(%rsp), %ymm1
vmovaps 0x200(%rsp), %ymm0
vmovaps %ymm1, 0x900(%rsp)
vmovaps %ymm0, 0x8e0(%rsp)
vmovaps 0x900(%rsp), %ymm0
vmovaps 0x8e0(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xc0(%rsp)
vmovaps 0xc0(%rsp), %ymm1
vmovaps 0xa0(%rsp), %ymm0
vmovaps %ymm1, 0x340(%rsp)
vmovaps %ymm0, 0x320(%rsp)
vmovaps 0x340(%rsp), %ymm0
vmovaps 0x320(%rsp), %ymm1
vpcmpgtw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa40(%rsp)
vmovdqa 0xa40(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
jne 0xb2a42b
jmp 0xb2a45d
jmp 0xb2a42d
movl 0x2a8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a8(%rsp)
jmp 0xb2a23a
jmp 0xb2a445
movl 0x2a0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a0(%rsp)
jmp 0xb2a19d
jmp 0xb2a45d
movq 0x268(%rsp), %rax
movslq 0x27c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x638(%rsp)
movq 0x638(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movl $0x0, 0x2a0(%rsp)
movl 0x2a0(%rsp), %eax
cmpl 0x278(%rsp), %eax
jge 0xb2a4dd
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 0x2a0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a0(%rsp)
jmp 0xb2a49c
movswl 0xbe(%rsp), %edx
movswl 0x1de(%rsp), %eax
subl %eax, %edx
movq 0x118(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x2a4(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
vmovaps 0x180(%rsp), %ymm1
vmovaps 0x160(%rsp), %ymm0
vmovaps %ymm1, 0x300(%rsp)
vmovaps %ymm0, 0x2e0(%rsp)
vmovaps 0x300(%rsp), %ymm0
vmovaps 0x2e0(%rsp), %ymm1
vpcmpgtw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x60(%rsp)
vmovdqa 0x60(%rsp), %ymm0
vmovdqa %ymm0, 0xa20(%rsp)
vmovdqa 0xa20(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xb2a74c
vmovdqa 0x180(%rsp), %ymm0
callq 0xb2aa40
movw %ax, 0x1dc(%rsp)
movswl 0x1dc(%rsp), %eax
movswl 0x15e(%rsp), %ecx
cmpl %ecx, %eax
jle 0xb2a5ae
movq 0x118(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
jmp 0xb2a764
movw 0x1dc(%rsp), %ax
movw %ax, 0x2d6(%rsp)
movw 0x2d6(%rsp), %ax
movw %ax, 0x16(%rsp)
movw %ax, 0x4de(%rsp)
movw %ax, 0x4dc(%rsp)
movw %ax, 0x4da(%rsp)
movw %ax, 0x4d8(%rsp)
movw %ax, 0x4d6(%rsp)
movw %ax, 0x4d4(%rsp)
movw %ax, 0x4d2(%rsp)
movw %ax, 0x4d0(%rsp)
movw %ax, 0x4ce(%rsp)
movw %ax, 0x4cc(%rsp)
movw %ax, 0x4ca(%rsp)
movw %ax, 0x4c8(%rsp)
movw %ax, 0x4c6(%rsp)
movw %ax, 0x4c4(%rsp)
movw %ax, 0x4c2(%rsp)
movw %ax, 0x4c0(%rsp)
movzwl 0x4d0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x4d2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x4d4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x4d6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x4d8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x4da(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x4dc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x4de(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm1
movzwl 0x4c0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x4c2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x4c4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x4c6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x4c8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x4ca(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x4cc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x4ce(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x4a0(%rsp)
vmovdqa 0x4a0(%rsp), %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movl 0x2a4(%rsp), %eax
movl %eax, 0x298(%rsp)
jmp 0xb2a74e
movl 0x2a4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a4(%rsp)
jmp 0xb29c50
movl $0x0, 0x2a8(%rsp)
movl 0x2a8(%rsp), %eax
cmpl 0x280(%rsp), %eax
jge 0xb2a7f7
movq 0x268(%rsp), %rax
movslq 0x2a8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x630(%rsp)
movq 0x630(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x40(%rsp)
movq 0x118(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0x40(%rsp), %ymm0
movl 0x2a8(%rsp), %esi
movl 0x280(%rsp), %edx
movswl 0x1de(%rsp), %ecx
callq 0xb2ab40
movl 0x2a8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a8(%rsp)
jmp 0xb2a76f
movswl 0x1dc(%rsp), %eax
cmpl $0x7fff, %eax           # imm = 0x7FFF
jne 0xb2a817
movq 0x118(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq 0x118(%rsp), %rdi
vzeroupper
callq 0x1c6390
cmpl $0x0, %eax
je 0xb2a851
movw $0x7fff, 0x1dc(%rsp)    # imm = 0x7FFF
movl $0x0, 0x29c(%rsp)
movl $0x0, 0x298(%rsp)
jmp 0xb2a9aa
movl 0x298(%rsp), %eax
movl 0x2a4(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0xb2a892
movq 0x258(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x268(%rsp), %rax
movq %rax, 0x258(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x268(%rsp)
jmp 0xb2a8d3
movl 0x298(%rsp), %eax
movl 0x2a4(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jne 0xb2a8d1
movq 0x258(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x260(%rsp), %rax
movq %rax, 0x258(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x260(%rsp)
jmp 0xb2a8d3
movq 0x258(%rsp), %rax
movq %rax, 0x28(%rsp)
movl 0x280(%rsp), %eax
imull 0x284(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x294(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x29c(%rsp)
movl $0x0, 0x2a8(%rsp)
movl 0x2a8(%rsp), %eax
cmpl 0x24(%rsp), %eax
jge 0xb2a9a8
movq 0x28(%rsp), %rax
movswl (%rax), %eax
movswl 0x1dc(%rsp), %ecx
cmpl %ecx, %eax
jne 0xb2a982
movl 0x2a8(%rsp), %eax
cltd
idivl 0x284(%rsp)
movl %eax, 0x10(%rsp)
movl 0x2a8(%rsp), %eax
cltd
idivl 0x284(%rsp)
movl 0x10(%rsp), %eax
imull 0x280(%rsp), %edx
addl %edx, %eax
movl %eax, 0x20(%rsp)
movl 0x20(%rsp), %eax
cmpl 0x29c(%rsp), %eax
jge 0xb2a980
movl 0x20(%rsp), %eax
movl %eax, 0x29c(%rsp)
jmp 0xb2a982
jmp 0xb2a984
movl 0x2a8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2a8(%rsp)
movq 0x28(%rsp), %rax
addq $0x2, %rax
movq %rax, 0x28(%rsp)
jmp 0xb2a90f
jmp 0xb2a9aa
movswl 0x1dc(%rsp), %ecx
movswl 0x1de(%rsp), %eax
subl %eax, %ecx
movq 0x118(%rsp), %rax
movl %ecx, (%rax)
movl 0x29c(%rsp), %ecx
movq 0x118(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x298(%rsp), %ecx
movq 0x118(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x250(%rsp), %rdi
callq 0x1c3590
movq 0x258(%rsp), %rdi
callq 0x1c3590
movq 0x260(%rsp), %rdi
callq 0x1c3590
movq 0x268(%rsp), %rdi
callq 0x1c3590
movq 0x118(%rsp), %rax
movq %rax, 0x2c8(%rsp)
movq 0x2c8(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopl (%rax,%rax)