// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sg_scan_avx2_256_16.c
// Function: parasail_sg_flags_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,
        int s1_beg, int s1_end, int s2_beg, int s2_end)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t k = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int32_t s1Len = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
    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 vMaxH;
    __m256i vPosMask;
    __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;
    vMaxH = vNegLimit;
    vPosMask = _mm256_cmpeq_epi16(_mm256_set1_epi16(position),
            _mm256_set_epi16(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15));
    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_SG | PARASAIL_FLAG_SCAN
        | PARASAIL_FLAG_BITS_16 | PARASAIL_FLAG_LANES_16;
    result->flag |= s1_beg ? PARASAIL_FLAG_SG_S1_BEG : 0;
    result->flag |= s1_end ? PARASAIL_FLAG_SG_S1_END : 0;
    result->flag |= s2_beg ? PARASAIL_FLAG_SG_S2_BEG : 0;
    result->flag |= s2_end ? PARASAIL_FLAG_SG_S2_END : 0;
#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 = s1_beg ? 0 : (-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 = s2_beg ? 0 : (-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);
            /* long queries and/or large penalties will break the pseudo prefix scan */
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vGapper);
        }
    }

    /* 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);
            vSaturationCheckMin = _mm256_min_epi16(vSaturationCheckMin, vF);
            vSaturationCheckMax = _mm256_max_epi16(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
            arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
        } 

        /* extract vector containing last value from column */
        {
            __m256i vCompare;
            vH = _mm256_load_si256(pvH + offset);
            vCompare = _mm256_and_si256(vPosMask, _mm256_cmpgt_epi16(vH, vMaxH));
            vMaxH = _mm256_max_epi16(vH, vMaxH);
            if (_mm256_movemask_epi8(vCompare)) {
                end_ref = j;
            }
#ifdef PARASAIL_ROWCOL
            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

    /* max last value from all columns */
    if (s2_end)
    {
        for (k=0; k<position; ++k) {
            vMaxH = _mm256_slli_si256_rpl(vMaxH, 2);
        }
        score = (int16_t) _mm256_extract_epi16_rpl(vMaxH, 15);
        end_query = s1Len-1;
    }

    /* max of last column */
    if (s1_end)
    {
        /* Trace the alignment ending position on read. */
        int16_t *t = (int16_t*)pvH;
        int32_t column_len = segLen * segWidth;
        for (i = 0; i<column_len; ++i, ++t) {
            int32_t temp = i / segWidth + i % segWidth * segLen;
            if (temp >= s1Len) continue;
            if (*t > score) {
                score = *t;
                end_query = temp;
                end_ref = s2Len-1;
            }
            else if (*t == score && end_ref == s2Len-1 && temp < end_query) {
                end_query = temp;
            }
        }
    }

    if (!s1_end && !s2_end) {
        /* 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);
            end_ref = s2Len - 1;
            end_query = s1Len - 1;
        }
    }

    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 $0x1120, %rsp           # imm = 0x1120
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, 0x480(%rsp)
movq %rsi, 0x478(%rsp)
movl %edx, 0x474(%rsp)
movl %ecx, 0x470(%rsp)
movl %r8d, 0x46c(%rsp)
movl %r9d, 0x468(%rsp)
movl $0x0, 0x464(%rsp)
movl $0x0, 0x460(%rsp)
movl $0x0, 0x45c(%rsp)
movl $0x0, 0x458(%rsp)
movl $0x0, 0x454(%rsp)
movl $0x0, 0x450(%rsp)
movq $0x0, 0x448(%rsp)
movl $0x0, 0x444(%rsp)
movl $0x0, 0x440(%rsp)
movl $0x0, 0x43c(%rsp)
movl $0x0, 0x438(%rsp)
movq $0x0, 0x430(%rsp)
movq $0x0, 0x428(%rsp)
movq $0x0, 0x420(%rsp)
movq $0x0, 0x418(%rsp)
movq $0x0, 0x410(%rsp)
movq $0x0, 0x408(%rsp)
movw $0x0, 0x3be(%rsp)
movw $0x0, 0x3bc(%rsp)
movw $0x0, 0x37e(%rsp)
movq $0x0, 0x258(%rsp)
cmpq $0x0, 0x480(%rsp)
jne 0xad2184
movq 0x354e84(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x219e8d(%rip), %rsi    # 0xcebfeb
leaq 0x21ef3d(%rip), %rdx    # 0xcf10a2
leaq 0x1f0371(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad2186
jmp 0xad2188
movq 0x480(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0xad21ce
movq 0x354e3a(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x219e43(%rip), %rsi    # 0xcebfeb
leaq 0x21eef3(%rip), %rdx    # 0xcf10a2
leaq 0x21a83a(%rip), %rcx    # 0xcec9f0
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad21d0
jmp 0xad21d2
movq 0x480(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xad2218
movq 0x354df0(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x219df9(%rip), %rsi    # 0xcebfeb
leaq 0x21eea9(%rip), %rdx    # 0xcf10a2
leaq 0x21a71c(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad221a
jmp 0xad221c
movq 0x480(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xad2261
movq 0x354da7(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21a4c6(%rip), %rsi    # 0xcec701
leaq 0x21ee60(%rip), %rdx    # 0xcf10a2
leaq 0x21a6e3(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad2263
jmp 0xad2265
cmpq $0x0, 0x478(%rsp)
jne 0xad22a7
movq 0x354d61(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x219d6a(%rip), %rsi    # 0xcebfeb
leaq 0x21ee1a(%rip), %rdx    # 0xcf10a2
leaq 0x21a46f(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad22a9
jmp 0xad22ab
cmpl $0x0, 0x474(%rsp)
jg 0xad22ec
movq 0x354d1c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21a43b(%rip), %rsi    # 0xcec701
leaq 0x21edd5(%rip), %rdx    # 0xcf10a2
leaq 0x21a441(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad22ee
jmp 0xad22f0
cmpl $0x0, 0x470(%rsp)
jge 0xad2331
movq 0x354cd7(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21a410(%rip), %rsi    # 0xcec71b
leaq 0x21ed90(%rip), %rdx    # 0xcf10a2
leaq 0x21a417(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad2333
jmp 0xad2335
cmpl $0x0, 0x46c(%rsp)
jge 0xad2376
movq 0x354c92(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x21a3cb(%rip), %rsi    # 0xcec71b
leaq 0x21ed4b(%rip), %rdx    # 0xcf10a2
leaq 0x21a3d7(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
jmp 0xad2378
movl $0x0, 0x464(%rsp)
movl $0x0, 0x460(%rsp)
movl $0x0, 0x45c(%rsp)
movq 0x480(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x450(%rsp)
movl 0x450(%rsp), %eax
decl %eax
movl %eax, 0x458(%rsp)
movl 0x474(%rsp), %eax
decl %eax
movl %eax, 0x454(%rsp)
movq 0x480(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x448(%rsp)
movl $0x10, 0x444(%rsp)
movl 0x450(%rsp), %esi
movl 0x444(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x440(%rsp)
movl 0x450(%rsp), %eax
decl %eax
movl 0x440(%rsp), %ecx
cltd
idivl %ecx
movl %edx, 0x43c(%rsp)
movl 0x444(%rsp), %ecx
movl 0x450(%rsp), %eax
decl %eax
movl 0x440(%rsp), %esi
cltd
idivl %esi
notl %eax
addl %ecx, %eax
movl %eax, 0x438(%rsp)
movq 0x480(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, 0x430(%rsp)
movw 0x470(%rsp), %ax
movw %ax, 0x49e(%rsp)
movw 0x49e(%rsp), %ax
movw %ax, 0x3c(%rsp)
movw %ax, 0x53e(%rsp)
movw %ax, 0x53c(%rsp)
movw %ax, 0x53a(%rsp)
movw %ax, 0x538(%rsp)
movw %ax, 0x536(%rsp)
movw %ax, 0x534(%rsp)
movw %ax, 0x532(%rsp)
movw %ax, 0x530(%rsp)
movw %ax, 0x52e(%rsp)
movw %ax, 0x52c(%rsp)
movw %ax, 0x52a(%rsp)
movw %ax, 0x528(%rsp)
movw %ax, 0x526(%rsp)
movw %ax, 0x524(%rsp)
movw %ax, 0x522(%rsp)
movw %ax, 0x520(%rsp)
movzwl 0x520(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x522(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x524(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x526(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x528(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x52a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x52c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x52e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x530(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x532(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x534(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x536(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x538(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x53a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x53c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x53e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x510(%rsp)
vmovdqa %xmm0, 0x500(%rsp)
vmovaps 0x500(%rsp), %ymm0
vmovaps %ymm0, 0x3e0(%rsp)
movw 0x46c(%rsp), %ax
movw %ax, 0x49c(%rsp)
movw 0x49c(%rsp), %ax
movw %ax, 0x3e(%rsp)
movw %ax, 0x57e(%rsp)
movw %ax, 0x57c(%rsp)
movw %ax, 0x57a(%rsp)
movw %ax, 0x578(%rsp)
movw %ax, 0x576(%rsp)
movw %ax, 0x574(%rsp)
movw %ax, 0x572(%rsp)
movw %ax, 0x570(%rsp)
movw %ax, 0x56e(%rsp)
movw %ax, 0x56c(%rsp)
movw %ax, 0x56a(%rsp)
movw %ax, 0x568(%rsp)
movw %ax, 0x566(%rsp)
movw %ax, 0x564(%rsp)
movw %ax, 0x562(%rsp)
movw %ax, 0x560(%rsp)
movzwl 0x570(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x572(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x574(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x576(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x578(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x57a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x57c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x57e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm1
movzwl 0x560(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x562(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x564(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x566(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x568(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x56a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x56c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x56e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x540(%rsp)
vmovdqa 0x540(%rsp), %ymm0
vmovdqa %ymm0, 0x3c0(%rsp)
xorl %eax, %eax
subl 0x470(%rsp), %eax
movq 0x448(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xad27a4
movl 0x470(%rsp), %eax
addl $0xffff8000, %eax       # imm = 0xFFFF8000
movl %eax, 0x38(%rsp)
jmp 0xad27b8
movq 0x448(%rsp), %rcx
movl $0xffff8000, %eax       # imm = 0xFFFF8000
subl 0x20(%rcx), %eax
movl %eax, 0x38(%rsp)
movl 0x38(%rsp), %eax
incl %eax
movw %ax, 0x3be(%rsp)
movq 0x448(%rsp), %rax
movl 0x1c(%rax), %eax
xorl $0x7fff, %eax           # imm = 0x7FFF
decl %eax
movw %ax, 0x3bc(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %ymm0, 0x4a0(%rsp)
vmovaps 0x4a0(%rsp), %ymm0
vmovaps %ymm0, 0x380(%rsp)
movw 0x3be(%rsp), %ax
movw %ax, 0x37e(%rsp)
movw 0x3be(%rsp), %ax
movw %ax, 0x49a(%rsp)
movw 0x49a(%rsp), %ax
movw %ax, 0x2c(%rsp)
movw %ax, 0x5be(%rsp)
movw %ax, 0x5bc(%rsp)
movw %ax, 0x5ba(%rsp)
movw %ax, 0x5b8(%rsp)
movw %ax, 0x5b6(%rsp)
movw %ax, 0x5b4(%rsp)
movw %ax, 0x5b2(%rsp)
movw %ax, 0x5b0(%rsp)
movw %ax, 0x5ae(%rsp)
movw %ax, 0x5ac(%rsp)
movw %ax, 0x5aa(%rsp)
movw %ax, 0x5a8(%rsp)
movw %ax, 0x5a6(%rsp)
movw %ax, 0x5a4(%rsp)
movw %ax, 0x5a2(%rsp)
movw %ax, 0x5a0(%rsp)
movzwl 0x5a0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x5a2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x5a4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x5a6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x5a8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x5aa(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x5ac(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x5ae(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x5b0(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x5b2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x5b4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x5b6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x5b8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x5ba(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x5bc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x5be(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x590(%rsp)
vmovdqa %xmm0, 0x580(%rsp)
vmovaps 0x580(%rsp), %ymm0
vmovaps %ymm0, 0x340(%rsp)
movw 0x3bc(%rsp), %ax
movw %ax, 0x498(%rsp)
movw 0x498(%rsp), %ax
movw %ax, 0x2e(%rsp)
movw %ax, 0x5fe(%rsp)
movw %ax, 0x5fc(%rsp)
movw %ax, 0x5fa(%rsp)
movw %ax, 0x5f8(%rsp)
movw %ax, 0x5f6(%rsp)
movw %ax, 0x5f4(%rsp)
movw %ax, 0x5f2(%rsp)
movw %ax, 0x5f0(%rsp)
movw %ax, 0x5ee(%rsp)
movw %ax, 0x5ec(%rsp)
movw %ax, 0x5ea(%rsp)
movw %ax, 0x5e8(%rsp)
movw %ax, 0x5e6(%rsp)
movw %ax, 0x5e4(%rsp)
movw %ax, 0x5e2(%rsp)
movw %ax, 0x5e0(%rsp)
movzwl 0x5e0(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x5e2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x5e4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x5e6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x5e8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x5ea(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x5ec(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x5ee(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x5f0(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x5f2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x5f4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x5f6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x5f8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x5fa(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x5fc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x5fe(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x5d0(%rsp)
vmovdqa %xmm0, 0x5c0(%rsp)
vmovaps 0x5c0(%rsp), %ymm0
vmovaps %ymm0, 0x320(%rsp)
vmovaps 0x320(%rsp), %ymm0
vmovaps %ymm0, 0x300(%rsp)
vmovaps 0x340(%rsp), %ymm0
vmovaps %ymm0, 0x2e0(%rsp)
vmovaps 0x340(%rsp), %ymm0
vmovaps %ymm0, 0x2c0(%rsp)
movw 0x438(%rsp), %ax
movw %ax, 0x496(%rsp)
movw 0x496(%rsp), %ax
movw %ax, 0x30(%rsp)
movw %ax, 0x63e(%rsp)
movw %ax, 0x63c(%rsp)
movw %ax, 0x63a(%rsp)
movw %ax, 0x638(%rsp)
movw %ax, 0x636(%rsp)
movw %ax, 0x634(%rsp)
movw %ax, 0x632(%rsp)
movw %ax, 0x630(%rsp)
movw %ax, 0x62e(%rsp)
movw %ax, 0x62c(%rsp)
movw %ax, 0x62a(%rsp)
movw %ax, 0x628(%rsp)
movw %ax, 0x626(%rsp)
movw %ax, 0x624(%rsp)
movw %ax, 0x622(%rsp)
movw %ax, 0x620(%rsp)
movzwl 0x620(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x622(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x624(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x626(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x628(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x62a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x62c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x62e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x630(%rsp), %eax
vmovd %eax, %xmm1
movzwl 0x632(%rsp), %eax
vpinsrw $0x1, %eax, %xmm1, %xmm1
movzwl 0x634(%rsp), %eax
vpinsrw $0x2, %eax, %xmm1, %xmm1
movzwl 0x636(%rsp), %eax
vpinsrw $0x3, %eax, %xmm1, %xmm1
movzwl 0x638(%rsp), %eax
vpinsrw $0x4, %eax, %xmm1, %xmm1
movzwl 0x63a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm1, %xmm1
movzwl 0x63c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm1, %xmm1
movzwl 0x63e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm1, %xmm1
vmovdqa %xmm1, 0x610(%rsp)
vmovdqa %xmm0, 0x600(%rsp)
vmovaps 0x600(%rsp), %ymm1
movw $0x0, 0x73e(%rsp)
movw $0x1, 0x73c(%rsp)
movw $0x2, 0x73a(%rsp)
movw $0x3, 0x738(%rsp)
movw $0x4, 0x736(%rsp)
movw $0x5, 0x734(%rsp)
movw $0x6, 0x732(%rsp)
movw $0x7, 0x730(%rsp)
movw $0x8, 0x72e(%rsp)
movw $0x9, 0x72c(%rsp)
movw $0xa, 0x72a(%rsp)
movw $0xb, 0x728(%rsp)
movw $0xc, 0x726(%rsp)
movw $0xd, 0x724(%rsp)
movw $0xe, 0x722(%rsp)
movw $0xf, 0x720(%rsp)
movzwl 0x720(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x722(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x724(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x726(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x728(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x72a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x72c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x72e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x730(%rsp), %eax
vmovd %eax, %xmm2
movzwl 0x732(%rsp), %eax
vpinsrw $0x1, %eax, %xmm2, %xmm2
movzwl 0x734(%rsp), %eax
vpinsrw $0x2, %eax, %xmm2, %xmm2
movzwl 0x736(%rsp), %eax
vpinsrw $0x3, %eax, %xmm2, %xmm2
movzwl 0x738(%rsp), %eax
vpinsrw $0x4, %eax, %xmm2, %xmm2
movzwl 0x73a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm2, %xmm2
movzwl 0x73c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm2, %xmm2
movzwl 0x73e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm2, %xmm2
vmovdqa %xmm2, 0x710(%rsp)
vmovdqa %xmm0, 0x700(%rsp)
vmovaps 0x700(%rsp), %ymm0
vmovaps %ymm1, 0x4e0(%rsp)
vmovaps %ymm0, 0x4c0(%rsp)
vmovaps 0x4e0(%rsp), %ymm0
vmovaps 0x4c0(%rsp), %ymm1
vpcmpeqw %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x2a0(%rsp)
vmovaps 0x380(%rsp), %ymm0
vmovaps %ymm0, 0x280(%rsp)
movw 0x3be(%rsp), %ax
movw %ax, 0x280(%rsp)
vmovaps 0x280(%rsp), %ymm1
movl 0x440(%rsp), %eax
negl %eax
movl 0x46c(%rsp), %ecx
imull %ecx, %eax
movw %ax, 0x494(%rsp)
movw 0x494(%rsp), %ax
movw %ax, 0x32(%rsp)
movw %ax, 0x67e(%rsp)
movw %ax, 0x67c(%rsp)
movw %ax, 0x67a(%rsp)
movw %ax, 0x678(%rsp)
movw %ax, 0x676(%rsp)
movw %ax, 0x674(%rsp)
movw %ax, 0x672(%rsp)
movw %ax, 0x670(%rsp)
movw %ax, 0x66e(%rsp)
movw %ax, 0x66c(%rsp)
movw %ax, 0x66a(%rsp)
movw %ax, 0x668(%rsp)
movw %ax, 0x666(%rsp)
movw %ax, 0x664(%rsp)
movw %ax, 0x662(%rsp)
movw %ax, 0x660(%rsp)
movzwl 0x660(%rsp), %eax
vmovd %eax, %xmm0
movzwl 0x662(%rsp), %eax
vpinsrw $0x1, %eax, %xmm0, %xmm0
movzwl 0x664(%rsp), %eax
vpinsrw $0x2, %eax, %xmm0, %xmm0
movzwl 0x666(%rsp), %eax
vpinsrw $0x3, %eax, %xmm0, %xmm0
movzwl 0x668(%rsp), %eax
vpinsrw $0x4, %eax, %xmm0, %xmm0
movzwl 0x66a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm0, %xmm0
movzwl 0x66c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm0, %xmm0
movzwl 0x66e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm0, %xmm0
movzwl 0x670(%rsp), %eax
vmovd %eax, %xmm2
movzwl 0x672(%rsp), %eax
vpinsrw $0x1, %eax, %xmm2, %xmm2
movzwl 0x674(%rsp), %eax
vpinsrw $0x2, %eax, %xmm2, %xmm2
movzwl 0x676(%rsp), %eax
vpinsrw $0x3, %eax, %xmm2, %xmm2
movzwl 0x678(%rsp), %eax
vpinsrw $0x4, %eax, %xmm2, %xmm2
movzwl 0x67a(%rsp), %eax
vpinsrw $0x5, %eax, %xmm2, %xmm2
movzwl 0x67c(%rsp), %eax
vpinsrw $0x6, %eax, %xmm2, %xmm2
movzwl 0x67e(%rsp), %eax
vpinsrw $0x7, %eax, %xmm2, %xmm2
vmovdqa %xmm2, 0x650(%rsp)
vmovdqa %xmm0, 0x640(%rsp)
vmovaps 0x640(%rsp), %ymm0
movl 0x440(%rsp), %eax
negl %eax
movl 0x46c(%rsp), %ecx
imull %ecx, %eax
movw %ax, 0x492(%rsp)
movw 0x492(%rsp), %ax
movw %ax, 0x34(%rsp)
movw %ax, 0x6be(%rsp)
movw %ax, 0x6bc(%rsp)
movw %ax, 0x6ba(%rsp)
movw %ax, 0x6b8(%rsp)
movw %ax, 0x6b6(%rsp)
movw %ax, 0x6b4(%rsp)
movw %ax, 0x6b2(%rsp)
movw %ax, 0x6b0(%rsp)
movw %ax, 0x6ae(%rsp)
movw %ax, 0x6ac(%rsp)
movw %ax, 0x6aa(%rsp)
movw %ax, 0x6a8(%rsp)
movw %ax, 0x6a6(%rsp)
movw %ax, 0x6a4(%rsp)
movw %ax, 0x6a2(%rsp)
movw %ax, 0x6a0(%rsp)
movzwl 0x6a0(%rsp), %eax
vmovd %eax, %xmm2
movzwl 0x6a2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm2, %xmm2
movzwl 0x6a4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm2, %xmm2
movzwl 0x6a6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm2, %xmm2
movzwl 0x6a8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm2, %xmm2
movzwl 0x6aa(%rsp), %eax
vpinsrw $0x5, %eax, %xmm2, %xmm2
movzwl 0x6ac(%rsp), %eax
vpinsrw $0x6, %eax, %xmm2, %xmm2
movzwl 0x6ae(%rsp), %eax
vpinsrw $0x7, %eax, %xmm2, %xmm2
movzwl 0x6b0(%rsp), %eax
vmovd %eax, %xmm3
movzwl 0x6b2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm3, %xmm3
movzwl 0x6b4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm3, %xmm3
movzwl 0x6b6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm3, %xmm3
movzwl 0x6b8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm3, %xmm3
movzwl 0x6ba(%rsp), %eax
vpinsrw $0x5, %eax, %xmm3, %xmm3
movzwl 0x6bc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm3, %xmm3
movzwl 0x6be(%rsp), %eax
vpinsrw $0x7, %eax, %xmm3, %xmm3
vmovdqa %xmm3, 0x690(%rsp)
vmovdqa %xmm2, 0x680(%rsp)
vmovaps 0x680(%rsp), %ymm3
movl 0x440(%rsp), %eax
negl %eax
movl 0x46c(%rsp), %ecx
imull %ecx, %eax
movw %ax, 0x490(%rsp)
movw 0x490(%rsp), %ax
movw %ax, 0x36(%rsp)
movw %ax, 0x6fe(%rsp)
movw %ax, 0x6fc(%rsp)
movw %ax, 0x6fa(%rsp)
movw %ax, 0x6f8(%rsp)
movw %ax, 0x6f6(%rsp)
movw %ax, 0x6f4(%rsp)
movw %ax, 0x6f2(%rsp)
movw %ax, 0x6f0(%rsp)
movw %ax, 0x6ee(%rsp)
movw %ax, 0x6ec(%rsp)
movw %ax, 0x6ea(%rsp)
movw %ax, 0x6e8(%rsp)
movw %ax, 0x6e6(%rsp)
movw %ax, 0x6e4(%rsp)
movw %ax, 0x6e2(%rsp)
movw %ax, 0x6e0(%rsp)
movzwl 0x6e0(%rsp), %eax
vmovd %eax, %xmm2
movzwl 0x6e2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm2, %xmm2
movzwl 0x6e4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm2, %xmm2
movzwl 0x6e6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm2, %xmm2
movzwl 0x6e8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm2, %xmm2
movzwl 0x6ea(%rsp), %eax
vpinsrw $0x5, %eax, %xmm2, %xmm2
movzwl 0x6ec(%rsp), %eax
vpinsrw $0x6, %eax, %xmm2, %xmm2
movzwl 0x6ee(%rsp), %eax
vpinsrw $0x7, %eax, %xmm2, %xmm2
movzwl 0x6f0(%rsp), %eax
vmovd %eax, %xmm4
movzwl 0x6f2(%rsp), %eax
vpinsrw $0x1, %eax, %xmm4, %xmm4
movzwl 0x6f4(%rsp), %eax
vpinsrw $0x2, %eax, %xmm4, %xmm4
movzwl 0x6f6(%rsp), %eax
vpinsrw $0x3, %eax, %xmm4, %xmm4
movzwl 0x6f8(%rsp), %eax
vpinsrw $0x4, %eax, %xmm4, %xmm4
movzwl 0x6fa(%rsp), %eax
vpinsrw $0x5, %eax, %xmm4, %xmm4
movzwl 0x6fc(%rsp), %eax
vpinsrw $0x6, %eax, %xmm4, %xmm4
movzwl 0x6fe(%rsp), %eax
vpinsrw $0x7, %eax, %xmm4, %xmm4
vmovdqa %xmm4, 0x6d0(%rsp)
vmovdqa %xmm2, 0x6c0(%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, 0x8a0(%rsp)
vmovdqa %ymm0, 0x880(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
vmovdqa 0x880(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x260(%rsp)
movl 0x440(%rsp), %edi
imull 0x444(%rsp), %edi
movl 0x474(%rsp), %esi
vzeroupper
callq 0x1c3af0
movq %rax, 0x258(%rsp)
cmpq $0x0, 0x258(%rsp)
jne 0xad33f7
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
movq 0x258(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x10200402, %ecx       # imm = 0x10200402
movl %ecx, 0xc(%rax)
movl 0x468(%rsp), %edx
xorl %ecx, %ecx
movl $0x8, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x10(%rbp), %edx
xorl %ecx, %ecx
movl $0x10, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x18(%rbp), %edx
xorl %ecx, %ecx
movl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x20(%rbp), %edx
xorl %ecx, %ecx
movl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq 0x258(%rsp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movq 0x258(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq 0x440(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x428(%rsp)
movl 0x474(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3630
movq %rax, 0x420(%rsp)
movslq 0x440(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x418(%rsp)
movslq 0x440(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x410(%rsp)
movslq 0x440(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x408(%rsp)
cmpq $0x0, 0x428(%rsp)
jne 0xad353e
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
cmpq $0x0, 0x420(%rsp)
jne 0xad355a
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
cmpq $0x0, 0x418(%rsp)
jne 0xad3576
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
cmpq $0x0, 0x410(%rsp)
jne 0xad3592
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
cmpq $0x0, 0x408(%rsp)
jne 0xad35ae
movq $0x0, 0x488(%rsp)
jmp 0xad48fd
movl $0x0, 0x254(%rsp)
movl $0x0, 0x464(%rsp)
movl 0x464(%rsp), %eax
cmpl 0x440(%rsp), %eax
jge 0xad37b7
movl $0x0, 0x250(%rsp)
movl $0x0, 0x250(%rsp)
movl 0x250(%rsp), %eax
cmpl 0x444(%rsp), %eax
jge 0xad3704
cmpl $0x0, 0x468(%rsp)
je 0xad3614
xorl %eax, %eax
movl %eax, 0x28(%rsp)
jmp 0xad3643
xorl %eax, %eax
subl 0x470(%rsp), %eax
movl 0x46c(%rsp), %ecx
movl 0x250(%rsp), %edx
imull 0x440(%rsp), %edx
addl 0x464(%rsp), %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, 0x28(%rsp)
movl 0x28(%rsp), %eax
cltq
movq %rax, 0x1f8(%rsp)
cmpq $-0x8000, 0x1f8(%rsp) # imm = 0x8000
jge 0xad366d
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x20(%rsp)
jmp 0xad367a
movq 0x1f8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movw %ax, %cx
movslq 0x250(%rsp), %rax
movw %cx, 0x220(%rsp,%rax,2)
movq 0x1f8(%rsp), %rax
movslq 0x470(%rsp), %rcx
subq %rcx, %rax
movq %rax, 0x1f8(%rsp)
cmpq $-0x8000, 0x1f8(%rsp) # imm = 0x8000
jge 0xad36c9
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x18(%rsp)
jmp 0xad36d6
movq 0x1f8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movw %ax, %cx
movslq 0x250(%rsp), %rax
movw %cx, 0x200(%rsp,%rax,2)
movl 0x250(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x250(%rsp)
jmp 0xad35ee
movq 0x410(%rsp), %rax
movslq 0x254(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x220(%rsp), %ymm0
movq %rax, 0xa38(%rsp)
vmovdqa %ymm0, 0xa00(%rsp)
vmovdqa 0xa00(%rsp), %ymm0
movq 0xa38(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x428(%rsp), %rax
movslq 0x254(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x200(%rsp), %ymm0
movq %rax, 0x9f8(%rsp)
vmovdqa %ymm0, 0x9c0(%rsp)
vmovdqa 0x9c0(%rsp), %ymm0
movq 0x9f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
movl 0x254(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x254(%rsp)
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xad35c4
movq 0x420(%rsp), %rax
movw $0x0, (%rax)
movl $0x1, 0x464(%rsp)
movl 0x464(%rsp), %eax
cmpl 0x474(%rsp), %eax
jg 0xad387d
cmpl $0x0, 0x18(%rbp)
je 0xad37f1
xorl %eax, %eax
movl %eax, 0x14(%rsp)
jmp 0xad3814
xorl %eax, %eax
subl 0x470(%rsp), %eax
movl 0x46c(%rsp), %ecx
movl 0x464(%rsp), %edx
subl $0x1, %edx
imull %edx, %ecx
subl %ecx, %eax
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
cltq
movq %rax, 0x1f0(%rsp)
cmpq $-0x8000, 0x1f0(%rsp) # imm = 0x8000
jge 0xad383e
movq $-0x8000, %rax          # imm = 0x8000
movq %rax, 0x8(%rsp)
jmp 0xad384b
movq 0x1f0(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movw %ax, %dx
movq 0x420(%rsp), %rax
movslq 0x464(%rsp), %rcx
movw %dx, (%rax,%rcx,2)
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xad37cf
vmovdqa 0x380(%rsp), %ymm1
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm1, 0xbe0(%rsp)
vmovdqa %ymm0, 0xbc0(%rsp)
vmovdqa 0xbe0(%rsp), %ymm0
vmovdqa 0xbc0(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
movl 0x440(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x464(%rsp)
cmpl $0x0, 0x464(%rsp)
jl 0xad39c1
movq 0x408(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1c0(%rsp), %ymm0
movq %rax, 0x9b8(%rsp)
vmovdqa %ymm0, 0x980(%rsp)
vmovdqa 0x980(%rsp), %ymm0
movq 0x9b8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x1c0(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0xba0(%rsp)
vmovdqa %ymm0, 0xb80(%rsp)
vmovdqa 0xba0(%rsp), %ymm0
vmovdqa 0xb80(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
vmovdqa 0x300(%rsp), %ymm1
vmovdqa 0x1c0(%rsp), %ymm0
vmovdqa %ymm1, 0xca0(%rsp)
vmovdqa %ymm0, 0xc80(%rsp)
vmovdqa 0xca0(%rsp), %ymm0
vmovdqa 0xc80(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x300(%rsp)
movl 0x464(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xad38d1
movl $0x0, 0x460(%rsp)
movl 0x460(%rsp), %eax
cmpl 0x474(%rsp), %eax
jge 0xad4486
movq 0x410(%rsp), %rax
movl 0x440(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xcf8(%rsp)
movq 0xcf8(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x120(%rsp)
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]
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x120(%rsp), %ymm0
movq 0x420(%rsp), %rax
movslq 0x460(%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, 0x120(%rsp)
movq 0x430(%rsp), %rax
movq 0x448(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x478(%rsp), %rdx
movslq 0x460(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x440(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x118(%rsp)
vmovdqa 0x340(%rsp), %ymm1
movq 0x408(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm1, 0xb60(%rsp)
vmovdqa %ymm0, 0xb40(%rsp)
vmovdqa 0xb60(%rsp), %ymm0
vmovdqa 0xb40(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movl $0x0, 0x464(%rsp)
movl 0x464(%rsp), %eax
cmpl 0x440(%rsp), %eax
jge 0xad3e2c
movq 0x410(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xcf0(%rsp)
movq 0xcf0(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x140(%rsp)
movq 0x428(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xce8(%rsp)
movq 0xce8(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
movq 0x118(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xce0(%rsp)
movq 0xce0(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0xb20(%rsp)
vmovdqa %ymm0, 0xb00(%rsp)
vmovdqa 0xb20(%rsp), %ymm0
vmovdqa 0xb00(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm1
vmovdqa 0x140(%rsp), %ymm2
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm2, 0xae0(%rsp)
vmovdqa %ymm0, 0xac0(%rsp)
vmovdqa 0xae0(%rsp), %ymm0
vmovdqa 0xac0(%rsp), %ymm2
vpsubsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xf60(%rsp)
vmovdqa %ymm0, 0xf40(%rsp)
vmovdqa 0xf60(%rsp), %ymm0
vmovdqa 0xf40(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x120(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm1, 0x860(%rsp)
vmovdqa %ymm0, 0x840(%rsp)
vmovdqa 0x860(%rsp), %ymm0
vmovdqa 0x840(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x180(%rsp), %ymm2
movq 0x408(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm2, 0x820(%rsp)
vmovdqa %ymm0, 0x800(%rsp)
vmovdqa 0x820(%rsp), %ymm0
vmovdqa 0x800(%rsp), %ymm2
vpaddsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xf20(%rsp)
vmovdqa %ymm0, 0xf00(%rsp)
vmovdqa 0xf20(%rsp), %ymm0
vmovdqa 0xf00(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0x1a0(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm1, 0xee0(%rsp)
vmovdqa %ymm0, 0xec0(%rsp)
vmovdqa 0xee0(%rsp), %ymm0
vmovdqa 0xec0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movq 0x428(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1a0(%rsp), %ymm0
movq %rax, 0x978(%rsp)
vmovdqa %ymm0, 0x940(%rsp)
vmovdqa 0x940(%rsp), %ymm0
movq 0x978(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x418(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x180(%rsp), %ymm0
movq %rax, 0x938(%rsp)
vmovdqa %ymm0, 0x900(%rsp)
vmovdqa 0x900(%rsp), %ymm0
movq 0x938(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x140(%rsp), %ymm0
vmovdqa %ymm0, 0x120(%rsp)
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xad3b17
vmovaps 0x180(%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, 0x180(%rsp)
vmovaps 0x180(%rsp), %ymm0
movq 0x420(%rsp), %rax
movslq 0x460(%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, 0x180(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x180(%rsp), %ymm2
movq 0x408(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm2, 0x7e0(%rsp)
vmovdqa %ymm0, 0x7c0(%rsp)
vmovdqa 0x7e0(%rsp), %ymm0
vmovdqa 0x7c0(%rsp), %ymm2
vpaddsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xea0(%rsp)
vmovdqa %ymm0, 0xe80(%rsp)
vmovdqa 0xea0(%rsp), %ymm0
vmovdqa 0xe80(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movl $0x0, 0x464(%rsp)
movl 0x464(%rsp), %eax
movl 0x444(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0xad3fd9
vmovaps 0x160(%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, 0xc0(%rsp)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0x260(%rsp), %ymm0
vmovdqa %ymm1, 0x7a0(%rsp)
vmovdqa %ymm0, 0x780(%rsp)
vmovdqa 0x7a0(%rsp), %ymm0
vmovdqa 0x780(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm1, 0xe60(%rsp)
vmovdqa %ymm0, 0xe40(%rsp)
vmovdqa 0xe60(%rsp), %ymm0
vmovdqa 0xe40(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xad3f06
vmovaps 0x160(%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, 0x160(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x280(%rsp), %ymm0
vmovdqa %ymm1, 0x760(%rsp)
vmovdqa %ymm0, 0x740(%rsp)
vmovdqa 0x760(%rsp), %ymm0
vmovdqa 0x740(%rsp), %ymm1
vpaddsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0x180(%rsp), %ymm1
vmovdqa 0x160(%rsp), %ymm0
vmovdqa %ymm1, 0xe20(%rsp)
vmovdqa %ymm0, 0xe00(%rsp)
vmovdqa 0xe20(%rsp), %ymm0
vmovdqa 0xe00(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x140(%rsp)
movl $0x0, 0x464(%rsp)
movl 0x464(%rsp), %eax
cmpl 0x440(%rsp), %eax
jge 0xad42dd
movq 0x418(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xcd8(%rsp)
movq 0xcd8(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0x160(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0xaa0(%rsp)
vmovdqa %ymm0, 0xa80(%rsp)
vmovdqa 0xaa0(%rsp), %ymm0
vmovdqa 0xa80(%rsp), %ymm1
vpsubsw %ymm1, %ymm0, %ymm1
vmovdqa 0x140(%rsp), %ymm2
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm2, 0xa60(%rsp)
vmovdqa %ymm0, 0xa40(%rsp)
vmovdqa 0xa60(%rsp), %ymm0
vmovdqa 0xa40(%rsp), %ymm2
vpsubsw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xde0(%rsp)
vmovdqa %ymm0, 0xdc0(%rsp)
vmovdqa 0xde0(%rsp), %ymm0
vmovdqa 0xdc0(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x160(%rsp)
vmovdqa 0x180(%rsp), %ymm1
vmovdqa 0x160(%rsp), %ymm0
vmovdqa %ymm1, 0xda0(%rsp)
vmovdqa %ymm0, 0xd80(%rsp)
vmovdqa 0xda0(%rsp), %ymm0
vmovdqa 0xd80(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x140(%rsp)
movq 0x410(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x140(%rsp), %ymm0
movq %rax, 0x8f8(%rsp)
vmovdqa %ymm0, 0x8c0(%rsp)
vmovdqa 0x8c0(%rsp), %ymm0
movq 0x8f8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x300(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm0
vmovdqa %ymm1, 0xc60(%rsp)
vmovdqa %ymm0, 0xc40(%rsp)
vmovdqa 0xc60(%rsp), %ymm0
vmovdqa 0xc40(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x300(%rsp)
vmovdqa 0x300(%rsp), %ymm1
vmovdqa 0x160(%rsp), %ymm0
vmovdqa %ymm1, 0xc20(%rsp)
vmovdqa %ymm0, 0xc00(%rsp)
vmovdqa 0xc20(%rsp), %ymm0
vmovdqa 0xc00(%rsp), %ymm1
vpminsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x300(%rsp)
vmovdqa 0x2e0(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm0
vmovdqa %ymm1, 0xd60(%rsp)
vmovdqa %ymm0, 0xd40(%rsp)
vmovdqa 0xd60(%rsp), %ymm0
vmovdqa 0xd40(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x2e0(%rsp)
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xad4088
movq 0x410(%rsp), %rax
movslq 0x43c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xcd0(%rsp)
movq 0xcd0(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x140(%rsp)
vmovaps 0x2a0(%rsp), %ymm1
vmovaps 0x140(%rsp), %ymm2
vmovaps 0x2c0(%rsp), %ymm0
vmovaps %ymm2, 0x1060(%rsp)
vmovaps %ymm0, 0x1040(%rsp)
vmovaps 0x1060(%rsp), %ymm0
vmovaps 0x1040(%rsp), %ymm2
vpcmpgtw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xfa0(%rsp)
vmovdqa %ymm0, 0xf80(%rsp)
vmovdqa 0xfa0(%rsp), %ymm0
vpand 0xf80(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0x140(%rsp), %ymm1
vmovdqa 0x2c0(%rsp), %ymm0
vmovdqa %ymm1, 0xd20(%rsp)
vmovdqa %ymm0, 0xd00(%rsp)
vmovdqa 0xd20(%rsp), %ymm0
vmovdqa 0xd00(%rsp), %ymm1
vpmaxsw %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x2c0(%rsp)
vmovdqa 0xa0(%rsp), %ymm0
vmovdqa %ymm0, 0x10a0(%rsp)
vmovdqa 0x10a0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xad43f6
movl 0x460(%rsp), %eax
movl %eax, 0x454(%rsp)
movl $0x0, 0x45c(%rsp)
movl 0x45c(%rsp), %eax
cmpl 0x438(%rsp), %eax
jge 0xad4442
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]
vmovdqa %ymm0, 0x140(%rsp)
movl 0x45c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x45c(%rsp)
jmp 0xad4401
vmovdqa 0x150(%rsp), %xmm0
vpextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq 0x258(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq 0x460(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x460(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x460(%rsp)
jmp 0xad39cc
movl $0x0, 0x464(%rsp)
movl 0x464(%rsp), %eax
cmpl 0x440(%rsp), %eax
jge 0xad4517
movq 0x410(%rsp), %rax
movslq 0x464(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xcc8(%rsp)
movq 0xcc8(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x80(%rsp)
movq 0x258(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
vmovdqa 0x80(%rsp), %ymm0
movl 0x464(%rsp), %esi
movl 0x440(%rsp), %edx
callq 0xad4910
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0xad4491
cmpl $0x0, 0x20(%rbp)
je 0xad4593
movl $0x0, 0x45c(%rsp)
movl 0x45c(%rsp), %eax
cmpl 0x438(%rsp), %eax
jge 0xad4569
vmovaps 0x2c0(%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, 0x2c0(%rsp)
movl 0x45c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x45c(%rsp)
jmp 0xad4528
vmovdqa 0x2d0(%rsp), %xmm0
vpextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movw %ax, 0x37e(%rsp)
movl 0x450(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x458(%rsp)
cmpl $0x0, 0x10(%rbp)
je 0xad46cc
movq 0x410(%rsp), %rax
movq %rax, 0x78(%rsp)
movl 0x440(%rsp), %eax
imull 0x444(%rsp), %eax
movl %eax, 0x74(%rsp)
movl $0x0, 0x464(%rsp)
movl 0x464(%rsp), %eax
cmpl 0x74(%rsp), %eax
jge 0xad46ca
movl 0x464(%rsp), %eax
cltd
idivl 0x444(%rsp)
movl %eax, 0x4(%rsp)
movl 0x464(%rsp), %eax
cltd
idivl 0x444(%rsp)
movl 0x4(%rsp), %eax
imull 0x440(%rsp), %edx
addl %edx, %eax
movl %eax, 0x70(%rsp)
movl 0x70(%rsp), %eax
cmpl 0x450(%rsp), %eax
jl 0xad461f
jmp 0xad46a6
movq 0x78(%rsp), %rax
movswl (%rax), %eax
movswl 0x37e(%rsp), %ecx
cmpl %ecx, %eax
jle 0xad4661
movq 0x78(%rsp), %rax
movw (%rax), %ax
movw %ax, 0x37e(%rsp)
movl 0x70(%rsp), %eax
movl %eax, 0x458(%rsp)
movl 0x474(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x454(%rsp)
jmp 0xad46a4
movq 0x78(%rsp), %rax
movswl (%rax), %eax
movswl 0x37e(%rsp), %ecx
cmpl %ecx, %eax
jne 0xad46a2
movl 0x454(%rsp), %eax
movl 0x474(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0xad46a2
movl 0x70(%rsp), %eax
cmpl 0x458(%rsp), %eax
jge 0xad46a2
movl 0x70(%rsp), %eax
movl %eax, 0x458(%rsp)
jmp 0xad46a4
jmp 0xad46a6
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
movq 0x78(%rsp), %rax
addq $0x2, %rax
movq %rax, 0x78(%rsp)
jmp 0xad45c8
jmp 0xad46cc
cmpl $0x0, 0x10(%rbp)
jne 0xad478f
cmpl $0x0, 0x20(%rbp)
jne 0xad478f
movq 0x410(%rsp), %rax
movslq 0x43c(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xcc0(%rsp)
movq 0xcc0(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0x40(%rsp)
movl $0x0, 0x45c(%rsp)
movl 0x45c(%rsp), %eax
cmpl 0x438(%rsp), %eax
jge 0xad4757
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 0x45c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x45c(%rsp)
jmp 0xad471c
vmovdqa 0x50(%rsp), %xmm0
vpextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movw %ax, 0x37e(%rsp)
movl 0x474(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x454(%rsp)
movl 0x450(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x458(%rsp)
vmovaps 0x340(%rsp), %ymm1
vmovaps 0x300(%rsp), %ymm0
vmovaps %ymm1, 0x1020(%rsp)
vmovaps %ymm0, 0x1000(%rsp)
vmovaps 0x1020(%rsp), %ymm0
vmovaps 0x1000(%rsp), %ymm1
vpcmpgtw %ymm1, %ymm0, %ymm1
vmovaps 0x2e0(%rsp), %ymm2
vmovaps 0x320(%rsp), %ymm0
vmovaps %ymm2, 0xfe0(%rsp)
vmovaps %ymm0, 0xfc0(%rsp)
vmovaps 0xfe0(%rsp), %ymm0
vmovaps 0xfc0(%rsp), %ymm2
vpcmpgtw %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0x10e0(%rsp)
vmovdqa %ymm0, 0x10c0(%rsp)
vmovdqa 0x10e0(%rsp), %ymm0
vpor 0x10c0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x1080(%rsp)
vmovdqa 0x1080(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xad4873
movq 0x258(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movw $0x0, 0x37e(%rsp)
movl $0x0, 0x458(%rsp)
movl $0x0, 0x454(%rsp)
movswl 0x37e(%rsp), %ecx
movq 0x258(%rsp), %rax
movl %ecx, (%rax)
movl 0x458(%rsp), %ecx
movq 0x258(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x454(%rsp), %ecx
movq 0x258(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x408(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x410(%rsp), %rdi
callq 0x1c3590
movq 0x418(%rsp), %rdi
callq 0x1c3590
movq 0x420(%rsp), %rdi
callq 0x1c3590
movq 0x428(%rsp), %rdi
callq 0x1c3590
movq 0x258(%rsp), %rax
movq %rax, 0x488(%rsp)
movq 0x488(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw (%rax,%rax)