// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_diag_avx2_256_64.c
// Function: parasail_sw_table_diag_avx2_256_64
parasail_result_t* FNAME(
        const char * const restrict _s1, const int _s1Len,
        const char * const restrict _s2, const int s2Len,
        const int open, const int gap, const parasail_matrix_t *matrix)
{
    /* declare local variables */
    int32_t N = 0;
    int32_t PAD = 0;
    int32_t PAD2 = 0;
    int32_t s1Len = 0;
    int32_t s1Len_PAD = 0;
    int32_t s2Len_PAD = 0;
    int64_t * restrict s1 = NULL;
    int64_t * restrict s2B = NULL;
    int64_t * restrict _H_pr = NULL;
    int64_t * restrict _F_pr = NULL;
    int64_t * restrict s2 = NULL;
    int64_t * restrict H_pr = NULL;
    int64_t * restrict F_pr = NULL;
    parasail_result_t *result = NULL;
    int32_t i = 0;
    int32_t j = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int64_t NEG_LIMIT = 0;
    int64_t POS_LIMIT = 0;
    int64_t score = 0;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i vSaturationCheckMax;
    __m256i vNegInf;
    __m256i vNegInf0;
    __m256i vOpen;
    __m256i vGap;
    __m256i vZero;
    __m256i vOne;
    __m256i vN;
    __m256i vNegOne;
    __m256i vI;
    __m256i vJreset;
    __m256i vMaxH;
    __m256i vEndI;
    __m256i vEndJ;
    __m256i vILimit;
    __m256i vJLimit;

    /* validate inputs */
    PARASAIL_CHECK_NULL(_s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);
    PARASAIL_CHECK_NULL(matrix);
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        PARASAIL_CHECK_NULL(_s1);
        PARASAIL_CHECK_GT0(_s1Len);
    }

    /* initialize stack variables */
    N = 4; /* number of values in vector */
    PAD = N-1;
    PAD2 = PAD*2;
    s1Len = matrix->type == PARASAIL_MATRIX_TYPE_SQUARE ? _s1Len : matrix->length;
    s1Len_PAD = s1Len+PAD;
    s2Len_PAD = s2Len+PAD;
    i = 0;
    j = 0;
    end_query = 0;
    end_ref = 0;
    NEG_LIMIT = (-open < matrix->min ? INT64_MIN + open : INT64_MIN - matrix->min) + 1;
    POS_LIMIT = INT64_MAX - matrix->max - 1;
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi64x_rpl(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi64x_rpl(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInf = _mm256_set1_epi64x_rpl(NEG_LIMIT);
    vNegInf0 = _mm256_srli_si256_rpl(vNegInf, 8); /* shift in a 0 */
    vOpen = _mm256_set1_epi64x_rpl(open);
    vGap  = _mm256_set1_epi64x_rpl(gap);
    vZero = _mm256_set1_epi64x_rpl(0);
    vOne = _mm256_set1_epi64x_rpl(1);
    vN = _mm256_set1_epi64x_rpl(N);
    vNegOne = _mm256_set1_epi64x_rpl(-1);
    vI = _mm256_set_epi64x_rpl(0,1,2,3);
    vJreset = _mm256_set_epi64x_rpl(0,-1,-2,-3);
    vMaxH = vNegInf;
    vEndI = vNegInf;
    vEndJ = vNegInf;
    vILimit = _mm256_set1_epi64x_rpl(s1Len);
    vJLimit = _mm256_set1_epi64x_rpl(s2Len);

    /* initialize result */
#ifdef PARASAIL_TABLE
    result = parasail_result_new_table1(s1Len, s2Len);
#else
#ifdef PARASAIL_ROWCOL
    result = parasail_result_new_rowcol1(s1Len, s2Len);
#else
    result = parasail_result_new();
#endif
#endif
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SW | PARASAIL_FLAG_DIAG
        | PARASAIL_FLAG_BITS_64 | PARASAIL_FLAG_LANES_4;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    s2B= parasail_memalign_int64_t(32, s2Len+PAD2);
    _H_pr = parasail_memalign_int64_t(32, s2Len+PAD2);
    _F_pr = parasail_memalign_int64_t(32, s2Len+PAD2);
    s2 = s2B+PAD; /* will allow later for negative indices */
    H_pr = _H_pr+PAD;
    F_pr = _F_pr+PAD;

    /* validate heap variables */
    if (!s2B) return NULL;
    if (!_H_pr) return NULL;
    if (!_F_pr) return NULL;

    /* convert _s1 from char to int in range 0-23 */
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        s1 = parasail_memalign_int64_t(32, s1Len+PAD);
        if (!s1) return NULL;
        for (i=0; i<s1Len; ++i) {
            s1[i] = matrix->mapper[(unsigned char)_s1[i]];
        }
        /* pad back of s1 with dummy values */
        for (i=s1Len; i<s1Len_PAD; ++i) {
            s1[i] = 0; /* point to first matrix row because we don't care */
        }
    }

    /* convert _s2 from char to int in range 0-23 */
    for (j=0; j<s2Len; ++j) {
        s2[j] = matrix->mapper[(unsigned char)_s2[j]];
    }
    /* pad front of s2 with dummy values */
    for (j=-PAD; j<0; ++j) {
        s2[j] = 0; /* point to first matrix row because we don't care */
    }
    /* pad back of s2 with dummy values */
    for (j=s2Len; j<s2Len_PAD; ++j) {
        s2[j] = 0; /* point to first matrix row because we don't care */
    }

    /* set initial values for stored row */
    for (j=0; j<s2Len; ++j) {
        H_pr[j] = 0;
        F_pr[j] = NEG_LIMIT;
    }
    /* pad front of stored row values */
    for (j=-PAD; j<0; ++j) {
        H_pr[j] = NEG_LIMIT;
        F_pr[j] = NEG_LIMIT;
    }
    /* pad back of stored row values */
    for (j=s2Len; j<s2Len+PAD; ++j) {
        H_pr[j] = NEG_LIMIT;
        F_pr[j] = NEG_LIMIT;
    }

    /* iterate over query sequence */
    for (i=0; i<s1Len; i+=N) {
        __m256i vNH = vNegInf0;
        __m256i vWH = vNegInf0;
        __m256i vE = vNegInf;
        __m256i vF = vNegInf;
        __m256i vJ = vJreset;
        const int * const restrict matrow0 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+0] : ((i+0 >= s1Len) ? s1Len-1 : i+0))];
        const int * const restrict matrow1 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+1] : ((i+1 >= s1Len) ? s1Len-1 : i+1))];
        const int * const restrict matrow2 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+2] : ((i+2 >= s1Len) ? s1Len-1 : i+2))];
        const int * const restrict matrow3 = &matrix->matrix[matrix->size * ((matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) ? s1[i+3] : ((i+3 >= s1Len) ? s1Len-1 : i+3))];
        __m256i vIltLimit = _mm256_cmplt_epi64_rpl(vI, vILimit);
        /* iterate over database sequence */
        for (j=0; j<s2Len+PAD; ++j) {
            __m256i vMat;
            __m256i vNWH = vNH;
            vNH = _mm256_srli_si256_rpl(vWH, 8);
            vNH = _mm256_insert_epi64_rpl(vNH, H_pr[j], 3);
            vF = _mm256_srli_si256_rpl(vF, 8);
            vF = _mm256_insert_epi64_rpl(vF, F_pr[j], 3);
            vF = _mm256_max_epi64_rpl(
                    _mm256_sub_epi64(vNH, vOpen),
                    _mm256_sub_epi64(vF, vGap));
            vE = _mm256_max_epi64_rpl(
                    _mm256_sub_epi64(vWH, vOpen),
                    _mm256_sub_epi64(vE, vGap));
            vMat = _mm256_set_epi64x_rpl(
                    matrow0[s2[j-0]],
                    matrow1[s2[j-1]],
                    matrow2[s2[j-2]],
                    matrow3[s2[j-3]]
                    );
            vNWH = _mm256_add_epi64(vNWH, vMat);
            vWH = _mm256_max_epi64_rpl(vNWH, vE);
            vWH = _mm256_max_epi64_rpl(vWH, vF);
            vWH = _mm256_max_epi64_rpl(vWH, vZero);
            /* as minor diagonal vector passes across the j=-1 boundary,
             * assign the appropriate boundary conditions */
            {
                __m256i cond = _mm256_cmpeq_epi64(vJ,vNegOne);
                vWH = _mm256_andnot_si256(cond, vWH);
                vF = _mm256_blendv_epi8(vF, vNegInf, cond);
                vE = _mm256_blendv_epi8(vE, vNegInf, cond);
            }
            /* cannot start checking sat until after J clears boundary */
            if (j > PAD) {
                vSaturationCheckMin = _mm256_min_epi64_rpl(vSaturationCheckMin, vWH);
                vSaturationCheckMax = _mm256_max_epi64_rpl(vSaturationCheckMax, vWH);
            }
#ifdef PARASAIL_TABLE
            arr_store_si256(result->tables->score_table, vWH, i, s1Len, j, s2Len);
#endif
#ifdef PARASAIL_ROWCOL
            arr_store_rowcol(result->rowcols->score_row, result->rowcols->score_col, vWH, i, s1Len, j, s2Len);
#endif
            H_pr[j-3] = (int64_t)_mm256_extract_epi64_rpl(vWH,0);
            F_pr[j-3] = (int64_t)_mm256_extract_epi64_rpl(vF,0);
            /* as minor diagonal vector passes across table, extract
             * max values within the i,j bounds */
            {
                __m256i cond_valid_J = _mm256_and_si256(
                        _mm256_cmpgt_epi64(vJ, vNegOne),
                        _mm256_cmplt_epi64_rpl(vJ, vJLimit));
                __m256i cond_valid_IJ = _mm256_and_si256(cond_valid_J, vIltLimit);
                __m256i cond_eq = _mm256_cmpeq_epi64(vWH, vMaxH);
                __m256i cond_max = _mm256_cmpgt_epi64(vWH, vMaxH);
                __m256i cond_all = _mm256_and_si256(cond_max, cond_valid_IJ);
                __m256i cond_Jlt = _mm256_cmplt_epi64_rpl(vJ, vEndJ);
                vMaxH = _mm256_blendv_epi8(vMaxH, vWH, cond_all);
                vEndI = _mm256_blendv_epi8(vEndI, vI, cond_all);
                vEndJ = _mm256_blendv_epi8(vEndJ, vJ, cond_all);
                cond_all = _mm256_and_si256(cond_Jlt, cond_eq);
                cond_all = _mm256_and_si256(cond_all, cond_valid_IJ);
                vEndI = _mm256_blendv_epi8(vEndI, vI, cond_all);
                vEndJ = _mm256_blendv_epi8(vEndJ, vJ, cond_all);
            }
            vJ = _mm256_add_epi64(vJ, vOne);
        }
        vI = _mm256_add_epi64(vI, vN);
    }

    /* alignment ending position */
    {
        int64_t *t = (int64_t*)&vMaxH;
        int64_t *i = (int64_t*)&vEndI;
        int64_t *j = (int64_t*)&vEndJ;
        int32_t k;
        for (k=0; k<N; ++k, ++t, ++i, ++j) {
            if (*t > score) {
                score = *t;
                end_query = *i;
                end_ref = *j;
            }
            else if (*t == score) {
                if (*j < end_ref) {
                    end_query = *i;
                    end_ref = *j;
                }
                else if (*j == end_ref && *i < end_query) {
                    end_query = *i;
                    end_ref = *j;
                }
            }
        }
    }

    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(_F_pr);
    parasail_free(_H_pr);
    parasail_free(s2B);
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        parasail_free(s1);
    }

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0x1320, %rsp           # imm = 0x1320
movq 0x10(%rbp), %rax
movq %rdi, 0x5d8(%rsp)
movl %esi, 0x5d4(%rsp)
movq %rdx, 0x5c8(%rsp)
movl %ecx, 0x5c4(%rsp)
movl %r8d, 0x5c0(%rsp)
movl %r9d, 0x5bc(%rsp)
movl $0x0, 0x5b8(%rsp)
movl $0x0, 0x5b4(%rsp)
movl $0x0, 0x5b0(%rsp)
movl $0x0, 0x5ac(%rsp)
movl $0x0, 0x5a8(%rsp)
movl $0x0, 0x5a4(%rsp)
movq $0x0, 0x598(%rsp)
movq $0x0, 0x590(%rsp)
movq $0x0, 0x588(%rsp)
movq $0x0, 0x580(%rsp)
movq $0x0, 0x578(%rsp)
movq $0x0, 0x570(%rsp)
movq $0x0, 0x568(%rsp)
movq $0x0, 0x560(%rsp)
movl $0x0, 0x55c(%rsp)
movl $0x0, 0x558(%rsp)
movl $0x0, 0x554(%rsp)
movl $0x0, 0x550(%rsp)
movq $0x0, 0x548(%rsp)
movq $0x0, 0x540(%rsp)
movq $0x0, 0x538(%rsp)
cmpq $0x0, 0x5c8(%rsp)
jne 0x9bb805
movq 0x46b803(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x33080c(%rip), %rsi    # 0xcebfeb
leaq 0x2e127a(%rip), %rdx    # 0xc9ca60
leaq 0x330f10(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
jmp 0x9bb807
jmp 0x9bb809
cmpl $0x0, 0x5c4(%rsp)
jg 0x9bb84a
movq 0x46b7be(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x330edd(%rip), %rsi    # 0xcec701
leaq 0x2e1235(%rip), %rdx    # 0xc9ca60
leaq 0x330ee3(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
jmp 0x9bb84c
jmp 0x9bb84e
cmpl $0x0, 0x5c0(%rsp)
jge 0x9bb88f
movq 0x46b779(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x330eb2(%rip), %rsi    # 0xcec71b
leaq 0x2e11f0(%rip), %rdx    # 0xc9ca60
leaq 0x330eb9(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
jmp 0x9bb891
jmp 0x9bb893
cmpl $0x0, 0x5bc(%rsp)
jge 0x9bb8d4
movq 0x46b734(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x330e6d(%rip), %rsi    # 0xcec71b
leaq 0x2e11ab(%rip), %rdx    # 0xc9ca60
leaq 0x330e79(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
jmp 0x9bb8d6
jmp 0x9bb8d8
cmpq $0x0, 0x10(%rbp)
jne 0x9bb916
movq 0x46b6f2(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x3306fb(%rip), %rsi    # 0xcebfeb
leaq 0x2e1169(%rip), %rdx    # 0xc9ca60
leaq 0x331027(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
jmp 0x9bb918
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bb9b3
jmp 0x9bb928
cmpq $0x0, 0x5d8(%rsp)
jne 0x9bb96a
movq 0x46b69e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x3306a7(%rip), %rsi    # 0xcebfeb
leaq 0x2e1115(%rip), %rdx    # 0xc9ca60
leaq 0x330de7(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
jmp 0x9bb96c
jmp 0x9bb96e
cmpl $0x0, 0x5d4(%rsp)
jg 0x9bb9af
movq 0x46b659(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x330d78(%rip), %rsi    # 0xcec701
leaq 0x2e10d0(%rip), %rdx    # 0xc9ca60
leaq 0x330da6(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
jmp 0x9bb9b1
jmp 0x9bb9b3
movl $0x4, 0x5b8(%rsp)
movl 0x5b8(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x5b4(%rsp)
movl 0x5b4(%rsp), %eax
shll %eax
movl %eax, 0x5b0(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bb9f9
movl 0x5d4(%rsp), %eax
movl %eax, 0xa0(%rsp)
jmp 0x9bba07
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, 0xa0(%rsp)
movl 0xa0(%rsp), %eax
movl %eax, 0x5ac(%rsp)
movl 0x5ac(%rsp), %eax
addl 0x5b4(%rsp), %eax
movl %eax, 0x5a8(%rsp)
movl 0x5c4(%rsp), %eax
addl 0x5b4(%rsp), %eax
movl %eax, 0x5a4(%rsp)
movl $0x0, 0x55c(%rsp)
movl $0x0, 0x558(%rsp)
movl $0x0, 0x554(%rsp)
movl $0x0, 0x550(%rsp)
xorl %eax, %eax
subl 0x5c0(%rsp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x9bba9c
movslq 0x5c0(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, 0x98(%rsp)
jmp 0x9bbab9
movq 0x10(%rbp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, 0x98(%rsp)
movq 0x98(%rsp), %rax
incq %rax
movq %rax, 0x548(%rsp)
movq 0x10(%rbp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, 0x540(%rsp)
movq 0x548(%rsp), %rax
movq %rax, 0x538(%rsp)
movq 0x548(%rsp), %rax
movq %rax, 0x638(%rsp)
movq 0x638(%rsp), %rax
movq %rax, 0x778(%rsp)
movq %rax, 0x770(%rsp)
movq %rax, 0x768(%rsp)
movq %rax, 0x760(%rsp)
vmovq 0x768(%rsp), %xmm1
vmovq 0x760(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x778(%rsp), %xmm2
vmovq 0x770(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x750(%rsp)
vmovdqa %xmm0, 0x740(%rsp)
vmovaps 0x740(%rsp), %ymm0
vmovaps %ymm0, 0x500(%rsp)
movq 0x540(%rsp), %rax
movq %rax, 0x630(%rsp)
movq 0x630(%rsp), %rax
movq %rax, 0x7b8(%rsp)
movq %rax, 0x7b0(%rsp)
movq %rax, 0x7a8(%rsp)
movq %rax, 0x7a0(%rsp)
vmovq 0x7a8(%rsp), %xmm1
vmovq 0x7a0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x7b8(%rsp), %xmm2
vmovq 0x7b0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x790(%rsp)
vmovdqa %xmm0, 0x780(%rsp)
vmovaps 0x780(%rsp), %ymm0
vmovaps %ymm0, 0x4e0(%rsp)
vmovaps 0x4e0(%rsp), %ymm0
vmovaps %ymm0, 0x4c0(%rsp)
vmovaps 0x500(%rsp), %ymm0
vmovaps %ymm0, 0x4a0(%rsp)
movq 0x548(%rsp), %rax
movq %rax, 0x628(%rsp)
movq 0x628(%rsp), %rax
movq %rax, 0x7f8(%rsp)
movq %rax, 0x7f0(%rsp)
movq %rax, 0x7e8(%rsp)
movq %rax, 0x7e0(%rsp)
vmovq 0x7e8(%rsp), %xmm1
vmovq 0x7e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x7f8(%rsp), %xmm2
vmovq 0x7f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x7d0(%rsp)
vmovdqa %xmm0, 0x7c0(%rsp)
vmovaps 0x7c0(%rsp), %ymm0
vmovaps %ymm0, 0x480(%rsp)
vmovaps 0x480(%rsp), %ymm0
vmovdqa 0x490(%rsp), %xmm1
vmovdqa %xmm1, %xmm1
vpslldq $0x8, %ymm1, %ymm1      # ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,ymm1[0,1,2,3,4,5,6,7],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[16,17,18,19,20,21,22,23]
vpsrldq $0x8, %ymm0, %ymm0      # ymm0 = ymm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[24,25,26,27,28,29,30,31],zero,zero,zero,zero,zero,zero,zero,zero
vmovaps %ymm1, 0x720(%rsp)
vmovaps %ymm0, 0x700(%rsp)
vmovaps 0x720(%rsp), %ymm0
vmovaps 0x700(%rsp), %ymm1
vpor %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x460(%rsp)
movslq 0x5c0(%rsp), %rax
movq %rax, 0x620(%rsp)
movq 0x620(%rsp), %rax
movq %rax, 0x838(%rsp)
movq %rax, 0x830(%rsp)
movq %rax, 0x828(%rsp)
movq %rax, 0x820(%rsp)
vmovq 0x828(%rsp), %xmm1
vmovq 0x820(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x838(%rsp), %xmm2
vmovq 0x830(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x810(%rsp)
vmovdqa %xmm0, 0x800(%rsp)
vmovaps 0x800(%rsp), %ymm0
vmovaps %ymm0, 0x440(%rsp)
movslq 0x5bc(%rsp), %rax
movq %rax, 0x618(%rsp)
movq 0x618(%rsp), %rax
movq %rax, 0x878(%rsp)
movq %rax, 0x870(%rsp)
movq %rax, 0x868(%rsp)
movq %rax, 0x860(%rsp)
vmovq 0x868(%rsp), %xmm1
vmovq 0x860(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x878(%rsp), %xmm2
vmovq 0x870(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x850(%rsp)
vmovdqa %xmm0, 0x840(%rsp)
vmovaps 0x840(%rsp), %ymm0
vmovaps %ymm0, 0x420(%rsp)
movq $0x0, 0x610(%rsp)
movq 0x610(%rsp), %rax
movq %rax, 0x8b8(%rsp)
movq %rax, 0x8b0(%rsp)
movq %rax, 0x8a8(%rsp)
movq %rax, 0x8a0(%rsp)
vmovq 0x8a8(%rsp), %xmm1
vmovq 0x8a0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x8b8(%rsp), %xmm2
vmovq 0x8b0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x890(%rsp)
vmovdqa %xmm0, 0x880(%rsp)
vmovaps 0x880(%rsp), %ymm0
vmovaps %ymm0, 0x400(%rsp)
movq $0x1, 0x608(%rsp)
movq 0x608(%rsp), %rax
movq %rax, 0x8f8(%rsp)
movq %rax, 0x8f0(%rsp)
movq %rax, 0x8e8(%rsp)
movq %rax, 0x8e0(%rsp)
vmovq 0x8e8(%rsp), %xmm1
vmovq 0x8e0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x8f8(%rsp), %xmm2
vmovq 0x8f0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x8d0(%rsp)
vmovdqa %xmm0, 0x8c0(%rsp)
vmovaps 0x8c0(%rsp), %ymm0
vmovaps %ymm0, 0x3e0(%rsp)
movslq 0x5b8(%rsp), %rax
movq %rax, 0x600(%rsp)
movq 0x600(%rsp), %rax
movq %rax, 0x938(%rsp)
movq %rax, 0x930(%rsp)
movq %rax, 0x928(%rsp)
movq %rax, 0x920(%rsp)
vmovq 0x928(%rsp), %xmm1
vmovq 0x920(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x938(%rsp), %xmm2
vmovq 0x930(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x910(%rsp)
vmovdqa %xmm0, 0x900(%rsp)
vmovaps 0x900(%rsp), %ymm0
vmovaps %ymm0, 0x3c0(%rsp)
movq $-0x1, 0x5f8(%rsp)
movq 0x5f8(%rsp), %rax
movq %rax, 0x978(%rsp)
movq %rax, 0x970(%rsp)
movq %rax, 0x968(%rsp)
movq %rax, 0x960(%rsp)
vmovq 0x968(%rsp), %xmm1
vmovq 0x960(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x978(%rsp), %xmm2
vmovq 0x970(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x950(%rsp)
vmovdqa %xmm0, 0x940(%rsp)
vmovaps 0x940(%rsp), %ymm0
vmovaps %ymm0, 0x3a0(%rsp)
movq $0x0, 0xab8(%rsp)
movq $0x1, 0xab0(%rsp)
movq $0x2, 0xaa8(%rsp)
movq $0x3, 0xaa0(%rsp)
vmovq 0xaa8(%rsp), %xmm1
vmovq 0xaa0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0xab8(%rsp), %xmm2
vmovq 0xab0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0xa90(%rsp)
vmovdqa %xmm0, 0xa80(%rsp)
vmovaps 0xa80(%rsp), %ymm0
vmovaps %ymm0, 0x380(%rsp)
movq $0x0, 0xa78(%rsp)
movq $-0x1, 0xa70(%rsp)
movq $-0x2, 0xa68(%rsp)
movq $-0x3, 0xa60(%rsp)
vmovq 0xa68(%rsp), %xmm1
vmovq 0xa60(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0xa78(%rsp), %xmm2
vmovq 0xa70(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0xa50(%rsp)
vmovdqa %xmm0, 0xa40(%rsp)
vmovaps 0xa40(%rsp), %ymm0
vmovaps %ymm0, 0x360(%rsp)
vmovaps 0x480(%rsp), %ymm0
vmovaps %ymm0, 0x340(%rsp)
vmovaps 0x480(%rsp), %ymm0
vmovaps %ymm0, 0x320(%rsp)
vmovaps 0x480(%rsp), %ymm0
vmovaps %ymm0, 0x300(%rsp)
movslq 0x5ac(%rsp), %rax
movq %rax, 0x5f0(%rsp)
movq 0x5f0(%rsp), %rax
movq %rax, 0x9b8(%rsp)
movq %rax, 0x9b0(%rsp)
movq %rax, 0x9a8(%rsp)
movq %rax, 0x9a0(%rsp)
vmovq 0x9a8(%rsp), %xmm1
vmovq 0x9a0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x9b8(%rsp), %xmm2
vmovq 0x9b0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x990(%rsp)
vmovdqa %xmm0, 0x980(%rsp)
vmovaps 0x980(%rsp), %ymm0
vmovaps %ymm0, 0x2e0(%rsp)
movslq 0x5c4(%rsp), %rax
movq %rax, 0x5e8(%rsp)
movq 0x5e8(%rsp), %rax
movq %rax, 0x9f8(%rsp)
movq %rax, 0x9f0(%rsp)
movq %rax, 0x9e8(%rsp)
movq %rax, 0x9e0(%rsp)
vmovq 0x9f8(%rsp), %xmm1
vmovq 0x9f0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x9e8(%rsp), %xmm2
vmovq 0x9e0(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x9c0(%rsp)
vmovdqa 0x9c0(%rsp), %ymm0
vmovdqa %ymm0, 0x2c0(%rsp)
movl 0x5ac(%rsp), %edi
movl 0x5c4(%rsp), %esi
vzeroupper
callq 0x1c39b0
movq %rax, 0x560(%rsp)
cmpq $0x0, 0x560(%rsp)
jne 0x9bc2ab
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
movq 0x560(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x4801004, %ecx        # imm = 0x4801004
movl %ecx, 0xc(%rax)
movq 0x560(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x20000, %ecx          # imm = 0x20000
movl %ecx, 0xc(%rax)
movl 0x5c4(%rsp), %eax
addl 0x5b0(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x590(%rsp)
movl 0x5c4(%rsp), %eax
addl 0x5b0(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x588(%rsp)
movl 0x5c4(%rsp), %eax
addl 0x5b0(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x580(%rsp)
movq 0x590(%rsp), %rax
movslq 0x5b4(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x578(%rsp)
movq 0x588(%rsp), %rax
movslq 0x5b4(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x570(%rsp)
movq 0x580(%rsp), %rax
movslq 0x5b4(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x568(%rsp)
cmpq $0x0, 0x590(%rsp)
jne 0x9bc3b5
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
cmpq $0x0, 0x588(%rsp)
jne 0x9bc3d1
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
cmpq $0x0, 0x580(%rsp)
jne 0x9bc3ed
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bc4e7
movl 0x5ac(%rsp), %eax
addl 0x5b4(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x598(%rsp)
cmpq $0x0, 0x598(%rsp)
jne 0x9bc43a
movq $0x0, 0x5e0(%rsp)
jmp 0x9bd82f
movl $0x0, 0x55c(%rsp)
movl 0x55c(%rsp), %eax
cmpl 0x5ac(%rsp), %eax
jge 0x9bc49c
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x5d8(%rsp), %rcx
movslq 0x55c(%rsp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq (%rax,%rcx,4), %rdx
movq 0x598(%rsp), %rax
movslq 0x55c(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x55c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x55c(%rsp)
jmp 0x9bc445
movl 0x5ac(%rsp), %eax
movl %eax, 0x55c(%rsp)
movl 0x55c(%rsp), %eax
cmpl 0x5a8(%rsp), %eax
jge 0x9bc4e5
movq 0x598(%rsp), %rax
movslq 0x55c(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movl 0x55c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x55c(%rsp)
jmp 0x9bc4aa
jmp 0x9bc4e7
movl $0x0, 0x558(%rsp)
movl 0x558(%rsp), %eax
cmpl 0x5c4(%rsp), %eax
jge 0x9bc549
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x5c8(%rsp), %rcx
movslq 0x558(%rsp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq (%rax,%rcx,4), %rdx
movq 0x578(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x558(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x558(%rsp)
jmp 0x9bc4f2
xorl %eax, %eax
subl 0x5b4(%rsp), %eax
movl %eax, 0x558(%rsp)
cmpl $0x0, 0x558(%rsp)
jge 0x9bc58e
movq 0x578(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movl 0x558(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x558(%rsp)
jmp 0x9bc559
movl 0x5c4(%rsp), %eax
movl %eax, 0x558(%rsp)
movl 0x558(%rsp), %eax
cmpl 0x5a4(%rsp), %eax
jge 0x9bc5d7
movq 0x578(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movl 0x558(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x558(%rsp)
jmp 0x9bc59c
movl $0x0, 0x558(%rsp)
movl 0x558(%rsp), %eax
cmpl 0x5c4(%rsp), %eax
jge 0x9bc639
movq 0x570(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movq 0x548(%rsp), %rdx
movq 0x568(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x558(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x558(%rsp)
jmp 0x9bc5e2
xorl %eax, %eax
subl 0x5b4(%rsp), %eax
movl %eax, 0x558(%rsp)
cmpl $0x0, 0x558(%rsp)
jge 0x9bc69e
movq 0x548(%rsp), %rdx
movq 0x570(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x548(%rsp), %rdx
movq 0x568(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x558(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x558(%rsp)
jmp 0x9bc649
movl 0x5c4(%rsp), %eax
movl %eax, 0x558(%rsp)
movl 0x558(%rsp), %eax
movl 0x5c4(%rsp), %ecx
addl 0x5b4(%rsp), %ecx
cmpl %ecx, %eax
jge 0x9bc710
movq 0x548(%rsp), %rdx
movq 0x570(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x548(%rsp), %rdx
movq 0x568(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x558(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x558(%rsp)
jmp 0x9bc6ac
movl $0x0, 0x55c(%rsp)
movl 0x55c(%rsp), %eax
cmpl 0x5ac(%rsp), %eax
jge 0x9bd519
vmovdqa 0x460(%rsp), %ymm0
vmovdqa %ymm0, 0x2a0(%rsp)
vmovdqa 0x460(%rsp), %ymm0
vmovdqa %ymm0, 0x280(%rsp)
vmovdqa 0x480(%rsp), %ymm0
vmovdqa %ymm0, 0x260(%rsp)
vmovdqa 0x480(%rsp), %ymm0
vmovdqa %ymm0, 0x240(%rsp)
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm0, 0x220(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x88(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x90(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bc7d6
movq 0x598(%rsp), %rax
movl 0x55c(%rsp), %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x80(%rsp)
jmp 0x9bc815
movl 0x55c(%rsp), %eax
addl $0x0, %eax
cmpl 0x5ac(%rsp), %eax
jl 0x9bc7f9
movl 0x5ac(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x7c(%rsp)
jmp 0x9bc807
movl 0x55c(%rsp), %eax
addl $0x0, %eax
movl %eax, 0x7c(%rsp)
movl 0x7c(%rsp), %eax
cltq
movq %rax, 0x80(%rsp)
movq 0x88(%rsp), %rax
movq 0x90(%rsp), %rcx
movq 0x80(%rsp), %rdx
imulq %rdx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x218(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x68(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x70(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bc884
movq 0x598(%rsp), %rax
movl 0x55c(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x60(%rsp)
jmp 0x9bc8c0
movl 0x55c(%rsp), %eax
addl $0x1, %eax
cmpl 0x5ac(%rsp), %eax
jl 0x9bc8a7
movl 0x5ac(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x5c(%rsp)
jmp 0x9bc8b5
movl 0x55c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5c(%rsp)
movl 0x5c(%rsp), %eax
cltq
movq %rax, 0x60(%rsp)
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rcx
movq 0x60(%rsp), %rdx
imulq %rdx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x210(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bc926
movq 0x598(%rsp), %rax
movl 0x55c(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x40(%rsp)
jmp 0x9bc962
movl 0x55c(%rsp), %eax
addl $0x2, %eax
cmpl 0x5ac(%rsp), %eax
jl 0x9bc949
movl 0x5ac(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x3c(%rsp)
jmp 0x9bc957
movl 0x55c(%rsp), %eax
addl $0x2, %eax
movl %eax, 0x3c(%rsp)
movl 0x3c(%rsp), %eax
cltq
movq %rax, 0x40(%rsp)
movq 0x48(%rsp), %rax
movq 0x50(%rsp), %rcx
movq 0x40(%rsp), %rdx
imulq %rdx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x208(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x30(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bc9c8
movq 0x598(%rsp), %rax
movl 0x55c(%rsp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x20(%rsp)
jmp 0x9bca04
movl 0x55c(%rsp), %eax
addl $0x3, %eax
cmpl 0x5ac(%rsp), %eax
jl 0x9bc9eb
movl 0x5ac(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x1c(%rsp)
jmp 0x9bc9f9
movl 0x55c(%rsp), %eax
addl $0x3, %eax
movl %eax, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
cltq
movq %rax, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
movq 0x20(%rsp), %rdx
imulq %rdx, %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, 0x200(%rsp)
vmovaps 0x2e0(%rsp), %ymm1
vmovaps 0x380(%rsp), %ymm0
vmovaps %ymm1, 0xc60(%rsp)
vmovaps %ymm0, 0xc40(%rsp)
vmovaps 0xc60(%rsp), %ymm0
vmovaps 0xc40(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1e0(%rsp)
movl $0x0, 0x558(%rsp)
movl 0x558(%rsp), %eax
movl 0x5c4(%rsp), %ecx
addl 0x5b4(%rsp), %ecx
cmpl %ecx, %eax
jge 0x9bd4c0
vmovaps 0x2a0(%rsp), %ymm0
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x280(%rsp), %ymm0
vmovdqa 0x290(%rsp), %xmm1
vmovdqa %xmm1, %xmm1
vpslldq $0x8, %ymm1, %ymm1      # ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,ymm1[0,1,2,3,4,5,6,7],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[16,17,18,19,20,21,22,23]
vpsrldq $0x8, %ymm0, %ymm0      # ymm0 = ymm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[24,25,26,27,28,29,30,31],zero,zero,zero,zero,zero,zero,zero,zero
vmovaps %ymm1, 0x6e0(%rsp)
vmovaps %ymm0, 0x6c0(%rsp)
vmovaps 0x6e0(%rsp), %ymm0
vmovaps 0x6c0(%rsp), %ymm1
vpor %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x2a0(%rsp)
movq 0x570(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x2b8(%rsp)
vmovaps 0x240(%rsp), %ymm0
vmovdqa 0x250(%rsp), %xmm1
vmovdqa %xmm1, %xmm1
vpslldq $0x8, %ymm1, %ymm1      # ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,ymm1[0,1,2,3,4,5,6,7],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[16,17,18,19,20,21,22,23]
vpsrldq $0x8, %ymm0, %ymm0      # ymm0 = ymm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[24,25,26,27,28,29,30,31],zero,zero,zero,zero,zero,zero,zero,zero
vmovaps %ymm1, 0x6a0(%rsp)
vmovaps %ymm0, 0x680(%rsp)
vmovaps 0x6a0(%rsp), %ymm0
vmovaps 0x680(%rsp), %ymm1
vpor %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x240(%rsp)
movq 0x568(%rsp), %rax
movslq 0x558(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x258(%rsp)
vmovaps 0x2a0(%rsp), %ymm1
vmovaps 0x440(%rsp), %ymm0
vmovaps %ymm1, 0xd60(%rsp)
vmovaps %ymm0, 0xd40(%rsp)
vmovaps 0xd60(%rsp), %ymm0
vmovaps 0xd40(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps 0x240(%rsp), %ymm2
vmovaps 0x420(%rsp), %ymm1
vmovaps %ymm2, 0xd20(%rsp)
vmovaps %ymm1, 0xd00(%rsp)
vmovaps 0xd20(%rsp), %ymm1
vmovaps 0xd00(%rsp), %ymm2
vpsubq %ymm2, %ymm1, %ymm1
callq 0x9bd840
vmovaps %ymm0, 0x240(%rsp)
vmovaps 0x280(%rsp), %ymm1
vmovaps 0x440(%rsp), %ymm0
vmovaps %ymm1, 0xce0(%rsp)
vmovaps %ymm0, 0xcc0(%rsp)
vmovaps 0xce0(%rsp), %ymm0
vmovaps 0xcc0(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps 0x260(%rsp), %ymm2
vmovaps 0x420(%rsp), %ymm1
vmovaps %ymm2, 0xca0(%rsp)
vmovaps %ymm1, 0xc80(%rsp)
vmovaps 0xca0(%rsp), %ymm1
vmovaps 0xc80(%rsp), %ymm2
vpsubq %ymm2, %ymm1, %ymm1
callq 0x9bd840
vmovaps %ymm0, 0x260(%rsp)
movq 0x218(%rsp), %rax
movq 0x578(%rsp), %rdi
movslq 0x558(%rsp), %rcx
movl %ecx, %r8d
movq (%rdi,%rcx,8), %rcx
movslq (%rax,%rcx,4), %rsi
movq 0x210(%rsp), %rax
movl %r8d, %ecx
decl %ecx
movslq %ecx, %rcx
movq (%rdi,%rcx,8), %rcx
movslq (%rax,%rcx,4), %rdx
movq 0x208(%rsp), %rax
movl %r8d, %ecx
addl $-0x2, %ecx
movslq %ecx, %rcx
movq (%rdi,%rcx,8), %rcx
movslq (%rax,%rcx,4), %rcx
movq 0x200(%rsp), %rax
addl $-0x3, %r8d
movslq %r8d, %r8
movq (%rdi,%r8,8), %rdi
movslq (%rax,%rdi,4), %rax
movq %rsi, 0xa38(%rsp)
movq %rdx, 0xa30(%rsp)
movq %rcx, 0xa28(%rsp)
movq %rax, 0xa20(%rsp)
vmovq 0xa28(%rsp), %xmm1
vmovq 0xa20(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0xa38(%rsp), %xmm2
vmovq 0xa30(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0xa10(%rsp)
vmovdqa %xmm0, 0xa00(%rsp)
vmovaps 0xa00(%rsp), %ymm0
vmovaps %ymm0, 0x1c0(%rsp)
vmovaps 0x1a0(%rsp), %ymm1
vmovaps 0x1c0(%rsp), %ymm0
vmovaps %ymm1, 0xe20(%rsp)
vmovaps %ymm0, 0xe00(%rsp)
vmovaps 0xe20(%rsp), %ymm0
vmovaps 0xe00(%rsp), %ymm1
vpaddq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x1a0(%rsp), %ymm0
vmovaps 0x260(%rsp), %ymm1
callq 0x9bd840
vmovaps %ymm0, 0x280(%rsp)
vmovaps 0x280(%rsp), %ymm0
vmovaps 0x240(%rsp), %ymm1
callq 0x9bd840
vmovaps %ymm0, 0x280(%rsp)
vmovaps 0x280(%rsp), %ymm0
vmovaps 0x400(%rsp), %ymm1
callq 0x9bd840
vmovaps %ymm0, 0x280(%rsp)
vmovaps 0x220(%rsp), %ymm1
vmovaps 0x3a0(%rsp), %ymm0
vmovaps %ymm1, 0xea0(%rsp)
vmovaps %ymm0, 0xe80(%rsp)
vmovaps 0xea0(%rsp), %ymm0
vmovaps 0xe80(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x180(%rsp)
vmovaps 0x180(%rsp), %ymm1
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm1, 0xee0(%rsp)
vmovaps %ymm0, 0xec0(%rsp)
vmovaps 0xee0(%rsp), %ymm0
vpcmpeqd %ymm1, %ymm1, %ymm1
vpxor %ymm1, %ymm0, %ymm0
vpand 0xec0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x280(%rsp)
vmovdqa 0x240(%rsp), %ymm2
vmovdqa 0x480(%rsp), %ymm1
vmovdqa 0x180(%rsp), %ymm0
vmovdqa %ymm2, 0x1180(%rsp)
vmovdqa %ymm1, 0x1160(%rsp)
vmovdqa %ymm0, 0x1140(%rsp)
vmovdqa 0x1180(%rsp), %ymm0
vmovdqa 0x1160(%rsp), %ymm1
vmovdqa 0x1140(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x240(%rsp)
vmovdqa 0x260(%rsp), %ymm2
vmovdqa 0x480(%rsp), %ymm1
vmovdqa 0x180(%rsp), %ymm0
vmovdqa %ymm2, 0x1120(%rsp)
vmovdqa %ymm1, 0x1100(%rsp)
vmovdqa %ymm0, 0x10e0(%rsp)
vmovdqa 0x1120(%rsp), %ymm0
vmovdqa 0x1100(%rsp), %ymm1
vmovdqa 0x10e0(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x260(%rsp)
movl 0x558(%rsp), %eax
cmpl 0x5b4(%rsp), %eax
jle 0x9bcf98
vmovdqa 0x4c0(%rsp), %ymm0
vmovdqa 0x280(%rsp), %ymm1
callq 0x9bd940
vmovdqa %ymm0, 0x4c0(%rsp)
vmovdqa 0x4a0(%rsp), %ymm0
vmovdqa 0x280(%rsp), %ymm1
callq 0x9bd840
vmovdqa %ymm0, 0x4a0(%rsp)
movq 0x560(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
vmovaps 0x280(%rsp), %ymm0
movl 0x55c(%rsp), %esi
movl 0x5ac(%rsp), %edx
movl 0x558(%rsp), %ecx
movl 0x5c4(%rsp), %r8d
callq 0x9bda40
movq 0x280(%rsp), %rdx
movq 0x570(%rsp), %rax
movl 0x558(%rsp), %ecx
addl $-0x3, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x240(%rsp), %rdx
movq 0x568(%rsp), %rax
movl 0x558(%rsp), %ecx
addl $-0x3, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
vmovaps 0x220(%rsp), %ymm1
vmovaps 0x3a0(%rsp), %ymm0
vmovaps %ymm1, 0xc20(%rsp)
vmovaps %ymm0, 0xc00(%rsp)
vmovaps 0xc20(%rsp), %ymm0
vmovaps 0xc00(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x2c0(%rsp), %ymm2
vmovaps 0x220(%rsp), %ymm0
vmovaps %ymm2, 0xbe0(%rsp)
vmovaps %ymm0, 0xbc0(%rsp)
vmovaps 0xbe0(%rsp), %ymm0
vmovaps 0xbc0(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovaps %ymm1, 0x12c0(%rsp)
vmovaps %ymm0, 0x12a0(%rsp)
vmovaps 0x12c0(%rsp), %ymm0
vmovaps 0x12a0(%rsp), %ymm1
vpand %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x160(%rsp)
vmovaps 0x160(%rsp), %ymm1
vmovaps 0x1e0(%rsp), %ymm0
vmovaps %ymm1, 0x1280(%rsp)
vmovaps %ymm0, 0x1260(%rsp)
vmovaps 0x1280(%rsp), %ymm0
vmovaps 0x1260(%rsp), %ymm1
vpand %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x140(%rsp)
vmovaps 0x280(%rsp), %ymm1
vmovaps 0x340(%rsp), %ymm0
vmovaps %ymm1, 0xe60(%rsp)
vmovaps %ymm0, 0xe40(%rsp)
vmovaps 0xe60(%rsp), %ymm0
vmovaps 0xe40(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x280(%rsp), %ymm1
vmovaps 0x340(%rsp), %ymm0
vmovaps %ymm1, 0xba0(%rsp)
vmovaps %ymm0, 0xb80(%rsp)
vmovaps 0xba0(%rsp), %ymm0
vmovaps 0xb80(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x100(%rsp)
vmovaps 0x100(%rsp), %ymm1
vmovaps 0x140(%rsp), %ymm0
vmovaps %ymm1, 0x1240(%rsp)
vmovaps %ymm0, 0x1220(%rsp)
vmovaps 0x1240(%rsp), %ymm0
vmovaps 0x1220(%rsp), %ymm1
vpand %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xe0(%rsp)
vmovaps 0x300(%rsp), %ymm1
vmovaps 0x220(%rsp), %ymm0
vmovaps %ymm1, 0xb60(%rsp)
vmovaps %ymm0, 0xb40(%rsp)
vmovaps 0xb60(%rsp), %ymm0
vmovaps 0xb40(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0x340(%rsp), %ymm2
vmovdqa 0x280(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm2, 0x10c0(%rsp)
vmovdqa %ymm1, 0x10a0(%rsp)
vmovdqa %ymm0, 0x1080(%rsp)
vmovdqa 0x10c0(%rsp), %ymm0
vmovdqa 0x10a0(%rsp), %ymm1
vmovdqa 0x1080(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x340(%rsp)
vmovdqa 0x320(%rsp), %ymm2
vmovdqa 0x380(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm2, 0x1060(%rsp)
vmovdqa %ymm1, 0x1040(%rsp)
vmovdqa %ymm0, 0x1020(%rsp)
vmovdqa 0x1060(%rsp), %ymm0
vmovdqa 0x1040(%rsp), %ymm1
vmovdqa 0x1020(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x320(%rsp)
vmovdqa 0x300(%rsp), %ymm2
vmovdqa 0x220(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm2, 0x1000(%rsp)
vmovdqa %ymm1, 0xfe0(%rsp)
vmovdqa %ymm0, 0xfc0(%rsp)
vmovdqa 0x1000(%rsp), %ymm0
vmovdqa 0xfe0(%rsp), %ymm1
vmovdqa 0xfc0(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x300(%rsp)
vmovdqa 0xc0(%rsp), %ymm1
vmovdqa 0x120(%rsp), %ymm0
vmovdqa %ymm1, 0x1200(%rsp)
vmovdqa %ymm0, 0x11e0(%rsp)
vmovdqa 0x1200(%rsp), %ymm0
vpand 0x11e0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0x140(%rsp), %ymm0
vmovdqa %ymm1, 0x11c0(%rsp)
vmovdqa %ymm0, 0x11a0(%rsp)
vmovdqa 0x11c0(%rsp), %ymm0
vpand 0x11a0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xe0(%rsp)
vmovdqa 0x320(%rsp), %ymm2
vmovdqa 0x380(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm2, 0xfa0(%rsp)
vmovdqa %ymm1, 0xf80(%rsp)
vmovdqa %ymm0, 0xf60(%rsp)
vmovdqa 0xfa0(%rsp), %ymm0
vmovdqa 0xf80(%rsp), %ymm1
vmovdqa 0xf60(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x320(%rsp)
vmovdqa 0x300(%rsp), %ymm2
vmovdqa 0x220(%rsp), %ymm1
vmovdqa 0xe0(%rsp), %ymm0
vmovdqa %ymm2, 0xf40(%rsp)
vmovdqa %ymm1, 0xf20(%rsp)
vmovdqa %ymm0, 0xf00(%rsp)
vmovdqa 0xf40(%rsp), %ymm0
vmovdqa 0xf20(%rsp), %ymm1
vmovdqa 0xf00(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x300(%rsp)
vmovdqa 0x220(%rsp), %ymm1
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm1, 0xde0(%rsp)
vmovdqa %ymm0, 0xdc0(%rsp)
vmovdqa 0xde0(%rsp), %ymm0
vpaddq 0xdc0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x220(%rsp)
movl 0x558(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x558(%rsp)
jmp 0x9bca72
vmovdqa 0x380(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0xda0(%rsp)
vmovdqa %ymm0, 0xd80(%rsp)
vmovdqa 0xda0(%rsp), %ymm0
vpaddq 0xd80(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x380(%rsp)
movl 0x5b8(%rsp), %eax
addl 0x55c(%rsp), %eax
movl %eax, 0x55c(%rsp)
jmp 0x9bc71b
leaq 0x340(%rsp), %rax
movq %rax, 0xb8(%rsp)
leaq 0x320(%rsp), %rax
movq %rax, 0xb0(%rsp)
leaq 0x300(%rsp), %rax
movq %rax, 0xa8(%rsp)
movl $0x0, 0xa4(%rsp)
movl 0xa4(%rsp), %eax
cmpl 0x5b8(%rsp), %eax
jge 0x9bd6be
movq 0xb8(%rsp), %rax
movq (%rax), %rax
cmpq 0x538(%rsp), %rax
jle 0x9bd5b9
movq 0xb8(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x538(%rsp)
movq 0xb0(%rsp), %rax
movq (%rax), %rax
movl %eax, 0x554(%rsp)
movq 0xa8(%rsp), %rax
movq (%rax), %rax
movl %eax, 0x550(%rsp)
jmp 0x9bd66a
movq 0xb8(%rsp), %rax
movq (%rax), %rax
cmpq 0x538(%rsp), %rax
jne 0x9bd668
movq 0xa8(%rsp), %rax
movq (%rax), %rax
movslq 0x550(%rsp), %rcx
cmpq %rcx, %rax
jge 0x9bd610
movq 0xb0(%rsp), %rax
movq (%rax), %rax
movl %eax, 0x554(%rsp)
movq 0xa8(%rsp), %rax
movq (%rax), %rax
movl %eax, 0x550(%rsp)
jmp 0x9bd666
movq 0xa8(%rsp), %rax
movq (%rax), %rax
movslq 0x550(%rsp), %rcx
cmpq %rcx, %rax
jne 0x9bd664
movq 0xb0(%rsp), %rax
movq (%rax), %rax
movslq 0x554(%rsp), %rcx
cmpq %rcx, %rax
jge 0x9bd664
movq 0xb0(%rsp), %rax
movq (%rax), %rax
movl %eax, 0x554(%rsp)
movq 0xa8(%rsp), %rax
movq (%rax), %rax
movl %eax, 0x550(%rsp)
jmp 0x9bd666
jmp 0x9bd668
jmp 0x9bd66a
jmp 0x9bd66c
movl 0xa4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xa4(%rsp)
movq 0xb8(%rsp), %rax
addq $0x8, %rax
movq %rax, 0xb8(%rsp)
movq 0xb0(%rsp), %rax
addq $0x8, %rax
movq %rax, 0xb0(%rsp)
movq 0xa8(%rsp), %rax
addq $0x8, %rax
movq %rax, 0xa8(%rsp)
jmp 0x9bd554
vmovaps 0x500(%rsp), %ymm1
vmovaps 0x4c0(%rsp), %ymm0
vmovaps %ymm1, 0xb20(%rsp)
vmovaps %ymm0, 0xb00(%rsp)
vmovaps 0xb20(%rsp), %ymm0
vmovaps 0xb00(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x4a0(%rsp), %ymm2
vmovaps 0x4e0(%rsp), %ymm0
vmovaps %ymm2, 0xae0(%rsp)
vmovaps %ymm0, 0xac0(%rsp)
vmovaps 0xae0(%rsp), %ymm0
vmovaps 0xac0(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0x660(%rsp)
vmovdqa %ymm0, 0x640(%rsp)
vmovdqa 0x660(%rsp), %ymm0
vpor 0x640(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x12e0(%rsp)
vmovdqa 0x12e0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0x9bd7a6
movq 0x560(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, 0x538(%rsp)
movl $0x0, 0x554(%rsp)
movl $0x0, 0x550(%rsp)
movq 0x538(%rsp), %rax
movl %eax, %ecx
movq 0x560(%rsp), %rax
movl %ecx, (%rax)
movl 0x554(%rsp), %ecx
movq 0x560(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x550(%rsp), %ecx
movq 0x560(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x580(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x588(%rsp), %rdi
callq 0x1c3590
movq 0x590(%rsp), %rdi
callq 0x1c3590
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9bd81f
movq 0x598(%rsp), %rdi
callq 0x1c3590
movq 0x560(%rsp), %rax
movq %rax, 0x5e0(%rsp)
movq 0x5e0(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopl (%rax)