// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sg_scan_avx2_256_64.c
// Function: parasail_sg_flags_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,
        int s1_beg, int s1_end, int s2_beg, int s2_end)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t k = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int32_t s1Len = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
    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 vMaxH;
    __m256i vPosMask;
    __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;
    vMaxH = vNegLimit;
    vPosMask = _mm256_cmpeq_epi64(_mm256_set1_epi64x_rpl(position),
            _mm256_set_epi64x_rpl(0,1,2,3));
    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_SG | PARASAIL_FLAG_SCAN
        | PARASAIL_FLAG_BITS_64 | PARASAIL_FLAG_LANES_4;
    result->flag |= s1_beg ? PARASAIL_FLAG_SG_S1_BEG : 0;
    result->flag |= s1_end ? PARASAIL_FLAG_SG_S1_END : 0;
    result->flag |= s2_beg ? PARASAIL_FLAG_SG_S2_BEG : 0;
    result->flag |= s2_end ? PARASAIL_FLAG_SG_S2_END : 0;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    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 = s1_beg ? 0 : (-open-gap*(segNum*segLen+i));
                h.v[segNum] = tmp < INT64_MIN ? INT64_MIN : tmp;
                tmp = tmp - open;
                e.v[segNum] = tmp < INT64_MIN ? INT64_MIN : tmp;
            }
            _mm256_store_si256(&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 = s2_beg ? 0 : (-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);
            /* long queries and/or large penalties will break the pseudo prefix scan */
            vSaturationCheckMin = _mm256_min_epi64_rpl(vSaturationCheckMin, vGapper);
        }
    }

    /* 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);
            vSaturationCheckMin = _mm256_min_epi64_rpl(vSaturationCheckMin, vF);
            vSaturationCheckMax = _mm256_max_epi64_rpl(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
            arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
        } 

        /* extract vector containing last value from column */
        {
            __m256i vCompare;
            vH = _mm256_load_si256(pvH + offset);
            vCompare = _mm256_and_si256(vPosMask, _mm256_cmpgt_epi64(vH, vMaxH));
            vMaxH = _mm256_max_epi64_rpl(vH, vMaxH);
            if (_mm256_movemask_epi8(vCompare)) {
                end_ref = j;
            }
#ifdef PARASAIL_ROWCOL
            for (k=0; k<position; ++k) {
                vH = _mm256_slli_si256_rpl(vH, 8);
            }
            result->rowcols->score_row[j] = (int64_t) _mm256_extract_epi64_rpl (vH, 3);
#endif
        }
    }

#ifdef PARASAIL_ROWCOL
    for (i=0; i<segLen; ++i) {
        __m256i vH = _mm256_load_si256(pvH + i);
        arr_store_col(result->rowcols->score_col, vH, i, segLen);
    }
#endif

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

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

    if (!s1_end && !s2_end) {
        /* extract last value from the last column */
        {
            __m256i vH = _mm256_load_si256(pvH + offset);
            for (k=0; k<position; ++k) {
                vH = _mm256_slli_si256_rpl(vH, 8);
            }
            score = (int64_t) _mm256_extract_epi64_rpl (vH, 3);
            end_ref = s2Len - 1;
            end_query = s1Len - 1;
        }
    }

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi64_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_cmpgt_epi64(vSaturationCheckMax, vPosLimit)))) {
        result->flag |= PARASAIL_FLAG_SATURATED;
        score = 0;
        end_query = 0;
        end_ref = 0;
    }

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

    parasail_free(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 $0xe20, %rsp            # imm = 0xE20
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, 0x490(%rsp)
movq %rsi, 0x488(%rsp)
movl %edx, 0x484(%rsp)
movl %ecx, 0x480(%rsp)
movl %r8d, 0x47c(%rsp)
movl %r9d, 0x478(%rsp)
movl $0x0, 0x474(%rsp)
movl $0x0, 0x470(%rsp)
movl $0x0, 0x46c(%rsp)
movl $0x0, 0x468(%rsp)
movl $0x0, 0x464(%rsp)
movl $0x0, 0x460(%rsp)
movq $0x0, 0x458(%rsp)
movl $0x0, 0x454(%rsp)
movl $0x0, 0x450(%rsp)
movl $0x0, 0x44c(%rsp)
movl $0x0, 0x448(%rsp)
movq $0x0, 0x440(%rsp)
movq $0x0, 0x438(%rsp)
movq $0x0, 0x430(%rsp)
movq $0x0, 0x428(%rsp)
movq $0x0, 0x420(%rsp)
movq $0x0, 0x418(%rsp)
movq $0x0, 0x3b8(%rsp)
movq $0x0, 0x3b0(%rsp)
movq $0x0, 0x378(%rsp)
movq $0x0, 0x258(%rsp)
cmpq $0x0, 0x490(%rsp)
jne 0xac42ea
movq 0x362d1e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x227d27(%rip), %rsi    # 0xcebfeb
leaq 0x22cd1f(%rip), %rdx    # 0xcf0fea
leaq 0x1fe20b(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac42ec
jmp 0xac42ee
movq 0x490(%rsp), %rax
cmpq $0x0, 0x60(%rax)
jne 0xac4334
movq 0x362cd4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x227cdd(%rip), %rsi    # 0xcebfeb
leaq 0x22ccd5(%rip), %rdx    # 0xcf0fea
leaq 0x2285e7(%rip), %rcx    # 0xcec903
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac4336
jmp 0xac4338
movq 0x490(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xac437e
movq 0x362c8a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x227c93(%rip), %rsi    # 0xcebfeb
leaq 0x22cc8b(%rip), %rdx    # 0xcf0fea
leaq 0x2285b6(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac4380
jmp 0xac4382
movq 0x490(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xac43c7
movq 0x362c41(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x228360(%rip), %rsi    # 0xcec701
leaq 0x22cc42(%rip), %rdx    # 0xcf0fea
leaq 0x22857d(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac43c9
jmp 0xac43cb
cmpq $0x0, 0x488(%rsp)
jne 0xac440d
movq 0x362bfb(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x227c04(%rip), %rsi    # 0xcebfeb
leaq 0x22cbfc(%rip), %rdx    # 0xcf0fea
leaq 0x228309(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac440f
jmp 0xac4411
cmpl $0x0, 0x484(%rsp)
jg 0xac4452
movq 0x362bb6(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x2282d5(%rip), %rsi    # 0xcec701
leaq 0x22cbb7(%rip), %rdx    # 0xcf0fea
leaq 0x2282db(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac4454
jmp 0xac4456
cmpl $0x0, 0x480(%rsp)
jge 0xac4497
movq 0x362b71(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x2282aa(%rip), %rsi    # 0xcec71b
leaq 0x22cb72(%rip), %rdx    # 0xcf0fea
leaq 0x2282b1(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac4499
jmp 0xac449b
cmpl $0x0, 0x47c(%rsp)
jge 0xac44dc
movq 0x362b2c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x228265(%rip), %rsi    # 0xcec71b
leaq 0x22cb2d(%rip), %rdx    # 0xcf0fea
leaq 0x228271(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
jmp 0xac44de
movl $0x0, 0x474(%rsp)
movl $0x0, 0x470(%rsp)
movl $0x0, 0x46c(%rsp)
movq 0x490(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x460(%rsp)
movl 0x460(%rsp), %eax
decl %eax
movl %eax, 0x468(%rsp)
movl 0x484(%rsp), %eax
decl %eax
movl %eax, 0x464(%rsp)
movq 0x490(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x458(%rsp)
movl $0x4, 0x454(%rsp)
movl 0x460(%rsp), %esi
movl 0x454(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x450(%rsp)
movl 0x460(%rsp), %eax
decl %eax
movl 0x450(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x44c(%rsp)
movl 0x454(%rsp), %ecx
movl 0x460(%rsp), %eax
decl %eax
movl 0x450(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x448(%rsp)
movq 0x490(%rsp), %rax
movq 0x60(%rax), %rax
movq %rax, 0x440(%rsp)
movslq 0x480(%rsp), %rax
movq %rax, 0x4d8(%rsp)
movq 0x4d8(%rsp), %rax
movq %rax, 0x578(%rsp)
movq %rax, 0x570(%rsp)
movq %rax, 0x568(%rsp)
movq %rax, 0x560(%rsp)
vmovq 0x568(%rsp), %xmm1
vmovq 0x560(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x578(%rsp), %xmm2
vmovq 0x570(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x550(%rsp)
vmovdqa %xmm0, 0x540(%rsp)
vmovaps 0x540(%rsp), %ymm0
vmovaps %ymm0, 0x3e0(%rsp)
movslq 0x47c(%rsp), %rax
movq %rax, 0x4d0(%rsp)
movq 0x4d0(%rsp), %rax
movq %rax, 0x5b8(%rsp)
movq %rax, 0x5b0(%rsp)
movq %rax, 0x5a8(%rsp)
movq %rax, 0x5a0(%rsp)
vmovq 0x5b8(%rsp), %xmm1
vmovq 0x5b0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x5a8(%rsp), %xmm2
vmovq 0x5a0(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x580(%rsp)
vmovdqa 0x580(%rsp), %ymm0
vmovdqa %ymm0, 0x3c0(%rsp)
xorl %eax, %eax
subl 0x480(%rsp), %eax
movq 0x458(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xac4706
movslq 0x480(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, 0x38(%rsp)
jmp 0xac4724
movq 0x458(%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, 0x3b8(%rsp)
movq 0x458(%rsp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, 0x3b0(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %ymm0, 0x4e0(%rsp)
vmovaps 0x4e0(%rsp), %ymm0
vmovaps %ymm0, 0x380(%rsp)
movq 0x3b8(%rsp), %rax
movq %rax, 0x378(%rsp)
movq 0x3b8(%rsp), %rax
movq %rax, 0x4c8(%rsp)
movq 0x4c8(%rsp), %rax
movq %rax, 0x5f8(%rsp)
movq %rax, 0x5f0(%rsp)
movq %rax, 0x5e8(%rsp)
movq %rax, 0x5e0(%rsp)
vmovq 0x5e8(%rsp), %xmm1
vmovq 0x5e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x5f8(%rsp), %xmm2
vmovq 0x5f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x5d0(%rsp)
vmovdqa %xmm0, 0x5c0(%rsp)
vmovaps 0x5c0(%rsp), %ymm0
vmovaps %ymm0, 0x340(%rsp)
movq 0x3b0(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4c0(%rsp), %rax
movq %rax, 0x638(%rsp)
movq %rax, 0x630(%rsp)
movq %rax, 0x628(%rsp)
movq %rax, 0x620(%rsp)
vmovq 0x628(%rsp), %xmm1
vmovq 0x620(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x638(%rsp), %xmm2
vmovq 0x630(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x610(%rsp)
vmovdqa %xmm0, 0x600(%rsp)
vmovaps 0x600(%rsp), %ymm0
vmovaps %ymm0, 0x320(%rsp)
vmovaps 0x320(%rsp), %ymm0
vmovaps %ymm0, 0x300(%rsp)
vmovaps 0x340(%rsp), %ymm0
vmovaps %ymm0, 0x2e0(%rsp)
vmovaps 0x340(%rsp), %ymm0
vmovaps %ymm0, 0x2c0(%rsp)
movslq 0x448(%rsp), %rax
movq %rax, 0x4b8(%rsp)
movq 0x4b8(%rsp), %rax
movq %rax, 0x678(%rsp)
movq %rax, 0x670(%rsp)
movq %rax, 0x668(%rsp)
movq %rax, 0x660(%rsp)
vmovq 0x668(%rsp), %xmm1
vmovq 0x660(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x678(%rsp), %xmm2
vmovq 0x670(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x650(%rsp)
vmovdqa %xmm0, 0x640(%rsp)
vmovaps 0x640(%rsp), %ymm1
movq $0x0, 0x778(%rsp)
movq $0x1, 0x770(%rsp)
movq $0x2, 0x768(%rsp)
movq $0x3, 0x760(%rsp)
vmovq 0x768(%rsp), %xmm2
vmovq 0x760(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm2[0]
vmovq 0x778(%rsp), %xmm3
vmovq 0x770(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovdqa %xmm2, 0x750(%rsp)
vmovdqa %xmm0, 0x740(%rsp)
vmovaps 0x740(%rsp), %ymm0
vmovaps %ymm1, 0x520(%rsp)
vmovaps %ymm0, 0x500(%rsp)
vmovaps 0x520(%rsp), %ymm0
vmovaps 0x500(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x2a0(%rsp)
vmovaps 0x380(%rsp), %ymm0
vmovaps %ymm0, 0x280(%rsp)
movq 0x3b8(%rsp), %rax
movq %rax, 0x280(%rsp)
vmovaps 0x280(%rsp), %ymm1
movl 0x450(%rsp), %eax
negl %eax
movl 0x47c(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x4b0(%rsp)
movq 0x4b0(%rsp), %rax
movq %rax, 0x6b8(%rsp)
movq %rax, 0x6b0(%rsp)
movq %rax, 0x6a8(%rsp)
movq %rax, 0x6a0(%rsp)
vmovq 0x6a8(%rsp), %xmm2
vmovq 0x6a0(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm2[0]
vmovq 0x6b8(%rsp), %xmm3
vmovq 0x6b0(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovdqa %xmm2, 0x690(%rsp)
vmovdqa %xmm0, 0x680(%rsp)
vmovaps 0x680(%rsp), %ymm0
movl 0x450(%rsp), %eax
negl %eax
movl 0x47c(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x4a8(%rsp)
movq 0x4a8(%rsp), %rax
movq %rax, 0x6f8(%rsp)
movq %rax, 0x6f0(%rsp)
movq %rax, 0x6e8(%rsp)
movq %rax, 0x6e0(%rsp)
vmovq 0x6e8(%rsp), %xmm3
vmovq 0x6e0(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovq 0x6f8(%rsp), %xmm4
vmovq 0x6f0(%rsp), %xmm3
vpunpcklqdq %xmm4, %xmm3, %xmm3 # xmm3 = xmm3[0],xmm4[0]
vmovdqa %xmm3, 0x6d0(%rsp)
vmovdqa %xmm2, 0x6c0(%rsp)
vmovaps 0x6c0(%rsp), %ymm3
movl 0x450(%rsp), %eax
negl %eax
movl 0x47c(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x4a0(%rsp)
movq 0x4a0(%rsp), %rax
movq %rax, 0x738(%rsp)
movq %rax, 0x730(%rsp)
movq %rax, 0x728(%rsp)
movq %rax, 0x720(%rsp)
vmovq 0x728(%rsp), %xmm4
vmovq 0x720(%rsp), %xmm2
vpunpcklqdq %xmm4, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm4[0]
vmovq 0x738(%rsp), %xmm5
vmovq 0x730(%rsp), %xmm4
vpunpcklqdq %xmm5, %xmm4, %xmm4 # xmm4 = xmm4[0],xmm5[0]
vmovdqa %xmm4, 0x710(%rsp)
vmovdqa %xmm2, 0x700(%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, 0x8e0(%rsp)
vmovdqa %ymm0, 0x8c0(%rsp)
vmovdqa 0x8e0(%rsp), %ymm0
vpaddq 0x8c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x260(%rsp)
movl 0x450(%rsp), %edi
imull 0x454(%rsp), %edi
movl 0x484(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x258(%rsp)
cmpq $0x0, 0x258(%rsp)
jne 0xac4c33
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
movq 0x258(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x4800402, %ecx        # imm = 0x4800402
movl %ecx, 0xc(%rax)
movl 0x478(%rsp), %edx
xorl %ecx, %ecx
movl $0x8, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x10(%rbp), %edx
xorl %ecx, %ecx
movl $0x10, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x18(%rbp), %edx
xorl %ecx, %ecx
movl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x20(%rbp), %edx
xorl %ecx, %ecx
movl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movq 0x258(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x450(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x438(%rsp)
movl 0x484(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x430(%rsp)
movslq 0x450(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x428(%rsp)
movslq 0x450(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x420(%rsp)
movslq 0x450(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x418(%rsp)
cmpq $0x0, 0x438(%rsp)
jne 0xac4d7a
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
cmpq $0x0, 0x430(%rsp)
jne 0xac4d96
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
cmpq $0x0, 0x428(%rsp)
jne 0xac4db2
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
cmpq $0x0, 0x420(%rsp)
jne 0xac4dce
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
cmpq $0x0, 0x418(%rsp)
jne 0xac4dea
movq $0x0, 0x498(%rsp)
jmp 0xac5f49
movl $0x0, 0x254(%rsp)
movl $0x0, 0x474(%rsp)
movl 0x474(%rsp), %eax
cmpl 0x450(%rsp), %eax
jge 0xac4fff
movl $0x0, 0x250(%rsp)
movl $0x0, 0x250(%rsp)
movl 0x250(%rsp), %eax
cmpl 0x454(%rsp), %eax
jge 0xac4f4c
cmpl $0x0, 0x478(%rsp)
je 0xac4e50
xorl %eax, %eax
movl %eax, 0x34(%rsp)
jmp 0xac4e7f
xorl %eax, %eax
subl 0x480(%rsp), %eax
movl 0x47c(%rsp), %ecx
movl 0x250(%rsp), %edx
imull 0x450(%rsp), %edx
addl 0x474(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
cltq
movq %rax, 0x1f8(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x1f8(%rsp)
jge 0xac4eb2
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x28(%rsp)
jmp 0xac4ebf
movq 0x1f8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rcx
movslq 0x250(%rsp), %rax
movq %rcx, 0x220(%rsp,%rax,8)
movq 0x1f8(%rsp), %rax
movslq 0x480(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x1f8(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x1f8(%rsp)
jge 0xac4f14
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x20(%rsp)
jmp 0xac4f21
movq 0x1f8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rcx
movslq 0x250(%rsp), %rax
movq %rcx, 0x200(%rsp,%rax,8)
movl 0x250(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x250(%rsp)
jmp 0xac4e2a
movq 0x420(%rsp), %rax
movslq 0x254(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x220(%rsp), %ymm0
movq %rax, 0xa78(%rsp)
vmovdqa %ymm0, 0xa40(%rsp)
vmovdqa 0xa40(%rsp), %ymm0
movq 0xa78(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x438(%rsp), %rax
movslq 0x254(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x200(%rsp), %ymm0
movq %rax, 0xa38(%rsp)
vmovdqa %ymm0, 0xa00(%rsp)
vmovdqa 0xa00(%rsp), %ymm0
movq 0xa38(%rsp), %rax
vmovdqa %ymm0, (%rax)
movl 0x254(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x254(%rsp)
movl 0x474(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x474(%rsp)
jmp 0xac4e00
movq 0x430(%rsp), %rax
movq $0x0, (%rax)
movl $0x1, 0x474(%rsp)
movl 0x474(%rsp), %eax
cmpl 0x484(%rsp), %eax
jg 0xac50cd
cmpl $0x0, 0x18(%rbp)
je 0xac503b
xorl %eax, %eax
movl %eax, 0x1c(%rsp)
jmp 0xac505e
xorl %eax, %eax
subl 0x480(%rsp), %eax
movl 0x47c(%rsp), %ecx
movl 0x474(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
cltq
movq %rax, 0x1f0(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, 0x1f0(%rsp)
jge 0xac5091
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x10(%rsp)
jmp 0xac509e
movq 0x1f0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rdx
movq 0x430(%rsp), %rax
movslq 0x474(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x474(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x474(%rsp)
jmp 0xac5019
vmovdqa 0x380(%rsp), %ymm1
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm1, 0xc20(%rsp)
vmovdqa %ymm0, 0xc00(%rsp)
vmovdqa 0xc20(%rsp), %ymm0
vpsubq 0xc00(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
movl 0x450(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x474(%rsp)
cmpl $0x0, 0x474(%rsp)
jl 0xac51e6
movq 0x418(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1c0(%rsp), %ymm0
movq %rax, 0x9f8(%rsp)
vmovdqa %ymm0, 0x9c0(%rsp)
vmovdqa 0x9c0(%rsp), %ymm0
movq 0x9f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x1c0(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0xbe0(%rsp)
vmovdqa %ymm0, 0xbc0(%rsp)
vmovdqa 0xbe0(%rsp), %ymm0
vpsubq 0xbc0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
vmovdqa 0x300(%rsp), %ymm0
vmovdqa 0x1c0(%rsp), %ymm1
callq 0xac5f60
vmovdqa %ymm0, 0x300(%rsp)
movl 0x474(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x474(%rsp)
jmp 0xac511d
movl $0x0, 0x470(%rsp)
movl 0x470(%rsp), %eax
cmpl 0x484(%rsp), %eax
jge 0xac5ada
movq 0x420(%rsp), %rax
movl 0x450(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc78(%rsp)
movq 0xc78(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x120(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x120(%rsp), %ymm0
movq 0x430(%rsp), %rax
movslq 0x470(%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, 0x120(%rsp)
movq 0x440(%rsp), %rax
movq 0x458(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x488(%rsp), %rdx
movslq 0x470(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x450(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x118(%rsp)
vmovdqa 0x340(%rsp), %ymm1
movq 0x418(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0xba0(%rsp)
vmovdqa %ymm0, 0xb80(%rsp)
vmovdqa 0xba0(%rsp), %ymm0
vpsubq 0xb80(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movl $0x0, 0x474(%rsp)
movl 0x474(%rsp), %eax
cmpl 0x450(%rsp), %eax
jge 0xac55d0
movq 0x420(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc70(%rsp)
movq 0xc70(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x140(%rsp)
movq 0x438(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc68(%rsp)
movq 0xc68(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
movq 0x118(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc60(%rsp)
movq 0xc60(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0xb60(%rsp)
vmovdqa %ymm0, 0xb40(%rsp)
vmovdqa 0xb60(%rsp), %ymm0
vpsubq 0xb40(%rsp), %ymm0, %ymm0
vmovdqa 0x140(%rsp), %ymm2
vmovdqa 0x3e0(%rsp), %ymm1
vmovdqa %ymm2, 0xb20(%rsp)
vmovdqa %ymm1, 0xb00(%rsp)
vmovdqa 0xb20(%rsp), %ymm1
vpsubq 0xb00(%rsp), %ymm1, %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm1, 0x8a0(%rsp)
vmovdqa %ymm0, 0x880(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
vpaddq 0x880(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x160(%rsp), %ymm0
vmovdqa 0x180(%rsp), %ymm2
movq 0x418(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa (%rax), %ymm1
vmovdqa %ymm2, 0x860(%rsp)
vmovdqa %ymm1, 0x840(%rsp)
vmovdqa 0x860(%rsp), %ymm1
vpaddq 0x840(%rsp), %ymm1, %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0x1a0(%rsp), %ymm0
vmovdqa 0x120(%rsp), %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x180(%rsp)
movq 0x438(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1a0(%rsp), %ymm0
movq %rax, 0x9b8(%rsp)
vmovdqa %ymm0, 0x980(%rsp)
vmovdqa 0x980(%rsp), %ymm0
movq 0x9b8(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x428(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x180(%rsp), %ymm0
movq %rax, 0x978(%rsp)
vmovdqa %ymm0, 0x940(%rsp)
vmovdqa 0x940(%rsp), %ymm0
movq 0x978(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x140(%rsp), %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl 0x474(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x474(%rsp)
jmp 0xac5334
vmovaps 0x180(%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, 0x180(%rsp)
vmovaps 0x180(%rsp), %ymm0
movq 0x430(%rsp), %rax
movslq 0x470(%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, 0x180(%rsp)
vmovdqa 0x160(%rsp), %ymm0
vmovdqa 0x180(%rsp), %ymm2
movq 0x418(%rsp), %rax
vmovdqa (%rax), %ymm1
vmovdqa %ymm2, 0x820(%rsp)
vmovdqa %ymm1, 0x800(%rsp)
vmovdqa 0x820(%rsp), %ymm1
vpaddq 0x800(%rsp), %ymm1, %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x160(%rsp)
movl $0x0, 0x474(%rsp)
movl 0x474(%rsp), %eax
movl 0x454(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0xac572f
vmovaps 0x160(%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, 0xc0(%rsp)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0x260(%rsp), %ymm0
vmovdqa %ymm1, 0x7e0(%rsp)
vmovdqa %ymm0, 0x7c0(%rsp)
vmovdqa 0x7e0(%rsp), %ymm0
vpaddq 0x7c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x160(%rsp), %ymm0
vmovdqa 0xc0(%rsp), %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x160(%rsp)
movl 0x474(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x474(%rsp)
jmp 0xac567f
vmovaps 0x160(%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, 0x160(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x280(%rsp), %ymm0
vmovdqa %ymm1, 0x7a0(%rsp)
vmovdqa %ymm0, 0x780(%rsp)
vmovdqa 0x7a0(%rsp), %ymm0
vpaddq 0x780(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0x180(%rsp), %ymm0
vmovdqa 0x160(%rsp), %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x140(%rsp)
movl $0x0, 0x474(%rsp)
movl 0x474(%rsp), %eax
cmpl 0x450(%rsp), %eax
jge 0xac5959
movq 0x428(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc58(%rsp)
movq 0xc58(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0xae0(%rsp)
vmovdqa %ymm0, 0xac0(%rsp)
vmovdqa 0xae0(%rsp), %ymm0
vpsubq 0xac0(%rsp), %ymm0, %ymm0
vmovdqa 0x140(%rsp), %ymm2
vmovdqa 0x3e0(%rsp), %ymm1
vmovdqa %ymm2, 0xaa0(%rsp)
vmovdqa %ymm1, 0xa80(%rsp)
vmovdqa 0xaa0(%rsp), %ymm1
vpsubq 0xa80(%rsp), %ymm1, %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0x180(%rsp), %ymm0
vmovdqa 0x160(%rsp), %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x140(%rsp)
movq 0x420(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x140(%rsp), %ymm0
movq %rax, 0x938(%rsp)
vmovdqa %ymm0, 0x900(%rsp)
vmovdqa 0x900(%rsp), %ymm0
movq 0x938(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x300(%rsp), %ymm0
vmovdqa 0x140(%rsp), %ymm1
callq 0xac5f60
vmovdqa %ymm0, 0x300(%rsp)
vmovdqa 0x300(%rsp), %ymm0
vmovdqa 0x160(%rsp), %ymm1
callq 0xac5f60
vmovdqa %ymm0, 0x300(%rsp)
vmovdqa 0x2e0(%rsp), %ymm0
vmovdqa 0x140(%rsp), %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x2e0(%rsp)
movl 0x474(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x474(%rsp)
jmp 0xac57bb
movq 0x420(%rsp), %rax
movslq 0x44c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc50(%rsp)
movq 0xc50(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x140(%rsp)
vmovaps 0x2a0(%rsp), %ymm1
vmovaps 0x140(%rsp), %ymm2
vmovaps 0x2c0(%rsp), %ymm0
vmovaps %ymm2, 0xd60(%rsp)
vmovaps %ymm0, 0xd40(%rsp)
vmovaps 0xd60(%rsp), %ymm0
vmovaps 0xd40(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xca0(%rsp)
vmovdqa %ymm0, 0xc80(%rsp)
vmovdqa 0xca0(%rsp), %ymm0
vpand 0xc80(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0x140(%rsp), %ymm0
vmovdqa 0x2c0(%rsp), %ymm1
callq 0xac6060
vmovdqa %ymm0, 0x2c0(%rsp)
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm0, 0xda0(%rsp)
vmovdqa 0xda0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xac5a50
movl 0x470(%rsp), %eax
movl %eax, 0x464(%rsp)
movl $0x0, 0x46c(%rsp)
movl 0x46c(%rsp), %eax
cmpl 0x448(%rsp), %eax
jge 0xac5aa0
vmovaps 0x140(%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, 0x140(%rsp)
movl 0x46c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x46c(%rsp)
jmp 0xac5a5b
movq 0x158(%rsp), %rax
movl %eax, %edx
movq 0x258(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x470(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x470(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x470(%rsp)
jmp 0xac51f1
movl $0x0, 0x474(%rsp)
movl 0x474(%rsp), %eax
cmpl 0x450(%rsp), %eax
jge 0xac5b6b
movq 0x420(%rsp), %rax
movslq 0x474(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc48(%rsp)
movq 0xc48(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x80(%rsp)
movq 0x258(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0x80(%rsp), %ymm0
movl 0x474(%rsp), %esi
movl 0x450(%rsp), %edx
callq 0xac6160
movl 0x474(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x474(%rsp)
jmp 0xac5ae5
cmpl $0x0, 0x20(%rbp)
je 0xac5be2
movl $0x0, 0x46c(%rsp)
movl 0x46c(%rsp), %eax
cmpl 0x448(%rsp), %eax
jge 0xac5bc1
vmovaps 0x2c0(%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, 0x2c0(%rsp)
movl 0x46c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x46c(%rsp)
jmp 0xac5b7c
movq 0x2d8(%rsp), %rax
movq %rax, 0x378(%rsp)
movl 0x460(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x468(%rsp)
cmpl $0x0, 0x10(%rbp)
je 0xac5d17
movq 0x420(%rsp), %rax
movq %rax, 0x78(%rsp)
movl 0x450(%rsp), %eax
imull 0x454(%rsp), %eax
movl %eax, 0x74(%rsp)
movl $0x0, 0x474(%rsp)
movl 0x474(%rsp), %eax
cmpl 0x74(%rsp), %eax
jge 0xac5d15
movl 0x474(%rsp), %eax
cltd
idivl 0x454(%rsp)
movl %eax, 0xc(%rsp)
movl 0x474(%rsp), %eax
cltd
idivl 0x454(%rsp)
movl 0xc(%rsp), %eax
imull 0x450(%rsp), %edx
addl %edx, %eax
movl %eax, 0x70(%rsp)
movl 0x70(%rsp), %eax
cmpl 0x460(%rsp), %eax
jl 0xac5c6e
jmp 0xac5cf1
movq 0x78(%rsp), %rax
movq (%rax), %rax
cmpq 0x378(%rsp), %rax
jle 0xac5cae
movq 0x78(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x378(%rsp)
movl 0x70(%rsp), %eax
movl %eax, 0x468(%rsp)
movl 0x484(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xac5cef
movq 0x78(%rsp), %rax
movq (%rax), %rax
cmpq 0x378(%rsp), %rax
jne 0xac5ced
movl 0x464(%rsp), %eax
movl 0x484(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0xac5ced
movl 0x70(%rsp), %eax
cmpl 0x468(%rsp), %eax
jge 0xac5ced
movl 0x70(%rsp), %eax
movl %eax, 0x468(%rsp)
jmp 0xac5cef
jmp 0xac5cf1
movl 0x474(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x474(%rsp)
movq 0x78(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x78(%rsp)
jmp 0xac5c17
jmp 0xac5d17
cmpl $0x0, 0x10(%rbp)
jne 0xac5dd5
cmpl $0x0, 0x20(%rbp)
jne 0xac5dd5
movq 0x420(%rsp), %rax
movslq 0x44c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xc40(%rsp)
movq 0xc40(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x40(%rsp)
movl $0x0, 0x46c(%rsp)
movl 0x46c(%rsp), %eax
cmpl 0x448(%rsp), %eax
jge 0xac5da6
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 0x46c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x46c(%rsp)
jmp 0xac5d67
movq 0x58(%rsp), %rax
movq %rax, 0x378(%rsp)
movl 0x484(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x464(%rsp)
movl 0x460(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x468(%rsp)
vmovaps 0x340(%rsp), %ymm1
vmovaps 0x300(%rsp), %ymm0
vmovaps %ymm1, 0xd20(%rsp)
vmovaps %ymm0, 0xd00(%rsp)
vmovaps 0xd20(%rsp), %ymm0
vmovaps 0xd00(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x2e0(%rsp), %ymm2
vmovaps 0x320(%rsp), %ymm0
vmovaps %ymm2, 0xce0(%rsp)
vmovaps %ymm0, 0xcc0(%rsp)
vmovaps 0xce0(%rsp), %ymm0
vmovaps 0xcc0(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xde0(%rsp)
vmovdqa %ymm0, 0xdc0(%rsp)
vmovdqa 0xde0(%rsp), %ymm0
vpor 0xdc0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xd80(%rsp)
vmovdqa 0xd80(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xac5ebd
movq 0x258(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, 0x378(%rsp)
movl $0x0, 0x468(%rsp)
movl $0x0, 0x464(%rsp)
movq 0x378(%rsp), %rax
movl %eax, %ecx
movq 0x258(%rsp), %rax
movl %ecx, (%rax)
movl 0x468(%rsp), %ecx
movq 0x258(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x464(%rsp), %ecx
movq 0x258(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x418(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x420(%rsp), %rdi
callq 0x1c3590
movq 0x428(%rsp), %rdi
callq 0x1c3590
movq 0x430(%rsp), %rdi
callq 0x1c3590
movq 0x438(%rsp), %rdi
callq 0x1c3590
movq 0x258(%rsp), %rax
movq %rax, 0x498(%rsp)
movq 0x498(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)