// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_scan_avx2_256_16.c
// Function: parasail_nw_rowcol_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;

    /* 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;
    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 */
#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_SCAN
        | 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 */
    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 vHt;
        __m256i vF;
        __m256i vH;
        __m256i vHp;
        __m256i *pvW;
        __m256i vW;

        /* 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);
            vE = _mm256_max_epi16(
                    _mm256_subs_epi16(vE, vGapE),
                    _mm256_subs_epi16(vH, vGapO));
            vHp = _mm256_adds_epi16(vHp, vW);
            vF = _mm256_max_epi16(vF, _mm256_adds_epi16(vHt, pvGapper[i]));
            vHt = _mm256_max_epi16(vE, vHp);
            _mm256_store_si256(pvE+i, vE);
            _mm256_store_si256(pvHt+i, vHt);
            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);
        vF = _mm256_max_epi16(vF, _mm256_adds_epi16(vHt, pvGapper[0]));
        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(vHt, vF);
        for (i=0; i<segLen; ++i) {
            vHt = _mm256_load_si256(pvHt+i);
            vF = _mm256_max_epi16(
                    _mm256_subs_epi16(vF, vGapE),
                    _mm256_subs_epi16(vH, vGapO));
            vH = _mm256_max_epi16(vHt, vF);
            _mm256_store_si256(pvH+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
        } 


#ifdef PARASAIL_ROWCOL
        /* extract last value from the column */
        {
            vH = _mm256_load_si256(pvH + 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(pvH+i);
        arr_store_col(result->rowcols->score_col, vH, i, segLen);
    }
#endif

    /* 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
andq $-0x20, %rsp
subq $0xe80, %rsp            # imm = 0xE80
movq %rdi, 0x400(%rsp)
movq %rsi, 0x3f8(%rsp)
movl %edx, 0x3f4(%rsp)
movl %ecx, 0x3f0(%rsp)
movl %r8d, 0x3ec(%rsp)
movl $0x0, 0x3e8(%rsp)
movl $0x0, 0x3e4(%rsp)
movl $0x0, 0x3e0(%rsp)
movl $0x0, 0x3dc(%rsp)
movl $0x0, 0x3d8(%rsp)
movl $0x0, 0x3d4(%rsp)
movq $0x0, 0x3c8(%rsp)
movl $0x0, 0x3c4(%rsp)
movl $0x0, 0x3c0(%rsp)
movl $0x0, 0x3bc(%rsp)
movl $0x0, 0x3b8(%rsp)
movq $0x0, 0x3b0(%rsp)
movq $0x0, 0x3a8(%rsp)
movq $0x0, 0x3a0(%rsp)
movq $0x0, 0x398(%rsp)
movq $0x0, 0x390(%rsp)
movq $0x0, 0x388(%rsp)
movw $0x0, 0x33e(%rsp)
movw $0x0, 0x33c(%rsp)
movw $0x0, 0x2fe(%rsp)
movq $0x0, 0x218(%rsp)
cmpq $0x0, 0x400(%rsp)
jne 0xacfab3
movq 0x357555(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21c55e(%rip), %rsi    # 0xcebfeb
leaq 0x20a0f0(%rip), %rdx    # 0xcd9b84
leaq 0x1f2a42(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfab5
jmp 0xacfab7
movq 0x400(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0xacfafd
movq 0x35750b(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21c514(%rip), %rsi    # 0xcebfeb
leaq 0x20a0a6(%rip), %rdx    # 0xcd9b84
leaq 0x21cf0b(%rip), %rcx    # 0xcec9f0
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfaff
jmp 0xacfb01
movq 0x400(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xacfb47
movq 0x3574c1(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21c4ca(%rip), %rsi    # 0xcebfeb
leaq 0x20a05c(%rip), %rdx    # 0xcd9b84
leaq 0x21cded(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfb49
jmp 0xacfb4b
movq 0x400(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xacfb90
movq 0x357478(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21cb97(%rip), %rsi    # 0xcec701
leaq 0x20a013(%rip), %rdx    # 0xcd9b84
leaq 0x21cdb4(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfb92
jmp 0xacfb94
cmpq $0x0, 0x3f8(%rsp)
jne 0xacfbd6
movq 0x357432(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21c43b(%rip), %rsi    # 0xcebfeb
leaq 0x209fcd(%rip), %rdx    # 0xcd9b84
leaq 0x21cb40(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfbd8
jmp 0xacfbda
cmpl $0x0, 0x3f4(%rsp)
jg 0xacfc1b
movq 0x3573ed(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21cb0c(%rip), %rsi    # 0xcec701
leaq 0x209f88(%rip), %rdx    # 0xcd9b84
leaq 0x21cb12(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfc1d
jmp 0xacfc1f
cmpl $0x0, 0x3f0(%rsp)
jge 0xacfc60
movq 0x3573a8(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21cae1(%rip), %rsi    # 0xcec71b
leaq 0x209f43(%rip), %rdx    # 0xcd9b84
leaq 0x21cae8(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfc62
jmp 0xacfc64
cmpl $0x0, 0x3ec(%rsp)
jge 0xacfca5
movq 0x357363(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21ca9c(%rip), %rsi    # 0xcec71b
leaq 0x209efe(%rip), %rdx    # 0xcd9b84
leaq 0x21caa8(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
jmp 0xacfca7
movl $0x0, 0x3e8(%rsp)
movl $0x0, 0x3e4(%rsp)
movl $0x0, 0x3e0(%rsp)
movq 0x400(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x3dc(%rsp)
movl 0x3dc(%rsp), %eax
decl %eax
movl %eax, 0x3d8(%rsp)
movl 0x3f4(%rsp), %eax
decl %eax
movl %eax, 0x3d4(%rsp)
movq 0x400(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x3c8(%rsp)
movl $0x10, 0x3c4(%rsp)
movl 0x3dc(%rsp), %esi
movl 0x3c4(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x3c0(%rsp)
movl 0x3dc(%rsp), %eax
decl %eax
movl 0x3c0(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x3bc(%rsp)
movl 0x3c4(%rsp), %ecx
movl 0x3dc(%rsp), %eax
decl %eax
movl 0x3c0(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x3b8(%rsp)
movq 0x400(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, 0x3b0(%rsp)
movw 0x3f0(%rsp), %ax
movw %ax, 0x41e(%rsp)
movw 0x41e(%rsp), %ax
movw %ax, 0x3c(%rsp)
movw %ax, 0xcde(%rsp)
movw %ax, 0xcdc(%rsp)
movw %ax, 0xcda(%rsp)
movw %ax, 0xcd8(%rsp)
movw %ax, 0xcd6(%rsp)
movw %ax, 0xcd4(%rsp)
movw %ax, 0xcd2(%rsp)
movw %ax, 0xcd0(%rsp)
movw %ax, 0xcce(%rsp)
movw %ax, 0xccc(%rsp)
movw %ax, 0xcca(%rsp)
movw %ax, 0xcc8(%rsp)
movw %ax, 0xcc6(%rsp)
movw %ax, 0xcc4(%rsp)
movw %ax, 0xcc2(%rsp)
movw %ax, 0xcc0(%rsp)
movzwl 0xcc0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xcc2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xcc4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xcc6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xcc8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xcca(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xccc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xcce(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0xcd0(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0xcd2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0xcd4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0xcd6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0xcd8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0xcda(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0xcdc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0xcde(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xcb0(%rsp)
vmovdqa %xmm0, 0xca0(%rsp)
vmovaps 0xca0(%rsp), %ymm0
vmovaps %ymm0, 0x360(%rsp)
movw 0x3ec(%rsp), %ax
movw %ax, 0x41c(%rsp)
movw 0x41c(%rsp), %ax
movw %ax, 0x3e(%rsp)
movw %ax, 0xd1e(%rsp)
movw %ax, 0xd1c(%rsp)
movw %ax, 0xd1a(%rsp)
movw %ax, 0xd18(%rsp)
movw %ax, 0xd16(%rsp)
movw %ax, 0xd14(%rsp)
movw %ax, 0xd12(%rsp)
movw %ax, 0xd10(%rsp)
movw %ax, 0xd0e(%rsp)
movw %ax, 0xd0c(%rsp)
movw %ax, 0xd0a(%rsp)
movw %ax, 0xd08(%rsp)
movw %ax, 0xd06(%rsp)
movw %ax, 0xd04(%rsp)
movw %ax, 0xd02(%rsp)
movw %ax, 0xd00(%rsp)
movzwl 0xd10(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xd12(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xd14(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xd16(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xd18(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xd1a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xd1c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xd1e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm1
movzwl 0xd00(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xd02(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xd04(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xd06(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xd08(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xd0a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xd0c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xd0e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xce0(%rsp)
vmovdqa 0xce0(%rsp), %ymm0
vmovdqa %ymm0, 0x340(%rsp)
xorl %eax, %eax
subl 0x3f0(%rsp), %eax
movq 0x3c8(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xad00d3
movl 0x3f0(%rsp), %eax
addl $0xffff8000, %eax       # imm = 0xFFFF8000
movl %eax, 0x38(%rsp)
jmp 0xad00e7
movq 0x3c8(%rsp), %rcx
movl $0xffff8000, %eax       # imm = 0xFFFF8000
subl 0x20(%rcx), %eax
movl %eax, 0x38(%rsp)
movl 0x38(%rsp), %eax
incl %eax
movw %ax, 0x33e(%rsp)
movq 0x3c8(%rsp), %rax
movl 0x1c(%rax), %eax
xorl $0x7fff, %eax           # imm = 0x7FFF
decl %eax
movw %ax, 0x33c(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %ymm0, 0x420(%rsp)
vmovaps 0x420(%rsp), %ymm0
vmovaps %ymm0, 0x300(%rsp)
movw 0x33e(%rsp), %ax
movw %ax, 0x2fe(%rsp)
movw 0x33e(%rsp), %ax
movw %ax, 0x41a(%rsp)
movw 0x41a(%rsp), %ax
movw %ax, 0x2e(%rsp)
movw %ax, 0xd5e(%rsp)
movw %ax, 0xd5c(%rsp)
movw %ax, 0xd5a(%rsp)
movw %ax, 0xd58(%rsp)
movw %ax, 0xd56(%rsp)
movw %ax, 0xd54(%rsp)
movw %ax, 0xd52(%rsp)
movw %ax, 0xd50(%rsp)
movw %ax, 0xd4e(%rsp)
movw %ax, 0xd4c(%rsp)
movw %ax, 0xd4a(%rsp)
movw %ax, 0xd48(%rsp)
movw %ax, 0xd46(%rsp)
movw %ax, 0xd44(%rsp)
movw %ax, 0xd42(%rsp)
movw %ax, 0xd40(%rsp)
movzwl 0xd40(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xd42(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xd44(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xd46(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xd48(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xd4a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xd4c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xd4e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0xd50(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0xd52(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0xd54(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0xd56(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0xd58(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0xd5a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0xd5c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0xd5e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xd30(%rsp)
vmovdqa %xmm0, 0xd20(%rsp)
vmovaps 0xd20(%rsp), %ymm0
vmovaps %ymm0, 0x2c0(%rsp)
movw 0x33c(%rsp), %ax
movw %ax, 0x418(%rsp)
movw 0x418(%rsp), %ax
movw %ax, 0x30(%rsp)
movw %ax, 0xd9e(%rsp)
movw %ax, 0xd9c(%rsp)
movw %ax, 0xd9a(%rsp)
movw %ax, 0xd98(%rsp)
movw %ax, 0xd96(%rsp)
movw %ax, 0xd94(%rsp)
movw %ax, 0xd92(%rsp)
movw %ax, 0xd90(%rsp)
movw %ax, 0xd8e(%rsp)
movw %ax, 0xd8c(%rsp)
movw %ax, 0xd8a(%rsp)
movw %ax, 0xd88(%rsp)
movw %ax, 0xd86(%rsp)
movw %ax, 0xd84(%rsp)
movw %ax, 0xd82(%rsp)
movw %ax, 0xd80(%rsp)
movzwl 0xd80(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xd82(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xd84(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xd86(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xd88(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xd8a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xd8c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xd8e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0xd90(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0xd92(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0xd94(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0xd96(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0xd98(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0xd9a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0xd9c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0xd9e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0xd70(%rsp)
vmovdqa %xmm0, 0xd60(%rsp)
vmovaps 0xd60(%rsp), %ymm0
vmovaps %ymm0, 0x2a0(%rsp)
vmovaps 0x2a0(%rsp), %ymm0
vmovaps %ymm0, 0x280(%rsp)
vmovaps 0x2c0(%rsp), %ymm0
vmovaps %ymm0, 0x260(%rsp)
vmovaps 0x300(%rsp), %ymm0
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x240(%rsp), %ymm0
movzwl 0x33e(%rsp), %eax
vmovdqa 0x240(%rsp), %xmm1
vpinsrw $0x0, %eax, %xmm1, %xmm2
vmovaps %xmm2, %xmm1
vblendps $0xf, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x240(%rsp), %ymm1
movl 0x3c0(%rsp), %eax
negl %eax
movl 0x3ec(%rsp), %ecx
imull %ecx, %eax
movw %ax, 0x416(%rsp)
movw 0x416(%rsp), %ax
movw %ax, 0x32(%rsp)
movw %ax, 0xdde(%rsp)
movw %ax, 0xddc(%rsp)
movw %ax, 0xdda(%rsp)
movw %ax, 0xdd8(%rsp)
movw %ax, 0xdd6(%rsp)
movw %ax, 0xdd4(%rsp)
movw %ax, 0xdd2(%rsp)
movw %ax, 0xdd0(%rsp)
movw %ax, 0xdce(%rsp)
movw %ax, 0xdcc(%rsp)
movw %ax, 0xdca(%rsp)
movw %ax, 0xdc8(%rsp)
movw %ax, 0xdc6(%rsp)
movw %ax, 0xdc4(%rsp)
movw %ax, 0xdc2(%rsp)
movw %ax, 0xdc0(%rsp)
movzwl 0xdc0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0xdc2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0xdc4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0xdc6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0xdc8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0xdca(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0xdcc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0xdce(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0xdd0(%rsp), %eax
vmovd %eax, %xmm2
movzwl 0xdd2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm2, %xmm2
movzwl 0xdd4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm2, %xmm2
movzwl 0xdd6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm2, %xmm2
movzwl 0xdd8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm2, %xmm2
movzwl 0xdda(%rsp), %eax
vpinsrw $0x5, %eax, %xmm2, %xmm2
movzwl 0xddc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm2, %xmm2
movzwl 0xdde(%rsp), %eax
vpinsrw $0x7, %eax, %xmm2, %xmm2
vmovdqa %xmm2, 0xdb0(%rsp)
vmovdqa %xmm0, 0xda0(%rsp)
vmovaps 0xda0(%rsp), %ymm0
movl 0x3c0(%rsp), %eax
negl %eax
movl 0x3ec(%rsp), %ecx
imull %ecx, %eax
movw %ax, 0x414(%rsp)
movw 0x414(%rsp), %ax
movw %ax, 0x34(%rsp)
movw %ax, 0xe1e(%rsp)
movw %ax, 0xe1c(%rsp)
movw %ax, 0xe1a(%rsp)
movw %ax, 0xe18(%rsp)
movw %ax, 0xe16(%rsp)
movw %ax, 0xe14(%rsp)
movw %ax, 0xe12(%rsp)
movw %ax, 0xe10(%rsp)
movw %ax, 0xe0e(%rsp)
movw %ax, 0xe0c(%rsp)
movw %ax, 0xe0a(%rsp)
movw %ax, 0xe08(%rsp)
movw %ax, 0xe06(%rsp)
movw %ax, 0xe04(%rsp)
movw %ax, 0xe02(%rsp)
movw %ax, 0xe00(%rsp)
movzwl 0xe00(%rsp), %eax
vmovd %eax, %xmm2
movzwl 0xe02(%rsp), %eax
vpinsrw $0x1, %eax, %xmm2, %xmm2
movzwl 0xe04(%rsp), %eax
vpinsrw $0x2, %eax, %xmm2, %xmm2
movzwl 0xe06(%rsp), %eax
vpinsrw $0x3, %eax, %xmm2, %xmm2
movzwl 0xe08(%rsp), %eax
vpinsrw $0x4, %eax, %xmm2, %xmm2
movzwl 0xe0a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm2, %xmm2
movzwl 0xe0c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm2, %xmm2
movzwl 0xe0e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm2, %xmm2
movzwl 0xe10(%rsp), %eax
vmovd %eax, %xmm3
movzwl 0xe12(%rsp), %eax
vpinsrw $0x1, %eax, %xmm3, %xmm3
movzwl 0xe14(%rsp), %eax
vpinsrw $0x2, %eax, %xmm3, %xmm3
movzwl 0xe16(%rsp), %eax
vpinsrw $0x3, %eax, %xmm3, %xmm3
movzwl 0xe18(%rsp), %eax
vpinsrw $0x4, %eax, %xmm3, %xmm3
movzwl 0xe1a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm3, %xmm3
movzwl 0xe1c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm3, %xmm3
movzwl 0xe1e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm3, %xmm3
vmovdqa %xmm3, 0xdf0(%rsp)
vmovdqa %xmm2, 0xde0(%rsp)
vmovaps 0xde0(%rsp), %ymm3
movl 0x3c0(%rsp), %eax
negl %eax
movl 0x3ec(%rsp), %ecx
imull %ecx, %eax
movw %ax, 0x412(%rsp)
movw 0x412(%rsp), %ax
movw %ax, 0x36(%rsp)
movw %ax, 0xe6e(%rsp)
movw %ax, 0xe6c(%rsp)
movw %ax, 0xe6a(%rsp)
movw %ax, 0xe68(%rsp)
movw %ax, 0xe66(%rsp)
movw %ax, 0xe64(%rsp)
movw %ax, 0xe62(%rsp)
movw %ax, 0xe60(%rsp)
movw %ax, 0xe5e(%rsp)
movw %ax, 0xe5c(%rsp)
movw %ax, 0xe5a(%rsp)
movw %ax, 0xe58(%rsp)
movw %ax, 0xe56(%rsp)
movw %ax, 0xe54(%rsp)
movw %ax, 0xe52(%rsp)
movw %ax, 0xe50(%rsp)
movzwl 0xe50(%rsp), %eax
vmovd %eax, %xmm2
movzwl 0xe52(%rsp), %eax
vpinsrw $0x1, %eax, %xmm2, %xmm2
movzwl 0xe54(%rsp), %eax
vpinsrw $0x2, %eax, %xmm2, %xmm2
movzwl 0xe56(%rsp), %eax
vpinsrw $0x3, %eax, %xmm2, %xmm2
movzwl 0xe58(%rsp), %eax
vpinsrw $0x4, %eax, %xmm2, %xmm2
movzwl 0xe5a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm2, %xmm2
movzwl 0xe5c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm2, %xmm2
movzwl 0xe5e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm2, %xmm2
movzwl 0xe60(%rsp), %eax
vmovd %eax, %xmm4
movzwl 0xe62(%rsp), %eax
vpinsrw $0x1, %eax, %xmm4, %xmm4
movzwl 0xe64(%rsp), %eax
vpinsrw $0x2, %eax, %xmm4, %xmm4
movzwl 0xe66(%rsp), %eax
vpinsrw $0x3, %eax, %xmm4, %xmm4
movzwl 0xe68(%rsp), %eax
vpinsrw $0x4, %eax, %xmm4, %xmm4
movzwl 0xe6a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm4, %xmm4
movzwl 0xe6c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm4, %xmm4
movzwl 0xe6e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm4, %xmm4
vmovdqa %xmm4, 0xe30(%rsp)
vmovdqa %xmm2, 0xe20(%rsp)
vperm2i128 $0x28, %ymm3, %ymm2, %ymm2 # ymm2 = zero,zero,ymm3[0,1]
vpalignr $0xe, %ymm2, %ymm0, %ymm0 # ymm0 = ymm2[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm2[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovdqa %ymm1, 0x5a0(%rsp)
vmovdqa %ymm0, 0x580(%rsp)
vmovdqa 0x5a0(%rsp), %ymm0
vmovdqa 0x580(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x220(%rsp)
movl 0x3c0(%rsp), %edi
imull 0x3c4(%rsp), %edi
movl 0x3f4(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x218(%rsp)
cmpq $0x0, 0x218(%rsp)
jne 0xad09f6
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
movq 0x218(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x10200401, %ecx       # imm = 0x10200401
movl %ecx, 0xc(%rax)
movq 0x218(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x3c0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x3a8(%rsp)
movl 0x3f4(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3630
movq %rax, 0x3a0(%rsp)
movslq 0x3c0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x398(%rsp)
movslq 0x3c0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x390(%rsp)
movslq 0x3c0(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x388(%rsp)
cmpq $0x0, 0x3a8(%rsp)
jne 0xad0ac1
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
cmpq $0x0, 0x3a0(%rsp)
jne 0xad0add
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
cmpq $0x0, 0x398(%rsp)
jne 0xad0af9
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
cmpq $0x0, 0x390(%rsp)
jne 0xad0b15
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
cmpq $0x0, 0x388(%rsp)
jne 0xad0b31
movq $0x0, 0x408(%rsp)
jmp 0xad1ae8
movl $0x0, 0x214(%rsp)
movl $0x0, 0x3e8(%rsp)
movl 0x3e8(%rsp), %eax
cmpl 0x3c0(%rsp), %eax
jge 0xad0d20
movl $0x0, 0x210(%rsp)
movl $0x0, 0x210(%rsp)
movl 0x210(%rsp), %eax
cmpl 0x3c4(%rsp), %eax
jge 0xad0c6d
xorl %eax, %eax
subl 0x3f0(%rsp), %eax
movl 0x3ec(%rsp), %ecx
movl 0x210(%rsp), %edx
imull 0x3c0(%rsp), %edx
addl 0x3e8(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x1b8(%rsp)
cmpq $-0x8000, 0x1b8(%rsp) # imm = 0x8000
jge 0xad0bd6
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x20(%rsp)
jmp 0xad0be3
movq 0x1b8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movw %ax, %cx
movslq 0x210(%rsp), %rax
movw %cx, 0x1e0(%rsp,%rax,2)
movq 0x1b8(%rsp), %rax
movslq 0x3f0(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x1b8(%rsp)
cmpq $-0x8000, 0x1b8(%rsp) # imm = 0x8000
jge 0xad0c32
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x18(%rsp)
jmp 0xad0c3f
movq 0x1b8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movw %ax, %cx
movslq 0x210(%rsp), %rax
movw %cx, 0x1c0(%rsp,%rax,2)
movl 0x210(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x210(%rsp)
jmp 0xad0b71
movq 0x390(%rsp), %rax
movslq 0x214(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1e0(%rsp), %ymm0
movq %rax, 0x738(%rsp)
vmovdqa %ymm0, 0x700(%rsp)
vmovdqa 0x700(%rsp), %ymm0
movq 0x738(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x3a8(%rsp), %rax
movslq 0x214(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1c0(%rsp), %ymm0
movq %rax, 0x6f8(%rsp)
vmovdqa %ymm0, 0x6c0(%rsp)
vmovdqa 0x6c0(%rsp), %ymm0
movq 0x6f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
movl 0x214(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x214(%rsp)
movl 0x3e8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e8(%rsp)
jmp 0xad0b47
movq 0x3a0(%rsp), %rax
movw $0x0, (%rax)
movl $0x1, 0x3e8(%rsp)
movl 0x3e8(%rsp), %eax
cmpl 0x3f4(%rsp), %eax
jg 0xad0dd0
xorl %eax, %eax
subl 0x3f0(%rsp), %eax
movl 0x3ec(%rsp), %ecx
movl 0x3e8(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
cltq
movq %rax, 0x1b0(%rsp)
cmpq $-0x8000, 0x1b0(%rsp) # imm = 0x8000
jge 0xad0d91
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x10(%rsp)
jmp 0xad0d9e
movq 0x1b0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movw %ax, %dx
movq 0x3a0(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
movw %dx, (%rax,%rcx,2)
movl 0x3e8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e8(%rsp)
jmp 0xad0d38
vmovdqa 0x300(%rsp), %ymm1
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm1, 0x8e0(%rsp)
vmovdqa %ymm0, 0x8c0(%rsp)
vmovdqa 0x8e0(%rsp), %ymm0
vmovdqa 0x8c0(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x3c0(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x3e8(%rsp)
cmpl $0x0, 0x3e8(%rsp)
jl 0xad0ed1
movq 0x388(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x180(%rsp), %ymm0
movq %rax, 0x6b8(%rsp)
vmovdqa %ymm0, 0x680(%rsp)
vmovdqa 0x680(%rsp), %ymm0
movq 0x6b8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x180(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x8a0(%rsp)
vmovdqa %ymm0, 0x880(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
vmovdqa 0x880(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x3e8(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x3e8(%rsp)
jmp 0xad0e24
movl $0x0, 0x3e4(%rsp)
movl 0x3e4(%rsp), %eax
cmpl 0x3f4(%rsp), %eax
jge 0xad186e
movq 0x390(%rsp), %rax
movl 0x3c0(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x938(%rsp)
movq 0x938(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0xe0(%rsp)
vmovaps 0xe0(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovaps %ymm0, 0xe0(%rsp)
vmovaps 0xe0(%rsp), %ymm0
movq 0x3a0(%rsp), %rax
movslq 0x3e4(%rsp), %rcx
movzwl (%rax,%rcx,2), %eax
vmovaps %xmm0, %xmm1
vpinsrw $0x0, %eax, %xmm1, %xmm2
vmovaps %xmm2, %xmm1
vblendps $0xf, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
vmovdqa %ymm0, 0xe0(%rsp)
movq 0x3b0(%rsp), %rax
movq 0x3c8(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x3f8(%rsp), %rdx
movslq 0x3e4(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x3c0(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xd8(%rsp)
vmovdqa 0x2c0(%rsp), %ymm1
movq 0x388(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0x860(%rsp)
vmovdqa %ymm0, 0x840(%rsp)
vmovdqa 0x860(%rsp), %ymm0
vmovdqa 0x840(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x2c0(%rsp), %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl $0x0, 0x3e8(%rsp)
movl 0x3e8(%rsp), %eax
cmpl 0x3c0(%rsp), %eax
jge 0xad133c
movq 0x390(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x930(%rsp)
movq 0x930(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movq 0x3a8(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x928(%rsp)
movq 0x928(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movq 0xd8(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x920(%rsp)
movq 0x920(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x820(%rsp)
vmovdqa %ymm0, 0x800(%rsp)
vmovdqa 0x820(%rsp), %ymm0
vmovdqa 0x800(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm1
vmovdqa 0x100(%rsp), %ymm2
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm2, 0x7e0(%rsp)
vmovdqa %ymm0, 0x7c0(%rsp)
vmovdqa 0x7e0(%rsp), %ymm0
vmovdqa 0x7c0(%rsp), %ymm2
vpsubsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xb60(%rsp)
vmovdqa %ymm0, 0xb40(%rsp)
vmovdqa 0xb60(%rsp), %ymm0
vmovdqa 0xb40(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm1, 0x560(%rsp)
vmovdqa %ymm0, 0x540(%rsp)
vmovdqa 0x560(%rsp), %ymm0
vmovdqa 0x540(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm2
movq 0x388(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm2, 0x520(%rsp)
vmovdqa %ymm0, 0x500(%rsp)
vmovdqa 0x520(%rsp), %ymm0
vmovdqa 0x500(%rsp), %ymm2
vpaddsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xb20(%rsp)
vmovdqa %ymm0, 0xb00(%rsp)
vmovdqa 0xb20(%rsp), %ymm0
vmovdqa 0xb00(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm1, 0xae0(%rsp)
vmovdqa %ymm0, 0xac0(%rsp)
vmovdqa 0xae0(%rsp), %ymm0
vmovdqa 0xac0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x140(%rsp)
movq 0x3a8(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x160(%rsp), %ymm0
movq %rax, 0x678(%rsp)
vmovdqa %ymm0, 0x640(%rsp)
vmovdqa 0x640(%rsp), %ymm0
movq 0x678(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x398(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x140(%rsp), %ymm0
movq %rax, 0x638(%rsp)
vmovdqa %ymm0, 0x600(%rsp)
vmovdqa 0x600(%rsp), %ymm0
movq 0x638(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
movl 0x3e8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e8(%rsp)
jmp 0xad1027
vmovaps 0x140(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovaps %ymm0, 0x140(%rsp)
vmovaps 0x140(%rsp), %ymm0
movq 0x3a0(%rsp), %rax
movslq 0x3e4(%rsp), %rcx
movzwl 0x2(%rax,%rcx,2), %eax
vmovaps %xmm0, %xmm1
vpinsrw $0x0, %eax, %xmm1, %xmm2
vmovaps %xmm2, %xmm1
vblendps $0xf, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm2
movq 0x388(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm2, 0x4e0(%rsp)
vmovdqa %ymm0, 0x4c0(%rsp)
vmovdqa 0x4e0(%rsp), %ymm0
vmovdqa 0x4c0(%rsp), %ymm2
vpaddsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xaa0(%rsp)
vmovdqa %ymm0, 0xa80(%rsp)
vmovdqa 0xaa0(%rsp), %ymm0
vmovdqa 0xa80(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl $0x0, 0x3e8(%rsp)
movl 0x3e8(%rsp), %eax
movl 0x3c4(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0xad14e9
vmovaps 0x120(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovdqa %ymm0, 0x80(%rsp)
vmovdqa 0x80(%rsp), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x4a0(%rsp)
vmovdqa %ymm0, 0x480(%rsp)
vmovdqa 0x4a0(%rsp), %ymm0
vmovdqa 0x480(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x80(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x80(%rsp), %ymm0
vmovdqa %ymm1, 0xa60(%rsp)
vmovdqa %ymm0, 0xa40(%rsp)
vmovdqa 0xa60(%rsp), %ymm0
vmovdqa 0xa40(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl 0x3e8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e8(%rsp)
jmp 0xad1416
vmovaps 0x120(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x240(%rsp), %ymm0
vmovdqa %ymm1, 0x460(%rsp)
vmovdqa %ymm0, 0x440(%rsp)
vmovdqa 0x460(%rsp), %ymm0
vmovdqa 0x440(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x140(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm1, 0xa20(%rsp)
vmovdqa %ymm0, 0xa00(%rsp)
vmovdqa 0xa20(%rsp), %ymm0
vmovdqa 0xa00(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movl $0x0, 0x3e8(%rsp)
movl 0x3e8(%rsp), %eax
cmpl 0x3c0(%rsp), %eax
jge 0xad17aa
movq 0x398(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x918(%rsp)
movq 0x918(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x140(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x7a0(%rsp)
vmovdqa %ymm0, 0x780(%rsp)
vmovdqa 0x7a0(%rsp), %ymm0
vmovdqa 0x780(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm1
vmovdqa 0x100(%rsp), %ymm2
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm2, 0x760(%rsp)
vmovdqa %ymm0, 0x740(%rsp)
vmovdqa 0x760(%rsp), %ymm0
vmovdqa 0x740(%rsp), %ymm2
vpsubsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0x9e0(%rsp)
vmovdqa %ymm0, 0x9c0(%rsp)
vmovdqa 0x9e0(%rsp), %ymm0
vmovdqa 0x9c0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x140(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm1, 0x9a0(%rsp)
vmovdqa %ymm0, 0x980(%rsp)
vmovdqa 0x9a0(%rsp), %ymm0
vmovdqa 0x980(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movq 0x390(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x100(%rsp), %ymm0
movq %rax, 0x5f8(%rsp)
vmovdqa %ymm0, 0x5c0(%rsp)
vmovdqa 0x5c0(%rsp), %ymm0
movq 0x5f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x280(%rsp), %ymm1
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm1, 0xba0(%rsp)
vmovdqa %ymm0, 0xb80(%rsp)
vmovdqa 0xba0(%rsp), %ymm0
vmovdqa 0xb80(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x280(%rsp)
vmovdqa 0x260(%rsp), %ymm1
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm1, 0x960(%rsp)
vmovdqa %ymm0, 0x940(%rsp)
vmovdqa 0x960(%rsp), %ymm0
vmovdqa 0x940(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x260(%rsp)
movl 0x3e8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e8(%rsp)
jmp 0xad1598
movq 0x390(%rsp), %rax
movslq 0x3bc(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x910(%rsp)
movq 0x910(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x100(%rsp)
movl $0x0, 0x3e0(%rsp)
movl 0x3e0(%rsp), %eax
cmpl 0x3b8(%rsp), %eax
jge 0xad182a
vmovaps 0x100(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovdqa %ymm0, 0x100(%rsp)
movl 0x3e0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e0(%rsp)
jmp 0xad17e9
vmovdqa 0x110(%rsp), %xmm0
vpextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq 0x218(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x3e4(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x3e4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e4(%rsp)
jmp 0xad0edc
movl $0x0, 0x3e8(%rsp)
movl 0x3e8(%rsp), %eax
cmpl 0x3c0(%rsp), %eax
jge 0xad18f6
movq 0x390(%rsp), %rax
movslq 0x3e8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x908(%rsp)
movq 0x908(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x60(%rsp)
movq 0x218(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0x60(%rsp), %ymm0
movl 0x3e8(%rsp), %esi
movl 0x3c0(%rsp), %edx
callq 0xad1b00
movl 0x3e8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e8(%rsp)
jmp 0xad1879
movq 0x390(%rsp), %rax
movslq 0x3bc(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x900(%rsp)
movq 0x900(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x40(%rsp)
movl $0x0, 0x3e0(%rsp)
movl 0x3e0(%rsp), %eax
cmpl 0x3b8(%rsp), %eax
jge 0xad196d
vmovaps 0x40(%rsp), %ymm0
vperm2i128 $0x28, %ymm0, %ymm1, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xe, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],ymm1[30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vmovdqa %ymm0, 0x40(%rsp)
movl 0x3e0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3e0(%rsp)
jmp 0xad1932
movw 0x5e(%rsp), %ax
movw %ax, 0x2fe(%rsp)
vmovaps 0x2c0(%rsp), %ymm1
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm1, 0xc80(%rsp)
vmovaps %ymm0, 0xc60(%rsp)
vmovaps 0xc80(%rsp), %ymm0
vmovaps 0xc60(%rsp), %ymm1
vpcmpgtw %ymm1, %ymm0, %ymm1
vmovaps 0x260(%rsp), %ymm2
vmovaps 0x2a0(%rsp), %ymm0
vmovaps %ymm2, 0xc40(%rsp)
vmovaps %ymm0, 0xc20(%rsp)
vmovaps 0xc40(%rsp), %ymm0
vmovaps 0xc20(%rsp), %ymm2
vpcmpgtw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xc00(%rsp)
vmovdqa %ymm0, 0xbe0(%rsp)
vmovdqa 0xc00(%rsp), %ymm0
vpor 0xbe0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xbc0(%rsp)
vmovdqa 0xbc0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xad1a5e
movq 0x218(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movw $0x0, 0x2fe(%rsp)
movl $0x0, 0x3d8(%rsp)
movl $0x0, 0x3d4(%rsp)
movswl 0x2fe(%rsp), %ecx
movq 0x218(%rsp), %rax
movl %ecx, (%rax)
movl 0x3d8(%rsp), %ecx
movq 0x218(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x3d4(%rsp), %ecx
movq 0x218(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x388(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x390(%rsp), %rdi
callq 0x1c3590
movq 0x398(%rsp), %rdi
callq 0x1c3590
movq 0x3a0(%rsp), %rdi
callq 0x1c3590
movq 0x3a8(%rsp), %rdi
callq 0x1c3590
movq 0x218(%rsp), %rax
movq %rax, 0x408(%rsp)
movq 0x408(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)