// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_striped_avx2_256_8.c
// Function: parasail_nw_rowcol_striped_profile_avx2_256_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;
    __m256i* restrict vProfile = NULL;
    __m256i* restrict pvHStore = NULL;
    __m256i* restrict pvHLoad = NULL;
    __m256i* restrict pvE = NULL;
    int8_t* restrict boundary = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int8_t NEG_LIMIT = 0;
    int8_t POS_LIMIT = 0;
    int8_t score = 0;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i 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 = 32; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
    vProfile = (__m256i*)profile->profile8.score;
    vGapO = _mm256_set1_epi8(open);
    vGapE = _mm256_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 = _mm256_set1_epi8(NEG_LIMIT);
    vPosLimit = _mm256_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_32;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    pvHStore = parasail_memalign___m256i(32, segLen);
    pvHLoad  = parasail_memalign___m256i(32, segLen);
    pvE      = parasail_memalign___m256i(32, segLen);
    boundary = parasail_memalign_int8_t(32, 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;
            __m256i_8_t h;
            __m256i_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;
            }
            _mm256_store_si256(&pvHStore[index], h.m);
            _mm256_store_si256(&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) {
        __m256i vE;
        /* Initialize F value to -inf.  Any errors to vH values will be
         * corrected in the Lazy_F loop.  */
        __m256i vF = vNegLimit;

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

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

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

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

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

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

            /* Update vE value. */
            vH = _mm256_subs_epi8(vH, vGapO);
            vE = _mm256_subs_epi8(vE, vGapE);
            vE = _mm256_max_epi8(vE, vH);
            _mm256_store_si256(pvE + i, vE);

            /* Update vF value. */
            vF = _mm256_subs_epi8(vF, vGapE);
            vF = _mm256_max_epi8(vF, vH);

            /* Load the next vH. */
            vH = _mm256_load_si256(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 = _mm256_slli_si256_rpl(vF, 1);
            vF = _mm256_insert_epi8_rpl(vF, tmp2, 0);
            for (i=0; i<segLen; ++i) {
                vH = _mm256_load_si256(pvHStore + i);
                vH = _mm256_max_epi8(vH,vF);
                _mm256_store_si256(pvHStore + i, vH);
                vSaturationCheckMin = _mm256_min_epi8(vSaturationCheckMin, vH);
                vSaturationCheckMax = _mm256_max_epi8(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
                arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
                vH = _mm256_subs_epi8(vH, vGapO);
                vF = _mm256_subs_epi8(vF, vGapE);
                if (! _mm256_movemask_epi8(_mm256_cmpgt_epi8(vF, vH))) goto end;
                /*vF = _mm256_max_epi8(vF, vH);*/
            }
        }
end:
        {
        }

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

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

    /* extract last value from the last column */
    {
        __m256i vH = _mm256_load_si256(pvHStore + offset);
        for (k=0; k<position; ++k) {
            vH = _mm256_slli_si256_rpl (vH, 1);
        }
        score = (int8_t) _mm256_extract_epi8_rpl (vH, 31);
    }

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi8_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_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
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
andq $-0x20, %rsp
subq $0x160, %rsp            # imm = 0x160
movl %ecx, 0x10(%rsp)
movq %rsi, 0x40(%rsp)
testq %rdi, %rdi
je 0x50e9bf
movq 0x18(%rdi), %rax
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x50e9e3
movq 0x10(%rdi), %rax
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x50ea07
movl 0x8(%rdi), %edi
testl %edi, %edi
jle 0x50ea2b
cmpq $0x0, 0x40(%rsp)
je 0x50ea4f
movl %edx, %r14d
testl %edx, %edx
jle 0x50ea70
cmpl $0x0, 0x10(%rsp)
js 0x50ea91
testl %r8d, %r8d
js 0x50eab2
movl %r8d, 0x30(%rsp)
leal -0x1(%rdi), %eax
addq $0x1f, %rdi
movq %rdi, %r12
shrq $0x5, %r12
movl %eax, 0x7c(%rsp)
xorl %edx, %edx
divl %r12d
movl %eax, 0x8(%rsp)
movl %edx, %r15d
movq 0x38(%rsp), %rdx
movl 0x20(%rdx), %eax
movl %eax, %ecx
negb %cl
movzbl %cl, %r13d
movl 0x10(%rsp), %ecx
movl %ecx, %ebx
negl %ebx
cmpl %ebx, %eax
cmovgl %ecx, %r13d
movb $0x7e, %al
subb 0x1c(%rdx), %al
movl %eax, 0x60(%rsp)
andl $0x7fffffe0, %edi       # imm = 0x7FFFFFE0
movl %r14d, %esi
callq 0x1ab93b
testq %rax, %rax
je 0x50e2b6
movl %r13d, 0x48(%rsp)
movl %r15d, 0x58(%rsp)
movq %rax, 0x70(%rsp)
orl $0x20140801, 0xc(%rax)  # imm = 0x20140801
pushq $0x20
popq %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x496aa4
movq %r14, %r13
movq %rax, %r14
movq %r15, %rdi
movq %r12, %rsi
callq 0x496aa4
movq %rax, %r15
pushq $0x20
popq %rdi
movq %r12, %rsi
callq 0x496aa4
movq %r12, 0x18(%rsp)
movq %rax, %r12
movq %r13, 0x28(%rsp)
leal 0x1(%r13), %esi
pushq $0x20
popq %rdi
movq %rsi, 0x50(%rsp)
callq 0x1ab776
testq %r14, %r14
sete %cl
testq %r15, %r15
sete %dl
orb %cl, %dl
testq %r12, %r12
sete %cl
movq %rax, 0x20(%rsp)
testq %rax, %rax
sete %sil
orb %cl, %sil
orb %dl, %sil
je 0x50e2be
xorl %r14d, %r14d
jmp 0x50eadb
movq 0x28(%rsp), %rax
decl %eax
movl %eax, 0x78(%rsp)
pushq $0x1f
popq %rdx
subl 0x8(%rsp), %edx
movl 0x10(%rsp), %eax
vmovd %eax, %xmm0
vpbroadcastb %xmm0, %ymm4
movl 0x30(%rsp), %esi
vmovd %esi, %xmm0
vpbroadcastb %xmm0, %ymm5
movl 0x48(%rsp), %ecx
addb $-0x7f, %cl
vmovd %ecx, %xmm0
vpbroadcastb %xmm0, %ymm0
vmovd 0x60(%rsp), %xmm1
vpbroadcastb %xmm1, %ymm1
movl %eax, %ecx
movl %esi, %esi
movslq %ebx, %rdi
negq %rcx
movq 0x18(%rsp), %r8
movq %rsi, 0x8(%rsp)
imulq %rsi, %r8
xorl %r9d, %r9d
pushq $-0x80
popq %rsi
cmpq 0x18(%rsp), %r9
je 0x50e394
movq %rdi, %r11
xorl %r13d, %r13d
cmpq $0x20, %r13
je 0x50e365
cmpq $-0x7f, %r11
movq %rsi, %r10
cmovgeq %r11, %r10
leaq (%rcx,%r11), %rax
cmpq $-0x7f, %rax
cmovlq %rsi, %rax
movb %r10b, 0x120(%rsp,%r13)
movb %al, 0x100(%rsp,%r13)
incq %r13
subq %r8, %r11
jmp 0x50e330
movq %r9, %rax
shlq $0x5, %rax
vmovaps 0x120(%rsp), %ymm2
vmovaps %ymm2, (%r14,%rax)
vmovaps 0x100(%rsp), %ymm2
vmovaps %ymm2, (%r12,%rax)
incq %r9
subq 0x8(%rsp), %rdi
jmp 0x50e323
movq 0x20(%rsp), %rax
movb $0x0, (%rax)
pushq $0x1
popq %rcx
pushq $-0x80
popq %r8
movl 0x30(%rsp), %edi
movq 0x50(%rsp), %r9
movq 0x20(%rsp), %rsi
cmpq %rcx, %r9
je 0x50e3c9
cmpl $-0x7f, %ebx
movl %r8d, %eax
cmovgel %ebx, %eax
movb %al, (%rsi,%rcx)
incq %rcx
subl %edi, %ebx
jmp 0x50e3b1
movq 0x18(%rsp), %rdi
leal -0x1(%rdi), %ecx
movl 0x58(%rsp), %eax
movl 0x28(%rsp), %esi
shlq $0x5, %rdi
leaq 0x20(%rdi), %r9
xorl %r10d, %r10d
shlq $0x5, %rcx
shlq $0x5, %rax
movq %rax, 0x8(%rsp)
vmovdqa %ymm1, %ymm3
vmovdqa %ymm0, %ymm2
movq %r14, %rbx
cmpq %rsi, %r10
je 0x50e57c
vmovdqa (%rbx,%rcx), %ymm6
vinserti128 $0x1, %xmm6, %ymm0, %ymm7
vpalignr $0xf, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm7[31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
movq 0x38(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %r11
movzbl (%r11,%r10), %r11d
movl (%rax,%r11,4), %eax
imull 0x18(%rsp), %eax
movslq %eax, %r11
shlq $0x5, %r11
addq 0x68(%rsp), %r11
movq 0x20(%rsp), %rax
vpinsrb $0x0, (%rax,%r10), %xmm6, %xmm7
vpblendd $0xf, %ymm7, %ymm6, %ymm7 # ymm7 = ymm7[0,1,2,3],ymm6[4,5,6,7]
xorl %r14d, %r14d
vmovdqa %ymm0, %ymm6
cmpq %r14, %rdi
je 0x50e4b4
vpaddsb (%r11,%r14), %ymm7, %ymm7
vmovdqa (%r12,%r14), %ymm8
vpmaxsb %ymm6, %ymm8, %ymm9
vpmaxsb %ymm9, %ymm7, %ymm7
vmovdqa %ymm7, (%r15,%r14)
vpmaxsb %ymm7, %ymm2, %ymm2
vpminsb %ymm8, %ymm3, %ymm3
vpminsb %ymm6, %ymm3, %ymm3
vpminsb %ymm7, %ymm3, %ymm3
vpsubsb %ymm4, %ymm7, %ymm7
vpsubsb %ymm5, %ymm8, %ymm8
vpmaxsb %ymm7, %ymm8, %ymm8
vmovdqa %ymm8, (%r12,%r14)
vpsubsb %ymm5, %ymm6, %ymm6
vpmaxsb %ymm7, %ymm6, %ymm6
vmovdqa (%rbx,%r14), %ymm7
addq $0x20, %r14
jmp 0x50e457
xorl %r11d, %r11d
cmpl $0x20, %r11d
je 0x50e52b
movq 0x20(%rsp), %rax
movsbl 0x1(%rax,%r10), %eax
subl 0x10(%rsp), %eax
cmpl $-0x7f, %eax
cmovll %r8d, %eax
vinserti128 $0x1, %xmm6, %ymm0, %ymm7
vpalignr $0xf, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm7[31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
vpinsrb $0x0, %eax, %xmm6, %xmm7
vpblendd $0xf, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
xorl %r14d, %r14d
leaq 0x20(%r14), %r13
cmpq %r13, %r9
je 0x50e526
vpmaxsb (%r15,%r14), %ymm6, %ymm7
vmovdqa %ymm7, (%r15,%r14)
vpminsb %ymm7, %ymm3, %ymm3
vpmaxsb %ymm7, %ymm2, %ymm2
vpsubsb %ymm4, %ymm7, %ymm7
vpsubsb %ymm5, %ymm6, %ymm6
vpcmpgtb %ymm7, %ymm6, %ymm7
vpmovmskb %ymm7, %eax
movq %r13, %r14
testl %eax, %eax
jne 0x50e4ee
jmp 0x50e52b
incl %r11d
jmp 0x50e4b7
movq 0x8(%rsp), %rax
vmovdqa (%r15,%rax), %ymm6
xorl %r11d, %r11d
movq 0x70(%rsp), %r14
cmpl %edx, %r11d
jge 0x50e554
vperm2i128 $0x28, %ymm6, %ymm6, %ymm7 # ymm7 = zero,zero,ymm6[0,1]
vpalignr $0xf, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm7[31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
incl %r11d
jmp 0x50e53e
vextracti128 $0x1, %ymm6, %xmm6
vpextrb $0xf, %xmm6, %eax
movsbl %al, %eax
movq 0x10(%r14), %r11
movq (%r11), %r11
movl %eax, (%r11,%r10,4)
incq %r10
movq %r15, %r14
movq %rbx, %r15
jmp 0x50e3f9
movq 0x18(%rsp), %rcx
leal (,%rcx,4), %r8d
leal (,%rcx,8), %eax
movq %rax, 0x10(%rsp)
movl %ecx, %eax
imulq $0xc, %rax, %rsi
movq %rsi, 0x40(%rsp)
movl %ecx, %esi
shll $0x4, %esi
movq %rsi, 0x38(%rsp)
imulq $0x14, %rax, %rsi
movq %rsi, 0x68(%rsp)
imulq $0x18, %rax, %rsi
movq %rsi, 0x30(%rsp)
imulq $0x1c, %rax, %rax
movq %rax, 0x60(%rsp)
imulq $0x7c, %rcx, %rax
movq %rax, 0x28(%rsp)
imulq $0x78, %rcx, %rax
movq %rax, 0x58(%rsp)
imulq $0x74, %rcx, %rax
movq %rax, 0x50(%rsp)
imulq $0x70, %rcx, %rax
movq %rax, 0x48(%rsp)
movq %rcx, %rax
shlq $0x6, %rax
movq %rax, 0xf8(%rsp)
imulq $0x6c, %rcx, %rax
movq %rax, 0xf0(%rsp)
imulq $0x68, %rcx, %rax
movq %rax, 0xe8(%rsp)
imulq $0x64, %rcx, %rax
movq %rax, 0xe0(%rsp)
imulq $0x60, %rcx, %rax
movq %rax, 0xd8(%rsp)
imulq $0x5c, %rcx, %rax
movq %rax, 0xd0(%rsp)
imulq $0x58, %rcx, %rax
movq %rax, 0xc8(%rsp)
imulq $0x54, %rcx, %rax
movq %rax, 0xc0(%rsp)
imulq $0x50, %rcx, %rax
movq %rax, 0xb8(%rsp)
imulq $0x4c, %rcx, %rax
movq %rax, 0xb0(%rsp)
imulq $0x48, %rcx, %rax
movq %rax, 0xa8(%rsp)
imulq $0x44, %rcx, %rax
movq %rax, 0xa0(%rsp)
imulq $0x3c, %rcx, %rax
movq %rax, 0x98(%rsp)
imulq $0x38, %rcx, %rax
movq %rax, 0x90(%rsp)
imulq $0x34, %rcx, %rax
movq %rax, 0x88(%rsp)
imulq $0x30, %rcx, %rax
movq %rax, 0x80(%rsp)
imulq $0x2c, %rcx, %r9
imulq $0x28, %rcx, %r10
imulq $0x24, %rcx, %r13
xorl %r14d, %r14d
cmpq %r14, %r8
je 0x50e92d
movq 0x70(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
vmovdqa (%rbx,%r14,8), %xmm5
vmovdqa 0x10(%rbx,%r14,8), %xmm4
vmovd %xmm5, %eax
movsbl %al, %eax
movl %eax, (%rsi,%r14)
addq %r14, %rsi
vpextrb $0x1, %xmm5, %eax
movsbl %al, %eax
movl %eax, (%r8,%rsi)
vpextrb $0x2, %xmm5, %eax
movsbl %al, %eax
movq 0x10(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0x3, %xmm5, %eax
movsbl %al, %eax
movq 0x40(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0x4, %xmm5, %eax
movsbl %al, %eax
movq 0x38(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0x5, %xmm5, %eax
movsbl %al, %eax
movq 0x68(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0x6, %xmm5, %eax
movsbl %al, %eax
movq 0x30(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0x7, %xmm5, %eax
movsbl %al, %eax
movq 0x60(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0x8, %xmm5, %eax
movsbl %al, %eax
movl %eax, (%rdi,%rsi)
vpextrb $0x9, %xmm5, %eax
movsbl %al, %eax
movl %eax, (%r13,%rsi)
vpextrb $0xa, %xmm5, %eax
movsbl %al, %eax
movl %eax, (%r10,%rsi)
vpextrb $0xb, %xmm5, %eax
movsbl %al, %eax
movl %eax, (%r9,%rsi)
vpextrb $0xc, %xmm5, %eax
movsbl %al, %eax
movq 0x80(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0xd, %xmm5, %eax
movsbl %al, %eax
movq 0x88(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0xe, %xmm5, %eax
movsbl %al, %eax
movq 0x90(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vpextrb $0xf, %xmm5, %eax
movsbl %al, %eax
movq 0x98(%rsp), %rcx
movl %eax, (%rcx,%rsi)
vmovd %xmm4, %eax
movsbl %al, %eax
vpextrb $0x1, %xmm4, %ecx
movq 0xf8(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x2, %xmm4, %ecx
movq 0xa0(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x3, %xmm4, %ecx
movq 0xa8(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x4, %xmm4, %ecx
movq 0xb0(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x5, %xmm4, %ecx
movq 0xb8(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x6, %xmm4, %ecx
movq 0xc0(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x7, %xmm4, %ecx
movq 0xc8(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x8, %xmm4, %ecx
movq 0xd0(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0x9, %xmm4, %ecx
movq 0xd8(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0xa, %xmm4, %ecx
movq 0xe0(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0xb, %xmm4, %ecx
movq 0xe8(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0xc, %xmm4, %ecx
movq 0xf0(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0xd, %xmm4, %ecx
movq 0x48(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0xe, %xmm4, %ecx
movq 0x50(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
vpextrb $0xf, %xmm4, %ecx
movq 0x58(%rsp), %r11
movl %eax, (%r11,%rsi)
movsbl %cl, %eax
movq 0x28(%rsp), %rcx
movl %eax, (%rcx,%rsi)
addq $0x4, %r14
jmp 0x50e6bb
movq 0x8(%rsp), %rax
vmovdqa (%rbx,%rax), %ymm4
xorl %ecx, %ecx
movq 0x70(%rsp), %r14
movl 0x78(%rsp), %esi
cmpl %edx, %ecx
jge 0x50e956
vperm2i128 $0x28, %ymm4, %ymm4, %ymm5 # ymm5 = zero,zero,ymm4[0,1]
vpalignr $0xf, %ymm5, %ymm4, %ymm4 # ymm4 = ymm5[15],ymm4[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm5[31],ymm4[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
incl %ecx
jmp 0x50e942
vpcmpgtb %ymm3, %ymm0, %ymm0
vpcmpgtb %ymm1, %ymm2, %ymm1
vpor %ymm0, %ymm1, %ymm0
vpmovmskb %ymm0, %eax
testl %eax, %eax
je 0x50e977
orb $0x40, 0xc(%r14)
xorl %ecx, %ecx
xorl %esi, %esi
xorl %edx, %edx
jmp 0x50e987
vextracti128 $0x1, %ymm4, %xmm0
vpextrb $0xf, %xmm0, %ecx
movl 0x7c(%rsp), %edx
movsbl %cl, %eax
movl %eax, (%r14)
movl %edx, 0x4(%r14)
movl %esi, 0x8(%r14)
movq 0x20(%rsp), %rdi
vzeroupper
callq 0x1ab763
movq %r12, %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq %rbx, %rdi
callq 0x1ab763
jmp 0x50eadb
movq 0x22c612(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb861b(%rip), %rsi     # 0x5c6feb
leaq 0xa62be(%rip), %rdx     # 0x5b4c95
leaq 0x8eaff(%rip), %rcx     # 0x59d4dd
jmp 0x50ead1
movq 0x22c5ee(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb85f7(%rip), %rsi     # 0x5c6feb
leaq 0xa629a(%rip), %rdx     # 0x5b4c95
leaq 0xb90ae(%rip), %rcx     # 0x5c7ab0
jmp 0x50ead1
movq 0x22c5ca(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb85d3(%rip), %rsi     # 0x5c6feb
leaq 0xa6276(%rip), %rdx     # 0x5b4c95
leaq 0xb8f13(%rip), %rcx     # 0x5c7939
jmp 0x50ead1
movq 0x22c5a6(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb8cc5(%rip), %rsi     # 0x5c7701
leaq 0xa6252(%rip), %rdx     # 0x5b4c95
leaq 0xb8eff(%rip), %rcx     # 0x5c7949
jmp 0x50ead1
movq 0x22c582(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb858b(%rip), %rsi     # 0x5c6feb
leaq 0xa622e(%rip), %rdx     # 0x5b4c95
leaq 0xb8c90(%rip), %rcx     # 0x5c76fe
jmp 0x50ead1
movq 0x22c561(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb8c80(%rip), %rsi     # 0x5c7701
leaq 0xa620d(%rip), %rdx     # 0x5b4c95
leaq 0xb8c86(%rip), %rcx     # 0x5c7715
jmp 0x50ead1
movq 0x22c540(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb8c79(%rip), %rsi     # 0x5c771b
leaq 0xa61ec(%rip), %rdx     # 0x5b4c95
leaq 0xb8c80(%rip), %rcx     # 0x5c7730
jmp 0x50ead1
movq 0x22c51f(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xb8c58(%rip), %rsi     # 0x5c771b
leaq 0xa61cb(%rip), %rdx     # 0x5b4c95
leaq 0xb8c64(%rip), %rcx     # 0x5c7735
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x19e180
movq %r14, %rax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)