// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sg_striped_sse2_128_64.c
// Function: parasail_sg_flags_rowcol_striped_profile_sse2_128_64
parasail_result_t* PNAME(
        const parasail_profile_t * const restrict profile,
        const char * const restrict s2, const int s2Len,
        const int open, const int gap,
        int s1_beg, int s1_end, int s2_beg, int s2_end)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t k = 0;
    int32_t s1Len = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
    int32_t offset = 0;
    int32_t position = 0;
    __m128i* restrict vProfile = NULL;
    __m128i* restrict pvHStore = NULL;
    __m128i* restrict pvHLoad = NULL;
    __m128i* restrict pvE = NULL;
    int64_t* restrict boundary = NULL;
    __m128i vGapO;
    __m128i vGapE;
    int64_t NEG_LIMIT = 0;
    int64_t POS_LIMIT = 0;
    int64_t score = 0;
    __m128i vNegLimit;
    __m128i vPosLimit;
    __m128i vSaturationCheckMin;
    __m128i vSaturationCheckMax;
    __m128i vMaxH;
    __m128i vPosMask;
    parasail_result_t *result = NULL;

    /* validate inputs */
    PARASAIL_CHECK_NULL(profile);
    PARASAIL_CHECK_NULL(profile->profile64.score);
    PARASAIL_CHECK_NULL(profile->matrix);
    PARASAIL_CHECK_GT0(profile->s1Len);
    PARASAIL_CHECK_NULL(s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);

    /* initialize stack variables */
    i = 0;
    j = 0;
    k = 0;
    s1Len = profile->s1Len;
    end_query = s1Len-1;
    end_ref = s2Len-1;
    matrix = profile->matrix;
    segWidth = 2; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
    vProfile = (__m128i*)profile->profile64.score;
    vGapO = _mm_set1_epi64x_rpl(open);
    vGapE = _mm_set1_epi64x_rpl(gap);
    NEG_LIMIT = (-open < matrix->min ? INT64_MIN + open : INT64_MIN - matrix->min) + 1;
    POS_LIMIT = INT64_MAX - matrix->max - 1;
    score = NEG_LIMIT;
    vNegLimit = _mm_set1_epi64x_rpl(NEG_LIMIT);
    vPosLimit = _mm_set1_epi64x_rpl(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vPosMask = _mm_cmpeq_epi64_rpl(_mm_set1_epi64x_rpl(position),
            _mm_set_epi64x_rpl(0,1));

    /* initialize result */
#ifdef PARASAIL_TABLE
    result = parasail_result_new_table1(segLen*segWidth, s2Len);
#else
#ifdef PARASAIL_ROWCOL
    result = parasail_result_new_rowcol1(segLen*segWidth, s2Len);
#else
    result = parasail_result_new();
#endif
#endif
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SG | PARASAIL_FLAG_STRIPED
        | PARASAIL_FLAG_BITS_64 | PARASAIL_FLAG_LANES_2;
    result->flag |= s1_beg ? PARASAIL_FLAG_SG_S1_BEG : 0;
    result->flag |= s1_end ? PARASAIL_FLAG_SG_S1_END : 0;
    result->flag |= s2_beg ? PARASAIL_FLAG_SG_S2_BEG : 0;
    result->flag |= s2_end ? PARASAIL_FLAG_SG_S2_END : 0;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    pvHStore = parasail_memalign___m128i(16, segLen);
    pvHLoad =  parasail_memalign___m128i(16, segLen);
    pvE      = parasail_memalign___m128i(16, segLen);
    boundary = parasail_memalign_int64_t(16, s2Len+1);

    /* validate heap variables */
    if (!pvHStore) return NULL;
    if (!pvHLoad) return NULL;
    if (!pvE) return NULL;
    if (!boundary) return NULL;

    /* initialize H and E */
    {
        int32_t index = 0;
        for (i=0; i<segLen; ++i) {
            int32_t segNum = 0;
            __m128i_64_t h;
            __m128i_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;
            }
            _mm_store_si128(&pvHStore[index], h.m);
            _mm_store_si128(&pvE[index], e.m);
            ++index;
        }
    }

    /* initialize uppder boundary */
    {
        boundary[0] = 0;
        for (i=1; i<=s2Len; ++i) {
            int64_t tmp = s2_beg ? 0 : (-open-gap*(i-1));
            boundary[i] = tmp < INT64_MIN ? INT64_MIN : tmp;
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vE;
        /* Initialize F value to -inf.  Any errors to vH values will be
         * corrected in the Lazy_F loop.  */
        __m128i vF = vNegLimit;

        /* load final segment of pvHStore and shift left by 2 bytes */
        __m128i vH = _mm_slli_si128(pvHStore[segLen - 1], 8);

        /* Correct part of the vProfile */
        const __m128i* vP = vProfile + matrix->mapper[(unsigned char)s2[j]] * segLen;

        /* Swap the 2 H buffers. */
        __m128i* pv = pvHLoad;
        pvHLoad = pvHStore;
        pvHStore = pv;

        /* insert upper boundary condition */
        vH = _mm_insert_epi64_rpl(vH, boundary[j], 0);

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

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

            /* Update vE value. */
            vH = _mm_sub_epi64(vH, vGapO);
            vE = _mm_sub_epi64(vE, vGapE);
            vE = _mm_max_epi64_rpl(vE, vH);
            _mm_store_si128(pvE + i, vE);

            /* Update vF value. */
            vF = _mm_sub_epi64(vF, vGapE);
            vF = _mm_max_epi64_rpl(vF, vH);

            /* Load the next vH. */
            vH = _mm_load_si128(pvHLoad + i);
        }

        /* Lazy_F loop: has been revised to disallow adjecent insertion and
         * then deletion, so don't update E(i, i), learn from SWPS3 */
        for (k=0; k<segWidth; ++k) {
            int64_t tmp = s2_beg ? -open : (boundary[j+1]-open);
            int64_t tmp2 = tmp < INT64_MIN ? INT64_MIN : tmp;
            vF = _mm_slli_si128(vF, 8);
            vF = _mm_insert_epi64_rpl(vF, tmp2, 0);
            for (i=0; i<segLen; ++i) {
                vH = _mm_load_si128(pvHStore + i);
                vH = _mm_max_epi64_rpl(vH,vF);
                _mm_store_si128(pvHStore + i, vH);
                vSaturationCheckMin = _mm_min_epi64_rpl(vSaturationCheckMin, vH);
                vSaturationCheckMax = _mm_max_epi64_rpl(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
                arr_store_si128(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
                vH = _mm_sub_epi64(vH, vGapO);
                vF = _mm_sub_epi64(vF, vGapE);
                if (! _mm_movemask_epi8(_mm_cmpgt_epi64_rpl(vF, vH))) goto end;
                /*vF = _mm_max_epi64_rpl(vF, vH);*/
            }
        }
end:
        {
            /* extract vector containing last value from the column */
            __m128i vCompare;
            vH = _mm_load_si128(pvHStore + offset);
            vCompare = _mm_and_si128(vPosMask, _mm_cmpgt_epi64_rpl(vH, vMaxH));
            vMaxH = _mm_max_epi64_rpl(vH, vMaxH);
            if (_mm_movemask_epi8(vCompare)) {
                end_ref = j;
            }
#ifdef PARASAIL_ROWCOL
            for (k=0; k<position; ++k) {
                vH = _mm_slli_si128(vH, 8);
            }
            result->rowcols->score_row[j] = (int64_t) _mm_extract_epi64_rpl (vH, 1);
#endif
        }
    }

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

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

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

    if (!s1_end && !s2_end) {
        /* extract last value from the last column */
        {
            __m128i vH = _mm_load_si128(pvHStore + offset);
            for (k=0; k<position; ++k) {
                vH = _mm_slli_si128(vH, 8);
            }
            score = (int64_t) _mm_extract_epi64_rpl (vH, 1);
            end_ref = s2Len - 1;
            end_query = s1Len - 1;
        }
    }

    if (_mm_movemask_epi8(_mm_or_si128(
            _mm_cmplt_epi64_rpl(vSaturationCheckMin, vNegLimit),
            _mm_cmpgt_epi64_rpl(vSaturationCheckMax, vPosLimit)))) {
        result->flag |= PARASAIL_FLAG_SATURATED;
        score = 0;
        end_query = 0;
        end_ref = 0;
    }

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

    parasail_free(boundary);
    parasail_free(pvE);
    parasail_free(pvHLoad);
    parasail_free(pvHStore);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x560, %rsp            # imm = 0x560
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x308(%rbp)
movq %rsi, -0x310(%rbp)
movl %edx, -0x314(%rbp)
movl %ecx, -0x318(%rbp)
movl %r8d, -0x31c(%rbp)
movl %r9d, -0x320(%rbp)
movl $0x0, -0x324(%rbp)
movl $0x0, -0x328(%rbp)
movl $0x0, -0x32c(%rbp)
movl $0x0, -0x330(%rbp)
movl $0x0, -0x334(%rbp)
movl $0x0, -0x338(%rbp)
movq $0x0, -0x340(%rbp)
movl $0x0, -0x344(%rbp)
movl $0x0, -0x348(%rbp)
movl $0x0, -0x34c(%rbp)
movl $0x0, -0x350(%rbp)
movq $0x0, -0x358(%rbp)
movq $0x0, -0x360(%rbp)
movq $0x0, -0x368(%rbp)
movq $0x0, -0x370(%rbp)
movq $0x0, -0x378(%rbp)
movq $0x0, -0x3a8(%rbp)
movq $0x0, -0x3b0(%rbp)
movq $0x0, -0x3b8(%rbp)
movq $0x0, -0x428(%rbp)
cmpq $0x0, -0x308(%rbp)
jne 0x492d6e
movq 0x994299(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x8592a2(%rip), %rsi    # 0xcebfeb
leaq 0x85ae9c(%rip), %rdx    # 0xcedbec
leaq 0x82f786(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492d70
jmp 0x492d72
movq -0x308(%rbp), %rax
cmpq $0x0, 0x60(%rax)
jne 0x492db6
movq 0x994251(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x85925a(%rip), %rsi    # 0xcebfeb
leaq 0x85ae54(%rip), %rdx    # 0xcedbec
leaq 0x859b64(%rip), %rcx    # 0xcec903
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492db8
jmp 0x492dba
movq -0x308(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x492dfe
movq 0x994209(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x859212(%rip), %rsi    # 0xcebfeb
leaq 0x85ae0c(%rip), %rdx    # 0xcedbec
leaq 0x859b35(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492e00
jmp 0x492e02
movq -0x308(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jg 0x492e45
movq 0x9941c2(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x8598e1(%rip), %rsi    # 0xcec701
leaq 0x85adc5(%rip), %rdx    # 0xcedbec
leaq 0x859afe(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492e47
jmp 0x492e49
cmpq $0x0, -0x310(%rbp)
jne 0x492e89
movq 0x99417e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x859187(%rip), %rsi    # 0xcebfeb
leaq 0x85ad81(%rip), %rdx    # 0xcedbec
leaq 0x85988c(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492e8b
jmp 0x492e8d
cmpl $0x0, -0x314(%rbp)
jg 0x492ecc
movq 0x99413b(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x85985a(%rip), %rsi    # 0xcec701
leaq 0x85ad3e(%rip), %rdx    # 0xcedbec
leaq 0x859860(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492ece
jmp 0x492ed0
cmpl $0x0, -0x318(%rbp)
jge 0x492f0f
movq 0x9940f8(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x859831(%rip), %rsi    # 0xcec71b
leaq 0x85acfb(%rip), %rdx    # 0xcedbec
leaq 0x859838(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492f11
jmp 0x492f13
cmpl $0x0, -0x31c(%rbp)
jge 0x492f52
movq 0x9940b5(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x8597ee(%rip), %rsi    # 0xcec71b
leaq 0x85acb8(%rip), %rdx    # 0xcedbec
leaq 0x8597fa(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x300(%rbp)
jmp 0x49426d
jmp 0x492f54
movl $0x0, -0x324(%rbp)
movl $0x0, -0x328(%rbp)
movl $0x0, -0x32c(%rbp)
movq -0x308(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x330(%rbp)
movl -0x330(%rbp), %eax
decl %eax
movl %eax, -0x334(%rbp)
movl -0x314(%rbp), %eax
decl %eax
movl %eax, -0x338(%rbp)
movq -0x308(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x340(%rbp)
movl $0x2, -0x344(%rbp)
movl -0x330(%rbp), %esi
movl -0x344(%rbp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, -0x348(%rbp)
movl -0x330(%rbp), %eax
decl %eax
movl -0x348(%rbp), %ecx
cltd
idivl %ecx
movl %edx, -0x34c(%rbp)
movl -0x344(%rbp), %ecx
movl -0x330(%rbp), %eax
decl %eax
movl -0x348(%rbp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, -0x350(%rbp)
movq -0x308(%rbp), %rax
movq 0x60(%rax), %rax
movq %rax, -0x358(%rbp)
movslq -0x318(%rbp), %rax
movq %rax, -0x2d8(%rbp)
movq -0x2d8(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq %rax, -0x2c0(%rbp)
movq -0x2b8(%rbp), %xmm1
movq -0x2c0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x2d0(%rbp)
movaps -0x2d0(%rbp), %xmm0
movaps %xmm0, -0x390(%rbp)
movslq -0x31c(%rbp), %rax
movq %rax, -0x2e0(%rbp)
movq -0x2e0(%rbp), %rax
movq %rax, -0x298(%rbp)
movq %rax, -0x2a0(%rbp)
movq -0x298(%rbp), %xmm1
movq -0x2a0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x2b0(%rbp)
movdqa -0x2b0(%rbp), %xmm0
movdqa %xmm0, -0x3a0(%rbp)
xorl %eax, %eax
subl -0x318(%rbp), %eax
movq -0x340(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x4930ed
movslq -0x318(%rbp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, -0x4f8(%rbp)
jmp 0x49310c
movq -0x340(%rbp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
incq %rax
movq %rax, -0x3a8(%rbp)
movq -0x340(%rbp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, -0x3b0(%rbp)
movq -0x3a8(%rbp), %rax
movq %rax, -0x3b8(%rbp)
movq -0x3a8(%rbp), %rax
movq %rax, -0x2e8(%rbp)
movq -0x2e8(%rbp), %rax
movq %rax, -0x278(%rbp)
movq %rax, -0x280(%rbp)
movq -0x278(%rbp), %xmm1
movq -0x280(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x290(%rbp)
movaps -0x290(%rbp), %xmm0
movaps %xmm0, -0x3d0(%rbp)
movq -0x3b0(%rbp), %rax
movq %rax, -0x2f0(%rbp)
movq -0x2f0(%rbp), %rax
movq %rax, -0x258(%rbp)
movq %rax, -0x260(%rbp)
movq -0x258(%rbp), %xmm1
movq -0x260(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x270(%rbp)
movaps -0x270(%rbp), %xmm0
movaps %xmm0, -0x3e0(%rbp)
movaps -0x3e0(%rbp), %xmm0
movaps %xmm0, -0x3f0(%rbp)
movaps -0x3d0(%rbp), %xmm0
movaps %xmm0, -0x400(%rbp)
movaps -0x3d0(%rbp), %xmm0
movaps %xmm0, -0x410(%rbp)
movslq -0x350(%rbp), %rax
movq %rax, -0x2f8(%rbp)
movq -0x2f8(%rbp), %rax
movq %rax, -0x238(%rbp)
movq %rax, -0x240(%rbp)
movq -0x238(%rbp), %xmm1
movq -0x240(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x250(%rbp)
movaps -0x250(%rbp), %xmm0
movq $0x0, -0x218(%rbp)
movq $0x1, -0x220(%rbp)
movq -0x218(%rbp), %xmm2
movq -0x220(%rbp), %xmm1
punpcklqdq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0]
movdqa %xmm1, -0x230(%rbp)
movdqa -0x230(%rbp), %xmm1
callq 0x494280
movdqa %xmm0, -0x420(%rbp)
movl -0x348(%rbp), %edi
imull -0x344(%rbp), %edi
movl -0x314(%rbp), %esi
callq 0x1c3af0
movq %rax, -0x428(%rbp)
cmpq $0x0, -0x428(%rbp)
jne 0x4932d1
movq $0x0, -0x300(%rbp)
jmp 0x49426d
movq -0x428(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x2800802, %ecx        # imm = 0x2800802
movl %ecx, 0xc(%rax)
movl -0x320(%rbp), %edx
xorl %ecx, %ecx
movl $0x8, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq -0x428(%rbp), %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 -0x428(%rbp), %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 -0x428(%rbp), %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 -0x428(%rbp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movq -0x428(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq -0x348(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x360(%rbp)
movslq -0x348(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x368(%rbp)
movslq -0x348(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x370(%rbp)
movl -0x314(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3690
movq %rax, -0x378(%rbp)
cmpq $0x0, -0x360(%rbp)
jne 0x4933ed
movq $0x0, -0x300(%rbp)
jmp 0x49426d
cmpq $0x0, -0x368(%rbp)
jne 0x493407
movq $0x0, -0x300(%rbp)
jmp 0x49426d
cmpq $0x0, -0x370(%rbp)
jne 0x493421
movq $0x0, -0x300(%rbp)
jmp 0x49426d
cmpq $0x0, -0x378(%rbp)
jne 0x49343b
movq $0x0, -0x300(%rbp)
jmp 0x49426d
movl $0x0, -0x42c(%rbp)
movl $0x0, -0x324(%rbp)
movl -0x324(%rbp), %eax
cmpl -0x348(%rbp), %eax
jge 0x493636
movl $0x0, -0x430(%rbp)
movl $0x0, -0x430(%rbp)
movl -0x430(%rbp), %eax
cmpl -0x344(%rbp), %eax
jge 0x493595
cmpl $0x0, -0x320(%rbp)
je 0x49349a
xorl %eax, %eax
movl %eax, -0x4fc(%rbp)
jmp 0x4934c6
xorl %eax, %eax
subl -0x318(%rbp), %eax
movl -0x31c(%rbp), %ecx
movl -0x430(%rbp), %edx
imull -0x348(%rbp), %edx
addl -0x324(%rbp), %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, -0x4fc(%rbp)
movl -0x4fc(%rbp), %eax
cltq
movq %rax, -0x458(%rbp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, -0x458(%rbp)
jge 0x4934fb
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, -0x508(%rbp)
jmp 0x493509
movq -0x458(%rbp), %rax
movq %rax, -0x508(%rbp)
movq -0x508(%rbp), %rcx
movslq -0x430(%rbp), %rax
movq %rcx, -0x440(%rbp,%rax,8)
movq -0x458(%rbp), %rax
movslq -0x318(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x458(%rbp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, -0x458(%rbp)
jge 0x49355d
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, -0x510(%rbp)
jmp 0x49356b
movq -0x458(%rbp), %rax
movq %rax, -0x510(%rbp)
movq -0x510(%rbp), %rcx
movslq -0x430(%rbp), %rax
movq %rcx, -0x450(%rbp,%rax,8)
movl -0x430(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x430(%rbp)
jmp 0x493475
movq -0x360(%rbp), %rax
movslq -0x42c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x440(%rbp), %xmm0
movq %rax, -0x178(%rbp)
movdqa %xmm0, -0x190(%rbp)
movdqa -0x190(%rbp), %xmm0
movq -0x178(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x370(%rbp), %rax
movslq -0x42c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x450(%rbp), %xmm0
movq %rax, -0x198(%rbp)
movdqa %xmm0, -0x1b0(%rbp)
movdqa -0x1b0(%rbp), %xmm0
movq -0x198(%rbp), %rax
movdqa %xmm0, (%rax)
movl -0x42c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x42c(%rbp)
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x49344f
movq -0x378(%rbp), %rax
movq $0x0, (%rax)
movl $0x1, -0x324(%rbp)
movl -0x324(%rbp), %eax
cmpl -0x314(%rbp), %eax
jg 0x493702
cmpl $0x0, 0x18(%rbp)
je 0x493670
xorl %eax, %eax
movl %eax, -0x514(%rbp)
jmp 0x493692
xorl %eax, %eax
subl -0x318(%rbp), %eax
movl -0x31c(%rbp), %ecx
movl -0x324(%rbp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, -0x514(%rbp)
movl -0x514(%rbp), %eax
cltq
movq %rax, -0x460(%rbp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, -0x460(%rbp)
jge 0x4936c7
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, -0x520(%rbp)
jmp 0x4936d5
movq -0x460(%rbp), %rax
movq %rax, -0x520(%rbp)
movq -0x520(%rbp), %rdx
movq -0x378(%rbp), %rax
movslq -0x324(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x49364e
movl $0x0, -0x328(%rbp)
movl -0x328(%rbp), %eax
cmpl -0x314(%rbp), %eax
jge 0x493e91
movaps -0x3d0(%rbp), %xmm0
movaps %xmm0, -0x480(%rbp)
movq -0x360(%rbp), %rax
movl -0x348(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
movaps (%rax,%rcx), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movdqa %xmm0, -0x490(%rbp)
movq -0x358(%rbp), %rax
movq -0x340(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x310(%rbp), %rdx
movslq -0x328(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull -0x348(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x498(%rbp)
movq -0x368(%rbp), %rax
movq %rax, -0x4a0(%rbp)
movq -0x360(%rbp), %rax
movq %rax, -0x368(%rbp)
movq -0x4a0(%rbp), %rax
movq %rax, -0x360(%rbp)
movdqa -0x490(%rbp), %xmm0
movq -0x378(%rbp), %rax
movslq -0x328(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %esi, %esi
callq 0x4942f0
movdqa %xmm0, -0x490(%rbp)
movl $0x0, -0x324(%rbp)
movl -0x324(%rbp), %eax
cmpl -0x348(%rbp), %eax
jge 0x493ad2
movdqa -0x490(%rbp), %xmm1
movq -0x498(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x118(%rbp)
movq -0x118(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm1, -0x160(%rbp)
movdqa %xmm0, -0x170(%rbp)
movdqa -0x160(%rbp), %xmm0
paddq -0x170(%rbp), %xmm0
movdqa %xmm0, -0x490(%rbp)
movq -0x370(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x120(%rbp)
movq -0x120(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x470(%rbp)
movdqa -0x490(%rbp), %xmm0
movdqa -0x470(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x490(%rbp)
movdqa -0x490(%rbp), %xmm0
movdqa -0x480(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x490(%rbp)
movq -0x360(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x490(%rbp), %xmm0
movq %rax, -0x1b8(%rbp)
movdqa %xmm0, -0x1d0(%rbp)
movdqa -0x1d0(%rbp), %xmm0
movq -0x1b8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x400(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x400(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
callq 0x4943a0
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x470(%rbp), %xmm1
callq 0x4943a0
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x480(%rbp), %xmm1
callq 0x4943a0
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x490(%rbp), %xmm1
movdqa -0x390(%rbp), %xmm0
movdqa %xmm1, -0x80(%rbp)
movdqa %xmm0, -0x90(%rbp)
movdqa -0x80(%rbp), %xmm0
psubq -0x90(%rbp), %xmm0
movdqa %xmm0, -0x490(%rbp)
movdqa -0x470(%rbp), %xmm1
movdqa -0x3a0(%rbp), %xmm0
movdqa %xmm1, -0xa0(%rbp)
movdqa %xmm0, -0xb0(%rbp)
movdqa -0xa0(%rbp), %xmm0
psubq -0xb0(%rbp), %xmm0
movdqa %xmm0, -0x470(%rbp)
movdqa -0x470(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x470(%rbp)
movq -0x370(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x470(%rbp), %xmm0
movq %rax, -0x1d8(%rbp)
movdqa %xmm0, -0x1f0(%rbp)
movdqa -0x1f0(%rbp), %xmm0
movq -0x1d8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x480(%rbp), %xmm1
movdqa -0x3a0(%rbp), %xmm0
movdqa %xmm1, -0xc0(%rbp)
movdqa %xmm0, -0xd0(%rbp)
movdqa -0xc0(%rbp), %xmm0
psubq -0xd0(%rbp), %xmm0
movdqa %xmm0, -0x480(%rbp)
movdqa -0x480(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x480(%rbp)
movq -0x368(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x490(%rbp)
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x4937ef
movl $0x0, -0x32c(%rbp)
movl -0x32c(%rbp), %eax
cmpl -0x344(%rbp), %eax
jge 0x493d58
cmpl $0x0, 0x18(%rbp)
je 0x493b07
xorl %eax, %eax
subl -0x318(%rbp), %eax
cltq
movq %rax, -0x528(%rbp)
jmp 0x493b2f
movq -0x378(%rbp), %rax
movl -0x328(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movslq -0x318(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x528(%rbp)
movq -0x528(%rbp), %rax
movq %rax, -0x4a8(%rbp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, -0x4a8(%rbp)
jge 0x493b63
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, -0x530(%rbp)
jmp 0x493b71
movq -0x4a8(%rbp), %rax
movq %rax, -0x530(%rbp)
movq -0x530(%rbp), %rax
movq %rax, -0x4b0(%rbp)
movaps -0x480(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movdqa %xmm0, -0x480(%rbp)
movdqa -0x480(%rbp), %xmm0
movq -0x4b0(%rbp), %rdi
xorl %esi, %esi
callq 0x4942f0
movdqa %xmm0, -0x480(%rbp)
movl $0x0, -0x324(%rbp)
movl -0x324(%rbp), %eax
cmpl -0x348(%rbp), %eax
jge 0x493d42
movq -0x360(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x490(%rbp)
movdqa -0x490(%rbp), %xmm0
movdqa -0x480(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x490(%rbp)
movq -0x360(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x490(%rbp), %xmm0
movq %rax, -0x1f8(%rbp)
movdqa %xmm0, -0x210(%rbp)
movdqa -0x210(%rbp), %xmm0
movq -0x1f8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
callq 0x4943a0
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x400(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x400(%rbp)
movdqa -0x490(%rbp), %xmm1
movdqa -0x390(%rbp), %xmm0
movdqa %xmm1, -0xe0(%rbp)
movdqa %xmm0, -0xf0(%rbp)
movdqa -0xe0(%rbp), %xmm0
psubq -0xf0(%rbp), %xmm0
movdqa %xmm0, -0x490(%rbp)
movdqa -0x480(%rbp), %xmm1
movdqa -0x3a0(%rbp), %xmm0
movdqa %xmm1, -0x100(%rbp)
movdqa %xmm0, -0x110(%rbp)
movdqa -0x100(%rbp), %xmm0
psubq -0x110(%rbp), %xmm0
movdqa %xmm0, -0x480(%rbp)
movdqa -0x480(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
callq 0x494420
movdqa %xmm0, -0x50(%rbp)
movdqa -0x50(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
jne 0x493d2c
jmp 0x493d5a
jmp 0x493d2e
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x493bbb
jmp 0x493d44
movl -0x32c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x32c(%rbp)
jmp 0x493adc
jmp 0x493d5a
movq -0x360(%rbp), %rax
movslq -0x34c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x490(%rbp)
movdqa -0x420(%rbp), %xmm0
movaps %xmm0, -0x540(%rbp)
movdqa -0x490(%rbp), %xmm0
movdqa -0x410(%rbp), %xmm1
callq 0x494420
movaps -0x540(%rbp), %xmm1
movdqa %xmm1, -0x30(%rbp)
movdqa %xmm0, -0x40(%rbp)
movdqa -0x30(%rbp), %xmm0
pand -0x40(%rbp), %xmm0
movdqa %xmm0, -0x4c0(%rbp)
movdqa -0x490(%rbp), %xmm0
movdqa -0x410(%rbp), %xmm1
callq 0x494320
movdqa %xmm0, -0x410(%rbp)
movdqa -0x4c0(%rbp), %xmm0
movdqa %xmm0, -0x60(%rbp)
movdqa -0x60(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x493e14
movl -0x328(%rbp), %eax
movl %eax, -0x338(%rbp)
movl $0x0, -0x32c(%rbp)
movl -0x32c(%rbp), %eax
cmpl -0x350(%rbp), %eax
jge 0x493e51
movaps -0x490(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movdqa %xmm0, -0x490(%rbp)
movl -0x32c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x32c(%rbp)
jmp 0x493e1e
movdqa -0x490(%rbp), %xmm0
movl $0x1, %edi
callq 0x494490
movl %eax, %edx
movq -0x428(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq -0x328(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x328(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x328(%rbp)
jmp 0x49370c
movl $0x0, -0x324(%rbp)
movl -0x324(%rbp), %eax
cmpl -0x348(%rbp), %eax
jge 0x493f11
movq -0x360(%rbp), %rax
movslq -0x324(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x4d0(%rbp)
movq -0x428(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
movdqa -0x4d0(%rbp), %xmm0
movl -0x324(%rbp), %esi
movl -0x348(%rbp), %edx
callq 0x4944c0
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x493e9b
cmpl $0x0, 0x20(%rbp)
je 0x493f7c
movl $0x0, -0x32c(%rbp)
movl -0x32c(%rbp), %eax
cmpl -0x350(%rbp), %eax
jge 0x493f54
movaps -0x410(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movdqa %xmm0, -0x410(%rbp)
movl -0x32c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x32c(%rbp)
jmp 0x493f21
movdqa -0x410(%rbp), %xmm0
movl $0x1, %edi
callq 0x494490
movq %rax, -0x3b8(%rbp)
movl -0x330(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x334(%rbp)
cmpl $0x0, 0x10(%rbp)
je 0x4940b8
movq -0x360(%rbp), %rax
movq %rax, -0x4d8(%rbp)
movl -0x348(%rbp), %eax
imull -0x344(%rbp), %eax
movl %eax, -0x4dc(%rbp)
movl $0x0, -0x324(%rbp)
movl -0x324(%rbp), %eax
cmpl -0x4dc(%rbp), %eax
jge 0x4940b6
movl -0x324(%rbp), %eax
cltd
idivl -0x344(%rbp)
movl %eax, -0x544(%rbp)
movl -0x324(%rbp), %eax
cltd
idivl -0x344(%rbp)
movl -0x544(%rbp), %eax
imull -0x348(%rbp), %edx
addl %edx, %eax
movl %eax, -0x4e0(%rbp)
movl -0x4e0(%rbp), %eax
cmpl -0x330(%rbp), %eax
jl 0x49400b
jmp 0x494090
movq -0x4d8(%rbp), %rax
movq (%rax), %rax
cmpq -0x3b8(%rbp), %rax
jle 0x49404c
movq -0x4d8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x3b8(%rbp)
movl -0x4e0(%rbp), %eax
movl %eax, -0x334(%rbp)
movl -0x314(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x338(%rbp)
jmp 0x49408e
movq -0x4d8(%rbp), %rax
movq (%rax), %rax
cmpq -0x3b8(%rbp), %rax
jne 0x49408c
movl -0x338(%rbp), %eax
movl -0x314(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x49408c
movl -0x4e0(%rbp), %eax
cmpl -0x334(%rbp), %eax
jge 0x49408c
movl -0x4e0(%rbp), %eax
movl %eax, -0x334(%rbp)
jmp 0x49408e
jmp 0x494090
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
movq -0x4d8(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x4d8(%rbp)
jmp 0x493fb1
jmp 0x4940b8
cmpl $0x0, 0x10(%rbp)
jne 0x49416f
cmpl $0x0, 0x20(%rbp)
jne 0x49416f
movq -0x360(%rbp), %rax
movslq -0x34c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x4f0(%rbp)
movl $0x0, -0x32c(%rbp)
movl -0x32c(%rbp), %eax
cmpl -0x350(%rbp), %eax
jge 0x494138
movaps -0x4f0(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movdqa %xmm0, -0x4f0(%rbp)
movl -0x32c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x32c(%rbp)
jmp 0x494105
movdqa -0x4f0(%rbp), %xmm0
movl $0x1, %edi
callq 0x494490
movq %rax, -0x3b8(%rbp)
movl -0x314(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x338(%rbp)
movl -0x330(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x334(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x3d0(%rbp), %xmm1
callq 0x494520
movaps %xmm0, -0x560(%rbp)
movdqa -0x400(%rbp), %xmm0
movdqa -0x3e0(%rbp), %xmm1
callq 0x494420
movaps -0x560(%rbp), %xmm1
movdqa %xmm1, -0x10(%rbp)
movdqa %xmm0, -0x20(%rbp)
movdqa -0x10(%rbp), %xmm0
por -0x20(%rbp), %xmm0
movdqa %xmm0, -0x70(%rbp)
movdqa -0x70(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x4941fd
movq -0x428(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, -0x3b8(%rbp)
movl $0x0, -0x334(%rbp)
movl $0x0, -0x338(%rbp)
movq -0x3b8(%rbp), %rax
movl %eax, %ecx
movq -0x428(%rbp), %rax
movl %ecx, (%rax)
movl -0x334(%rbp), %ecx
movq -0x428(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x338(%rbp), %ecx
movq -0x428(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x378(%rbp), %rdi
callq 0x1c3590
movq -0x370(%rbp), %rdi
callq 0x1c3590
movq -0x368(%rbp), %rdi
callq 0x1c3590
movq -0x360(%rbp), %rdi
callq 0x1c3590
movq -0x428(%rbp), %rax
movq %rax, -0x300(%rbp)
movq -0x300(%rbp), %rax
addq $0x560, %rsp            # imm = 0x560
popq %rbp
retq
nopl (%rax)