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

    /* validate inputs */
    PARASAIL_CHECK_NULL(profile);
    PARASAIL_CHECK_NULL(profile->profile64.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;
    end_query = 0;
    end_ref = 0;
    s1Len = profile->s1Len;
    matrix = profile->matrix;
    segWidth = 4; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    pvP = (__m256i*)profile->profile64.score;
    vGapO = _mm256_set1_epi64x_rpl(open);
    vGapE = _mm256_set1_epi64x_rpl(gap);
    NEG_LIMIT = (-open < matrix->min ? INT64_MIN + open : INT64_MIN - matrix->min) + 1;
    POS_LIMIT = INT64_MAX - matrix->max - 1;
    vZero = _mm256_setzero_si256();
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi64x_rpl(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi64x_rpl(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vMaxHUnit = vNegLimit;
    vNegInfFront = vZero;
    vNegInfFront = _mm256_insert_epi64_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm256_add_epi64(vNegInfFront,
            _mm256_slli_si256_rpl(_mm256_set1_epi64x_rpl(-segLen*gap), 8));
    vTZero = _mm256_set1_epi64x_rpl(PARASAIL_ZERO);
    vTIns  = _mm256_set1_epi64x_rpl(PARASAIL_INS);
    vTDel  = _mm256_set1_epi64x_rpl(PARASAIL_DEL);
    vTDiag = _mm256_set1_epi64x_rpl(PARASAIL_DIAG);
    vTDiagE = _mm256_set1_epi64x_rpl(PARASAIL_DIAG_E);
    vTInsE = _mm256_set1_epi64x_rpl(PARASAIL_INS_E);
    vTDiagF = _mm256_set1_epi64x_rpl(PARASAIL_DIAG_F);
    vTDelF = _mm256_set1_epi64x_rpl(PARASAIL_DEL_F);


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

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SW | PARASAIL_FLAG_SCAN
        | PARASAIL_FLAG_TRACE
        | PARASAIL_FLAG_BITS_64 | PARASAIL_FLAG_LANES_4;

    /* initialize heap variables */
    pvE    = parasail_memalign___m256i(32, segLen);
    pvHt   = parasail_memalign___m256i(32, segLen);
    pvH    = parasail_memalign___m256i(32, segLen);
    pvHMax = parasail_memalign___m256i(32, segLen);
    pvGapper = parasail_memalign___m256i(32, segLen);

    /* validate heap variables */
    if (!pvE) return NULL;
    if (!pvHt) return NULL;
    if (!pvH) return NULL;
    if (!pvHMax) return NULL;
    if (!pvGapper) return NULL;

    parasail_memset___m256i(pvH, vZero, segLen);
    parasail_memset___m256i(pvE, vNegLimit, segLen);
    {
        __m256i vGapper = _mm256_sub_epi64(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm256_store_si256(pvGapper+i, vGapper);
            vGapper = _mm256_sub_epi64(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 case0;
        __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, 8);
        pvW = pvP + matrix->mapper[(unsigned char)s2[j]]*segLen;
        vHt = vZero;
        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_sub_epi64(vH, vGapO);
            vE_ext = _mm256_sub_epi64(vE, vGapE);
            case1 = _mm256_cmpgt_epi64(vE_opn, vE_ext);
            vET = _mm256_blendv_epi8(vTInsE, vTDiagE, case1);
            arr_store(result->trace->trace_table, vET, i, segLen, j);
            vE = _mm256_max_epi64_rpl(vE_opn, vE_ext);
            vGapper = _mm256_add_epi64(vHt, vGapper);
            vF = _mm256_max_epi64_rpl(vF, vGapper);
            vHp = _mm256_add_epi64(vHp, vW);
            vHt = _mm256_max_epi64_rpl(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, 8);
        vGapper = _mm256_load_si256(pvGapper);
        vGapper = _mm256_add_epi64(vHt, vGapper);
        vF = _mm256_max_epi64_rpl(vF, vGapper);
        for (i=0; i<segWidth-2; ++i) {
            __m256i vFt = _mm256_slli_si256_rpl(vF, 8);
            vFt = _mm256_add_epi64(vFt, vSegLenXgap);
            vF = _mm256_max_epi64_rpl(vF, vFt);
        }

        /* calculate final H */
        vF = _mm256_slli_si256_rpl(vF, 8);
        vF = _mm256_add_epi64(vF, vNegInfFront);
        vH = _mm256_max_epi64_rpl(vF, vHt);
        vH = _mm256_max_epi64_rpl(vH, vZero);
        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_sub_epi64(vH, vGapO);
            vF_ext = _mm256_sub_epi64(vF, vGapE);
            vF = _mm256_max_epi64_rpl(vF_opn, vF_ext);
            case1 = _mm256_cmpgt_epi64(vF_opn, vF_ext);
            vFT = _mm256_blendv_epi8(vTDelF, vTDiagF, case1);
            vH = _mm256_max_epi64_rpl(vHt, vF);
            vH = _mm256_max_epi64_rpl(vH, vZero);
            case0 = _mm256_cmpeq_epi64(vH, vZero);
            case1 = _mm256_cmpeq_epi64(vH, vHp);
            case2 = _mm256_cmpeq_epi64(vH, vF);
            vT = _mm256_blendv_epi8(
                    _mm256_blendv_epi8(vTIns, vTDel, case2),
                    vTDiag, case1);
            vT = _mm256_blendv_epi8(vT, vTZero, case0);
            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_epi64_rpl(vSaturationCheckMin, vH);
            vSaturationCheckMax = _mm256_max_epi64_rpl(vSaturationCheckMax, vH);
            {
                vMaxH = _mm256_max_epi64_rpl(vH, vMaxH);
            }
        } 

        {
            __m256i vCompare = _mm256_cmpgt_epi64(vMaxH, vMaxHUnit);
            if (_mm256_movemask_epi8(vCompare)) {
                score = _mm256_hmax_epi64_rpl(vMaxH);
                vMaxHUnit = _mm256_set1_epi64x_rpl(score);
                end_ref = j;
                (void)memcpy(pvHMax, pvH, sizeof(__m256i)*segLen);
            }
        }
    }

    /* Trace the alignment ending position on read. */
    {
        int64_t *t = (int64_t*)pvHMax;
        int32_t column_len = segLen * segWidth;
        end_query = s1Len;
        for (i = 0; i<column_len; ++i, ++t) {
            if (*t == score) {
                int32_t temp = i / segWidth + i % segWidth * segLen;
                if (temp < end_query) {
                    end_query = temp;
                }
            }
        }
    }

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi64_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_cmpgt_epi64(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(pvHMax);
    parasail_free(pvH);
    parasail_free(pvHt);
    parasail_free(pvE);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0x1420, %rsp           # imm = 0x1420
movq %rdi, 0x5f0(%rsp)
movq %rsi, 0x5e8(%rsp)
movl %edx, 0x5e4(%rsp)
movl %ecx, 0x5e0(%rsp)
movl %r8d, 0x5dc(%rsp)
movl $0x0, 0x5d8(%rsp)
movl $0x0, 0x5d4(%rsp)
movl $0x0, 0x5d0(%rsp)
movl $0x0, 0x5cc(%rsp)
movl $0x0, 0x5c8(%rsp)
movq $0x0, 0x5c0(%rsp)
movl $0x0, 0x5bc(%rsp)
movl $0x0, 0x5b8(%rsp)
movq $0x0, 0x5b0(%rsp)
movq $0x0, 0x5a8(%rsp)
movq $0x0, 0x5a0(%rsp)
movq $0x0, 0x598(%rsp)
movq $0x0, 0x590(%rsp)
movq $0x0, 0x588(%rsp)
movq $0x0, 0x538(%rsp)
movq $0x0, 0x530(%rsp)
movq $0x0, 0x4f8(%rsp)
movq $0x0, 0x3d8(%rsp)
cmpq $0x0, 0x5f0(%rsp)
jne 0xbfa078
movq 0x22cf90(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf1f99(%rip), %rsi     # 0xcebfeb
leaq 0xed20f(%rip), %rdx     # 0xce7268
leaq 0xc847d(%rip), %rcx     # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa07a
jmp 0xbfa07c
movq 0x5f0(%rsp), %rax
cmpq $0x0, 0x60(%rax)
jne 0xbfa0c2
movq 0x22cf46(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf1f4f(%rip), %rsi     # 0xcebfeb
leaq 0xed1c5(%rip), %rdx     # 0xce7268
leaq 0xf2859(%rip), %rcx     # 0xcec903
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa0c4
jmp 0xbfa0c6
movq 0x5f0(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xbfa10c
movq 0x22cefc(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf1f05(%rip), %rsi     # 0xcebfeb
leaq 0xed17b(%rip), %rdx     # 0xce7268
leaq 0xf2828(%rip), %rcx     # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa10e
jmp 0xbfa110
movq 0x5f0(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jg 0xbfa155
movq 0x22ceb3(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf25d2(%rip), %rsi     # 0xcec701
leaq 0xed132(%rip), %rdx     # 0xce7268
leaq 0xf27ef(%rip), %rcx     # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa157
jmp 0xbfa159
cmpq $0x0, 0x5e8(%rsp)
jne 0xbfa19b
movq 0x22ce6d(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf1e76(%rip), %rsi     # 0xcebfeb
leaq 0xed0ec(%rip), %rdx     # 0xce7268
leaq 0xf257b(%rip), %rcx     # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa19d
jmp 0xbfa19f
cmpl $0x0, 0x5e4(%rsp)
jg 0xbfa1e0
movq 0x22ce28(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf2547(%rip), %rsi     # 0xcec701
leaq 0xed0a7(%rip), %rdx     # 0xce7268
leaq 0xf254d(%rip), %rcx     # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa1e2
jmp 0xbfa1e4
cmpl $0x0, 0x5e0(%rsp)
jge 0xbfa225
movq 0x22cde3(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf251c(%rip), %rsi     # 0xcec71b
leaq 0xed062(%rip), %rdx     # 0xce7268
leaq 0xf2523(%rip), %rcx     # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa227
jmp 0xbfa229
cmpl $0x0, 0x5dc(%rsp)
jge 0xbfa26a
movq 0x22cd9e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xf24d7(%rip), %rsi     # 0xcec71b
leaq 0xed01d(%rip), %rdx     # 0xce7268
leaq 0xf24e3(%rip), %rcx     # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
jmp 0xbfa26c
movl $0x0, 0x5d8(%rsp)
movl $0x0, 0x5d4(%rsp)
movl $0x0, 0x5d0(%rsp)
movl $0x0, 0x5cc(%rsp)
movq 0x5f0(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x5c8(%rsp)
movq 0x5f0(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x5c0(%rsp)
movl $0x4, 0x5bc(%rsp)
movl 0x5c8(%rsp), %esi
movl 0x5bc(%rsp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, 0x5b8(%rsp)
movq 0x5f0(%rsp), %rax
movq 0x60(%rax), %rax
movq %rax, 0x5b0(%rsp)
movslq 0x5e0(%rsp), %rax
movq %rax, 0x678(%rsp)
movq 0x678(%rsp), %rax
movq %rax, 0x1038(%rsp)
movq %rax, 0x1030(%rsp)
movq %rax, 0x1028(%rsp)
movq %rax, 0x1020(%rsp)
vmovq 0x1028(%rsp), %xmm1
vmovq 0x1020(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x1038(%rsp), %xmm2
vmovq 0x1030(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x1010(%rsp)
vmovdqa %xmm0, 0x1000(%rsp)
vmovaps 0x1000(%rsp), %ymm0
vmovaps %ymm0, 0x560(%rsp)
movslq 0x5dc(%rsp), %rax
movq %rax, 0x670(%rsp)
movq 0x670(%rsp), %rax
movq %rax, 0x1078(%rsp)
movq %rax, 0x1070(%rsp)
movq %rax, 0x1068(%rsp)
movq %rax, 0x1060(%rsp)
vmovq 0x1078(%rsp), %xmm1
vmovq 0x1070(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x1068(%rsp), %xmm2
vmovq 0x1060(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1040(%rsp)
vmovdqa 0x1040(%rsp), %ymm0
vmovdqa %ymm0, 0x540(%rsp)
xorl %eax, %eax
subl 0x5e0(%rsp), %eax
movq 0x5c0(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0xbfa440
movslq 0x5e0(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, 0x8(%rsp)
jmp 0xbfa45e
movq 0x5c0(%rsp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
incq %rax
movq %rax, 0x538(%rsp)
movq 0x5c0(%rsp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, 0x530(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %ymm0, 0x680(%rsp)
vmovaps 0x680(%rsp), %ymm0
vmovaps %ymm0, 0x500(%rsp)
movq 0x538(%rsp), %rax
movq %rax, 0x4f8(%rsp)
movq 0x538(%rsp), %rax
movq %rax, 0x668(%rsp)
movq 0x668(%rsp), %rax
movq %rax, 0x10b8(%rsp)
movq %rax, 0x10b0(%rsp)
movq %rax, 0x10a8(%rsp)
movq %rax, 0x10a0(%rsp)
vmovq 0x10a8(%rsp), %xmm1
vmovq 0x10a0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x10b8(%rsp), %xmm2
vmovq 0x10b0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x1090(%rsp)
vmovdqa %xmm0, 0x1080(%rsp)
vmovaps 0x1080(%rsp), %ymm0
vmovaps %ymm0, 0x4c0(%rsp)
movq 0x530(%rsp), %rax
movq %rax, 0x660(%rsp)
movq 0x660(%rsp), %rax
movq %rax, 0x10f8(%rsp)
movq %rax, 0x10f0(%rsp)
movq %rax, 0x10e8(%rsp)
movq %rax, 0x10e0(%rsp)
vmovq 0x10e8(%rsp), %xmm1
vmovq 0x10e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x10f8(%rsp), %xmm2
vmovq 0x10f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x10d0(%rsp)
vmovdqa %xmm0, 0x10c0(%rsp)
vmovaps 0x10c0(%rsp), %ymm0
vmovaps %ymm0, 0x4a0(%rsp)
vmovaps 0x4a0(%rsp), %ymm0
vmovaps %ymm0, 0x480(%rsp)
vmovaps 0x4c0(%rsp), %ymm0
vmovaps %ymm0, 0x460(%rsp)
vmovaps 0x4c0(%rsp), %ymm0
vmovaps %ymm0, 0x440(%rsp)
vmovaps 0x4c0(%rsp), %ymm0
vmovaps %ymm0, 0x420(%rsp)
vmovaps 0x500(%rsp), %ymm0
vmovaps %ymm0, 0x400(%rsp)
movq 0x538(%rsp), %rax
movq %rax, 0x400(%rsp)
vmovaps 0x400(%rsp), %ymm1
movl 0x5b8(%rsp), %eax
negl %eax
movl 0x5dc(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x658(%rsp)
movq 0x658(%rsp), %rax
movq %rax, 0x1138(%rsp)
movq %rax, 0x1130(%rsp)
movq %rax, 0x1128(%rsp)
movq %rax, 0x1120(%rsp)
vmovq 0x1128(%rsp), %xmm2
vmovq 0x1120(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm2[0]
vmovq 0x1138(%rsp), %xmm3
vmovq 0x1130(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovdqa %xmm2, 0x1110(%rsp)
vmovdqa %xmm0, 0x1100(%rsp)
vmovaps 0x1100(%rsp), %ymm0
movl 0x5b8(%rsp), %eax
negl %eax
movl 0x5dc(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x650(%rsp)
movq 0x650(%rsp), %rax
movq %rax, 0x1178(%rsp)
movq %rax, 0x1170(%rsp)
movq %rax, 0x1168(%rsp)
movq %rax, 0x1160(%rsp)
vmovq 0x1168(%rsp), %xmm3
vmovq 0x1160(%rsp), %xmm2
vpunpcklqdq %xmm3, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm3[0]
vmovq 0x1178(%rsp), %xmm4
vmovq 0x1170(%rsp), %xmm3
vpunpcklqdq %xmm4, %xmm3, %xmm3 # xmm3 = xmm3[0],xmm4[0]
vmovdqa %xmm3, 0x1150(%rsp)
vmovdqa %xmm2, 0x1140(%rsp)
vmovaps 0x1140(%rsp), %ymm3
movl 0x5b8(%rsp), %eax
negl %eax
movl 0x5dc(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x648(%rsp)
movq 0x648(%rsp), %rax
movq %rax, 0x11b8(%rsp)
movq %rax, 0x11b0(%rsp)
movq %rax, 0x11a8(%rsp)
movq %rax, 0x11a0(%rsp)
vmovq 0x11a8(%rsp), %xmm4
vmovq 0x11a0(%rsp), %xmm2
vpunpcklqdq %xmm4, %xmm2, %xmm2 # xmm2 = xmm2[0],xmm4[0]
vmovq 0x11b8(%rsp), %xmm5
vmovq 0x11b0(%rsp), %xmm4
vpunpcklqdq %xmm5, %xmm4, %xmm4 # xmm4 = xmm4[0],xmm5[0]
vmovdqa %xmm4, 0x1190(%rsp)
vmovdqa %xmm2, 0x1180(%rsp)
vperm2i128 $0x28, %ymm3, %ymm2, %ymm2 # ymm2 = zero,zero,ymm3[0,1]
vpalignr $0x8, %ymm2, %ymm0, %ymm0 # ymm0 = ymm2[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm2[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
vmovaps %ymm1, 0x800(%rsp)
vmovaps %ymm0, 0x7e0(%rsp)
vmovaps 0x800(%rsp), %ymm0
vmovaps 0x7e0(%rsp), %ymm1
vpaddq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x3e0(%rsp)
movq $0x0, 0x640(%rsp)
movq 0x640(%rsp), %rax
movq %rax, 0x11f8(%rsp)
movq %rax, 0x11f0(%rsp)
movq %rax, 0x11e8(%rsp)
movq %rax, 0x11e0(%rsp)
vmovq 0x11e8(%rsp), %xmm1
vmovq 0x11e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x11f8(%rsp), %xmm2
vmovq 0x11f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x11d0(%rsp)
vmovdqa %xmm0, 0x11c0(%rsp)
vmovaps 0x11c0(%rsp), %ymm0
vmovaps %ymm0, 0x3a0(%rsp)
movq $0x1, 0x638(%rsp)
movq 0x638(%rsp), %rax
movq %rax, 0x1238(%rsp)
movq %rax, 0x1230(%rsp)
movq %rax, 0x1228(%rsp)
movq %rax, 0x1220(%rsp)
vmovq 0x1228(%rsp), %xmm1
vmovq 0x1220(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x1238(%rsp), %xmm2
vmovq 0x1230(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x1210(%rsp)
vmovdqa %xmm0, 0x1200(%rsp)
vmovaps 0x1200(%rsp), %ymm0
vmovaps %ymm0, 0x380(%rsp)
movq $0x2, 0x630(%rsp)
movq 0x630(%rsp), %rax
movq %rax, 0x1278(%rsp)
movq %rax, 0x1270(%rsp)
movq %rax, 0x1268(%rsp)
movq %rax, 0x1260(%rsp)
vmovq 0x1268(%rsp), %xmm1
vmovq 0x1260(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x1278(%rsp), %xmm2
vmovq 0x1270(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x1250(%rsp)
vmovdqa %xmm0, 0x1240(%rsp)
vmovaps 0x1240(%rsp), %ymm0
vmovaps %ymm0, 0x360(%rsp)
movq $0x4, 0x628(%rsp)
movq 0x628(%rsp), %rax
movq %rax, 0x12b8(%rsp)
movq %rax, 0x12b0(%rsp)
movq %rax, 0x12a8(%rsp)
movq %rax, 0x12a0(%rsp)
vmovq 0x12a8(%rsp), %xmm1
vmovq 0x12a0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x12b8(%rsp), %xmm2
vmovq 0x12b0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x1290(%rsp)
vmovdqa %xmm0, 0x1280(%rsp)
vmovaps 0x1280(%rsp), %ymm0
vmovaps %ymm0, 0x340(%rsp)
movq $0x8, 0x620(%rsp)
movq 0x620(%rsp), %rax
movq %rax, 0x12f8(%rsp)
movq %rax, 0x12f0(%rsp)
movq %rax, 0x12e8(%rsp)
movq %rax, 0x12e0(%rsp)
vmovq 0x12e8(%rsp), %xmm1
vmovq 0x12e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x12f8(%rsp), %xmm2
vmovq 0x12f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x12d0(%rsp)
vmovdqa %xmm0, 0x12c0(%rsp)
vmovaps 0x12c0(%rsp), %ymm0
vmovaps %ymm0, 0x320(%rsp)
movq $0x10, 0x618(%rsp)
movq 0x618(%rsp), %rax
movq %rax, 0x1338(%rsp)
movq %rax, 0x1330(%rsp)
movq %rax, 0x1328(%rsp)
movq %rax, 0x1320(%rsp)
vmovq 0x1328(%rsp), %xmm1
vmovq 0x1320(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x1338(%rsp), %xmm2
vmovq 0x1330(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x1310(%rsp)
vmovdqa %xmm0, 0x1300(%rsp)
vmovaps 0x1300(%rsp), %ymm0
vmovaps %ymm0, 0x300(%rsp)
movq $0x20, 0x610(%rsp)
movq 0x610(%rsp), %rax
movq %rax, 0x1378(%rsp)
movq %rax, 0x1370(%rsp)
movq %rax, 0x1368(%rsp)
movq %rax, 0x1360(%rsp)
vmovq 0x1368(%rsp), %xmm1
vmovq 0x1360(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x1378(%rsp), %xmm2
vmovq 0x1370(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x1350(%rsp)
vmovdqa %xmm0, 0x1340(%rsp)
vmovaps 0x1340(%rsp), %ymm0
vmovaps %ymm0, 0x2e0(%rsp)
movq $0x40, 0x608(%rsp)
movq 0x608(%rsp), %rax
movq %rax, 0x13b8(%rsp)
movq %rax, 0x13b0(%rsp)
movq %rax, 0x13a8(%rsp)
movq %rax, 0x13a0(%rsp)
vmovq 0x13b8(%rsp), %xmm1
vmovq 0x13b0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x13a8(%rsp), %xmm2
vmovq 0x13a0(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1380(%rsp)
vmovdqa 0x1380(%rsp), %ymm0
vmovdqa %ymm0, 0x2c0(%rsp)
movl 0x5b8(%rsp), %edi
movl 0x5e4(%rsp), %esi
movl $0x20, %ecx
movq %rcx, %rdx
vzeroupper
callq 0x1c3fa0
movq %rax, 0x3d8(%rsp)
cmpq $0x0, 0x3d8(%rsp)
jne 0xbfac7c
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
movq 0x3d8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x4880404, %ecx        # imm = 0x4880404
movl %ecx, 0xc(%rax)
movslq 0x5b8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x5a8(%rsp)
movslq 0x5b8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x5a0(%rsp)
movslq 0x5b8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x598(%rsp)
movslq 0x5b8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x590(%rsp)
movslq 0x5b8(%rsp), %rsi
movl $0x20, %edi
callq 0x992f60
movq %rax, 0x588(%rsp)
cmpq $0x0, 0x5a8(%rsp)
jne 0xbfad2e
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
cmpq $0x0, 0x5a0(%rsp)
jne 0xbfad4a
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
cmpq $0x0, 0x598(%rsp)
jne 0xbfad66
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
cmpq $0x0, 0x590(%rsp)
jne 0xbfad82
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
cmpq $0x0, 0x588(%rsp)
jne 0xbfad9e
movq $0x0, 0x5f8(%rsp)
jmp 0xbfbee4
movq 0x598(%rsp), %rdi
vmovdqa 0x500(%rsp), %ymm0
movslq 0x5b8(%rsp), %rsi
callq 0x992f90
movq 0x5a8(%rsp), %rdi
vmovdqa 0x4c0(%rsp), %ymm0
movslq 0x5b8(%rsp), %rsi
callq 0x992f90
vmovdqa 0x500(%rsp), %ymm1
vmovdqa 0x560(%rsp), %ymm0
vmovdqa %ymm1, 0x980(%rsp)
vmovdqa %ymm0, 0x960(%rsp)
vmovdqa 0x980(%rsp), %ymm0
vpsubq 0x960(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x2a0(%rsp)
movl 0x5b8(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x5d8(%rsp)
cmpl $0x0, 0x5d8(%rsp)
jl 0xbfaed3
movq 0x588(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x2a0(%rsp), %ymm0
movq %rax, 0xad8(%rsp)
vmovdqa %ymm0, 0xaa0(%rsp)
vmovdqa 0xaa0(%rsp), %ymm0
movq 0xad8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x2a0(%rsp), %ymm1
vmovdqa 0x540(%rsp), %ymm0
vmovdqa %ymm1, 0x940(%rsp)
vmovdqa %ymm0, 0x920(%rsp)
vmovdqa 0x940(%rsp), %ymm0
vpsubq 0x920(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x2a0(%rsp)
movl 0x5d8(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x5d8(%rsp)
jmp 0xbfae2a
movl $0x0, 0x5d4(%rsp)
movl 0x5d4(%rsp), %eax
cmpl 0x5e4(%rsp), %eax
jge 0xbfbca0
movq 0x598(%rsp), %rax
movl 0x5b8(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xb18(%rsp)
movq 0xb18(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x180(%rsp)
vmovaps 0x180(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x180(%rsp)
movq 0x5b0(%rsp), %rax
movq 0x5c0(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x5e8(%rsp), %rdx
movslq 0x5d4(%rsp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull 0x5b8(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x178(%rsp)
vmovdqa 0x500(%rsp), %ymm0
vmovdqa %ymm0, 0x220(%rsp)
vmovdqa 0x4c0(%rsp), %ymm0
vmovdqa %ymm0, 0x200(%rsp)
movl $0x0, 0x5d8(%rsp)
movl 0x5d8(%rsp), %eax
cmpl 0x5b8(%rsp), %eax
jge 0xbfb3d8
movq 0x598(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xb10(%rsp)
movq 0xb10(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x1a0(%rsp)
movq 0x5a8(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xb08(%rsp)
movq 0xb08(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x280(%rsp)
movq 0x178(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xb00(%rsp)
movq 0xb00(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x140(%rsp)
movq 0x588(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xaf8(%rsp)
movq 0xaf8(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0xc0(%rsp)
vmovaps 0x1a0(%rsp), %ymm1
vmovaps 0x560(%rsp), %ymm0
vmovaps %ymm1, 0x900(%rsp)
vmovaps %ymm0, 0x8e0(%rsp)
vmovaps 0x900(%rsp), %ymm0
vmovaps 0x8e0(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x280(%rsp), %ymm1
vmovaps 0x540(%rsp), %ymm0
vmovaps %ymm1, 0x8c0(%rsp)
vmovaps %ymm0, 0x8a0(%rsp)
vmovaps 0x8c0(%rsp), %ymm0
vmovaps 0x8a0(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x260(%rsp)
vmovaps 0x240(%rsp), %ymm1
vmovaps 0x260(%rsp), %ymm0
vmovaps %ymm1, 0xc40(%rsp)
vmovaps %ymm0, 0xc20(%rsp)
vmovaps 0xc40(%rsp), %ymm0
vmovaps 0xc20(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x120(%rsp)
vmovdqa 0x300(%rsp), %ymm2
vmovdqa 0x320(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm2, 0xe20(%rsp)
vmovdqa %ymm1, 0xe00(%rsp)
vmovdqa %ymm0, 0xde0(%rsp)
vmovdqa 0xe20(%rsp), %ymm0
vmovdqa 0xe00(%rsp), %ymm1
vmovdqa 0xde0(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x80(%rsp)
movq 0x3d8(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
vmovdqa 0x80(%rsp), %ymm0
movl 0x5d8(%rsp), %esi
movl 0x5b8(%rsp), %edx
movl 0x5d4(%rsp), %ecx
callq 0xbfbf00
vmovdqa 0x240(%rsp), %ymm0
vmovdqa 0x260(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x280(%rsp)
vmovdqa 0x220(%rsp), %ymm1
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm1, 0x7c0(%rsp)
vmovdqa %ymm0, 0x7a0(%rsp)
vmovdqa 0x7c0(%rsp), %ymm0
vpaddq 0x7a0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x200(%rsp), %ymm0
vmovdqa 0xc0(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x200(%rsp)
vmovdqa 0x180(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm0
vmovdqa %ymm1, 0x780(%rsp)
vmovdqa %ymm0, 0x760(%rsp)
vmovdqa 0x780(%rsp), %ymm0
vpaddq 0x760(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
vmovdqa 0x280(%rsp), %ymm0
vmovdqa 0x180(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x220(%rsp)
movq 0x5a8(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x280(%rsp), %ymm0
movq %rax, 0xa98(%rsp)
vmovdqa %ymm0, 0xa60(%rsp)
vmovdqa 0xa60(%rsp), %ymm0
movq 0xa98(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x5a0(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x220(%rsp), %ymm0
movq %rax, 0xa58(%rsp)
vmovdqa %ymm0, 0xa20(%rsp)
vmovdqa 0xa20(%rsp), %ymm0
movq 0xa58(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x598(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x180(%rsp), %ymm0
movq %rax, 0xa18(%rsp)
vmovdqa %ymm0, 0x9e0(%rsp)
vmovdqa 0x9e0(%rsp), %ymm0
movq 0xa18(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x1a0(%rsp), %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x5d8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5d8(%rsp)
jmp 0xbfafc0
vmovaps 0x220(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x220(%rsp)
movq 0x588(%rsp), %rax
movq %rax, 0xaf0(%rsp)
movq 0xaf0(%rsp), %rax
vmovdqa (%rax), %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x220(%rsp), %ymm1
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm1, 0x740(%rsp)
vmovdqa %ymm0, 0x720(%rsp)
vmovdqa 0x740(%rsp), %ymm0
vpaddq 0x720(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x200(%rsp), %ymm0
vmovdqa 0xc0(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x200(%rsp)
movl $0x0, 0x5d8(%rsp)
movl 0x5d8(%rsp), %eax
movl 0x5bc(%rsp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0xbfb52d
vmovaps 0x200(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x40(%rsp)
vmovdqa 0x40(%rsp), %ymm1
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm1, 0x700(%rsp)
vmovdqa %ymm0, 0x6e0(%rsp)
vmovdqa 0x700(%rsp), %ymm0
vpaddq 0x6e0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x40(%rsp)
vmovdqa 0x200(%rsp), %ymm0
vmovdqa 0x40(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x200(%rsp)
movl 0x5d8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5d8(%rsp)
jmp 0xbfb489
vmovaps 0x200(%rsp), %ymm0
vxorps %xmm1, %xmm1, %xmm1
vpermq $0x90, %ymm0, %ymm0     # ymm0 = ymm0[0,0,1,2]
vpblendd $0x3, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
vmovdqa %ymm0, 0x200(%rsp)
vmovdqa 0x200(%rsp), %ymm1
vmovdqa 0x400(%rsp), %ymm0
vmovdqa %ymm1, 0x6c0(%rsp)
vmovdqa %ymm0, 0x6a0(%rsp)
vmovdqa 0x6c0(%rsp), %ymm0
vpaddq 0x6a0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x200(%rsp)
vmovdqa 0x200(%rsp), %ymm0
vmovdqa 0x220(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm0
vmovdqa 0x500(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x1a0(%rsp)
movl $0x0, 0x5d8(%rsp)
movl 0x5d8(%rsp), %eax
cmpl 0x5b8(%rsp), %eax
jge 0xbfbb51
movq 0x3d8(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movl 0x5d8(%rsp), %esi
movl 0x5b8(%rsp), %edx
movl 0x5d4(%rsp), %ecx
callq 0xbfc080
vmovaps %ymm0, 0x80(%rsp)
movq 0x598(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xae8(%rsp)
movq 0xae8(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x180(%rsp)
movq 0x5a0(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xae0(%rsp)
movq 0xae0(%rsp), %rax
vmovaps (%rax), %ymm0
vmovaps %ymm0, 0x220(%rsp)
vmovaps 0x1a0(%rsp), %ymm1
vmovaps 0x560(%rsp), %ymm0
vmovaps %ymm1, 0x880(%rsp)
vmovaps %ymm0, 0x860(%rsp)
vmovaps 0x880(%rsp), %ymm0
vmovaps 0x860(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x1c0(%rsp)
vmovaps 0x200(%rsp), %ymm1
vmovaps 0x540(%rsp), %ymm0
vmovaps %ymm1, 0x840(%rsp)
vmovaps %ymm0, 0x820(%rsp)
vmovaps 0x840(%rsp), %ymm0
vmovaps 0x820(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x1e0(%rsp)
vmovaps 0x1c0(%rsp), %ymm0
vmovaps 0x1e0(%rsp), %ymm1
callq 0xbfbf80
vmovaps %ymm0, 0x200(%rsp)
vmovaps 0x1c0(%rsp), %ymm1
vmovaps 0x1e0(%rsp), %ymm0
vmovaps %ymm1, 0xc00(%rsp)
vmovaps %ymm0, 0xbe0(%rsp)
vmovaps 0xc00(%rsp), %ymm0
vmovaps 0xbe0(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x2c0(%rsp), %ymm2
vmovaps 0x2e0(%rsp), %ymm1
vmovaps 0x120(%rsp), %ymm0
vmovaps %ymm2, 0xdc0(%rsp)
vmovaps %ymm1, 0xda0(%rsp)
vmovaps %ymm0, 0xd80(%rsp)
vmovaps 0xdc0(%rsp), %ymm0
vmovaps 0xda0(%rsp), %ymm1
vmovaps 0xd80(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x60(%rsp)
vmovaps 0x220(%rsp), %ymm0
vmovaps 0x200(%rsp), %ymm1
callq 0xbfbf80
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x1a0(%rsp), %ymm0
vmovaps 0x500(%rsp), %ymm1
callq 0xbfbf80
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x1a0(%rsp), %ymm1
vmovaps 0x500(%rsp), %ymm0
vmovaps %ymm1, 0xee0(%rsp)
vmovaps %ymm0, 0xec0(%rsp)
vmovaps 0xee0(%rsp), %ymm0
vmovaps 0xec0(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xe0(%rsp)
vmovaps 0x1a0(%rsp), %ymm1
vmovaps 0x180(%rsp), %ymm0
vmovaps %ymm1, 0xea0(%rsp)
vmovaps %ymm0, 0xe80(%rsp)
vmovaps 0xea0(%rsp), %ymm0
vmovaps 0xe80(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x1a0(%rsp), %ymm1
vmovaps 0x200(%rsp), %ymm0
vmovaps %ymm1, 0xe60(%rsp)
vmovaps %ymm0, 0xe40(%rsp)
vmovaps 0xe60(%rsp), %ymm0
vmovaps 0xe40(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
vmovdqa 0x380(%rsp), %ymm2
vmovdqa 0x360(%rsp), %ymm1
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm2, 0xd60(%rsp)
vmovdqa %ymm1, 0xd40(%rsp)
vmovdqa %ymm0, 0xd20(%rsp)
vmovdqa 0xd60(%rsp), %ymm0
vmovdqa 0xd40(%rsp), %ymm1
vmovdqa 0xd20(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm2
vmovdqa 0x340(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm2, 0xd00(%rsp)
vmovdqa %ymm1, 0xce0(%rsp)
vmovdqa %ymm0, 0xcc0(%rsp)
vmovdqa 0xd00(%rsp), %ymm0
vmovdqa 0xce0(%rsp), %ymm1
vmovdqa 0xcc0(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xa0(%rsp), %ymm2
vmovdqa 0x3a0(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm2, 0xca0(%rsp)
vmovdqa %ymm1, 0xc80(%rsp)
vmovdqa %ymm0, 0xc60(%rsp)
vmovdqa 0xca0(%rsp), %ymm0
vmovdqa 0xc80(%rsp), %ymm1
vmovdqa 0xc60(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0x80(%rsp), %ymm0
vmovdqa %ymm1, 0xfa0(%rsp)
vmovdqa %ymm0, 0xf80(%rsp)
vmovdqa 0xfa0(%rsp), %ymm0
vpor 0xf80(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0xa0(%rsp), %ymm1
vmovdqa 0x60(%rsp), %ymm0
vmovdqa %ymm1, 0xf60(%rsp)
vmovdqa %ymm0, 0xf40(%rsp)
vmovdqa 0xf60(%rsp), %ymm0
vpor 0xf40(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
movq 0x3d8(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
vmovdqa 0xa0(%rsp), %ymm0
movl 0x5d8(%rsp), %esi
movl 0x5b8(%rsp), %edx
movl 0x5d4(%rsp), %ecx
callq 0xbfbf00
movq 0x598(%rsp), %rax
movslq 0x5d8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
vmovdqa 0x1a0(%rsp), %ymm0
movq %rax, 0x9d8(%rsp)
vmovdqa %ymm0, 0x9a0(%rsp)
vmovdqa 0x9a0(%rsp), %ymm0
movq 0x9d8(%rsp), %rax
vmovdqa %ymm0, (%rax)
vmovdqa 0x480(%rsp), %ymm0
vmovdqa 0x1a0(%rsp), %ymm1
callq 0xbfc0d0
vmovdqa %ymm0, 0x480(%rsp)
vmovdqa 0x460(%rsp), %ymm0
vmovdqa 0x1a0(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x460(%rsp)
vmovdqa 0x1a0(%rsp), %ymm0
vmovdqa 0x440(%rsp), %ymm1
callq 0xbfbf80
vmovdqa %ymm0, 0x440(%rsp)
movl 0x5d8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5d8(%rsp)
jmp 0xbfb5d9
vmovaps 0x440(%rsp), %ymm1
vmovaps 0x420(%rsp), %ymm0
vmovaps %ymm1, 0xbc0(%rsp)
vmovaps %ymm0, 0xba0(%rsp)
vmovaps 0xbc0(%rsp), %ymm0
vmovaps 0xba0(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x20(%rsp)
vmovdqa 0x20(%rsp), %ymm0
vmovdqa %ymm0, 0xfe0(%rsp)
vmovdqa 0xfe0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xbfbc88
vmovaps 0x440(%rsp), %ymm0
callq 0xbfc1d0
movq %rax, 0x4f8(%rsp)
movq 0x4f8(%rsp), %rax
movq %rax, 0x600(%rsp)
movq 0x600(%rsp), %rax
movq %rax, 0x1408(%rsp)
movq %rax, 0x1400(%rsp)
movq %rax, 0x13f8(%rsp)
movq %rax, 0x13f0(%rsp)
vmovq 0x1408(%rsp), %xmm1
vmovq 0x1400(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x13f8(%rsp), %xmm2
vmovq 0x13f0(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x13c0(%rsp)
vmovdqa 0x13c0(%rsp), %ymm0
vmovdqa %ymm0, 0x420(%rsp)
movl 0x5d4(%rsp), %eax
movl %eax, 0x5cc(%rsp)
movq 0x590(%rsp), %rdi
movq 0x598(%rsp), %rsi
movslq 0x5b8(%rsp), %rdx
shlq $0x5, %rdx
vzeroupper
callq 0x19e0a0
jmp 0xbfbc8a
movl 0x5d4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5d4(%rsp)
jmp 0xbfaede
movq 0x590(%rsp), %rax
movq %rax, 0x18(%rsp)
movl 0x5b8(%rsp), %eax
imull 0x5bc(%rsp), %eax
movl %eax, 0x14(%rsp)
movl 0x5c8(%rsp), %eax
movl %eax, 0x5d0(%rsp)
movl $0x0, 0x5d8(%rsp)
movl 0x5d8(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0xbfbd70
movq 0x18(%rsp), %rax
movq (%rax), %rax
cmpq 0x4f8(%rsp), %rax
jne 0xbfbd4a
movl 0x5d8(%rsp), %eax
cltd
idivl 0x5bc(%rsp)
movl %eax, 0x4(%rsp)
movl 0x5d8(%rsp), %eax
cltd
idivl 0x5bc(%rsp)
movl 0x4(%rsp), %eax
imull 0x5b8(%rsp), %edx
addl %edx, %eax
movl %eax, 0x10(%rsp)
movl 0x10(%rsp), %eax
cmpl 0x5d0(%rsp), %eax
jge 0xbfbd48
movl 0x10(%rsp), %eax
movl %eax, 0x5d0(%rsp)
jmp 0xbfbd4a
jmp 0xbfbd4c
movl 0x5d8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5d8(%rsp)
movq 0x18(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x18(%rsp)
jmp 0xbfbcd9
vmovaps 0x4c0(%rsp), %ymm1
vmovaps 0x480(%rsp), %ymm0
vmovaps %ymm1, 0xb80(%rsp)
vmovaps %ymm0, 0xb60(%rsp)
vmovaps 0xb80(%rsp), %ymm0
vmovaps 0xb60(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x460(%rsp), %ymm2
vmovaps 0x4a0(%rsp), %ymm0
vmovaps %ymm2, 0xb40(%rsp)
vmovaps %ymm0, 0xb20(%rsp)
vmovaps 0xb40(%rsp), %ymm0
vmovaps 0xb20(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xf20(%rsp)
vmovdqa %ymm0, 0xf00(%rsp)
vmovdqa 0xf20(%rsp), %ymm0
vpor 0xf00(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xfc0(%rsp)
vmovdqa 0xfc0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0xbfbe58
movq 0x3d8(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, 0x4f8(%rsp)
movl $0x0, 0x5d0(%rsp)
movl $0x0, 0x5cc(%rsp)
movq 0x4f8(%rsp), %rax
movl %eax, %ecx
movq 0x3d8(%rsp), %rax
movl %ecx, (%rax)
movl 0x5d0(%rsp), %ecx
movq 0x3d8(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x5cc(%rsp), %ecx
movq 0x3d8(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x588(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x590(%rsp), %rdi
callq 0x1c3590
movq 0x598(%rsp), %rdi
callq 0x1c3590
movq 0x5a0(%rsp), %rdi
callq 0x1c3590
movq 0x5a8(%rsp), %rdi
callq 0x1c3590
movq 0x3d8(%rsp), %rax
movq %rax, 0x5f8(%rsp)
movq 0x5f8(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)