// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/sw_striped_sse2_128_8.c
// Function: parasail_sw_rowcol_striped_profile_sse2_128_8
parasail_result_t* PNAME(
        const parasail_profile_t * const restrict profile,
        const char * const restrict s2, const int s2Len,
        const int open, const int gap)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t k = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int32_t s1Len = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
#ifdef PARASAIL_ROWCOL
    int32_t offset = 0;
    int32_t position = 0;
#endif
    __m128i* restrict vProfile = NULL;
    __m128i* restrict pvHStore = NULL;
    __m128i* restrict pvHLoad = NULL;
    __m128i* restrict pvHMax = NULL;
    __m128i* restrict pvE = NULL;
    __m128i vGapO;
    __m128i vGapE;
    __m128i vZero;
    int8_t bias = 0;
    int8_t score = 0;
    __m128i vBias;
    __m128i vMaxH;
    __m128i vMaxHUnit;
    int8_t maxp = 0;
    __m128i insert_mask;
    /*int8_t stop = 0;*/
    parasail_result_t *result = NULL;

    /* validate inputs */
    PARASAIL_CHECK_NULL(profile);
    PARASAIL_CHECK_NULL(profile->profile8.score);
    PARASAIL_CHECK_NULL(profile->matrix);
    PARASAIL_CHECK_GT0(profile->s1Len);
    PARASAIL_CHECK_NULL(s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);

    /* initialize stack variables */
    i = 0;
    j = 0;
    k = 0;
    end_query = 0;
    end_ref = 0;
    s1Len = profile->s1Len;
    matrix = profile->matrix;
    segWidth = 16; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
#ifdef PARASAIL_ROWCOL
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
#endif
    vProfile = (__m128i*)profile->profile8.score;
    vGapO = _mm_set1_epi8(open);
    vGapE = _mm_set1_epi8(gap);
    vZero = _mm_set1_epi8(0);
    bias = INT8_MIN;
    score = bias;
    vBias = _mm_set1_epi8(bias);
    vMaxH = vBias;
    vMaxHUnit = vBias;
    maxp = INT8_MAX - (int8_t)(matrix->max+1);
    insert_mask = _mm_cmpgt_epi8(
            _mm_set_epi8(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1),
            vZero);
    /*stop = profile->stop == INT32_MAX ?  INT8_MAX : (int8_t)profile->stop-bias;*/

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

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SW | PARASAIL_FLAG_STRIPED
        | PARASAIL_FLAG_BITS_8 | PARASAIL_FLAG_LANES_16;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    pvHStore = parasail_memalign___m128i(16, segLen);
    pvHLoad = parasail_memalign___m128i(16, segLen);
    pvHMax = parasail_memalign___m128i(16, segLen);
    pvE = parasail_memalign___m128i(16, segLen);

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

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

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

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

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

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

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

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

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

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

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

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

        /* Lazy_F loop: has been revised to disallow adjecent insertion and
         * then deletion, so don't update E(i, i), learn from SWPS3 */
        for (k=0; k<segWidth; ++k) {
            vF = _mm_slli_si128(vF, 1);
            vF = _mm_blendv_epi8_rpl(vF, vBias, insert_mask);
            for (i=0; i<segLen; ++i) {
                vH = _mm_load_si128(pvHStore + i);
                vH = _mm_max_epi8_rpl(vH,vF);
                _mm_store_si128(pvHStore + i, vH);
#ifdef PARASAIL_TABLE
                arr_store_si128(result->tables->score_table, vH, i, segLen, j, s2Len, bias);
#endif
                vMaxH = _mm_max_epi8_rpl(vH, vMaxH);
                vH = _mm_subs_epi8(vH, vGapO);
                vF = _mm_subs_epi8(vF, vGapE);
                if (! _mm_movemask_epi8(_mm_cmpgt_epi8(vF, vH))) goto end;
                /*vF = _mm_max_epi8_rpl(vF, vH);*/
            }
        }
end:
        {
        }

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

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

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

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

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

    if (parasail_result_is_saturated(result)) {
        score = INT8_MAX;
        end_query = 0;
        end_ref = 0;
    }
    else {
        if (end_ref == j-1) {
            /* end_ref was the last store column */
            __m128i *pv = pvHMax;
            pvHMax = pvHStore;
            pvHStore = pv;
        }
        else if (end_ref == j-2) {
            /* end_ref was the last load column */
            __m128i *pv = pvHMax;
            pvHMax = pvHLoad;
            pvHLoad = pv;
        }
        /* Trace the alignment ending position on read. */
        {
            int8_t *t = (int8_t*)pvHMax;
            int32_t column_len = segLen * segWidth;
            end_query = s1Len - 1;
            for (i = 0; i<column_len; ++i, ++t) {
                if (*t == score) {
                    int32_t temp = i / segWidth + i % segWidth * segLen;
                    if (temp < end_query) {
                        end_query = temp;
                    }
                }
            }
        }
    }

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

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

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, 0x28(%rsp)
testq %rdi, %rdi
je 0x30a641
movq 0x18(%rdi), %rax
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x30a665
movq 0x10(%rdi), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x30a92a
movl 0x8(%rdi), %eax
testl %eax, %eax
jle 0x30a94e
cmpq $0x0, 0x28(%rsp)
je 0x30a972
movl %edx, %r15d
testl %edx, %edx
jle 0x30a993
movl %ecx, %r14d
testl %ecx, %ecx
js 0x30a9b4
movl %r8d, %ebx
testl %r8d, %r8d
js 0x30a9d5
movq %rax, %rdi
addq $0xf, %rdi
movq %rdi, %rbp
shrq $0x4, %rbp
decl %eax
movl %eax, 0x6c(%rsp)
xorl %edx, %edx
divl %ebp
movl %eax, 0x80(%rsp)
movl %edx, %r13d
movq 0x20(%rsp), %rax
movl 0x1c(%rax), %r12d
andl $0x7ffffff0, %edi       # imm = 0x7FFFFFF0
movl %r15d, %esi
callq 0x1ab93b
testq %rax, %rax
je 0x30a2b2
movl %r13d, 0x40(%rsp)
movl %r12d, 0x48(%rsp)
movl %r14d, 0x50(%rsp)
movl %ebx, 0x70(%rsp)
movq %rax, 0x60(%rsp)
orl $0x10140804, 0xc(%rax)  # imm = 0x10140804
pushq $0x10
popq %r13
movq %r13, %rdi
movq %rbp, %rsi
callq 0x297cd8
movq %rax, %r14
movq %r13, %rdi
movq %rbp, %rsi
callq 0x297cd8
movq %rax, %rbx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x297cd8
movq %rax, %r12
movq %r13, %rdi
movq %rbp, %rsi
callq 0x297cd8
movq %rax, %r13
movq %r14, %xmm0
movq %rbx, %xmm1
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movq %r12, %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, %eax
testl %eax, %eax
je 0x30a2b9
xorl %ebx, %ebx
jmp 0x30a9fd
movq $0x0, 0x10(%rsp)
movq %r12, 0x30(%rsp)
movq %r15, %r12
pushq $0xf
popq %r15
subl 0x80(%rsp), %r15d
movd 0x50(%rsp), %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, %xmm0      # xmm0 = xmm0[0,0,0,0]
movdqa %xmm0, 0x80(%rsp)
movd 0x70(%rsp), %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, %xmm0      # xmm0 = xmm0[0,0,0,0]
movdqa %xmm0, 0x70(%rsp)
movaps 0x2bdc8c(%rip), %xmm0   # 0x5c7fa0
movq %r14, %rdi
movq %rbp, %rsi
callq 0x297ce1
movq %r13, %rdi
movaps 0x2bdc77(%rip), %xmm0   # 0x5c7fa0
movq %rbp, %rsi
callq 0x297ce1
movdqa 0x2bdc66(%rip), %xmm10  # 0x5c7fa0
leal -0x1(%rbp), %ecx
movl 0x40(%rsp), %edx
movb $0x7e, %al
subb 0x48(%rsp), %al
movsbl %al, %esi
movq %r12, 0x98(%rsp)
movl %r12d, %edi
movq %rbp, %rax
movq %rbp, 0x38(%rsp)
shlq $0x4, %rax
movb $-0x80, %r8b
movl %r8d, 0x1c(%rsp)
shlq $0x4, %rcx
movd 0x2bdc4b(%rip), %xmm0   # 0x5c7fc0
shlq $0x4, %rdx
xorl %r8d, %r8d
movdqa %xmm10, %xmm1
movdqa %xmm10, %xmm2
movq 0x60(%rsp), %r12
movdqa 0x80(%rsp), %xmm8
movdqa 0x70(%rsp), %xmm9
movq %r14, %rbp
cmpq %rdi, %r8
je 0x30a639
movdqa (%rbp,%rcx), %xmm4
pslldq $0x1, %xmm4             # xmm4 = zero,xmm4[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
por %xmm0, %xmm4
movq 0x20(%rsp), %r9
movq 0x10(%r9), %r9
movq 0x28(%rsp), %r10
movzbl (%r10,%r8), %r10d
movl (%r9,%r10,4), %r9d
imull 0x38(%rsp), %r9d
movslq %r9d, %r9
shlq $0x4, %r9
addq 0x58(%rsp), %r9
leal -0x2(%r8), %r10d
cmpl %r10d, 0x10(%rsp)
movq %rbx, %r14
cmoveq 0x30(%rsp), %r14
xorl %r11d, %r11d
movdqa %xmm10, %xmm3
cmpq %r11, %rax
je 0x30a4a8
paddsb (%r9,%r11), %xmm4
movdqa (%r13,%r11), %xmm5
movdqa %xmm4, %xmm6
pcmpgtb %xmm5, %xmm6
pand %xmm6, %xmm4
pandn %xmm5, %xmm6
por %xmm4, %xmm6
movdqa %xmm6, %xmm4
pcmpgtb %xmm3, %xmm4
pand %xmm4, %xmm6
pandn %xmm3, %xmm4
por %xmm6, %xmm4
movdqa %xmm4, (%r14,%r11)
movdqa %xmm4, %xmm6
pcmpgtb %xmm1, %xmm6
movdqa %xmm4, %xmm7
pand %xmm6, %xmm7
pandn %xmm1, %xmm6
por %xmm7, %xmm6
psubsb %xmm8, %xmm4
psubsb %xmm9, %xmm5
movdqa %xmm5, %xmm1
pcmpgtb %xmm4, %xmm1
pand %xmm1, %xmm5
pandn %xmm4, %xmm1
por %xmm5, %xmm1
movdqa %xmm1, (%r13,%r11)
psubsb %xmm9, %xmm3
movdqa %xmm3, %xmm1
pcmpgtb %xmm4, %xmm1
pand %xmm1, %xmm3
pandn %xmm4, %xmm1
por %xmm1, %xmm3
movdqa (%rbp,%r11), %xmm4
addq $0x10, %r11
movdqa %xmm6, %xmm1
jmp 0x30a3fa
cmpl %r10d, 0x10(%rsp)
movq 0x30(%rsp), %r9
cmoveq %rbx, %r9
movq %r9, 0x30(%rsp)
xorl %r9d, %r9d
cmpl $0x10, %r9d
je 0x30a538
pslldq $0x1, %xmm3             # xmm3 = zero,xmm3[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
por %xmm0, %xmm3
xorl %r10d, %r10d
cmpq %r10, %rax
je 0x30a533
movdqa (%r14,%r10), %xmm4
movdqa %xmm4, %xmm5
pcmpgtb %xmm3, %xmm5
pand %xmm5, %xmm4
pandn %xmm3, %xmm5
por %xmm4, %xmm5
movdqa %xmm5, (%r14,%r10)
movdqa %xmm5, %xmm4
pcmpgtb %xmm1, %xmm4
movdqa %xmm5, %xmm6
pand %xmm4, %xmm6
pandn %xmm1, %xmm4
movdqa %xmm4, %xmm1
por %xmm6, %xmm1
psubsb %xmm8, %xmm5
psubsb %xmm9, %xmm3
movdqa %xmm3, %xmm4
pcmpgtb %xmm5, %xmm4
pmovmskb %xmm4, %r11d
testl %r11d, %r11d
je 0x30a538
addq $0x10, %r10
jmp 0x30a4d0
incl %r9d
jmp 0x30a4be
movdqa (%r14,%rdx), %xmm3
xorl %r9d, %r9d
cmpl %r15d, %r9d
jge 0x30a550
pslldq $0x1, %xmm3             # xmm3 = zero,xmm3[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
incl %r9d
jmp 0x30a541
pextrw $0x7, %xmm3, %r9d
shrl $0x8, %r9d
movsbl %r9b, %r9d
subl $-0x80, %r9d
movq 0x10(%r12), %r10
movq (%r10), %r10
movl %r9d, (%r10,%r8,4)
movdqa %xmm1, %xmm3
pcmpgtb %xmm2, %xmm3
pmovmskb %xmm3, %r9d
testl %r9d, %r9d
je 0x30a62e
movdqa %xmm1, %xmm2
psrldq $0x8, %xmm2             # xmm2 = xmm2[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero
movdqa %xmm1, %xmm3
pcmpgtb %xmm2, %xmm3
movdqa %xmm1, %xmm4
pand %xmm3, %xmm4
pandn %xmm2, %xmm3
por %xmm4, %xmm3
movdqa %xmm3, %xmm2
psrldq $0x4, %xmm2             # xmm2 = xmm2[4,5,6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero
movdqa %xmm3, %xmm4
pcmpgtb %xmm2, %xmm4
pand %xmm4, %xmm3
pandn %xmm2, %xmm4
por %xmm3, %xmm4
movdqa %xmm4, %xmm2
psrldq $0x2, %xmm2             # xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
movdqa %xmm4, %xmm3
pcmpgtb %xmm2, %xmm3
pand %xmm3, %xmm4
pandn %xmm2, %xmm3
por %xmm4, %xmm3
movdqa %xmm3, %xmm4
psrldq $0x1, %xmm4             # xmm4 = xmm4[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero
movdqa %xmm3, %xmm2
pcmpgtb %xmm4, %xmm2
pand %xmm2, %xmm3
pandn %xmm4, %xmm2
por %xmm3, %xmm2
movdqa %xmm2, 0xa0(%rsp)
movsbl 0xa0(%rsp), %r9d
movl %r9d, 0x1c(%rsp)
cmpl %r9d, %esi
jl 0x30a689
punpcklbw %xmm2, %xmm2    # xmm2 = xmm2[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0x0, %xmm2, %xmm2      # xmm2 = xmm2[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm2, %xmm2      # xmm2 = xmm2[0,0,0,0]
movl %r8d, %r9d
movq %r9, 0x10(%rsp)
incq %r8
movq %rbp, %rbx
jmp 0x30a39c
movq %rbp, %r14
movq %rbx, %rbp
jmp 0x30a697
movq 0x430990(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bc999(%rip), %rsi    # 0x5c6feb
leaq 0x2ab03c(%rip), %rdx    # 0x5b5695
leaq 0x292e7d(%rip), %rcx    # 0x59d4dd
jmp 0x30a9f4
movq 0x43096c(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bc975(%rip), %rsi    # 0x5c6feb
leaq 0x2ab018(%rip), %rdx    # 0x5b5695
leaq 0x2bd42c(%rip), %rcx    # 0x5c7ab0
jmp 0x30a9f4
orb $0x40, 0xc(%r12)
movq %r8, 0x98(%rsp)
movq 0x38(%rsp), %rdi
leal (,%rdi,4), %ecx
leal (,%rdi,8), %edx
movq %rdx, 0x28(%rsp)
movl %edi, %edx
imulq $0xc, %rdx, %rdx
movq %rdx, 0x20(%rsp)
imulq $0x3c, %rdi, %rdx
movq %rdx, 0x58(%rsp)
imulq $0x38, %rdi, %rdx
movq %rdx, 0x80(%rsp)
imulq $0x34, %rdi, %rdx
movq %rdx, 0x70(%rsp)
imulq $0x30, %rdi, %rdx
movq %rdx, 0x50(%rsp)
imulq $0x2c, %rdi, %rdx
movq %rdx, 0x48(%rsp)
imulq $0x28, %rdi, %rdx
movq %rdx, 0x40(%rsp)
imulq $0x24, %rdi, %r15
movq %rdi, %r12
shlq $0x5, %r12
imulq $0x1c, %rdi, %rdx
imulq $0x18, %rdi, %rsi
imulq $0x14, %rdi, %rdi
xorl %r8d, %r8d
movl $0x80, %r9d
cmpq %r8, %rcx
je 0x30a83a
movdqa (%r14,%r8,4), %xmm0
movq 0x60(%rsp), %r10
movq 0x10(%r10), %r10
movq 0x8(%r10), %r10
movdqa %xmm0, (%rsp)
movsbl (%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%r10,%r8)
addq %r8, %r10
movsbl 0x1(%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%rcx,%r10)
movsbl 0x2(%rsp), %r11d
addl %r9d, %r11d
movq 0x28(%rsp), %rbx
movl %r11d, (%rbx,%r10)
movsbl 0x3(%rsp), %r11d
addl %r9d, %r11d
movq 0x20(%rsp), %rbx
movl %r11d, (%rbx,%r10)
movsbl 0x4(%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%rax,%r10)
movsbl 0x5(%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%rdi,%r10)
movsbl 0x6(%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%rsi,%r10)
movsbl 0x7(%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%rdx,%r10)
movsbl 0x8(%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%r12,%r10)
movsbl 0x9(%rsp), %r11d
addl %r9d, %r11d
movl %r11d, (%r15,%r10)
movsbl 0xa(%rsp), %r11d
addl %r9d, %r11d
movq 0x40(%rsp), %rbx
movl %r11d, (%rbx,%r10)
movsbl 0xb(%rsp), %r11d
addl %r9d, %r11d
movq 0x48(%rsp), %rbx
movl %r11d, (%rbx,%r10)
movsbl 0xc(%rsp), %r11d
addl %r9d, %r11d
movq 0x50(%rsp), %rbx
movl %r11d, (%rbx,%r10)
movsbl 0xd(%rsp), %r11d
addl %r9d, %r11d
movq 0x70(%rsp), %rbx
movl %r11d, (%rbx,%r10)
movsbl 0xe(%rsp), %r11d
addl %r9d, %r11d
movq 0x80(%rsp), %rbx
movl %r11d, (%rbx,%r10)
movsbl 0xf(%rsp), %r11d
addl %r9d, %r11d
movq 0x58(%rsp), %rbx
movl %r11d, (%rbx,%r10)
addq $0x4, %r8
jmp 0x30a713
movl 0x1c(%rsp), %r12d
cmpb $0x7f, %r12b
movq 0x60(%rsp), %rbx
jne 0x30a84e
orb $0x40, 0xc(%rbx)
movq %rbx, %rdi
callq 0x1ace42
testl %eax, %eax
movq 0x98(%rsp), %r10
movq 0x30(%rsp), %r15
je 0x30a876
xorl %esi, %esi
movl $0xff, %ecx
xorl %r11d, %r11d
jmp 0x30a8fc
leal -0x1(%r10), %ecx
addl $-0x2, %r10d
movq 0x10(%rsp), %rdx
cmpl %r10d, %edx
movq %r15, %rax
cmoveq %rbp, %rax
cmpl %ecx, %edx
movq %r14, %rdx
cmoveq %r15, %rdx
cmoveq %r14, %rax
movq 0x38(%rsp), %r14
movl %r14d, %esi
andl $0x7ffffff, %esi        # imm = 0x7FFFFFF
shll $0x4, %esi
xorl %edi, %edi
movl 0x6c(%rsp), %r11d
cmpl %edi, %esi
je 0x30a8dd
cmpb %r12b, (%rax,%rdi)
jne 0x30a8d8
movl %edi, %r8d
shrl $0x4, %r8d
movl %edi, %r9d
andl $0xf, %r9d
imull %r14d, %r9d
addl %r8d, %r9d
cmpl %r11d, %r9d
cmovll %r9d, %r11d
incq %rdi
jmp 0x30a8b2
movq 0x10(%rsp), %rsi
cmpl %r10d, %esi
cmovneq %rbp, %r15
cmpl %ecx, %esi
cmovneq %r15, %rbp
movsbl %r12b, %ecx
subl $-0x80, %ecx
movq %rdx, %r14
movq %rax, %r15
movl %ecx, (%rbx)
movl %r11d, 0x4(%rbx)
movl %esi, 0x8(%rbx)
movq %r13, %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq %rbp, %rdi
callq 0x1ab763
movq %r14, %rdi
callq 0x1ab763
jmp 0x30a9fd
movq 0x4306a7(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bc6b0(%rip), %rsi    # 0x5c6feb
leaq 0x2aad53(%rip), %rdx    # 0x5b5695
leaq 0x2bcff0(%rip), %rcx    # 0x5c7939
jmp 0x30a9f4
movq 0x430683(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bcda2(%rip), %rsi    # 0x5c7701
leaq 0x2aad2f(%rip), %rdx    # 0x5b5695
leaq 0x2bcfdc(%rip), %rcx    # 0x5c7949
jmp 0x30a9f4
movq 0x43065f(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bc668(%rip), %rsi    # 0x5c6feb
leaq 0x2aad0b(%rip), %rdx    # 0x5b5695
leaq 0x2bcd6d(%rip), %rcx    # 0x5c76fe
jmp 0x30a9f4
movq 0x43063e(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bcd5d(%rip), %rsi    # 0x5c7701
leaq 0x2aacea(%rip), %rdx    # 0x5b5695
leaq 0x2bcd63(%rip), %rcx    # 0x5c7715
jmp 0x30a9f4
movq 0x43061d(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bcd56(%rip), %rsi    # 0x5c771b
leaq 0x2aacc9(%rip), %rdx    # 0x5b5695
leaq 0x2bcd5d(%rip), %rcx    # 0x5c7730
jmp 0x30a9f4
movq 0x4305fc(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x2bcd35(%rip), %rsi    # 0x5c771b
leaq 0x2aaca8(%rip), %rdx    # 0x5b5695
leaq 0x2bcd41(%rip), %rcx    # 0x5c7735
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x19e180
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop