// File: /workspace/github_c_makefile_star2_O3/nh13[P]ksw/src/parasail/src/nw_striped_sse2_128_8.c
// Function: parasail_nw_table_striped_profile_sse2_128_8
parasail_result_t* PNAME(
        const parasail_profile_t * const restrict profile,
        const char * const restrict s2, const int s2Len,
        const int open, const int gap)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t k = 0;
    int 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 vProfile = NULL;
    __m128i* restrict pvHStore = NULL;
    __m128i* restrict pvHLoad = NULL;
    __m128i* restrict pvE = NULL;
    int8_t* restrict boundary = NULL;
    __m128i vGapO;
    __m128i vGapE;
    int8_t NEG_LIMIT = 0;
    int8_t POS_LIMIT = 0;
    int8_t score = 0;
    __m128i vNegLimit;
    __m128i vPosLimit;
    __m128i vSaturationCheckMin;
    __m128i vSaturationCheckMax;
    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;
    vProfile = (__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;
    score = NEG_LIMIT;
    vNegLimit = _mm_set1_epi8(NEG_LIMIT);
    vPosLimit = _mm_set1_epi8(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;

    /* 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_STRIPED
        | PARASAIL_FLAG_BITS_8 | PARASAIL_FLAG_LANES_16;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    pvHStore = parasail_memalign___m128i(16, segLen);
    pvHLoad  = parasail_memalign___m128i(16, segLen);
    pvE      = parasail_memalign___m128i(16, segLen);
    boundary = parasail_memalign_int8_t(16, s2Len+1);

    /* validate heap variables */
    if (!pvHStore) return NULL;
    if (!pvHLoad) return NULL;
    if (!pvE) return NULL;
    if (!boundary) 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(&pvHStore[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;
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vE;
        /* Initialize F value to -inf.  Any errors to vH values will be
         * corrected in the Lazy_F loop.  */
        __m128i vF = vNegLimit;

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

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

        /* Swap the 2 H buffers. */
        __m128i* pv = pvHLoad;
        pvHLoad = pvHStore;
        pvHStore = pv;

        /* insert upper boundary condition */
        vH = _mm_insert_epi8_rpl(vH, boundary[j], 0);

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

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

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

            /* Update vF value. */
            vF = _mm_subs_epi8(vF, vGapE);
            vF = _mm_max_epi8_rpl(vF, vH);

            /* Load the next vH. */
            vH = _mm_load_si128(pvHLoad + i);
        }

        /* Lazy_F loop: has been revised to disallow adjecent insertion and
         * then deletion, so don't update E(i, i), learn from SWPS3 */
        for (k=0; k<segWidth; ++k) {
            int64_t tmp = boundary[j+1]-open;
            int8_t tmp2 = tmp < INT8_MIN ? INT8_MIN : tmp;
            vF = _mm_slli_si128(vF, 1);
            vF = _mm_insert_epi8_rpl(vF, tmp2, 0);
            for (i=0; i<segLen; ++i) {
                vH = _mm_load_si128(pvHStore + i);
                vH = _mm_max_epi8_rpl(vH,vF);
                _mm_store_si128(pvHStore + i, vH);
                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
                vH = _mm_subs_epi8(vH, vGapO);
                vF = _mm_subs_epi8(vF, vGapE);
                if (! _mm_movemask_epi8(_mm_cmpgt_epi8(vF, vH))) goto end;
                /*vF = _mm_max_epi8_rpl(vF, vH);*/
            }
        }
end:
        {
        }

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

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

    /* extract last value from the last column */
    {
        __m128i vH = _mm_load_si128(pvHStore + 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(boundary);
    parasail_free(pvE);
    parasail_free(pvHLoad);
    parasail_free(pvHStore);

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movl %ecx, 0xc(%rsp)
movq %rsi, 0xb8(%rsp)
testq %rdi, %rdi
je 0x312d61
movq 0x18(%rdi), %rax
movq %rax, 0x168(%rsp)
testq %rax, %rax
je 0x312d6b
movq 0x10(%rdi), %rax
movq %rax, 0xb0(%rsp)
testq %rax, %rax
je 0x312dbe
movl 0x8(%rdi), %edi
testl %edi, %edi
jle 0x312dc8
cmpq $0x0, 0xb8(%rsp)
je 0x312dd2
movl %edx, %r13d
testl %edx, %edx
jle 0x312ddc
cmpl $0x0, 0xc(%rsp)
js 0x312de6
testl %r8d, %r8d
js 0x312df0
movq %r8, 0x28(%rsp)
leal -0x1(%rdi), %eax
addq $0xf, %rdi
movq %rdi, %r15
shrq $0x4, %r15
movl %eax, 0x34(%rsp)
xorl %edx, %edx
divl %r15d
movl %eax, 0x38(%rsp)
movl %edx, 0x8c(%rsp)
movl 0xc(%rsp), %edx
movl %edx, %ebx
negl %ebx
movq 0xb0(%rsp), %rsi
movl 0x20(%rsi), %eax
movl %eax, %ecx
negb %cl
cmpl %ebx, %eax
movzbl %cl, %r14d
cmovgl %edx, %r14d
movb $0x7e, %bpl
subb 0x1c(%rsi), %bpl
andl $0x7ffffff0, %edi       # imm = 0x7FFFFFF0
movl %r13d, %esi
callq 0x20abc2
testq %rax, %rax
je 0x311e41
movq %rax, %r12
movb %bpl, 0x70(%rsp)
movl %ebx, 0x60(%rsp)
orl $0x10120801, 0xc(%rax)  # imm = 0x10120801
movl $0x10, %edi
movq %r15, %rsi
callq 0x2f600c
movq %rax, %rbp
movl $0x10, %edi
movq %r15, %rsi
callq 0x2f600c
movq %rax, %rbx
movl $0x10, %edi
movq %r15, %rsi
callq 0x2f600c
movq %r15, 0xa8(%rsp)
movq %rax, %r15
movq %r13, 0x40(%rsp)
leal 0x1(%r13), %esi
movl $0x10, %edi
callq 0x20a620
movq %rbp, %xmm0
movq %rbx, %xmm1
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movq %r15, %xmm1
movq %rax, %xmm2
punpcklqdq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0]
pxor %xmm2, %xmm2
pcmpeqd %xmm2, %xmm0
pcmpeqd %xmm2, %xmm1
movdqa %xmm0, %xmm2
shufps $0xdd, %xmm1, %xmm2     # xmm2 = xmm2[1,3],xmm1[1,3]
shufps $0x88, %xmm1, %xmm0     # xmm0 = xmm0[0,2],xmm1[0,2]
andps %xmm2, %xmm0
movmskps %xmm0, %ecx
testl %ecx, %ecx
je 0x311e59
xorl %r12d, %r12d
movq %r12, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, 0x20(%rsp)
movq %rax, 0x10(%rsp)
movq %r15, 0x58(%rsp)
movq 0x40(%rsp), %rax
decl %eax
movl %eax, 0x30(%rsp)
movl $0xf, %eax
subl 0x38(%rsp), %eax
movl %eax, 0x88(%rsp)
movl 0xc(%rsp), %ecx
movd %ecx, %xmm0
movdqa %xmm0, 0x90(%rsp)
punpcklbw %xmm0, %xmm0    # xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm0, %xmm2      # xmm2 = xmm0[0,0,0,0]
movq 0x28(%rsp), %r15
movd %r15d, %xmm5
movdqa %xmm5, %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]
pshuflw $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm0, %xmm3      # xmm3 = xmm0[0,0,0,0]
addb $-0x7f, %r14b
movzbl %r14b, %eax
movd %eax, %xmm0
punpcklbw %xmm0, %xmm0    # xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm0, %xmm1      # xmm1 = xmm0[0,0,0,0]
movzbl 0x70(%rsp), %eax
movd %eax, %xmm0
punpcklbw %xmm0, %xmm0    # xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm0, %xmm4      # xmm4 = xmm0[0,0,0,0]
movl %ecx, %eax
movl %r15d, %ecx
movl 0x60(%rsp), %ebx
movslq %ebx, %rdx
negq %rax
movq 0xa8(%rsp), %r14
movq %r14, %rsi
imulq %rcx, %rsi
xorl %edi, %edi
movq $-0x80, %r8
movq %rdx, %r9
xorl %r10d, %r10d
cmpq $-0x7f, %r9
movq $-0x80, %r11
cmovgeq %r9, %r11
movb %r11b, 0x1a0(%rsp,%r10)
leaq (%rax,%r9), %r11
cmpq $-0x7f, %r11
cmovlq %r8, %r11
movb %r11b, 0x190(%rsp,%r10)
incq %r10
subq %rsi, %r9
cmpq $0x10, %r10
jne 0x311f1c
movq %rdi, %r9
shlq $0x4, %r9
movaps 0x1a0(%rsp), %xmm0
movaps %xmm0, (%rbp,%r9)
movdqa 0x190(%rsp), %xmm0
movq 0x58(%rsp), %r10
movdqa %xmm0, (%r10,%r9)
incq %rdi
subq %rcx, %rdx
cmpq %r14, %rdi
jne 0x311f16
movdqa %xmm4, 0x170(%rsp)
movdqa %xmm1, 0x180(%rsp)
movq 0x10(%rsp), %rax
movb $0x0, (%rax)
movq 0x40(%rsp), %rsi
movl %esi, %eax
addl $0xf, %esi
andl $-0x10, %esi
movq %rax, 0xa0(%rsp)
decq %rax
movq %rax, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa %xmm0, 0x70(%rsp)
movd %ebx, %xmm0
movdqa %xmm0, 0x60(%rsp)
pshufd $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movdqa %xmm0, 0x40(%rsp)
pshufd $0x0, %xmm5, %xmm8      # xmm8 = xmm5[0,0,0,0]
movl %r15d, %edi
negl %edi
movl %r15d, %r8d
shll $0x4, %r8d
leal (%r15,%r15,2), %r9d
addl %r15d, %r15d
xorl %r10d, %r10d
movdqa 0x316e9d(%rip), %xmm9   # 0x628ea0
pcmpeqd %xmm10, %xmm10
xorl %r11d, %r11d
movdqa 0x317bfc(%rip), %xmm14  # 0x629c10
movq %rbp, %rdx
movq %r11, %xmm0
pshufd $0x44, %xmm0, %xmm15    # xmm15 = xmm0[0,1,0,1]
movdqa %xmm15, %xmm0
por 0x316e61(%rip), %xmm0   # 0x628e90
movdqa 0x70(%rsp), %xmm5
pxor %xmm9, %xmm5
pxor %xmm9, %xmm0
movdqa %xmm0, %xmm1
pcmpgtd %xmm5, %xmm1
pshufd $0xa0, %xmm1, %xmm13    # xmm13 = xmm1[0,0,2,2]
pshuflw $0xe8, %xmm13, %xmm4    # xmm4 = xmm13[0,2,2,3,4,5,6,7]
pcmpeqd %xmm5, %xmm0
pshufd $0xf5, %xmm0, %xmm12    # xmm12 = xmm0[1,1,3,3]
pshuflw $0xe8, %xmm12, %xmm11   # xmm11 = xmm12[0,2,2,3,4,5,6,7]
pand %xmm4, %xmm11
pshufd $0xf5, %xmm1, %xmm0     # xmm0 = xmm1[1,1,3,3]
pshuflw $0xe8, %xmm0, %xmm4     # xmm4 = xmm0[0,2,2,3,4,5,6,7]
por %xmm11, %xmm4
pxor %xmm10, %xmm4
packssdw %xmm4, %xmm4
leal (%r15,%r10), %eax
leal (%r9,%r10), %ecx
movd %edi, %xmm1
punpcklqdq 0x60(%rsp), %xmm1 # xmm1 = xmm1[0],mem[0]
pshufd $0xa2, %xmm1, %xmm1     # xmm1 = xmm1[2,0,2,2]
movd %ecx, %xmm11
movd %eax, %xmm6
punpckldq %xmm11, %xmm6   # xmm6 = xmm6[0],xmm11[0],xmm6[1],xmm11[1]
movd %r10d, %xmm11
punpckldq 0x90(%rsp), %xmm11 # xmm11 = xmm11[0],mem[0],xmm11[1],mem[1]
punpcklqdq %xmm6, %xmm11   # xmm11 = xmm11[0],xmm6[0]
psubd %xmm11, %xmm1
movdqa %xmm1, %xmm11
pcmpgtd %xmm14, %xmm11
pand %xmm11, %xmm1
pandn %xmm14, %xmm11
por %xmm1, %xmm11
movd %xmm4, %eax
testb $0x1, %al
movq 0x10(%rsp), %rcx
je 0x3120ee
movd %xmm11, %eax
movb %al, 0x1(%rcx,%r11)
pand %xmm13, %xmm12
por %xmm0, %xmm12
packssdw %xmm12, %xmm12
pxor %xmm10, %xmm12
packssdw %xmm12, %xmm12
packsswb %xmm12, %xmm12
movd %xmm12, %eax
shrl $0x8, %eax
testb $0x1, %al
je 0x312123
pextrw $0x2, %xmm11, %eax
movb %al, 0x2(%rcx,%r11)
movdqa %xmm15, %xmm1
por 0x316d50(%rip), %xmm1   # 0x628e80
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm6
pcmpgtd %xmm5, %xmm6
pshufd $0xa0, %xmm6, %xmm0     # xmm0 = xmm6[0,0,2,2]
pcmpeqd %xmm5, %xmm1
pshufd $0xf5, %xmm1, %xmm4     # xmm4 = xmm1[1,1,3,3]
movdqa %xmm4, %xmm1
pand %xmm0, %xmm1
pshufd $0xf5, %xmm6, %xmm12    # xmm12 = xmm6[1,1,3,3]
por %xmm12, %xmm1
packssdw %xmm1, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
movd %xmm1, %eax
shrl $0x10, %eax
testb $0x1, %al
je 0x312185
pextrw $0x4, %xmm11, %eax
movb %al, 0x3(%rcx,%r11)
pshufhw $0x84, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm1     # xmm1 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm0, %xmm1
pshufhw $0x84, %xmm12, %xmm0    # xmm0 = xmm12[0,1,2,3,4,5,4,6]
por %xmm1, %xmm0
pxor %xmm10, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
movd %xmm0, %eax
shrl $0x18, %eax
testb $0x1, %al
je 0x3121c0
pextrw $0x6, %xmm11, %eax
movb %al, 0x4(%rcx,%r11)
movdqa %xmm15, %xmm0
por 0x316d03(%rip), %xmm0   # 0x628ed0
movd %r11d, %xmm1
pshufd $0x0, %xmm1, %xmm11     # xmm11 = xmm1[0,0,0,0]
movdqa %xmm11, %xmm1
por 0x31791b(%rip), %xmm1   # 0x629b00
pshufd $0xf5, %xmm1, %xmm4     # xmm4 = xmm1[1,1,3,3]
pmuludq %xmm8, %xmm1
pshufd $0xe8, %xmm1, %xmm1     # xmm1 = xmm1[0,2,2,3]
pshufd $0xf5, %xmm8, %xmm12    # xmm12 = xmm8[1,1,3,3]
pmuludq %xmm12, %xmm4
pshufd $0xe8, %xmm4, %xmm4     # xmm4 = xmm4[0,2,2,3]
punpckldq %xmm4, %xmm1    # xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
movdqa 0x40(%rsp), %xmm4
psubd %xmm1, %xmm4
movdqa %xmm4, %xmm13
pcmpgtd %xmm14, %xmm13
pand %xmm13, %xmm4
pandn %xmm14, %xmm13
por %xmm4, %xmm13
pxor %xmm9, %xmm0
movdqa %xmm0, %xmm1
pcmpgtd %xmm5, %xmm1
pshufd $0xa0, %xmm1, %xmm4     # xmm4 = xmm1[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm5, %xmm0
pshufd $0xf5, %xmm0, %xmm0     # xmm0 = xmm0[1,1,3,3]
pshuflw $0xe8, %xmm0, %xmm7     # xmm7 = xmm0[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm1, %xmm1     # xmm1 = xmm1[1,1,3,3]
pshuflw $0xe8, %xmm1, %xmm6     # xmm6 = xmm1[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pxor %xmm10, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x2, %xmm6, %eax
testb $0x1, %al
je 0x312282
movd %xmm13, %eax
movb %al, 0x5(%rcx,%r11)
pand %xmm4, %xmm0
por %xmm1, %xmm0
packssdw %xmm0, %xmm0
pxor %xmm10, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
pextrw $0x2, %xmm0, %eax
shrl $0x8, %eax
testb $0x1, %al
je 0x3122b2
pextrw $0x2, %xmm13, %eax
movb %al, 0x6(%rcx,%r11)
movdqa %xmm15, %xmm1
por 0x316c01(%rip), %xmm1   # 0x628ec0
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm6
pcmpgtd %xmm5, %xmm6
pshufd $0xa0, %xmm6, %xmm0     # xmm0 = xmm6[0,0,2,2]
pcmpeqd %xmm5, %xmm1
pshufd $0xf5, %xmm1, %xmm4     # xmm4 = xmm1[1,1,3,3]
movdqa %xmm4, %xmm7
pand %xmm0, %xmm7
pshufd $0xf5, %xmm6, %xmm1     # xmm1 = xmm6[1,1,3,3]
por %xmm1, %xmm7
packssdw %xmm7, %xmm6
pxor %xmm10, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x3, %xmm6, %eax
testb $0x1, %al
je 0x312310
pextrw $0x4, %xmm13, %eax
movb %al, 0x7(%rcx,%r11)
pshufhw $0x84, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm4     # xmm4 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm0, %xmm4
pshufhw $0x84, %xmm1, %xmm0     # xmm0 = xmm1[0,1,2,3,4,5,4,6]
por %xmm4, %xmm0
pxor %xmm10, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
pextrw $0x3, %xmm0, %eax
shrl $0x8, %eax
testb $0x1, %al
je 0x31234b
pextrw $0x6, %xmm13, %eax
movb %al, 0x8(%rcx,%r11)
movdqa %xmm15, %xmm0
por 0x317888(%rip), %xmm0   # 0x629be0
movdqa %xmm11, %xmm1
por 0x31788b(%rip), %xmm1   # 0x629bf0
pshufd $0xf5, %xmm1, %xmm4     # xmm4 = xmm1[1,1,3,3]
pmuludq %xmm8, %xmm1
pshufd $0xe8, %xmm1, %xmm1     # xmm1 = xmm1[0,2,2,3]
pmuludq %xmm12, %xmm4
pshufd $0xe8, %xmm4, %xmm4     # xmm4 = xmm4[0,2,2,3]
punpckldq %xmm4, %xmm1    # xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
movdqa 0x40(%rsp), %xmm4
psubd %xmm1, %xmm4
movdqa %xmm4, %xmm13
pcmpgtd %xmm14, %xmm13
pand %xmm13, %xmm4
pandn %xmm14, %xmm13
por %xmm4, %xmm13
pxor %xmm9, %xmm0
movdqa %xmm0, %xmm1
pcmpgtd %xmm5, %xmm1
pshufd $0xa0, %xmm1, %xmm4     # xmm4 = xmm1[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm5, %xmm0
pshufd $0xf5, %xmm0, %xmm0     # xmm0 = xmm0[1,1,3,3]
pshuflw $0xe8, %xmm0, %xmm7     # xmm7 = xmm0[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm1, %xmm1     # xmm1 = xmm1[1,1,3,3]
pshuflw $0xe8, %xmm1, %xmm6     # xmm6 = xmm1[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pxor %xmm10, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x4, %xmm6, %eax
testb $0x1, %al
je 0x3123fc
movd %xmm13, %eax
movb %al, 0x9(%rcx,%r11)
pand %xmm4, %xmm0
por %xmm1, %xmm0
packssdw %xmm0, %xmm0
pxor %xmm10, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
pextrw $0x4, %xmm0, %eax
shrl $0x8, %eax
testb $0x1, %al
je 0x31242c
pextrw $0x2, %xmm13, %eax
movb %al, 0xa(%rcx,%r11)
movdqa %xmm15, %xmm1
por 0x317797(%rip), %xmm1   # 0x629bd0
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm4
pcmpgtd %xmm5, %xmm4
pshufd $0xa0, %xmm4, %xmm0     # xmm0 = xmm4[0,0,2,2]
pcmpeqd %xmm5, %xmm1
pshufd $0xf5, %xmm1, %xmm1     # xmm1 = xmm1[1,1,3,3]
movdqa %xmm1, %xmm6
pand %xmm0, %xmm6
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
por %xmm4, %xmm6
packssdw %xmm6, %xmm6
pxor %xmm10, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x5, %xmm6, %eax
testb $0x1, %al
je 0x31248a
pextrw $0x4, %xmm13, %eax
movb %al, 0xb(%rcx,%r11)
pshufhw $0x84, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm1, %xmm1     # xmm1 = xmm1[0,1,2,3,4,5,4,6]
pand %xmm0, %xmm1
pshufhw $0x84, %xmm4, %xmm0     # xmm0 = xmm4[0,1,2,3,4,5,4,6]
por %xmm1, %xmm0
pxor %xmm10, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
pextrw $0x5, %xmm0, %eax
shrl $0x8, %eax
testb $0x1, %al
je 0x3124c5
pextrw $0x6, %xmm13, %eax
movb %al, 0xc(%rcx,%r11)
movdqa %xmm15, %xmm0
por 0x3176ee(%rip), %xmm0   # 0x629bc0
por 0x317725(%rip), %xmm11  # 0x629c00
pshufd $0xf5, %xmm11, %xmm1    # xmm1 = xmm11[1,1,3,3]
pmuludq %xmm8, %xmm11
pshufd $0xe8, %xmm11, %xmm4    # xmm4 = xmm11[0,2,2,3]
pmuludq %xmm12, %xmm1
pshufd $0xe8, %xmm1, %xmm1     # xmm1 = xmm1[0,2,2,3]
punpckldq %xmm1, %xmm4    # xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
movdqa 0x40(%rsp), %xmm1
psubd %xmm4, %xmm1
movdqa %xmm1, %xmm11
pcmpgtd %xmm14, %xmm11
pand %xmm11, %xmm1
pandn %xmm14, %xmm11
por %xmm1, %xmm11
pxor %xmm9, %xmm0
movdqa %xmm0, %xmm1
pcmpgtd %xmm5, %xmm1
pshufd $0xa0, %xmm1, %xmm4     # xmm4 = xmm1[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm5, %xmm0
pshufd $0xf5, %xmm0, %xmm0     # xmm0 = xmm0[1,1,3,3]
pshuflw $0xe8, %xmm0, %xmm7     # xmm7 = xmm0[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm1, %xmm1     # xmm1 = xmm1[1,1,3,3]
pshuflw $0xe8, %xmm1, %xmm6     # xmm6 = xmm1[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pxor %xmm10, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x6, %xmm6, %eax
testb $0x1, %al
je 0x312574
movd %xmm11, %eax
movb %al, 0xd(%rcx,%r11)
pand %xmm4, %xmm0
por %xmm1, %xmm0
packssdw %xmm0, %xmm0
pxor %xmm10, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
pextrw $0x6, %xmm0, %eax
shrl $0x8, %eax
testb $0x1, %al
je 0x3125a4
pextrw $0x2, %xmm11, %eax
movb %al, 0xe(%rcx,%r11)
por 0x317603(%rip), %xmm15  # 0x629bb0
pxor %xmm9, %xmm15
movdqa %xmm15, %xmm4
pcmpgtd %xmm5, %xmm4
pshufd $0xa0, %xmm4, %xmm0     # xmm0 = xmm4[0,0,2,2]
pcmpeqd %xmm5, %xmm15
pshufd $0xf5, %xmm15, %xmm1    # xmm1 = xmm15[1,1,3,3]
movdqa %xmm1, %xmm5
pand %xmm0, %xmm5
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
por %xmm4, %xmm5
packssdw %xmm5, %xmm5
pxor %xmm10, %xmm5
packssdw %xmm5, %xmm5
packsswb %xmm5, %xmm5
pextrw $0x7, %xmm5, %eax
testb $0x1, %al
je 0x312601
pextrw $0x4, %xmm11, %eax
movb %al, 0xf(%rcx,%r11)
pshufhw $0x84, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm1, %xmm1     # xmm1 = xmm1[0,1,2,3,4,5,4,6]
pand %xmm0, %xmm1
pshufhw $0x84, %xmm4, %xmm0     # xmm0 = xmm4[0,1,2,3,4,5,4,6]
por %xmm1, %xmm0
pxor %xmm10, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
pextrw $0x7, %xmm0, %eax
shrl $0x8, %eax
testb $0x1, %al
je 0x31263c
pextrw $0x6, %xmm11, %eax
movb %al, 0x10(%rcx,%r11)
addq $0x10, %r11
subl %r8d, %edi
addl %r8d, %r10d
cmpq %r11, %rsi
jne 0x312017
leal -0x1(%r14), %ecx
movq %r14, %rbx
movq 0xa0(%rsp), %rax
imulq %rax, %rbx
leaq (,%rbx,4), %rsi
leaq (,%rax,4), %r8
leaq (,%rbx,8), %rdi
leaq (%rsi,%rsi,2), %rax
movq %rax, 0x138(%rsp)
leaq (%rbx,%rbx,8), %rax
leaq (%rax,%rax,2), %rax
addq %rbx, %rax
movq %rax, 0x130(%rsp)
movq %rbx, %rax
imulq $0x2c, %rbx, %r9
movq %r9, 0x120(%rsp)
imulq $0x34, %rbx, %r9
movq %r9, 0x118(%rsp)
imulq $0x38, %rbx, %r9
movq %r9, 0x110(%rsp)
imulq $0x3c, %rbx, %r9
movq %r9, 0x108(%rsp)
shlq $0x4, %rbx
leaq (%rsi,%rsi,4), %r9
movq %r9, 0xf8(%rsp)
leaq (%rdi,%rdi,2), %r9
movq %r9, 0xf0(%rsp)
shlq $0x5, %rax
movq %rax, 0x128(%rsp)
movq %r14, %r9
shlq $0x4, %r9
shlq $0x4, %rcx
movq %rcx, 0x160(%rsp)
movdqa 0x317511(%rip), %xmm5   # 0x629c20
movdqa 0x180(%rsp), %xmm10
movdqa %xmm10, %xmm1
movdqa 0x170(%rsp), %xmm11
movdqa %xmm11, %xmm4
movq %rsi, 0x150(%rsp)
leaq (%rsi,%rsi,8), %rax
movq %rax, 0xe0(%rsp)
movq %rdi, 0x140(%rsp)
leaq (%rdi,%rdi,4), %rax
movq %rax, 0xd8(%rsp)
movq %rbx, 0x100(%rsp)
leaq (%rbx,%rbx,2), %rax
movq %rax, 0xd0(%rsp)
xorl %ebp, %ebp
xorl %r10d, %r10d
movq 0x20(%rsp), %rdi
movq %r12, 0x158(%rsp)
movq %r8, 0x148(%rsp)
movq %r9, 0xe8(%rsp)
movq 0x160(%rsp), %rax
movq %rdx, 0x80(%rsp)
movdqa (%rdx,%rax), %xmm6
pslldq $0x1, %xmm6             # xmm6 = zero,xmm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movq 0xb0(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0xb8(%rsp), %rax
movzbl (%rax,%r10), %edx
movslq (%rcx,%rdx,4), %rcx
movl %r14d, %eax
imulq %rcx, %rax
shlq $0x4, %rax
addq 0x168(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x10(%rsp), %rax
movq %r10, 0xc0(%rsp)
movzbl (%rax,%r10), %ecx
movd %ecx, %xmm7
movdqa %xmm5, %xmm0
pandn %xmm7, %xmm0
por %xmm6, %xmm0
movq %rbp, 0xc8(%rsp)
xorl %edx, %edx
movdqa %xmm10, %xmm6
movq 0x18(%rsp), %rax
paddsb (%rax,%rdx), %xmm0
movq 0x58(%rsp), %rax
movdqa (%rax,%rdx), %xmm8
movdqa %xmm0, %xmm9
pcmpgtb %xmm8, %xmm9
pand %xmm9, %xmm0
pandn %xmm8, %xmm9
por %xmm0, %xmm9
movdqa %xmm9, %xmm7
pcmpgtb %xmm6, %xmm7
pand %xmm7, %xmm9
pandn %xmm6, %xmm7
por %xmm9, %xmm7
movdqa %xmm7, (%rdi,%rdx)
movq 0x10(%r12), %rsi
movq (%rsi), %rsi
movsbl (%rdi,%rdx), %eax
movsbl 0x1(%rdi,%rdx), %ecx
movl %ecx, 0x40(%rsp)
movsbl 0x2(%rdi,%rdx), %r14d
movsbl 0x3(%rdi,%rdx), %r13d
movsbl 0x4(%rdi,%rdx), %r15d
movsbl 0x5(%rdi,%rdx), %r9d
movsbl 0x6(%rdi,%rdx), %ecx
movl %ecx, 0x90(%rsp)
movsbl 0x7(%rdi,%rdx), %ebx
movsbl 0x8(%rdi,%rdx), %r8d
movsbl 0x9(%rdi,%rdx), %r10d
movsbl 0xa(%rdi,%rdx), %r11d
movsbl 0xb(%rdi,%rdx), %r12d
movsbl 0xc(%rdi,%rdx), %ecx
movl %ecx, 0x70(%rsp)
movsbl 0xd(%rdi,%rdx), %ecx
movl %ecx, 0x60(%rsp)
movsbl 0xe(%rdi,%rdx), %ecx
movl %ecx, 0x28(%rsp)
movsbl 0xf(%rdi,%rdx), %ecx
movl %ecx, 0x20(%rsp)
movl %eax, (%rsi,%rbp)
leaq (%rsi,%rbp), %rsi
movq 0x150(%rsp), %rax
movl 0x40(%rsp), %ecx
movl %ecx, (%rax,%rsi)
movq 0x140(%rsp), %rax
movl %r14d, (%rax,%rsi)
movq 0x138(%rsp), %rax
movl %r13d, (%rax,%rsi)
movq 0x100(%rsp), %rax
movl %r15d, (%rax,%rsi)
movq 0xf8(%rsp), %rax
movl %r9d, (%rax,%rsi)
movq 0xe8(%rsp), %r9
movq 0xf0(%rsp), %rax
movl 0x90(%rsp), %ecx
movl %ecx, (%rax,%rsi)
movq 0x130(%rsp), %rax
movl %ebx, (%rax,%rsi)
movq 0x128(%rsp), %rax
movl %r8d, (%rax,%rsi)
movq 0x148(%rsp), %r8
movq 0xe0(%rsp), %rax
movl %r10d, (%rax,%rsi)
movq 0xd8(%rsp), %rax
movl %r11d, (%rax,%rsi)
movq 0x120(%rsp), %rax
movl %r12d, (%rax,%rsi)
movq 0x158(%rsp), %r12
movq 0xd0(%rsp), %rax
movl 0x70(%rsp), %ecx
movl %ecx, (%rax,%rsi)
movq 0x118(%rsp), %rax
movl 0x60(%rsp), %ecx
movl %ecx, (%rax,%rsi)
movq 0x110(%rsp), %rax
movl 0x28(%rsp), %ecx
movl %ecx, (%rax,%rsi)
movq 0x108(%rsp), %rax
movl 0x20(%rsp), %ecx
movl %ecx, (%rax,%rsi)
movdqa %xmm1, %xmm0
pcmpgtb %xmm7, %xmm1
pand %xmm1, %xmm0
pandn %xmm7, %xmm1
por %xmm0, %xmm1
movdqa %xmm4, %xmm0
pcmpgtb %xmm7, %xmm0
movdqa %xmm7, %xmm9
pand %xmm0, %xmm9
pandn %xmm4, %xmm0
por %xmm9, %xmm0
movdqa %xmm0, %xmm9
pcmpgtb %xmm8, %xmm9
movdqa %xmm8, %xmm4
pand %xmm9, %xmm4
pandn %xmm0, %xmm9
por %xmm4, %xmm9
movdqa %xmm9, %xmm4
pcmpgtb %xmm6, %xmm4
movdqa %xmm6, %xmm0
pand %xmm4, %xmm0
pandn %xmm9, %xmm4
por %xmm0, %xmm4
psubsb %xmm2, %xmm7
psubsb %xmm3, %xmm8
movdqa %xmm8, %xmm0
pcmpgtb %xmm7, %xmm0
pand %xmm0, %xmm8
pandn %xmm7, %xmm0
por %xmm8, %xmm0
movq 0x58(%rsp), %rax
movdqa %xmm0, (%rax,%rdx)
psubsb %xmm3, %xmm6
movdqa %xmm6, %xmm0
pcmpgtb %xmm7, %xmm6
pand %xmm6, %xmm0
pandn %xmm7, %xmm6
por %xmm0, %xmm6
movq 0x80(%rsp), %rax
movdqa (%rax,%rdx), %xmm0
addq $0x10, %rdx
addq %r8, %rbp
cmpq %rdx, %r9
jne 0x31280b
movq %rdi, 0x18(%rsp)
movl $0x0, 0x3c(%rsp)
movq 0x10(%rsp), %rax
movq 0xc0(%rsp), %rcx
movsbl 0x1(%rax,%rcx), %eax
subl 0xc(%rsp), %eax
cmpl $-0x7f, %eax
movl $0xffffff80, %ecx       # imm = 0xFFFFFF80
cmovll %ecx, %eax
pslldq $0x1, %xmm6             # xmm6 = zero,xmm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
movd %eax, %xmm0
movdqa %xmm5, %xmm7
pandn %xmm0, %xmm7
por %xmm7, %xmm6
movq 0xc8(%rsp), %rdx
xorl %r11d, %r11d
movq 0x18(%rsp), %rcx
movdqa (%rcx,%r11), %xmm0
movdqa %xmm0, %xmm7
pcmpgtb %xmm6, %xmm7
pand %xmm7, %xmm0
pandn %xmm6, %xmm7
por %xmm0, %xmm7
movdqa %xmm7, (%rcx,%r11)
movq 0x10(%r12), %rax
movq (%rax), %rax
movsbl (%rcx,%r11), %esi
movl %esi, 0x90(%rsp)
movsbl 0x1(%rcx,%r11), %edi
movsbl 0x2(%rcx,%r11), %r8d
movsbl 0x3(%rcx,%r11), %r9d
movsbl 0x4(%rcx,%r11), %r10d
movsbl 0x5(%rcx,%r11), %ebx
movsbl 0x6(%rcx,%r11), %ebp
movsbl 0x7(%rcx,%r11), %r14d
movsbl 0x8(%rcx,%r11), %r15d
movsbl 0x9(%rcx,%r11), %r12d
movsbl 0xa(%rcx,%r11), %r13d
movsbl 0xb(%rcx,%r11), %esi
movl %esi, 0x40(%rsp)
movsbl 0xc(%rcx,%r11), %esi
movl %esi, 0x70(%rsp)
movsbl 0xd(%rcx,%r11), %esi
movl %esi, 0x60(%rsp)
movsbl 0xe(%rcx,%r11), %esi
movl %esi, 0x28(%rsp)
movsbl 0xf(%rcx,%r11), %ecx
movl %ecx, 0x20(%rsp)
movl 0x90(%rsp), %ecx
movl %ecx, (%rax,%rdx)
leaq (%rax,%rdx), %rax
movq 0x150(%rsp), %rcx
movl %edi, (%rcx,%rax)
movq 0x140(%rsp), %rcx
movl %r8d, (%rcx,%rax)
movq 0x148(%rsp), %r8
movq 0x138(%rsp), %rcx
movl %r9d, (%rcx,%rax)
movq 0xe8(%rsp), %r9
movq 0x100(%rsp), %rcx
movl %r10d, (%rcx,%rax)
movq 0xf8(%rsp), %rcx
movl %ebx, (%rcx,%rax)
movq 0xf0(%rsp), %rcx
movl %ebp, (%rcx,%rax)
movq 0x130(%rsp), %rcx
movl %r14d, (%rcx,%rax)
movq 0x128(%rsp), %rcx
movl %r15d, (%rcx,%rax)
movq 0xe0(%rsp), %rcx
movl %r12d, (%rcx,%rax)
movq 0x158(%rsp), %r12
movq 0xd8(%rsp), %rcx
movl %r13d, (%rcx,%rax)
movq 0x120(%rsp), %rcx
movl 0x40(%rsp), %esi
movl %esi, (%rcx,%rax)
movq 0xd0(%rsp), %rcx
movl 0x70(%rsp), %esi
movl %esi, (%rcx,%rax)
movq 0x118(%rsp), %rcx
movl 0x60(%rsp), %esi
movl %esi, (%rcx,%rax)
movq 0x110(%rsp), %rcx
movl 0x28(%rsp), %esi
movl %esi, (%rcx,%rax)
movq 0x108(%rsp), %rcx
movl 0x20(%rsp), %esi
movl %esi, (%rcx,%rax)
movdqa %xmm4, %xmm0
pcmpgtb %xmm7, %xmm0
movdqa %xmm7, %xmm8
pand %xmm0, %xmm8
pandn %xmm4, %xmm0
movdqa %xmm0, %xmm4
por %xmm8, %xmm4
movdqa %xmm1, %xmm0
pcmpgtb %xmm7, %xmm1
pand %xmm1, %xmm0
pandn %xmm7, %xmm1
por %xmm0, %xmm1
psubsb %xmm2, %xmm7
psubsb %xmm3, %xmm6
movdqa %xmm6, %xmm0
pcmpgtb %xmm7, %xmm0
pmovmskb %xmm0, %eax
testl %eax, %eax
je 0x312cc5
addq $0x10, %r11
addq %r8, %rdx
cmpq %r11, %r9
jne 0x312aca
movl 0x3c(%rsp), %eax
incl %eax
movl %eax, 0x3c(%rsp)
cmpl $0x10, %eax
jne 0x312a89
movq 0xc0(%rsp), %r10
incq %r10
movq 0xc8(%rsp), %rbp
addq $0x4, %rbp
movq 0x80(%rsp), %rdi
cmpq 0xa0(%rsp), %r10
movq 0x18(%rsp), %rdx
movq 0xa8(%rsp), %r14
jne 0x31278b
movl 0x8c(%rsp), %eax
shlq $0x4, %rax
movdqa (%rdx,%rax), %xmm0
cmpl $0xe, 0x38(%rsp)
jg 0x312d34
xorl %eax, %eax
movl 0x34(%rsp), %ecx
movl 0x30(%rsp), %edx
movl 0x88(%rsp), %esi
pslldq $0x1, %xmm0             # xmm0 = zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
incl %eax
cmpl %esi, %eax
jl 0x312d27
jmp 0x312d3c
movl 0x34(%rsp), %ecx
movl 0x30(%rsp), %edx
pcmpgtb %xmm4, %xmm10
pcmpgtb %xmm11, %xmm1
por %xmm10, %xmm1
pmovmskb %xmm1, %eax
testl %eax, %eax
je 0x312d75
orb $0x40, 0xc(%r12)
xorl %eax, %eax
xorl %edx, %edx
xorl %ecx, %ecx
jmp 0x312d7d
callq 0x1aec43
jmp 0x311e41
callq 0x1aec1d
jmp 0x311e41
pextrw $0x7, %xmm0, %eax
shrl $0x8, %eax
movsbl %al, %eax
movl %eax, (%r12)
movl %ecx, 0x4(%r12)
movl %edx, 0x8(%r12)
movq 0x10(%rsp), %rdi
callq 0x20a60d
movq 0x58(%rsp), %rdi
callq 0x20a60d
movq 0x80(%rsp), %rdi
callq 0x20a60d
movq 0x18(%rsp), %rdi
callq 0x20a60d
jmp 0x311e44
callq 0x1aebf7
jmp 0x311e41
callq 0x1aebd1
jmp 0x311e41
callq 0x1aebab
jmp 0x311e41
callq 0x1aeb85
jmp 0x311e41
callq 0x1aeb5f
jmp 0x311e41
callq 0x1aeb39
jmp 0x311e41
nop