// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_striped_avx2_256_64.c
// Function: parasail_nw_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)
{
    /* 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;
    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;
    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;

    /* 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_64 | PARASAIL_FLAG_LANES_4;
#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 = -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 = -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 = 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:
        {
        }

#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, 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

    /* 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);
    }

    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 $0x860, %rsp            # imm = 0x860
movq %rdi, 0x2d0(%rsp)
movq %rsi, 0x2c8(%rsp)
movl %edx, 0x2c4(%rsp)
movl %ecx, 0x2c0(%rsp)
movl %r8d, 0x2bc(%rsp)
movl $0x0, 0x2b8(%rsp)
movl $0x0, 0x2b4(%rsp)
movl $0x0, 0x2b0(%rsp)
movl $0x0, 0x2ac(%rsp)
movl $0x0, 0x2a8(%rsp)
movl $0x0, 0x2a4(%rsp)
movq $0x0, 0x298(%rsp)
movl $0x0, 0x294(%rsp)
movl $0x0, 0x290(%rsp)
movl $0x0, 0x28c(%rsp)
movl $0x0, 0x288(%rsp)
movq $0x0, 0x280(%rsp)
movq $0x0, 0x278(%rsp)
movq $0x0, 0x270(%rsp)
movq $0x0, 0x268(%rsp)
movq $0x0, 0x260(%rsp)
movq $0x0, 0x218(%rsp)
movq $0x0, 0x210(%rsp)
movq $0x0, 0x208(%rsp)
movq $0x0, 0x178(%rsp)
cmpq $0x0, 0x2d0(%rsp)
jne 0xb1859d
movq 0x30ea6b(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d3a74(%rip), %rsi    # 0xcebfeb
leaq 0x1c168a(%rip), %rdx    # 0xcd9c08
leaq 0x1a9f58(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb1859f
jmp 0xb185a1
movq 0x2d0(%rsp), %rax
cmpq $0x0, 0x60(%rax)
jne 0xb185e7
movq 0x30ea21(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d3a2a(%rip), %rsi    # 0xcebfeb
leaq 0x1c1640(%rip), %rdx    # 0xcd9c08
leaq 0x1d4334(%rip), %rcx    # 0xcec903
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb185e9
jmp 0xb185eb
movq 0x2d0(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xb18631
movq 0x30e9d7(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d39e0(%rip), %rsi    # 0xcebfeb
leaq 0x1c15f6(%rip), %rdx    # 0xcd9c08
leaq 0x1d4303(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb18633
jmp 0xb18635
movq 0x2d0(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xb1867a
movq 0x30e98e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d40ad(%rip), %rsi    # 0xcec701
leaq 0x1c15ad(%rip), %rdx    # 0xcd9c08
leaq 0x1d42ca(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb1867c
jmp 0xb1867e
cmpq $0x0, 0x2c8(%rsp)
jne 0xb186c0
movq 0x30e948(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d3951(%rip), %rsi    # 0xcebfeb
leaq 0x1c1567(%rip), %rdx    # 0xcd9c08
leaq 0x1d4056(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb186c2
jmp 0xb186c4
cmpl $0x0, 0x2c4(%rsp)
jg 0xb18705
movq 0x30e903(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d4022(%rip), %rsi    # 0xcec701
leaq 0x1c1522(%rip), %rdx    # 0xcd9c08
leaq 0x1d4028(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb18707
jmp 0xb18709
cmpl $0x0, 0x2c0(%rsp)
jge 0xb1874a
movq 0x30e8be(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d3ff7(%rip), %rsi    # 0xcec71b
leaq 0x1c14dd(%rip), %rdx    # 0xcd9c08
leaq 0x1d3ffe(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb1874c
jmp 0xb1874e
cmpl $0x0, 0x2bc(%rsp)
jge 0xb1878f
movq 0x30e879(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x1d3fb2(%rip), %rsi    # 0xcec71b
leaq 0x1c1498(%rip), %rdx    # 0xcd9c08
leaq 0x1d3fbe(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
jmp 0xb18791
movl $0x0, 0x2b8(%rsp)
movl $0x0, 0x2b4(%rsp)
movl $0x0, 0x2b0(%rsp)
movq 0x2d0(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x2ac(%rsp)
movl 0x2ac(%rsp), %eax
decl %eax
movl %eax, 0x2a8(%rsp)
movl 0x2c4(%rsp), %eax
decl %eax
movl %eax, 0x2a4(%rsp)
movq 0x2d0(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x298(%rsp)
movl $0x4, 0x294(%rsp)
movl 0x2ac(%rsp), %esi
movl 0x294(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x290(%rsp)
movl 0x2ac(%rsp), %eax
decl %eax
movl 0x290(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x28c(%rsp)
movl 0x294(%rsp), %ecx
movl 0x2ac(%rsp), %eax
decl %eax
movl 0x290(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x288(%rsp)
movq 0x2d0(%rsp), %rax
movq 0x60(%rax), %rax
movq %rax, 0x280(%rsp)
movslq 0x2c0(%rsp), %rax
movq %rax, 0x2f8(%rsp)
movq 0x2f8(%rsp), %rax
movq %rax, 0x778(%rsp)
movq %rax, 0x770(%rsp)
movq %rax, 0x768(%rsp)
movq %rax, 0x760(%rsp)
vmovq 0x768(%rsp), %xmm1
vmovq 0x760(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x778(%rsp), %xmm2
vmovq 0x770(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x750(%rsp)
vmovdqa %xmm0, 0x740(%rsp)
vmovaps 0x740(%rsp), %ymm0
vmovaps %ymm0, 0x240(%rsp)
movslq 0x2bc(%rsp), %rax
movq %rax, 0x2f0(%rsp)
movq 0x2f0(%rsp), %rax
movq %rax, 0x7b8(%rsp)
movq %rax, 0x7b0(%rsp)
movq %rax, 0x7a8(%rsp)
movq %rax, 0x7a0(%rsp)
vmovq 0x7b8(%rsp), %xmm1
vmovq 0x7b0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x7a8(%rsp), %xmm2
vmovq 0x7a0(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x780(%rsp)
vmovdqa 0x780(%rsp), %ymm0
vmovdqa %ymm0, 0x220(%rsp)
xorl %eax, %eax
subl 0x2c0(%rsp), %eax
movq 0x298(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xb189b9
movslq 0x2c0(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, 0x38(%rsp)
jmp 0xb189d7
movq 0x298(%rsp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
incq %rax
movq %rax, 0x218(%rsp)
movq 0x298(%rsp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, 0x210(%rsp)
movq 0x218(%rsp), %rax
movq %rax, 0x208(%rsp)
movq 0x218(%rsp), %rax
movq %rax, 0x2e8(%rsp)
movq 0x2e8(%rsp), %rax
movq %rax, 0x7f8(%rsp)
movq %rax, 0x7f0(%rsp)
movq %rax, 0x7e8(%rsp)
movq %rax, 0x7e0(%rsp)
vmovq 0x7e8(%rsp), %xmm1
vmovq 0x7e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x7f8(%rsp), %xmm2
vmovq 0x7f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x7d0(%rsp)
vmovdqa %xmm0, 0x7c0(%rsp)
vmovaps 0x7c0(%rsp), %ymm0
vmovaps %ymm0, 0x1e0(%rsp)
movq 0x210(%rsp), %rax
movq %rax, 0x2e0(%rsp)
movq 0x2e0(%rsp), %rax
movq %rax, 0x848(%rsp)
movq %rax, 0x840(%rsp)
movq %rax, 0x838(%rsp)
movq %rax, 0x830(%rsp)
vmovq 0x848(%rsp), %xmm1
vmovq 0x840(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x838(%rsp), %xmm2
vmovq 0x830(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x800(%rsp)
vmovdqa 0x800(%rsp), %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
vmovdqa 0x1c0(%rsp), %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1e0(%rsp), %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x290(%rsp), %edi
imull 0x294(%rsp), %edi
movl 0x2c4(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x178(%rsp)
cmpq $0x0, 0x178(%rsp)
jne 0xb18b8f
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
movq 0x178(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x4800801, %ecx        # imm = 0x4800801
movl %ecx, 0xc(%rax)
movq 0x178(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x290(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x278(%rsp)
movslq 0x290(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x270(%rsp)
movslq 0x290(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x268(%rsp)
movl 0x2c4(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x260(%rsp)
cmpq $0x0, 0x278(%rsp)
jne 0xb18c40
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
cmpq $0x0, 0x270(%rsp)
jne 0xb18c5c
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
cmpq $0x0, 0x268(%rsp)
jne 0xb18c78
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
cmpq $0x0, 0x260(%rsp)
jne 0xb18c94
movq $0x0, 0x2d8(%rsp)
jmp 0xb199ac
movl $0x0, 0x174(%rsp)
movl $0x0, 0x2b8(%rsp)
movl 0x2b8(%rsp), %eax
cmpl 0x290(%rsp), %eax
jge 0xb18e8f
movl $0x0, 0x170(%rsp)
movl $0x0, 0x170(%rsp)
movl 0x170(%rsp), %eax
cmpl 0x294(%rsp), %eax
jge 0xb18ddc
xorl %eax, %eax
subl 0x2c0(%rsp), %eax
movl 0x2bc(%rsp), %ecx
movl 0x170(%rsp), %edx
imull 0x290(%rsp), %edx
addl 0x2b8(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x118(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x118(%rsp)
jge 0xb18d42
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x30(%rsp)
jmp 0xb18d4f
movq 0x118(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rcx
movslq 0x170(%rsp), %rax
movq %rcx, 0x140(%rsp,%rax,8)
movq 0x118(%rsp), %rax
movslq 0x2c0(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x118(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x118(%rsp)
jge 0xb18da4
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x28(%rsp)
jmp 0xb18db1
movq 0x118(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rcx
movslq 0x170(%rsp), %rax
movq %rcx, 0x120(%rsp,%rax,8)
movl 0x170(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x170(%rsp)
jmp 0xb18cd4
movq 0x278(%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 0x268(%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 0x2b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b8(%rsp)
jmp 0xb18caa
movq 0x260(%rsp), %rax
movq $0x0, (%rax)
movl $0x1, 0x2b8(%rsp)
movl 0x2b8(%rsp), %eax
cmpl 0x2c4(%rsp), %eax
jg 0xb18f47
xorl %eax, %eax
subl 0x2c0(%rsp), %eax
movl 0x2bc(%rsp), %ecx
movl 0x2b8(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x110(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x110(%rsp)
jge 0xb18f0b
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x20(%rsp)
jmp 0xb18f18
movq 0x110(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdx
movq 0x260(%rsp), %rax
movslq 0x2b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x2b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b8(%rsp)
jmp 0xb18ea9
movl $0x0, 0x2b4(%rsp)
movl 0x2b4(%rsp), %eax
cmpl 0x2c4(%rsp), %eax
jge 0xb19735
vmovaps 0x1e0(%rsp), %ymm0
vmovaps %ymm0, 0xc0(%rsp)
movq 0x278(%rsp), %rax
movl 0x290(%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, 0xa0(%rsp)
movq 0x280(%rsp), %rax
movq 0x298(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x2c8(%rsp), %rdx
movslq 0x2b4(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
movl 0x290(%rsp), %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x98(%rsp)
movq 0x270(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x278(%rsp), %rax
movq %rax, 0x270(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x278(%rsp)
vmovaps 0xa0(%rsp), %ymm0
movq 0x260(%rsp), %rax
movslq 0x2b4(%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, 0xa0(%rsp)
movl $0x0, 0x2b8(%rsp)
movl 0x2b8(%rsp), %eax
cmpl 0x290(%rsp), %eax
jge 0xb1939d
vmovdqa 0xa0(%rsp), %ymm1
movq 0x98(%rsp), %rax
movslq 0x2b8(%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
vpaddq 0x440(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x268(%rsp), %rax
movslq 0x2b8(%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), %ymm0
vmovdqa 0xe0(%rsp), %ymm1
callq 0xb199c0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa 0xc0(%rsp), %ymm1
callq 0xb199c0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x278(%rsp), %rax
movslq 0x2b8(%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), %ymm0
vmovdqa 0xa0(%rsp), %ymm1
callq 0xb199c0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0x1a0(%rsp), %ymm0
vmovdqa 0xa0(%rsp), %ymm1
callq 0xb19ac0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm0
vmovdqa 0xe0(%rsp), %ymm1
callq 0xb19ac0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm0
vmovdqa 0xc0(%rsp), %ymm1
callq 0xb19ac0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0x240(%rsp), %ymm0
vmovdqa %ymm1, 0x5e0(%rsp)
vmovdqa %ymm0, 0x5c0(%rsp)
vmovdqa 0x5e0(%rsp), %ymm0
vpsubq 0x5c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x5a0(%rsp)
vmovdqa %ymm0, 0x580(%rsp)
vmovdqa 0x5a0(%rsp), %ymm0
vpsubq 0x580(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa 0xa0(%rsp), %ymm1
callq 0xb199c0
vmovdqa %ymm0, 0xe0(%rsp)
movq 0x268(%rsp), %rax
movslq 0x2b8(%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, 0x560(%rsp)
vmovdqa %ymm0, 0x540(%rsp)
vmovdqa 0x560(%rsp), %ymm0
vpsubq 0x540(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa 0xa0(%rsp), %ymm1
callq 0xb199c0
vmovdqa %ymm0, 0xc0(%rsp)
movq 0x270(%rsp), %rax
movslq 0x2b8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x4a8(%rsp)
movq 0x4a8(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movl 0x2b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b8(%rsp)
jmp 0xb19061
movl $0x0, 0x2b0(%rsp)
movl 0x2b0(%rsp), %eax
cmpl 0x294(%rsp), %eax
jge 0xb19675
movq 0x260(%rsp), %rax
movl 0x2b4(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movslq 0x2c0(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x88(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x88(%rsp)
jge 0xb1940d
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x18(%rsp)
jmp 0xb1941a
movq 0x88(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x80(%rsp)
vmovaps 0xc0(%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, 0xc0(%rsp)
vmovaps 0xc0(%rsp), %ymm0
vmovq 0x80(%rsp), %xmm2
vmovaps %xmm2, %xmm1
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0xc0(%rsp)
movl $0x0, 0x2b8(%rsp)
movl 0x2b8(%rsp), %eax
cmpl 0x290(%rsp), %eax
jge 0xb1965d
movq 0x278(%rsp), %rax
movslq 0x2b8(%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), %ymm0
vmovaps 0xc0(%rsp), %ymm1
callq 0xb199c0
vmovaps %ymm0, 0xa0(%rsp)
movq 0x278(%rsp), %rax
movslq 0x2b8(%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), %ymm0
vmovaps 0xa0(%rsp), %ymm1
callq 0xb19ac0
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x180(%rsp), %ymm0
vmovaps 0xa0(%rsp), %ymm1
callq 0xb199c0
vmovaps %ymm0, 0x180(%rsp)
vmovaps 0xa0(%rsp), %ymm1
vmovaps 0x240(%rsp), %ymm0
vmovaps %ymm1, 0x520(%rsp)
vmovaps %ymm0, 0x500(%rsp)
vmovaps 0x520(%rsp), %ymm0
vmovaps 0x500(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xa0(%rsp)
vmovaps 0xc0(%rsp), %ymm1
vmovaps 0x220(%rsp), %ymm0
vmovaps %ymm1, 0x4e0(%rsp)
vmovaps %ymm0, 0x4c0(%rsp)
vmovaps 0x4e0(%rsp), %ymm0
vmovaps 0x4c0(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xc0(%rsp)
vmovaps 0xc0(%rsp), %ymm1
vmovaps 0xa0(%rsp), %ymm0
vmovaps %ymm1, 0x6e0(%rsp)
vmovaps %ymm0, 0x6c0(%rsp)
vmovaps 0x6e0(%rsp), %ymm0
vmovaps 0x6c0(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x620(%rsp)
vmovdqa 0x620(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
jne 0xb19645
jmp 0xb19677
jmp 0xb19647
movl 0x2b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b8(%rsp)
jmp 0xb19479
jmp 0xb1965f
movl 0x2b0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b0(%rsp)
jmp 0xb193a8
jmp 0xb19677
movq 0x278(%rsp), %rax
movslq 0x28c(%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, 0x2b0(%rsp)
movl 0x2b0(%rsp), %eax
cmpl 0x288(%rsp), %eax
jge 0xb196fb
vmovaps 0xa0(%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, 0xa0(%rsp)
movl 0x2b0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b0(%rsp)
jmp 0xb196b6
movq 0xb8(%rsp), %rax
movl %eax, %edx
movq 0x178(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x2b4(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x2b4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b4(%rsp)
jmp 0xb18f52
movl $0x0, 0x2b8(%rsp)
movl 0x2b8(%rsp), %eax
cmpl 0x290(%rsp), %eax
jge 0xb197bd
movq 0x278(%rsp), %rax
movslq 0x2b8(%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 0x2b8(%rsp), %esi
movl 0x290(%rsp), %edx
callq 0xb19bc0
movl 0x2b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b8(%rsp)
jmp 0xb19740
movq 0x278(%rsp), %rax
movslq 0x28c(%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, 0x2b0(%rsp)
movl 0x2b0(%rsp), %eax
cmpl 0x288(%rsp), %eax
jge 0xb19838
vmovaps 0x40(%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, 0x40(%rsp)
movl 0x2b0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2b0(%rsp)
jmp 0xb197f9
movq 0x58(%rsp), %rax
movq %rax, 0x208(%rsp)
vmovaps 0x1e0(%rsp), %ymm1
vmovaps 0x1a0(%rsp), %ymm0
vmovaps %ymm1, 0x6a0(%rsp)
vmovaps %ymm0, 0x680(%rsp)
vmovaps 0x6a0(%rsp), %ymm0
vmovaps 0x680(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x180(%rsp), %ymm2
vmovaps 0x1c0(%rsp), %ymm0
vmovaps %ymm2, 0x660(%rsp)
vmovaps %ymm0, 0x640(%rsp)
vmovaps 0x660(%rsp), %ymm0
vmovaps 0x640(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0x720(%rsp)
vmovdqa %ymm0, 0x700(%rsp)
vmovdqa 0x720(%rsp), %ymm0
vpor 0x700(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x600(%rsp)
vmovdqa 0x600(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xb1992d
movq 0x178(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, 0x208(%rsp)
movl $0x0, 0x2a8(%rsp)
movl $0x0, 0x2a4(%rsp)
movq 0x208(%rsp), %rax
movl %eax, %ecx
movq 0x178(%rsp), %rax
movl %ecx, (%rax)
movl 0x2a8(%rsp), %ecx
movq 0x178(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x2a4(%rsp), %ecx
movq 0x178(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x260(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x268(%rsp), %rdi
callq 0x1c3590
movq 0x270(%rsp), %rdi
callq 0x1c3590
movq 0x278(%rsp), %rdi
callq 0x1c3590
movq 0x178(%rsp), %rax
movq %rax, 0x2d8(%rsp)
movq 0x2d8(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopl (%rax)