// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_striped_avx2_256_16.c
// Function: parasail_nw_rowcol_striped_profile_avx2_256_16
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;
    int16_t* restrict boundary = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int16_t NEG_LIMIT = 0;
    int16_t POS_LIMIT = 0;
    int16_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->profile16.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 = (__m256i*)profile->profile16.score;
    vGapO = _mm256_set1_epi16(open);
    vGapE = _mm256_set1_epi16(gap);
    NEG_LIMIT = (-open < matrix->min ? INT16_MIN + open : INT16_MIN - matrix->min) + 1;
    POS_LIMIT = INT16_MAX - matrix->max - 1;
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi16(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi16(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_16 | 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___m256i(32, segLen);
    pvHLoad  = parasail_memalign___m256i(32, segLen);
    pvE      = parasail_memalign___m256i(32, segLen);
    boundary = parasail_memalign_int16_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_16_t h;
            __m256i_16_t e;
            for (segNum=0; segNum<segWidth; ++segNum) {
                int64_t tmp = -open-gap*(segNum*segLen+i);
                h.v[segNum] = tmp < INT16_MIN ? INT16_MIN : tmp;
                tmp = tmp - open;
                e.v[segNum] = tmp < INT16_MIN ? INT16_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 < INT16_MIN ? INT16_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], 2);

        /* 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_epi16_rpl(vH, boundary[j], 0);

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

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

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

            /* Update vF value. */
            vF = _mm256_subs_epi16(vF, vGapE);
            vF = _mm256_max_epi16(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;
            int16_t tmp2 = tmp < INT16_MIN ? INT16_MIN : tmp;
            vF = _mm256_slli_si256_rpl(vF, 2);
            vF = _mm256_insert_epi16_rpl(vF, tmp2, 0);
            for (i=0; i<segLen; ++i) {
                vH = _mm256_load_si256(pvHStore + i);
                vH = _mm256_max_epi16(vH,vF);
                _mm256_store_si256(pvHStore + i, vH);
                vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vH);
                vSaturationCheckMax = _mm256_max_epi16(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
                arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
                vH = _mm256_subs_epi16(vH, vGapO);
                vF = _mm256_subs_epi16(vF, vGapE);
                if (! _mm256_movemask_epi8(_mm256_cmpgt_epi16(vF, vH))) goto end;
                /*vF = _mm256_max_epi16(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, 2);
            }
            result->rowcols->score_row[j] = (int16_t) _mm256_extract_epi16_rpl (vH, 15);
        }
#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, 2);
        }
        score = (int16_t) _mm256_extract_epi16_rpl (vH, 15);
    }

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi16_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_cmpgt_epi16(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 $0xe0, %rsp
movl %ecx, 0x8(%rsp)
movq %rsi, 0x38(%rsp)
testq %rdi, %rdi
je 0x50c77f
movq 0x30(%rdi), %rax
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x50c7a3
movq 0x10(%rdi), %rax
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x50c7c7
movl 0x8(%rdi), %edi
testl %edi, %edi
jle 0x50c7eb
cmpq $0x0, 0x38(%rsp)
je 0x50c80f
movl %edx, %r15d
testl %edx, %edx
jle 0x50c830
cmpl $0x0, 0x8(%rsp)
js 0x50c851
testl %r8d, %r8d
js 0x50c872
movl %r8d, 0x28(%rsp)
leal -0x1(%rdi), %eax
addq $0xf, %rdi
movq %rdi, %r14
shrq $0x4, %r14
movl %eax, 0x74(%rsp)
xorl %edx, %edx
divl %r14d
movl %eax, 0x60(%rsp)
movl %edx, %r13d
movl 0x8(%rsp), %ecx
movl %ecx, %ebx
negl %ebx
movq 0x30(%rsp), %rdx
movl 0x20(%rdx), %eax
movl %eax, %r12d
negl %r12d
cmpl %ebx, %eax
cmovgl %ecx, %r12d
movw $0x7ffe, %ax            # imm = 0x7FFE
subw 0x1c(%rdx), %ax
movl %eax, (%rsp)
andl $0x7ffffff0, %edi       # imm = 0x7FFFFFF0
movl %r15d, %esi
callq 0x1ab93b
testq %rax, %rax
je 0x50c265
movl %r12d, 0x48(%rsp)
movl %r13d, 0x58(%rsp)
movq %rax, 0x40(%rsp)
orl $0x10240801, 0xc(%rax)  # imm = 0x10240801
pushq $0x20
popq %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %rax, 0x10(%rsp)
movq %r13, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %r15, %r12
movq %rax, %r15
movq %r13, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %r14, 0x18(%rsp)
movq %rax, %r13
movq %r12, %r14
leal 0x1(%r12), %esi
pushq $0x20
popq %rdi
movq %rsi, 0x50(%rsp)
callq 0x1ab77b
cmpq $0x0, 0x10(%rsp)
sete %dl
testq %r15, %r15
sete %cl
orb %dl, %cl
testq %r13, %r13
sete %sil
movq %rax, 0x20(%rsp)
testq %rax, %rax
sete %dl
orb %sil, %dl
orb %cl, %dl
je 0x50c26c
xorl %ebx, %ebx
jmp 0x50c89a
movq %r14, 0x78(%rsp)
leal -0x1(%r14), %eax
movl %eax, 0x70(%rsp)
pushq $0xf
popq %rdx
subl 0x60(%rsp), %edx
movl 0x8(%rsp), %eax
vmovd %eax, %xmm0
vpbroadcastw %xmm0, %ymm4
movl 0x28(%rsp), %ecx
vmovd %ecx, %xmm0
vpbroadcastw %xmm0, %ymm5
movl 0x48(%rsp), %esi
addl $0xffff8001, %esi       # imm = 0xFFFF8001
vmovd %esi, %xmm0
vpbroadcastw %xmm0, %ymm0
vmovd (%rsp), %xmm1
vpbroadcastw %xmm1, %ymm1
movl %eax, %eax
movl %ecx, %r8d
movslq %ebx, %rsi
negq %rax
movq 0x18(%rsp), %rdi
movq %r8, (%rsp)
imulq %r8, %rdi
xorl %r8d, %r8d
movq $-0x7fff, %r9           # imm = 0x8001
movq $-0x8000, %r10          # imm = 0x8000
cmpq 0x18(%rsp), %r8
je 0x50c35a
movq %rsi, %r11
xorl %r12d, %r12d
cmpq $0x10, %r12
je 0x50c326
cmpq %r9, %r11
movq $-0x8000, %rcx          # imm = 0x8000
cmovgeq %r11, %rcx
leaq (%rax,%r11), %r14
cmpq %r9, %r14
cmovlq %r10, %r14
movw %cx, 0xa0(%rsp,%r12,2)
movw %r14w, 0x80(%rsp,%r12,2)
incq %r12
subq %rdi, %r11
jmp 0x50c2ed
movq %r8, %rcx
shlq $0x5, %rcx
vmovaps 0xa0(%rsp), %ymm2
movq 0x10(%rsp), %r11
vmovaps %ymm2, (%r11,%rcx)
vmovaps 0x80(%rsp), %ymm2
vmovaps %ymm2, (%r13,%rcx)
incq %r8
subq (%rsp), %rsi
jmp 0x50c2e0
movq 0x20(%rsp), %rax
andw $0x0, (%rax)
pushq $0x1
popq %rax
movl 0x28(%rsp), %edi
movq 0x50(%rsp), %r8
movq 0x20(%rsp), %rsi
cmpq %rax, %r8
je 0x50c392
cmpl $0xffff8001, %ebx       # imm = 0xFFFF8001
movl $0xffff8000, %ecx       # imm = 0xFFFF8000
cmovgel %ebx, %ecx
movw %cx, (%rsi,%rax,2)
incq %rax
subl %edi, %ebx
jmp 0x50c374
movq 0x18(%rsp), %rdi
leal -0x1(%rdi), %r8d
movl 0x58(%rsp), %eax
movl 0x78(%rsp), %r9d
shlq $0x5, %rdi
leaq 0x20(%rdi), %r10
xorl %r11d, %r11d
shlq $0x5, %r8
shlq $0x5, %rax
movq %rax, (%rsp)
movl $0xffff8000, %ecx       # imm = 0xFFFF8000
vmovdqa %ymm1, %ymm3
vmovdqa %ymm0, %ymm2
movq 0x10(%rsp), %rax
movq %rax, %rbx
cmpq %r9, %r11
je 0x50c53b
vmovdqa (%rbx,%r8), %ymm6
vinserti128 $0x1, %xmm6, %ymm0, %ymm7
vpalignr $0xe, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[14,15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm7[30,31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
movq 0x30(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x38(%rsp), %rsi
movzbl (%rsi,%r11), %esi
movl (%rax,%rsi,4), %eax
imull 0x18(%rsp), %eax
cltq
shlq $0x5, %rax
addq 0x68(%rsp), %rax
movq 0x20(%rsp), %rsi
vpinsrw $0x0, (%rsi,%r11,2), %xmm6, %xmm7
vpblendd $0xf, %ymm7, %ymm6, %ymm7 # ymm7 = ymm7[0,1,2,3],ymm6[4,5,6,7]
xorl %esi, %esi
vmovdqa %ymm0, %ymm6
cmpq %rsi, %rdi
je 0x50c47e
vpaddsw (%rax,%rsi), %ymm7, %ymm7
vmovdqa (%r13,%rsi), %ymm8
vpmaxsw %ymm6, %ymm8, %ymm9
vpmaxsw %ymm7, %ymm9, %ymm7
vmovdqa %ymm7, (%r15,%rsi)
vpmaxsw %ymm7, %ymm2, %ymm2
vpminsw %ymm3, %ymm8, %ymm3
vpminsw %ymm6, %ymm3, %ymm3
vpminsw %ymm7, %ymm3, %ymm3
vpsubsw %ymm4, %ymm7, %ymm7
vpsubsw %ymm5, %ymm8, %ymm8
vpmaxsw %ymm7, %ymm8, %ymm8
vmovdqa %ymm8, (%r13,%rsi)
vpsubsw %ymm5, %ymm6, %ymm6
vpmaxsw %ymm7, %ymm6, %ymm6
vmovdqa (%rbx,%rsi), %ymm7
addq $0x20, %rsi
jmp 0x50c429
xorl %eax, %eax
cmpl $0x10, %eax
je 0x50c4f1
movq 0x20(%rsp), %rsi
movswl 0x2(%rsi,%r11,2), %esi
subl 0x8(%rsp), %esi
cmpl $0xffff8001, %esi       # imm = 0xFFFF8001
cmovll %ecx, %esi
vinserti128 $0x1, %xmm6, %ymm0, %ymm7
vpalignr $0xe, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[14,15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm7[30,31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vpinsrw $0x0, %esi, %xmm6, %xmm7
vpblendd $0xf, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
xorl %esi, %esi
leaq 0x20(%rsi), %r14
cmpq %r14, %r10
je 0x50c4ed
vpmaxsw (%r15,%rsi), %ymm6, %ymm7
vmovdqa %ymm7, (%r15,%rsi)
vpminsw %ymm7, %ymm3, %ymm3
vpmaxsw %ymm7, %ymm2, %ymm2
vpsubsw %ymm4, %ymm7, %ymm7
vpsubsw %ymm5, %ymm6, %ymm6
vpcmpgtw %ymm7, %ymm6, %ymm7
vpmovmskb %ymm7, %r12d
movq %r14, %rsi
testl %r12d, %r12d
jne 0x50c4b6
jmp 0x50c4f1
incl %eax
jmp 0x50c480
movq (%rsp), %rax
vmovdqa (%r15,%rax), %ymm6
xorl %eax, %eax
cmpl %edx, %eax
jge 0x50c511
vperm2i128 $0x28, %ymm6, %ymm6, %ymm7 # ymm7 = zero,zero,ymm6[0,1]
vpalignr $0xe, %ymm7, %ymm6, %ymm6 # ymm6 = ymm7[14,15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm7[30,31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
incl %eax
jmp 0x50c4fd
vextracti128 $0x1, %ymm6, %xmm6
vpextrw $0x7, %xmm6, %eax
cwtl
movq 0x40(%rsp), %rsi
movq 0x10(%rsi), %rsi
movq (%rsi), %rsi
movl %eax, (%rsi,%r11,4)
incq %r11
movq %r15, %rax
movq %rbx, %r15
jmp 0x50c3cd
movq 0x18(%rsp), %r12
leal (,%r12,4), %ecx
movl %r12d, %eax
leal (,%r12,8), %esi
movq %rsi, 0x8(%rsp)
imulq $0xc, %rax, %rax
movq %rax, 0x38(%rsp)
imulq $0x3c, %r12, %rax
movq %rax, 0x30(%rsp)
imulq $0x38, %r12, %rax
movq %rax, 0x10(%rsp)
imulq $0x34, %r12, %rax
movq %rax, 0x68(%rsp)
imulq $0x30, %r12, %rax
movq %rax, 0x28(%rsp)
imulq $0x2c, %r12, %rax
movq %rax, 0x60(%rsp)
imulq $0x28, %r12, %rax
movq %rax, 0x58(%rsp)
imulq $0x24, %r12, %rax
movq %rax, 0x50(%rsp)
imulq $0x1c, %r12, %rax
movq %rax, 0x48(%rsp)
imulq $0x18, %r12, %rax
imulq $0x14, %r12, %r11
shlq $0x4, %r12
xorl %r14d, %r14d
cmpq %r14, %rcx
je 0x50c6e9
movq 0x40(%rsp), %rsi
movq 0x10(%rsi), %rsi
movq 0x8(%rsi), %rsi
vmovdqa (%rbx,%r14,8), %xmm5
vmovdqa 0x10(%rbx,%r14,8), %xmm4
vmovd %xmm5, %r8d
movswl %r8w, %r8d
movl %r8d, (%rsi,%r14)
addq %r14, %rsi
vpextrw $0x1, %xmm5, %r8d
movswl %r8w, %r8d
movl %r8d, (%rcx,%rsi)
vpextrw $0x2, %xmm5, %r8d
movswl %r8w, %r8d
movq 0x8(%rsp), %r9
movl %r8d, (%r9,%rsi)
vpextrw $0x3, %xmm5, %r8d
movswl %r8w, %r8d
movq 0x38(%rsp), %r9
movl %r8d, (%r9,%rsi)
vpextrw $0x4, %xmm5, %r8d
movswl %r8w, %r8d
movl %r8d, (%r12,%rsi)
vpextrw $0x5, %xmm5, %r8d
movswl %r8w, %r8d
movl %r8d, (%r11,%rsi)
vpextrw $0x6, %xmm5, %r8d
movswl %r8w, %r8d
movl %r8d, (%rax,%rsi)
vpextrw $0x7, %xmm5, %r8d
movswl %r8w, %r8d
movq 0x48(%rsp), %r9
movl %r8d, (%r9,%rsi)
vmovd %xmm4, %r8d
movswl %r8w, %r8d
vpextrw $0x1, %xmm4, %r9d
movl %r8d, (%rdi,%rsi)
movswl %r9w, %r8d
vpextrw $0x2, %xmm4, %r9d
movq 0x50(%rsp), %r10
movl %r8d, (%r10,%rsi)
movswl %r9w, %r8d
vpextrw $0x3, %xmm4, %r9d
movq 0x58(%rsp), %r10
movl %r8d, (%r10,%rsi)
movswl %r9w, %r8d
vpextrw $0x4, %xmm4, %r9d
movq 0x60(%rsp), %r10
movl %r8d, (%r10,%rsi)
movswl %r9w, %r8d
vpextrw $0x5, %xmm4, %r9d
movq 0x28(%rsp), %r10
movl %r8d, (%r10,%rsi)
movswl %r9w, %r8d
vpextrw $0x6, %xmm4, %r9d
movq 0x68(%rsp), %r10
movl %r8d, (%r10,%rsi)
movswl %r9w, %r8d
vpextrw $0x7, %xmm4, %r9d
movq 0x10(%rsp), %r10
movl %r8d, (%r10,%rsi)
movswl %r9w, %r8d
movq 0x30(%rsp), %r9
movl %r8d, (%r9,%rsi)
addq $0x4, %r14
jmp 0x50c5b8
movq (%rsp), %rax
vmovdqa (%rbx,%rax), %ymm4
xorl %eax, %eax
cmpl %edx, %eax
jge 0x50c708
vperm2i128 $0x28, %ymm4, %ymm4, %ymm5 # ymm5 = zero,zero,ymm4[0,1]
vpalignr $0xe, %ymm5, %ymm4, %ymm4 # ymm4 = ymm5[14,15],ymm4[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm5[30,31],ymm4[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
incl %eax
jmp 0x50c6f4
vpcmpgtw %ymm3, %ymm0, %ymm0
vpcmpgtw %ymm1, %ymm2, %ymm1
vpor %ymm0, %ymm1, %ymm0
vpmovmskb %ymm0, %eax
testl %eax, %eax
je 0x50c72e
movq 0x40(%rsp), %r14
orb $0x40, 0xc(%r14)
xorl %eax, %eax
xorl %edx, %edx
xorl %ecx, %ecx
jmp 0x50c746
vextracti128 $0x1, %ymm4, %xmm0
vpextrw $0x7, %xmm0, %eax
movq 0x40(%rsp), %r14
movl 0x74(%rsp), %ecx
movl 0x70(%rsp), %edx
cwtl
movl %eax, (%r14)
movl %ecx, 0x4(%r14)
movl %edx, 0x8(%r14)
movq 0x20(%rsp), %rdi
vzeroupper
callq 0x1ab763
movq %r13, %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq %rbx, %rdi
callq 0x1ab763
movq %r14, %rbx
jmp 0x50c89a
movq 0x22e852(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xba85b(%rip), %rsi     # 0x5c6feb
leaq 0xa84cf(%rip), %rdx     # 0x5b4c66
leaq 0x90d3f(%rip), %rcx     # 0x59d4dd
jmp 0x50c891
movq 0x22e82e(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xba837(%rip), %rsi     # 0x5c6feb
leaq 0xa84ab(%rip), %rdx     # 0x5b4c66
leaq 0xbb25c(%rip), %rcx     # 0x5c7a1e
jmp 0x50c891
movq 0x22e80a(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xba813(%rip), %rsi     # 0x5c6feb
leaq 0xa8487(%rip), %rdx     # 0x5b4c66
leaq 0xbb153(%rip), %rcx     # 0x5c7939
jmp 0x50c891
movq 0x22e7e6(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xbaf05(%rip), %rsi     # 0x5c7701
leaq 0xa8463(%rip), %rdx     # 0x5b4c66
leaq 0xbb13f(%rip), %rcx     # 0x5c7949
jmp 0x50c891
movq 0x22e7c2(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xba7cb(%rip), %rsi     # 0x5c6feb
leaq 0xa843f(%rip), %rdx     # 0x5b4c66
leaq 0xbaed0(%rip), %rcx     # 0x5c76fe
jmp 0x50c891
movq 0x22e7a1(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xbaec0(%rip), %rsi     # 0x5c7701
leaq 0xa841e(%rip), %rdx     # 0x5b4c66
leaq 0xbaec6(%rip), %rcx     # 0x5c7715
jmp 0x50c891
movq 0x22e780(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xbaeb9(%rip), %rsi     # 0x5c771b
leaq 0xa83fd(%rip), %rdx     # 0x5b4c66
leaq 0xbaec0(%rip), %rcx     # 0x5c7730
jmp 0x50c891
movq 0x22e75f(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xbae98(%rip), %rsi     # 0x5c771b
leaq 0xa83dc(%rip), %rdx     # 0x5b4c66
leaq 0xbaea4(%rip), %rcx     # 0x5c7735
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x19e180
movq %rbx, %rax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq