// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_trace_striped_sse2_128_64.c
// Function: parasail_sw_trace_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)
{
    /* 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;
    __m128i* restrict vProfile = NULL;
    __m128i* restrict pvHStore = NULL;
    __m128i* restrict pvHLoad = NULL;
    __m128i* restrict pvE = NULL;
    __m128i* restrict pvEaStore = NULL;
    __m128i* restrict pvEaLoad = NULL;
    __m128i* restrict pvHT = NULL;
    __m128i* restrict pvHMax = NULL;
    __m128i vGapO;
    __m128i vGapE;
    __m128i vZero;
    int64_t score = 0;
    __m128i vMaxH;
    __m128i vMaxHUnit;
    int64_t maxp = 0;
    parasail_result_t *result = NULL;
    __m128i vTZero;
    __m128i vTIns;
    __m128i vTDel;
    __m128i vTDiag;
    __m128i vTDiagE;
    __m128i vTInsE;
    __m128i vTDiagF;
    __m128i vTDelF;
    __m128i vTMask;
    __m128i vFTMask;

    /* 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;
    end_query = 0;
    end_ref = 0;
    s1Len = profile->s1Len;
    matrix = profile->matrix;
    segWidth = 2; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    vProfile = (__m128i*)profile->profile64.score;
    vGapO = _mm_set1_epi64x_rpl(open);
    vGapE = _mm_set1_epi64x_rpl(gap);
    vZero = _mm_setzero_si128();
    score = NEG_INF;
    vMaxH = vZero;
    vMaxHUnit = vZero;
    maxp = INT64_MAX - (int64_t)(matrix->max+1);
    vTZero = _mm_set1_epi64x_rpl(PARASAIL_ZERO);
    vTIns  = _mm_set1_epi64x_rpl(PARASAIL_INS);
    vTDel  = _mm_set1_epi64x_rpl(PARASAIL_DEL);
    vTDiag = _mm_set1_epi64x_rpl(PARASAIL_DIAG);
    vTDiagE= _mm_set1_epi64x_rpl(PARASAIL_DIAG_E);
    vTInsE = _mm_set1_epi64x_rpl(PARASAIL_INS_E);
    vTDiagF= _mm_set1_epi64x_rpl(PARASAIL_DIAG_F);
    vTDelF = _mm_set1_epi64x_rpl(PARASAIL_DEL_F);
    vTMask = _mm_set1_epi64x_rpl(PARASAIL_ZERO_MASK);
    vFTMask= _mm_set1_epi64x_rpl(PARASAIL_F_MASK);

    /* initialize result */
    result = parasail_result_new_trace(segLen, s2Len, 16, sizeof(__m128i));
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SW | PARASAIL_FLAG_STRIPED
        | PARASAIL_FLAG_TRACE
        | PARASAIL_FLAG_BITS_64 | PARASAIL_FLAG_LANES_2;

    /* initialize heap variables */
    pvHStore = parasail_memalign___m128i(16, segLen);
    pvHLoad =  parasail_memalign___m128i(16, segLen);
    pvE = parasail_memalign___m128i(16, segLen);
    pvEaStore = parasail_memalign___m128i(16, segLen);
    pvEaLoad = parasail_memalign___m128i(16, segLen);
    pvHT = parasail_memalign___m128i(16, segLen);
    pvHMax = parasail_memalign___m128i(16, segLen);

    /* validate heap variables */
    if (!pvHStore) return NULL;
    if (!pvHLoad) return NULL;
    if (!pvE) return NULL;
    if (!pvEaStore) return NULL;
    if (!pvEaLoad) return NULL;
    if (!pvHT) return NULL;
    if (!pvHMax) return NULL;

    /* initialize H and E */
    parasail_memset___m128i(pvHStore, vZero, segLen);
    parasail_memset___m128i(pvE, _mm_set1_epi64x_rpl(-open), segLen);
    parasail_memset___m128i(pvEaStore, _mm_set1_epi64x_rpl(-open), segLen);

    for (i=0; i<segLen; ++i) {
        arr_store(result->trace->trace_table, vTDiagE, i, segLen, 0);
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vEF_opn;
        __m128i vE;
        __m128i vE_ext;
        __m128i vF;
        __m128i vF_ext;
        __m128i vFa;
        __m128i vFa_ext;
        __m128i vH;
        __m128i vH_dag;
        const __m128i* vP = NULL;

        /* Initialize F value to 0.  Any errors to vH values will be
         * corrected in the Lazy_F loop. */
        vF = _mm_sub_epi64(vZero,vGapO);

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

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

        if (end_ref == j-2) {
            /* Swap in the max buffer. */
            SWAP3(pvHMax,  pvHLoad,  pvHStore)
            SWAP(pvEaLoad,  pvEaStore)
        }
        else {
            /* Swap the 2 H buffers. */
            SWAP(pvHLoad,  pvHStore)
            SWAP(pvEaLoad,  pvEaStore)
        }

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

            /* Get max from vH, vE and vF. */
            vH_dag = _mm_add_epi64(vH, _mm_load_si128(vP + i));
            vH_dag = _mm_max_epi64_rpl(vH_dag, vZero);
            vH = _mm_max_epi64_rpl(vH_dag, vE);
            vH = _mm_max_epi64_rpl(vH, vF);
            /* Save vH values. */
            _mm_store_si128(pvHStore + i, vH);

            {
                __m128i vTAll = arr_load(result->trace->trace_table, i, segLen, j);
                __m128i cond_zero = _mm_cmpeq_epi64_rpl(vH, vZero);
                __m128i case1 = _mm_cmpeq_epi64_rpl(vH, vH_dag);
                __m128i case2 = _mm_cmpeq_epi64_rpl(vH, vF);
                __m128i vT = _mm_blendv_epi8_rpl(
                        _mm_blendv_epi8_rpl(vTIns, vTDel, case2),
                        _mm_blendv_epi8_rpl(vTDiag, vTZero, cond_zero),
                        case1);
                _mm_store_si128(pvHT + i, vT);
                vT = _mm_or_si128(vT, vTAll);
                arr_store(result->trace->trace_table, vT, i, segLen, j);
            }
            vMaxH = _mm_max_epi64_rpl(vH, vMaxH);
            vEF_opn = _mm_sub_epi64(vH, vGapO);

            /* Update vE value. */
            vE_ext = _mm_sub_epi64(vE, vGapE);
            vE = _mm_max_epi64_rpl(vEF_opn, vE_ext);
            _mm_store_si128(pvE + i, vE);
            {
                __m128i vEa = _mm_load_si128(pvEaLoad + i);
                __m128i vEa_ext = _mm_sub_epi64(vEa, vGapE);
                vEa = _mm_max_epi64_rpl(vEF_opn, vEa_ext);
                _mm_store_si128(pvEaStore + i, vEa);
                if (j+1<s2Len) {
                    __m128i cond = _mm_cmpgt_epi64_rpl(vEF_opn, vEa_ext);
                    __m128i vT = _mm_blendv_epi8_rpl(vTInsE, vTDiagE, cond);
                    arr_store(result->trace->trace_table, vT, i, segLen, j+1);
                }
            }

            /* Update vF value. */
            vF_ext = _mm_sub_epi64(vF, vGapE);
            vF = _mm_max_epi64_rpl(vEF_opn, vF_ext);
            if (i+1<segLen) {
                __m128i vTAll = arr_load(result->trace->trace_table, i+1, segLen, j);
                __m128i cond = _mm_cmpgt_epi64_rpl(vEF_opn, vF_ext);
                __m128i vT = _mm_blendv_epi8_rpl(vTDelF, vTDiagF, cond);
                vT = _mm_or_si128(vT, vTAll);
                arr_store(result->trace->trace_table, vT, i+1, segLen, j);
            }

            /* 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 */
        vFa_ext = vF_ext;
        vFa = vF;
        for (k=0; k<segWidth; ++k) {
            __m128i vHp = _mm_load_si128(&pvHLoad[segLen - 1]);
            vHp = _mm_slli_si128(vHp, 8);
            vEF_opn = _mm_slli_si128(vEF_opn, 8);
            vEF_opn = _mm_insert_epi64_rpl(vEF_opn, -open, 0);
            vF_ext = _mm_slli_si128(vF_ext, 8);
            vF_ext = _mm_insert_epi64_rpl(vF_ext, NEG_INF, 0);
            vF = _mm_slli_si128(vF, 8);
            vF = _mm_insert_epi64_rpl(vF, -open, 0);
            vFa_ext = _mm_slli_si128(vFa_ext, 8);
            vFa_ext = _mm_insert_epi64_rpl(vFa_ext, NEG_INF, 0);
            vFa = _mm_slli_si128(vFa, 8);
            vFa = _mm_insert_epi64_rpl(vFa, -open, 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);
                {
                    __m128i vTAll;
                    __m128i vT;
                    __m128i case1;
                    __m128i case2;
                    __m128i cond;
                    vHp = _mm_add_epi64(vHp, _mm_load_si128(vP + i));
                    vHp = _mm_max_epi64_rpl(vHp, vZero);
                    case1 = _mm_cmpeq_epi64_rpl(vH, vHp);
                    case2 = _mm_cmpeq_epi64_rpl(vH, vF);
                    cond = _mm_andnot_si128(case1,case2);
                    vTAll = arr_load(result->trace->trace_table, i, segLen, j);
                    vT = _mm_load_si128(pvHT + i);
                    vT = _mm_blendv_epi8_rpl(vT, vTDel, cond);
                    _mm_store_si128(pvHT + i, vT);
                    vTAll = _mm_and_si128(vTAll, vTMask);
                    vTAll = _mm_or_si128(vTAll, vT);
                    arr_store(result->trace->trace_table, vTAll, i, segLen, j);
                }
                vMaxH = _mm_max_epi64_rpl(vH, vMaxH);
                /* Update vF value. */
                {
                    __m128i vTAll = arr_load(result->trace->trace_table, i, segLen, j);
                    __m128i cond = _mm_cmpgt_epi64_rpl(vEF_opn, vFa_ext);
                    __m128i vT = _mm_blendv_epi8_rpl(vTDelF, vTDiagF, cond);
                    vTAll = _mm_and_si128(vTAll, vFTMask);
                    vTAll = _mm_or_si128(vTAll, vT);
                    arr_store(result->trace->trace_table, vTAll, i, segLen, j);
                }
                vEF_opn = _mm_sub_epi64(vH, vGapO);
                vF_ext = _mm_sub_epi64(vF, vGapE);
                {
                    __m128i vEa = _mm_load_si128(pvEaLoad + i);
                    __m128i vEa_ext = _mm_sub_epi64(vEa, vGapE);
                    vEa = _mm_max_epi64_rpl(vEF_opn, vEa_ext);
                    _mm_store_si128(pvEaStore + i, vEa);
                    if (j+1<s2Len) {
                        __m128i cond = _mm_cmpgt_epi64_rpl(vEF_opn, vEa_ext);
                        __m128i vT = _mm_blendv_epi8_rpl(vTInsE, vTDiagE, cond);
                        arr_store(result->trace->trace_table, vT, i, segLen, j+1);
                    }
                }
                if (! _mm_movemask_epi8(
                            _mm_or_si128(
                                _mm_cmpgt_epi64_rpl(vF_ext, vEF_opn),
                                _mm_cmpeq_epi64_rpl(vF_ext, vEF_opn))))
                    goto end;
                /*vF = _mm_max_epi64_rpl(vEF_opn, vF_ext);*/
                vF = vF_ext;
                vFa_ext = _mm_sub_epi64(vFa, vGapE);
                vFa = _mm_max_epi64_rpl(vEF_opn, vFa_ext);
                vHp = _mm_load_si128(pvHLoad + i);
            }
        }
end:
        {
        }

        {
            __m128i vCompare = _mm_cmpgt_epi64_rpl(vMaxH, vMaxHUnit);
            if (_mm_movemask_epi8(vCompare)) {
                score = _mm_hmax_epi64_rpl(vMaxH);
                /* if score has potential to overflow, abort early */
                if (score > maxp) {
                    result->flag |= PARASAIL_FLAG_SATURATED;
                    break;
                }
                vMaxHUnit = _mm_set1_epi64x_rpl(score);
                end_ref = j;
            }
        }

        /*if (score == stop) break;*/
    }

    if (score == INT64_MAX) {
        result->flag |= PARASAIL_FLAG_SATURATED;
    }

    if (parasail_result_is_saturated(result)) {
        score = 0;
        end_query = 0;
        end_ref = 0;
    }
    else {
        if (end_ref == j-1) {
            /* end_ref was the last store column */
            SWAP(pvHMax,  pvHStore)
        }
        else if (end_ref == j-2) {
            /* end_ref was the last load column */
            SWAP(pvHMax,  pvHLoad)
        }
        /* Trace the alignment ending position on read. */
        {
            int64_t *t = (int64_t*)pvHMax;
            int32_t column_len = segLen * segWidth;
            end_query = s1Len - 1;
            for (i = 0; i<column_len; ++i, ++t) {
                if (*t == score) {
                    int32_t temp = i / segWidth + i % segWidth * segLen;
                    if (temp < end_query) {
                        end_query = temp;
                    }
                }
            }
        }
    }

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

    parasail_free(pvHMax);
    parasail_free(pvHT);
    parasail_free(pvEaLoad);
    parasail_free(pvEaStore);
    parasail_free(pvE);
    parasail_free(pvHLoad);
    parasail_free(pvHStore);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa90, %rsp            # imm = 0xA90
movq %rdi, -0x638(%rbp)
movq %rsi, -0x640(%rbp)
movl %edx, -0x644(%rbp)
movl %ecx, -0x648(%rbp)
movl %r8d, -0x64c(%rbp)
movl $0x0, -0x650(%rbp)
movl $0x0, -0x654(%rbp)
movl $0x0, -0x658(%rbp)
movl $0x0, -0x65c(%rbp)
movl $0x0, -0x660(%rbp)
movl $0x0, -0x664(%rbp)
movq $0x0, -0x670(%rbp)
movl $0x0, -0x674(%rbp)
movl $0x0, -0x678(%rbp)
movq $0x0, -0x680(%rbp)
movq $0x0, -0x688(%rbp)
movq $0x0, -0x690(%rbp)
movq $0x0, -0x698(%rbp)
movq $0x0, -0x6a0(%rbp)
movq $0x0, -0x6a8(%rbp)
movq $0x0, -0x6b0(%rbp)
movq $0x0, -0x6b8(%rbp)
movq $0x0, -0x6f8(%rbp)
movq $0x0, -0x728(%rbp)
movq $0x0, -0x730(%rbp)
cmpq $0x0, -0x638(%rbp)
jne 0x578c20
movq 0x8ae3e7(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7733f0(%rip), %rsi    # 0xcebfeb
leaq 0x76e3b9(%rip), %rdx    # 0xce6fbb
leaq 0x7498d4(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578c22
jmp 0x578c24
movq -0x638(%rbp), %rax
cmpq $0x0, 0x60(%rax)
jne 0x578c68
movq 0x8ae39f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7733a8(%rip), %rsi    # 0xcebfeb
leaq 0x76e371(%rip), %rdx    # 0xce6fbb
leaq 0x773cb2(%rip), %rcx    # 0xcec903
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578c6a
jmp 0x578c6c
movq -0x638(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x578cb0
movq 0x8ae357(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x773360(%rip), %rsi    # 0xcebfeb
leaq 0x76e329(%rip), %rdx    # 0xce6fbb
leaq 0x773c83(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578cb2
jmp 0x578cb4
movq -0x638(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jg 0x578cf7
movq 0x8ae310(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x773a2f(%rip), %rsi    # 0xcec701
leaq 0x76e2e2(%rip), %rdx    # 0xce6fbb
leaq 0x773c4c(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578cf9
jmp 0x578cfb
cmpq $0x0, -0x640(%rbp)
jne 0x578d3b
movq 0x8ae2cc(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7732d5(%rip), %rsi    # 0xcebfeb
leaq 0x76e29e(%rip), %rdx    # 0xce6fbb
leaq 0x7739da(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578d3d
jmp 0x578d3f
cmpl $0x0, -0x644(%rbp)
jg 0x578d7e
movq 0x8ae289(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7739a8(%rip), %rsi    # 0xcec701
leaq 0x76e25b(%rip), %rdx    # 0xce6fbb
leaq 0x7739ae(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578d80
jmp 0x578d82
cmpl $0x0, -0x648(%rbp)
jge 0x578dc1
movq 0x8ae246(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x77397f(%rip), %rsi    # 0xcec71b
leaq 0x76e218(%rip), %rdx    # 0xce6fbb
leaq 0x773986(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578dc3
jmp 0x578dc5
cmpl $0x0, -0x64c(%rbp)
jge 0x578e04
movq 0x8ae203(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x77393c(%rip), %rsi    # 0xcec71b
leaq 0x76e1d5(%rip), %rdx    # 0xce6fbb
leaq 0x773948(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
jmp 0x578e06
movl $0x0, -0x650(%rbp)
movl $0x0, -0x654(%rbp)
movl $0x0, -0x658(%rbp)
movl $0x0, -0x65c(%rbp)
movl $0x0, -0x660(%rbp)
movq -0x638(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x664(%rbp)
movq -0x638(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x670(%rbp)
movl $0x2, -0x674(%rbp)
movl -0x664(%rbp), %esi
movl -0x674(%rbp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, -0x678(%rbp)
movq -0x638(%rbp), %rax
movq 0x60(%rax), %rax
movq %rax, -0x680(%rbp)
movslq -0x648(%rbp), %rax
movq %rax, -0x5b8(%rbp)
movq -0x5b8(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq %rax, -0x1d0(%rbp)
movq -0x1c8(%rbp), %xmm1
movq -0x1d0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x1e0(%rbp)
movaps -0x1e0(%rbp), %xmm0
movaps %xmm0, -0x6d0(%rbp)
movslq -0x64c(%rbp), %rax
movq %rax, -0x5c0(%rbp)
movq -0x5c0(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq %rax, -0x1b0(%rbp)
movq -0x1a8(%rbp), %xmm1
movq -0x1b0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x1c0(%rbp)
movaps -0x1c0(%rbp), %xmm0
movaps %xmm0, -0x6e0(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x5b0(%rbp)
movaps -0x5b0(%rbp), %xmm0
movaps %xmm0, -0x6f0(%rbp)
movabsq $-0x4000000000000000, %rax # imm = 0xC000000000000000
movq %rax, -0x6f8(%rbp)
movaps -0x6f0(%rbp), %xmm0
movaps %xmm0, -0x710(%rbp)
movaps -0x6f0(%rbp), %xmm0
movaps %xmm0, -0x720(%rbp)
movq -0x670(%rbp), %rax
movl 0x1c(%rax), %eax
incl %eax
cltq
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
xorq %rcx, %rax
movq %rax, -0x728(%rbp)
movq $0x0, -0x5c8(%rbp)
movq -0x5c8(%rbp), %rax
movq %rax, -0x188(%rbp)
movq %rax, -0x190(%rbp)
movq -0x188(%rbp), %xmm1
movq -0x190(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x1a0(%rbp)
movaps -0x1a0(%rbp), %xmm0
movaps %xmm0, -0x740(%rbp)
movq $0x1, -0x5d0(%rbp)
movq -0x5d0(%rbp), %rax
movq %rax, -0x168(%rbp)
movq %rax, -0x170(%rbp)
movq -0x168(%rbp), %xmm1
movq -0x170(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x180(%rbp)
movaps -0x180(%rbp), %xmm0
movaps %xmm0, -0x750(%rbp)
movq $0x2, -0x5d8(%rbp)
movq -0x5d8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq %rax, -0x150(%rbp)
movq -0x148(%rbp), %xmm1
movq -0x150(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x160(%rbp)
movaps -0x160(%rbp), %xmm0
movaps %xmm0, -0x760(%rbp)
movq $0x4, -0x5e0(%rbp)
movq -0x5e0(%rbp), %rax
movq %rax, -0x128(%rbp)
movq %rax, -0x130(%rbp)
movq -0x128(%rbp), %xmm1
movq -0x130(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x140(%rbp)
movaps -0x140(%rbp), %xmm0
movaps %xmm0, -0x770(%rbp)
movq $0x8, -0x5e8(%rbp)
movq -0x5e8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq %rax, -0x110(%rbp)
movq -0x108(%rbp), %xmm1
movq -0x110(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x120(%rbp)
movaps -0x120(%rbp), %xmm0
movaps %xmm0, -0x780(%rbp)
movq $0x10, -0x5f0(%rbp)
movq -0x5f0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq %rax, -0xf0(%rbp)
movq -0xe8(%rbp), %xmm1
movq -0xf0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x100(%rbp)
movaps -0x100(%rbp), %xmm0
movaps %xmm0, -0x790(%rbp)
movq $0x20, -0x5f8(%rbp)
movq -0x5f8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq %rax, -0xd0(%rbp)
movq -0xc8(%rbp), %xmm1
movq -0xd0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0xe0(%rbp)
movaps -0xe0(%rbp), %xmm0
movaps %xmm0, -0x7a0(%rbp)
movq $0x40, -0x600(%rbp)
movq -0x600(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq %rax, -0xb0(%rbp)
movq -0xa8(%rbp), %xmm1
movq -0xb0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0xc0(%rbp)
movaps -0xc0(%rbp), %xmm0
movaps %xmm0, -0x7b0(%rbp)
movq $0x78, -0x608(%rbp)
movq -0x608(%rbp), %rax
movq %rax, -0x88(%rbp)
movq %rax, -0x90(%rbp)
movq -0x88(%rbp), %xmm1
movq -0x90(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0xa0(%rbp)
movaps -0xa0(%rbp), %xmm0
movaps %xmm0, -0x7c0(%rbp)
movq $0x1f, -0x610(%rbp)
movq -0x610(%rbp), %rax
movq %rax, -0x68(%rbp)
movq %rax, -0x70(%rbp)
movq -0x68(%rbp), %xmm1
movq -0x70(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x80(%rbp)
movdqa -0x80(%rbp), %xmm0
movdqa %xmm0, -0x7d0(%rbp)
movl -0x678(%rbp), %edi
movl -0x644(%rbp), %esi
movl $0x10, %ecx
movq %rcx, %rdx
callq 0x1c3fa0
movq %rax, -0x730(%rbp)
cmpq $0x0, -0x730(%rbp)
jne 0x579297
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
movq -0x730(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x2880804, %ecx        # imm = 0x2880804
movl %ecx, 0xc(%rax)
movslq -0x678(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x688(%rbp)
movslq -0x678(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x690(%rbp)
movslq -0x678(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x698(%rbp)
movslq -0x678(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x6a0(%rbp)
movslq -0x678(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x6a8(%rbp)
movslq -0x678(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x6b0(%rbp)
movslq -0x678(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x6b8(%rbp)
cmpq $0x0, -0x688(%rbp)
jne 0x57936c
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
cmpq $0x0, -0x690(%rbp)
jne 0x579386
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
cmpq $0x0, -0x698(%rbp)
jne 0x5793a0
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
cmpq $0x0, -0x6a0(%rbp)
jne 0x5793ba
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
cmpq $0x0, -0x6a8(%rbp)
jne 0x5793d4
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
cmpq $0x0, -0x6b0(%rbp)
jne 0x5793ee
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
cmpq $0x0, -0x6b8(%rbp)
jne 0x579408
movq $0x0, -0x630(%rbp)
jmp 0x57a8c3
movq -0x688(%rbp), %rdi
movaps -0x6f0(%rbp), %xmm0
movslq -0x678(%rbp), %rsi
callq 0x381e50
movq -0x698(%rbp), %rdi
movl -0x648(%rbp), %eax
negl %eax
cltq
movq %rax, -0x618(%rbp)
movq -0x618(%rbp), %rax
movq %rax, -0x48(%rbp)
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %xmm1
movq -0x50(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x60(%rbp)
movaps -0x60(%rbp), %xmm0
movslq -0x678(%rbp), %rsi
callq 0x381e50
movq -0x6a0(%rbp), %rdi
movl -0x648(%rbp), %eax
negl %eax
cltq
movq %rax, -0x620(%rbp)
movq -0x620(%rbp), %rax
movq %rax, -0x28(%rbp)
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %xmm1
movq -0x30(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x40(%rbp)
movdqa -0x40(%rbp), %xmm0
movslq -0x678(%rbp), %rsi
callq 0x381e50
movl $0x0, -0x650(%rbp)
movl -0x650(%rbp), %eax
cmpl -0x678(%rbp), %eax
jge 0x579508
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x780(%rbp), %xmm0
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
xorl %ecx, %ecx
callq 0x57a8e0
movl -0x650(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x650(%rbp)
jmp 0x5794c0
movl $0x0, -0x654(%rbp)
movl -0x654(%rbp), %eax
cmpl -0x644(%rbp), %eax
jge 0x57a67f
movq $0x0, -0x868(%rbp)
movaps -0x6f0(%rbp), %xmm1
movaps -0x6d0(%rbp), %xmm0
movaps %xmm1, -0x490(%rbp)
movaps %xmm0, -0x4a0(%rbp)
movaps -0x490(%rbp), %xmm0
movaps -0x4a0(%rbp), %xmm1
psubq %xmm1, %xmm0
movaps %xmm0, -0x810(%rbp)
movq -0x688(%rbp), %rax
movl -0x678(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x428(%rbp)
movq -0x428(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x850(%rbp)
movaps -0x850(%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, -0x850(%rbp)
movq -0x680(%rbp), %rax
movq -0x670(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x640(%rbp), %rdx
movslq -0x654(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull -0x678(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x868(%rbp)
movl -0x660(%rbp), %eax
movl -0x654(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jne 0x57965f
movq -0x6b8(%rbp), %rax
movq %rax, -0x870(%rbp)
movq -0x690(%rbp), %rax
movq %rax, -0x6b8(%rbp)
movq -0x688(%rbp), %rax
movq %rax, -0x690(%rbp)
movq -0x870(%rbp), %rax
movq %rax, -0x688(%rbp)
movq -0x6a8(%rbp), %rax
movq %rax, -0x878(%rbp)
movq -0x6a0(%rbp), %rax
movq %rax, -0x6a8(%rbp)
movq -0x878(%rbp), %rax
movq %rax, -0x6a0(%rbp)
jmp 0x5796b3
movq -0x690(%rbp), %rax
movq %rax, -0x880(%rbp)
movq -0x688(%rbp), %rax
movq %rax, -0x690(%rbp)
movq -0x880(%rbp), %rax
movq %rax, -0x688(%rbp)
movq -0x6a8(%rbp), %rax
movq %rax, -0x888(%rbp)
movq -0x6a0(%rbp), %rax
movq %rax, -0x6a8(%rbp)
movq -0x888(%rbp), %rax
movq %rax, -0x6a0(%rbp)
movl $0x0, -0x650(%rbp)
movl -0x650(%rbp), %eax
cmpl -0x678(%rbp), %eax
jge 0x579d29
movq -0x698(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x430(%rbp)
movq -0x430(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x7f0(%rbp)
movdqa -0x850(%rbp), %xmm1
movq -0x868(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x438(%rbp)
movq -0x438(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm1, -0x3f0(%rbp)
movdqa %xmm0, -0x400(%rbp)
movdqa -0x3f0(%rbp), %xmm0
paddq -0x400(%rbp), %xmm0
movdqa %xmm0, -0x860(%rbp)
movdqa -0x860(%rbp), %xmm0
movdqa -0x6f0(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x860(%rbp)
movdqa -0x860(%rbp), %xmm0
movdqa -0x7f0(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x850(%rbp)
movdqa -0x850(%rbp), %xmm0
movdqa -0x810(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x850(%rbp)
movq -0x688(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x850(%rbp), %xmm0
movq %rax, -0x308(%rbp)
movdqa %xmm0, -0x320(%rbp)
movdqa -0x320(%rbp), %xmm0
movq -0x308(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a9c0
movdqa %xmm0, -0x8a0(%rbp)
movdqa -0x850(%rbp), %xmm0
movdqa -0x6f0(%rbp), %xmm1
callq 0x57aa10
movdqa %xmm0, -0x8b0(%rbp)
movdqa -0x850(%rbp), %xmm0
movdqa -0x860(%rbp), %xmm1
callq 0x57aa10
movdqa %xmm0, -0x8c0(%rbp)
movdqa -0x850(%rbp), %xmm0
movdqa -0x810(%rbp), %xmm1
callq 0x57aa10
movdqa %xmm0, -0x8d0(%rbp)
movdqa -0x750(%rbp), %xmm0
movdqa -0x760(%rbp), %xmm1
movdqa -0x8d0(%rbp), %xmm2
callq 0x57aa80
movaps %xmm0, -0xa60(%rbp)
movdqa -0x770(%rbp), %xmm0
movdqa -0x740(%rbp), %xmm1
movdqa -0x8b0(%rbp), %xmm2
callq 0x57aa80
movaps %xmm0, %xmm1
movaps -0xa60(%rbp), %xmm0
movdqa -0x8c0(%rbp), %xmm2
callq 0x57aa80
movdqa %xmm0, -0x8e0(%rbp)
movq -0x6b0(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x8e0(%rbp), %xmm0
movq %rax, -0x328(%rbp)
movdqa %xmm0, -0x340(%rbp)
movdqa -0x340(%rbp), %xmm0
movq -0x328(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x8e0(%rbp), %xmm1
movdqa -0x8a0(%rbp), %xmm0
movdqa %xmm1, -0x270(%rbp)
movdqa %xmm0, -0x280(%rbp)
movdqa -0x270(%rbp), %xmm0
por -0x280(%rbp), %xmm0
movdqa %xmm0, -0x8e0(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x8e0(%rbp), %xmm0
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a8e0
movdqa -0x850(%rbp), %xmm0
movdqa -0x710(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x710(%rbp)
movdqa -0x850(%rbp), %xmm1
movdqa -0x6d0(%rbp), %xmm0
movdqa %xmm1, -0x4b0(%rbp)
movdqa %xmm0, -0x4c0(%rbp)
movdqa -0x4b0(%rbp), %xmm0
psubq -0x4c0(%rbp), %xmm0
movdqa %xmm0, -0x7e0(%rbp)
movdqa -0x7f0(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x4d0(%rbp)
movdqa %xmm0, -0x4e0(%rbp)
movdqa -0x4d0(%rbp), %xmm0
psubq -0x4e0(%rbp), %xmm0
movdqa %xmm0, -0x800(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x800(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x7f0(%rbp)
movq -0x698(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x7f0(%rbp), %xmm0
movq %rax, -0x348(%rbp)
movdqa %xmm0, -0x360(%rbp)
movdqa -0x360(%rbp), %xmm0
movq -0x348(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x6a8(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x440(%rbp)
movq -0x440(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x8f0(%rbp)
movdqa -0x8f0(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x4f0(%rbp)
movdqa %xmm0, -0x500(%rbp)
movdqa -0x4f0(%rbp), %xmm0
psubq -0x500(%rbp), %xmm0
movdqa %xmm0, -0x900(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x900(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x8f0(%rbp)
movq -0x6a0(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x8f0(%rbp), %xmm0
movq %rax, -0x368(%rbp)
movdqa %xmm0, -0x380(%rbp)
movdqa -0x380(%rbp), %xmm0
movq -0x368(%rbp), %rax
movdqa %xmm0, (%rax)
movl -0x654(%rbp), %eax
addl $0x1, %eax
cmpl -0x644(%rbp), %eax
jge 0x579ba2
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x900(%rbp), %xmm1
callq 0x57ab10
movdqa %xmm0, -0x910(%rbp)
movdqa -0x790(%rbp), %xmm0
movdqa -0x780(%rbp), %xmm1
movdqa -0x910(%rbp), %xmm2
callq 0x57aa80
movdqa %xmm0, -0x920(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x920(%rbp), %xmm0
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
addl $0x1, %ecx
callq 0x57a8e0
movdqa -0x810(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x510(%rbp)
movdqa %xmm0, -0x520(%rbp)
movdqa -0x510(%rbp), %xmm0
psubq -0x520(%rbp), %xmm0
movdqa %xmm0, -0x820(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x820(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x810(%rbp)
movl -0x650(%rbp), %eax
addl $0x1, %eax
cmpl -0x678(%rbp), %eax
jge 0x579ce6
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movl -0x650(%rbp), %esi
addl $0x1, %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a9c0
movdqa %xmm0, -0x930(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x820(%rbp), %xmm1
callq 0x57ab10
movdqa %xmm0, -0x940(%rbp)
movdqa -0x7b0(%rbp), %xmm0
movdqa -0x7a0(%rbp), %xmm1
movdqa -0x940(%rbp), %xmm2
callq 0x57aa80
movdqa %xmm0, -0x950(%rbp)
movdqa -0x950(%rbp), %xmm1
movdqa -0x930(%rbp), %xmm0
movdqa %xmm1, -0x290(%rbp)
movdqa %xmm0, -0x2a0(%rbp)
movdqa -0x290(%rbp), %xmm0
por -0x2a0(%rbp), %xmm0
movdqa %xmm0, -0x950(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x950(%rbp), %xmm0
movl -0x650(%rbp), %esi
addl $0x1, %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a8e0
movq -0x690(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x448(%rbp)
movq -0x448(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x850(%rbp)
movl -0x650(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x650(%rbp)
jmp 0x5796bd
movdqa -0x820(%rbp), %xmm0
movdqa %xmm0, -0x840(%rbp)
movdqa -0x810(%rbp), %xmm0
movdqa %xmm0, -0x830(%rbp)
movl $0x0, -0x658(%rbp)
movl -0x658(%rbp), %eax
cmpl -0x674(%rbp), %eax
jge 0x57a5aa
movq -0x690(%rbp), %rax
movl -0x678(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x450(%rbp)
movq -0x450(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x960(%rbp)
movaps -0x960(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movaps %xmm0, -0x960(%rbp)
movaps -0x7e0(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movaps %xmm0, -0x7e0(%rbp)
movaps -0x7e0(%rbp), %xmm0
movl -0x648(%rbp), %eax
negl %eax
movslq %eax, %rdi
xorl %esi, %esi
movl %esi, -0xa64(%rbp)
callq 0x57ab80
movl -0xa64(%rbp), %esi
movaps %xmm0, -0x7e0(%rbp)
movaps -0x820(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movaps %xmm0, -0x820(%rbp)
movaps -0x820(%rbp), %xmm0
movabsq $-0x4000000000000000, %rdi # imm = 0xC000000000000000
movq %rdi, -0xa70(%rbp)
callq 0x57ab80
movl -0xa64(%rbp), %esi
movaps %xmm0, -0x820(%rbp)
movaps -0x810(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movaps %xmm0, -0x810(%rbp)
movaps -0x810(%rbp), %xmm0
movl -0x648(%rbp), %eax
negl %eax
movslq %eax, %rdi
callq 0x57ab80
movq -0xa70(%rbp), %rdi
movl -0xa64(%rbp), %esi
movaps %xmm0, -0x810(%rbp)
movaps -0x840(%rbp), %xmm0
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
movaps %xmm0, -0x840(%rbp)
movaps -0x840(%rbp), %xmm0
callq 0x57ab80
movaps %xmm0, -0x840(%rbp)
movaps -0x830(%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, -0x830(%rbp)
movdqa -0x830(%rbp), %xmm0
xorl %eax, %eax
subl -0x648(%rbp), %eax
movslq %eax, %rdi
xorl %esi, %esi
callq 0x57ab80
movdqa %xmm0, -0x830(%rbp)
movl $0x0, -0x650(%rbp)
movl -0x650(%rbp), %eax
cmpl -0x678(%rbp), %eax
jge 0x57a594
movq -0x688(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x458(%rbp)
movq -0x458(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x850(%rbp)
movaps -0x850(%rbp), %xmm0
movaps -0x810(%rbp), %xmm1
callq 0x57a940
movaps %xmm0, -0x850(%rbp)
movq -0x688(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movaps -0x850(%rbp), %xmm0
movq %rax, -0x388(%rbp)
movaps %xmm0, -0x3a0(%rbp)
movaps -0x3a0(%rbp), %xmm0
movq -0x388(%rbp), %rax
movaps %xmm0, (%rax)
movaps -0x960(%rbp), %xmm1
movq -0x868(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x460(%rbp)
movq -0x460(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm1, -0x410(%rbp)
movaps %xmm0, -0x420(%rbp)
movaps -0x410(%rbp), %xmm0
movaps -0x420(%rbp), %xmm1
paddq %xmm1, %xmm0
movaps %xmm0, -0x960(%rbp)
movaps -0x960(%rbp), %xmm0
movaps -0x6f0(%rbp), %xmm1
callq 0x57a940
movaps %xmm0, -0x960(%rbp)
movaps -0x850(%rbp), %xmm0
movaps -0x960(%rbp), %xmm1
callq 0x57aa10
movaps %xmm0, -0x990(%rbp)
movaps -0x850(%rbp), %xmm0
movaps -0x810(%rbp), %xmm1
callq 0x57aa10
movaps %xmm0, -0x9a0(%rbp)
movaps -0x990(%rbp), %xmm1
movaps -0x9a0(%rbp), %xmm0
movaps %xmm1, -0x250(%rbp)
movaps %xmm0, -0x260(%rbp)
movaps -0x250(%rbp), %xmm0
pcmpeqd %xmm1, %xmm1
pxor %xmm1, %xmm0
pand -0x260(%rbp), %xmm0
movdqa %xmm0, -0x9b0(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a9c0
movdqa %xmm0, -0x970(%rbp)
movq -0x6b0(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x468(%rbp)
movq -0x468(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x980(%rbp)
movdqa -0x980(%rbp), %xmm0
movdqa -0x760(%rbp), %xmm1
movdqa -0x9b0(%rbp), %xmm2
callq 0x57aa80
movdqa %xmm0, -0x980(%rbp)
movq -0x6b0(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x980(%rbp), %xmm0
movq %rax, -0x3a8(%rbp)
movdqa %xmm0, -0x3c0(%rbp)
movdqa -0x3c0(%rbp), %xmm0
movq -0x3a8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x970(%rbp), %xmm1
movdqa -0x7c0(%rbp), %xmm0
movdqa %xmm1, -0x210(%rbp)
movdqa %xmm0, -0x220(%rbp)
movdqa -0x210(%rbp), %xmm0
pand -0x220(%rbp), %xmm0
movdqa %xmm0, -0x970(%rbp)
movdqa -0x970(%rbp), %xmm1
movdqa -0x980(%rbp), %xmm0
movdqa %xmm1, -0x2b0(%rbp)
movdqa %xmm0, -0x2c0(%rbp)
movdqa -0x2b0(%rbp), %xmm0
por -0x2c0(%rbp), %xmm0
movdqa %xmm0, -0x970(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x970(%rbp), %xmm0
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a8e0
movdqa -0x850(%rbp), %xmm0
movdqa -0x710(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x710(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a9c0
movdqa %xmm0, -0x9c0(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x840(%rbp), %xmm1
callq 0x57ab10
movdqa %xmm0, -0x9d0(%rbp)
movdqa -0x7b0(%rbp), %xmm0
movdqa -0x7a0(%rbp), %xmm1
movdqa -0x9d0(%rbp), %xmm2
callq 0x57aa80
movdqa %xmm0, -0x9e0(%rbp)
movdqa -0x9c0(%rbp), %xmm1
movdqa -0x7d0(%rbp), %xmm0
movdqa %xmm1, -0x230(%rbp)
movdqa %xmm0, -0x240(%rbp)
movdqa -0x230(%rbp), %xmm0
pand -0x240(%rbp), %xmm0
movdqa %xmm0, -0x9c0(%rbp)
movdqa -0x9c0(%rbp), %xmm1
movdqa -0x9e0(%rbp), %xmm0
movdqa %xmm1, -0x2d0(%rbp)
movdqa %xmm0, -0x2e0(%rbp)
movdqa -0x2d0(%rbp), %xmm0
por -0x2e0(%rbp), %xmm0
movdqa %xmm0, -0x9c0(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x9c0(%rbp), %xmm0
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
callq 0x57a8e0
movdqa -0x850(%rbp), %xmm1
movdqa -0x6d0(%rbp), %xmm0
movdqa %xmm1, -0x530(%rbp)
movdqa %xmm0, -0x540(%rbp)
movdqa -0x530(%rbp), %xmm0
psubq -0x540(%rbp), %xmm0
movdqa %xmm0, -0x7e0(%rbp)
movdqa -0x810(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x550(%rbp)
movdqa %xmm0, -0x560(%rbp)
movdqa -0x550(%rbp), %xmm0
psubq -0x560(%rbp), %xmm0
movdqa %xmm0, -0x820(%rbp)
movq -0x6a8(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x470(%rbp)
movq -0x470(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x9f0(%rbp)
movdqa -0x9f0(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x570(%rbp)
movdqa %xmm0, -0x580(%rbp)
movdqa -0x570(%rbp), %xmm0
psubq -0x580(%rbp), %xmm0
movdqa %xmm0, -0xa00(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0xa00(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x9f0(%rbp)
movq -0x6a0(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x9f0(%rbp), %xmm0
movq %rax, -0x3c8(%rbp)
movdqa %xmm0, -0x3e0(%rbp)
movdqa -0x3e0(%rbp), %xmm0
movq -0x3c8(%rbp), %rax
movdqa %xmm0, (%rax)
movl -0x654(%rbp), %eax
addl $0x1, %eax
cmpl -0x644(%rbp), %eax
jge 0x57a476
movdqa -0x7e0(%rbp), %xmm0
movdqa -0xa00(%rbp), %xmm1
callq 0x57ab10
movdqa %xmm0, -0xa10(%rbp)
movdqa -0x790(%rbp), %xmm0
movdqa -0x780(%rbp), %xmm1
movdqa -0xa10(%rbp), %xmm2
callq 0x57aa80
movdqa %xmm0, -0xa20(%rbp)
movq -0x730(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0xa20(%rbp), %xmm0
movl -0x650(%rbp), %esi
movl -0x678(%rbp), %edx
movl -0x654(%rbp), %ecx
addl $0x1, %ecx
callq 0x57a8e0
movdqa -0x820(%rbp), %xmm0
movdqa -0x7e0(%rbp), %xmm1
callq 0x57ab10
movaps %xmm0, -0xa80(%rbp)
movdqa -0x820(%rbp), %xmm0
movdqa -0x7e0(%rbp), %xmm1
callq 0x57aa10
movaps -0xa80(%rbp), %xmm1
movdqa %xmm1, -0x2f0(%rbp)
movdqa %xmm0, -0x300(%rbp)
movdqa -0x2f0(%rbp), %xmm0
por -0x300(%rbp), %xmm0
movdqa %xmm0, -0x1f0(%rbp)
movdqa -0x1f0(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
jne 0x57a4ec
jmp 0x57a5ac
movdqa -0x820(%rbp), %xmm0
movdqa %xmm0, -0x810(%rbp)
movdqa -0x830(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x590(%rbp)
movdqa %xmm0, -0x5a0(%rbp)
movdqa -0x590(%rbp), %xmm0
psubq -0x5a0(%rbp), %xmm0
movdqa %xmm0, -0x840(%rbp)
movdqa -0x7e0(%rbp), %xmm0
movdqa -0x840(%rbp), %xmm1
callq 0x57a940
movdqa %xmm0, -0x830(%rbp)
movq -0x690(%rbp), %rax
movslq -0x650(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x478(%rbp)
movq -0x478(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x960(%rbp)
movl -0x650(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x650(%rbp)
jmp 0x579ec9
jmp 0x57a596
movl -0x658(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x658(%rbp)
jmp 0x579d53
jmp 0x57a5ac
movdqa -0x710(%rbp), %xmm0
movdqa -0x720(%rbp), %xmm1
callq 0x57ab10
movdqa %xmm0, -0xa30(%rbp)
movdqa -0xa30(%rbp), %xmm0
movdqa %xmm0, -0x200(%rbp)
movdqa -0x200(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x57a669
movdqa -0x710(%rbp), %xmm0
callq 0x57abb0
movq %rax, -0x6f8(%rbp)
movq -0x6f8(%rbp), %rax
cmpq -0x728(%rbp), %rax
jle 0x57a620
movq -0x730(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
jmp 0x57a67f
movq -0x6f8(%rbp), %rax
movq %rax, -0x628(%rbp)
movq -0x628(%rbp), %rax
movq %rax, -0x8(%rbp)
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %xmm1
movq -0x10(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
movdqa %xmm0, -0x720(%rbp)
movl -0x654(%rbp), %eax
movl %eax, -0x660(%rbp)
jmp 0x57a66b
movl -0x654(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x654(%rbp)
jmp 0x579512
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, -0x6f8(%rbp)
jne 0x57a6a2
movq -0x730(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq -0x730(%rbp), %rdi
callq 0x1c6390
cmpl $0x0, %eax
je 0x57a6d7
movq $0x0, -0x6f8(%rbp)
movl $0x0, -0x65c(%rbp)
movl $0x0, -0x660(%rbp)
jmp 0x57a82f
movl -0x660(%rbp), %eax
movl -0x654(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x57a716
movq -0x6b8(%rbp), %rax
movq %rax, -0xa38(%rbp)
movq -0x688(%rbp), %rax
movq %rax, -0x6b8(%rbp)
movq -0xa38(%rbp), %rax
movq %rax, -0x688(%rbp)
jmp 0x57a755
movl -0x660(%rbp), %eax
movl -0x654(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jne 0x57a753
movq -0x6b8(%rbp), %rax
movq %rax, -0xa40(%rbp)
movq -0x690(%rbp), %rax
movq %rax, -0x6b8(%rbp)
movq -0xa40(%rbp), %rax
movq %rax, -0x690(%rbp)
jmp 0x57a755
movq -0x6b8(%rbp), %rax
movq %rax, -0xa48(%rbp)
movl -0x678(%rbp), %eax
imull -0x674(%rbp), %eax
movl %eax, -0xa4c(%rbp)
movl -0x664(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x65c(%rbp)
movl $0x0, -0x650(%rbp)
movl -0x650(%rbp), %eax
cmpl -0xa4c(%rbp), %eax
jge 0x57a82d
movq -0xa48(%rbp), %rax
movq (%rax), %rax
cmpq -0x6f8(%rbp), %rax
jne 0x57a805
movl -0x650(%rbp), %eax
cltd
idivl -0x674(%rbp)
movl %eax, -0xa84(%rbp)
movl -0x650(%rbp), %eax
cltd
idivl -0x674(%rbp)
movl -0xa84(%rbp), %eax
imull -0x678(%rbp), %edx
addl %edx, %eax
movl %eax, -0xa50(%rbp)
movl -0xa50(%rbp), %eax
cmpl -0x65c(%rbp), %eax
jge 0x57a803
movl -0xa50(%rbp), %eax
movl %eax, -0x65c(%rbp)
jmp 0x57a805
jmp 0x57a807
movl -0x650(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x650(%rbp)
movq -0xa48(%rbp), %rax
addq $0x8, %rax
movq %rax, -0xa48(%rbp)
jmp 0x57a78f
jmp 0x57a82f
movq -0x6f8(%rbp), %rax
movl %eax, %ecx
movq -0x730(%rbp), %rax
movl %ecx, (%rax)
movl -0x65c(%rbp), %ecx
movq -0x730(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x660(%rbp), %ecx
movq -0x730(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x6b8(%rbp), %rdi
callq 0x1c3590
movq -0x6b0(%rbp), %rdi
callq 0x1c3590
movq -0x6a8(%rbp), %rdi
callq 0x1c3590
movq -0x6a0(%rbp), %rdi
callq 0x1c3590
movq -0x698(%rbp), %rdi
callq 0x1c3590
movq -0x690(%rbp), %rdi
callq 0x1c3590
movq -0x688(%rbp), %rdi
callq 0x1c3590
movq -0x730(%rbp), %rax
movq %rax, -0x630(%rbp)
movq -0x630(%rbp), %rax
addq $0xa90, %rsp            # imm = 0xA90
popq %rbp
retq
nopw %cs:(%rax,%rax)