// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_striped_sse2_128_8.c
// Function: parasail_sw_rowcol_striped_profile_sse2_128_8
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;
#ifdef PARASAIL_ROWCOL
    int32_t offset = 0;
    int32_t position = 0;
#endif
    __m128i* restrict vProfile = NULL;
    __m128i* restrict pvHStore = NULL;
    __m128i* restrict pvHLoad = NULL;
    __m128i* restrict pvHMax = NULL;
    __m128i* restrict pvE = NULL;
    __m128i vGapO;
    __m128i vGapE;
    __m128i vZero;
    int8_t bias = 0;
    int8_t score = 0;
    __m128i vBias;
    __m128i vMaxH;
    __m128i vMaxHUnit;
    int8_t maxp = 0;
    __m128i insert_mask;
    /*int8_t stop = 0;*/
    parasail_result_t *result = NULL;

    /* validate inputs */
    PARASAIL_CHECK_NULL(profile);
    PARASAIL_CHECK_NULL(profile->profile8.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 = 16; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
#ifdef PARASAIL_ROWCOL
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
#endif
    vProfile = (__m128i*)profile->profile8.score;
    vGapO = _mm_set1_epi8(open);
    vGapE = _mm_set1_epi8(gap);
    vZero = _mm_set1_epi8(0);
    bias = INT8_MIN;
    score = bias;
    vBias = _mm_set1_epi8(bias);
    vMaxH = vBias;
    vMaxHUnit = vBias;
    maxp = INT8_MAX - (int8_t)(matrix->max+1);
    insert_mask = _mm_cmpgt_epi8(
            _mm_set_epi8(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1),
            vZero);
    /*stop = profile->stop == INT32_MAX ?  INT8_MAX : (int8_t)profile->stop-bias;*/

    /* 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_SW | PARASAIL_FLAG_STRIPED
        | PARASAIL_FLAG_BITS_8 | PARASAIL_FLAG_LANES_16;
#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);
    pvHMax = parasail_memalign___m128i(16, segLen);
    pvE = parasail_memalign___m128i(16, segLen);

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

    /* initialize H and E */
    parasail_memset___m128i(pvHStore, vBias, segLen);
    parasail_memset___m128i(pvE, vBias, segLen);

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vE;
        __m128i vF;
        __m128i vH;
        const __m128i* vP = NULL;
        __m128i* pv = NULL;

        /* Initialize F value to 0.  Any errors to vH values will be
         * corrected in the Lazy_F loop.  */
        vF = vBias;

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

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

        if (end_ref == j-2) {
            /* Swap in the max buffer. */
            pv = pvHMax;
            pvHMax = pvHLoad;
            pvHLoad = pvHStore;
            pvHStore = pv;
        }
        else {
            /* Swap the 2 H buffers. */
            pv = pvHLoad;
            pvHLoad = pvHStore;
            pvHStore = pv;
        }

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

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

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

            /* Update vF value. */
            vF = _mm_subs_epi8(vF, vGapE);
            vF = _mm_max_epi8_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) {
            vF = _mm_slli_si128(vF, 1);
            vF = _mm_blendv_epi8_rpl(vF, vBias, insert_mask);
            for (i=0; i<segLen; ++i) {
                vH = _mm_load_si128(pvHStore + i);
                vH = _mm_max_epi8_rpl(vH,vF);
                _mm_store_si128(pvHStore + i, vH);
#ifdef PARASAIL_TABLE
                arr_store_si128(result->tables->score_table, vH, i, segLen, j, s2Len, bias);
#endif
                vMaxH = _mm_max_epi8_rpl(vH, vMaxH);
                vH = _mm_subs_epi8(vH, vGapO);
                vF = _mm_subs_epi8(vF, vGapE);
                if (! _mm_movemask_epi8(_mm_cmpgt_epi8(vF, vH))) goto end;
                /*vF = _mm_max_epi8_rpl(vF, vH);*/
            }
        }
end:
        {
        }

#ifdef PARASAIL_ROWCOL
        /* extract last value from the column */
        {
            vH = _mm_load_si128(pvHStore + offset);
            for (k=0; k<position; ++k) {
                vH = _mm_slli_si128(vH, 1);
            }
            result->rowcols->score_row[j] = (int8_t) _mm_extract_epi8_rpl (vH, 15) - bias;
        }
#endif

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

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

#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, bias);
    }
#endif

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

    if (parasail_result_is_saturated(result)) {
        score = INT8_MAX;
        end_query = 0;
        end_ref = 0;
    }
    else {
        if (end_ref == j-1) {
            /* end_ref was the last store column */
            __m128i *pv = pvHMax;
            pvHMax = pvHStore;
            pvHStore = pv;
        }
        else if (end_ref == j-2) {
            /* end_ref was the last load column */
            __m128i *pv = pvHMax;
            pvHMax = pvHLoad;
            pvHLoad = pv;
        }
        /* Trace the alignment ending position on read. */
        {
            int8_t *t = (int8_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 - bias;
    result->end_query = end_query;
    result->end_ref = end_ref;

    parasail_free(pvE);
    parasail_free(pvHMax);
    parasail_free(pvHLoad);
    parasail_free(pvHStore);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x450, %rsp            # imm = 0x450
movq %rdi, -0x2a8(%rbp)
movq %rsi, -0x2b0(%rbp)
movl %edx, -0x2b4(%rbp)
movl %ecx, -0x2b8(%rbp)
movl %r8d, -0x2bc(%rbp)
movl $0x0, -0x2c0(%rbp)
movl $0x0, -0x2c4(%rbp)
movl $0x0, -0x2c8(%rbp)
movl $0x0, -0x2cc(%rbp)
movl $0x0, -0x2d0(%rbp)
movl $0x0, -0x2d4(%rbp)
movq $0x0, -0x2e0(%rbp)
movl $0x0, -0x2e4(%rbp)
movl $0x0, -0x2e8(%rbp)
movl $0x0, -0x2ec(%rbp)
movl $0x0, -0x2f0(%rbp)
movq $0x0, -0x2f8(%rbp)
movq $0x0, -0x300(%rbp)
movq $0x0, -0x308(%rbp)
movq $0x0, -0x310(%rbp)
movq $0x0, -0x318(%rbp)
movb $0x0, -0x351(%rbp)
movb $0x0, -0x352(%rbp)
movb $0x0, -0x391(%rbp)
movq $0x0, -0x3b8(%rbp)
cmpq $0x0, -0x2a8(%rbp)
jne 0x4a5c92
movq 0x981375(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x84637e(%rip), %rsi    # 0xcebfeb
leaq 0x834a21(%rip), %rdx    # 0xcda695
leaq 0x81c862(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5c94
jmp 0x4a5c96
movq -0x2a8(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x4a5cda
movq 0x98132d(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x846336(%rip), %rsi    # 0xcebfeb
leaq 0x8349d9(%rip), %rdx    # 0xcda695
leaq 0x846d94(%rip), %rcx    # 0xceca57
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5cdc
jmp 0x4a5cde
movq -0x2a8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x4a5d22
movq 0x9812e5(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x8462ee(%rip), %rsi    # 0xcebfeb
leaq 0x834991(%rip), %rdx    # 0xcda695
leaq 0x846c11(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5d24
jmp 0x4a5d26
movq -0x2a8(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jg 0x4a5d69
movq 0x98129e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x8469bd(%rip), %rsi    # 0xcec701
leaq 0x83494a(%rip), %rdx    # 0xcda695
leaq 0x846bda(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5d6b
jmp 0x4a5d6d
cmpq $0x0, -0x2b0(%rbp)
jne 0x4a5dad
movq 0x98125a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x846263(%rip), %rsi    # 0xcebfeb
leaq 0x834906(%rip), %rdx    # 0xcda695
leaq 0x846968(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5daf
jmp 0x4a5db1
cmpl $0x0, -0x2b4(%rbp)
jg 0x4a5df0
movq 0x981217(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x846936(%rip), %rsi    # 0xcec701
leaq 0x8348c3(%rip), %rdx    # 0xcda695
leaq 0x84693c(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5df2
jmp 0x4a5df4
cmpl $0x0, -0x2b8(%rbp)
jge 0x4a5e33
movq 0x9811d4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x84690d(%rip), %rsi    # 0xcec71b
leaq 0x834880(%rip), %rdx    # 0xcda695
leaq 0x846914(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5e35
jmp 0x4a5e37
cmpl $0x0, -0x2bc(%rbp)
jge 0x4a5e76
movq 0x981191(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x8468ca(%rip), %rsi    # 0xcec71b
leaq 0x83483d(%rip), %rdx    # 0xcda695
leaq 0x8468d6(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
jmp 0x4a5e78
movl $0x0, -0x2c0(%rbp)
movl $0x0, -0x2c4(%rbp)
movl $0x0, -0x2c8(%rbp)
movl $0x0, -0x2cc(%rbp)
movl $0x0, -0x2d0(%rbp)
movq -0x2a8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x2d4(%rbp)
movq -0x2a8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x2e0(%rbp)
movl $0x10, -0x2e4(%rbp)
movl -0x2d4(%rbp), %esi
movl -0x2e4(%rbp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, -0x2e8(%rbp)
movl -0x2d4(%rbp), %eax
decl %eax
movl -0x2e8(%rbp), %ecx
cltd
idivl %ecx
movl %edx, -0x2ec(%rbp)
movl -0x2e4(%rbp), %ecx
movl -0x2d4(%rbp), %eax
decl %eax
movl -0x2e8(%rbp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, -0x2f0(%rbp)
movq -0x2a8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x2f8(%rbp)
movb -0x2b8(%rbp), %al
movb %al, -0x291(%rbp)
movb -0x291(%rbp), %al
movb %al, -0x444(%rbp)
movb %al, -0x211(%rbp)
movb %al, -0x212(%rbp)
movb %al, -0x213(%rbp)
movb %al, -0x214(%rbp)
movb %al, -0x215(%rbp)
movb %al, -0x216(%rbp)
movb %al, -0x217(%rbp)
movb %al, -0x218(%rbp)
movb %al, -0x219(%rbp)
movb %al, -0x21a(%rbp)
movb %al, -0x21b(%rbp)
movb %al, -0x21c(%rbp)
movb %al, -0x21d(%rbp)
movb %al, -0x21e(%rbp)
movb %al, -0x21f(%rbp)
movb %al, -0x220(%rbp)
movzbl -0x211(%rbp), %eax
movd %eax, %xmm0
movzbl -0x212(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
movzbl -0x213(%rbp), %eax
movd %eax, %xmm2
movzbl -0x214(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzbl -0x215(%rbp), %eax
movd %eax, %xmm1
movzbl -0x216(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3],xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
movzbl -0x217(%rbp), %eax
movd %eax, %xmm3
movzbl -0x218(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3],xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzbl -0x219(%rbp), %eax
movd %eax, %xmm2
movzbl -0x21a(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
movzbl -0x21b(%rbp), %eax
movd %eax, %xmm3
movzbl -0x21c(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzbl -0x21d(%rbp), %eax
movd %eax, %xmm0
movzbl -0x21e(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3],xmm3[4],xmm0[4],xmm3[5],xmm0[5],xmm3[6],xmm0[6],xmm3[7],xmm0[7]
movzbl -0x21f(%rbp), %eax
movd %eax, %xmm4
movzbl -0x220(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm4, %xmm0    # xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x230(%rbp)
movaps -0x230(%rbp), %xmm0
movaps %xmm0, -0x330(%rbp)
movb -0x2bc(%rbp), %al
movb %al, -0x292(%rbp)
movb -0x292(%rbp), %al
movb %al, -0x443(%rbp)
movb %al, -0x1f1(%rbp)
movb %al, -0x1f2(%rbp)
movb %al, -0x1f3(%rbp)
movb %al, -0x1f4(%rbp)
movb %al, -0x1f5(%rbp)
movb %al, -0x1f6(%rbp)
movb %al, -0x1f7(%rbp)
movb %al, -0x1f8(%rbp)
movb %al, -0x1f9(%rbp)
movb %al, -0x1fa(%rbp)
movb %al, -0x1fb(%rbp)
movb %al, -0x1fc(%rbp)
movb %al, -0x1fd(%rbp)
movb %al, -0x1fe(%rbp)
movb %al, -0x1ff(%rbp)
movb %al, -0x200(%rbp)
movzbl -0x1f1(%rbp), %eax
movd %eax, %xmm0
movzbl -0x1f2(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
movzbl -0x1f3(%rbp), %eax
movd %eax, %xmm2
movzbl -0x1f4(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzbl -0x1f5(%rbp), %eax
movd %eax, %xmm1
movzbl -0x1f6(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3],xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
movzbl -0x1f7(%rbp), %eax
movd %eax, %xmm3
movzbl -0x1f8(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3],xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzbl -0x1f9(%rbp), %eax
movd %eax, %xmm2
movzbl -0x1fa(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
movzbl -0x1fb(%rbp), %eax
movd %eax, %xmm3
movzbl -0x1fc(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzbl -0x1fd(%rbp), %eax
movd %eax, %xmm0
movzbl -0x1fe(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3],xmm3[4],xmm0[4],xmm3[5],xmm0[5],xmm3[6],xmm0[6],xmm3[7],xmm0[7]
movzbl -0x1ff(%rbp), %eax
movd %eax, %xmm4
movzbl -0x200(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm4, %xmm0    # xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x210(%rbp)
movaps -0x210(%rbp), %xmm0
movaps %xmm0, -0x340(%rbp)
movb $0x0, -0x293(%rbp)
movb -0x293(%rbp), %al
movb %al, -0x442(%rbp)
movb %al, -0x1d1(%rbp)
movb %al, -0x1d2(%rbp)
movb %al, -0x1d3(%rbp)
movb %al, -0x1d4(%rbp)
movb %al, -0x1d5(%rbp)
movb %al, -0x1d6(%rbp)
movb %al, -0x1d7(%rbp)
movb %al, -0x1d8(%rbp)
movb %al, -0x1d9(%rbp)
movb %al, -0x1da(%rbp)
movb %al, -0x1db(%rbp)
movb %al, -0x1dc(%rbp)
movb %al, -0x1dd(%rbp)
movb %al, -0x1de(%rbp)
movb %al, -0x1df(%rbp)
movb %al, -0x1e0(%rbp)
movzbl -0x1d1(%rbp), %eax
movd %eax, %xmm0
movzbl -0x1d2(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
movzbl -0x1d3(%rbp), %eax
movd %eax, %xmm2
movzbl -0x1d4(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzbl -0x1d5(%rbp), %eax
movd %eax, %xmm1
movzbl -0x1d6(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3],xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
movzbl -0x1d7(%rbp), %eax
movd %eax, %xmm3
movzbl -0x1d8(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3],xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzbl -0x1d9(%rbp), %eax
movd %eax, %xmm2
movzbl -0x1da(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
movzbl -0x1db(%rbp), %eax
movd %eax, %xmm3
movzbl -0x1dc(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzbl -0x1dd(%rbp), %eax
movd %eax, %xmm0
movzbl -0x1de(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3],xmm3[4],xmm0[4],xmm3[5],xmm0[5],xmm3[6],xmm0[6],xmm3[7],xmm0[7]
movzbl -0x1df(%rbp), %eax
movd %eax, %xmm4
movzbl -0x1e0(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm4, %xmm0    # xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x1f0(%rbp)
movaps -0x1f0(%rbp), %xmm0
movaps %xmm0, -0x350(%rbp)
movb $-0x80, -0x351(%rbp)
movb -0x351(%rbp), %al
movb %al, -0x352(%rbp)
movb -0x351(%rbp), %al
movb %al, -0x294(%rbp)
movb -0x294(%rbp), %al
movb %al, -0x441(%rbp)
movb %al, -0x1b1(%rbp)
movb %al, -0x1b2(%rbp)
movb %al, -0x1b3(%rbp)
movb %al, -0x1b4(%rbp)
movb %al, -0x1b5(%rbp)
movb %al, -0x1b6(%rbp)
movb %al, -0x1b7(%rbp)
movb %al, -0x1b8(%rbp)
movb %al, -0x1b9(%rbp)
movb %al, -0x1ba(%rbp)
movb %al, -0x1bb(%rbp)
movb %al, -0x1bc(%rbp)
movb %al, -0x1bd(%rbp)
movb %al, -0x1be(%rbp)
movb %al, -0x1bf(%rbp)
movb %al, -0x1c0(%rbp)
movzbl -0x1b1(%rbp), %eax
movd %eax, %xmm0
movzbl -0x1b2(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
movzbl -0x1b3(%rbp), %eax
movd %eax, %xmm2
movzbl -0x1b4(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzbl -0x1b5(%rbp), %eax
movd %eax, %xmm1
movzbl -0x1b6(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3],xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
movzbl -0x1b7(%rbp), %eax
movd %eax, %xmm3
movzbl -0x1b8(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3],xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzbl -0x1b9(%rbp), %eax
movd %eax, %xmm2
movzbl -0x1ba(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
movzbl -0x1bb(%rbp), %eax
movd %eax, %xmm3
movzbl -0x1bc(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzbl -0x1bd(%rbp), %eax
movd %eax, %xmm0
movzbl -0x1be(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3],xmm3[4],xmm0[4],xmm3[5],xmm0[5],xmm3[6],xmm0[6],xmm3[7],xmm0[7]
movzbl -0x1bf(%rbp), %eax
movd %eax, %xmm4
movzbl -0x1c0(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm4, %xmm0    # xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x1d0(%rbp)
movaps -0x1d0(%rbp), %xmm0
movaps %xmm0, -0x370(%rbp)
movaps -0x370(%rbp), %xmm0
movaps %xmm0, -0x380(%rbp)
movaps -0x370(%rbp), %xmm0
movaps %xmm0, -0x390(%rbp)
movq -0x2e0(%rbp), %rax
movb 0x1c(%rax), %al
incb %al
xorb $0x7f, %al
movb %al, -0x391(%rbp)
movb $0x0, -0x171(%rbp)
movb $0x0, -0x172(%rbp)
movb $0x0, -0x173(%rbp)
movb $0x0, -0x174(%rbp)
movb $0x0, -0x175(%rbp)
movb $0x0, -0x176(%rbp)
movb $0x0, -0x177(%rbp)
movb $0x0, -0x178(%rbp)
movb $0x0, -0x179(%rbp)
movb $0x0, -0x17a(%rbp)
movb $0x0, -0x17b(%rbp)
movb $0x0, -0x17c(%rbp)
movb $0x0, -0x17d(%rbp)
movb $0x0, -0x17e(%rbp)
movb $0x0, -0x17f(%rbp)
movb $0x1, -0x180(%rbp)
movzbl -0x171(%rbp), %eax
movd %eax, %xmm0
movzbl -0x172(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
movzbl -0x173(%rbp), %eax
movd %eax, %xmm2
movzbl -0x174(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzbl -0x175(%rbp), %eax
movd %eax, %xmm1
movzbl -0x176(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3],xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
movzbl -0x177(%rbp), %eax
movd %eax, %xmm3
movzbl -0x178(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3],xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzbl -0x179(%rbp), %eax
movd %eax, %xmm2
movzbl -0x17a(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
movzbl -0x17b(%rbp), %eax
movd %eax, %xmm3
movzbl -0x17c(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzbl -0x17d(%rbp), %eax
movd %eax, %xmm0
movzbl -0x17e(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3],xmm3[4],xmm0[4],xmm3[5],xmm0[5],xmm3[6],xmm0[6],xmm3[7],xmm0[7]
movzbl -0x17f(%rbp), %eax
movd %eax, %xmm4
movzbl -0x180(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm4, %xmm0    # xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x190(%rbp)
movaps -0x190(%rbp), %xmm1
movaps -0x350(%rbp), %xmm0
movaps %xmm1, -0x240(%rbp)
movaps %xmm0, -0x250(%rbp)
movaps -0x240(%rbp), %xmm0
movaps -0x250(%rbp), %xmm1
pcmpgtb %xmm1, %xmm0
movdqa %xmm0, -0x3b0(%rbp)
movl -0x2e8(%rbp), %edi
imull -0x2e4(%rbp), %edi
movl -0x2b4(%rbp), %esi
callq 0x1c3af0
movq %rax, -0x3b8(%rbp)
cmpq $0x0, -0x3b8(%rbp)
jne 0x4a6731
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
movq -0x3b8(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x10100804, %ecx       # imm = 0x10100804
movl %ecx, 0xc(%rax)
movq -0x3b8(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq -0x2e8(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x300(%rbp)
movslq -0x2e8(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x308(%rbp)
movslq -0x2e8(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x310(%rbp)
movslq -0x2e8(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x318(%rbp)
cmpq $0x0, -0x300(%rbp)
jne 0x4a67d1
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
cmpq $0x0, -0x308(%rbp)
jne 0x4a67eb
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
cmpq $0x0, -0x310(%rbp)
jne 0x4a6805
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
cmpq $0x0, -0x318(%rbp)
jne 0x4a681f
movq $0x0, -0x2a0(%rbp)
jmp 0x4a737a
movq -0x300(%rbp), %rdi
movdqa -0x370(%rbp), %xmm0
movslq -0x2e8(%rbp), %rsi
callq 0x381e50
movq -0x318(%rbp), %rdi
movdqa -0x370(%rbp), %xmm0
movslq -0x2e8(%rbp), %rsi
callq 0x381e50
movl $0x0, -0x2c4(%rbp)
movl -0x2c4(%rbp), %eax
cmpl -0x2b4(%rbp), %eax
jge 0x4a70d5
movq $0x0, -0x3f8(%rbp)
movq $0x0, -0x400(%rbp)
movaps -0x370(%rbp), %xmm0
movaps %xmm0, -0x3e0(%rbp)
movq -0x300(%rbp), %rax
movl -0x2e8(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
movaps (%rax,%rcx), %xmm0
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x370(%rbp), %xmm1
movdqa -0x3b0(%rbp), %xmm2
callq 0x4a7390
movdqa %xmm0, -0x3f0(%rbp)
movq -0x2f8(%rbp), %rax
movq -0x2e0(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x2b0(%rbp), %rdx
movslq -0x2c4(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull -0x2e8(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x3f8(%rbp)
movl -0x2d0(%rbp), %eax
movl -0x2c4(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jne 0x4a696d
movq -0x310(%rbp), %rax
movq %rax, -0x400(%rbp)
movq -0x308(%rbp), %rax
movq %rax, -0x310(%rbp)
movq -0x300(%rbp), %rax
movq %rax, -0x308(%rbp)
movq -0x400(%rbp), %rax
movq %rax, -0x300(%rbp)
jmp 0x4a6997
movq -0x308(%rbp), %rax
movq %rax, -0x400(%rbp)
movq -0x300(%rbp), %rax
movq %rax, -0x308(%rbp)
movq -0x400(%rbp), %rax
movq %rax, -0x300(%rbp)
movl $0x0, -0x2c0(%rbp)
movl -0x2c0(%rbp), %eax
cmpl -0x2e8(%rbp), %eax
jge 0x4a6c1f
movdqa -0x3f0(%rbp), %xmm1
movq -0x3f8(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm1, -0x160(%rbp)
movdqa %xmm0, -0x170(%rbp)
movdqa -0x160(%rbp), %xmm0
movdqa -0x170(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x3f0(%rbp)
movq -0x318(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x3d0(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x3d0(%rbp), %xmm1
callq 0x4a7420
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x3e0(%rbp), %xmm1
callq 0x4a7420
movdqa %xmm0, -0x3f0(%rbp)
movq -0x300(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x3f0(%rbp), %xmm0
movq %rax, -0xc8(%rbp)
movdqa %xmm0, -0xe0(%rbp)
movdqa -0xe0(%rbp), %xmm0
movq -0xc8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x3f0(%rbp), %xmm0
movdqa -0x380(%rbp), %xmm1
callq 0x4a7420
movdqa %xmm0, -0x380(%rbp)
movdqa -0x3f0(%rbp), %xmm1
movdqa -0x330(%rbp), %xmm0
movdqa %xmm1, -0x30(%rbp)
movdqa %xmm0, -0x40(%rbp)
movdqa -0x30(%rbp), %xmm0
movdqa -0x40(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x3d0(%rbp), %xmm1
movdqa -0x340(%rbp), %xmm0
movdqa %xmm1, -0x50(%rbp)
movdqa %xmm0, -0x60(%rbp)
movdqa -0x50(%rbp), %xmm0
movdqa -0x60(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x3d0(%rbp)
movdqa -0x3d0(%rbp), %xmm0
movdqa -0x3f0(%rbp), %xmm1
callq 0x4a7420
movdqa %xmm0, -0x3d0(%rbp)
movq -0x318(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x3d0(%rbp), %xmm0
movq %rax, -0xe8(%rbp)
movdqa %xmm0, -0x100(%rbp)
movdqa -0x100(%rbp), %xmm0
movq -0xe8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x3e0(%rbp), %xmm1
movdqa -0x340(%rbp), %xmm0
movdqa %xmm1, -0x70(%rbp)
movdqa %xmm0, -0x80(%rbp)
movdqa -0x70(%rbp), %xmm0
movdqa -0x80(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x3e0(%rbp)
movdqa -0x3e0(%rbp), %xmm0
movdqa -0x3f0(%rbp), %xmm1
callq 0x4a7420
movdqa %xmm0, -0x3e0(%rbp)
movq -0x308(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x3f0(%rbp)
movl -0x2c0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c0(%rbp)
jmp 0x4a69a1
movl $0x0, -0x2c8(%rbp)
movl -0x2c8(%rbp), %eax
cmpl -0x2e4(%rbp), %eax
jge 0x4a6e05
movaps -0x3e0(%rbp), %xmm0
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movdqa %xmm0, -0x3e0(%rbp)
movdqa -0x3e0(%rbp), %xmm0
movdqa -0x370(%rbp), %xmm1
movdqa -0x3b0(%rbp), %xmm2
callq 0x4a7390
movdqa %xmm0, -0x3e0(%rbp)
movl $0x0, -0x2c0(%rbp)
movl -0x2c0(%rbp), %eax
cmpl -0x2e8(%rbp), %eax
jge 0x4a6def
movq -0x300(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x3f0(%rbp)
movaps -0x3f0(%rbp), %xmm0
movaps -0x3e0(%rbp), %xmm1
callq 0x4a7420
movaps %xmm0, -0x3f0(%rbp)
movq -0x300(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movaps -0x3f0(%rbp), %xmm0
movq %rax, -0x108(%rbp)
movaps %xmm0, -0x120(%rbp)
movaps -0x120(%rbp), %xmm0
movq -0x108(%rbp), %rax
movaps %xmm0, (%rax)
movaps -0x3f0(%rbp), %xmm0
movaps -0x380(%rbp), %xmm1
callq 0x4a7420
movaps %xmm0, -0x380(%rbp)
movaps -0x3f0(%rbp), %xmm1
movaps -0x330(%rbp), %xmm0
movaps %xmm1, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps -0x90(%rbp), %xmm0
movaps -0xa0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movaps %xmm0, -0x3f0(%rbp)
movaps -0x3e0(%rbp), %xmm1
movaps -0x340(%rbp), %xmm0
movaps %xmm1, -0xb0(%rbp)
movaps %xmm0, -0xc0(%rbp)
movaps -0xb0(%rbp), %xmm0
movaps -0xc0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movaps %xmm0, -0x3e0(%rbp)
movaps -0x3e0(%rbp), %xmm1
movaps -0x3f0(%rbp), %xmm0
movaps %xmm1, -0x260(%rbp)
movaps %xmm0, -0x270(%rbp)
movaps -0x260(%rbp), %xmm0
movaps -0x270(%rbp), %xmm1
pcmpgtb %xmm1, %xmm0
movdqa %xmm0, -0x10(%rbp)
movdqa -0x10(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
jne 0x4a6dd9
jmp 0x4a6e07
jmp 0x4a6ddb
movl -0x2c0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c0(%rbp)
jmp 0x4a6c7e
jmp 0x4a6df1
movl -0x2c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c8(%rbp)
jmp 0x4a6c29
jmp 0x4a6e07
movq -0x300(%rbp), %rax
movslq -0x2ec(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x3f0(%rbp)
movl $0x0, -0x2c8(%rbp)
movl -0x2c8(%rbp), %eax
cmpl -0x2f0(%rbp), %eax
jge 0x4a6e73
movaps -0x3f0(%rbp), %xmm0
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movdqa %xmm0, -0x3f0(%rbp)
movl -0x2c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c8(%rbp)
jmp 0x4a6e40
movaps -0x3f0(%rbp), %xmm0
movl $0xf, %edi
callq 0x4a74f0
movsbl %al, %edx
movsbl -0x351(%rbp), %eax
subl %eax, %edx
movq -0x3b8(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq -0x2c4(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x380(%rbp), %xmm1
movaps -0x390(%rbp), %xmm0
movaps %xmm1, -0x280(%rbp)
movaps %xmm0, -0x290(%rbp)
movaps -0x280(%rbp), %xmm0
movaps -0x290(%rbp), %xmm1
pcmpgtb %xmm1, %xmm0
movdqa %xmm0, -0x410(%rbp)
movdqa -0x410(%rbp), %xmm0
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x4a70bf
movdqa -0x380(%rbp), %xmm0
callq 0x4a7510
movb %al, -0x352(%rbp)
movsbl -0x352(%rbp), %eax
movsbl -0x391(%rbp), %ecx
cmpl %ecx, %eax
jle 0x4a6f37
movq -0x3b8(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
jmp 0x4a70d5
movb -0x352(%rbp), %al
movb %al, -0x295(%rbp)
movb -0x295(%rbp), %al
movb %al, -0x445(%rbp)
movb %al, -0x191(%rbp)
movb %al, -0x192(%rbp)
movb %al, -0x193(%rbp)
movb %al, -0x194(%rbp)
movb %al, -0x195(%rbp)
movb %al, -0x196(%rbp)
movb %al, -0x197(%rbp)
movb %al, -0x198(%rbp)
movb %al, -0x199(%rbp)
movb %al, -0x19a(%rbp)
movb %al, -0x19b(%rbp)
movb %al, -0x19c(%rbp)
movb %al, -0x19d(%rbp)
movb %al, -0x19e(%rbp)
movb %al, -0x19f(%rbp)
movb %al, -0x1a0(%rbp)
movzbl -0x191(%rbp), %eax
movd %eax, %xmm0
movzbl -0x192(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
movzbl -0x193(%rbp), %eax
movd %eax, %xmm2
movzbl -0x194(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzbl -0x195(%rbp), %eax
movd %eax, %xmm1
movzbl -0x196(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3],xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
movzbl -0x197(%rbp), %eax
movd %eax, %xmm3
movzbl -0x198(%rbp), %eax
movd %eax, %xmm1
punpcklbw %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3],xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzbl -0x199(%rbp), %eax
movd %eax, %xmm2
movzbl -0x19a(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
movzbl -0x19b(%rbp), %eax
movd %eax, %xmm3
movzbl -0x19c(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzbl -0x19d(%rbp), %eax
movd %eax, %xmm0
movzbl -0x19e(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3],xmm3[4],xmm0[4],xmm3[5],xmm0[5],xmm3[6],xmm0[6],xmm3[7],xmm0[7]
movzbl -0x19f(%rbp), %eax
movd %eax, %xmm4
movzbl -0x1a0(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm4, %xmm0    # xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x1b0(%rbp)
movdqa -0x1b0(%rbp), %xmm0
movdqa %xmm0, -0x390(%rbp)
movl -0x2c4(%rbp), %eax
movl %eax, -0x2d0(%rbp)
jmp 0x4a70c1
movl -0x2c4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c4(%rbp)
jmp 0x4a685f
movl $0x0, -0x2c0(%rbp)
movl -0x2c0(%rbp), %eax
cmpl -0x2e8(%rbp), %eax
jge 0x4a715c
movq -0x300(%rbp), %rax
movslq -0x2c0(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x420(%rbp)
movq -0x3b8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
movdqa -0x420(%rbp), %xmm0
movl -0x2c0(%rbp), %esi
movl -0x2e8(%rbp), %edx
movsbl -0x351(%rbp), %ecx
callq 0x4a7590
movl -0x2c0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c0(%rbp)
jmp 0x4a70df
movsbl -0x352(%rbp), %eax
cmpl $0x7f, %eax
jne 0x4a7178
movq -0x3b8(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq -0x3b8(%rbp), %rdi
callq 0x1c6390
cmpl $0x0, %eax
je 0x4a71a9
movb $0x7f, -0x352(%rbp)
movl $0x0, -0x2cc(%rbp)
movl $0x0, -0x2d0(%rbp)
jmp 0x4a7303
movl -0x2d0(%rbp), %eax
movl -0x2c4(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x4a71e8
movq -0x310(%rbp), %rax
movq %rax, -0x428(%rbp)
movq -0x300(%rbp), %rax
movq %rax, -0x310(%rbp)
movq -0x428(%rbp), %rax
movq %rax, -0x300(%rbp)
jmp 0x4a7227
movl -0x2d0(%rbp), %eax
movl -0x2c4(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jne 0x4a7225
movq -0x310(%rbp), %rax
movq %rax, -0x430(%rbp)
movq -0x308(%rbp), %rax
movq %rax, -0x310(%rbp)
movq -0x430(%rbp), %rax
movq %rax, -0x308(%rbp)
jmp 0x4a7227
movq -0x310(%rbp), %rax
movq %rax, -0x438(%rbp)
movl -0x2e8(%rbp), %eax
imull -0x2e4(%rbp), %eax
movl %eax, -0x43c(%rbp)
movl -0x2d4(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x2cc(%rbp)
movl $0x0, -0x2c0(%rbp)
movl -0x2c0(%rbp), %eax
cmpl -0x43c(%rbp), %eax
jge 0x4a7301
movq -0x438(%rbp), %rax
movsbl (%rax), %eax
movsbl -0x352(%rbp), %ecx
cmpl %ecx, %eax
jne 0x4a72d9
movl -0x2c0(%rbp), %eax
cltd
idivl -0x2e4(%rbp)
movl %eax, -0x44c(%rbp)
movl -0x2c0(%rbp), %eax
cltd
idivl -0x2e4(%rbp)
movl -0x44c(%rbp), %eax
imull -0x2e8(%rbp), %edx
addl %edx, %eax
movl %eax, -0x440(%rbp)
movl -0x440(%rbp), %eax
cmpl -0x2cc(%rbp), %eax
jge 0x4a72d7
movl -0x440(%rbp), %eax
movl %eax, -0x2cc(%rbp)
jmp 0x4a72d9
jmp 0x4a72db
movl -0x2c0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c0(%rbp)
movq -0x438(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x438(%rbp)
jmp 0x4a7261
jmp 0x4a7303
movsbl -0x352(%rbp), %ecx
movsbl -0x351(%rbp), %eax
subl %eax, %ecx
movq -0x3b8(%rbp), %rax
movl %ecx, (%rax)
movl -0x2cc(%rbp), %ecx
movq -0x3b8(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x2d0(%rbp), %ecx
movq -0x3b8(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x318(%rbp), %rdi
callq 0x1c3590
movq -0x310(%rbp), %rdi
callq 0x1c3590
movq -0x308(%rbp), %rdi
callq 0x1c3590
movq -0x300(%rbp), %rdi
callq 0x1c3590
movq -0x3b8(%rbp), %rax
movq %rax, -0x2a0(%rbp)
movq -0x2a0(%rbp), %rax
addq $0x450, %rsp            # imm = 0x450
popq %rbp
retq
nopw (%rax,%rax)