// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_scan_sse2_128_8.c
// Function: parasail_nw_rowcol_scan_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 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 vNegInfFront;
    __m128i vSegLenXgap;
    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;
    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;
    vNegInfFront = vZero;
    vNegInfFront = _mm_insert_epi8_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm_adds_epi8(vNegInfFront,
            _mm_slli_si128(_mm_set1_epi8(-segLen*gap), 1));

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

    /* set known flags */
    result->flag |= PARASAIL_FLAG_NW | PARASAIL_FLAG_SCAN
        | 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 */
    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 = -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 = -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);
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vE;
        __m128i vHt;
        __m128i vF;
        __m128i vH;
        __m128i vHp;
        __m128i *pvW;
        __m128i vW;

        /* 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_rpl(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);
            vE = _mm_max_epi8_rpl(
                    _mm_subs_epi8(vE, vGapE),
                    _mm_subs_epi8(vH, vGapO));
            vHp = _mm_adds_epi8(vHp, vW);
            vF = _mm_max_epi8_rpl(vF, _mm_adds_epi8(vHt, pvGapper[i]));
            vHt = _mm_max_epi8_rpl(vE, vHp);
            _mm_store_si128(pvE+i, vE);
            _mm_store_si128(pvHt+i, vHt);
            vHp = vH;
        }

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

        /* calculate final H */
        vF = _mm_slli_si128(vF, 1);
        vF = _mm_adds_epi8(vF, vNegInfFront);
        vH = _mm_max_epi8_rpl(vHt, vF);
        for (i=0; i<segLen; ++i) {
            vHt = _mm_load_si128(pvHt+i);
            vF = _mm_max_epi8_rpl(
                    _mm_subs_epi8(vF, vGapE),
                    _mm_subs_epi8(vH, vGapO));
            vH = _mm_max_epi8_rpl(vHt, vF);
            _mm_store_si128(pvH+i, vH);
            vSaturationCheckMin = _mm_min_epi8_rpl(vSaturationCheckMin, vH);
            vSaturationCheckMax = _mm_max_epi8_rpl(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
            arr_store_si128(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
        } 


#ifdef PARASAIL_ROWCOL
        /* extract last value from the column */
        {
            vH = _mm_load_si128(pvH + 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);
        }
#endif
    }

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

    /* 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_rpl (vH, 15);
    }

    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 $0x640, %rsp            # imm = 0x640
movq %rdi, -0x3f8(%rbp)
movq %rsi, -0x400(%rbp)
movl %edx, -0x404(%rbp)
movl %ecx, -0x408(%rbp)
movl %r8d, -0x40c(%rbp)
movl $0x0, -0x410(%rbp)
movl $0x0, -0x414(%rbp)
movl $0x0, -0x418(%rbp)
movl $0x0, -0x41c(%rbp)
movl $0x0, -0x420(%rbp)
movl $0x0, -0x424(%rbp)
movq $0x0, -0x430(%rbp)
movl $0x0, -0x434(%rbp)
movl $0x0, -0x438(%rbp)
movl $0x0, -0x43c(%rbp)
movl $0x0, -0x440(%rbp)
movq $0x0, -0x448(%rbp)
movq $0x0, -0x450(%rbp)
movq $0x0, -0x458(%rbp)
movq $0x0, -0x460(%rbp)
movq $0x0, -0x468(%rbp)
movq $0x0, -0x470(%rbp)
movb $0x0, -0x491(%rbp)
movb $0x0, -0x492(%rbp)
movb $0x0, -0x4b1(%rbp)
movq $0x0, -0x528(%rbp)
cmpq $0x0, -0x3f8(%rbp)
jne 0x46830d
movq 0x9becfa(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x883d03(%rip), %rsi    # 0xcebfeb
leaq 0x871529(%rip), %rdx    # 0xcd9818
leaq 0x85a1e7(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x46830f
jmp 0x468311
movq -0x3f8(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x468355
movq 0x9becb2(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x883cbb(%rip), %rsi    # 0xcebfeb
leaq 0x8714e1(%rip), %rdx    # 0xcd9818
leaq 0x884719(%rip), %rcx    # 0xceca57
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x468357
jmp 0x468359
movq -0x3f8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x46839d
movq 0x9bec6a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x883c73(%rip), %rsi    # 0xcebfeb
leaq 0x871499(%rip), %rdx    # 0xcd9818
leaq 0x884596(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x46839f
jmp 0x4683a1
movq -0x3f8(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jg 0x4683e4
movq 0x9bec23(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x884342(%rip), %rsi    # 0xcec701
leaq 0x871452(%rip), %rdx    # 0xcd9818
leaq 0x88455f(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x4683e6
jmp 0x4683e8
cmpq $0x0, -0x400(%rbp)
jne 0x468428
movq 0x9bebdf(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x883be8(%rip), %rsi    # 0xcebfeb
leaq 0x87140e(%rip), %rdx    # 0xcd9818
leaq 0x8842ed(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x46842a
jmp 0x46842c
cmpl $0x0, -0x404(%rbp)
jg 0x46846b
movq 0x9beb9c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x8842bb(%rip), %rsi    # 0xcec701
leaq 0x8713cb(%rip), %rdx    # 0xcd9818
leaq 0x8842c1(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x46846d
jmp 0x46846f
cmpl $0x0, -0x408(%rbp)
jge 0x4684ae
movq 0x9beb59(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x884292(%rip), %rsi    # 0xcec71b
leaq 0x871388(%rip), %rdx    # 0xcd9818
leaq 0x884299(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x4684b0
jmp 0x4684b2
cmpl $0x0, -0x40c(%rbp)
jge 0x4684f1
movq 0x9beb16(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x88424f(%rip), %rsi    # 0xcec71b
leaq 0x871345(%rip), %rdx    # 0xcd9818
leaq 0x88425b(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
jmp 0x4684f3
movl $0x0, -0x410(%rbp)
movl $0x0, -0x414(%rbp)
movl $0x0, -0x418(%rbp)
movq -0x3f8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x41c(%rbp)
movl -0x41c(%rbp), %eax
decl %eax
movl %eax, -0x420(%rbp)
movl -0x404(%rbp), %eax
decl %eax
movl %eax, -0x424(%rbp)
movq -0x3f8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x430(%rbp)
movl $0x10, -0x434(%rbp)
movl -0x41c(%rbp), %esi
movl -0x434(%rbp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, -0x438(%rbp)
movl -0x41c(%rbp), %eax
decl %eax
movl -0x438(%rbp), %ecx
cltd
idivl %ecx
movl %edx, -0x43c(%rbp)
movl -0x434(%rbp), %ecx
movl -0x41c(%rbp), %eax
decl %eax
movl -0x438(%rbp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, -0x440(%rbp)
movq -0x3f8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x448(%rbp)
movb -0x408(%rbp), %al
movb %al, -0x3e1(%rbp)
movb -0x3e1(%rbp), %al
movb %al, -0x612(%rbp)
movb %al, -0x81(%rbp)
movb %al, -0x82(%rbp)
movb %al, -0x83(%rbp)
movb %al, -0x84(%rbp)
movb %al, -0x85(%rbp)
movb %al, -0x86(%rbp)
movb %al, -0x87(%rbp)
movb %al, -0x88(%rbp)
movb %al, -0x89(%rbp)
movb %al, -0x8a(%rbp)
movb %al, -0x8b(%rbp)
movb %al, -0x8c(%rbp)
movb %al, -0x8d(%rbp)
movb %al, -0x8e(%rbp)
movb %al, -0x8f(%rbp)
movb %al, -0x90(%rbp)
movzbl -0x81(%rbp), %eax
movd %eax, %xmm0
movzbl -0x82(%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 -0x83(%rbp), %eax
movd %eax, %xmm2
movzbl -0x84(%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 -0x85(%rbp), %eax
movd %eax, %xmm1
movzbl -0x86(%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 -0x87(%rbp), %eax
movd %eax, %xmm3
movzbl -0x88(%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 -0x89(%rbp), %eax
movd %eax, %xmm2
movzbl -0x8a(%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 -0x8b(%rbp), %eax
movd %eax, %xmm3
movzbl -0x8c(%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 -0x8d(%rbp), %eax
movd %eax, %xmm0
movzbl -0x8e(%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 -0x8f(%rbp), %eax
movd %eax, %xmm4
movzbl -0x90(%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, -0xa0(%rbp)
movaps -0xa0(%rbp), %xmm0
movaps %xmm0, -0x480(%rbp)
movb -0x40c(%rbp), %al
movb %al, -0x3e2(%rbp)
movb -0x3e2(%rbp), %al
movb %al, -0x611(%rbp)
movb %al, -0x61(%rbp)
movb %al, -0x62(%rbp)
movb %al, -0x63(%rbp)
movb %al, -0x64(%rbp)
movb %al, -0x65(%rbp)
movb %al, -0x66(%rbp)
movb %al, -0x67(%rbp)
movb %al, -0x68(%rbp)
movb %al, -0x69(%rbp)
movb %al, -0x6a(%rbp)
movb %al, -0x6b(%rbp)
movb %al, -0x6c(%rbp)
movb %al, -0x6d(%rbp)
movb %al, -0x6e(%rbp)
movb %al, -0x6f(%rbp)
movb %al, -0x70(%rbp)
movzbl -0x61(%rbp), %eax
movd %eax, %xmm0
movzbl -0x62(%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 -0x63(%rbp), %eax
movd %eax, %xmm2
movzbl -0x64(%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 -0x65(%rbp), %eax
movd %eax, %xmm1
movzbl -0x66(%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 -0x67(%rbp), %eax
movd %eax, %xmm3
movzbl -0x68(%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 -0x69(%rbp), %eax
movd %eax, %xmm2
movzbl -0x6a(%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 -0x6b(%rbp), %eax
movd %eax, %xmm3
movzbl -0x6c(%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 -0x6d(%rbp), %eax
movd %eax, %xmm0
movzbl -0x6e(%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 -0x6f(%rbp), %eax
movd %eax, %xmm4
movzbl -0x70(%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, -0x80(%rbp)
movdqa -0x80(%rbp), %xmm0
movdqa %xmm0, -0x490(%rbp)
xorl %eax, %eax
subl -0x408(%rbp), %eax
movq -0x430(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x468876
movl -0x408(%rbp), %eax
addl $0xffffff80, %eax       # imm = 0xFFFFFF80
movl %eax, -0x618(%rbp)
jmp 0x46888b
movq -0x430(%rbp), %rcx
movl $0xffffff80, %eax       # imm = 0xFFFFFF80
subl 0x20(%rcx), %eax
movl %eax, -0x618(%rbp)
movl -0x618(%rbp), %eax
incb %al
movb %al, -0x491(%rbp)
movq -0x430(%rbp), %rax
movb 0x1c(%rax), %al
xorb $0x7f, %al
decb %al
movb %al, -0x492(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x3e0(%rbp)
movaps -0x3e0(%rbp), %xmm0
movaps %xmm0, -0x4b0(%rbp)
movb -0x491(%rbp), %al
movb %al, -0x4b1(%rbp)
movb -0x491(%rbp), %al
movb %al, -0x3e3(%rbp)
movb -0x3e3(%rbp), %al
movb %al, -0x61b(%rbp)
movb %al, -0x41(%rbp)
movb %al, -0x42(%rbp)
movb %al, -0x43(%rbp)
movb %al, -0x44(%rbp)
movb %al, -0x45(%rbp)
movb %al, -0x46(%rbp)
movb %al, -0x47(%rbp)
movb %al, -0x48(%rbp)
movb %al, -0x49(%rbp)
movb %al, -0x4a(%rbp)
movb %al, -0x4b(%rbp)
movb %al, -0x4c(%rbp)
movb %al, -0x4d(%rbp)
movb %al, -0x4e(%rbp)
movb %al, -0x4f(%rbp)
movb %al, -0x50(%rbp)
movzbl -0x41(%rbp), %eax
movd %eax, %xmm0
movzbl -0x42(%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 -0x43(%rbp), %eax
movd %eax, %xmm2
movzbl -0x44(%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 -0x45(%rbp), %eax
movd %eax, %xmm1
movzbl -0x46(%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 -0x47(%rbp), %eax
movd %eax, %xmm3
movzbl -0x48(%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 -0x49(%rbp), %eax
movd %eax, %xmm2
movzbl -0x4a(%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 -0x4b(%rbp), %eax
movd %eax, %xmm3
movzbl -0x4c(%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 -0x4d(%rbp), %eax
movd %eax, %xmm0
movzbl -0x4e(%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 -0x4f(%rbp), %eax
movd %eax, %xmm4
movzbl -0x50(%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, -0x60(%rbp)
movaps -0x60(%rbp), %xmm0
movaps %xmm0, -0x4d0(%rbp)
movb -0x492(%rbp), %al
movb %al, -0x3e4(%rbp)
movb -0x3e4(%rbp), %al
movb %al, -0x61a(%rbp)
movb %al, -0x21(%rbp)
movb %al, -0x22(%rbp)
movb %al, -0x23(%rbp)
movb %al, -0x24(%rbp)
movb %al, -0x25(%rbp)
movb %al, -0x26(%rbp)
movb %al, -0x27(%rbp)
movb %al, -0x28(%rbp)
movb %al, -0x29(%rbp)
movb %al, -0x2a(%rbp)
movb %al, -0x2b(%rbp)
movb %al, -0x2c(%rbp)
movb %al, -0x2d(%rbp)
movb %al, -0x2e(%rbp)
movb %al, -0x2f(%rbp)
movb %al, -0x30(%rbp)
movzbl -0x21(%rbp), %eax
movd %eax, %xmm0
movzbl -0x22(%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 -0x23(%rbp), %eax
movd %eax, %xmm2
movzbl -0x24(%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 -0x25(%rbp), %eax
movd %eax, %xmm1
movzbl -0x26(%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 -0x27(%rbp), %eax
movd %eax, %xmm3
movzbl -0x28(%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 -0x29(%rbp), %eax
movd %eax, %xmm2
movzbl -0x2a(%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 -0x2b(%rbp), %eax
movd %eax, %xmm3
movzbl -0x2c(%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 -0x2d(%rbp), %eax
movd %eax, %xmm0
movzbl -0x2e(%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 -0x2f(%rbp), %eax
movd %eax, %xmm4
movzbl -0x30(%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, -0x40(%rbp)
movaps -0x40(%rbp), %xmm0
movaps %xmm0, -0x4e0(%rbp)
movaps -0x4e0(%rbp), %xmm0
movaps %xmm0, -0x4f0(%rbp)
movaps -0x4d0(%rbp), %xmm0
movaps %xmm0, -0x500(%rbp)
movaps -0x4b0(%rbp), %xmm0
movaps %xmm0, -0x510(%rbp)
movaps -0x510(%rbp), %xmm0
movsbl -0x491(%rbp), %edi
xorl %esi, %esi
callq 0x469ae0
movaps %xmm0, -0x510(%rbp)
movaps -0x510(%rbp), %xmm1
movl -0x438(%rbp), %eax
negl %eax
movl -0x40c(%rbp), %ecx
imull %ecx, %eax
movb %al, -0x3e5(%rbp)
movb -0x3e5(%rbp), %al
movb %al, -0x619(%rbp)
movb %al, -0x1(%rbp)
movb %al, -0x2(%rbp)
movb %al, -0x3(%rbp)
movb %al, -0x4(%rbp)
movb %al, -0x5(%rbp)
movb %al, -0x6(%rbp)
movb %al, -0x7(%rbp)
movb %al, -0x8(%rbp)
movb %al, -0x9(%rbp)
movb %al, -0xa(%rbp)
movb %al, -0xb(%rbp)
movb %al, -0xc(%rbp)
movb %al, -0xd(%rbp)
movb %al, -0xe(%rbp)
movb %al, -0xf(%rbp)
movb %al, -0x10(%rbp)
movzbl -0x1(%rbp), %eax
movd %eax, %xmm0
movzbl -0x2(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3],xmm2[4],xmm0[4],xmm2[5],xmm0[5],xmm2[6],xmm0[6],xmm2[7],xmm0[7]
movzbl -0x3(%rbp), %eax
movd %eax, %xmm3
movzbl -0x4(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
punpcklwd %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
movzbl -0x5(%rbp), %eax
movd %eax, %xmm2
movzbl -0x6(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm2, %xmm3    # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3],xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
movzbl -0x7(%rbp), %eax
movd %eax, %xmm4
movzbl -0x8(%rbp), %eax
movd %eax, %xmm2
punpcklbw %xmm4, %xmm2    # xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3],xmm2[4],xmm4[4],xmm2[5],xmm4[5],xmm2[6],xmm4[6],xmm2[7],xmm4[7]
punpcklwd %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
punpckldq %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
movzbl -0x9(%rbp), %eax
movd %eax, %xmm3
movzbl -0xa(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
movzbl -0xb(%rbp), %eax
movd %eax, %xmm4
movzbl -0xc(%rbp), %eax
movd %eax, %xmm3
punpcklbw %xmm4, %xmm3    # xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3],xmm3[4],xmm4[4],xmm3[5],xmm4[5],xmm3[6],xmm4[6],xmm3[7],xmm4[7]
punpcklwd %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
movzbl -0xd(%rbp), %eax
movd %eax, %xmm0
movzbl -0xe(%rbp), %eax
movd %eax, %xmm4
punpcklbw %xmm0, %xmm4    # xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3],xmm4[4],xmm0[4],xmm4[5],xmm0[5],xmm4[6],xmm0[6],xmm4[7],xmm0[7]
movzbl -0xf(%rbp), %eax
movd %eax, %xmm5
movzbl -0x10(%rbp), %eax
movd %eax, %xmm0
punpcklbw %xmm5, %xmm0    # xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3],xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
punpcklwd %xmm4, %xmm0    # xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
punpcklqdq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0]
movaps %xmm0, -0x20(%rbp)
movaps -0x20(%rbp), %xmm0
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movdqa %xmm1, -0x320(%rbp)
movdqa %xmm0, -0x330(%rbp)
movdqa -0x320(%rbp), %xmm0
movdqa -0x330(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x520(%rbp)
movl -0x438(%rbp), %edi
imull -0x434(%rbp), %edi
movl -0x404(%rbp), %esi
callq 0x1c3af0
movq %rax, -0x528(%rbp)
cmpq $0x0, -0x528(%rbp)
jne 0x468cc5
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
movq -0x528(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x10100401, %ecx       # imm = 0x10100401
movl %ecx, 0xc(%rax)
movq -0x528(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq -0x438(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x450(%rbp)
movl -0x404(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3600
movq %rax, -0x458(%rbp)
movslq -0x438(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x460(%rbp)
movslq -0x438(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x468(%rbp)
movslq -0x438(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x470(%rbp)
cmpq $0x0, -0x450(%rbp)
jne 0x468d82
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
cmpq $0x0, -0x458(%rbp)
jne 0x468d9c
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
cmpq $0x0, -0x460(%rbp)
jne 0x468db6
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
cmpq $0x0, -0x468(%rbp)
jne 0x468dd0
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
cmpq $0x0, -0x470(%rbp)
jne 0x468dea
movq $0x0, -0x3f0(%rbp)
jmp 0x469acc
movl $0x0, -0x52c(%rbp)
movl $0x0, -0x410(%rbp)
movl -0x410(%rbp), %eax
cmpl -0x438(%rbp), %eax
jge 0x468fb0
movl $0x0, -0x530(%rbp)
movl $0x0, -0x530(%rbp)
movl -0x530(%rbp), %eax
cmpl -0x434(%rbp), %eax
jge 0x468f0f
xorl %eax, %eax
subl -0x408(%rbp), %eax
movl -0x40c(%rbp), %ecx
movl -0x530(%rbp), %edx
imull -0x438(%rbp), %edx
addl -0x410(%rbp), %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, -0x558(%rbp)
cmpq $-0x80, -0x558(%rbp)
jge 0x468e7f
movq $-0x80, %rax
movq %rax, -0x628(%rbp)
jmp 0x468e8d
movq -0x558(%rbp), %rax
movq %rax, -0x628(%rbp)
movq -0x628(%rbp), %rax
movb %al, %cl
movslq -0x530(%rbp), %rax
movb %cl, -0x540(%rbp,%rax)
movq -0x558(%rbp), %rax
movslq -0x408(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x558(%rbp)
cmpq $-0x80, -0x558(%rbp)
jge 0x468ed6
movq $-0x80, %rax
movq %rax, -0x630(%rbp)
jmp 0x468ee4
movq -0x558(%rbp), %rax
movq %rax, -0x630(%rbp)
movq -0x630(%rbp), %rax
movb %al, %cl
movslq -0x530(%rbp), %rax
movb %cl, -0x550(%rbp,%rax)
movl -0x530(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x530(%rbp)
jmp 0x468e24
movq -0x468(%rbp), %rax
movslq -0x52c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x540(%rbp), %xmm0
movq %rax, -0x258(%rbp)
movdqa %xmm0, -0x270(%rbp)
movdqa -0x270(%rbp), %xmm0
movq -0x258(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x450(%rbp), %rax
movslq -0x52c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x550(%rbp), %xmm0
movq %rax, -0x278(%rbp)
movdqa %xmm0, -0x290(%rbp)
movdqa -0x290(%rbp), %xmm0
movq -0x278(%rbp), %rax
movdqa %xmm0, (%rax)
movl -0x52c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x52c(%rbp)
movl -0x410(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x410(%rbp)
jmp 0x468dfe
movq -0x458(%rbp), %rax
movb $0x0, (%rax)
movl $0x1, -0x410(%rbp)
movl -0x410(%rbp), %eax
cmpl -0x404(%rbp), %eax
jg 0x46904d
xorl %eax, %eax
subl -0x408(%rbp), %eax
movl -0x40c(%rbp), %ecx
movl -0x410(%rbp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, -0x560(%rbp)
cmpq $-0x80, -0x560(%rbp)
jge 0x469011
movq $-0x80, %rax
movq %rax, -0x638(%rbp)
jmp 0x46901f
movq -0x560(%rbp), %rax
movq %rax, -0x638(%rbp)
movq -0x638(%rbp), %rax
movb %al, %dl
movq -0x458(%rbp), %rax
movslq -0x410(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x410(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x410(%rbp)
jmp 0x468fc4
movdqa -0x4b0(%rbp), %xmm1
movdqa -0x480(%rbp), %xmm0
movdqa %xmm1, -0x180(%rbp)
movdqa %xmm0, -0x190(%rbp)
movdqa -0x180(%rbp), %xmm0
movdqa -0x190(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x570(%rbp)
movl -0x438(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x410(%rbp)
cmpl $0x0, -0x410(%rbp)
jl 0x469134
movq -0x470(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x570(%rbp), %xmm0
movq %rax, -0x298(%rbp)
movdqa %xmm0, -0x2b0(%rbp)
movdqa -0x2b0(%rbp), %xmm0
movq -0x298(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x570(%rbp), %xmm1
movdqa -0x490(%rbp), %xmm0
movdqa %xmm1, -0x1a0(%rbp)
movdqa %xmm0, -0x1b0(%rbp)
movdqa -0x1a0(%rbp), %xmm0
movdqa -0x1b0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x570(%rbp)
movl -0x410(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x410(%rbp)
jmp 0x469098
movl $0x0, -0x414(%rbp)
movl -0x414(%rbp), %eax
cmpl -0x404(%rbp), %eax
jge 0x469873
movq -0x468(%rbp), %rax
movl -0x438(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x5c0(%rbp)
movaps -0x5c0(%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, -0x5c0(%rbp)
movdqa -0x5c0(%rbp), %xmm0
movq -0x458(%rbp), %rax
movslq -0x414(%rbp), %rcx
xorl %esi, %esi
movsbl (%rax,%rcx), %edi
callq 0x469ae0
movdqa %xmm0, -0x5c0(%rbp)
movq -0x448(%rbp), %rax
movq -0x430(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x400(%rbp), %rdx
movslq -0x414(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull -0x438(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x5c8(%rbp)
movdqa -0x4d0(%rbp), %xmm1
movq -0x470(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm1, -0x1c0(%rbp)
movdqa %xmm0, -0x1d0(%rbp)
movdqa -0x1c0(%rbp), %xmm0
movdqa -0x1d0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x590(%rbp)
movdqa -0x4d0(%rbp), %xmm0
movdqa %xmm0, -0x5a0(%rbp)
movl $0x0, -0x410(%rbp)
movl -0x410(%rbp), %eax
cmpl -0x438(%rbp), %eax
jge 0x4694bf
movq -0x468(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x5b0(%rbp)
movq -0x450(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x580(%rbp)
movq -0x5c8(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x5e0(%rbp)
movdqa -0x580(%rbp), %xmm1
movdqa -0x490(%rbp), %xmm0
movdqa %xmm1, -0x1e0(%rbp)
movdqa %xmm0, -0x1f0(%rbp)
movdqa -0x1e0(%rbp), %xmm0
movdqa -0x1f0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa -0x5b0(%rbp), %xmm2
movdqa -0x480(%rbp), %xmm1
movdqa %xmm2, -0x200(%rbp)
movdqa %xmm1, -0x210(%rbp)
movdqa -0x200(%rbp), %xmm1
movdqa -0x210(%rbp), %xmm2
psubsb %xmm2, %xmm1
callq 0x469b10
movdqa %xmm0, -0x580(%rbp)
movdqa -0x5c0(%rbp), %xmm1
movdqa -0x5e0(%rbp), %xmm0
movdqa %xmm1, -0x340(%rbp)
movdqa %xmm0, -0x350(%rbp)
movdqa -0x340(%rbp), %xmm0
movdqa -0x350(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x5c0(%rbp)
movdqa -0x5a0(%rbp), %xmm0
movdqa -0x590(%rbp), %xmm2
movq -0x470(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa (%rax), %xmm1
movdqa %xmm2, -0x360(%rbp)
movdqa %xmm1, -0x370(%rbp)
movdqa -0x360(%rbp), %xmm1
movdqa -0x370(%rbp), %xmm2
paddsb %xmm2, %xmm1
callq 0x469b10
movdqa %xmm0, -0x5a0(%rbp)
movdqa -0x580(%rbp), %xmm0
movdqa -0x5c0(%rbp), %xmm1
callq 0x469b10
movdqa %xmm0, -0x590(%rbp)
movq -0x450(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x580(%rbp), %xmm0
movq %rax, -0x2b8(%rbp)
movdqa %xmm0, -0x2d0(%rbp)
movdqa -0x2d0(%rbp), %xmm0
movq -0x2b8(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x460(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x590(%rbp), %xmm0
movq %rax, -0x2d8(%rbp)
movdqa %xmm0, -0x2f0(%rbp)
movdqa -0x2f0(%rbp), %xmm0
movq -0x2d8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x5b0(%rbp), %xmm0
movdqa %xmm0, -0x5c0(%rbp)
movl -0x410(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x410(%rbp)
jmp 0x469256
movaps -0x590(%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, -0x590(%rbp)
movdqa -0x590(%rbp), %xmm0
movq -0x458(%rbp), %rax
movl -0x414(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
xorl %esi, %esi
movsbl (%rax,%rcx), %edi
callq 0x469ae0
movdqa %xmm0, -0x590(%rbp)
movdqa -0x5a0(%rbp), %xmm0
movdqa -0x590(%rbp), %xmm2
movq -0x470(%rbp), %rax
movdqa (%rax), %xmm1
movdqa %xmm2, -0x380(%rbp)
movdqa %xmm1, -0x390(%rbp)
movdqa -0x380(%rbp), %xmm1
movdqa -0x390(%rbp), %xmm2
paddsb %xmm2, %xmm1
callq 0x469b10
movdqa %xmm0, -0x5a0(%rbp)
movl $0x0, -0x410(%rbp)
movl -0x410(%rbp), %eax
movl -0x434(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0x4695ef
movaps -0x5a0(%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, -0x5f0(%rbp)
movdqa -0x5f0(%rbp), %xmm1
movdqa -0x520(%rbp), %xmm0
movdqa %xmm1, -0x3a0(%rbp)
movdqa %xmm0, -0x3b0(%rbp)
movdqa -0x3a0(%rbp), %xmm0
movdqa -0x3b0(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x5f0(%rbp)
movdqa -0x5a0(%rbp), %xmm0
movdqa -0x5f0(%rbp), %xmm1
callq 0x469b10
movdqa %xmm0, -0x5a0(%rbp)
movl -0x410(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x410(%rbp)
jmp 0x469557
movaps -0x5a0(%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, -0x5a0(%rbp)
movdqa -0x5a0(%rbp), %xmm1
movdqa -0x510(%rbp), %xmm0
movdqa %xmm1, -0x3c0(%rbp)
movdqa %xmm0, -0x3d0(%rbp)
movdqa -0x3c0(%rbp), %xmm0
movdqa -0x3d0(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x5a0(%rbp)
movdqa -0x590(%rbp), %xmm0
movdqa -0x5a0(%rbp), %xmm1
callq 0x469b10
movdqa %xmm0, -0x5b0(%rbp)
movl $0x0, -0x410(%rbp)
movl -0x410(%rbp), %eax
cmpl -0x438(%rbp), %eax
jge 0x4697c6
movq -0x460(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x590(%rbp)
movdqa -0x5a0(%rbp), %xmm1
movdqa -0x490(%rbp), %xmm0
movdqa %xmm1, -0x220(%rbp)
movdqa %xmm0, -0x230(%rbp)
movdqa -0x220(%rbp), %xmm0
movdqa -0x230(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa -0x5b0(%rbp), %xmm2
movdqa -0x480(%rbp), %xmm1
movdqa %xmm2, -0x240(%rbp)
movdqa %xmm1, -0x250(%rbp)
movdqa -0x240(%rbp), %xmm1
movdqa -0x250(%rbp), %xmm2
psubsb %xmm2, %xmm1
callq 0x469b10
movdqa %xmm0, -0x5a0(%rbp)
movdqa -0x590(%rbp), %xmm0
movdqa -0x5a0(%rbp), %xmm1
callq 0x469b10
movdqa %xmm0, -0x5b0(%rbp)
movq -0x468(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x5b0(%rbp), %xmm0
movq %rax, -0x2f8(%rbp)
movdqa %xmm0, -0x310(%rbp)
movdqa -0x310(%rbp), %xmm0
movq -0x2f8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x4f0(%rbp), %xmm0
movdqa -0x5b0(%rbp), %xmm1
callq 0x469be0
movdqa %xmm0, -0x4f0(%rbp)
movdqa -0x500(%rbp), %xmm0
movdqa -0x5b0(%rbp), %xmm1
callq 0x469b10
movdqa %xmm0, -0x500(%rbp)
movl -0x410(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x410(%rbp)
jmp 0x469666
movq -0x468(%rbp), %rax
movslq -0x43c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x160(%rbp)
movq -0x160(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x5b0(%rbp)
movl $0x0, -0x418(%rbp)
movl -0x418(%rbp), %eax
cmpl -0x440(%rbp), %eax
jge 0x469832
movaps -0x5b0(%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, -0x5b0(%rbp)
movl -0x418(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x418(%rbp)
jmp 0x4697ff
movdqa -0x5b0(%rbp), %xmm0
movl $0xf, %edi
callq 0x469cb0
movsbl %al, %edx
movq -0x528(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq -0x414(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x414(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x414(%rbp)
jmp 0x46913e
movl $0x0, -0x410(%rbp)
movl -0x410(%rbp), %eax
cmpl -0x438(%rbp), %eax
jge 0x4698f3
movq -0x468(%rbp), %rax
movslq -0x410(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x600(%rbp)
movq -0x528(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
movdqa -0x600(%rbp), %xmm0
movl -0x410(%rbp), %esi
movl -0x438(%rbp), %edx
callq 0x469cd0
movl -0x410(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x410(%rbp)
jmp 0x46987d
movq -0x468(%rbp), %rax
movslq -0x43c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x170(%rbp)
movq -0x170(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x610(%rbp)
movl $0x0, -0x418(%rbp)
movl -0x418(%rbp), %eax
cmpl -0x440(%rbp), %eax
jge 0x46995f
movaps -0x610(%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, -0x610(%rbp)
movl -0x418(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x418(%rbp)
jmp 0x46992c
movaps -0x610(%rbp), %xmm0
movl $0xf, %edi
callq 0x469cb0
movb %al, -0x4b1(%rbp)
movaps -0x4f0(%rbp), %xmm1
movaps -0x4d0(%rbp), %xmm0
movaps %xmm1, -0xf0(%rbp)
movaps %xmm0, -0x100(%rbp)
movaps -0x100(%rbp), %xmm1
movaps -0xf0(%rbp), %xmm0
movaps %xmm1, -0xd0(%rbp)
movaps %xmm0, -0xe0(%rbp)
movaps -0xd0(%rbp), %xmm1
movaps -0xe0(%rbp), %xmm0
pcmpgtb %xmm0, %xmm1
movaps -0x500(%rbp), %xmm2
movaps -0x4e0(%rbp), %xmm0
movaps %xmm2, -0xb0(%rbp)
movaps %xmm0, -0xc0(%rbp)
movaps -0xb0(%rbp), %xmm0
movaps -0xc0(%rbp), %xmm2
pcmpgtb %xmm2, %xmm0
movdqa %xmm1, -0x110(%rbp)
movdqa %xmm0, -0x120(%rbp)
movdqa -0x110(%rbp), %xmm0
por -0x120(%rbp), %xmm0
movdqa %xmm0, -0x130(%rbp)
movdqa -0x130(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x469a52
movq -0x528(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movb $0x0, -0x4b1(%rbp)
movl $0x0, -0x420(%rbp)
movl $0x0, -0x424(%rbp)
movsbl -0x4b1(%rbp), %ecx
movq -0x528(%rbp), %rax
movl %ecx, (%rax)
movl -0x420(%rbp), %ecx
movq -0x528(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x424(%rbp), %ecx
movq -0x528(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x470(%rbp), %rdi
callq 0x1c3590
movq -0x468(%rbp), %rdi
callq 0x1c3590
movq -0x460(%rbp), %rdi
callq 0x1c3590
movq -0x458(%rbp), %rdi
callq 0x1c3590
movq -0x450(%rbp), %rdi
callq 0x1c3590
movq -0x528(%rbp), %rax
movq %rax, -0x3f0(%rbp)
movq -0x3f0(%rbp), %rax
addq $0x640, %rsp            # imm = 0x640
popq %rbp
retq
nopl (%rax)