// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_scan_avx2_256_64.c
// Function: parasail_nw_rowcol_scan_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;
    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 pvP = NULL;
    __m256i* restrict pvE = NULL;
    int64_t* restrict boundary = NULL;
    __m256i* restrict pvHt = NULL;
    __m256i* restrict pvH = NULL;
    __m256i* restrict pvGapper = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int64_t NEG_LIMIT = 0;
    int64_t POS_LIMIT = 0;
    __m256i vZero;
    int64_t score = 0;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i vSaturationCheckMax;
    __m256i vNegInfFront;
    __m256i vSegLenXgap;
    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;
    pvP = (__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;
    vZero = _mm256_setzero_si256();
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi64x_rpl(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi64x_rpl(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInfFront = vZero;
    vNegInfFront = _mm256_insert_epi64_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm256_add_epi64(vNegInfFront,
            _mm256_slli_si256_rpl(_mm256_set1_epi64x_rpl(-segLen*gap), 8));

    /* 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_SCAN
        | 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 */
    pvE = parasail_memalign___m256i(32, segLen);
    boundary = parasail_memalign_int64_t(32, s2Len+1);
    pvHt= parasail_memalign___m256i(32, segLen);
    pvH = parasail_memalign___m256i(32, segLen);
    pvGapper = parasail_memalign___m256i(32, segLen);

    /* validate heap variables */
    if (!pvE) return NULL;
    if (!boundary) return NULL;
    if (!pvHt) return NULL;
    if (!pvH) return NULL;
    if (!pvGapper) 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(&pvH[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;
        }
    }

    {
        __m256i vGapper = _mm256_sub_epi64(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm256_store_si256(pvGapper+i, vGapper);
            vGapper = _mm256_sub_epi64(vGapper, vGapE);
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m256i vE;
        __m256i vHt;
        __m256i vF;
        __m256i vH;
        __m256i vHp;
        __m256i *pvW;
        __m256i vW;

        /* calculate E */
        /* calculate Ht */
        /* calculate F and H first pass */
        vHp = _mm256_load_si256(pvH+(segLen-1));
        vHp = _mm256_slli_si256_rpl(vHp, 8);
        vHp = _mm256_insert_epi64_rpl(vHp, boundary[j], 0);
        pvW = pvP + matrix->mapper[(unsigned char)s2[j]]*segLen;
        vHt = _mm256_sub_epi64(vNegLimit, pvGapper[0]);
        vF = vNegLimit;
        for (i=0; i<segLen; ++i) {
            vH = _mm256_load_si256(pvH+i);
            vE = _mm256_load_si256(pvE+i);
            vW = _mm256_load_si256(pvW+i);
            vE = _mm256_max_epi64_rpl(
                    _mm256_sub_epi64(vE, vGapE),
                    _mm256_sub_epi64(vH, vGapO));
            vHp = _mm256_add_epi64(vHp, vW);
            vF = _mm256_max_epi64_rpl(vF, _mm256_add_epi64(vHt, pvGapper[i]));
            vHt = _mm256_max_epi64_rpl(vE, vHp);
            _mm256_store_si256(pvE+i, vE);
            _mm256_store_si256(pvHt+i, vHt);
            vHp = vH;
        }

        /* pseudo prefix scan on F and H */
        vHt = _mm256_slli_si256_rpl(vHt, 8);
        vHt = _mm256_insert_epi64_rpl(vHt, boundary[j+1], 0);
        vF = _mm256_max_epi64_rpl(vF, _mm256_add_epi64(vHt, pvGapper[0]));
        for (i=0; i<segWidth-2; ++i) {
            __m256i vFt = _mm256_slli_si256_rpl(vF, 8);
            vFt = _mm256_add_epi64(vFt, vSegLenXgap);
            vF = _mm256_max_epi64_rpl(vF, vFt);
        }

        /* calculate final H */
        vF = _mm256_slli_si256_rpl(vF, 8);
        vF = _mm256_add_epi64(vF, vNegInfFront);
        vH = _mm256_max_epi64_rpl(vHt, vF);
        for (i=0; i<segLen; ++i) {
            vHt = _mm256_load_si256(pvHt+i);
            vF = _mm256_max_epi64_rpl(
                    _mm256_sub_epi64(vF, vGapE),
                    _mm256_sub_epi64(vH, vGapO));
            vH = _mm256_max_epi64_rpl(vHt, vF);
            _mm256_store_si256(pvH+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
        } 


#ifdef PARASAIL_ROWCOL
        /* extract last value from the column */
        {
            vH = _mm256_load_si256(pvH + 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(pvH+i);
        arr_store_col(result->rowcols->score_col, vH, i, segLen);
    }
#endif

    /* extract last value from the last column */
    {
        __m256i vH = _mm256_load_si256(pvH + 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(pvGapper);
    parasail_free(pvH);
    parasail_free(pvHt);
    parasail_free(boundary);
    parasail_free(pvE);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0xc00, %rsp            # imm = 0xC00
movq %rdi, 0x3d8(%rsp)
movq %rsi, 0x3d0(%rsp)
movl %edx, 0x3cc(%rsp)
movl %ecx, 0x3c8(%rsp)
movl %r8d, 0x3c4(%rsp)
movl $0x0, 0x3c0(%rsp)
movl $0x0, 0x3bc(%rsp)
movl $0x0, 0x3b8(%rsp)
movl $0x0, 0x3b4(%rsp)
movl $0x0, 0x3b0(%rsp)
movl $0x0, 0x3ac(%rsp)
movq $0x0, 0x3a0(%rsp)
movl $0x0, 0x39c(%rsp)
movl $0x0, 0x398(%rsp)
movl $0x0, 0x394(%rsp)
movl $0x0, 0x390(%rsp)
movq $0x0, 0x388(%rsp)
movq $0x0, 0x380(%rsp)
movq $0x0, 0x378(%rsp)
movq $0x0, 0x370(%rsp)
movq $0x0, 0x368(%rsp)
movq $0x0, 0x360(%rsp)
movq $0x0, 0x318(%rsp)
movq $0x0, 0x310(%rsp)
movq $0x0, 0x2d8(%rsp)
movq $0x0, 0x1f8(%rsp)
cmpq $0x0, 0x3d8(%rsp)
jne 0xac24d9
movq 0x364b2f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x229b38(%rip), %rsi    # 0xcebfeb
leaq 0x217672(%rip), %rdx    # 0xcd9b2c
leaq 0x20001c(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac24db
jmp 0xac24dd
movq 0x3d8(%rsp), %rax
cmpq $0x0, 0x60(%rax)
jne 0xac2523
movq 0x364ae5(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x229aee(%rip), %rsi    # 0xcebfeb
leaq 0x217628(%rip), %rdx    # 0xcd9b2c
leaq 0x22a3f8(%rip), %rcx    # 0xcec903
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac2525
jmp 0xac2527
movq 0x3d8(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xac256d
movq 0x364a9b(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x229aa4(%rip), %rsi    # 0xcebfeb
leaq 0x2175de(%rip), %rdx    # 0xcd9b2c
leaq 0x22a3c7(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac256f
jmp 0xac2571
movq 0x3d8(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xac25b6
movq 0x364a52(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x22a171(%rip), %rsi    # 0xcec701
leaq 0x217595(%rip), %rdx    # 0xcd9b2c
leaq 0x22a38e(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac25b8
jmp 0xac25ba
cmpq $0x0, 0x3d0(%rsp)
jne 0xac25fc
movq 0x364a0c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x229a15(%rip), %rsi    # 0xcebfeb
leaq 0x21754f(%rip), %rdx    # 0xcd9b2c
leaq 0x22a11a(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac25fe
jmp 0xac2600
cmpl $0x0, 0x3cc(%rsp)
jg 0xac2641
movq 0x3649c7(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x22a0e6(%rip), %rsi    # 0xcec701
leaq 0x21750a(%rip), %rdx    # 0xcd9b2c
leaq 0x22a0ec(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac2643
jmp 0xac2645
cmpl $0x0, 0x3c8(%rsp)
jge 0xac2686
movq 0x364982(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x22a0bb(%rip), %rsi    # 0xcec71b
leaq 0x2174c5(%rip), %rdx    # 0xcd9b2c
leaq 0x22a0c2(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac2688
jmp 0xac268a
cmpl $0x0, 0x3c4(%rsp)
jge 0xac26cb
movq 0x36493d(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x22a076(%rip), %rsi    # 0xcec71b
leaq 0x217480(%rip), %rdx    # 0xcd9b2c
leaq 0x22a082(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
jmp 0xac26cd
movl $0x0, 0x3c0(%rsp)
movl $0x0, 0x3bc(%rsp)
movl $0x0, 0x3b8(%rsp)
movq 0x3d8(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x3b4(%rsp)
movl 0x3b4(%rsp), %eax
decl %eax
movl %eax, 0x3b0(%rsp)
movl 0x3cc(%rsp), %eax
decl %eax
movl %eax, 0x3ac(%rsp)
movq 0x3d8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x3a0(%rsp)
movl $0x4, 0x39c(%rsp)
movl 0x3b4(%rsp), %esi
movl 0x39c(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x398(%rsp)
movl 0x3b4(%rsp), %eax
decl %eax
movl 0x398(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x394(%rsp)
movl 0x39c(%rsp), %ecx
movl 0x3b4(%rsp), %eax
decl %eax
movl 0x398(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x390(%rsp)
movq 0x3d8(%rsp), %rax
movq 0x60(%rax), %rax
movq %rax, 0x388(%rsp)
movslq 0x3c8(%rsp), %rax
movq %rax, 0x418(%rsp)
movq 0x418(%rsp), %rax
movq %rax, 0xa58(%rsp)
movq %rax, 0xa50(%rsp)
movq %rax, 0xa48(%rsp)
movq %rax, 0xa40(%rsp)
vmovq 0xa48(%rsp), %xmm1
vmovq 0xa40(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0xa58(%rsp), %xmm2
vmovq 0xa50(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0xa30(%rsp)
vmovdqa %xmm0, 0xa20(%rsp)
vmovaps 0xa20(%rsp), %ymm0
vmovaps %ymm0, 0x340(%rsp)
movslq 0x3c4(%rsp), %rax
movq %rax, 0x410(%rsp)
movq 0x410(%rsp), %rax
movq %rax, 0xa98(%rsp)
movq %rax, 0xa90(%rsp)
movq %rax, 0xa88(%rsp)
movq %rax, 0xa80(%rsp)
vmovq 0xa98(%rsp), %xmm1
vmovq 0xa90(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0xa88(%rsp), %xmm2
vmovq 0xa80(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa60(%rsp)
vmovdqa 0xa60(%rsp), %ymm0
vmovdqa %ymm0, 0x320(%rsp)
xorl %eax, %eax
subl 0x3c8(%rsp), %eax
movq 0x3a0(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xac28f5
movslq 0x3c8(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, 0x18(%rsp)
jmp 0xac2913
movq 0x3a0(%rsp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
incq %rax
movq %rax, 0x318(%rsp)
movq 0x3a0(%rsp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, 0x310(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %ymm0, 0x420(%rsp)
vmovaps 0x420(%rsp), %ymm0
vmovaps %ymm0, 0x2e0(%rsp)
movq 0x318(%rsp), %rax
movq %rax, 0x2d8(%rsp)
movq 0x318(%rsp), %rax
movq %rax, 0x408(%rsp)
movq 0x408(%rsp), %rax
movq %rax, 0xad8(%rsp)
movq %rax, 0xad0(%rsp)
movq %rax, 0xac8(%rsp)
movq %rax, 0xac0(%rsp)
vmovq 0xac8(%rsp), %xmm1
vmovq 0xac0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0xad8(%rsp), %xmm2
vmovq 0xad0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0xab0(%rsp)
vmovdqa %xmm0, 0xaa0(%rsp)
vmovaps 0xaa0(%rsp), %ymm0
vmovaps %ymm0, 0x2a0(%rsp)
movq 0x310(%rsp), %rax
movq %rax, 0x400(%rsp)
movq 0x400(%rsp), %rax
movq %rax, 0xb18(%rsp)
movq %rax, 0xb10(%rsp)
movq %rax, 0xb08(%rsp)
movq %rax, 0xb00(%rsp)
vmovq 0xb08(%rsp), %xmm1
vmovq 0xb00(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0xb18(%rsp), %xmm2
vmovq 0xb10(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0xaf0(%rsp)
vmovdqa %xmm0, 0xae0(%rsp)
vmovaps 0xae0(%rsp), %ymm0
vmovaps %ymm0, 0x280(%rsp)
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm0, 0x260(%rsp)
vmovaps 0x2a0(%rsp), %ymm0
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x2e0(%rsp), %ymm0
vmovaps %ymm0, 0x220(%rsp)
movq 0x318(%rsp), %rax
movq %rax, 0x220(%rsp)
vmovaps 0x220(%rsp), %ymm1
movl 0x398(%rsp), %eax
negl %eax
movl 0x3c4(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x3f8(%rsp)
movq 0x3f8(%rsp), %rax
movq %rax, 0xb58(%rsp)
movq %rax, 0xb50(%rsp)
movq %rax, 0xb48(%rsp)
movq %rax, 0xb40(%rsp)
vmovq 0xb48(%rsp), %xmm2
vmovq 0xb40(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm2[0]
vmovq 0xb58(%rsp), %xmm3
vmovq 0xb50(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovdqa %xmm2, 0xb30(%rsp)
vmovdqa %xmm0, 0xb20(%rsp)
vmovaps 0xb20(%rsp), %ymm0
movl 0x398(%rsp), %eax
negl %eax
movl 0x3c4(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x3f0(%rsp)
movq 0x3f0(%rsp), %rax
movq %rax, 0xb98(%rsp)
movq %rax, 0xb90(%rsp)
movq %rax, 0xb88(%rsp)
movq %rax, 0xb80(%rsp)
vmovq 0xb88(%rsp), %xmm3
vmovq 0xb80(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovq 0xb98(%rsp), %xmm4
vmovq 0xb90(%rsp), %xmm3
vpunpcklqdq %xmm4, %xmm3, %xmm3 # xmm3 = xmm3[0],xmm4[0]
vmovdqa %xmm3, 0xb70(%rsp)
vmovdqa %xmm2, 0xb60(%rsp)
vmovaps 0xb60(%rsp), %ymm3
movl 0x398(%rsp), %eax
negl %eax
movl 0x3c4(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x3e8(%rsp)
movq 0x3e8(%rsp), %rax
movq %rax, 0xbe8(%rsp)
movq %rax, 0xbe0(%rsp)
movq %rax, 0xbd8(%rsp)
movq %rax, 0xbd0(%rsp)
vmovq 0xbd8(%rsp), %xmm4
vmovq 0xbd0(%rsp), %xmm2
vpunpcklqdq %xmm4, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm4[0]
vmovq 0xbe8(%rsp), %xmm5
vmovq 0xbe0(%rsp), %xmm4
vpunpcklqdq %xmm5, %xmm4, %xmm4 # xmm4 = xmm4[0],xmm5[0]
vmovdqa %xmm4, 0xbb0(%rsp)
vmovdqa %xmm2, 0xba0(%rsp)
vperm2i128 $0x28, %ymm3, %ymm2, %ymm2 # ymm2 = zero,zero,ymm3[0,1]
vpalignr $0x8, %ymm2, %ymm0, %ymm0 # ymm0 = ymm2[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm2[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
vmovdqa %ymm1, 0x5a0(%rsp)
vmovdqa %ymm0, 0x580(%rsp)
vmovdqa 0x5a0(%rsp), %ymm0
vpaddq 0x580(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x200(%rsp)
movl 0x398(%rsp), %edi
imull 0x39c(%rsp), %edi
movl 0x3cc(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x1f8(%rsp)
cmpq $0x0, 0x1f8(%rsp)
jne 0xac2ce8
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
movq 0x1f8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x4800401, %ecx        # imm = 0x4800401
movl %ecx, 0xc(%rax)
movq 0x1f8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x398(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x380(%rsp)
movl 0x3cc(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x378(%rsp)
movslq 0x398(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x370(%rsp)
movslq 0x398(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x368(%rsp)
movslq 0x398(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x360(%rsp)
cmpq $0x0, 0x380(%rsp)
jne 0xac2db3
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
cmpq $0x0, 0x378(%rsp)
jne 0xac2dcf
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
cmpq $0x0, 0x370(%rsp)
jne 0xac2deb
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
cmpq $0x0, 0x368(%rsp)
jne 0xac2e07
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
cmpq $0x0, 0x360(%rsp)
jne 0xac2e23
movq $0x0, 0x3e0(%rsp)
jmp 0xac3c55
movl $0x0, 0x1f4(%rsp)
movl $0x0, 0x3c0(%rsp)
movl 0x3c0(%rsp), %eax
cmpl 0x398(%rsp), %eax
jge 0xac301e
movl $0x0, 0x1f0(%rsp)
movl $0x0, 0x1f0(%rsp)
movl 0x1f0(%rsp), %eax
cmpl 0x39c(%rsp), %eax
jge 0xac2f6b
xorl %eax, %eax
subl 0x3c8(%rsp), %eax
movl 0x3c4(%rsp), %ecx
movl 0x1f0(%rsp), %edx
imull 0x398(%rsp), %edx
addl 0x3c0(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x198(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x198(%rsp)
jge 0xac2ed1
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x10(%rsp)
jmp 0xac2ede
movq 0x198(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rcx
movslq 0x1f0(%rsp), %rax
movq %rcx, 0x1c0(%rsp,%rax,8)
movq 0x198(%rsp), %rax
movslq 0x3c8(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x198(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x198(%rsp)
jge 0xac2f33
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x8(%rsp)
jmp 0xac2f40
movq 0x198(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rcx
movslq 0x1f0(%rsp), %rax
movq %rcx, 0x1a0(%rsp,%rax,8)
movl 0x1f0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1f0(%rsp)
jmp 0xac2e63
movq 0x368(%rsp), %rax
movslq 0x1f4(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1c0(%rsp), %ymm0
movq %rax, 0x738(%rsp)
vmovdqa %ymm0, 0x700(%rsp)
vmovdqa 0x700(%rsp), %ymm0
movq 0x738(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x380(%rsp), %rax
movslq 0x1f4(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1a0(%rsp), %ymm0
movq %rax, 0x6f8(%rsp)
vmovdqa %ymm0, 0x6c0(%rsp)
vmovdqa 0x6c0(%rsp), %ymm0
movq 0x6f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
movl 0x1f4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1f4(%rsp)
movl 0x3c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c0(%rsp)
jmp 0xac2e39
movq 0x378(%rsp), %rax
movq $0x0, (%rax)
movl $0x1, 0x3c0(%rsp)
movl 0x3c0(%rsp), %eax
cmpl 0x3cc(%rsp), %eax
jg 0xac30d3
xorl %eax, %eax
subl 0x3c8(%rsp), %eax
movl 0x3c4(%rsp), %ecx
movl 0x3c0(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x190(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x190(%rsp)
jge 0xac3099
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, (%rsp)
jmp 0xac30a5
movq 0x190(%rsp), %rax
movq %rax, (%rsp)
movq (%rsp), %rdx
movq 0x378(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x3c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c0(%rsp)
jmp 0xac3038
vmovdqa 0x2e0(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x8e0(%rsp)
vmovdqa %ymm0, 0x8c0(%rsp)
vmovdqa 0x8e0(%rsp), %ymm0
vpsubq 0x8c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movl 0x398(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x3c0(%rsp)
cmpl $0x0, 0x3c0(%rsp)
jl 0xac31cc
movq 0x360(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x160(%rsp), %ymm0
movq %rax, 0x6b8(%rsp)
vmovdqa %ymm0, 0x680(%rsp)
vmovdqa 0x680(%rsp), %ymm0
movq 0x6b8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x320(%rsp), %ymm0
vmovdqa %ymm1, 0x8a0(%rsp)
vmovdqa %ymm0, 0x880(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
vpsubq 0x880(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movl 0x3c0(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x3c0(%rsp)
jmp 0xac3123
movl $0x0, 0x3bc(%rsp)
movl 0x3bc(%rsp), %eax
cmpl 0x3cc(%rsp), %eax
jge 0xac39d1
movq 0x368(%rsp), %rax
movl 0x398(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x938(%rsp)
movq 0x938(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0xc0(%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
movq 0x378(%rsp), %rax
movslq 0x3bc(%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, 0xc0(%rsp)
movq 0x388(%rsp), %rax
movq 0x3a0(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x3d0(%rsp), %rdx
movslq 0x3bc(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x398(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xb8(%rsp)
vmovdqa 0x2a0(%rsp), %ymm1
movq 0x360(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0x860(%rsp)
vmovdqa %ymm0, 0x840(%rsp)
vmovdqa 0x860(%rsp), %ymm0
vpsubq 0x840(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x2a0(%rsp), %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movl $0x0, 0x3c0(%rsp)
movl 0x3c0(%rsp), %eax
cmpl 0x398(%rsp), %eax
jge 0xac35b6
movq 0x368(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x930(%rsp)
movq 0x930(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
movq 0x380(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x928(%rsp)
movq 0x928(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x140(%rsp)
movq 0xb8(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x920(%rsp)
movq 0x920(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x80(%rsp)
vmovdqa 0x140(%rsp), %ymm1
vmovdqa 0x320(%rsp), %ymm0
vmovdqa %ymm1, 0x820(%rsp)
vmovdqa %ymm0, 0x800(%rsp)
vmovdqa 0x820(%rsp), %ymm0
vpsubq 0x800(%rsp), %ymm0, %ymm0
vmovdqa 0xe0(%rsp), %ymm2
vmovdqa 0x340(%rsp), %ymm1
vmovdqa %ymm2, 0x7e0(%rsp)
vmovdqa %ymm1, 0x7c0(%rsp)
vmovdqa 0x7e0(%rsp), %ymm1
vpsubq 0x7c0(%rsp), %ymm1, %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0x80(%rsp), %ymm0
vmovdqa %ymm1, 0x560(%rsp)
vmovdqa %ymm0, 0x540(%rsp)
vmovdqa 0x560(%rsp), %ymm0
vpaddq 0x540(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa 0x120(%rsp), %ymm2
movq 0x360(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa (%rax), %ymm1
vmovdqa %ymm2, 0x520(%rsp)
vmovdqa %ymm1, 0x500(%rsp)
vmovdqa 0x520(%rsp), %ymm1
vpaddq 0x500(%rsp), %ymm1, %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0x100(%rsp)
vmovdqa 0x140(%rsp), %ymm0
vmovdqa 0xc0(%rsp), %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0x120(%rsp)
movq 0x380(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x140(%rsp), %ymm0
movq %rax, 0x678(%rsp)
vmovdqa %ymm0, 0x640(%rsp)
vmovdqa 0x640(%rsp), %ymm0
movq 0x678(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x370(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x120(%rsp), %ymm0
movq %rax, 0x638(%rsp)
vmovdqa %ymm0, 0x600(%rsp)
vmovdqa 0x600(%rsp), %ymm0
movq 0x638(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
movl 0x3c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c0(%rsp)
jmp 0xac331a
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
movq 0x378(%rsp), %rax
movslq 0x3bc(%rsp), %rcx
vmovq 0x8(%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, 0x120(%rsp)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa 0x120(%rsp), %ymm2
movq 0x360(%rsp), %rax
vmovdqa (%rax), %ymm1
vmovdqa %ymm2, 0x4e0(%rsp)
vmovdqa %ymm1, 0x4c0(%rsp)
vmovdqa 0x4e0(%rsp), %ymm1
vpaddq 0x4c0(%rsp), %ymm1, %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0x100(%rsp)
movl $0x0, 0x3c0(%rsp)
movl 0x3c0(%rsp), %eax
movl 0x39c(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0xac3709
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, 0x60(%rsp)
vmovdqa 0x60(%rsp), %ymm1
vmovdqa 0x200(%rsp), %ymm0
vmovdqa %ymm1, 0x4a0(%rsp)
vmovdqa %ymm0, 0x480(%rsp)
vmovdqa 0x4a0(%rsp), %ymm0
vpaddq 0x480(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x60(%rsp)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa 0x60(%rsp), %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0x100(%rsp)
movl 0x3c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c0(%rsp)
jmp 0xac3665
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)
vmovdqa 0x100(%rsp), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x460(%rsp)
vmovdqa %ymm0, 0x440(%rsp)
vmovdqa 0x460(%rsp), %ymm0
vpaddq 0x440(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
vmovdqa 0x120(%rsp), %ymm0
vmovdqa 0x100(%rsp), %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0xe0(%rsp)
movl $0x0, 0x3c0(%rsp)
movl 0x3c0(%rsp), %eax
cmpl 0x398(%rsp), %eax
jge 0xac3913
movq 0x370(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x918(%rsp)
movq 0x918(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x100(%rsp), %ymm1
vmovdqa 0x320(%rsp), %ymm0
vmovdqa %ymm1, 0x7a0(%rsp)
vmovdqa %ymm0, 0x780(%rsp)
vmovdqa 0x7a0(%rsp), %ymm0
vpsubq 0x780(%rsp), %ymm0, %ymm0
vmovdqa 0xe0(%rsp), %ymm2
vmovdqa 0x340(%rsp), %ymm1
vmovdqa %ymm2, 0x760(%rsp)
vmovdqa %ymm1, 0x740(%rsp)
vmovdqa 0x760(%rsp), %ymm1
vpsubq 0x740(%rsp), %ymm1, %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0x100(%rsp)
vmovdqa 0x120(%rsp), %ymm0
vmovdqa 0x100(%rsp), %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0xe0(%rsp)
movq 0x368(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0xe0(%rsp), %ymm0
movq %rax, 0x5f8(%rsp)
vmovdqa %ymm0, 0x5c0(%rsp)
vmovdqa 0x5c0(%rsp), %ymm0
movq 0x5f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x260(%rsp), %ymm0
vmovdqa 0xe0(%rsp), %ymm1
callq 0xac3d70
vmovdqa %ymm0, 0x260(%rsp)
vmovdqa 0x240(%rsp), %ymm0
vmovdqa 0xe0(%rsp), %ymm1
callq 0xac3c70
vmovdqa %ymm0, 0x240(%rsp)
movl 0x3c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c0(%rsp)
jmp 0xac3795
movq 0x368(%rsp), %rax
movslq 0x394(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x910(%rsp)
movq 0x910(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
movl $0x0, 0x3b8(%rsp)
movl 0x3b8(%rsp), %eax
cmpl 0x390(%rsp), %eax
jge 0xac3997
vmovaps 0xe0(%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, 0xe0(%rsp)
movl 0x3b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3b8(%rsp)
jmp 0xac3952
movq 0xf8(%rsp), %rax
movl %eax, %edx
movq 0x1f8(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x3bc(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x3bc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3bc(%rsp)
jmp 0xac31d7
movl $0x0, 0x3c0(%rsp)
movl 0x3c0(%rsp), %eax
cmpl 0x398(%rsp), %eax
jge 0xac3a59
movq 0x368(%rsp), %rax
movslq 0x3c0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x908(%rsp)
movq 0x908(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x40(%rsp)
movq 0x1f8(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0x40(%rsp), %ymm0
movl 0x3c0(%rsp), %esi
movl 0x398(%rsp), %edx
callq 0xac3e70
movl 0x3c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c0(%rsp)
jmp 0xac39dc
movq 0x368(%rsp), %rax
movslq 0x394(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x900(%rsp)
movq 0x900(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x20(%rsp)
movl $0x0, 0x3b8(%rsp)
movl 0x3b8(%rsp), %eax
cmpl 0x390(%rsp), %eax
jge 0xac3ad4
vmovaps 0x20(%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, 0x20(%rsp)
movl 0x3b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3b8(%rsp)
jmp 0xac3a95
movq 0x38(%rsp), %rax
movq %rax, 0x2d8(%rsp)
vmovaps 0x2a0(%rsp), %ymm1
vmovaps 0x260(%rsp), %ymm0
vmovaps %ymm1, 0xa00(%rsp)
vmovaps %ymm0, 0x9e0(%rsp)
vmovaps 0xa00(%rsp), %ymm0
vmovaps 0x9e0(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x240(%rsp), %ymm2
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm2, 0x9c0(%rsp)
vmovaps %ymm0, 0x9a0(%rsp)
vmovaps 0x9c0(%rsp), %ymm0
vmovaps 0x9a0(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0x980(%rsp)
vmovdqa %ymm0, 0x960(%rsp)
vmovdqa 0x980(%rsp), %ymm0
vpor 0x960(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x940(%rsp)
vmovdqa 0x940(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xac3bc9
movq 0x1f8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, 0x2d8(%rsp)
movl $0x0, 0x3b0(%rsp)
movl $0x0, 0x3ac(%rsp)
movq 0x2d8(%rsp), %rax
movl %eax, %ecx
movq 0x1f8(%rsp), %rax
movl %ecx, (%rax)
movl 0x3b0(%rsp), %ecx
movq 0x1f8(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x3ac(%rsp), %ecx
movq 0x1f8(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x360(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x368(%rsp), %rdi
callq 0x1c3590
movq 0x370(%rsp), %rdi
callq 0x1c3590
movq 0x378(%rsp), %rdi
callq 0x1c3590
movq 0x380(%rsp), %rdi
callq 0x1c3590
movq 0x1f8(%rsp), %rax
movq %rax, 0x3e0(%rsp)
movq 0x3e0(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)