// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sg_trace_scan_sse41_128_8.c
// Function: parasail_sg_flags_trace_scan_profile_sse41_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,
        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 pvP = NULL;
    __m128i* restrict pvE = NULL;
    int8_t* restrict boundary = NULL;
    __m128i* restrict pvHt = NULL;
    __m128i* restrict pvH = NULL;
    __m128i* restrict pvGapper = NULL;
    __m128i vGapO;
    __m128i vGapE;
    int8_t NEG_LIMIT = 0;
    int8_t POS_LIMIT = 0;
    __m128i vZero;
    int8_t score = 0;
    __m128i vNegLimit;
    __m128i vPosLimit;
    __m128i vSaturationCheckMin;
    __m128i vSaturationCheckMax;
    __m128i vMaxH;
    __m128i vPosMask;
    __m128i vNegInfFront;
    __m128i vSegLenXgap;
    parasail_result_t *result = NULL;
    __m128i vTIns;
    __m128i vTDel;
    __m128i vTDiag;
    __m128i vTDiagE;
    __m128i vTInsE;
    __m128i vTDiagF;
    __m128i vTDelF;

    /* 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;
    s1Len = profile->s1Len;
    end_query = s1Len-1;
    end_ref = s2Len-1;
    matrix = profile->matrix;
    segWidth = 16; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
    pvP = (__m128i*)profile->profile8.score;
    vGapO = _mm_set1_epi8(open);
    vGapE = _mm_set1_epi8(gap);
    NEG_LIMIT = (-open < matrix->min ? INT8_MIN + open : INT8_MIN - matrix->min) + 1;
    POS_LIMIT = INT8_MAX - matrix->max - 1;
    vZero = _mm_setzero_si128();
    score = NEG_LIMIT;
    vNegLimit = _mm_set1_epi8(NEG_LIMIT);
    vPosLimit = _mm_set1_epi8(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vPosMask = _mm_cmpeq_epi8(_mm_set1_epi8(position),
            _mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15));
    vNegInfFront = vZero;
    vNegInfFront = _mm_insert_epi8(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm_adds_epi8(vNegInfFront,
            _mm_slli_si128(_mm_set1_epi8(-segLen*gap), 1));
    vTIns  = _mm_set1_epi8(PARASAIL_INS);
    vTDel  = _mm_set1_epi8(PARASAIL_DEL);
    vTDiag = _mm_set1_epi8(PARASAIL_DIAG);
    vTDiagE= _mm_set1_epi8(PARASAIL_DIAG_E);
    vTInsE = _mm_set1_epi8(PARASAIL_INS_E);
    vTDiagF= _mm_set1_epi8(PARASAIL_DIAG_F);
    vTDelF = _mm_set1_epi8(PARASAIL_DEL_F);

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

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SG | PARASAIL_FLAG_SCAN
        | PARASAIL_FLAG_TRACE
        | PARASAIL_FLAG_BITS_8 | PARASAIL_FLAG_LANES_16;
    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;

    /* initialize heap variables */
    pvE = parasail_memalign___m128i(16, segLen);
    boundary = parasail_memalign_int8_t(16, s2Len+1);
    pvHt= parasail_memalign___m128i(16, segLen);
    pvH = parasail_memalign___m128i(16, segLen);
    pvGapper = parasail_memalign___m128i(16, segLen);

    /* validate heap variables */
    if (!pvE) return NULL;
    if (!boundary) return NULL;
    if (!pvHt) return NULL;
    if (!pvH) return NULL;
    if (!pvGapper) return NULL;

    /* initialize H and E */
    {
        int32_t index = 0;
        for (i=0; i<segLen; ++i) {
            int32_t segNum = 0;
            __m128i_8_t h;
            __m128i_8_t e;
            for (segNum=0; segNum<segWidth; ++segNum) {
                int64_t tmp = s1_beg ? 0 : (-open-gap*(segNum*segLen+i));
                h.v[segNum] = tmp < INT8_MIN ? INT8_MIN : tmp;
                tmp = tmp - open;
                e.v[segNum] = tmp < INT8_MIN ? INT8_MIN : tmp;
            }
            _mm_store_si128(&pvH[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 < INT8_MIN ? INT8_MIN : tmp;
        }
    }

    {
        __m128i vGapper = _mm_subs_epi8(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm_store_si128(pvGapper+i, vGapper);
            vGapper = _mm_subs_epi8(vGapper, vGapE);
            /* long queries and/or large penalties will break the pseudo prefix scan */
            vSaturationCheckMin = _mm_min_epi8(vSaturationCheckMin, vGapper);
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vE;
        __m128i vE_ext;
        __m128i vE_opn;
        __m128i vHt;
        __m128i vF;
        __m128i vF_ext;
        __m128i vF_opn;
        __m128i vH;
        __m128i vHp;
        __m128i *pvW;
        __m128i vW;
        __m128i case1;
        __m128i case2;
        __m128i vGapper;
        __m128i vT;
        __m128i vET;
        __m128i vFT;

        /* calculate E */
        /* calculate Ht */
        /* calculate F and H first pass */
        vHp = _mm_load_si128(pvH+(segLen-1));
        vHp = _mm_slli_si128(vHp, 1);
        vHp = _mm_insert_epi8(vHp, boundary[j], 0);
        pvW = pvP + matrix->mapper[(unsigned char)s2[j]]*segLen;
        vHt = _mm_subs_epi8(vNegLimit, pvGapper[0]);
        vF = vNegLimit;
        for (i=0; i<segLen; ++i) {
            vH = _mm_load_si128(pvH+i);
            vE = _mm_load_si128(pvE+i);
            vW = _mm_load_si128(pvW+i);
            vGapper = _mm_load_si128(pvGapper+i);
            vE_opn = _mm_subs_epi8(vH, vGapO);
            vE_ext = _mm_subs_epi8(vE, vGapE);
            case1 = _mm_cmpgt_epi8(vE_opn, vE_ext);
            vET = _mm_blendv_epi8(vTInsE, vTDiagE, case1);
            arr_store(result->trace->trace_table, vET, i, segLen, j);
            vE = _mm_max_epi8(vE_opn, vE_ext);
            vSaturationCheckMin = _mm_min_epi8(vSaturationCheckMin, vE);
            vGapper = _mm_adds_epi8(vHt, vGapper);
            vF = _mm_max_epi8(vF, vGapper);
            vHp = _mm_adds_epi8(vHp, vW);
            vHt = _mm_max_epi8(vE, vHp);
            _mm_store_si128(pvE+i, vE);
            _mm_store_si128(pvHt+i, vHt);
            _mm_store_si128(pvH+i, vHp);
            vHp = vH;
        }

        /* pseudo prefix scan on F and H */
        vHt = _mm_slli_si128(vHt, 1);
        vHt = _mm_insert_epi8(vHt, boundary[j+1], 0);
        vGapper = _mm_load_si128(pvGapper);
        vGapper = _mm_adds_epi8(vHt, vGapper);
        vF = _mm_max_epi8(vF, vGapper);
        for (i=0; i<segWidth-2; ++i) {
            __m128i vFt = _mm_slli_si128(vF, 1);
            vFt = _mm_adds_epi8(vFt, vSegLenXgap);
            vF = _mm_max_epi8(vF, vFt);
        }

        /* calculate final H */
        vF = _mm_slli_si128(vF, 1);
        vF = _mm_adds_epi8(vF, vNegInfFront);
        vH = _mm_max_epi8(vF, vHt);
        for (i=0; i<segLen; ++i) {
            vET = arr_load(result->trace->trace_table, i, segLen, j);
            vHp = _mm_load_si128(pvH+i);
            vHt = _mm_load_si128(pvHt+i);
            vF_opn = _mm_subs_epi8(vH, vGapO);
            vF_ext = _mm_subs_epi8(vF, vGapE);
            vF = _mm_max_epi8(vF_opn, vF_ext);
            case1 = _mm_cmpgt_epi8(vF_opn, vF_ext);
            vFT = _mm_blendv_epi8(vTDelF, vTDiagF, case1);
            vH = _mm_max_epi8(vHt, vF);
            case1 = _mm_cmpeq_epi8(vH, vHp);
            case2 = _mm_cmpeq_epi8(vH, vF);
            vT = _mm_blendv_epi8(
                    _mm_blendv_epi8(vTIns, vTDel, case2),
                    vTDiag, case1);
            vT = _mm_or_si128(vT, vET);
            vT = _mm_or_si128(vT, vFT);
            arr_store(result->trace->trace_table, vT, i, segLen, j);
            _mm_store_si128(pvH+i, vH);
            vSaturationCheckMin = _mm_min_epi8(vSaturationCheckMin, vH);
            vSaturationCheckMin = _mm_min_epi8(vSaturationCheckMin, vF);
            vSaturationCheckMax = _mm_max_epi8(vSaturationCheckMax, vH);
        }

        /* extract vector containing last value from column */
        {
            __m128i vCompare;
            vH = _mm_load_si128(pvH + offset);
            vCompare = _mm_and_si128(vPosMask, _mm_cmpgt_epi8(vH, vMaxH));
            vMaxH = _mm_max_epi8(vH, vMaxH);
            if (_mm_movemask_epi8(vCompare)) {
                end_ref = j;
            }
        }
    } 

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

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

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

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

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

    parasail_free(pvGapper);
    parasail_free(pvH);
    parasail_free(pvHt);
    parasail_free(boundary);
    parasail_free(pvE);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xcb0, %rsp            # imm = 0xCB0
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x900(%rbp)
movq %rsi, -0x908(%rbp)
movl %edx, -0x90c(%rbp)
movl %ecx, -0x910(%rbp)
movl %r8d, -0x914(%rbp)
movl %r9d, -0x918(%rbp)
movl $0x0, -0x91c(%rbp)
movl $0x0, -0x920(%rbp)
movl $0x0, -0x924(%rbp)
movl $0x0, -0x928(%rbp)
movl $0x0, -0x92c(%rbp)
movl $0x0, -0x930(%rbp)
movq $0x0, -0x938(%rbp)
movl $0x0, -0x93c(%rbp)
movl $0x0, -0x940(%rbp)
movl $0x0, -0x944(%rbp)
movl $0x0, -0x948(%rbp)
movq $0x0, -0x950(%rbp)
movq $0x0, -0x958(%rbp)
movq $0x0, -0x960(%rbp)
movq $0x0, -0x968(%rbp)
movq $0x0, -0x970(%rbp)
movq $0x0, -0x978(%rbp)
movb $0x0, -0x9a1(%rbp)
movb $0x0, -0x9a2(%rbp)
movb $0x0, -0x9c1(%rbp)
movq $0x0, -0xa58(%rbp)
cmpq $0x0, -0x900(%rbp)
jne 0x82eeed
movq 0x5f811a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd123(%rip), %rsi    # 0xcebfeb
leaq 0x4c0e6e(%rip), %rdx    # 0xcefd3d
leaq 0x493607(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82eeef
jmp 0x82eef1
movq -0x900(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x82ef35
movq 0x5f80d2(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd0db(%rip), %rsi    # 0xcebfeb
leaq 0x4c0e26(%rip), %rdx    # 0xcefd3d
leaq 0x4bdb39(%rip), %rcx    # 0xceca57
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82ef37
jmp 0x82ef39
movq -0x900(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x82ef7d
movq 0x5f808a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd093(%rip), %rsi    # 0xcebfeb
leaq 0x4c0dde(%rip), %rdx    # 0xcefd3d
leaq 0x4bd9b6(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82ef7f
jmp 0x82ef81
movq -0x900(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jg 0x82efc4
movq 0x5f8043(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd762(%rip), %rsi    # 0xcec701
leaq 0x4c0d97(%rip), %rdx    # 0xcefd3d
leaq 0x4bd97f(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82efc6
jmp 0x82efc8
cmpq $0x0, -0x908(%rbp)
jne 0x82f008
movq 0x5f7fff(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd008(%rip), %rsi    # 0xcebfeb
leaq 0x4c0d53(%rip), %rdx    # 0xcefd3d
leaq 0x4bd70d(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82f00a
jmp 0x82f00c
cmpl $0x0, -0x90c(%rbp)
jg 0x82f04b
movq 0x5f7fbc(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd6db(%rip), %rsi    # 0xcec701
leaq 0x4c0d10(%rip), %rdx    # 0xcefd3d
leaq 0x4bd6e1(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82f04d
jmp 0x82f04f
cmpl $0x0, -0x910(%rbp)
jge 0x82f08e
movq 0x5f7f79(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd6b2(%rip), %rsi    # 0xcec71b
leaq 0x4c0ccd(%rip), %rdx    # 0xcefd3d
leaq 0x4bd6b9(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82f090
jmp 0x82f092
cmpl $0x0, -0x914(%rbp)
jge 0x82f0d1
movq 0x5f7f36(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x4bd66f(%rip), %rsi    # 0xcec71b
leaq 0x4c0c8a(%rip), %rdx    # 0xcefd3d
leaq 0x4bd67b(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
jmp 0x82f0d3
movl $0x0, -0x91c(%rbp)
movl $0x0, -0x920(%rbp)
movl $0x0, -0x924(%rbp)
movq -0x900(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x928(%rbp)
movl -0x928(%rbp), %eax
decl %eax
movl %eax, -0x92c(%rbp)
movl -0x90c(%rbp), %eax
decl %eax
movl %eax, -0x930(%rbp)
movq -0x900(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x938(%rbp)
movl $0x10, -0x93c(%rbp)
movl -0x928(%rbp), %esi
movl -0x93c(%rbp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, -0x940(%rbp)
movl -0x928(%rbp), %eax
decl %eax
movl -0x940(%rbp), %ecx
cltd
idivl %ecx
movl %edx, -0x944(%rbp)
movl -0x93c(%rbp), %ecx
movl -0x928(%rbp), %eax
decl %eax
movl -0x940(%rbp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, -0x948(%rbp)
movq -0x900(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x950(%rbp)
movb -0x910(%rbp), %al
movb %al, -0x8e1(%rbp)
movb -0x8e1(%rbp), %al
movb %al, -0xc72(%rbp)
movb %al, -0x851(%rbp)
movb %al, -0x852(%rbp)
movb %al, -0x853(%rbp)
movb %al, -0x854(%rbp)
movb %al, -0x855(%rbp)
movb %al, -0x856(%rbp)
movb %al, -0x857(%rbp)
movb %al, -0x858(%rbp)
movb %al, -0x859(%rbp)
movb %al, -0x85a(%rbp)
movb %al, -0x85b(%rbp)
movb %al, -0x85c(%rbp)
movb %al, -0x85d(%rbp)
movb %al, -0x85e(%rbp)
movb %al, -0x85f(%rbp)
movb %al, -0x860(%rbp)
movzbl -0x860(%rbp), %eax
movd %eax, %xmm0
movzbl -0x85f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x85e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x85d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x85c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x85b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x85a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x859(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x858(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x857(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x856(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x855(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x854(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x853(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x852(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x851(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x870(%rbp)
movaps -0x870(%rbp), %xmm0
movaps %xmm0, -0x990(%rbp)
movb -0x914(%rbp), %al
movb %al, -0x8e2(%rbp)
movb -0x8e2(%rbp), %al
movb %al, -0xc71(%rbp)
movb %al, -0x831(%rbp)
movb %al, -0x832(%rbp)
movb %al, -0x833(%rbp)
movb %al, -0x834(%rbp)
movb %al, -0x835(%rbp)
movb %al, -0x836(%rbp)
movb %al, -0x837(%rbp)
movb %al, -0x838(%rbp)
movb %al, -0x839(%rbp)
movb %al, -0x83a(%rbp)
movb %al, -0x83b(%rbp)
movb %al, -0x83c(%rbp)
movb %al, -0x83d(%rbp)
movb %al, -0x83e(%rbp)
movb %al, -0x83f(%rbp)
movb %al, -0x840(%rbp)
movzbl -0x840(%rbp), %eax
movd %eax, %xmm0
movzbl -0x83f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x83e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x83d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x83c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x83b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x83a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x839(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x838(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x837(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x836(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x835(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x834(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x833(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x832(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x831(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movdqa %xmm0, -0x850(%rbp)
movdqa -0x850(%rbp), %xmm0
movdqa %xmm0, -0x9a0(%rbp)
xorl %eax, %eax
subl -0x910(%rbp), %eax
movq -0x938(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x82f480
movl -0x910(%rbp), %eax
addl $0xffffff80, %eax       # imm = 0xFFFFFF80
movl %eax, -0xc78(%rbp)
jmp 0x82f495
movq -0x938(%rbp), %rcx
movl $0xffffff80, %eax       # imm = 0xFFFFFF80
subl 0x20(%rcx), %eax
movl %eax, -0xc78(%rbp)
movl -0xc78(%rbp), %eax
incb %al
movb %al, -0x9a1(%rbp)
movq -0x938(%rbp), %rax
movb 0x1c(%rax), %al
xorb $0x7f, %al
decb %al
movb %al, -0x9a2(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x8e0(%rbp)
movaps -0x8e0(%rbp), %xmm0
movaps %xmm0, -0x9c0(%rbp)
movb -0x9a1(%rbp), %al
movb %al, -0x9c1(%rbp)
movb -0x9a1(%rbp), %al
movb %al, -0x8e3(%rbp)
movb -0x8e3(%rbp), %al
movb %al, -0xc83(%rbp)
movb %al, -0x811(%rbp)
movb %al, -0x812(%rbp)
movb %al, -0x813(%rbp)
movb %al, -0x814(%rbp)
movb %al, -0x815(%rbp)
movb %al, -0x816(%rbp)
movb %al, -0x817(%rbp)
movb %al, -0x818(%rbp)
movb %al, -0x819(%rbp)
movb %al, -0x81a(%rbp)
movb %al, -0x81b(%rbp)
movb %al, -0x81c(%rbp)
movb %al, -0x81d(%rbp)
movb %al, -0x81e(%rbp)
movb %al, -0x81f(%rbp)
movb %al, -0x820(%rbp)
movzbl -0x820(%rbp), %eax
movd %eax, %xmm0
movzbl -0x81f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x81e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x81d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x81c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x81b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x81a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x819(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x818(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x817(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x816(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x815(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x814(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x813(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x812(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x811(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x830(%rbp)
movaps -0x830(%rbp), %xmm0
movaps %xmm0, -0x9e0(%rbp)
movb -0x9a2(%rbp), %al
movb %al, -0x8e4(%rbp)
movb -0x8e4(%rbp), %al
movb %al, -0xc82(%rbp)
movb %al, -0x7f1(%rbp)
movb %al, -0x7f2(%rbp)
movb %al, -0x7f3(%rbp)
movb %al, -0x7f4(%rbp)
movb %al, -0x7f5(%rbp)
movb %al, -0x7f6(%rbp)
movb %al, -0x7f7(%rbp)
movb %al, -0x7f8(%rbp)
movb %al, -0x7f9(%rbp)
movb %al, -0x7fa(%rbp)
movb %al, -0x7fb(%rbp)
movb %al, -0x7fc(%rbp)
movb %al, -0x7fd(%rbp)
movb %al, -0x7fe(%rbp)
movb %al, -0x7ff(%rbp)
movb %al, -0x800(%rbp)
movzbl -0x800(%rbp), %eax
movd %eax, %xmm0
movzbl -0x7ff(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x7fe(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x7fd(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x7fc(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x7fb(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x7fa(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x7f9(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x7f8(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x7f7(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x7f6(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x7f5(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x7f4(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x7f3(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x7f2(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x7f1(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x810(%rbp)
movaps -0x810(%rbp), %xmm0
movaps %xmm0, -0x9f0(%rbp)
movaps -0x9f0(%rbp), %xmm0
movaps %xmm0, -0xa00(%rbp)
movaps -0x9e0(%rbp), %xmm0
movaps %xmm0, -0xa10(%rbp)
movaps -0x9e0(%rbp), %xmm0
movaps %xmm0, -0xa20(%rbp)
movb -0x948(%rbp), %al
movb %al, -0x8e5(%rbp)
movb -0x8e5(%rbp), %al
movb %al, -0xc81(%rbp)
movb %al, -0x7d1(%rbp)
movb %al, -0x7d2(%rbp)
movb %al, -0x7d3(%rbp)
movb %al, -0x7d4(%rbp)
movb %al, -0x7d5(%rbp)
movb %al, -0x7d6(%rbp)
movb %al, -0x7d7(%rbp)
movb %al, -0x7d8(%rbp)
movb %al, -0x7d9(%rbp)
movb %al, -0x7da(%rbp)
movb %al, -0x7db(%rbp)
movb %al, -0x7dc(%rbp)
movb %al, -0x7dd(%rbp)
movb %al, -0x7de(%rbp)
movb %al, -0x7df(%rbp)
movb %al, -0x7e0(%rbp)
movzbl -0x7e0(%rbp), %eax
movd %eax, %xmm0
movzbl -0x7df(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x7de(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x7dd(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x7dc(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x7db(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x7da(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x7d9(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x7d8(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x7d7(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x7d6(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x7d5(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x7d4(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x7d3(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x7d2(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x7d1(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x7f0(%rbp)
movaps -0x7f0(%rbp), %xmm1
movb $0x0, -0x6b1(%rbp)
movb $0x1, -0x6b2(%rbp)
movb $0x2, -0x6b3(%rbp)
movb $0x3, -0x6b4(%rbp)
movb $0x4, -0x6b5(%rbp)
movb $0x5, -0x6b6(%rbp)
movb $0x6, -0x6b7(%rbp)
movb $0x7, -0x6b8(%rbp)
movb $0x8, -0x6b9(%rbp)
movb $0x9, -0x6ba(%rbp)
movb $0xa, -0x6bb(%rbp)
movb $0xb, -0x6bc(%rbp)
movb $0xc, -0x6bd(%rbp)
movb $0xd, -0x6be(%rbp)
movb $0xe, -0x6bf(%rbp)
movb $0xf, -0x6c0(%rbp)
movzbl -0x6c0(%rbp), %eax
movd %eax, %xmm0
movzbl -0x6bf(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x6be(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x6bd(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x6bc(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x6bb(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x6ba(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x6b9(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x6b8(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x6b7(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x6b6(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x6b5(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x6b4(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x6b3(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x6b2(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x6b1(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x6d0(%rbp)
movaps -0x6d0(%rbp), %xmm0
movaps %xmm1, -0x880(%rbp)
movaps %xmm0, -0x890(%rbp)
movaps -0x880(%rbp), %xmm0
movaps -0x890(%rbp), %xmm1
pcmpeqb %xmm1, %xmm0
movaps %xmm0, -0xa30(%rbp)
movaps -0x9c0(%rbp), %xmm0
movaps %xmm0, -0xa40(%rbp)
movb -0x9a1(%rbp), %al
movb %al, -0xa40(%rbp)
movaps -0xa40(%rbp), %xmm1
movl -0x940(%rbp), %eax
negl %eax
movl -0x914(%rbp), %ecx
imull %ecx, %eax
movb %al, -0x8e6(%rbp)
movb -0x8e6(%rbp), %al
movb %al, -0xc80(%rbp)
movb %al, -0x7b1(%rbp)
movb %al, -0x7b2(%rbp)
movb %al, -0x7b3(%rbp)
movb %al, -0x7b4(%rbp)
movb %al, -0x7b5(%rbp)
movb %al, -0x7b6(%rbp)
movb %al, -0x7b7(%rbp)
movb %al, -0x7b8(%rbp)
movb %al, -0x7b9(%rbp)
movb %al, -0x7ba(%rbp)
movb %al, -0x7bb(%rbp)
movb %al, -0x7bc(%rbp)
movb %al, -0x7bd(%rbp)
movb %al, -0x7be(%rbp)
movb %al, -0x7bf(%rbp)
movb %al, -0x7c0(%rbp)
movzbl -0x7c0(%rbp), %eax
movd %eax, %xmm0
movzbl -0x7bf(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x7be(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x7bd(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x7bc(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x7bb(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x7ba(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x7b9(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x7b8(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x7b7(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x7b6(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x7b5(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x7b4(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x7b3(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x7b2(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x7b1(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x7d0(%rbp)
movaps -0x7d0(%rbp), %xmm0
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movaps %xmm1, -0x600(%rbp)
movaps %xmm0, -0x610(%rbp)
movaps -0x600(%rbp), %xmm0
movaps -0x610(%rbp), %xmm1
paddsb %xmm1, %xmm0
movaps %xmm0, -0xa50(%rbp)
movb $0x1, -0x8e7(%rbp)
movb -0x8e7(%rbp), %al
movb %al, -0xc7f(%rbp)
movb %al, -0x791(%rbp)
movb %al, -0x792(%rbp)
movb %al, -0x793(%rbp)
movb %al, -0x794(%rbp)
movb %al, -0x795(%rbp)
movb %al, -0x796(%rbp)
movb %al, -0x797(%rbp)
movb %al, -0x798(%rbp)
movb %al, -0x799(%rbp)
movb %al, -0x79a(%rbp)
movb %al, -0x79b(%rbp)
movb %al, -0x79c(%rbp)
movb %al, -0x79d(%rbp)
movb %al, -0x79e(%rbp)
movb %al, -0x79f(%rbp)
movb %al, -0x7a0(%rbp)
movzbl -0x7a0(%rbp), %eax
movd %eax, %xmm0
movzbl -0x79f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x79e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x79d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x79c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x79b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x79a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x799(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x798(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x797(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x796(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x795(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x794(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x793(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x792(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x791(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x7b0(%rbp)
movaps -0x7b0(%rbp), %xmm0
movaps %xmm0, -0xa70(%rbp)
movb $0x2, -0x8e8(%rbp)
movb -0x8e8(%rbp), %al
movb %al, -0xc7e(%rbp)
movb %al, -0x771(%rbp)
movb %al, -0x772(%rbp)
movb %al, -0x773(%rbp)
movb %al, -0x774(%rbp)
movb %al, -0x775(%rbp)
movb %al, -0x776(%rbp)
movb %al, -0x777(%rbp)
movb %al, -0x778(%rbp)
movb %al, -0x779(%rbp)
movb %al, -0x77a(%rbp)
movb %al, -0x77b(%rbp)
movb %al, -0x77c(%rbp)
movb %al, -0x77d(%rbp)
movb %al, -0x77e(%rbp)
movb %al, -0x77f(%rbp)
movb %al, -0x780(%rbp)
movzbl -0x780(%rbp), %eax
movd %eax, %xmm0
movzbl -0x77f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x77e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x77d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x77c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x77b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x77a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x779(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x778(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x777(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x776(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x775(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x774(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x773(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x772(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x771(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x790(%rbp)
movaps -0x790(%rbp), %xmm0
movaps %xmm0, -0xa80(%rbp)
movb $0x4, -0x8e9(%rbp)
movb -0x8e9(%rbp), %al
movb %al, -0xc7d(%rbp)
movb %al, -0x751(%rbp)
movb %al, -0x752(%rbp)
movb %al, -0x753(%rbp)
movb %al, -0x754(%rbp)
movb %al, -0x755(%rbp)
movb %al, -0x756(%rbp)
movb %al, -0x757(%rbp)
movb %al, -0x758(%rbp)
movb %al, -0x759(%rbp)
movb %al, -0x75a(%rbp)
movb %al, -0x75b(%rbp)
movb %al, -0x75c(%rbp)
movb %al, -0x75d(%rbp)
movb %al, -0x75e(%rbp)
movb %al, -0x75f(%rbp)
movb %al, -0x760(%rbp)
movzbl -0x760(%rbp), %eax
movd %eax, %xmm0
movzbl -0x75f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x75e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x75d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x75c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x75b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x75a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x759(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x758(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x757(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x756(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x755(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x754(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x753(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x752(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x751(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x770(%rbp)
movaps -0x770(%rbp), %xmm0
movaps %xmm0, -0xa90(%rbp)
movb $0x8, -0x8ea(%rbp)
movb -0x8ea(%rbp), %al
movb %al, -0xc7c(%rbp)
movb %al, -0x731(%rbp)
movb %al, -0x732(%rbp)
movb %al, -0x733(%rbp)
movb %al, -0x734(%rbp)
movb %al, -0x735(%rbp)
movb %al, -0x736(%rbp)
movb %al, -0x737(%rbp)
movb %al, -0x738(%rbp)
movb %al, -0x739(%rbp)
movb %al, -0x73a(%rbp)
movb %al, -0x73b(%rbp)
movb %al, -0x73c(%rbp)
movb %al, -0x73d(%rbp)
movb %al, -0x73e(%rbp)
movb %al, -0x73f(%rbp)
movb %al, -0x740(%rbp)
movzbl -0x740(%rbp), %eax
movd %eax, %xmm0
movzbl -0x73f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x73e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x73d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x73c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x73b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x73a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x739(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x738(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x737(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x736(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x735(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x734(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x733(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x732(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x731(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x750(%rbp)
movaps -0x750(%rbp), %xmm0
movaps %xmm0, -0xaa0(%rbp)
movb $0x10, -0x8eb(%rbp)
movb -0x8eb(%rbp), %al
movb %al, -0xc7b(%rbp)
movb %al, -0x711(%rbp)
movb %al, -0x712(%rbp)
movb %al, -0x713(%rbp)
movb %al, -0x714(%rbp)
movb %al, -0x715(%rbp)
movb %al, -0x716(%rbp)
movb %al, -0x717(%rbp)
movb %al, -0x718(%rbp)
movb %al, -0x719(%rbp)
movb %al, -0x71a(%rbp)
movb %al, -0x71b(%rbp)
movb %al, -0x71c(%rbp)
movb %al, -0x71d(%rbp)
movb %al, -0x71e(%rbp)
movb %al, -0x71f(%rbp)
movb %al, -0x720(%rbp)
movzbl -0x720(%rbp), %eax
movd %eax, %xmm0
movzbl -0x71f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x71e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x71d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x71c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x71b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x71a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x719(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x718(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x717(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x716(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x715(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x714(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x713(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x712(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x711(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x730(%rbp)
movaps -0x730(%rbp), %xmm0
movaps %xmm0, -0xab0(%rbp)
movb $0x20, -0x8ec(%rbp)
movb -0x8ec(%rbp), %al
movb %al, -0xc7a(%rbp)
movb %al, -0x6f1(%rbp)
movb %al, -0x6f2(%rbp)
movb %al, -0x6f3(%rbp)
movb %al, -0x6f4(%rbp)
movb %al, -0x6f5(%rbp)
movb %al, -0x6f6(%rbp)
movb %al, -0x6f7(%rbp)
movb %al, -0x6f8(%rbp)
movb %al, -0x6f9(%rbp)
movb %al, -0x6fa(%rbp)
movb %al, -0x6fb(%rbp)
movb %al, -0x6fc(%rbp)
movb %al, -0x6fd(%rbp)
movb %al, -0x6fe(%rbp)
movb %al, -0x6ff(%rbp)
movb %al, -0x700(%rbp)
movzbl -0x700(%rbp), %eax
movd %eax, %xmm0
movzbl -0x6ff(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x6fe(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x6fd(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x6fc(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x6fb(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x6fa(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x6f9(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x6f8(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x6f7(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x6f6(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x6f5(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x6f4(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x6f3(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x6f2(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x6f1(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x710(%rbp)
movaps -0x710(%rbp), %xmm0
movaps %xmm0, -0xac0(%rbp)
movb $0x40, -0x8ed(%rbp)
movb -0x8ed(%rbp), %al
movb %al, -0xc79(%rbp)
movb %al, -0x6d1(%rbp)
movb %al, -0x6d2(%rbp)
movb %al, -0x6d3(%rbp)
movb %al, -0x6d4(%rbp)
movb %al, -0x6d5(%rbp)
movb %al, -0x6d6(%rbp)
movb %al, -0x6d7(%rbp)
movb %al, -0x6d8(%rbp)
movb %al, -0x6d9(%rbp)
movb %al, -0x6da(%rbp)
movb %al, -0x6db(%rbp)
movb %al, -0x6dc(%rbp)
movb %al, -0x6dd(%rbp)
movb %al, -0x6de(%rbp)
movb %al, -0x6df(%rbp)
movb %al, -0x6e0(%rbp)
movzbl -0x6e0(%rbp), %eax
movd %eax, %xmm0
movzbl -0x6df(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x6de(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x6dd(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x6dc(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x6db(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x6da(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x6d9(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x6d8(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x6d7(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x6d6(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x6d5(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x6d4(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x6d3(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x6d2(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x6d1(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movdqa -0x6f0(%rbp), %xmm0
movdqa %xmm0, -0xad0(%rbp)
movl -0x940(%rbp), %edi
movl -0x90c(%rbp), %esi
movl $0x10, %ecx
movq %rcx, %rdx
callq 0x1c3fa0
movq %rax, -0xa58(%rbp)
cmpq $0x0, -0xa58(%rbp)
jne 0x8305c5
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
movq -0xa58(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x10180402, %ecx       # imm = 0x10180402
movl %ecx, 0xc(%rax)
movl -0x918(%rbp), %edx
xorl %ecx, %ecx
movl $0x8, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq -0xa58(%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 -0xa58(%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 -0xa58(%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 -0xa58(%rbp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movslq -0x940(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x958(%rbp)
movl -0x90c(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3600
movq %rax, -0x960(%rbp)
movslq -0x940(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x968(%rbp)
movslq -0x940(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x970(%rbp)
movslq -0x940(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x978(%rbp)
cmpq $0x0, -0x958(%rbp)
jne 0x8306e6
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
cmpq $0x0, -0x960(%rbp)
jne 0x830700
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
cmpq $0x0, -0x968(%rbp)
jne 0x83071a
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
cmpq $0x0, -0x970(%rbp)
jne 0x830734
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
cmpq $0x0, -0x978(%rbp)
jne 0x83074e
movq $0x0, -0x8f8(%rbp)
jmp 0x831bc3
movl $0x0, -0xad4(%rbp)
movl $0x0, -0x91c(%rbp)
movl -0x91c(%rbp), %eax
cmpl -0x940(%rbp), %eax
jge 0x830933
movl $0x0, -0xad8(%rbp)
movl $0x0, -0xad8(%rbp)
movl -0xad8(%rbp), %eax
cmpl -0x93c(%rbp), %eax
jge 0x830892
cmpl $0x0, -0x918(%rbp)
je 0x8307ad
xorl %eax, %eax
movl %eax, -0xc88(%rbp)
jmp 0x8307d9
xorl %eax, %eax
subl -0x910(%rbp), %eax
movl -0x914(%rbp), %ecx
movl -0xad8(%rbp), %edx
imull -0x940(%rbp), %edx
addl -0x91c(%rbp), %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, -0xc88(%rbp)
movl -0xc88(%rbp), %eax
cltq
movq %rax, -0xb08(%rbp)
cmpq $-0x80, -0xb08(%rbp)
jge 0x830802
movq $-0x80, %rax
movq %rax, -0xc90(%rbp)
jmp 0x830810
movq -0xb08(%rbp), %rax
movq %rax, -0xc90(%rbp)
movq -0xc90(%rbp), %rax
movb %al, %cl
movslq -0xad8(%rbp), %rax
movb %cl, -0xaf0(%rbp,%rax)
movq -0xb08(%rbp), %rax
movslq -0x910(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0xb08(%rbp)
cmpq $-0x80, -0xb08(%rbp)
jge 0x830859
movq $-0x80, %rax
movq %rax, -0xc98(%rbp)
jmp 0x830867
movq -0xb08(%rbp), %rax
movq %rax, -0xc98(%rbp)
movq -0xc98(%rbp), %rax
movb %al, %cl
movslq -0xad8(%rbp), %rax
movb %cl, -0xb00(%rbp,%rax)
movl -0xad8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xad8(%rbp)
jmp 0x830788
movq -0x970(%rbp), %rax
movslq -0xad4(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0xaf0(%rbp), %xmm0
movq %rax, -0x518(%rbp)
movdqa %xmm0, -0x530(%rbp)
movdqa -0x530(%rbp), %xmm0
movq -0x518(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x958(%rbp), %rax
movslq -0xad4(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0xb00(%rbp), %xmm0
movq %rax, -0x538(%rbp)
movdqa %xmm0, -0x550(%rbp)
movdqa -0x550(%rbp), %xmm0
movq -0x538(%rbp), %rax
movdqa %xmm0, (%rax)
movl -0xad4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xad4(%rbp)
movl -0x91c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x91c(%rbp)
jmp 0x830762
movq -0x960(%rbp), %rax
movb $0x0, (%rax)
movl $0x1, -0x91c(%rbp)
movl -0x91c(%rbp), %eax
cmpl -0x90c(%rbp), %eax
jg 0x8309f0
cmpl $0x0, 0x18(%rbp)
je 0x830969
xorl %eax, %eax
movl %eax, -0xc9c(%rbp)
jmp 0x83098b
xorl %eax, %eax
subl -0x910(%rbp), %eax
movl -0x914(%rbp), %ecx
movl -0x91c(%rbp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, -0xc9c(%rbp)
movl -0xc9c(%rbp), %eax
cltq
movq %rax, -0xb10(%rbp)
cmpq $-0x80, -0xb10(%rbp)
jge 0x8309b4
movq $-0x80, %rax
movq %rax, -0xca8(%rbp)
jmp 0x8309c2
movq -0xb10(%rbp), %rax
movq %rax, -0xca8(%rbp)
movq -0xca8(%rbp), %rax
movb %al, %dl
movq -0x960(%rbp), %rax
movslq -0x91c(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x91c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x91c(%rbp)
jmp 0x830947
movdqa -0x9c0(%rbp), %xmm1
movdqa -0x990(%rbp), %xmm0
movdqa %xmm1, -0x440(%rbp)
movdqa %xmm0, -0x450(%rbp)
movdqa -0x440(%rbp), %xmm0
movdqa -0x450(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0xb20(%rbp)
movl -0x940(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x91c(%rbp)
cmpl $0x0, -0x91c(%rbp)
jl 0x830b14
movq -0x978(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0xb20(%rbp), %xmm0
movq %rax, -0x558(%rbp)
movdqa %xmm0, -0x570(%rbp)
movdqa -0x570(%rbp), %xmm0
movq -0x558(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0xb20(%rbp), %xmm1
movdqa -0x9a0(%rbp), %xmm0
movdqa %xmm1, -0x460(%rbp)
movdqa %xmm0, -0x470(%rbp)
movdqa -0x460(%rbp), %xmm0
movdqa -0x470(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0xb20(%rbp)
movdqa -0xa00(%rbp), %xmm1
movdqa -0xb20(%rbp), %xmm0
movdqa %xmm1, -0x3c0(%rbp)
movdqa %xmm0, -0x3d0(%rbp)
movdqa -0x3c0(%rbp), %xmm0
movdqa -0x3d0(%rbp), %xmm1
pminsb %xmm1, %xmm0
movdqa %xmm0, -0xa00(%rbp)
movl -0x91c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x91c(%rbp)
jmp 0x830a3b
movl $0x0, -0x920(%rbp)
movl -0x920(%rbp), %eax
cmpl -0x90c(%rbp), %eax
jge 0x831831
movq -0x970(%rbp), %rax
movl -0x940(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x368(%rbp)
movq -0x368(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xbb0(%rbp)
movaps -0xbb0(%rbp), %xmm0
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movaps %xmm0, -0xbb0(%rbp)
movaps -0xbb0(%rbp), %xmm0
movq -0x960(%rbp), %rax
movslq -0x920(%rbp), %rcx
movzbl (%rax,%rcx), %eax
pinsrb $0x0, %eax, %xmm0
movdqa %xmm0, -0xbb0(%rbp)
movq -0x950(%rbp), %rax
movq -0x938(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x908(%rbp), %rdx
movslq -0x920(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull -0x940(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0xbb8(%rbp)
movdqa -0x9e0(%rbp), %xmm1
movq -0x978(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm1, -0x480(%rbp)
movdqa %xmm0, -0x490(%rbp)
movdqa -0x480(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0xb60(%rbp)
movdqa -0x9e0(%rbp), %xmm0
movdqa %xmm0, -0xb70(%rbp)
movl $0x0, -0x91c(%rbp)
movl -0x91c(%rbp), %eax
cmpl -0x940(%rbp), %eax
jge 0x83106b
movq -0x970(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x370(%rbp)
movq -0x370(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xba0(%rbp)
movq -0x958(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x378(%rbp)
movq -0x378(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xb30(%rbp)
movq -0xbb8(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x380(%rbp)
movq -0x380(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xbd0(%rbp)
movq -0x978(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x388(%rbp)
movq -0x388(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xc00(%rbp)
movaps -0xba0(%rbp), %xmm1
movaps -0x990(%rbp), %xmm0
movaps %xmm1, -0x4a0(%rbp)
movaps %xmm0, -0x4b0(%rbp)
movaps -0x4a0(%rbp), %xmm0
movaps -0x4b0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movaps %xmm0, -0xb50(%rbp)
movaps -0xb30(%rbp), %xmm1
movaps -0x9a0(%rbp), %xmm0
movaps %xmm1, -0x4c0(%rbp)
movaps %xmm0, -0x4d0(%rbp)
movaps -0x4c0(%rbp), %xmm0
movaps -0x4d0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movaps %xmm0, -0xb40(%rbp)
movaps -0xb50(%rbp), %xmm1
movaps -0xb40(%rbp), %xmm0
movaps %xmm1, -0x2f0(%rbp)
movaps %xmm0, -0x300(%rbp)
movaps -0x2f0(%rbp), %xmm0
movaps -0x300(%rbp), %xmm1
pcmpgtb %xmm1, %xmm0
movdqa %xmm0, -0xbe0(%rbp)
movdqa -0xab0(%rbp), %xmm2
movdqa -0xaa0(%rbp), %xmm1
movdqa -0xbe0(%rbp), %xmm0
movdqa %xmm2, -0x230(%rbp)
movdqa %xmm1, -0x240(%rbp)
movdqa %xmm0, -0x250(%rbp)
movdqa -0x230(%rbp), %xmm1
movdqa -0x240(%rbp), %xmm2
movdqa -0x250(%rbp), %xmm0
pblendvb %xmm0, %xmm2, %xmm1
movaps %xmm1, %xmm0
movdqa %xmm0, -0xc20(%rbp)
movq -0xa58(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0xc20(%rbp), %xmm0
movl -0x91c(%rbp), %esi
movl -0x940(%rbp), %edx
movl -0x920(%rbp), %ecx
callq 0x831be0
movdqa -0xb50(%rbp), %xmm1
movdqa -0xb40(%rbp), %xmm0
movdqa %xmm1, -0xf0(%rbp)
movdqa %xmm0, -0x100(%rbp)
movdqa -0xf0(%rbp), %xmm0
movdqa -0x100(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xb30(%rbp)
movdqa -0xa00(%rbp), %xmm1
movdqa -0xb30(%rbp), %xmm0
movdqa %xmm1, -0x3e0(%rbp)
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x3e0(%rbp), %xmm0
movdqa -0x3f0(%rbp), %xmm1
pminsb %xmm1, %xmm0
movdqa %xmm0, -0xa00(%rbp)
movdqa -0xb60(%rbp), %xmm1
movdqa -0xc00(%rbp), %xmm0
movdqa %xmm1, -0x620(%rbp)
movdqa %xmm0, -0x630(%rbp)
movdqa -0x620(%rbp), %xmm0
movdqa -0x630(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0xc00(%rbp)
movdqa -0xb70(%rbp), %xmm1
movdqa -0xc00(%rbp), %xmm0
movdqa %xmm1, -0x110(%rbp)
movdqa %xmm0, -0x120(%rbp)
movdqa -0x110(%rbp), %xmm0
movdqa -0x120(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xb70(%rbp)
movdqa -0xbb0(%rbp), %xmm1
movdqa -0xbd0(%rbp), %xmm0
movdqa %xmm1, -0x640(%rbp)
movdqa %xmm0, -0x650(%rbp)
movdqa -0x640(%rbp), %xmm0
movdqa -0x650(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0xbb0(%rbp)
movdqa -0xb30(%rbp), %xmm1
movdqa -0xbb0(%rbp), %xmm0
movdqa %xmm1, -0x130(%rbp)
movdqa %xmm0, -0x140(%rbp)
movdqa -0x130(%rbp), %xmm0
movdqa -0x140(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xb60(%rbp)
movq -0x958(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0xb30(%rbp), %xmm0
movq %rax, -0x578(%rbp)
movdqa %xmm0, -0x590(%rbp)
movdqa -0x590(%rbp), %xmm0
movq -0x578(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x968(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0xb60(%rbp), %xmm0
movq %rax, -0x598(%rbp)
movdqa %xmm0, -0x5b0(%rbp)
movdqa -0x5b0(%rbp), %xmm0
movq -0x598(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x970(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0xbb0(%rbp), %xmm0
movq %rax, -0x5b8(%rbp)
movdqa %xmm0, -0x5d0(%rbp)
movdqa -0x5d0(%rbp), %xmm0
movq -0x5b8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0xba0(%rbp), %xmm0
movdqa %xmm0, -0xbb0(%rbp)
movl -0x91c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x91c(%rbp)
jmp 0x830c33
movaps -0xb60(%rbp), %xmm0
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movaps %xmm0, -0xb60(%rbp)
movaps -0xb60(%rbp), %xmm0
movq -0x960(%rbp), %rcx
movslq -0x920(%rbp), %rax
movzbl 0x1(%rax,%rcx), %eax
pinsrb $0x0, %eax, %xmm0
movdqa %xmm0, -0xb60(%rbp)
movq -0x978(%rbp), %rax
movq %rax, -0x390(%rbp)
movq -0x390(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0xc00(%rbp)
movdqa -0xb60(%rbp), %xmm1
movdqa -0xc00(%rbp), %xmm0
movdqa %xmm1, -0x660(%rbp)
movdqa %xmm0, -0x670(%rbp)
movdqa -0x660(%rbp), %xmm0
movdqa -0x670(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0xc00(%rbp)
movdqa -0xb70(%rbp), %xmm1
movdqa -0xc00(%rbp), %xmm0
movdqa %xmm1, -0x150(%rbp)
movdqa %xmm0, -0x160(%rbp)
movdqa -0x150(%rbp), %xmm0
movdqa -0x160(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xb70(%rbp)
movl $0x0, -0x91c(%rbp)
movl -0x91c(%rbp), %eax
movl -0x93c(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0x831202
movaps -0xb70(%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, -0xc40(%rbp)
movdqa -0xc40(%rbp), %xmm1
movdqa -0xa50(%rbp), %xmm0
movdqa %xmm1, -0x680(%rbp)
movdqa %xmm0, -0x690(%rbp)
movdqa -0x680(%rbp), %xmm0
movdqa -0x690(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0xc40(%rbp)
movdqa -0xb70(%rbp), %xmm1
movdqa -0xc40(%rbp), %xmm0
movdqa %xmm1, -0x170(%rbp)
movdqa %xmm0, -0x180(%rbp)
movdqa -0x170(%rbp), %xmm0
movdqa -0x180(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xb70(%rbp)
movl -0x91c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x91c(%rbp)
jmp 0x83114a
movaps -0xb70(%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, -0xb70(%rbp)
movdqa -0xb70(%rbp), %xmm1
movdqa -0xa40(%rbp), %xmm0
movdqa %xmm1, -0x6a0(%rbp)
movdqa %xmm0, -0x6b0(%rbp)
movdqa -0x6a0(%rbp), %xmm0
movdqa -0x6b0(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0xb70(%rbp)
movdqa -0xb70(%rbp), %xmm1
movdqa -0xb60(%rbp), %xmm0
movdqa %xmm1, -0x190(%rbp)
movdqa %xmm0, -0x1a0(%rbp)
movdqa -0x190(%rbp), %xmm0
movdqa -0x1a0(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xba0(%rbp)
movl $0x0, -0x91c(%rbp)
movl -0x91c(%rbp), %eax
cmpl -0x940(%rbp), %eax
jge 0x831739
movq -0xa58(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movl -0x91c(%rbp), %esi
movl -0x940(%rbp), %edx
movl -0x920(%rbp), %ecx
callq 0x831c40
movaps %xmm0, -0xc20(%rbp)
movq -0x970(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x398(%rbp)
movq -0x398(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xbb0(%rbp)
movq -0x968(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x3a0(%rbp)
movq -0x3a0(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xb60(%rbp)
movaps -0xba0(%rbp), %xmm1
movaps -0x990(%rbp), %xmm0
movaps %xmm1, -0x4e0(%rbp)
movaps %xmm0, -0x4f0(%rbp)
movaps -0x4e0(%rbp), %xmm0
movaps -0x4f0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movaps %xmm0, -0xb90(%rbp)
movaps -0xb70(%rbp), %xmm1
movaps -0x9a0(%rbp), %xmm0
movaps %xmm1, -0x500(%rbp)
movaps %xmm0, -0x510(%rbp)
movaps -0x500(%rbp), %xmm0
movaps -0x510(%rbp), %xmm1
psubsb %xmm1, %xmm0
movaps %xmm0, -0xb80(%rbp)
movaps -0xb90(%rbp), %xmm1
movaps -0xb80(%rbp), %xmm0
movaps %xmm1, -0x1b0(%rbp)
movaps %xmm0, -0x1c0(%rbp)
movaps -0x1b0(%rbp), %xmm0
movaps -0x1c0(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movaps %xmm0, -0xb70(%rbp)
movaps -0xb90(%rbp), %xmm1
movaps -0xb80(%rbp), %xmm0
movaps %xmm1, -0x310(%rbp)
movaps %xmm0, -0x320(%rbp)
movaps -0x310(%rbp), %xmm0
movaps -0x320(%rbp), %xmm1
pcmpgtb %xmm1, %xmm0
movaps %xmm0, -0xbe0(%rbp)
movaps -0xad0(%rbp), %xmm2
movaps -0xac0(%rbp), %xmm1
movaps -0xbe0(%rbp), %xmm0
movaps %xmm2, -0x260(%rbp)
movaps %xmm1, -0x270(%rbp)
movaps %xmm0, -0x280(%rbp)
movaps -0x260(%rbp), %xmm1
movaps -0x270(%rbp), %xmm2
movaps -0x280(%rbp), %xmm0
pblendvb %xmm0, %xmm2, %xmm1
movaps %xmm1, %xmm0
movaps %xmm0, -0xc30(%rbp)
movaps -0xb60(%rbp), %xmm1
movaps -0xb70(%rbp), %xmm0
movaps %xmm1, -0x1d0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
movaps -0x1d0(%rbp), %xmm0
movaps -0x1e0(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movaps %xmm0, -0xba0(%rbp)
movaps -0xba0(%rbp), %xmm1
movaps -0xbb0(%rbp), %xmm0
movaps %xmm1, -0x8a0(%rbp)
movaps %xmm0, -0x8b0(%rbp)
movaps -0x8a0(%rbp), %xmm0
movaps -0x8b0(%rbp), %xmm1
pcmpeqb %xmm1, %xmm0
movaps %xmm0, -0xbe0(%rbp)
movaps -0xba0(%rbp), %xmm1
movaps -0xb70(%rbp), %xmm0
movaps %xmm1, -0x8c0(%rbp)
movaps %xmm0, -0x8d0(%rbp)
movaps -0x8c0(%rbp), %xmm0
movaps -0x8d0(%rbp), %xmm1
pcmpeqb %xmm1, %xmm0
movdqa %xmm0, -0xbf0(%rbp)
movdqa -0xa70(%rbp), %xmm2
movdqa -0xa80(%rbp), %xmm1
movdqa -0xbf0(%rbp), %xmm0
movdqa %xmm2, -0x290(%rbp)
movdqa %xmm1, -0x2a0(%rbp)
movdqa %xmm0, -0x2b0(%rbp)
movdqa -0x290(%rbp), %xmm2
movdqa -0x2a0(%rbp), %xmm1
movdqa -0x2b0(%rbp), %xmm0
pblendvb %xmm0, %xmm1, %xmm2
movdqa -0xa90(%rbp), %xmm1
movdqa -0xbe0(%rbp), %xmm0
movdqa %xmm2, -0x2c0(%rbp)
movdqa %xmm1, -0x2d0(%rbp)
movdqa %xmm0, -0x2e0(%rbp)
movdqa -0x2c0(%rbp), %xmm1
movdqa -0x2d0(%rbp), %xmm2
movdqa -0x2e0(%rbp), %xmm0
pblendvb %xmm0, %xmm2, %xmm1
movaps %xmm1, %xmm0
movdqa %xmm0, -0xc10(%rbp)
movdqa -0xc10(%rbp), %xmm1
movdqa -0xc20(%rbp), %xmm0
movdqa %xmm1, -0x90(%rbp)
movdqa %xmm0, -0xa0(%rbp)
movdqa -0x90(%rbp), %xmm0
por -0xa0(%rbp), %xmm0
movdqa %xmm0, -0xc10(%rbp)
movdqa -0xc10(%rbp), %xmm1
movdqa -0xc30(%rbp), %xmm0
movdqa %xmm1, -0xb0(%rbp)
movdqa %xmm0, -0xc0(%rbp)
movdqa -0xb0(%rbp), %xmm0
por -0xc0(%rbp), %xmm0
movdqa %xmm0, -0xc10(%rbp)
movq -0xa58(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0xc10(%rbp), %xmm0
movl -0x91c(%rbp), %esi
movl -0x940(%rbp), %edx
movl -0x920(%rbp), %ecx
callq 0x831be0
movq -0x970(%rbp), %rax
movslq -0x91c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0xba0(%rbp), %xmm0
movq %rax, -0x5d8(%rbp)
movdqa %xmm0, -0x5f0(%rbp)
movdqa -0x5f0(%rbp), %xmm0
movq -0x5d8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0xa00(%rbp), %xmm1
movdqa -0xba0(%rbp), %xmm0
movdqa %xmm1, -0x400(%rbp)
movdqa %xmm0, -0x410(%rbp)
movdqa -0x400(%rbp), %xmm0
movdqa -0x410(%rbp), %xmm1
pminsb %xmm1, %xmm0
movdqa %xmm0, -0xa00(%rbp)
movdqa -0xa00(%rbp), %xmm1
movdqa -0xb70(%rbp), %xmm0
movdqa %xmm1, -0x420(%rbp)
movdqa %xmm0, -0x430(%rbp)
movdqa -0x420(%rbp), %xmm0
movdqa -0x430(%rbp), %xmm1
pminsb %xmm1, %xmm0
movdqa %xmm0, -0xa00(%rbp)
movdqa -0xa10(%rbp), %xmm1
movdqa -0xba0(%rbp), %xmm0
movdqa %xmm1, -0x1f0(%rbp)
movdqa %xmm0, -0x200(%rbp)
movdqa -0x1f0(%rbp), %xmm0
movdqa -0x200(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xa10(%rbp)
movl -0x91c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x91c(%rbp)
jmp 0x831299
movq -0x970(%rbp), %rax
movslq -0x944(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x3a8(%rbp)
movq -0x3a8(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0xba0(%rbp)
movaps -0xa30(%rbp), %xmm1
movaps -0xba0(%rbp), %xmm2
movaps -0xa20(%rbp), %xmm0
movaps %xmm2, -0x330(%rbp)
movaps %xmm0, -0x340(%rbp)
movaps -0x330(%rbp), %xmm0
movaps -0x340(%rbp), %xmm2
pcmpgtb %xmm2, %xmm0
movdqa %xmm1, -0x70(%rbp)
movdqa %xmm0, -0x80(%rbp)
movdqa -0x70(%rbp), %xmm0
pand -0x80(%rbp), %xmm0
movdqa %xmm0, -0xc50(%rbp)
movdqa -0xba0(%rbp), %xmm1
movdqa -0xa20(%rbp), %xmm0
movdqa %xmm1, -0x210(%rbp)
movdqa %xmm0, -0x220(%rbp)
movdqa -0x210(%rbp), %xmm0
movdqa -0x220(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0xa20(%rbp)
movdqa -0xc50(%rbp), %xmm0
movdqa %xmm0, -0x50(%rbp)
movdqa -0x50(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x83181b
movl -0x920(%rbp), %eax
movl %eax, -0x930(%rbp)
jmp 0x83181d
movl -0x920(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x920(%rbp)
jmp 0x830b1e
cmpl $0x0, 0x20(%rbp)
je 0x831899
movl $0x0, -0x924(%rbp)
movl -0x924(%rbp), %eax
cmpl -0x948(%rbp), %eax
jge 0x831874
movaps -0xa20(%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, -0xa20(%rbp)
movl -0x924(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x924(%rbp)
jmp 0x831841
movaps -0xa20(%rbp), %xmm0
pextrb $0xf, %xmm0, %eax
movzbl %al, %eax
movb %al, -0x9c1(%rbp)
movl -0x928(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x92c(%rbp)
cmpl $0x0, 0x10(%rbp)
je 0x8319d7
movq -0x970(%rbp), %rax
movq %rax, -0xc58(%rbp)
movl -0x940(%rbp), %eax
imull -0x93c(%rbp), %eax
movl %eax, -0xc5c(%rbp)
movl $0x0, -0x91c(%rbp)
movl -0x91c(%rbp), %eax
cmpl -0xc5c(%rbp), %eax
jge 0x8319d5
movl -0x91c(%rbp), %eax
cltd
idivl -0x93c(%rbp)
movl %eax, -0xcac(%rbp)
movl -0x91c(%rbp), %eax
cltd
idivl -0x93c(%rbp)
movl -0xcac(%rbp), %eax
imull -0x940(%rbp), %edx
addl %edx, %eax
movl %eax, -0xc60(%rbp)
movl -0xc60(%rbp), %eax
cmpl -0x928(%rbp), %eax
jl 0x831928
jmp 0x8319af
movq -0xc58(%rbp), %rax
movsbl (%rax), %eax
movsbl -0x9c1(%rbp), %ecx
cmpl %ecx, %eax
jle 0x831969
movq -0xc58(%rbp), %rax
movb (%rax), %al
movb %al, -0x9c1(%rbp)
movl -0xc60(%rbp), %eax
movl %eax, -0x92c(%rbp)
movl -0x90c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x930(%rbp)
jmp 0x8319ad
movq -0xc58(%rbp), %rax
movsbl (%rax), %eax
movsbl -0x9c1(%rbp), %ecx
cmpl %ecx, %eax
jne 0x8319ab
movl -0x930(%rbp), %eax
movl -0x90c(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x8319ab
movl -0xc60(%rbp), %eax
cmpl -0x92c(%rbp), %eax
jge 0x8319ab
movl -0xc60(%rbp), %eax
movl %eax, -0x92c(%rbp)
jmp 0x8319ad
jmp 0x8319af
movl -0x91c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x91c(%rbp)
movq -0xc58(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xc58(%rbp)
jmp 0x8318ce
jmp 0x8319d7
cmpl $0x0, 0x10(%rbp)
jne 0x831a8b
cmpl $0x0, 0x20(%rbp)
jne 0x831a8b
movq -0x970(%rbp), %rax
movslq -0x944(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x3b0(%rbp)
movq -0x3b0(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0xc70(%rbp)
movl $0x0, -0x924(%rbp)
movl -0x924(%rbp), %eax
cmpl -0x948(%rbp), %eax
jge 0x831a57
movaps -0xc70(%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, -0xc70(%rbp)
movl -0x924(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x924(%rbp)
jmp 0x831a24
movaps -0xc70(%rbp), %xmm0
pextrb $0xf, %xmm0, %eax
movzbl %al, %eax
movb %al, -0x9c1(%rbp)
movl -0x90c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x930(%rbp)
movl -0x928(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x92c(%rbp)
movaps -0xa00(%rbp), %xmm1
movaps -0x9e0(%rbp), %xmm0
movaps %xmm1, -0x30(%rbp)
movaps %xmm0, -0x40(%rbp)
movaps -0x40(%rbp), %xmm1
movaps -0x30(%rbp), %xmm0
movaps %xmm1, -0x10(%rbp)
movaps %xmm0, -0x20(%rbp)
movaps -0x10(%rbp), %xmm1
movaps -0x20(%rbp), %xmm0
pcmpgtb %xmm0, %xmm1
movaps -0xa10(%rbp), %xmm2
movaps -0x9f0(%rbp), %xmm0
movaps %xmm2, -0x350(%rbp)
movaps %xmm0, -0x360(%rbp)
movaps -0x350(%rbp), %xmm0
movaps -0x360(%rbp), %xmm2
pcmpgtb %xmm2, %xmm0
movdqa %xmm1, -0xd0(%rbp)
movdqa %xmm0, -0xe0(%rbp)
movdqa -0xd0(%rbp), %xmm0
por -0xe0(%rbp), %xmm0
movdqa %xmm0, -0x60(%rbp)
movdqa -0x60(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x831b49
movq -0xa58(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movb $0x0, -0x9c1(%rbp)
movl $0x0, -0x92c(%rbp)
movl $0x0, -0x930(%rbp)
movsbl -0x9c1(%rbp), %ecx
movq -0xa58(%rbp), %rax
movl %ecx, (%rax)
movl -0x92c(%rbp), %ecx
movq -0xa58(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x930(%rbp), %ecx
movq -0xa58(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x978(%rbp), %rdi
callq 0x1c3590
movq -0x970(%rbp), %rdi
callq 0x1c3590
movq -0x968(%rbp), %rdi
callq 0x1c3590
movq -0x960(%rbp), %rdi
callq 0x1c3590
movq -0x958(%rbp), %rdi
callq 0x1c3590
movq -0xa58(%rbp), %rax
movq %rax, -0x8f8(%rbp)
movq -0x8f8(%rbp), %rax
addq $0xcb0, %rsp            # imm = 0xCB0
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)