// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sg_striped_avx2_256_64.c
// Function: parasail_sg_flags_rowcol_striped_profile_avx2_256_64
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,
        int s1_beg, int s1_end, int s2_beg, int s2_end)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t k = 0;
    int32_t 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;
    int64_t* restrict boundary = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int64_t NEG_LIMIT = 0;
    int64_t POS_LIMIT = 0;
    int64_t score = 0;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i vSaturationCheckMax;
    __m256i vMaxH;
    __m256i vPosMask;
    parasail_result_t *result = NULL;

    /* validate inputs */
    PARASAIL_CHECK_NULL(profile);
    PARASAIL_CHECK_NULL(profile->profile64.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 = 4; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
    vProfile = (__m256i*)profile->profile64.score;
    vGapO = _mm256_set1_epi64x_rpl(open);
    vGapE = _mm256_set1_epi64x_rpl(gap);
    NEG_LIMIT = (-open < matrix->min ? INT64_MIN + open : INT64_MIN - matrix->min) + 1;
    POS_LIMIT = INT64_MAX - matrix->max - 1;
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi64x_rpl(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi64x_rpl(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vPosMask = _mm256_cmpeq_epi64(_mm256_set1_epi64x_rpl(position),
            _mm256_set_epi64x_rpl(0,1,2,3));

    /* 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_SG | PARASAIL_FLAG_STRIPED
        | PARASAIL_FLAG_BITS_64 | PARASAIL_FLAG_LANES_4;
    result->flag |= s1_beg ? PARASAIL_FLAG_SG_S1_BEG : 0;
    result->flag |= s1_end ? PARASAIL_FLAG_SG_S1_END : 0;
    result->flag |= s2_beg ? PARASAIL_FLAG_SG_S2_BEG : 0;
    result->flag |= s2_end ? PARASAIL_FLAG_SG_S2_END : 0;
#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_int64_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_64_t h;
            __m256i_64_t e;
            for (segNum=0; segNum<segWidth; ++segNum) {
                int64_t tmp = s1_beg ? 0 : (-open-gap*(segNum*segLen+i));
                h.v[segNum] = tmp < INT64_MIN ? INT64_MIN : tmp;
                tmp = tmp - open;
                e.v[segNum] = tmp < INT64_MIN ? INT64_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 = s2_beg ? 0 : (-open-gap*(i-1));
            boundary[i] = tmp < INT64_MIN ? INT64_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], 8);

        /* 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_epi64_rpl(vH, boundary[j], 0);

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

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

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

            /* Update vF value. */
            vF = _mm256_sub_epi64(vF, vGapE);
            vF = _mm256_max_epi64_rpl(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 = s2_beg ? -open : (boundary[j+1]-open);
            int64_t tmp2 = tmp < INT64_MIN ? INT64_MIN : tmp;
            vF = _mm256_slli_si256_rpl(vF, 8);
            vF = _mm256_insert_epi64_rpl(vF, tmp2, 0);
            for (i=0; i<segLen; ++i) {
                vH = _mm256_load_si256(pvHStore + i);
                vH = _mm256_max_epi64_rpl(vH,vF);
                _mm256_store_si256(pvHStore + i, vH);
                vSaturationCheckMin = _mm256_min_epi64_rpl(vSaturationCheckMin, vH);
                vSaturationCheckMax = _mm256_max_epi64_rpl(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
                arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
                vH = _mm256_sub_epi64(vH, vGapO);
                vF = _mm256_sub_epi64(vF, vGapE);
                if (! _mm256_movemask_epi8(_mm256_cmpgt_epi64(vF, vH))) goto end;
                /*vF = _mm256_max_epi64_rpl(vF, vH);*/
            }
        }
end:
        {
            /* extract vector containing last value from the column */
            __m256i vCompare;
            vH = _mm256_load_si256(pvHStore + offset);
            vCompare = _mm256_and_si256(vPosMask, _mm256_cmpgt_epi64(vH, vMaxH));
            vMaxH = _mm256_max_epi64_rpl(vH, vMaxH);
            if (_mm256_movemask_epi8(vCompare)) {
                end_ref = j;
            }
#ifdef PARASAIL_ROWCOL
            for (k=0; k<position; ++k) {
                vH = _mm256_slli_si256_rpl(vH, 8);
            }
            result->rowcols->score_row[j] = (int64_t) _mm256_extract_epi64_rpl (vH, 3);
#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

    /* max last value from all columns */
    if (s2_end)
    {
        for (k=0; k<position; ++k) {
            vMaxH = _mm256_slli_si256_rpl(vMaxH, 8);
        }
        score = (int64_t) _mm256_extract_epi64_rpl(vMaxH, 3);
        end_query = s1Len-1;
    }

    /* max of last column */
    if (s1_end)
    {
        /* Trace the alignment ending position on read. */
        int64_t *t = (int64_t*)pvHStore;
        int32_t column_len = segLen * segWidth;
        for (i = 0; i<column_len; ++i, ++t) {
            int32_t temp = i / segWidth + i % segWidth * segLen;
            if (temp >= s1Len) continue;
            if (*t > score) {
                score = *t;
                end_query = temp;
                end_ref = s2Len-1;
            }
            else if (*t == score && end_ref == s2Len-1 && temp < end_query) {
                end_query = temp;
            }
        }
    }

    if (!s1_end && !s2_end) {
        /* 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, 8);
            }
            score = (int64_t) _mm256_extract_epi64_rpl (vH, 3);
            end_ref = s2Len - 1;
            end_query = s1Len - 1;
        }
    }

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi64_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_cmpgt_epi64(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 $0xa80, %rsp            # imm = 0xA80
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, 0x388(%rsp)
movq %rsi, 0x380(%rsp)
movl %edx, 0x37c(%rsp)
movl %ecx, 0x378(%rsp)
movl %r8d, 0x374(%rsp)
movl %r9d, 0x370(%rsp)
movl $0x0, 0x36c(%rsp)
movl $0x0, 0x368(%rsp)
movl $0x0, 0x364(%rsp)
movl $0x0, 0x360(%rsp)
movl $0x0, 0x35c(%rsp)
movl $0x0, 0x358(%rsp)
movq $0x0, 0x350(%rsp)
movl $0x0, 0x34c(%rsp)
movl $0x0, 0x348(%rsp)
movl $0x0, 0x344(%rsp)
movl $0x0, 0x340(%rsp)
movq $0x0, 0x338(%rsp)
movq $0x0, 0x330(%rsp)
movq $0x0, 0x328(%rsp)
movq $0x0, 0x320(%rsp)
movq $0x0, 0x318(%rsp)
movq $0x0, 0x2b8(%rsp)
movq $0x0, 0x2b0(%rsp)
movq $0x0, 0x2a8(%rsp)
movq $0x0, 0x1d8(%rsp)
cmpq $0x0, 0x388(%rsp)
jne 0xb1a02e
movq 0x30cfda(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d1fe3(%rip), %rsi    # 0xcebfeb
leaq 0x1d71f3(%rip), %rdx    # 0xcf1202
leaq 0x1a84c7(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a030
jmp 0xb1a032
movq 0x388(%rsp), %rax
cmpq $0x0, 0x60(%rax)
jne 0xb1a078
movq 0x30cf90(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d1f99(%rip), %rsi    # 0xcebfeb
leaq 0x1d71a9(%rip), %rdx    # 0xcf1202
leaq 0x1d28a3(%rip), %rcx    # 0xcec903
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a07a
jmp 0xb1a07c
movq 0x388(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xb1a0c2
movq 0x30cf46(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d1f4f(%rip), %rsi    # 0xcebfeb
leaq 0x1d715f(%rip), %rdx    # 0xcf1202
leaq 0x1d2872(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a0c4
jmp 0xb1a0c6
movq 0x388(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xb1a10b
movq 0x30cefd(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d261c(%rip), %rsi    # 0xcec701
leaq 0x1d7116(%rip), %rdx    # 0xcf1202
leaq 0x1d2839(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a10d
jmp 0xb1a10f
cmpq $0x0, 0x380(%rsp)
jne 0xb1a151
movq 0x30ceb7(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d1ec0(%rip), %rsi    # 0xcebfeb
leaq 0x1d70d0(%rip), %rdx    # 0xcf1202
leaq 0x1d25c5(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a153
jmp 0xb1a155
cmpl $0x0, 0x37c(%rsp)
jg 0xb1a196
movq 0x30ce72(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d2591(%rip), %rsi    # 0xcec701
leaq 0x1d708b(%rip), %rdx    # 0xcf1202
leaq 0x1d2597(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a198
jmp 0xb1a19a
cmpl $0x0, 0x378(%rsp)
jge 0xb1a1db
movq 0x30ce2d(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d2566(%rip), %rsi    # 0xcec71b
leaq 0x1d7046(%rip), %rdx    # 0xcf1202
leaq 0x1d256d(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a1dd
jmp 0xb1a1df
cmpl $0x0, 0x374(%rsp)
jge 0xb1a220
movq 0x30cde8(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d2521(%rip), %rsi    # 0xcec71b
leaq 0x1d7001(%rip), %rdx    # 0xcf1202
leaq 0x1d252d(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
jmp 0xb1a222
movl $0x0, 0x36c(%rsp)
movl $0x0, 0x368(%rsp)
movl $0x0, 0x364(%rsp)
movq 0x388(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x360(%rsp)
movl 0x360(%rsp), %eax
decl %eax
movl %eax, 0x35c(%rsp)
movl 0x37c(%rsp), %eax
decl %eax
movl %eax, 0x358(%rsp)
movq 0x388(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x350(%rsp)
movl $0x4, 0x34c(%rsp)
movl 0x360(%rsp), %esi
movl 0x34c(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x348(%rsp)
movl 0x360(%rsp), %eax
decl %eax
movl 0x348(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x344(%rsp)
movl 0x34c(%rsp), %ecx
movl 0x360(%rsp), %eax
decl %eax
movl 0x348(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x340(%rsp)
movq 0x388(%rsp), %rax
movq 0x60(%rax), %rax
movq %rax, 0x338(%rsp)
movslq 0x378(%rsp), %rax
movq %rax, 0x3b8(%rsp)
movq 0x3b8(%rsp), %rax
movq %rax, 0x438(%rsp)
movq %rax, 0x430(%rsp)
movq %rax, 0x428(%rsp)
movq %rax, 0x420(%rsp)
vmovq 0x428(%rsp), %xmm1
vmovq 0x420(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x438(%rsp), %xmm2
vmovq 0x430(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x410(%rsp)
vmovdqa %xmm0, 0x400(%rsp)
vmovaps 0x400(%rsp), %ymm0
vmovaps %ymm0, 0x2e0(%rsp)
movslq 0x374(%rsp), %rax
movq %rax, 0x3b0(%rsp)
movq 0x3b0(%rsp), %rax
movq %rax, 0x478(%rsp)
movq %rax, 0x470(%rsp)
movq %rax, 0x468(%rsp)
movq %rax, 0x460(%rsp)
vmovq 0x478(%rsp), %xmm1
vmovq 0x470(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x468(%rsp), %xmm2
vmovq 0x460(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x440(%rsp)
vmovdqa 0x440(%rsp), %ymm0
vmovdqa %ymm0, 0x2c0(%rsp)
xorl %eax, %eax
subl 0x378(%rsp), %eax
movq 0x350(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xb1a44a
movslq 0x378(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, 0x58(%rsp)
jmp 0xb1a468
movq 0x350(%rsp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rax
incq %rax
movq %rax, 0x2b8(%rsp)
movq 0x350(%rsp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, 0x2b0(%rsp)
movq 0x2b8(%rsp), %rax
movq %rax, 0x2a8(%rsp)
movq 0x2b8(%rsp), %rax
movq %rax, 0x3a8(%rsp)
movq 0x3a8(%rsp), %rax
movq %rax, 0x4b8(%rsp)
movq %rax, 0x4b0(%rsp)
movq %rax, 0x4a8(%rsp)
movq %rax, 0x4a0(%rsp)
vmovq 0x4a8(%rsp), %xmm1
vmovq 0x4a0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x4b8(%rsp), %xmm2
vmovq 0x4b0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x490(%rsp)
vmovdqa %xmm0, 0x480(%rsp)
vmovaps 0x480(%rsp), %ymm0
vmovaps %ymm0, 0x280(%rsp)
movq 0x2b0(%rsp), %rax
movq %rax, 0x3a0(%rsp)
movq 0x3a0(%rsp), %rax
movq %rax, 0x4f8(%rsp)
movq %rax, 0x4f0(%rsp)
movq %rax, 0x4e8(%rsp)
movq %rax, 0x4e0(%rsp)
vmovq 0x4e8(%rsp), %xmm1
vmovq 0x4e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x4f8(%rsp), %xmm2
vmovq 0x4f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x4d0(%rsp)
vmovdqa %xmm0, 0x4c0(%rsp)
vmovaps 0x4c0(%rsp), %ymm0
vmovaps %ymm0, 0x260(%rsp)
vmovaps 0x260(%rsp), %ymm0
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm0, 0x220(%rsp)
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm0, 0x200(%rsp)
movslq 0x340(%rsp), %rax
movq %rax, 0x398(%rsp)
movq 0x398(%rsp), %rax
movq %rax, 0x538(%rsp)
movq %rax, 0x530(%rsp)
movq %rax, 0x528(%rsp)
movq %rax, 0x520(%rsp)
vmovq 0x528(%rsp), %xmm1
vmovq 0x520(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x538(%rsp), %xmm2
vmovq 0x530(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x510(%rsp)
vmovdqa %xmm0, 0x500(%rsp)
vmovaps 0x500(%rsp), %ymm1
movq $0x0, 0x578(%rsp)
movq $0x1, 0x570(%rsp)
movq $0x2, 0x568(%rsp)
movq $0x3, 0x560(%rsp)
vmovq 0x568(%rsp), %xmm2
vmovq 0x560(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm2[0]
vmovq 0x578(%rsp), %xmm3
vmovq 0x570(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovdqa %xmm2, 0x550(%rsp)
vmovdqa %xmm0, 0x540(%rsp)
vmovaps 0x540(%rsp), %ymm0
vmovaps %ymm1, 0x3e0(%rsp)
vmovaps %ymm0, 0x3c0(%rsp)
vmovaps 0x3e0(%rsp), %ymm0
vmovaps 0x3c0(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1e0(%rsp)
movl 0x348(%rsp), %edi
imull 0x34c(%rsp), %edi
movl 0x37c(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x1d8(%rsp)
cmpq $0x0, 0x1d8(%rsp)
jne 0xb1a759
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
movq 0x1d8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x4800802, %ecx        # imm = 0x4800802
movl %ecx, 0xc(%rax)
movl 0x370(%rsp), %edx
xorl %ecx, %ecx
movl $0x8, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x1d8(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x10(%rbp), %edx
xorl %ecx, %ecx
movl $0x10, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x1d8(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x18(%rbp), %edx
xorl %ecx, %ecx
movl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x1d8(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x20(%rbp), %edx
xorl %ecx, %ecx
movl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x1d8(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movq 0x1d8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x348(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x330(%rsp)
movslq 0x348(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x328(%rsp)
movslq 0x348(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x320(%rsp)
movl 0x37c(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x318(%rsp)
cmpq $0x0, 0x330(%rsp)
jne 0xb1a886
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
cmpq $0x0, 0x328(%rsp)
jne 0xb1a8a2
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
cmpq $0x0, 0x320(%rsp)
jne 0xb1a8be
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
cmpq $0x0, 0x318(%rsp)
jne 0xb1a8da
movq $0x0, 0x390(%rsp)
jmp 0xb1b919
movl $0x0, 0x1d4(%rsp)
movl $0x0, 0x36c(%rsp)
movl 0x36c(%rsp), %eax
cmpl 0x348(%rsp), %eax
jge 0xb1aaef
movl $0x0, 0x1d0(%rsp)
movl $0x0, 0x1d0(%rsp)
movl 0x1d0(%rsp), %eax
cmpl 0x34c(%rsp), %eax
jge 0xb1aa3c
cmpl $0x0, 0x370(%rsp)
je 0xb1a940
xorl %eax, %eax
movl %eax, 0x54(%rsp)
jmp 0xb1a96f
xorl %eax, %eax
subl 0x378(%rsp), %eax
movl 0x374(%rsp), %ecx
movl 0x1d0(%rsp), %edx
imull 0x348(%rsp), %edx
addl 0x36c(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, 0x54(%rsp)
movl 0x54(%rsp), %eax
cltq
movq %rax, 0x178(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x178(%rsp)
jge 0xb1a9a2
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x48(%rsp)
jmp 0xb1a9af
movq 0x178(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rcx
movslq 0x1d0(%rsp), %rax
movq %rcx, 0x1a0(%rsp,%rax,8)
movq 0x178(%rsp), %rax
movslq 0x378(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x178(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x178(%rsp)
jge 0xb1aa04
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x40(%rsp)
jmp 0xb1aa11
movq 0x178(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rcx
movslq 0x1d0(%rsp), %rax
movq %rcx, 0x180(%rsp,%rax,8)
movl 0x1d0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1d0(%rsp)
jmp 0xb1a91a
movq 0x330(%rsp), %rax
movslq 0x1d4(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1a0(%rsp), %ymm0
movq %rax, 0x6b8(%rsp)
vmovdqa %ymm0, 0x680(%rsp)
vmovdqa 0x680(%rsp), %ymm0
movq 0x6b8(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x320(%rsp), %rax
movslq 0x1d4(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x180(%rsp), %ymm0
movq %rax, 0x678(%rsp)
vmovdqa %ymm0, 0x640(%rsp)
vmovdqa 0x640(%rsp), %ymm0
movq 0x678(%rsp), %rax
vmovdqa %ymm0, (%rax)
movl 0x1d4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1d4(%rsp)
movl 0x36c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x36c(%rsp)
jmp 0xb1a8f0
movq 0x318(%rsp), %rax
movq $0x0, (%rax)
movl $0x1, 0x36c(%rsp)
movl 0x36c(%rsp), %eax
cmpl 0x37c(%rsp), %eax
jg 0xb1abbd
cmpl $0x0, 0x18(%rbp)
je 0xb1ab2b
xorl %eax, %eax
movl %eax, 0x3c(%rsp)
jmp 0xb1ab4e
xorl %eax, %eax
subl 0x378(%rsp), %eax
movl 0x374(%rsp), %ecx
movl 0x36c(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, 0x3c(%rsp)
movl 0x3c(%rsp), %eax
cltq
movq %rax, 0x170(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x170(%rsp)
jge 0xb1ab81
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x30(%rsp)
jmp 0xb1ab8e
movq 0x170(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rdx
movq 0x318(%rsp), %rax
movslq 0x36c(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x36c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x36c(%rsp)
jmp 0xb1ab09
movl $0x0, 0x368(%rsp)
movl 0x368(%rsp), %eax
cmpl 0x37c(%rsp), %eax
jge 0xb1b490
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm0, 0x120(%rsp)
movq 0x330(%rsp), %rax
movl 0x348(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
vmovaps (%rax,%rcx), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovaps %ymm0, 0x100(%rsp)
movq 0x338(%rsp), %rax
movq 0x350(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x380(%rsp), %rdx
movslq 0x368(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
movl 0x348(%rsp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xf8(%rsp)
movq 0x328(%rsp), %rax
movq %rax, 0xf0(%rsp)
movq 0x330(%rsp), %rax
movq %rax, 0x328(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x330(%rsp)
vmovaps 0x100(%rsp), %ymm0
movq 0x318(%rsp), %rax
movslq 0x368(%rsp), %rcx
vmovq (%rax,%rcx,8), %xmm2
vmovaps %xmm2, %xmm1
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x100(%rsp)
movl $0x0, 0x36c(%rsp)
movl 0x36c(%rsp), %eax
cmpl 0x348(%rsp), %eax
jge 0xb1b013
vmovdqa 0x100(%rsp), %ymm1
movq 0xf8(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x738(%rsp)
movq 0x738(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0x6e0(%rsp)
vmovdqa %ymm0, 0x6c0(%rsp)
vmovdqa 0x6e0(%rsp), %ymm0
vpaddq 0x6c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movq 0x320(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x730(%rsp)
movq 0x730(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa 0x140(%rsp), %ymm1
callq 0xb1b930
vmovdqa %ymm0, 0x100(%rsp)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa 0x120(%rsp), %ymm1
callq 0xb1b930
vmovdqa %ymm0, 0x100(%rsp)
movq 0x330(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x100(%rsp), %ymm0
movq %rax, 0x638(%rsp)
vmovdqa %ymm0, 0x600(%rsp)
vmovdqa 0x600(%rsp), %ymm0
movq 0x638(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x220(%rsp), %ymm0
vmovdqa 0x100(%rsp), %ymm1
callq 0xb1b930
vmovdqa %ymm0, 0x220(%rsp)
vmovdqa 0x240(%rsp), %ymm0
vmovdqa 0x100(%rsp), %ymm1
callq 0xb1ba30
vmovdqa %ymm0, 0x240(%rsp)
vmovdqa 0x240(%rsp), %ymm0
vmovdqa 0x140(%rsp), %ymm1
callq 0xb1ba30
vmovdqa %ymm0, 0x240(%rsp)
vmovdqa 0x240(%rsp), %ymm0
vmovdqa 0x120(%rsp), %ymm1
callq 0xb1ba30
vmovdqa %ymm0, 0x240(%rsp)
vmovdqa 0x100(%rsp), %ymm1
vmovdqa 0x2e0(%rsp), %ymm0
vmovdqa %ymm1, 0x860(%rsp)
vmovdqa %ymm0, 0x840(%rsp)
vmovdqa 0x860(%rsp), %ymm0
vpsubq 0x840(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
vmovdqa 0x140(%rsp), %ymm1
vmovdqa 0x2c0(%rsp), %ymm0
vmovdqa %ymm1, 0x820(%rsp)
vmovdqa %ymm0, 0x800(%rsp)
vmovdqa 0x820(%rsp), %ymm0
vpsubq 0x800(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x140(%rsp), %ymm0
vmovdqa 0x100(%rsp), %ymm1
callq 0xb1b930
vmovdqa %ymm0, 0x140(%rsp)
movq 0x320(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x140(%rsp), %ymm0
movq %rax, 0x5f8(%rsp)
vmovdqa %ymm0, 0x5c0(%rsp)
vmovdqa 0x5c0(%rsp), %ymm0
movq 0x5f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x2c0(%rsp), %ymm0
vmovdqa %ymm1, 0x7e0(%rsp)
vmovdqa %ymm0, 0x7c0(%rsp)
vmovdqa 0x7e0(%rsp), %ymm0
vpsubq 0x7c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x120(%rsp), %ymm0
vmovdqa 0x100(%rsp), %ymm1
callq 0xb1b930
vmovdqa %ymm0, 0x120(%rsp)
movq 0x328(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x728(%rsp)
movq 0x728(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movl 0x36c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x36c(%rsp)
jmp 0xb1acd7
movl $0x0, 0x364(%rsp)
movl 0x364(%rsp), %eax
cmpl 0x34c(%rsp), %eax
jge 0xb1b30d
cmpl $0x0, 0x18(%rbp)
je 0xb1b04a
xorl %eax, %eax
subl 0x378(%rsp), %eax
cltq
movq %rax, 0x28(%rsp)
jmp 0xb1b073
movq 0x318(%rsp), %rax
movl 0x368(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movslq 0x378(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0xe8(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0xe8(%rsp)
jge 0xb1b0a5
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x20(%rsp)
jmp 0xb1b0b2
movq 0xe8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0xe0(%rsp)
vmovaps 0x120(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x120(%rsp), %ymm0
vmovq 0xe0(%rsp), %xmm2
vmovaps %xmm2, %xmm1
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x120(%rsp)
movl $0x0, 0x36c(%rsp)
movl 0x36c(%rsp), %eax
cmpl 0x348(%rsp), %eax
jge 0xb1b2f5
movq 0x330(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x720(%rsp)
movq 0x720(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x100(%rsp)
vmovaps 0x100(%rsp), %ymm0
vmovaps 0x120(%rsp), %ymm1
callq 0xb1b930
vmovaps %ymm0, 0x100(%rsp)
movq 0x330(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovaps 0x100(%rsp), %ymm0
movq %rax, 0x5b8(%rsp)
vmovaps %ymm0, 0x580(%rsp)
vmovaps 0x580(%rsp), %ymm0
movq 0x5b8(%rsp), %rax
vmovaps %ymm0, (%rax)
vmovaps 0x240(%rsp), %ymm0
vmovaps 0x100(%rsp), %ymm1
callq 0xb1ba30
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x220(%rsp), %ymm0
vmovaps 0x100(%rsp), %ymm1
callq 0xb1b930
vmovaps %ymm0, 0x220(%rsp)
vmovaps 0x100(%rsp), %ymm1
vmovaps 0x2e0(%rsp), %ymm0
vmovaps %ymm1, 0x7a0(%rsp)
vmovaps %ymm0, 0x780(%rsp)
vmovaps 0x7a0(%rsp), %ymm0
vmovaps 0x780(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x100(%rsp)
vmovaps 0x120(%rsp), %ymm1
vmovaps 0x2c0(%rsp), %ymm0
vmovaps %ymm1, 0x760(%rsp)
vmovaps %ymm0, 0x740(%rsp)
vmovaps 0x760(%rsp), %ymm0
vmovaps 0x740(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x120(%rsp), %ymm1
vmovaps 0x100(%rsp), %ymm0
vmovaps %ymm1, 0x9c0(%rsp)
vmovaps %ymm0, 0x9a0(%rsp)
vmovaps 0x9c0(%rsp), %ymm0
vmovaps 0x9a0(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x8c0(%rsp)
vmovdqa 0x8c0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
jne 0xb1b2dd
jmp 0xb1b30f
jmp 0xb1b2df
movl 0x36c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x36c(%rsp)
jmp 0xb1b111
jmp 0xb1b2f7
movl 0x364(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x364(%rsp)
jmp 0xb1b01e
jmp 0xb1b30f
movq 0x330(%rsp), %rax
movslq 0x344(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x718(%rsp)
movq 0x718(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x100(%rsp)
vmovaps 0x1e0(%rsp), %ymm1
vmovaps 0x100(%rsp), %ymm2
vmovaps 0x200(%rsp), %ymm0
vmovaps %ymm2, 0x980(%rsp)
vmovaps %ymm0, 0x960(%rsp)
vmovaps 0x980(%rsp), %ymm0
vmovaps 0x960(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xa00(%rsp)
vmovdqa %ymm0, 0x9e0(%rsp)
vmovdqa 0xa00(%rsp), %ymm0
vpand 0x9e0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa 0x200(%rsp), %ymm1
callq 0xb1b930
vmovdqa %ymm0, 0x200(%rsp)
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm0, 0x8a0(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xb1b406
movl 0x368(%rsp), %eax
movl %eax, 0x358(%rsp)
movl $0x0, 0x364(%rsp)
movl 0x364(%rsp), %eax
cmpl 0x340(%rsp), %eax
jge 0xb1b456
vmovaps 0x100(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x100(%rsp)
movl 0x364(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x364(%rsp)
jmp 0xb1b411
movq 0x118(%rsp), %rax
movl %eax, %edx
movq 0x1d8(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x368(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x368(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x368(%rsp)
jmp 0xb1abc8
movl $0x0, 0x36c(%rsp)
movl 0x36c(%rsp), %eax
cmpl 0x348(%rsp), %eax
jge 0xb1b521
movq 0x330(%rsp), %rax
movslq 0x36c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x710(%rsp)
movq 0x710(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x1d8(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0xa0(%rsp), %ymm0
movl 0x36c(%rsp), %esi
movl 0x348(%rsp), %edx
callq 0xb1bb30
movl 0x36c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x36c(%rsp)
jmp 0xb1b49b
cmpl $0x0, 0x20(%rbp)
je 0xb1b598
movl $0x0, 0x364(%rsp)
movl 0x364(%rsp), %eax
cmpl 0x340(%rsp), %eax
jge 0xb1b577
vmovaps 0x200(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x200(%rsp)
movl 0x364(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x364(%rsp)
jmp 0xb1b532
movq 0x218(%rsp), %rax
movq %rax, 0x2a8(%rsp)
movl 0x360(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x35c(%rsp)
cmpl $0x0, 0x10(%rbp)
je 0xb1b6f4
movq 0x330(%rsp), %rax
movq %rax, 0x98(%rsp)
movl 0x348(%rsp), %eax
imull 0x34c(%rsp), %eax
movl %eax, 0x94(%rsp)
movl $0x0, 0x36c(%rsp)
movl 0x36c(%rsp), %eax
cmpl 0x94(%rsp), %eax
jge 0xb1b6f2
movl 0x36c(%rsp), %eax
cltd
idivl 0x34c(%rsp)
movl %eax, 0x1c(%rsp)
movl 0x36c(%rsp), %eax
cltd
idivl 0x34c(%rsp)
movl 0x1c(%rsp), %eax
imull 0x348(%rsp), %edx
addl %edx, %eax
movl %eax, 0x90(%rsp)
movl 0x90(%rsp), %eax
cmpl 0x360(%rsp), %eax
jl 0xb1b633
jmp 0xb1b6c8
movq 0x98(%rsp), %rax
movq (%rax), %rax
cmpq 0x2a8(%rsp), %rax
jle 0xb1b67c
movq 0x98(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x2a8(%rsp)
movl 0x90(%rsp), %eax
movl %eax, 0x35c(%rsp)
movl 0x37c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x358(%rsp)
jmp 0xb1b6c6
movq 0x98(%rsp), %rax
movq (%rax), %rax
cmpq 0x2a8(%rsp), %rax
jne 0xb1b6c4
movl 0x358(%rsp), %eax
movl 0x37c(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0xb1b6c4
movl 0x90(%rsp), %eax
cmpl 0x35c(%rsp), %eax
jge 0xb1b6c4
movl 0x90(%rsp), %eax
movl %eax, 0x35c(%rsp)
jmp 0xb1b6c6
jmp 0xb1b6c8
movl 0x36c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x36c(%rsp)
movq 0x98(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x98(%rsp)
jmp 0xb1b5d3
jmp 0xb1b6f4
cmpl $0x0, 0x10(%rbp)
jne 0xb1b7b2
cmpl $0x0, 0x20(%rbp)
jne 0xb1b7b2
movq 0x330(%rsp), %rax
movslq 0x344(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x708(%rsp)
movq 0x708(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x60(%rsp)
movl $0x0, 0x364(%rsp)
movl 0x364(%rsp), %eax
cmpl 0x340(%rsp), %eax
jge 0xb1b783
vmovaps 0x60(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x60(%rsp)
movl 0x364(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x364(%rsp)
jmp 0xb1b744
movq 0x78(%rsp), %rax
movq %rax, 0x2a8(%rsp)
movl 0x37c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x358(%rsp)
movl 0x360(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x35c(%rsp)
vmovaps 0x280(%rsp), %ymm1
vmovaps 0x240(%rsp), %ymm0
vmovaps %ymm1, 0x940(%rsp)
vmovaps %ymm0, 0x920(%rsp)
vmovaps 0x940(%rsp), %ymm0
vmovaps 0x920(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x220(%rsp), %ymm2
vmovaps 0x260(%rsp), %ymm0
vmovaps %ymm2, 0x900(%rsp)
vmovaps %ymm0, 0x8e0(%rsp)
vmovaps 0x900(%rsp), %ymm0
vmovaps 0x8e0(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xa40(%rsp)
vmovdqa %ymm0, 0xa20(%rsp)
vmovdqa 0xa40(%rsp), %ymm0
vpor 0xa20(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x880(%rsp)
vmovdqa 0x880(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xb1b89a
movq 0x1d8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, 0x2a8(%rsp)
movl $0x0, 0x35c(%rsp)
movl $0x0, 0x358(%rsp)
movq 0x2a8(%rsp), %rax
movl %eax, %ecx
movq 0x1d8(%rsp), %rax
movl %ecx, (%rax)
movl 0x35c(%rsp), %ecx
movq 0x1d8(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x358(%rsp), %ecx
movq 0x1d8(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x318(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x320(%rsp), %rdi
callq 0x1c3590
movq 0x328(%rsp), %rdi
callq 0x1c3590
movq 0x330(%rsp), %rdi
callq 0x1c3590
movq 0x1d8(%rsp), %rax
movq %rax, 0x390(%rsp)
movq 0x390(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)