// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_scan_sse41_128_8.c
// Function: parasail_nw_rowcol_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)
{
    /* 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(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(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(
                    _mm_subs_epi8(vE, vGapE),
                    _mm_subs_epi8(vH, vGapO));
            vHp = _mm_adds_epi8(vHp, vW);
            vF = _mm_max_epi8(vF, _mm_adds_epi8(vHt, pvGapper[i]));
            vHt = _mm_max_epi8(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(vHt, boundary[j+1], 0);
        vF = _mm_max_epi8(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(vF, vFt);
        }

        /* calculate final H */
        vF = _mm_slli_si128(vF, 1);
        vF = _mm_adds_epi8(vF, vNegInfFront);
        vH = _mm_max_epi8(vHt, vF);
        for (i=0; i<segLen; ++i) {
            vHt = _mm_load_si128(pvHt+i);
            vF = _mm_max_epi8(
                    _mm_subs_epi8(vF, vGapE),
                    _mm_subs_epi8(vH, vGapO));
            vH = _mm_max_epi8(vHt, vF);
            _mm_store_si128(pvH+i, vH);
            vSaturationCheckMin = _mm_min_epi8(vSaturationCheckMin, vH);
            vSaturationCheckMax = _mm_max_epi8(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 (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 (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 $0x780, %rsp            # imm = 0x780
movq %rdi, -0x538(%rbp)
movq %rsi, -0x540(%rbp)
movl %edx, -0x544(%rbp)
movl %ecx, -0x548(%rbp)
movl %r8d, -0x54c(%rbp)
movl $0x0, -0x550(%rbp)
movl $0x0, -0x554(%rbp)
movl $0x0, -0x558(%rbp)
movl $0x0, -0x55c(%rbp)
movl $0x0, -0x560(%rbp)
movl $0x0, -0x564(%rbp)
movq $0x0, -0x570(%rbp)
movl $0x0, -0x574(%rbp)
movl $0x0, -0x578(%rbp)
movl $0x0, -0x57c(%rbp)
movl $0x0, -0x580(%rbp)
movq $0x0, -0x588(%rbp)
movq $0x0, -0x590(%rbp)
movq $0x0, -0x598(%rbp)
movq $0x0, -0x5a0(%rbp)
movq $0x0, -0x5a8(%rbp)
movq $0x0, -0x5b0(%rbp)
movb $0x0, -0x5d1(%rbp)
movb $0x0, -0x5d2(%rbp)
movb $0x0, -0x5f1(%rbp)
movq $0x0, -0x668(%rbp)
cmpq $0x0, -0x538(%rbp)
jne 0x74bb7d
movq 0x6db48a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a0493(%rip), %rsi    # 0xcebfeb
leaq 0x58de83(%rip), %rdx    # 0xcd99e2
leaq 0x576977(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bb7f
jmp 0x74bb81
movq -0x538(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x74bbc5
movq 0x6db442(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a044b(%rip), %rsi    # 0xcebfeb
leaq 0x58de3b(%rip), %rdx    # 0xcd99e2
leaq 0x5a0ea9(%rip), %rcx    # 0xceca57
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bbc7
jmp 0x74bbc9
movq -0x538(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x74bc0d
movq 0x6db3fa(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a0403(%rip), %rsi    # 0xcebfeb
leaq 0x58ddf3(%rip), %rdx    # 0xcd99e2
leaq 0x5a0d26(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bc0f
jmp 0x74bc11
movq -0x538(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jg 0x74bc54
movq 0x6db3b3(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a0ad2(%rip), %rsi    # 0xcec701
leaq 0x58ddac(%rip), %rdx    # 0xcd99e2
leaq 0x5a0cef(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bc56
jmp 0x74bc58
cmpq $0x0, -0x540(%rbp)
jne 0x74bc98
movq 0x6db36f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a0378(%rip), %rsi    # 0xcebfeb
leaq 0x58dd68(%rip), %rdx    # 0xcd99e2
leaq 0x5a0a7d(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bc9a
jmp 0x74bc9c
cmpl $0x0, -0x544(%rbp)
jg 0x74bcdb
movq 0x6db32c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a0a4b(%rip), %rsi    # 0xcec701
leaq 0x58dd25(%rip), %rdx    # 0xcd99e2
leaq 0x5a0a51(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bcdd
jmp 0x74bcdf
cmpl $0x0, -0x548(%rbp)
jge 0x74bd1e
movq 0x6db2e9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a0a22(%rip), %rsi    # 0xcec71b
leaq 0x58dce2(%rip), %rdx    # 0xcd99e2
leaq 0x5a0a29(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bd20
jmp 0x74bd22
cmpl $0x0, -0x54c(%rbp)
jge 0x74bd61
movq 0x6db2a6(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x5a09df(%rip), %rsi    # 0xcec71b
leaq 0x58dc9f(%rip), %rdx    # 0xcd99e2
leaq 0x5a09eb(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
jmp 0x74bd63
movl $0x0, -0x550(%rbp)
movl $0x0, -0x554(%rbp)
movl $0x0, -0x558(%rbp)
movq -0x538(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x55c(%rbp)
movl -0x55c(%rbp), %eax
decl %eax
movl %eax, -0x560(%rbp)
movl -0x544(%rbp), %eax
decl %eax
movl %eax, -0x564(%rbp)
movq -0x538(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x570(%rbp)
movl $0x10, -0x574(%rbp)
movl -0x55c(%rbp), %esi
movl -0x574(%rbp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, -0x578(%rbp)
movl -0x55c(%rbp), %eax
decl %eax
movl -0x578(%rbp), %ecx
cltd
idivl %ecx
movl %edx, -0x57c(%rbp)
movl -0x574(%rbp), %ecx
movl -0x55c(%rbp), %eax
decl %eax
movl -0x578(%rbp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, -0x580(%rbp)
movq -0x538(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x588(%rbp)
movb -0x548(%rbp), %al
movb %al, -0x521(%rbp)
movb -0x521(%rbp), %al
movb %al, -0x752(%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 -0x90(%rbp), %eax
movd %eax, %xmm0
movzbl -0x8f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x8e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x8d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x8c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x8b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x8a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x89(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x88(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x87(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x86(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x85(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x84(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x83(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x82(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x81(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0xa0(%rbp)
movaps -0xa0(%rbp), %xmm0
movaps %xmm0, -0x5c0(%rbp)
movb -0x54c(%rbp), %al
movb %al, -0x522(%rbp)
movb -0x522(%rbp), %al
movb %al, -0x751(%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 -0x70(%rbp), %eax
movd %eax, %xmm0
movzbl -0x6f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x6e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x6d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x6c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x6b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x6a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x69(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x68(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x67(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x66(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x65(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x64(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x63(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x62(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x61(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movdqa %xmm0, -0x80(%rbp)
movdqa -0x80(%rbp), %xmm0
movdqa %xmm0, -0x5d0(%rbp)
xorl %eax, %eax
subl -0x548(%rbp), %eax
movq -0x570(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x74c0aa
movl -0x548(%rbp), %eax
addl $0xffffff80, %eax       # imm = 0xFFFFFF80
movl %eax, -0x758(%rbp)
jmp 0x74c0bf
movq -0x570(%rbp), %rcx
movl $0xffffff80, %eax       # imm = 0xFFFFFF80
subl 0x20(%rcx), %eax
movl %eax, -0x758(%rbp)
movl -0x758(%rbp), %eax
incb %al
movb %al, -0x5d1(%rbp)
movq -0x570(%rbp), %rax
movb 0x1c(%rax), %al
xorb $0x7f, %al
decb %al
movb %al, -0x5d2(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x520(%rbp)
movaps -0x520(%rbp), %xmm0
movaps %xmm0, -0x5f0(%rbp)
movb -0x5d1(%rbp), %al
movb %al, -0x5f1(%rbp)
movb -0x5d1(%rbp), %al
movb %al, -0x523(%rbp)
movb -0x523(%rbp), %al
movb %al, -0x75b(%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 -0x50(%rbp), %eax
movd %eax, %xmm0
movzbl -0x4f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x4e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x4d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x4c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x4b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x4a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x49(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x48(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x47(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x46(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x45(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x44(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x43(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x42(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x41(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x60(%rbp)
movaps -0x60(%rbp), %xmm0
movaps %xmm0, -0x610(%rbp)
movb -0x5d2(%rbp), %al
movb %al, -0x524(%rbp)
movb -0x524(%rbp), %al
movb %al, -0x75a(%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 -0x30(%rbp), %eax
movd %eax, %xmm0
movzbl -0x2f(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0x2e(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0x2d(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0x2c(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0x2b(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0x2a(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x29(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x28(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x27(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x26(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x25(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x24(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x23(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x22(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x21(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
movaps %xmm0, -0x40(%rbp)
movaps -0x40(%rbp), %xmm0
movaps %xmm0, -0x620(%rbp)
movaps -0x620(%rbp), %xmm0
movaps %xmm0, -0x630(%rbp)
movaps -0x610(%rbp), %xmm0
movaps %xmm0, -0x640(%rbp)
movaps -0x5f0(%rbp), %xmm0
movaps %xmm0, -0x650(%rbp)
movaps -0x650(%rbp), %xmm0
movzbl -0x5d1(%rbp), %eax
pinsrb $0x0, %eax, %xmm0
movaps %xmm0, -0x650(%rbp)
movaps -0x650(%rbp), %xmm1
movl -0x578(%rbp), %eax
negl %eax
movl -0x54c(%rbp), %ecx
imull %ecx, %eax
movb %al, -0x525(%rbp)
movb -0x525(%rbp), %al
movb %al, -0x759(%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 -0x10(%rbp), %eax
movd %eax, %xmm0
movzbl -0xf(%rbp), %eax
pinsrb $0x1, %eax, %xmm0
movzbl -0xe(%rbp), %eax
pinsrb $0x2, %eax, %xmm0
movzbl -0xd(%rbp), %eax
pinsrb $0x3, %eax, %xmm0
movzbl -0xc(%rbp), %eax
pinsrb $0x4, %eax, %xmm0
movzbl -0xb(%rbp), %eax
pinsrb $0x5, %eax, %xmm0
movzbl -0xa(%rbp), %eax
pinsrb $0x6, %eax, %xmm0
movzbl -0x9(%rbp), %eax
pinsrb $0x7, %eax, %xmm0
movzbl -0x8(%rbp), %eax
pinsrb $0x8, %eax, %xmm0
movzbl -0x7(%rbp), %eax
pinsrb $0x9, %eax, %xmm0
movzbl -0x6(%rbp), %eax
pinsrb $0xa, %eax, %xmm0
movzbl -0x5(%rbp), %eax
pinsrb $0xb, %eax, %xmm0
movzbl -0x4(%rbp), %eax
pinsrb $0xc, %eax, %xmm0
movzbl -0x3(%rbp), %eax
pinsrb $0xd, %eax, %xmm0
movzbl -0x2(%rbp), %eax
pinsrb $0xe, %eax, %xmm0
movzbl -0x1(%rbp), %eax
pinsrb $0xf, %eax, %xmm0
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, -0x460(%rbp)
movdqa %xmm0, -0x470(%rbp)
movdqa -0x460(%rbp), %xmm0
movdqa -0x470(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x660(%rbp)
movl -0x578(%rbp), %edi
imull -0x574(%rbp), %edi
movl -0x544(%rbp), %esi
callq 0x1c3af0
movq %rax, -0x668(%rbp)
cmpq $0x0, -0x668(%rbp)
jne 0x74c49e
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
movq -0x668(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x10100401, %ecx       # imm = 0x10100401
movl %ecx, 0xc(%rax)
movq -0x668(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq -0x578(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x590(%rbp)
movl -0x544(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3600
movq %rax, -0x598(%rbp)
movslq -0x578(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x5a0(%rbp)
movslq -0x578(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x5a8(%rbp)
movslq -0x578(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x5b0(%rbp)
cmpq $0x0, -0x590(%rbp)
jne 0x74c55b
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
cmpq $0x0, -0x598(%rbp)
jne 0x74c575
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
cmpq $0x0, -0x5a0(%rbp)
jne 0x74c58f
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
cmpq $0x0, -0x5a8(%rbp)
jne 0x74c5a9
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
cmpq $0x0, -0x5b0(%rbp)
jne 0x74c5c3
movq $0x0, -0x530(%rbp)
jmp 0x74d3ce
movl $0x0, -0x66c(%rbp)
movl $0x0, -0x550(%rbp)
movl -0x550(%rbp), %eax
cmpl -0x578(%rbp), %eax
jge 0x74c789
movl $0x0, -0x670(%rbp)
movl $0x0, -0x670(%rbp)
movl -0x670(%rbp), %eax
cmpl -0x574(%rbp), %eax
jge 0x74c6e8
xorl %eax, %eax
subl -0x548(%rbp), %eax
movl -0x54c(%rbp), %ecx
movl -0x670(%rbp), %edx
imull -0x578(%rbp), %edx
addl -0x550(%rbp), %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, -0x698(%rbp)
cmpq $-0x80, -0x698(%rbp)
jge 0x74c658
movq $-0x80, %rax
movq %rax, -0x768(%rbp)
jmp 0x74c666
movq -0x698(%rbp), %rax
movq %rax, -0x768(%rbp)
movq -0x768(%rbp), %rax
movb %al, %cl
movslq -0x670(%rbp), %rax
movb %cl, -0x680(%rbp,%rax)
movq -0x698(%rbp), %rax
movslq -0x548(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x698(%rbp)
cmpq $-0x80, -0x698(%rbp)
jge 0x74c6af
movq $-0x80, %rax
movq %rax, -0x770(%rbp)
jmp 0x74c6bd
movq -0x698(%rbp), %rax
movq %rax, -0x770(%rbp)
movq -0x770(%rbp), %rax
movb %al, %cl
movslq -0x670(%rbp), %rax
movb %cl, -0x690(%rbp,%rax)
movl -0x670(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x670(%rbp)
jmp 0x74c5fd
movq -0x5a8(%rbp), %rax
movslq -0x66c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x680(%rbp), %xmm0
movq %rax, -0x398(%rbp)
movdqa %xmm0, -0x3b0(%rbp)
movdqa -0x3b0(%rbp), %xmm0
movq -0x398(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x590(%rbp), %rax
movslq -0x66c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x690(%rbp), %xmm0
movq %rax, -0x3b8(%rbp)
movdqa %xmm0, -0x3d0(%rbp)
movdqa -0x3d0(%rbp), %xmm0
movq -0x3b8(%rbp), %rax
movdqa %xmm0, (%rax)
movl -0x66c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x66c(%rbp)
movl -0x550(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x74c5d7
movq -0x598(%rbp), %rax
movb $0x0, (%rax)
movl $0x1, -0x550(%rbp)
movl -0x550(%rbp), %eax
cmpl -0x544(%rbp), %eax
jg 0x74c826
xorl %eax, %eax
subl -0x548(%rbp), %eax
movl -0x54c(%rbp), %ecx
movl -0x550(%rbp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, -0x6a0(%rbp)
cmpq $-0x80, -0x6a0(%rbp)
jge 0x74c7ea
movq $-0x80, %rax
movq %rax, -0x778(%rbp)
jmp 0x74c7f8
movq -0x6a0(%rbp), %rax
movq %rax, -0x778(%rbp)
movq -0x778(%rbp), %rax
movb %al, %dl
movq -0x598(%rbp), %rax
movslq -0x550(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x550(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x74c79d
movdqa -0x5f0(%rbp), %xmm1
movdqa -0x5c0(%rbp), %xmm0
movdqa %xmm1, -0x2c0(%rbp)
movdqa %xmm0, -0x2d0(%rbp)
movdqa -0x2c0(%rbp), %xmm0
movdqa -0x2d0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x6b0(%rbp)
movl -0x578(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x550(%rbp)
cmpl $0x0, -0x550(%rbp)
jl 0x74c90d
movq -0x5b0(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x6b0(%rbp), %xmm0
movq %rax, -0x3d8(%rbp)
movdqa %xmm0, -0x3f0(%rbp)
movdqa -0x3f0(%rbp), %xmm0
movq -0x3d8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x6b0(%rbp), %xmm1
movdqa -0x5d0(%rbp), %xmm0
movdqa %xmm1, -0x2e0(%rbp)
movdqa %xmm0, -0x2f0(%rbp)
movdqa -0x2e0(%rbp), %xmm0
movdqa -0x2f0(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x6b0(%rbp)
movl -0x550(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x74c871
movl $0x0, -0x554(%rbp)
movl -0x554(%rbp), %eax
cmpl -0x544(%rbp), %eax
jge 0x74d180
movq -0x5a8(%rbp), %rax
movl -0x578(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x278(%rbp)
movq -0x278(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x700(%rbp)
movaps -0x700(%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, -0x700(%rbp)
movaps -0x700(%rbp), %xmm0
movq -0x598(%rbp), %rax
movslq -0x554(%rbp), %rcx
movzbl (%rax,%rcx), %eax
pinsrb $0x0, %eax, %xmm0
movdqa %xmm0, -0x700(%rbp)
movq -0x588(%rbp), %rax
movq -0x570(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x540(%rbp), %rdx
movslq -0x554(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull -0x578(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x708(%rbp)
movdqa -0x610(%rbp), %xmm1
movq -0x5b0(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm1, -0x300(%rbp)
movdqa %xmm0, -0x310(%rbp)
movdqa -0x300(%rbp), %xmm0
movdqa -0x310(%rbp), %xmm1
psubsb %xmm1, %xmm0
movdqa %xmm0, -0x6d0(%rbp)
movdqa -0x610(%rbp), %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movl $0x0, -0x550(%rbp)
movl -0x550(%rbp), %eax
cmpl -0x578(%rbp), %eax
jge 0x74ccf5
movq -0x5a8(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x280(%rbp)
movq -0x280(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movq -0x590(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x288(%rbp)
movq -0x288(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x6c0(%rbp)
movq -0x708(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x290(%rbp)
movq -0x290(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x720(%rbp)
movdqa -0x6c0(%rbp), %xmm1
movdqa -0x5d0(%rbp), %xmm0
movdqa %xmm1, -0x320(%rbp)
movdqa %xmm0, -0x330(%rbp)
movdqa -0x320(%rbp), %xmm1
movdqa -0x330(%rbp), %xmm0
psubsb %xmm0, %xmm1
movdqa -0x6f0(%rbp), %xmm2
movdqa -0x5c0(%rbp), %xmm0
movdqa %xmm2, -0x340(%rbp)
movdqa %xmm0, -0x350(%rbp)
movdqa -0x340(%rbp), %xmm0
movdqa -0x350(%rbp), %xmm2
psubsb %xmm2, %xmm0
movdqa %xmm1, -0x160(%rbp)
movdqa %xmm0, -0x170(%rbp)
movdqa -0x160(%rbp), %xmm0
movdqa -0x170(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6c0(%rbp)
movdqa -0x700(%rbp), %xmm1
movdqa -0x720(%rbp), %xmm0
movdqa %xmm1, -0x480(%rbp)
movdqa %xmm0, -0x490(%rbp)
movdqa -0x480(%rbp), %xmm0
movdqa -0x490(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x700(%rbp)
movdqa -0x6e0(%rbp), %xmm1
movdqa -0x6d0(%rbp), %xmm2
movq -0x5b0(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa (%rax), %xmm0
movdqa %xmm2, -0x4a0(%rbp)
movdqa %xmm0, -0x4b0(%rbp)
movdqa -0x4a0(%rbp), %xmm0
movdqa -0x4b0(%rbp), %xmm2
paddsb %xmm2, %xmm0
movdqa %xmm1, -0x180(%rbp)
movdqa %xmm0, -0x190(%rbp)
movdqa -0x180(%rbp), %xmm0
movdqa -0x190(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movdqa -0x6c0(%rbp), %xmm1
movdqa -0x700(%rbp), %xmm0
movdqa %xmm1, -0x1a0(%rbp)
movdqa %xmm0, -0x1b0(%rbp)
movdqa -0x1a0(%rbp), %xmm0
movdqa -0x1b0(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6d0(%rbp)
movq -0x590(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x6c0(%rbp), %xmm0
movq %rax, -0x3f8(%rbp)
movdqa %xmm0, -0x410(%rbp)
movdqa -0x410(%rbp), %xmm0
movq -0x3f8(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x5a0(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x6d0(%rbp), %xmm0
movq %rax, -0x418(%rbp)
movdqa %xmm0, -0x430(%rbp)
movdqa -0x430(%rbp), %xmm0
movq -0x418(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x6f0(%rbp), %xmm0
movdqa %xmm0, -0x700(%rbp)
movl -0x550(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x74ca2c
movaps -0x6d0(%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, -0x6d0(%rbp)
movaps -0x6d0(%rbp), %xmm0
movq -0x598(%rbp), %rcx
movslq -0x554(%rbp), %rax
movzbl 0x1(%rax,%rcx), %eax
pinsrb $0x0, %eax, %xmm0
movdqa %xmm0, -0x6d0(%rbp)
movdqa -0x6e0(%rbp), %xmm1
movdqa -0x6d0(%rbp), %xmm2
movq -0x5b0(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm2, -0x4c0(%rbp)
movdqa %xmm0, -0x4d0(%rbp)
movdqa -0x4c0(%rbp), %xmm0
movdqa -0x4d0(%rbp), %xmm2
paddsb %xmm2, %xmm0
movdqa %xmm1, -0x1c0(%rbp)
movdqa %xmm0, -0x1d0(%rbp)
movdqa -0x1c0(%rbp), %xmm0
movdqa -0x1d0(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movl $0x0, -0x550(%rbp)
movl -0x550(%rbp), %eax
movl -0x574(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0x74ce5e
movaps -0x6e0(%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, -0x730(%rbp)
movdqa -0x730(%rbp), %xmm1
movdqa -0x660(%rbp), %xmm0
movdqa %xmm1, -0x4e0(%rbp)
movdqa %xmm0, -0x4f0(%rbp)
movdqa -0x4e0(%rbp), %xmm0
movdqa -0x4f0(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x730(%rbp)
movdqa -0x6e0(%rbp), %xmm1
movdqa -0x730(%rbp), %xmm0
movdqa %xmm1, -0x1e0(%rbp)
movdqa %xmm0, -0x1f0(%rbp)
movdqa -0x1e0(%rbp), %xmm0
movdqa -0x1f0(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movl -0x550(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x74cda6
movaps -0x6e0(%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, -0x6e0(%rbp)
movdqa -0x6e0(%rbp), %xmm1
movdqa -0x650(%rbp), %xmm0
movdqa %xmm1, -0x500(%rbp)
movdqa %xmm0, -0x510(%rbp)
movdqa -0x500(%rbp), %xmm0
movdqa -0x510(%rbp), %xmm1
paddsb %xmm1, %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movdqa -0x6d0(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x200(%rbp)
movdqa %xmm0, -0x210(%rbp)
movdqa -0x200(%rbp), %xmm0
movdqa -0x210(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movl $0x0, -0x550(%rbp)
movl -0x550(%rbp), %eax
cmpl -0x578(%rbp), %eax
jge 0x74d0d5
movq -0x5a0(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x298(%rbp)
movq -0x298(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x6d0(%rbp)
movdqa -0x6e0(%rbp), %xmm1
movdqa -0x5d0(%rbp), %xmm0
movdqa %xmm1, -0x360(%rbp)
movdqa %xmm0, -0x370(%rbp)
movdqa -0x360(%rbp), %xmm1
movdqa -0x370(%rbp), %xmm0
psubsb %xmm0, %xmm1
movdqa -0x6f0(%rbp), %xmm2
movdqa -0x5c0(%rbp), %xmm0
movdqa %xmm2, -0x380(%rbp)
movdqa %xmm0, -0x390(%rbp)
movdqa -0x380(%rbp), %xmm0
movdqa -0x390(%rbp), %xmm2
psubsb %xmm2, %xmm0
movdqa %xmm1, -0x220(%rbp)
movdqa %xmm0, -0x230(%rbp)
movdqa -0x220(%rbp), %xmm0
movdqa -0x230(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movdqa -0x6d0(%rbp), %xmm1
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm1, -0x240(%rbp)
movdqa %xmm0, -0x250(%rbp)
movdqa -0x240(%rbp), %xmm0
movdqa -0x250(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movq -0x5a8(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x6f0(%rbp), %xmm0
movq %rax, -0x438(%rbp)
movdqa %xmm0, -0x450(%rbp)
movdqa -0x450(%rbp), %xmm0
movq -0x438(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x630(%rbp), %xmm1
movdqa -0x6f0(%rbp), %xmm0
movdqa %xmm1, -0x140(%rbp)
movdqa %xmm0, -0x150(%rbp)
movdqa -0x140(%rbp), %xmm0
movdqa -0x150(%rbp), %xmm1
pminsb %xmm1, %xmm0
movdqa %xmm0, -0x630(%rbp)
movdqa -0x640(%rbp), %xmm1
movdqa -0x6f0(%rbp), %xmm0
movdqa %xmm1, -0x260(%rbp)
movdqa %xmm0, -0x270(%rbp)
movdqa -0x260(%rbp), %xmm0
movdqa -0x270(%rbp), %xmm1
pmaxsb %xmm1, %xmm0
movdqa %xmm0, -0x640(%rbp)
movl -0x550(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x74cef5
movq -0x5a8(%rbp), %rax
movslq -0x57c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x2a0(%rbp)
movq -0x2a0(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movl $0x0, -0x558(%rbp)
movl -0x558(%rbp), %eax
cmpl -0x580(%rbp), %eax
jge 0x74d141
movaps -0x6f0(%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, -0x6f0(%rbp)
movl -0x558(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x558(%rbp)
jmp 0x74d10e
movaps -0x6f0(%rbp), %xmm0
pextrb $0xf, %xmm0, %eax
movzbl %al, %eax
movsbl %al, %edx
movq -0x668(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq -0x554(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x554(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x554(%rbp)
jmp 0x74c917
movl $0x0, -0x550(%rbp)
movl -0x550(%rbp), %eax
cmpl -0x578(%rbp), %eax
jge 0x74d200
movq -0x5a8(%rbp), %rax
movslq -0x550(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x2a8(%rbp)
movq -0x2a8(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x740(%rbp)
movq -0x668(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
movdqa -0x740(%rbp), %xmm0
movl -0x550(%rbp), %esi
movl -0x578(%rbp), %edx
callq 0x74d3e0
movl -0x550(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x74d18a
movq -0x5a8(%rbp), %rax
movslq -0x57c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x2b0(%rbp)
movq -0x2b0(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x750(%rbp)
movl $0x0, -0x558(%rbp)
movl -0x558(%rbp), %eax
cmpl -0x580(%rbp), %eax
jge 0x74d26c
movaps -0x750(%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, -0x750(%rbp)
movl -0x558(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x558(%rbp)
jmp 0x74d239
movb -0x741(%rbp), %al
movb %al, -0x5f1(%rbp)
movaps -0x630(%rbp), %xmm1
movaps -0x610(%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 -0x640(%rbp), %xmm2
movaps -0x620(%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 0x74d354
movq -0x668(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movb $0x0, -0x5f1(%rbp)
movl $0x0, -0x560(%rbp)
movl $0x0, -0x564(%rbp)
movsbl -0x5f1(%rbp), %ecx
movq -0x668(%rbp), %rax
movl %ecx, (%rax)
movl -0x560(%rbp), %ecx
movq -0x668(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x564(%rbp), %ecx
movq -0x668(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x5b0(%rbp), %rdi
callq 0x1c3590
movq -0x5a8(%rbp), %rdi
callq 0x1c3590
movq -0x5a0(%rbp), %rdi
callq 0x1c3590
movq -0x598(%rbp), %rdi
callq 0x1c3590
movq -0x590(%rbp), %rdi
callq 0x1c3590
movq -0x668(%rbp), %rax
movq %rax, -0x530(%rbp)
movq -0x530(%rbp), %rax
addq $0x780, %rsp            # imm = 0x780
popq %rbp
retq
nop