// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_diag_avx2_256_64.c
// Function: parasail_nw_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 vOpen;
    __m256i vGap;
    __m256i vOne;
    __m256i vN;
    __m256i vGapN;
    __m256i vNegOne;
    __m256i vI;
    __m256i vJreset;
    __m256i vMax;
    __m256i vILimit;
    __m256i vILimit1;
    __m256i vJLimit;
    __m256i vJLimit1;
    __m256i vIBoundary;

    /* 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 = s1Len-1;
    end_ref = s2Len-1;
    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);
    vOpen = _mm256_set1_epi64x_rpl(open);
    vGap  = _mm256_set1_epi64x_rpl(gap);
    vOne = _mm256_set1_epi64x_rpl(1);
    vN = _mm256_set1_epi64x_rpl(N);
    vGapN = _mm256_set1_epi64x_rpl(gap*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);
    vMax = vNegInf;
    vILimit = _mm256_set1_epi64x_rpl(s1Len);
    vILimit1 = _mm256_sub_epi64(vILimit, vOne);
    vJLimit = _mm256_set1_epi64x_rpl(s2Len);
    vJLimit1 = _mm256_sub_epi64(vJLimit, vOne);
    vIBoundary = _mm256_set_epi64x_rpl(
            -open-0*gap,
            -open-1*gap,
            -open-2*gap,
            -open-3*gap);

    /* 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_NW | 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] = -open - j*gap;
        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;
    }
    H_pr[-1] = 0; /* upper left corner */

    /* iterate over query sequence */
    for (i=0; i<s1Len; i+=N) {
        __m256i vNH = vNegInf;
        __m256i vWH = vNegInf;
        __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))];
        vNH = _mm256_srli_si256_rpl(vNH, 8);
        vNH = _mm256_insert_epi64_rpl(vNH, H_pr[-1], 3);
        vWH = _mm256_srli_si256_rpl(vWH, 8);
        vWH = _mm256_insert_epi64_rpl(vWH, -open - i*gap, 3);
        H_pr[-1] = -open - (i+N)*gap;
        /* 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);
            /* as minor diagonal vector passes across the j=-1 boundary,
             * assign the appropriate boundary conditions */
            {
                __m256i cond = _mm256_cmpeq_epi64(vJ,vNegOne);
                vWH = _mm256_blendv_epi8(vWH, vIBoundary, cond);
                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
               last table value at the i,j bound */
            {
                __m256i cond_valid_I = _mm256_cmpeq_epi64(vI, vILimit1);
                __m256i cond_valid_J = _mm256_cmpeq_epi64(vJ, vJLimit1);
                __m256i cond_all = _mm256_and_si256(cond_valid_I, cond_valid_J);
                vMax = _mm256_blendv_epi8(vMax, vWH, cond_all);
            }
            vJ = _mm256_add_epi64(vJ, vOne);
        }
        vI = _mm256_add_epi64(vI, vN);
        vIBoundary = _mm256_sub_epi64(vIBoundary, vGapN);
    }

    /* max in vMax */
    for (i=0; i<N; ++i) {
        int64_t value;
        value = (int64_t) _mm256_extract_epi64_rpl(vMax, 3);
        if (value > score) {
            score = value;
        }
        vMax = _mm256_slli_si256_rpl(vMax, 8);
    }

    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 $0x1060, %rsp           # imm = 0x1060
movq 0x10(%rbp), %rax
movq %rdi, 0x538(%rsp)
movl %esi, 0x534(%rsp)
movq %rdx, 0x528(%rsp)
movl %ecx, 0x524(%rsp)
movl %r8d, 0x520(%rsp)
movl %r9d, 0x51c(%rsp)
movl $0x0, 0x518(%rsp)
movl $0x0, 0x514(%rsp)
movl $0x0, 0x510(%rsp)
movl $0x0, 0x50c(%rsp)
movl $0x0, 0x508(%rsp)
movl $0x0, 0x504(%rsp)
movq $0x0, 0x4f8(%rsp)
movq $0x0, 0x4f0(%rsp)
movq $0x0, 0x4e8(%rsp)
movq $0x0, 0x4e0(%rsp)
movq $0x0, 0x4d8(%rsp)
movq $0x0, 0x4d0(%rsp)
movq $0x0, 0x4c8(%rsp)
movq $0x0, 0x4c0(%rsp)
movl $0x0, 0x4bc(%rsp)
movl $0x0, 0x4b8(%rsp)
movl $0x0, 0x4b4(%rsp)
movl $0x0, 0x4b0(%rsp)
movq $0x0, 0x4a8(%rsp)
movq $0x0, 0x4a0(%rsp)
movq $0x0, 0x498(%rsp)
cmpq $0x0, 0x528(%rsp)
jne 0x9b6385
movq 0x470c83(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x335c8c(%rip), %rsi    # 0xcebfeb
leaq 0x2e566a(%rip), %rdx    # 0xc9b9d0
leaq 0x336390(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
jmp 0x9b6387
jmp 0x9b6389
cmpl $0x0, 0x524(%rsp)
jg 0x9b63ca
movq 0x470c3e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x33635d(%rip), %rsi    # 0xcec701
leaq 0x2e5625(%rip), %rdx    # 0xc9b9d0
leaq 0x336363(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
jmp 0x9b63cc
jmp 0x9b63ce
cmpl $0x0, 0x520(%rsp)
jge 0x9b640f
movq 0x470bf9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x336332(%rip), %rsi    # 0xcec71b
leaq 0x2e55e0(%rip), %rdx    # 0xc9b9d0
leaq 0x336339(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
jmp 0x9b6411
jmp 0x9b6413
cmpl $0x0, 0x51c(%rsp)
jge 0x9b6454
movq 0x470bb4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x3362ed(%rip), %rsi    # 0xcec71b
leaq 0x2e559b(%rip), %rdx    # 0xc9b9d0
leaq 0x3362f9(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
jmp 0x9b6456
jmp 0x9b6458
cmpq $0x0, 0x10(%rbp)
jne 0x9b6496
movq 0x470b72(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x335b7b(%rip), %rsi    # 0xcebfeb
leaq 0x2e5559(%rip), %rdx    # 0xc9b9d0
leaq 0x3364a7(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
jmp 0x9b6498
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b6533
jmp 0x9b64a8
cmpq $0x0, 0x538(%rsp)
jne 0x9b64ea
movq 0x470b1e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x335b27(%rip), %rsi    # 0xcebfeb
leaq 0x2e5505(%rip), %rdx    # 0xc9b9d0
leaq 0x336267(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
jmp 0x9b64ec
jmp 0x9b64ee
cmpl $0x0, 0x534(%rsp)
jg 0x9b652f
movq 0x470ad9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x3361f8(%rip), %rsi    # 0xcec701
leaq 0x2e54c0(%rip), %rdx    # 0xc9b9d0
leaq 0x336226(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
jmp 0x9b6531
jmp 0x9b6533
movl $0x4, 0x518(%rsp)
movl 0x518(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x514(%rsp)
movl 0x514(%rsp), %eax
shll %eax
movl %eax, 0x510(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b6579
movl 0x534(%rsp), %eax
movl %eax, 0x94(%rsp)
jmp 0x9b6587
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, 0x94(%rsp)
movl 0x94(%rsp), %eax
movl %eax, 0x50c(%rsp)
movl 0x50c(%rsp), %eax
addl 0x514(%rsp), %eax
movl %eax, 0x508(%rsp)
movl 0x524(%rsp), %eax
addl 0x514(%rsp), %eax
movl %eax, 0x504(%rsp)
movl $0x0, 0x4bc(%rsp)
movl $0x0, 0x4b8(%rsp)
movl 0x50c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x4b4(%rsp)
movl 0x524(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x4b0(%rsp)
xorl %eax, %eax
subl 0x520(%rsp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x9b6628
movslq 0x520(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, 0x88(%rsp)
jmp 0x9b6645
movq 0x10(%rbp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rax
incq %rax
movq %rax, 0x4a8(%rsp)
movq 0x10(%rbp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, 0x4a0(%rsp)
movq 0x4a8(%rsp), %rax
movq %rax, 0x498(%rsp)
movq 0x4a8(%rsp), %rax
movq %rax, 0x598(%rsp)
movq 0x598(%rsp), %rax
movq %rax, 0x5d8(%rsp)
movq %rax, 0x5d0(%rsp)
movq %rax, 0x5c8(%rsp)
movq %rax, 0x5c0(%rsp)
vmovq 0x5c8(%rsp), %xmm1
vmovq 0x5c0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x5d8(%rsp), %xmm2
vmovq 0x5d0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x5b0(%rsp)
vmovdqa %xmm0, 0x5a0(%rsp)
vmovaps 0x5a0(%rsp), %ymm0
vmovaps %ymm0, 0x460(%rsp)
movq 0x4a0(%rsp), %rax
movq %rax, 0x590(%rsp)
movq 0x590(%rsp), %rax
movq %rax, 0x618(%rsp)
movq %rax, 0x610(%rsp)
movq %rax, 0x608(%rsp)
movq %rax, 0x600(%rsp)
vmovq 0x608(%rsp), %xmm1
vmovq 0x600(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x618(%rsp), %xmm2
vmovq 0x610(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x5f0(%rsp)
vmovdqa %xmm0, 0x5e0(%rsp)
vmovaps 0x5e0(%rsp), %ymm0
vmovaps %ymm0, 0x440(%rsp)
vmovaps 0x440(%rsp), %ymm0
vmovaps %ymm0, 0x420(%rsp)
vmovaps 0x460(%rsp), %ymm0
vmovaps %ymm0, 0x400(%rsp)
movq 0x4a8(%rsp), %rax
movq %rax, 0x588(%rsp)
movq 0x588(%rsp), %rax
movq %rax, 0x658(%rsp)
movq %rax, 0x650(%rsp)
movq %rax, 0x648(%rsp)
movq %rax, 0x640(%rsp)
vmovq 0x648(%rsp), %xmm1
vmovq 0x640(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x658(%rsp), %xmm2
vmovq 0x650(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x630(%rsp)
vmovdqa %xmm0, 0x620(%rsp)
vmovaps 0x620(%rsp), %ymm0
vmovaps %ymm0, 0x3e0(%rsp)
movslq 0x520(%rsp), %rax
movq %rax, 0x580(%rsp)
movq 0x580(%rsp), %rax
movq %rax, 0x698(%rsp)
movq %rax, 0x690(%rsp)
movq %rax, 0x688(%rsp)
movq %rax, 0x680(%rsp)
vmovq 0x688(%rsp), %xmm1
vmovq 0x680(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x698(%rsp), %xmm2
vmovq 0x690(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x670(%rsp)
vmovdqa %xmm0, 0x660(%rsp)
vmovaps 0x660(%rsp), %ymm0
vmovaps %ymm0, 0x3c0(%rsp)
movslq 0x51c(%rsp), %rax
movq %rax, 0x578(%rsp)
movq 0x578(%rsp), %rax
movq %rax, 0x6d8(%rsp)
movq %rax, 0x6d0(%rsp)
movq %rax, 0x6c8(%rsp)
movq %rax, 0x6c0(%rsp)
vmovq 0x6c8(%rsp), %xmm1
vmovq 0x6c0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x6d8(%rsp), %xmm2
vmovq 0x6d0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x6b0(%rsp)
vmovdqa %xmm0, 0x6a0(%rsp)
vmovaps 0x6a0(%rsp), %ymm0
vmovaps %ymm0, 0x3a0(%rsp)
movq $0x1, 0x570(%rsp)
movq 0x570(%rsp), %rax
movq %rax, 0x718(%rsp)
movq %rax, 0x710(%rsp)
movq %rax, 0x708(%rsp)
movq %rax, 0x700(%rsp)
vmovq 0x708(%rsp), %xmm1
vmovq 0x700(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x718(%rsp), %xmm2
vmovq 0x710(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x6f0(%rsp)
vmovdqa %xmm0, 0x6e0(%rsp)
vmovaps 0x6e0(%rsp), %ymm0
vmovaps %ymm0, 0x380(%rsp)
movslq 0x518(%rsp), %rax
movq %rax, 0x568(%rsp)
movq 0x568(%rsp), %rax
movq %rax, 0x758(%rsp)
movq %rax, 0x750(%rsp)
movq %rax, 0x748(%rsp)
movq %rax, 0x740(%rsp)
vmovq 0x748(%rsp), %xmm1
vmovq 0x740(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x758(%rsp), %xmm2
vmovq 0x750(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x730(%rsp)
vmovdqa %xmm0, 0x720(%rsp)
vmovaps 0x720(%rsp), %ymm0
vmovaps %ymm0, 0x360(%rsp)
movl 0x51c(%rsp), %eax
movl 0x518(%rsp), %ecx
imull %ecx, %eax
cltq
movq %rax, 0x560(%rsp)
movq 0x560(%rsp), %rax
movq %rax, 0x798(%rsp)
movq %rax, 0x790(%rsp)
movq %rax, 0x788(%rsp)
movq %rax, 0x780(%rsp)
vmovq 0x788(%rsp), %xmm1
vmovq 0x780(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x798(%rsp), %xmm2
vmovq 0x790(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x770(%rsp)
vmovdqa %xmm0, 0x760(%rsp)
vmovaps 0x760(%rsp), %ymm0
vmovaps %ymm0, 0x340(%rsp)
movq $-0x1, 0x558(%rsp)
movq 0x558(%rsp), %rax
movq %rax, 0x7d8(%rsp)
movq %rax, 0x7d0(%rsp)
movq %rax, 0x7c8(%rsp)
movq %rax, 0x7c0(%rsp)
vmovq 0x7c8(%rsp), %xmm1
vmovq 0x7c0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x7d8(%rsp), %xmm2
vmovq 0x7d0(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x7b0(%rsp)
vmovdqa %xmm0, 0x7a0(%rsp)
vmovaps 0x7a0(%rsp), %ymm0
vmovaps %ymm0, 0x320(%rsp)
movq $0x0, 0x958(%rsp)
movq $0x1, 0x950(%rsp)
movq $0x2, 0x948(%rsp)
movq $0x3, 0x940(%rsp)
vmovq 0x948(%rsp), %xmm1
vmovq 0x940(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x958(%rsp), %xmm2
vmovq 0x950(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x930(%rsp)
vmovdqa %xmm0, 0x920(%rsp)
vmovaps 0x920(%rsp), %ymm0
vmovaps %ymm0, 0x300(%rsp)
movq $0x0, 0x918(%rsp)
movq $-0x1, 0x910(%rsp)
movq $-0x2, 0x908(%rsp)
movq $-0x3, 0x900(%rsp)
vmovq 0x908(%rsp), %xmm1
vmovq 0x900(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x918(%rsp), %xmm2
vmovq 0x910(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x8f0(%rsp)
vmovdqa %xmm0, 0x8e0(%rsp)
vmovaps 0x8e0(%rsp), %ymm0
vmovaps %ymm0, 0x2e0(%rsp)
vmovaps 0x3e0(%rsp), %ymm0
vmovaps %ymm0, 0x2c0(%rsp)
movslq 0x50c(%rsp), %rax
movq %rax, 0x550(%rsp)
movq 0x550(%rsp), %rax
movq %rax, 0x818(%rsp)
movq %rax, 0x810(%rsp)
movq %rax, 0x808(%rsp)
movq %rax, 0x800(%rsp)
vmovq 0x808(%rsp), %xmm1
vmovq 0x800(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x818(%rsp), %xmm2
vmovq 0x810(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x7f0(%rsp)
vmovdqa %xmm0, 0x7e0(%rsp)
vmovaps 0x7e0(%rsp), %ymm0
vmovaps %ymm0, 0x2a0(%rsp)
vmovaps 0x2a0(%rsp), %ymm1
vmovaps 0x380(%rsp), %ymm0
vmovaps %ymm1, 0xb00(%rsp)
vmovaps %ymm0, 0xae0(%rsp)
vmovaps 0xb00(%rsp), %ymm0
vmovaps 0xae0(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x280(%rsp)
movslq 0x524(%rsp), %rax
movq %rax, 0x548(%rsp)
movq 0x548(%rsp), %rax
movq %rax, 0x858(%rsp)
movq %rax, 0x850(%rsp)
movq %rax, 0x848(%rsp)
movq %rax, 0x840(%rsp)
vmovq 0x848(%rsp), %xmm1
vmovq 0x840(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x858(%rsp), %xmm2
vmovq 0x850(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x830(%rsp)
vmovdqa %xmm0, 0x820(%rsp)
vmovaps 0x820(%rsp), %ymm0
vmovaps %ymm0, 0x260(%rsp)
vmovaps 0x260(%rsp), %ymm1
vmovaps 0x380(%rsp), %ymm0
vmovaps %ymm1, 0xac0(%rsp)
vmovaps %ymm0, 0xaa0(%rsp)
vmovaps 0xac0(%rsp), %ymm0
vmovaps 0xaa0(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x240(%rsp)
movl 0x520(%rsp), %eax
negl %eax
movl 0x51c(%rsp), %r8d
movslq %eax, %rsi
movl %eax, %ecx
subl %r8d, %ecx
movslq %ecx, %rdx
movl %r8d, %edi
addl %edi, %edi
movl %eax, %ecx
subl %edi, %ecx
movslq %ecx, %rcx
movl %r8d, %edi
leal (%rdi,%rdi,2), %edi
subl %edi, %eax
cltq
movq %rsi, 0x8d8(%rsp)
movq %rdx, 0x8d0(%rsp)
movq %rcx, 0x8c8(%rsp)
movq %rax, 0x8c0(%rsp)
vmovq 0x8d8(%rsp), %xmm1
vmovq 0x8d0(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm1 # xmm1 = xmm0[0],xmm1[0]
vmovq 0x8c8(%rsp), %xmm2
vmovq 0x8c0(%rsp), %xmm0
vpunpcklqdq %xmm2, %xmm0, %xmm2 # xmm2 = xmm0[0],xmm2[0]
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x8a0(%rsp)
vmovdqa 0x8a0(%rsp), %ymm0
vmovdqa %ymm0, 0x220(%rsp)
movl 0x50c(%rsp), %edi
movl 0x524(%rsp), %esi
vzeroupper
callq 0x1c39b0
movq %rax, 0x4c0(%rsp)
cmpq $0x0, 0x4c0(%rsp)
jne 0x9b6ef9
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
movq 0x4c0(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x4801001, %ecx        # imm = 0x4801001
movl %ecx, 0xc(%rax)
movq 0x4c0(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x20000, %ecx          # imm = 0x20000
movl %ecx, 0xc(%rax)
movl 0x524(%rsp), %eax
addl 0x510(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x4f0(%rsp)
movl 0x524(%rsp), %eax
addl 0x510(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x4e8(%rsp)
movl 0x524(%rsp), %eax
addl 0x510(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x4e0(%rsp)
movq 0x4f0(%rsp), %rax
movslq 0x514(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x4d8(%rsp)
movq 0x4e8(%rsp), %rax
movslq 0x514(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x4d0(%rsp)
movq 0x4e0(%rsp), %rax
movslq 0x514(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x4c8(%rsp)
cmpq $0x0, 0x4f0(%rsp)
jne 0x9b7003
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
cmpq $0x0, 0x4e8(%rsp)
jne 0x9b701f
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
cmpq $0x0, 0x4e0(%rsp)
jne 0x9b703b
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b7135
movl 0x50c(%rsp), %eax
addl 0x514(%rsp), %eax
movslq %eax, %rsi
movl $0x20, %edi
callq 0x1c3690
movq %rax, 0x4f8(%rsp)
cmpq $0x0, 0x4f8(%rsp)
jne 0x9b7088
movq $0x0, 0x540(%rsp)
jmp 0x9b815e
movl $0x0, 0x4bc(%rsp)
movl 0x4bc(%rsp), %eax
cmpl 0x50c(%rsp), %eax
jge 0x9b70ea
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x538(%rsp), %rcx
movslq 0x4bc(%rsp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq (%rax,%rcx,4), %rdx
movq 0x4f8(%rsp), %rax
movslq 0x4bc(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x4bc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4bc(%rsp)
jmp 0x9b7093
movl 0x50c(%rsp), %eax
movl %eax, 0x4bc(%rsp)
movl 0x4bc(%rsp), %eax
cmpl 0x508(%rsp), %eax
jge 0x9b7133
movq 0x4f8(%rsp), %rax
movslq 0x4bc(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movl 0x4bc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4bc(%rsp)
jmp 0x9b70f8
jmp 0x9b7135
movl $0x0, 0x4b8(%rsp)
movl 0x4b8(%rsp), %eax
cmpl 0x524(%rsp), %eax
jge 0x9b7197
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x528(%rsp), %rcx
movslq 0x4b8(%rsp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq (%rax,%rcx,4), %rdx
movq 0x4d8(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x4b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x9b7140
xorl %eax, %eax
subl 0x514(%rsp), %eax
movl %eax, 0x4b8(%rsp)
cmpl $0x0, 0x4b8(%rsp)
jge 0x9b71dc
movq 0x4d8(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movl 0x4b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x9b71a7
movl 0x524(%rsp), %eax
movl %eax, 0x4b8(%rsp)
movl 0x4b8(%rsp), %eax
cmpl 0x504(%rsp), %eax
jge 0x9b7225
movq 0x4d8(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movl 0x4b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x9b71ea
movl $0x0, 0x4b8(%rsp)
movl 0x4b8(%rsp), %eax
cmpl 0x524(%rsp), %eax
jge 0x9b72a0
xorl %eax, %eax
subl 0x520(%rsp), %eax
movl 0x4b8(%rsp), %ecx
imull 0x51c(%rsp), %ecx
subl %ecx, %eax
movslq %eax, %rdx
movq 0x4d0(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x4a8(%rsp), %rdx
movq 0x4c8(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x4b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x9b7230
xorl %eax, %eax
subl 0x514(%rsp), %eax
movl %eax, 0x4b8(%rsp)
cmpl $0x0, 0x4b8(%rsp)
jge 0x9b7305
movq 0x4a8(%rsp), %rdx
movq 0x4d0(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x4a8(%rsp), %rdx
movq 0x4c8(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x4b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x9b72b0
movl 0x524(%rsp), %eax
movl %eax, 0x4b8(%rsp)
movl 0x4b8(%rsp), %eax
movl 0x524(%rsp), %ecx
addl 0x514(%rsp), %ecx
cmpl %ecx, %eax
jge 0x9b7377
movq 0x4a8(%rsp), %rdx
movq 0x4d0(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x4a8(%rsp), %rdx
movq 0x4c8(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x4b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x9b7313
movq 0x4d0(%rsp), %rax
movq $0x0, -0x8(%rax)
movl $0x0, 0x4bc(%rsp)
movl 0x4bc(%rsp), %eax
cmpl 0x50c(%rsp), %eax
jge 0x9b7f6b
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm0, 0x200(%rsp)
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm0, 0x1e0(%rsp)
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
vmovdqa 0x3e0(%rsp), %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x2e0(%rsp), %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x78(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x80(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b7447
movq 0x4f8(%rsp), %rax
movl 0x4bc(%rsp), %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x70(%rsp)
jmp 0x9b7483
movl 0x4bc(%rsp), %eax
addl $0x0, %eax
cmpl 0x50c(%rsp), %eax
jl 0x9b746a
movl 0x50c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x6c(%rsp)
jmp 0x9b7478
movl 0x4bc(%rsp), %eax
addl $0x0, %eax
movl %eax, 0x6c(%rsp)
movl 0x6c(%rsp), %eax
cltq
movq %rax, 0x70(%rsp)
movq 0x78(%rsp), %rax
movq 0x80(%rsp), %rcx
movq 0x70(%rsp), %rdx
imulq %rdx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x178(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x58(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x60(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b74ec
movq 0x4f8(%rsp), %rax
movl 0x4bc(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x50(%rsp)
jmp 0x9b7528
movl 0x4bc(%rsp), %eax
addl $0x1, %eax
cmpl 0x50c(%rsp), %eax
jl 0x9b750f
movl 0x50c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x4c(%rsp)
jmp 0x9b751d
movl 0x4bc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4c(%rsp)
movl 0x4c(%rsp), %eax
cltq
movq %rax, 0x50(%rsp)
movq 0x58(%rsp), %rax
movq 0x60(%rsp), %rcx
movq 0x50(%rsp), %rdx
imulq %rdx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x170(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b758e
movq 0x4f8(%rsp), %rax
movl 0x4bc(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x30(%rsp)
jmp 0x9b75ca
movl 0x4bc(%rsp), %eax
addl $0x2, %eax
cmpl 0x50c(%rsp), %eax
jl 0x9b75b1
movl 0x50c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x2c(%rsp)
jmp 0x9b75bf
movl 0x4bc(%rsp), %eax
addl $0x2, %eax
movl %eax, 0x2c(%rsp)
movl 0x2c(%rsp), %eax
cltq
movq %rax, 0x30(%rsp)
movq 0x38(%rsp), %rax
movq 0x40(%rsp), %rcx
movq 0x30(%rsp), %rdx
imulq %rdx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x168(%rsp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b7630
movq 0x4f8(%rsp), %rax
movl 0x4bc(%rsp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x10(%rsp)
jmp 0x9b766c
movl 0x4bc(%rsp), %eax
addl $0x3, %eax
cmpl 0x50c(%rsp), %eax
jl 0x9b7653
movl 0x50c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x9b7661
movl 0x4bc(%rsp), %eax
addl $0x3, %eax
movl %eax, 0xc(%rsp)
movl 0xc(%rsp), %eax
cltq
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
movq 0x10(%rsp), %rdx
imulq %rdx, %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, 0x160(%rsp)
vmovaps 0x200(%rsp), %ymm0
vmovdqa 0x210(%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, 0xc40(%rsp)
vmovaps %ymm0, 0xc20(%rsp)
vmovaps 0xc40(%rsp), %ymm0
vmovaps 0xc20(%rsp), %ymm1
vpor %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x200(%rsp)
movq 0x4d0(%rsp), %rax
movq -0x8(%rax), %rax
movq %rax, 0x218(%rsp)
vmovaps 0x1e0(%rsp), %ymm0
vmovdqa 0x1f0(%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, 0xc00(%rsp)
vmovaps %ymm0, 0xbe0(%rsp)
vmovaps 0xc00(%rsp), %ymm0
vmovaps 0xbe0(%rsp), %ymm1
vpor %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x1e0(%rsp)
vmovaps 0x1e0(%rsp), %ymm0
movl 0x520(%rsp), %eax
movl 0x4bc(%rsp), %ecx
movl 0x51c(%rsp), %edx
imull %edx, %ecx
addl %ecx, %eax
negl %eax
cltq
vmovq %rax, %xmm1
vpbroadcastq %xmm1, %ymm1
vpblendd $0xc0, %ymm1, %ymm0, %ymm0 # ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
vmovdqa %ymm0, 0x1e0(%rsp)
xorl %eax, %eax
subl 0x520(%rsp), %eax
movl 0x4bc(%rsp), %ecx
addl 0x518(%rsp), %ecx
imull 0x51c(%rsp), %ecx
subl %ecx, %eax
movslq %eax, %rcx
movq 0x4d0(%rsp), %rax
movq %rcx, -0x8(%rax)
movl $0x0, 0x4b8(%rsp)
movl 0x4b8(%rsp), %eax
movl 0x524(%rsp), %ecx
addl 0x514(%rsp), %ecx
cmpl %ecx, %eax
jge 0x9b7ed3
vmovaps 0x200(%rsp), %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x1e0(%rsp), %ymm0
vmovdqa 0x1f0(%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, 0xbc0(%rsp)
vmovaps %ymm0, 0xba0(%rsp)
vmovaps 0xbc0(%rsp), %ymm0
vmovaps 0xba0(%rsp), %ymm1
vpor %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x200(%rsp)
movq 0x4d0(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x218(%rsp)
vmovaps 0x1a0(%rsp), %ymm0
vmovdqa 0x1b0(%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, 0xb80(%rsp)
vmovaps %ymm0, 0xb60(%rsp)
vmovaps 0xb80(%rsp), %ymm0
vmovaps 0xb60(%rsp), %ymm1
vpor %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x1a0(%rsp)
movq 0x4c8(%rsp), %rax
movslq 0x4b8(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x1b8(%rsp)
vmovaps 0x200(%rsp), %ymm1
vmovaps 0x3c0(%rsp), %ymm0
vmovaps %ymm1, 0xa80(%rsp)
vmovaps %ymm0, 0xa60(%rsp)
vmovaps 0xa80(%rsp), %ymm0
vmovaps 0xa60(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps 0x1a0(%rsp), %ymm2
vmovaps 0x3a0(%rsp), %ymm1
vmovaps %ymm2, 0xa40(%rsp)
vmovaps %ymm1, 0xa20(%rsp)
vmovaps 0xa40(%rsp), %ymm1
vmovaps 0xa20(%rsp), %ymm2
vpsubq %ymm2, %ymm1, %ymm1
callq 0x9b8170
vmovaps %ymm0, 0x1a0(%rsp)
vmovaps 0x1e0(%rsp), %ymm1
vmovaps 0x3c0(%rsp), %ymm0
vmovaps %ymm1, 0xa00(%rsp)
vmovaps %ymm0, 0x9e0(%rsp)
vmovaps 0xa00(%rsp), %ymm0
vmovaps 0x9e0(%rsp), %ymm1
vpsubq %ymm1, %ymm0, %ymm0
vmovaps 0x1c0(%rsp), %ymm2
vmovaps 0x3a0(%rsp), %ymm1
vmovaps %ymm2, 0x9c0(%rsp)
vmovaps %ymm1, 0x9a0(%rsp)
vmovaps 0x9c0(%rsp), %ymm1
vmovaps 0x9a0(%rsp), %ymm2
vpsubq %ymm2, %ymm1, %ymm1
callq 0x9b8170
vmovaps %ymm0, 0x1c0(%rsp)
movq 0x178(%rsp), %rax
movq 0x4d8(%rsp), %rdi
movslq 0x4b8(%rsp), %rcx
movl %ecx, %r8d
movq (%rdi,%rcx,8), %rcx
movslq (%rax,%rcx,4), %rsi
movq 0x170(%rsp), %rax
movl %r8d, %ecx
decl %ecx
movslq %ecx, %rcx
movq (%rdi,%rcx,8), %rcx
movslq (%rax,%rcx,4), %rdx
movq 0x168(%rsp), %rax
movl %r8d, %ecx
addl $-0x2, %ecx
movslq %ecx, %rcx
movq (%rdi,%rcx,8), %rcx
movslq (%rax,%rcx,4), %rcx
movq 0x160(%rsp), %rax
addl $-0x3, %r8d
movslq %r8d, %r8
movq (%rdi,%r8,8), %rdi
movslq (%rax,%rdi,4), %rax
movq %rsi, 0x898(%rsp)
movq %rdx, 0x890(%rsp)
movq %rcx, 0x888(%rsp)
movq %rax, 0x880(%rsp)
vmovq 0x888(%rsp), %xmm1
vmovq 0x880(%rsp), %xmm0
vpunpcklqdq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vmovq 0x898(%rsp), %xmm2
vmovq 0x890(%rsp), %xmm1
vpunpcklqdq %xmm2, %xmm1, %xmm1 # xmm1 = xmm1[0],xmm2[0]
vmovdqa %xmm1, 0x870(%rsp)
vmovdqa %xmm0, 0x860(%rsp)
vmovaps 0x860(%rsp), %ymm0
vmovaps %ymm0, 0x140(%rsp)
vmovaps 0x120(%rsp), %ymm1
vmovaps 0x140(%rsp), %ymm0
vmovaps %ymm1, 0xd00(%rsp)
vmovaps %ymm0, 0xce0(%rsp)
vmovaps 0xd00(%rsp), %ymm0
vmovaps 0xce0(%rsp), %ymm1
vpaddq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x120(%rsp), %ymm0
vmovaps 0x1c0(%rsp), %ymm1
callq 0x9b8170
vmovaps %ymm0, 0x1e0(%rsp)
vmovaps 0x1e0(%rsp), %ymm0
vmovaps 0x1a0(%rsp), %ymm1
callq 0x9b8170
vmovaps %ymm0, 0x1e0(%rsp)
vmovaps 0x180(%rsp), %ymm1
vmovaps 0x320(%rsp), %ymm0
vmovaps %ymm1, 0xdc0(%rsp)
vmovaps %ymm0, 0xda0(%rsp)
vmovaps 0xdc0(%rsp), %ymm0
vmovaps 0xda0(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x100(%rsp)
vmovdqa 0x1e0(%rsp), %ymm2
vmovdqa 0x220(%rsp), %ymm1
vmovdqa 0x100(%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, 0x1e0(%rsp)
vmovdqa 0x1a0(%rsp), %ymm2
vmovdqa 0x3e0(%rsp), %ymm1
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm2, 0xee0(%rsp)
vmovdqa %ymm1, 0xec0(%rsp)
vmovdqa %ymm0, 0xea0(%rsp)
vmovdqa 0xee0(%rsp), %ymm0
vmovdqa 0xec0(%rsp), %ymm1
vmovdqa 0xea0(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1a0(%rsp)
vmovdqa 0x1c0(%rsp), %ymm2
vmovdqa 0x3e0(%rsp), %ymm1
vmovdqa 0x100(%rsp), %ymm0
vmovdqa %ymm2, 0xe80(%rsp)
vmovdqa %ymm1, 0xe60(%rsp)
vmovdqa %ymm0, 0xe40(%rsp)
vmovdqa 0xe80(%rsp), %ymm0
vmovdqa 0xe60(%rsp), %ymm1
vmovdqa 0xe40(%rsp), %ymm2
vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x1c0(%rsp)
movl 0x4b8(%rsp), %eax
cmpl 0x514(%rsp), %eax
jle 0x9b7cdb
vmovdqa 0x420(%rsp), %ymm0
vmovdqa 0x1e0(%rsp), %ymm1
callq 0x9b8270
vmovdqa %ymm0, 0x420(%rsp)
vmovdqa 0x400(%rsp), %ymm0
vmovdqa 0x1e0(%rsp), %ymm1
callq 0x9b8170
vmovdqa %ymm0, 0x400(%rsp)
movq 0x4c0(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
vmovaps 0x1e0(%rsp), %ymm0
movl 0x4bc(%rsp), %esi
movl 0x50c(%rsp), %edx
movl 0x4b8(%rsp), %ecx
movl 0x524(%rsp), %r8d
callq 0x9b8370
movq 0x1e0(%rsp), %rdx
movq 0x4d0(%rsp), %rax
movl 0x4b8(%rsp), %ecx
addl $-0x3, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x1a0(%rsp), %rdx
movq 0x4c8(%rsp), %rax
movl 0x4b8(%rsp), %ecx
addl $-0x3, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
vmovaps 0x300(%rsp), %ymm1
vmovaps 0x280(%rsp), %ymm0
vmovaps %ymm1, 0xd80(%rsp)
vmovaps %ymm0, 0xd60(%rsp)
vmovaps 0xd80(%rsp), %ymm0
vmovaps 0xd60(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovaps %ymm0, 0xe0(%rsp)
vmovaps 0x180(%rsp), %ymm1
vmovaps 0x240(%rsp), %ymm0
vmovaps %ymm1, 0xd40(%rsp)
vmovaps %ymm0, 0xd20(%rsp)
vmovaps 0xd40(%rsp), %ymm0
vmovaps 0xd20(%rsp), %ymm1
vpcmpeqq %ymm1, %ymm0, %ymm0
vmovdqa %ymm0, 0xc0(%rsp)
vmovdqa 0xe0(%rsp), %ymm1
vmovdqa 0xc0(%rsp), %ymm0
vmovdqa %ymm1, 0xf80(%rsp)
vmovdqa %ymm0, 0xf60(%rsp)
vmovdqa 0xf80(%rsp), %ymm0
vpand 0xf60(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xa0(%rsp)
vmovdqa 0x2c0(%rsp), %ymm2
vmovdqa 0x1e0(%rsp), %ymm1
vmovdqa 0xa0(%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, 0x2c0(%rsp)
vmovdqa 0x180(%rsp), %ymm1
vmovdqa 0x380(%rsp), %ymm0
vmovdqa %ymm1, 0xcc0(%rsp)
vmovdqa %ymm0, 0xca0(%rsp)
vmovdqa 0xcc0(%rsp), %ymm0
vpaddq 0xca0(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x180(%rsp)
movl 0x4b8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4b8(%rsp)
jmp 0x9b77bc
vmovdqa 0x300(%rsp), %ymm1
vmovdqa 0x360(%rsp), %ymm0
vmovdqa %ymm1, 0xc80(%rsp)
vmovdqa %ymm0, 0xc60(%rsp)
vmovdqa 0xc80(%rsp), %ymm0
vpaddq 0xc60(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x300(%rsp)
vmovdqa 0x220(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x980(%rsp)
vmovdqa %ymm0, 0x960(%rsp)
vmovdqa 0x980(%rsp), %ymm0
vpsubq 0x960(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0x220(%rsp)
movl 0x518(%rsp), %eax
addl 0x4bc(%rsp), %eax
movl %eax, 0x4bc(%rsp)
jmp 0x9b7392
movl $0x0, 0x4bc(%rsp)
movl 0x4bc(%rsp), %eax
cmpl 0x518(%rsp), %eax
jge 0x9b7fed
movq 0x2d8(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x98(%rsp), %rax
cmpq 0x498(%rsp), %rax
jle 0x9b7fb8
movq 0x98(%rsp), %rax
movq %rax, 0x498(%rsp)
vmovaps 0x2c0(%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, 0x2c0(%rsp)
movl 0x4bc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4bc(%rsp)
jmp 0x9b7f76
vmovaps 0x460(%rsp), %ymm1
vmovaps 0x420(%rsp), %ymm0
vmovaps %ymm1, 0x1020(%rsp)
vmovaps %ymm0, 0x1000(%rsp)
vmovaps 0x1020(%rsp), %ymm0
vmovaps 0x1000(%rsp), %ymm1
vpcmpgtq %ymm1, %ymm0, %ymm1
vmovaps 0x400(%rsp), %ymm2
vmovaps 0x440(%rsp), %ymm0
vmovaps %ymm2, 0xfe0(%rsp)
vmovaps %ymm0, 0xfc0(%rsp)
vmovaps 0xfe0(%rsp), %ymm0
vmovaps 0xfc0(%rsp), %ymm2
vpcmpgtq %ymm2, %ymm0, %ymm0
vmovdqa %ymm1, 0xb40(%rsp)
vmovdqa %ymm0, 0xb20(%rsp)
vmovdqa 0xb40(%rsp), %ymm0
vpor 0xb20(%rsp), %ymm0, %ymm0
vmovdqa %ymm0, 0xfa0(%rsp)
vmovdqa 0xfa0(%rsp), %ymm0
vpmovmskb %ymm0, %eax
cmpl $0x0, %eax
je 0x9b80d5
movq 0x4c0(%rsp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, 0x498(%rsp)
movl $0x0, 0x4b4(%rsp)
movl $0x0, 0x4b0(%rsp)
movq 0x498(%rsp), %rax
movl %eax, %ecx
movq 0x4c0(%rsp), %rax
movl %ecx, (%rax)
movl 0x4b4(%rsp), %ecx
movq 0x4c0(%rsp), %rax
movl %ecx, 0x4(%rax)
movl 0x4b0(%rsp), %ecx
movq 0x4c0(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x4e0(%rsp), %rdi
vzeroupper
callq 0x1c3590
movq 0x4e8(%rsp), %rdi
callq 0x1c3590
movq 0x4f0(%rsp), %rdi
callq 0x1c3590
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x9b814e
movq 0x4f8(%rsp), %rdi
callq 0x1c3590
movq 0x4c0(%rsp), %rax
movq %rax, 0x540(%rsp)
movq 0x540(%rsp), %rax
movq %rbp, %rsp
popq %rbp
retq
nopl (%rax,%rax)