// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_scan_avx2_256_32.c
// Function: parasail_nw_rowcol_scan_profile_avx2_256_32
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;
    int32_t* restrict boundary = NULL;
    __m256i* restrict pvHt = NULL;
    __m256i* restrict pvH = NULL;
    __m256i* restrict pvGapper = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int32_t NEG_LIMIT = 0;
    int32_t POS_LIMIT = 0;
    __m256i vZero;
    int32_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->profile32.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 = 8; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
    pvP = (__m256i*)profile->profile32.score;
    vGapO = _mm256_set1_epi32(open);
    vGapE = _mm256_set1_epi32(gap);
    NEG_LIMIT = (-open < matrix->min ? INT32_MIN + open : INT32_MIN - matrix->min) + 1;
    POS_LIMIT = INT32_MAX - matrix->max - 1;
    vZero = _mm256_setzero_si256();
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi32(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi32(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInfFront = vZero;
    vNegInfFront = _mm256_insert_epi32_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm256_add_epi32(vNegInfFront,
            _mm256_slli_si256_rpl(_mm256_set1_epi32(-segLen*gap), 4));

    /* 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_32 | PARASAIL_FLAG_LANES_8;
#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_int32_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_32_t h;
            __m256i_32_t e;
            for (segNum=0; segNum<segWidth; ++segNum) {
                int64_t tmp = -open-gap*(segNum*segLen+i);
                h.v[segNum] = tmp < INT32_MIN ? INT32_MIN : tmp;
                tmp = tmp - open;
                e.v[segNum] = tmp < INT32_MIN ? INT32_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 < INT32_MIN ? INT32_MIN : tmp;
        }
    }

    {
        __m256i vGapper = _mm256_sub_epi32(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm256_store_si256(pvGapper+i, vGapper);
            vGapper = _mm256_sub_epi32(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, 4);
        vHp = _mm256_insert_epi32_rpl(vHp, boundary[j], 0);
        pvW = pvP + matrix->mapper[(unsigned char)s2[j]]*segLen;
        vHt = _mm256_sub_epi32(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_epi32(
                    _mm256_sub_epi32(vE, vGapE),
                    _mm256_sub_epi32(vH, vGapO));
            vHp = _mm256_add_epi32(vHp, vW);
            vF = _mm256_max_epi32(vF, _mm256_add_epi32(vHt, pvGapper[i]));
            vHt = _mm256_max_epi32(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, 4);
        vHt = _mm256_insert_epi32_rpl(vHt, boundary[j+1], 0);
        vF = _mm256_max_epi32(vF, _mm256_add_epi32(vHt, pvGapper[0]));
        for (i=0; i<segWidth-2; ++i) {
            __m256i vFt = _mm256_slli_si256_rpl(vF, 4);
            vFt = _mm256_add_epi32(vFt, vSegLenXgap);
            vF = _mm256_max_epi32(vF, vFt);
        }

        /* calculate final H */
        vF = _mm256_slli_si256_rpl(vF, 4);
        vF = _mm256_add_epi32(vF, vNegInfFront);
        vH = _mm256_max_epi32(vHt, vF);
        for (i=0; i<segLen; ++i) {
            vHt = _mm256_load_si256(pvHt+i);
            vF = _mm256_max_epi32(
                    _mm256_sub_epi32(vF, vGapE),
                    _mm256_sub_epi32(vH, vGapO));
            vH = _mm256_max_epi32(vHt, vF);
            _mm256_store_si256(pvH+i, vH);
            vSaturationCheckMin = _mm256_min_epi32(vSaturationCheckMin, vH);
            vSaturationCheckMax = _mm256_max_epi32(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, 4);
            }
            result->rowcols->score_row[j] = (int32_t) _mm256_extract_epi32_rpl (vH, 7);
        }
#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, 4);
        }
        score = (int32_t) _mm256_extract_epi32_rpl (vH, 7);
    }

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi32_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_cmpgt_epi32(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 $0xea0, %rsp            # imm = 0xEA0
movq %rdi, 0x410(%rsp)
movq %rsi, 0x408(%rsp)
movl %edx, 0x404(%rsp)
movl %ecx, 0x400(%rsp)
movl %r8d, 0x3fc(%rsp)
movl $0x0, 0x3f8(%rsp)
movl $0x0, 0x3f4(%rsp)
movl $0x0, 0x3f0(%rsp)
movl $0x0, 0x3ec(%rsp)
movl $0x0, 0x3e8(%rsp)
movl $0x0, 0x3e4(%rsp)
movq $0x0, 0x3d8(%rsp)
movl $0x0, 0x3d4(%rsp)
movl $0x0, 0x3d0(%rsp)
movl $0x0, 0x3cc(%rsp)
movl $0x0, 0x3c8(%rsp)
movq $0x0, 0x3c0(%rsp)
movq $0x0, 0x3b8(%rsp)
movq $0x0, 0x3b0(%rsp)
movq $0x0, 0x3a8(%rsp)
movq $0x0, 0x3a0(%rsp)
movq $0x0, 0x398(%rsp)
movl $0x0, 0x33c(%rsp)
movl $0x0, 0x338(%rsp)
movl $0x0, 0x2fc(%rsp)
movq $0x0, 0x218(%rsp)
cmpq $0x0, 0x410(%rsp)
jne 0xac8ba6
movq 0x35e462(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x22346b(%rip), %rsi    # 0xcebfeb
leaq 0x210fd1(%rip), %rdx    # 0xcd9b58
leaq 0x1f994f(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8ba8
jmp 0xac8baa
movq 0x410(%rsp), %rax
cmpq $0x0, 0x48(%rax)
jne 0xac8bf0
movq 0x35e418(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x223421(%rip), %rsi    # 0xcebfeb
leaq 0x210f87(%rip), %rdx    # 0xcd9b58
leaq 0x223db1(%rip), %rcx    # 0xcec989
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8bf2
jmp 0xac8bf4
movq 0x410(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xac8c3a
movq 0x35e3ce(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x2233d7(%rip), %rsi    # 0xcebfeb
leaq 0x210f3d(%rip), %rdx    # 0xcd9b58
leaq 0x223cfa(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8c3c
jmp 0xac8c3e
movq 0x410(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xac8c83
movq 0x35e385(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x223aa4(%rip), %rsi    # 0xcec701
leaq 0x210ef4(%rip), %rdx    # 0xcd9b58
leaq 0x223cc1(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8c85
jmp 0xac8c87
cmpq $0x0, 0x408(%rsp)
jne 0xac8cc9
movq 0x35e33f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x223348(%rip), %rsi    # 0xcebfeb
leaq 0x210eae(%rip), %rdx    # 0xcd9b58
leaq 0x223a4d(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8ccb
jmp 0xac8ccd
cmpl $0x0, 0x404(%rsp)
jg 0xac8d0e
movq 0x35e2fa(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x223a19(%rip), %rsi    # 0xcec701
leaq 0x210e69(%rip), %rdx    # 0xcd9b58
leaq 0x223a1f(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8d10
jmp 0xac8d12
cmpl $0x0, 0x400(%rsp)
jge 0xac8d53
movq 0x35e2b5(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x2239ee(%rip), %rsi    # 0xcec71b
leaq 0x210e24(%rip), %rdx    # 0xcd9b58
leaq 0x2239f5(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8d55
jmp 0xac8d57
cmpl $0x0, 0x3fc(%rsp)
jge 0xac8d98
movq 0x35e270(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x2239a9(%rip), %rsi    # 0xcec71b
leaq 0x210ddf(%rip), %rdx    # 0xcd9b58
leaq 0x2239b5(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
jmp 0xac8d9a
movl $0x0, 0x3f8(%rsp)
movl $0x0, 0x3f4(%rsp)
movl $0x0, 0x3f0(%rsp)
movq 0x410(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x3ec(%rsp)
movl 0x3ec(%rsp), %eax
decl %eax
movl %eax, 0x3e8(%rsp)
movl 0x404(%rsp), %eax
decl %eax
movl %eax, 0x3e4(%rsp)
movq 0x410(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x3d8(%rsp)
movl $0x8, 0x3d4(%rsp)
movl 0x3ec(%rsp), %esi
movl 0x3d4(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x3d0(%rsp)
movl 0x3ec(%rsp), %eax
decl %eax
movl 0x3d0(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x3cc(%rsp)
movl 0x3d4(%rsp), %ecx
movl 0x3ec(%rsp), %eax
decl %eax
movl 0x3d0(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x3c8(%rsp)
movq 0x410(%rsp), %rax
movq 0x48(%rax), %rax
movq %rax, 0x3c0(%rsp)
movl 0x400(%rsp), %eax
movl %eax, 0x43c(%rsp)
movl 0x43c(%rsp), %eax
movl %eax, 0x38(%rsp)
movl %eax, 0xcfc(%rsp)
movl %eax, 0xcf8(%rsp)
movl %eax, 0xcf4(%rsp)
movl %eax, 0xcf0(%rsp)
movl %eax, 0xcec(%rsp)
movl %eax, 0xce8(%rsp)
movl %eax, 0xce4(%rsp)
movl %eax, 0xce0(%rsp)
movl 0xce4(%rsp), %r8d
movl 0xce8(%rsp), %edi
movl 0xcec(%rsp), %esi
movl 0xcf4(%rsp), %edx
movl 0xcf8(%rsp), %ecx
movl 0xcfc(%rsp), %eax
vmovd 0xce0(%rsp), %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
vpinsrd $0x2, %edi, %xmm0, %xmm0
vpinsrd $0x3, %esi, %xmm0, %xmm0
vmovd 0xcf0(%rsp), %xmm1
vpinsrd $0x1, %edx, %xmm1, %xmm1
vpinsrd $0x2, %ecx, %xmm1, %xmm1
vpinsrd $0x3, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xcd0(%rsp)
vmovdqa %xmm0, 0xcc0(%rsp)
vmovaps 0xcc0(%rsp), %ymm0
vmovaps %ymm0, 0x360(%rsp)
movl 0x3fc(%rsp), %eax
movl %eax, 0x438(%rsp)
movl 0x438(%rsp), %eax
movl %eax, 0x3c(%rsp)
movl %eax, 0xd3c(%rsp)
movl %eax, 0xd38(%rsp)
movl %eax, 0xd34(%rsp)
movl %eax, 0xd30(%rsp)
movl %eax, 0xd2c(%rsp)
movl %eax, 0xd28(%rsp)
movl %eax, 0xd24(%rsp)
movl %eax, 0xd20(%rsp)
movl 0xd24(%rsp), %edx
movl 0xd28(%rsp), %ecx
movl 0xd2c(%rsp), %eax
movl 0xd34(%rsp), %r8d
movl 0xd38(%rsp), %edi
movl 0xd3c(%rsp), %esi
vmovd 0xd30(%rsp), %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
vpinsrd $0x2, %edi, %xmm0, %xmm0
vpinsrd $0x3, %esi, %xmm0, %xmm1
vmovd 0xd20(%rsp), %xmm0
vpinsrd $0x1, %edx, %xmm0, %xmm0
vpinsrd $0x2, %ecx, %xmm0, %xmm0
vpinsrd $0x3, %eax, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xd00(%rsp)
vmovdqa 0xd00(%rsp), %ymm0
vmovdqa %ymm0, 0x340(%rsp)
xorl %eax, %eax
subl 0x400(%rsp), %eax
movq 0x3d8(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xac9054
movl 0x400(%rsp), %eax
addl $0x80000000, %eax       # imm = 0x80000000
movl %eax, 0x34(%rsp)
jmp 0xac9068
movq 0x3d8(%rsp), %rcx
movl $0x80000000, %eax       # imm = 0x80000000
subl 0x20(%rcx), %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
incl %eax
movl %eax, 0x33c(%rsp)
movq 0x3d8(%rsp), %rax
movl 0x1c(%rax), %ecx
movl $0x7ffffffe, %eax       # imm = 0x7FFFFFFE
subl %ecx, %eax
movl %eax, 0x338(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %ymm0, 0x440(%rsp)
vmovaps 0x440(%rsp), %ymm0
vmovaps %ymm0, 0x300(%rsp)
movl 0x33c(%rsp), %eax
movl %eax, 0x2fc(%rsp)
movl 0x33c(%rsp), %eax
movl %eax, 0x434(%rsp)
movl 0x434(%rsp), %eax
movl %eax, 0x20(%rsp)
movl %eax, 0xd7c(%rsp)
movl %eax, 0xd78(%rsp)
movl %eax, 0xd74(%rsp)
movl %eax, 0xd70(%rsp)
movl %eax, 0xd6c(%rsp)
movl %eax, 0xd68(%rsp)
movl %eax, 0xd64(%rsp)
movl %eax, 0xd60(%rsp)
movl 0xd64(%rsp), %r8d
movl 0xd68(%rsp), %edi
movl 0xd6c(%rsp), %esi
movl 0xd74(%rsp), %edx
movl 0xd78(%rsp), %ecx
movl 0xd7c(%rsp), %eax
vmovd 0xd60(%rsp), %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
vpinsrd $0x2, %edi, %xmm0, %xmm0
vpinsrd $0x3, %esi, %xmm0, %xmm0
vmovd 0xd70(%rsp), %xmm1
vpinsrd $0x1, %edx, %xmm1, %xmm1
vpinsrd $0x2, %ecx, %xmm1, %xmm1
vpinsrd $0x3, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xd50(%rsp)
vmovdqa %xmm0, 0xd40(%rsp)
vmovaps 0xd40(%rsp), %ymm0
vmovaps %ymm0, 0x2c0(%rsp)
movl 0x338(%rsp), %eax
movl %eax, 0x430(%rsp)
movl 0x430(%rsp), %eax
movl %eax, 0x24(%rsp)
movl %eax, 0xdbc(%rsp)
movl %eax, 0xdb8(%rsp)
movl %eax, 0xdb4(%rsp)
movl %eax, 0xdb0(%rsp)
movl %eax, 0xdac(%rsp)
movl %eax, 0xda8(%rsp)
movl %eax, 0xda4(%rsp)
movl %eax, 0xda0(%rsp)
movl 0xda4(%rsp), %r8d
movl 0xda8(%rsp), %edi
movl 0xdac(%rsp), %esi
movl 0xdb4(%rsp), %edx
movl 0xdb8(%rsp), %ecx
movl 0xdbc(%rsp), %eax
vmovd 0xda0(%rsp), %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
vpinsrd $0x2, %edi, %xmm0, %xmm0
vpinsrd $0x3, %esi, %xmm0, %xmm0
vmovd 0xdb0(%rsp), %xmm1
vpinsrd $0x1, %edx, %xmm1, %xmm1
vpinsrd $0x2, %ecx, %xmm1, %xmm1
vpinsrd $0x3, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xd90(%rsp)
vmovdqa %xmm0, 0xd80(%rsp)
vmovaps 0xd80(%rsp), %ymm0
vmovaps %ymm0, 0x2a0(%rsp)
vmovaps 0x2a0(%rsp), %ymm0
vmovaps %ymm0, 0x280(%rsp)
vmovaps 0x2c0(%rsp), %ymm0
vmovaps %ymm0, 0x260(%rsp)
vmovaps 0x300(%rsp), %ymm0
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x240(%rsp), %ymm0
vmovd 0x33c(%rsp), %xmm2
vmovaps %xmm2, %xmm1
vpblendd $0x1, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7]
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x240(%rsp), %ymm1
movl 0x3d0(%rsp), %eax
negl %eax
movl 0x3fc(%rsp), %ecx
imull %ecx, %eax
movl %eax, 0x42c(%rsp)
movl 0x42c(%rsp), %eax
movl %eax, 0x28(%rsp)
movl %eax, 0xdfc(%rsp)
movl %eax, 0xdf8(%rsp)
movl %eax, 0xdf4(%rsp)
movl %eax, 0xdf0(%rsp)
movl %eax, 0xdec(%rsp)
movl %eax, 0xde8(%rsp)
movl %eax, 0xde4(%rsp)
movl %eax, 0xde0(%rsp)
movl 0xde4(%rsp), %r8d
movl 0xde8(%rsp), %edi
movl 0xdec(%rsp), %esi
movl 0xdf4(%rsp), %edx
movl 0xdf8(%rsp), %ecx
movl 0xdfc(%rsp), %eax
vmovd 0xde0(%rsp), %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
vpinsrd $0x2, %edi, %xmm0, %xmm0
vpinsrd $0x3, %esi, %xmm0, %xmm0
vmovd 0xdf0(%rsp), %xmm2
vpinsrd $0x1, %edx, %xmm2, %xmm2
vpinsrd $0x2, %ecx, %xmm2, %xmm2
vpinsrd $0x3, %eax, %xmm2, %xmm2
vmovdqa %xmm2, 0xdd0(%rsp)
vmovdqa %xmm0, 0xdc0(%rsp)
vmovaps 0xdc0(%rsp), %ymm0
movl 0x3d0(%rsp), %eax
negl %eax
movl 0x3fc(%rsp), %ecx
imull %ecx, %eax
movl %eax, 0x428(%rsp)
movl 0x428(%rsp), %eax
movl %eax, 0x2c(%rsp)
movl %eax, 0xe3c(%rsp)
movl %eax, 0xe38(%rsp)
movl %eax, 0xe34(%rsp)
movl %eax, 0xe30(%rsp)
movl %eax, 0xe2c(%rsp)
movl %eax, 0xe28(%rsp)
movl %eax, 0xe24(%rsp)
movl %eax, 0xe20(%rsp)
movl 0xe24(%rsp), %r8d
movl 0xe28(%rsp), %edi
movl 0xe2c(%rsp), %esi
movl 0xe34(%rsp), %edx
movl 0xe38(%rsp), %ecx
movl 0xe3c(%rsp), %eax
vmovd 0xe20(%rsp), %xmm2
vpinsrd $0x1, %r8d, %xmm2, %xmm2
vpinsrd $0x2, %edi, %xmm2, %xmm2
vpinsrd $0x3, %esi, %xmm2, %xmm2
vmovd 0xe30(%rsp), %xmm3
vpinsrd $0x1, %edx, %xmm3, %xmm3
vpinsrd $0x2, %ecx, %xmm3, %xmm3
vpinsrd $0x3, %eax, %xmm3, %xmm3
vmovdqa %xmm3, 0xe10(%rsp)
vmovdqa %xmm2, 0xe00(%rsp)
vmovaps 0xe00(%rsp), %ymm3
movl 0x3d0(%rsp), %eax
negl %eax
movl 0x3fc(%rsp), %ecx
imull %ecx, %eax
movl %eax, 0x424(%rsp)
movl 0x424(%rsp), %eax
movl %eax, 0x30(%rsp)
movl %eax, 0xe8c(%rsp)
movl %eax, 0xe88(%rsp)
movl %eax, 0xe84(%rsp)
movl %eax, 0xe80(%rsp)
movl %eax, 0xe7c(%rsp)
movl %eax, 0xe78(%rsp)
movl %eax, 0xe74(%rsp)
movl %eax, 0xe70(%rsp)
movl 0xe74(%rsp), %r8d
movl 0xe78(%rsp), %edi
movl 0xe7c(%rsp), %esi
movl 0xe84(%rsp), %edx
movl 0xe88(%rsp), %ecx
movl 0xe8c(%rsp), %eax
vmovd 0xe70(%rsp), %xmm2
vpinsrd $0x1, %r8d, %xmm2, %xmm2
vpinsrd $0x2, %edi, %xmm2, %xmm2
vpinsrd $0x3, %esi, %xmm2, %xmm2
vmovd 0xe80(%rsp), %xmm4
vpinsrd $0x1, %edx, %xmm4, %xmm4
vpinsrd $0x2, %ecx, %xmm4, %xmm4
vpinsrd $0x3, %eax, %xmm4, %xmm4
vmovdqa %xmm4, 0xe50(%rsp)
vmovdqa %xmm2, 0xe40(%rsp)
vperm2i128 $0x28, %ymm3, %ymm2, %ymm2 # ymm2 = zero,zero,ymm3[0,1]
vpalignr $0xc, %ymm2, %ymm0, %ymm0 # ymm0 = ymm2[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vmovdqa %ymm1, 0x5c0(%rsp)
vmovdqa %ymm0, 0x5a0(%rsp)
vmovdqa 0x5c0(%rsp), %ymm0
vmovdqa 0x5a0(%rsp), %ymm1
vpaddd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x220(%rsp)
movl 0x3d0(%rsp), %edi
imull 0x3d4(%rsp), %edi
movl 0x404(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x218(%rsp)
cmpq $0x0, 0x218(%rsp)
jne 0xac95cc
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
movq 0x218(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x8400401, %ecx        # imm = 0x8400401
movl %ecx, 0xc(%rax)
movq 0x218(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x3d0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x3b8(%rsp)
movl 0x404(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3660
movq %rax, 0x3b0(%rsp)
movslq 0x3d0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x3a8(%rsp)
movslq 0x3d0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x3a0(%rsp)
movslq 0x3d0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x398(%rsp)
cmpq $0x0, 0x3b8(%rsp)
jne 0xac9697
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
cmpq $0x0, 0x3b0(%rsp)
jne 0xac96b3
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
cmpq $0x0, 0x3a8(%rsp)
jne 0xac96cf
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
cmpq $0x0, 0x3a0(%rsp)
jne 0xac96eb
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
cmpq $0x0, 0x398(%rsp)
jne 0xac9707
movq $0x0, 0x418(%rsp)
jmp 0xaca6a4
movl $0x0, 0x214(%rsp)
movl $0x0, 0x3f8(%rsp)
movl 0x3f8(%rsp), %eax
cmpl 0x3d0(%rsp), %eax
jge 0xac98f2
movl $0x0, 0x210(%rsp)
movl $0x0, 0x210(%rsp)
movl 0x210(%rsp), %eax
cmpl 0x3d4(%rsp), %eax
jge 0xac983f
xorl %eax, %eax
subl 0x400(%rsp), %eax
movl 0x3fc(%rsp), %ecx
movl 0x210(%rsp), %edx
imull 0x3d0(%rsp), %edx
addl 0x3f8(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x1b8(%rsp)
cmpq $-0x80000000, 0x1b8(%rsp) # imm = 0x80000000
jge 0xac97ac
movq $-0x80000000, %rax      # imm = 0x80000000
movq %rax, 0x18(%rsp)
jmp 0xac97b9
movq 0x1b8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movl %eax, %ecx
movslq 0x210(%rsp), %rax
movl %ecx, 0x1e0(%rsp,%rax,4)
movq 0x1b8(%rsp), %rax
movslq 0x400(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x1b8(%rsp)
cmpq $-0x80000000, 0x1b8(%rsp) # imm = 0x80000000
jge 0xac9806
movq $-0x80000000, %rax      # imm = 0x80000000
movq %rax, 0x10(%rsp)
jmp 0xac9813
movq 0x1b8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movl %eax, %ecx
movslq 0x210(%rsp), %rax
movl %ecx, 0x1c0(%rsp,%rax,4)
movl 0x210(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x210(%rsp)
jmp 0xac9747
movq 0x3a0(%rsp), %rax
movslq 0x214(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1e0(%rsp), %ymm0
movq %rax, 0x758(%rsp)
vmovdqa %ymm0, 0x720(%rsp)
vmovdqa 0x720(%rsp), %ymm0
movq 0x758(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x3b8(%rsp), %rax
movslq 0x214(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1c0(%rsp), %ymm0
movq %rax, 0x718(%rsp)
vmovdqa %ymm0, 0x6e0(%rsp)
vmovdqa 0x6e0(%rsp), %ymm0
movq 0x718(%rsp), %rax
vmovdqa %ymm0, (%rax)
movl 0x214(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x214(%rsp)
movl 0x3f8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f8(%rsp)
jmp 0xac971d
movq 0x3b0(%rsp), %rax
movl $0x0, (%rax)
movl $0x1, 0x3f8(%rsp)
movl 0x3f8(%rsp), %eax
cmpl 0x404(%rsp), %eax
jg 0xac99a1
xorl %eax, %eax
subl 0x400(%rsp), %eax
movl 0x3fc(%rsp), %ecx
movl 0x3f8(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x1b0(%rsp)
cmpq $-0x80000000, 0x1b0(%rsp) # imm = 0x80000000
jge 0xac9964
movq $-0x80000000, %rax      # imm = 0x80000000
movq %rax, 0x8(%rsp)
jmp 0xac9971
movq 0x1b0(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movl %eax, %edx
movq 0x3b0(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x3f8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f8(%rsp)
jmp 0xac990b
vmovdqa 0x300(%rsp), %ymm1
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm1, 0x900(%rsp)
vmovdqa %ymm0, 0x8e0(%rsp)
vmovdqa 0x900(%rsp), %ymm0
vmovdqa 0x8e0(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x3d0(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x3f8(%rsp)
cmpl $0x0, 0x3f8(%rsp)
jl 0xac9aa2
movq 0x398(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x180(%rsp), %ymm0
movq %rax, 0x6d8(%rsp)
vmovdqa %ymm0, 0x6a0(%rsp)
vmovdqa 0x6a0(%rsp), %ymm0
movq 0x6d8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x180(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x8c0(%rsp)
vmovdqa %ymm0, 0x8a0(%rsp)
vmovdqa 0x8c0(%rsp), %ymm0
vmovdqa 0x8a0(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x3f8(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x3f8(%rsp)
jmp 0xac99f5
movl $0x0, 0x3f4(%rsp)
movl 0x3f4(%rsp), %eax
cmpl 0x404(%rsp), %eax
jge 0xaca42c
movq 0x3a0(%rsp), %rax
movl 0x3d0(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x958(%rsp)
movq 0x958(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0xe0(%rsp)
vmovaps 0xe0(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vmovaps %ymm0, 0xe0(%rsp)
vmovaps 0xe0(%rsp), %ymm0
movq 0x3b0(%rsp), %rax
movslq 0x3f4(%rsp), %rcx
vmovd (%rax,%rcx,4), %xmm2
vmovaps %xmm2, %xmm1
vpblendd $0x1, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7]
vmovdqa %ymm0, 0xe0(%rsp)
movq 0x3c0(%rsp), %rax
movq 0x3d8(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x408(%rsp), %rdx
movslq 0x3f4(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x3d0(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xd8(%rsp)
vmovdqa 0x2c0(%rsp), %ymm1
movq 0x398(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0x880(%rsp)
vmovdqa %ymm0, 0x860(%rsp)
vmovdqa 0x880(%rsp), %ymm0
vmovdqa 0x860(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x2c0(%rsp), %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl $0x0, 0x3f8(%rsp)
movl 0x3f8(%rsp), %eax
cmpl 0x3d0(%rsp), %eax
jge 0xac9f08
movq 0x3a0(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x950(%rsp)
movq 0x950(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movq 0x3b8(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x948(%rsp)
movq 0x948(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movq 0xd8(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x940(%rsp)
movq 0x940(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x840(%rsp)
vmovdqa %ymm0, 0x820(%rsp)
vmovdqa 0x840(%rsp), %ymm0
vmovdqa 0x820(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm1
vmovdqa 0x100(%rsp), %ymm2
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm2, 0x800(%rsp)
vmovdqa %ymm0, 0x7e0(%rsp)
vmovdqa 0x800(%rsp), %ymm0
vmovdqa 0x7e0(%rsp), %ymm2
vpsubd %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xb80(%rsp)
vmovdqa %ymm0, 0xb60(%rsp)
vmovdqa 0xb80(%rsp), %ymm0
vmovdqa 0xb60(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x580(%rsp)
vmovdqa %ymm0, 0x560(%rsp)
vmovdqa 0x580(%rsp), %ymm0
vmovdqa 0x560(%rsp), %ymm1
vpaddd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm2
movq 0x398(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm2, 0x540(%rsp)
vmovdqa %ymm0, 0x520(%rsp)
vmovdqa 0x540(%rsp), %ymm0
vmovdqa 0x520(%rsp), %ymm2
vpaddd %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xb40(%rsp)
vmovdqa %ymm0, 0xb20(%rsp)
vmovdqa 0xb40(%rsp), %ymm0
vmovdqa 0xb20(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm1, 0xb00(%rsp)
vmovdqa %ymm0, 0xae0(%rsp)
vmovdqa 0xb00(%rsp), %ymm0
vmovdqa 0xae0(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x140(%rsp)
movq 0x3b8(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x160(%rsp), %ymm0
movq %rax, 0x698(%rsp)
vmovdqa %ymm0, 0x660(%rsp)
vmovdqa 0x660(%rsp), %ymm0
movq 0x698(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x3a8(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x140(%rsp), %ymm0
movq %rax, 0x658(%rsp)
vmovdqa %ymm0, 0x620(%rsp)
vmovdqa 0x620(%rsp), %ymm0
movq 0x658(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
movl 0x3f8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f8(%rsp)
jmp 0xac9bf0
vmovaps 0x140(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vmovaps %ymm0, 0x140(%rsp)
vmovaps 0x140(%rsp), %ymm0
movq 0x3b0(%rsp), %rax
movslq 0x3f4(%rsp), %rcx
vmovd 0x4(%rax,%rcx,4), %xmm2
vmovaps %xmm2, %xmm1
vpblendd $0x1, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7]
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm2
movq 0x398(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm2, 0x500(%rsp)
vmovdqa %ymm0, 0x4e0(%rsp)
vmovdqa 0x500(%rsp), %ymm0
vmovdqa 0x4e0(%rsp), %ymm2
vpaddd %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xac0(%rsp)
vmovdqa %ymm0, 0xaa0(%rsp)
vmovdqa 0xac0(%rsp), %ymm0
vmovdqa 0xaa0(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl $0x0, 0x3f8(%rsp)
movl 0x3f8(%rsp), %eax
movl 0x3d4(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0xaca0af
vmovaps 0x120(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vmovdqa %ymm0, 0x80(%rsp)
vmovdqa 0x80(%rsp), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x4c0(%rsp)
vmovdqa %ymm0, 0x4a0(%rsp)
vmovdqa 0x4c0(%rsp), %ymm0
vmovdqa 0x4a0(%rsp), %ymm1
vpaddd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x80(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x80(%rsp), %ymm0
vmovdqa %ymm1, 0xa80(%rsp)
vmovdqa %ymm0, 0xa60(%rsp)
vmovdqa 0xa80(%rsp), %ymm0
vmovdqa 0xa60(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl 0x3f8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f8(%rsp)
jmp 0xac9fdb
vmovaps 0x120(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x240(%rsp), %ymm0
vmovdqa %ymm1, 0x480(%rsp)
vmovdqa %ymm0, 0x460(%rsp)
vmovdqa 0x480(%rsp), %ymm0
vmovdqa 0x460(%rsp), %ymm1
vpaddd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x140(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm1, 0xa40(%rsp)
vmovdqa %ymm0, 0xa20(%rsp)
vmovdqa 0xa40(%rsp), %ymm0
vmovdqa 0xa20(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movl $0x0, 0x3f8(%rsp)
movl 0x3f8(%rsp), %eax
cmpl 0x3d0(%rsp), %eax
jge 0xaca375
movq 0x3a8(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x938(%rsp)
movq 0x938(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x7c0(%rsp)
vmovdqa %ymm0, 0x7a0(%rsp)
vmovdqa 0x7c0(%rsp), %ymm0
vmovdqa 0x7a0(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm1
vmovdqa 0x100(%rsp), %ymm2
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm2, 0x780(%rsp)
vmovdqa %ymm0, 0x760(%rsp)
vmovdqa 0x780(%rsp), %ymm0
vmovdqa 0x760(%rsp), %ymm2
vpsubd %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xa00(%rsp)
vmovdqa %ymm0, 0x9e0(%rsp)
vmovdqa 0xa00(%rsp), %ymm0
vmovdqa 0x9e0(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x140(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm1, 0x9c0(%rsp)
vmovdqa %ymm0, 0x9a0(%rsp)
vmovdqa 0x9c0(%rsp), %ymm0
vmovdqa 0x9a0(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movq 0x3a0(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x100(%rsp), %ymm0
movq %rax, 0x618(%rsp)
vmovdqa %ymm0, 0x5e0(%rsp)
vmovdqa 0x5e0(%rsp), %ymm0
movq 0x618(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x280(%rsp), %ymm1
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm1, 0xbc0(%rsp)
vmovdqa %ymm0, 0xba0(%rsp)
vmovdqa 0xbc0(%rsp), %ymm0
vmovdqa 0xba0(%rsp), %ymm1
vpminsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x280(%rsp)
vmovdqa 0x260(%rsp), %ymm1
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm1, 0x980(%rsp)
vmovdqa %ymm0, 0x960(%rsp)
vmovdqa 0x980(%rsp), %ymm0
vmovdqa 0x960(%rsp), %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x260(%rsp)
movl 0x3f8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f8(%rsp)
jmp 0xaca15f
movq 0x3a0(%rsp), %rax
movslq 0x3cc(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x930(%rsp)
movq 0x930(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movl $0x0, 0x3f0(%rsp)
movl 0x3f0(%rsp), %eax
cmpl 0x3c8(%rsp), %eax
jge 0xaca3f5
vmovaps 0x100(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vmovdqa %ymm0, 0x100(%rsp)
movl 0x3f0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f0(%rsp)
jmp 0xaca3b4
movl 0x11c(%rsp), %edx
movq 0x218(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x3f4(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x3f4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f4(%rsp)
jmp 0xac9aad
movl $0x0, 0x3f8(%rsp)
movl 0x3f8(%rsp), %eax
cmpl 0x3d0(%rsp), %eax
jge 0xaca4b4
movq 0x3a0(%rsp), %rax
movslq 0x3f8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x928(%rsp)
movq 0x928(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x60(%rsp)
movq 0x218(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0x60(%rsp), %ymm0
movl 0x3f8(%rsp), %esi
movl 0x3d0(%rsp), %edx
callq 0xaca6c0
movl 0x3f8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f8(%rsp)
jmp 0xaca437
movq 0x3a0(%rsp), %rax
movslq 0x3cc(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x920(%rsp)
movq 0x920(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x40(%rsp)
movl $0x0, 0x3f0(%rsp)
movl 0x3f0(%rsp), %eax
cmpl 0x3c8(%rsp), %eax
jge 0xaca52b
vmovaps 0x40(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vmovdqa %ymm0, 0x40(%rsp)
movl 0x3f0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3f0(%rsp)
jmp 0xaca4f0
movl 0x5c(%rsp), %eax
movl %eax, 0x2fc(%rsp)
vmovaps 0x2c0(%rsp), %ymm1
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm1, 0xca0(%rsp)
vmovaps %ymm0, 0xc80(%rsp)
vmovaps 0xca0(%rsp), %ymm0
vmovaps 0xc80(%rsp), %ymm1
vpcmpgtd %ymm1, %ymm0, %ymm1
vmovaps 0x260(%rsp), %ymm2
vmovaps 0x2a0(%rsp), %ymm0
vmovaps %ymm2, 0xc60(%rsp)
vmovaps %ymm0, 0xc40(%rsp)
vmovaps 0xc60(%rsp), %ymm0
vmovaps 0xc40(%rsp), %ymm2
vpcmpgtd %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xc20(%rsp)
vmovdqa %ymm0, 0xc00(%rsp)
vmovdqa 0xc20(%rsp), %ymm0
vpor 0xc00(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xbe0(%rsp)
vmovdqa 0xbe0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xaca61b
movq 0x218(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movl $0x0, 0x2fc(%rsp)
movl $0x0, 0x3e8(%rsp)
movl $0x0, 0x3e4(%rsp)
movl 0x2fc(%rsp), %ecx
movq 0x218(%rsp), %rax
movl %ecx, (%rax)
movl 0x3e8(%rsp), %ecx
movq 0x218(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x3e4(%rsp), %ecx
movq 0x218(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x398(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x3a0(%rsp), %rdi
callq 0x1c3590
movq 0x3a8(%rsp), %rdi
callq 0x1c3590
movq 0x3b0(%rsp), %rdi
callq 0x1c3590
movq 0x3b8(%rsp), %rdi
callq 0x1c3590
movq 0x218(%rsp), %rax
movq %rax, 0x418(%rsp)
movq 0x418(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)