// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_trace_scan_avx2_256_16.c
// Function: parasail_nw_trace_scan_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;
    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;
    __m256i* restrict pvP = NULL;
    __m256i* restrict pvE = NULL;
    int16_t* restrict boundary = NULL;
    __m256i* restrict pvHt = NULL;
    __m256i* restrict pvH = NULL;
    __m256i* restrict pvGapper = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int16_t NEG_LIMIT = 0;
    int16_t POS_LIMIT = 0;
    __m256i vZero;
    int16_t score = 0;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i vSaturationCheckMax;
    __m256i vNegInfFront;
    __m256i vSegLenXgap;
    parasail_result_t *result = NULL;
    __m256i vTIns;
    __m256i vTDel;
    __m256i vTDiag;
    __m256i vTDiagE;
    __m256i vTInsE;
    __m256i vTDiagF;
    __m256i vTDelF;

    /* 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;
    pvP = (__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;
    vZero = _mm256_setzero_si256();
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi16(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi16(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInfFront = vZero;
    vTIns  = _mm256_set1_epi16(PARASAIL_INS);
    vTDel  = _mm256_set1_epi16(PARASAIL_DEL);
    vTDiag = _mm256_set1_epi16(PARASAIL_DIAG);
    vTDiagE = _mm256_set1_epi16(PARASAIL_DIAG_E);
    vTInsE = _mm256_set1_epi16(PARASAIL_INS_E);
    vTDiagF = _mm256_set1_epi16(PARASAIL_DIAG_F);
    vTDelF = _mm256_set1_epi16(PARASAIL_DEL_F);
    vNegInfFront = _mm256_insert_epi16_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm256_adds_epi16(vNegInfFront,
            _mm256_slli_si256_rpl(_mm256_set1_epi16(-segLen*gap), 2));

    /* initialize result */
    result = parasail_result_new_trace(segLen, s2Len, 32, sizeof(__m256i));
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_NW | PARASAIL_FLAG_SCAN
        | PARASAIL_FLAG_TRACE
        | PARASAIL_FLAG_BITS_16 | PARASAIL_FLAG_LANES_16;

    /* initialize heap variables */
    pvE = parasail_memalign___m256i(32, segLen);
    boundary = parasail_memalign_int16_t(32, s2Len+1);
    pvHt= parasail_memalign___m256i(32, segLen);
    pvH = parasail_memalign___m256i(32, segLen);
    pvGapper = parasail_memalign___m256i(32, 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;
            __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(&pvH[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;
        }
    }

    {
        __m256i vGapper = _mm256_subs_epi16(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm256_store_si256(pvGapper+i, vGapper);
            vGapper = _mm256_subs_epi16(vGapper, vGapE);
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m256i vE;
        __m256i vE_ext;
        __m256i vE_opn;
        __m256i vHt;
        __m256i vF;
        __m256i vF_ext;
        __m256i vF_opn;
        __m256i vH;
        __m256i vHp;
        __m256i *pvW;
        __m256i vW;
        __m256i case1;
        __m256i case2;
        __m256i vGapper;
        __m256i vT;
        __m256i vET;
        __m256i vFT;

        /* calculate E */
        /* calculate Ht */
        /* calculate F and H first pass */
        vHp = _mm256_load_si256(pvH+(segLen-1));
        vHp = _mm256_slli_si256_rpl(vHp, 2);
        vHp = _mm256_insert_epi16_rpl(vHp, boundary[j], 0);
        pvW = pvP + matrix->mapper[(unsigned char)s2[j]]*segLen;
        vHt = _mm256_subs_epi16(vNegLimit, pvGapper[0]);
        vF = vNegLimit;
        for (i=0; i<segLen; ++i) {
            vH = _mm256_load_si256(pvH+i);
            vE = _mm256_load_si256(pvE+i);
            vW = _mm256_load_si256(pvW+i);
            vGapper = _mm256_load_si256(pvGapper+i);
            vE_opn = _mm256_subs_epi16(vH, vGapO);
            vE_ext = _mm256_subs_epi16(vE, vGapE);
            case1 = _mm256_cmpgt_epi16(vE_opn, vE_ext);
            vET = _mm256_blendv_epi8(vTInsE, vTDiagE, case1);
            arr_store(result->trace->trace_table, vET, i, segLen, j);
            vE = _mm256_max_epi16(vE_opn, vE_ext);
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vE);
            vGapper = _mm256_adds_epi16(vHt, vGapper);
            vF = _mm256_max_epi16(vF, vGapper);
            vHp = _mm256_adds_epi16(vHp, vW);
            vHt = _mm256_max_epi16(vE, vHp);
            _mm256_store_si256(pvE+i, vE);
            _mm256_store_si256(pvHt+i, vHt);
            _mm256_store_si256(pvH+i, vHp);
            vHp = vH;
        }

        /* pseudo prefix scan on F and H */
        vHt = _mm256_slli_si256_rpl(vHt, 2);
        vHt = _mm256_insert_epi16_rpl(vHt, boundary[j+1], 0);
        vGapper = _mm256_load_si256(pvGapper);
        vGapper = _mm256_adds_epi16(vHt, vGapper);
        vF = _mm256_max_epi16(vF, vGapper);
        for (i=0; i<segWidth-2; ++i) {
            __m256i vFt = _mm256_slli_si256_rpl(vF, 2);
            vFt = _mm256_adds_epi16(vFt, vSegLenXgap);
            vF = _mm256_max_epi16(vF, vFt);
        }

        /* calculate final H */
        vF = _mm256_slli_si256_rpl(vF, 2);
        vF = _mm256_adds_epi16(vF, vNegInfFront);
        vH = _mm256_max_epi16(vF, vHt);
        for (i=0; i<segLen; ++i) {
            vET = arr_load(result->trace->trace_table, i, segLen, j);
            vHp = _mm256_load_si256(pvH+i);
            vHt = _mm256_load_si256(pvHt+i);
            vF_opn = _mm256_subs_epi16(vH, vGapO);
            vF_ext = _mm256_subs_epi16(vF, vGapE);
            vF = _mm256_max_epi16(vF_opn, vF_ext);
            case1 = _mm256_cmpgt_epi16(vF_opn, vF_ext);
            vFT = _mm256_blendv_epi8(vTDelF, vTDiagF, case1);
            vH = _mm256_max_epi16(vHt, vF);
            case1 = _mm256_cmpeq_epi16(vH, vHp);
            case2 = _mm256_cmpeq_epi16(vH, vF);
            vT = _mm256_blendv_epi8(
                    _mm256_blendv_epi8(vTIns, vTDel, case2),
                    vTDiag, case1);
            vT = _mm256_or_si256(vT, vET);
            vT = _mm256_or_si256(vT, vFT);
            arr_store(result->trace->trace_table, vT, i, segLen, j);
            _mm256_store_si256(pvH+i, vH);
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vH);
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vF);
            vSaturationCheckMax = _mm256_max_epi16(vSaturationCheckMax, vH);
        }
    }

    /* extract last value from the last column */
    {
        __m256i vH = _mm256_load_si256(pvH + 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(pvGapper);
    parasail_free(pvH);
    parasail_free(pvHt);
    parasail_free(boundary);
    parasail_free(pvE);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
andq $-0x20, %rsp
subq $0xe0, %rsp
movq %rsi, 0x48(%rsp)
testq %rdi, %rdi
je 0x54a51e
movq 0x30(%rdi), %rax
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x54a542
movq 0x10(%rdi), %rax
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x54a566
movl 0x8(%rdi), %r12d
testl %r12d, %r12d
jle 0x54a58a
cmpq $0x0, 0x48(%rsp)
je 0x54a5ae
movl %edx, %r13d
testl %edx, %edx
jle 0x54a5cf
testl %ecx, %ecx
js 0x54a5f0
testl %r8d, %r8d
js 0x54a611
movl %r8d, 0x14(%rsp)
leal -0x1(%r12), %r14d
addq $0xf, %r12
shrq $0x4, %r12
movl %r14d, %eax
xorl %edx, %edx
divl %r12d
movl %eax, 0x4(%rsp)
movl %edx, %r15d
movl %ecx, %edx
negl %edx
movq 0x40(%rsp), %rsi
movl 0x20(%rsi), %eax
movl %eax, %edi
negl %edi
movl %edx, 0x10(%rsp)
cmpl %edx, %eax
movl %ecx, 0x60(%rsp)
cmovgl %ecx, %edi
movl %edi, 0x18(%rsp)
movw $0x7ffe, %ax            # imm = 0x7FFE
subw 0x1c(%rsi), %ax
movl %eax, 0x34(%rsp)
pushq $0x20
popq %rcx
movl %r12d, %edi
movl %r13d, %esi
movq %rcx, %rdx
callq 0x1abb59
testq %rax, %rax
je 0x54a100
movq %rax, %rbx
movl %r15d, 0x30(%rsp)
movl %r14d, 0x2c(%rsp)
orl $0x10280401, 0xc(%rax)  # imm = 0x10280401
pushq $0x20
popq %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0x496aa4
movq %r13, %rcx
movq %rax, %r13
movq %rcx, 0x38(%rsp)
leal 0x1(%rcx), %esi
movq %r14, %rdi
movq %rsi, 0x50(%rsp)
callq 0x1ab77b
movq %rax, 0x8(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x496aa4
movq %rax, %r15
movq %r14, %rdi
movq %r12, %rsi
callq 0x496aa4
movq %rax, %r14
pushq $0x20
popq %rdi
movq %r12, 0x20(%rsp)
movq %r12, %rsi
callq 0x496aa4
testq %r13, %r13
sete %cl
cmpq $0x0, 0x8(%rsp)
sete %dl
orb %cl, %dl
testq %r15, %r15
sete %cl
testq %r14, %r14
sete %sil
orb %cl, %sil
orb %dl, %sil
testq %rax, %rax
sete %cl
orb %sil, %cl
je 0x54a107
xorl %ebx, %ebx
jmp 0x54a639
movq 0x38(%rsp), %rcx
decl %ecx
movl %ecx, 0x28(%rsp)
pushq $0xf
popq %rcx
subl 0x4(%rsp), %ecx
movl %ecx, 0x4(%rsp)
movl 0x60(%rsp), %esi
vmovd %esi, %xmm0
vpbroadcastw %xmm0, %ymm2
movl 0x14(%rsp), %edx
vmovd %edx, %xmm0
vpbroadcastw %xmm0, %ymm3
movl 0x18(%rsp), %ecx
addl $0xffff8001, %ecx       # imm = 0xFFFF8001
vmovd %ecx, %xmm0
vpbroadcastw %xmm0, %ymm0
vmovd 0x34(%rsp), %xmm1
vpbroadcastw %xmm1, %ymm7
movzwl %cx, %ecx
vmovd %ecx, %xmm4
movq 0x20(%rsp), %r12
movl %r12d, %ecx
imull %edx, %ecx
negl %ecx
vmovd %ecx, %xmm5
vpbroadcastw %xmm5, %ymm5
vpand 0x817a6(%rip), %ymm5, %ymm5 # 0x5cb920
vpaddsw %ymm5, %ymm4, %ymm5
movl %esi, %esi
movl %edx, %ecx
movslq 0x10(%rsp), %r8
negq %rsi
movq %r12, %r9
movq %rcx, 0x18(%rsp)
imulq %rcx, %r9
xorl %ecx, %ecx
movq $-0x7fff, %r10          # imm = 0x8001
movq $-0x8000, %r11          # imm = 0x8000
cmpq %r12, %rcx
je 0x54a224
movq %r8, 0x60(%rsp)
xorl %edi, %edi
cmpq $0x10, %rdi
je 0x54a1ea
cmpq %r10, %r8
movq $-0x8000, %r12          # imm = 0x8000
cmovgeq %r8, %r12
leaq (%rsi,%r8), %rdx
cmpq %r10, %rdx
cmovlq %r11, %rdx
movw %r12w, 0xa0(%rsp,%rdi,2)
movw %dx, 0x80(%rsp,%rdi,2)
incq %rdi
subq %r9, %r8
jmp 0x54a1b2
movq %rcx, %rdx
shlq $0x5, %rdx
vmovaps 0xa0(%rsp), %ymm6
vmovaps %ymm6, (%r14,%rdx)
vmovdqa 0x80(%rsp), %ymm6
vmovdqa %ymm6, (%r13,%rdx)
incq %rcx
movq 0x60(%rsp), %r8
subq 0x18(%rsp), %r8
movq 0x20(%rsp), %r12
jmp 0x54a1a6
movq 0x8(%rsp), %rcx
andw $0x0, (%rcx)
pushq $0x1
popq %rcx
movl 0x14(%rsp), %edi
movl 0x10(%rsp), %r8d
movq 0x50(%rsp), %r9
movq 0x8(%rsp), %rsi
cmpq %rcx, %r9
je 0x54a264
cmpl $0xffff8001, %r8d       # imm = 0xFFFF8001
movl $0xffff8000, %edx       # imm = 0xFFFF8000
cmovgel %r8d, %edx
movw %dx, (%rsi,%rcx,2)
incq %rcx
subl %edi, %r8d
jmp 0x54a243
vpxor %xmm6, %xmm6, %xmm6
vpsubsw %ymm2, %ymm6, %ymm6
leal -0x1(%r12), %ecx
movl %ecx, %edx
testl %edx, %edx
js 0x54a28a
movl %edx, %esi
shlq $0x5, %rsi
vmovdqa %ymm6, (%rax,%rsi)
vpsubsw %ymm3, %ymm6, %ymm6
decl %edx
jmp 0x54a273
movl %ecx, %ecx
shlq $0x5, %rcx
movq %r14, %rsi
addq %rcx, %rsi
movq %r12, %r8
movl 0x38(%rsp), %edi
shlq $0x5, %r8
xorl %r9d, %r9d
pushq $0xe
popq %r10
xorl %r11d, %r11d
vmovdqa %ymm7, 0x60(%rsp)
vmovdqa %ymm0, %ymm6
vpbroadcastw 0x834fe(%rip), %ymm15 # 0x5cd7bc
cmpq %rdi, %r11
je 0x54a484
vmovdqa (%rsi), %ymm8
vinserti128 $0x1, %xmm8, %ymm0, %ymm9
vpalignr $0xe, %ymm9, %ymm8, %ymm8 # ymm8 = ymm9[14,15],ymm8[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm9[30,31],ymm8[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
movq 0x8(%rsp), %rcx
vpinsrw $0x0, (%rcx,%r11,2), %xmm8, %xmm9
vpblendd $0xf, %ymm9, %ymm8, %ymm10 # ymm10 = ymm9[0,1,2,3],ymm8[4,5,6,7]
movq 0x40(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x48(%rsp), %rdx
movzbl (%rdx,%r11), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x20(%rsp), %ecx
movslq %ecx, %r12
shlq $0x5, %r12
addq 0x58(%rsp), %r12
vpsubsw (%rax), %ymm0, %ymm9
xorl %ecx, %ecx
vmovdqa %ymm0, %ymm8
cmpq %rcx, %r8
je 0x54a392
vpaddsw (%r12,%rcx), %ymm10, %ymm10
vmovdqa (%r14,%rcx), %ymm11
vmovdqa (%r13,%rcx), %ymm12
vpbroadcastw 0x8347f(%rip), %ymm13 # 0x5cd7ba
vpsubsw %ymm2, %ymm11, %ymm14
vpsubsw %ymm3, %ymm12, %ymm12
vpcmpgtw %ymm12, %ymm14, %ymm1
vpblendvb %ymm1, %ymm13, %ymm15, %ymm1
movq 0x10(%rbx), %rdx
movq (%rdx), %rdx
addq %r9, %rdx
vpaddsw (%rax,%rcx), %ymm9, %ymm13
vmovdqa %ymm1, (%rcx,%rdx)
vpmaxsw %ymm12, %ymm14, %ymm1
vpminsw %ymm1, %ymm7, %ymm7
vpmaxsw %ymm1, %ymm10, %ymm9
vmovdqa %ymm1, (%r13,%rcx)
vmovdqa %ymm9, (%r15,%rcx)
vpmaxsw %ymm13, %ymm8, %ymm8
vmovdqa %ymm10, (%r14,%rcx)
addq $0x20, %rcx
vmovdqa %ymm11, %ymm10
jmp 0x54a31a
vinserti128 $0x1, %xmm9, %ymm0, %ymm1
vpalignr $0xe, %ymm1, %ymm9, %ymm1 # ymm1 = ymm1[14,15],ymm9[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm9[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
movq 0x8(%rsp), %rcx
vpinsrw $0x0, 0x2(%rcx,%r11,2), %xmm1, %xmm9
incq %r11
vpblendd $0xf, %ymm9, %ymm1, %ymm9 # ymm9 = ymm9[0,1,2,3],ymm1[4,5,6,7]
vpaddsw (%rax), %ymm9, %ymm1
vpmaxsw %ymm1, %ymm8, %ymm8
movl %r10d, %ecx
vperm2i128 $0x8, %ymm8, %ymm8, %ymm1 # ymm1 = zero,zero,ymm8[0,1]
vpalignr $0xe, %ymm1, %ymm8, %ymm10 # ymm10 = ymm1[14,15],ymm8[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm8[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
subl $0x1, %ecx
jb 0x54a3da
vpaddsw %ymm5, %ymm10, %ymm1
vpmaxsw %ymm1, %ymm8, %ymm8
jmp 0x54a3bf
vpaddsw %ymm4, %ymm10, %ymm8
vpmaxsw %ymm9, %ymm8, %ymm9
xorl %ecx, %ecx
cmpq %rcx, %r8
je 0x54a47c
movq 0x10(%rbx), %rdx
movq (%rdx), %rdx
vmovdqa (%r15,%rcx), %ymm1
vpsubsw %ymm2, %ymm9, %ymm9
vpsubsw %ymm3, %ymm8, %ymm10
vpbroadcastw 0x833b2(%rip), %ymm11 # 0x5cd7be
vpmaxsw %ymm10, %ymm9, %ymm8
vpbroadcastw 0x833a6(%rip), %ymm12 # 0x5cd7c0
vpcmpgtw %ymm10, %ymm9, %ymm9
vpblendvb %ymm9, %ymm11, %ymm12, %ymm10
vpmaxsw %ymm1, %ymm8, %ymm9
vpcmpgtw %ymm8, %ymm1, %ymm1
vpbroadcastw 0x8338b(%rip), %ymm11 # 0x5cd7c2
vpaddw %ymm1, %ymm11, %ymm1
vpbroadcastw 0x83380(%rip), %ymm11 # 0x5cd7c4
vpcmpeqw (%r14,%rcx), %ymm9, %ymm12
vpblendvb %ymm12, %ymm11, %ymm1, %ymm1
addq %r9, %rdx
vpor (%rcx,%rdx), %ymm10, %ymm10
vpor %ymm1, %ymm10, %ymm1
vmovdqa %ymm1, (%rcx,%rdx)
vmovdqa %ymm9, (%r14,%rcx)
vpminsw %ymm7, %ymm8, %ymm1
vpminsw %ymm1, %ymm9, %ymm7
vpmaxsw %ymm6, %ymm9, %ymm6
addq $0x20, %rcx
jmp 0x54a3e5
addq %r8, %r9
jmp 0x54a2be
movl 0x30(%rsp), %ecx
shlq $0x5, %rcx
vmovdqa (%r14,%rcx), %ymm2
xorl %ecx, %ecx
movl 0x28(%rsp), %esi
movl 0x4(%rsp), %edx
cmpl %edx, %ecx
jge 0x54a4b0
vperm2i128 $0x28, %ymm2, %ymm2, %ymm1 # ymm1 = zero,zero,ymm2[0,1]
vpalignr $0xe, %ymm1, %ymm2, %ymm2 # ymm2 = ymm1[14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
incl %ecx
jmp 0x54a49c
vpcmpgtw %ymm7, %ymm0, %ymm0
vpcmpgtw 0x60(%rsp), %ymm6, %ymm1
vpor %ymm0, %ymm1, %ymm0
vpmovmskb %ymm0, %ecx
testl %ecx, %ecx
je 0x54a4d2
orb $0x40, 0xc(%rbx)
xorl %ecx, %ecx
xorl %esi, %esi
xorl %edx, %edx
jmp 0x54a4e1
vextracti128 $0x1, %ymm2, %xmm0
vpextrw $0x7, %xmm0, %ecx
movl 0x2c(%rsp), %edx
movswl %cx, %ecx
movl %ecx, (%rbx)
movl %edx, 0x4(%rbx)
movl %esi, 0x8(%rbx)
movq %rax, %rdi
vzeroupper
callq 0x1ab763
movq %r14, %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq 0x8(%rsp), %rdi
callq 0x1ab763
movq %r13, %rdi
callq 0x1ab763
jmp 0x54a639
movq 0x1f0ab3(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7cabc(%rip), %rsi     # 0x5c6feb
leaq 0x77040(%rip), %rdx     # 0x5c1576
leaq 0x52fa0(%rip), %rcx     # 0x59d4dd
jmp 0x54a630
movq 0x1f0a8f(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7ca98(%rip), %rsi     # 0x5c6feb
leaq 0x7701c(%rip), %rdx     # 0x5c1576
leaq 0x7d4bd(%rip), %rcx     # 0x5c7a1e
jmp 0x54a630
movq 0x1f0a6b(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7ca74(%rip), %rsi     # 0x5c6feb
leaq 0x76ff8(%rip), %rdx     # 0x5c1576
leaq 0x7d3b4(%rip), %rcx     # 0x5c7939
jmp 0x54a630
movq 0x1f0a47(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7d166(%rip), %rsi     # 0x5c7701
leaq 0x76fd4(%rip), %rdx     # 0x5c1576
leaq 0x7d3a0(%rip), %rcx     # 0x5c7949
jmp 0x54a630
movq 0x1f0a23(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7ca2c(%rip), %rsi     # 0x5c6feb
leaq 0x76fb0(%rip), %rdx     # 0x5c1576
leaq 0x7d131(%rip), %rcx     # 0x5c76fe
jmp 0x54a630
movq 0x1f0a02(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7d121(%rip), %rsi     # 0x5c7701
leaq 0x76f8f(%rip), %rdx     # 0x5c1576
leaq 0x7d127(%rip), %rcx     # 0x5c7715
jmp 0x54a630
movq 0x1f09e1(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7d11a(%rip), %rsi     # 0x5c771b
leaq 0x76f6e(%rip), %rdx     # 0x5c1576
leaq 0x7d121(%rip), %rcx     # 0x5c7730
jmp 0x54a630
movq 0x1f09c0(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x7d0f9(%rip), %rsi     # 0x5c771b
leaq 0x76f4d(%rip), %rdx     # 0x5c1576
leaq 0x7d105(%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
nop