// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sg_diag_sse2_128_64.c
// Function: parasail_sg_flags_table_diag_sse2_128_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,
        int s1_beg, int s1_end, int s2_beg, int s2_end)
{
    /* 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;
    __m128i vNegLimit;
    __m128i vPosLimit;
    __m128i vSaturationCheckMin;
    __m128i vSaturationCheckMax;
    __m128i vNegInf;
    __m128i vOpen;
    __m128i vGap;
    __m128i vOne;
    __m128i vN;
    __m128i vGapN;
    __m128i vNegOne;
    __m128i vI;
    __m128i vJreset;
    __m128i vMaxHRow;
    __m128i vMaxHCol;
    __m128i vLastVal;
    __m128i vEndI;
    __m128i vEndJ;
    __m128i vILimit;
    __m128i vILimit1;
    __m128i vJLimit;
    __m128i vJLimit1;
    __m128i 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 = 2; /* 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 = _mm_set1_epi64x_rpl(NEG_LIMIT);
    vPosLimit = _mm_set1_epi64x_rpl(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vNegInf = _mm_set1_epi64x_rpl(NEG_LIMIT);
    vOpen = _mm_set1_epi64x_rpl(open);
    vGap  = _mm_set1_epi64x_rpl(gap);
    vOne = _mm_set1_epi64x_rpl(1);
    vN = _mm_set1_epi64x_rpl(N);
    vGapN = s1_beg ? _mm_set1_epi64x_rpl(0) : _mm_set1_epi64x_rpl(gap*N);
    vNegOne = _mm_set1_epi64x_rpl(-1);
    vI = _mm_set_epi64x_rpl(0,1);
    vJreset = _mm_set_epi64x_rpl(0,-1);
    vMaxHRow = vNegInf;
    vMaxHCol = vNegInf;
    vLastVal = vNegInf;
    vEndI = vNegInf;
    vEndJ = vNegInf;
    vILimit = _mm_set1_epi64x_rpl(s1Len);
    vILimit1 = _mm_sub_epi64(vILimit, vOne);
    vJLimit = _mm_set1_epi64x_rpl(s2Len);
    vJLimit1 = _mm_sub_epi64(vJLimit, vOne);
    vIBoundary = s1_beg ? _mm_set1_epi64x_rpl(0) : _mm_set_epi64x_rpl(
            -open-0*gap,
            -open-1*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_SG | PARASAIL_FLAG_DIAG
        | PARASAIL_FLAG_BITS_64 | PARASAIL_FLAG_LANES_2;
    result->flag |= s1_beg ? PARASAIL_FLAG_SG_S1_BEG : 0;
    result->flag |= s1_end ? PARASAIL_FLAG_SG_S1_END : 0;
    result->flag |= s2_beg ? PARASAIL_FLAG_SG_S2_BEG : 0;
    result->flag |= s2_end ? PARASAIL_FLAG_SG_S2_END : 0;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    s2B= parasail_memalign_int64_t(16, s2Len+PAD2);
    _H_pr = parasail_memalign_int64_t(16, s2Len+PAD2);
    _F_pr = parasail_memalign_int64_t(16, 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(16, 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 */
    if (s2_beg) {
        for (j=0; j<s2Len; ++j) {
            H_pr[j] = 0;
            F_pr[j] = NEG_LIMIT;
        }
    }
    else {
        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) {
        __m128i vNH = vNegInf;
        __m128i vWH = vNegInf;
        __m128i vE = vNegInf;
        __m128i vF = vNegInf;
        __m128i 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))];
        __m128i vIltLimit = _mm_cmplt_epi64_rpl(vI, vILimit);
        __m128i vIeqLimit1 = _mm_cmpeq_epi64_rpl(vI, vILimit1);
        vNH = _mm_srli_si128(vNH, 8);
        vNH = _mm_insert_epi64_rpl(vNH, H_pr[-1], 1);
        vWH = _mm_srli_si128(vWH, 8);
        vWH = _mm_insert_epi64_rpl(vWH, s1_beg ? 0 : (-open - i*gap), 1);
        H_pr[-1] = -open - (i+N)*gap;
        /* iterate over database sequence */
        for (j=0; j<s2Len+PAD; ++j) {
            __m128i vMat;
            __m128i vNWH = vNH;
            vNH = _mm_srli_si128(vWH, 8);
            vNH = _mm_insert_epi64_rpl(vNH, H_pr[j], 1);
            vF = _mm_srli_si128(vF, 8);
            vF = _mm_insert_epi64_rpl(vF, F_pr[j], 1);
            vF = _mm_max_epi64_rpl(
                    _mm_sub_epi64(vNH, vOpen),
                    _mm_sub_epi64(vF, vGap));
            vE = _mm_max_epi64_rpl(
                    _mm_sub_epi64(vWH, vOpen),
                    _mm_sub_epi64(vE, vGap));
            vMat = _mm_set_epi64x_rpl(
                    matrow0[s2[j-0]],
                    matrow1[s2[j-1]]
                    );
            vNWH = _mm_add_epi64(vNWH, vMat);
            vWH = _mm_max_epi64_rpl(vNWH, vE);
            vWH = _mm_max_epi64_rpl(vWH, vF);
            /* as minor diagonal vector passes across the j=-1 boundary,
             * assign the appropriate boundary conditions */
            {
                __m128i cond = _mm_cmpeq_epi64_rpl(vJ,vNegOne);
                vWH = _mm_blendv_epi8_rpl(vWH, vIBoundary, cond);
                vF = _mm_blendv_epi8_rpl(vF, vNegInf, cond);
                vE = _mm_blendv_epi8_rpl(vE, vNegInf, cond);
            }
            /* cannot start checking sat until after J clears boundary */
            if (j > PAD) {
                vSaturationCheckMin = _mm_min_epi64_rpl(vSaturationCheckMin, vWH);
                vSaturationCheckMax = _mm_max_epi64_rpl(vSaturationCheckMax, vWH);
            }
#ifdef PARASAIL_TABLE
            arr_store_si128(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-1] = (int64_t)_mm_extract_epi64_rpl(vWH,0);
            F_pr[j-1] = (int64_t)_mm_extract_epi64_rpl(vF,0);
            /* as minor diagonal vector passes across the i or j limit
             * boundary, extract the last value of the column or row */
            {
                __m128i vJeqLimit1 = _mm_cmpeq_epi64_rpl(vJ, vJLimit1);
                __m128i vJgtNegOne = _mm_cmpgt_epi64_rpl(vJ, vNegOne);
                __m128i vJltLimit = _mm_cmplt_epi64_rpl(vJ, vJLimit);
                __m128i cond_j = _mm_and_si128(vIltLimit, vJeqLimit1);
                __m128i cond_i = _mm_and_si128(vIeqLimit1,
                        _mm_and_si128(vJgtNegOne, vJltLimit));
                __m128i cond_max_row = _mm_cmpgt_epi64_rpl(vWH, vMaxHRow);
                __m128i cond_max_col = _mm_cmpgt_epi64_rpl(vWH, vMaxHCol);
                __m128i cond_last_val = _mm_and_si128(vIeqLimit1, vJeqLimit1);
                __m128i cond_all_row = _mm_and_si128(cond_max_row, cond_i);
                __m128i cond_all_col = _mm_and_si128(cond_max_col, cond_j);
                vMaxHRow = _mm_blendv_epi8_rpl(vMaxHRow, vWH, cond_all_row);
                vMaxHCol = _mm_blendv_epi8_rpl(vMaxHCol, vWH, cond_all_col);
                vLastVal = _mm_blendv_epi8_rpl(vLastVal, vWH, cond_last_val);
                vEndI = _mm_blendv_epi8_rpl(vEndI, vI, cond_all_col);
                vEndJ = _mm_blendv_epi8_rpl(vEndJ, vJ, cond_all_row);
            }
            vJ = _mm_add_epi64(vJ, vOne);
        }
        vI = _mm_add_epi64(vI, vN);
        vIBoundary = _mm_sub_epi64(vIBoundary, vGapN);
    }

    /* alignment ending position */
    {
        int64_t max_row = NEG_LIMIT;
        int64_t max_col = NEG_LIMIT;
        int64_t last_val = NEG_LIMIT;
        int64_t *s = (int64_t*)&vMaxHRow;
        int64_t *t = (int64_t*)&vMaxHCol;
        int64_t *u = (int64_t*)&vLastVal;
        int64_t *i = (int64_t*)&vEndI;
        int64_t *j = (int64_t*)&vEndJ;
        int32_t k;
        for (k=0; k<N; ++k, ++s, ++t, ++u, ++i, ++j) {
            if (*t > max_col || (*t == max_col && *i < end_query)) {
                max_col = *t;
                end_query = *i;
            }
            if (*s > max_row) {
                max_row = *s;
                end_ref = *j;
            }
            if (*u > last_val) {
                last_val = *u;
            }
        }
        if (s1_end && s2_end) {
            if (max_col > max_row || (max_col == max_row && end_ref == s2Len-1)) {
                score = max_col;
                end_ref = s2Len-1;
            }
            else {
                score = max_row;
                end_query = s1Len-1;
            }
        }
        else if (s1_end) {
            score = max_col;
            end_ref = s2Len-1;
        }
        else if (s2_end) {
            score = max_row;
            end_query = s1Len-1;
        }
        else {
            score = last_val;
            end_query = s1Len-1;
            end_ref = s2Len-1;
        }
    }

    if (_mm_movemask_epi8(_mm_or_si128(
            _mm_cmplt_epi64_rpl(vSaturationCheckMin, vNegLimit),
            _mm_cmpgt_epi64_rpl(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
subq $0x910, %rsp            # imm = 0x910
movl 0x30(%rbp), %eax
movl 0x28(%rbp), %eax
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movq 0x10(%rbp), %rax
movq %rdi, -0x4c8(%rbp)
movl %esi, -0x4cc(%rbp)
movq %rdx, -0x4d8(%rbp)
movl %ecx, -0x4dc(%rbp)
movl %r8d, -0x4e0(%rbp)
movl %r9d, -0x4e4(%rbp)
movl $0x0, -0x4e8(%rbp)
movl $0x0, -0x4ec(%rbp)
movl $0x0, -0x4f0(%rbp)
movl $0x0, -0x4f4(%rbp)
movl $0x0, -0x4f8(%rbp)
movl $0x0, -0x4fc(%rbp)
movq $0x0, -0x508(%rbp)
movq $0x0, -0x510(%rbp)
movq $0x0, -0x518(%rbp)
movq $0x0, -0x520(%rbp)
movq $0x0, -0x528(%rbp)
movq $0x0, -0x530(%rbp)
movq $0x0, -0x538(%rbp)
movq $0x0, -0x540(%rbp)
movl $0x0, -0x544(%rbp)
movl $0x0, -0x548(%rbp)
movl $0x0, -0x54c(%rbp)
movl $0x0, -0x550(%rbp)
movq $0x0, -0x558(%rbp)
movq $0x0, -0x560(%rbp)
movq $0x0, -0x568(%rbp)
cmpq $0x0, -0x4d8(%rbp)
jne 0x39dfd0
movq 0xa89037(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x94e040(%rip), %rsi    # 0xcebfeb
leaq 0x94f3d8(%rip), %rdx    # 0xced38a
leaq 0x94e744(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
jmp 0x39dfd2
jmp 0x39dfd4
cmpl $0x0, -0x4dc(%rbp)
jg 0x39e013
movq 0xa88ff4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x94e713(%rip), %rsi    # 0xcec701
leaq 0x94f395(%rip), %rdx    # 0xced38a
leaq 0x94e719(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
jmp 0x39e015
jmp 0x39e017
cmpl $0x0, -0x4e0(%rbp)
jge 0x39e056
movq 0xa88fb1(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x94e6ea(%rip), %rsi    # 0xcec71b
leaq 0x94f352(%rip), %rdx    # 0xced38a
leaq 0x94e6f1(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
jmp 0x39e058
jmp 0x39e05a
cmpl $0x0, -0x4e4(%rbp)
jge 0x39e099
movq 0xa88f6e(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x94e6a7(%rip), %rsi    # 0xcec71b
leaq 0x94f30f(%rip), %rdx    # 0xced38a
leaq 0x94e6b3(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
jmp 0x39e09b
jmp 0x39e09d
cmpq $0x0, 0x10(%rbp)
jne 0x39e0da
movq 0xa88f2d(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x94df36(%rip), %rsi    # 0xcebfeb
leaq 0x94f2ce(%rip), %rdx    # 0xced38a
leaq 0x94e862(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
jmp 0x39e0dc
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x39e173
jmp 0x39e0ec
cmpq $0x0, -0x4c8(%rbp)
jne 0x39e12c
movq 0xa88edb(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x94dee4(%rip), %rsi    # 0xcebfeb
leaq 0x94f27c(%rip), %rdx    # 0xced38a
leaq 0x94e624(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
jmp 0x39e12e
jmp 0x39e130
cmpl $0x0, -0x4cc(%rbp)
jg 0x39e16f
movq 0xa88e98(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x94e5b7(%rip), %rsi    # 0xcec701
leaq 0x94f239(%rip), %rdx    # 0xced38a
leaq 0x94e5e5(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
jmp 0x39e171
jmp 0x39e173
movl $0x2, -0x4e8(%rbp)
movl -0x4e8(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x4ec(%rbp)
movl -0x4ec(%rbp), %eax
shll %eax
movl %eax, -0x4f0(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x39e1b2
movl -0x4cc(%rbp), %eax
movl %eax, -0x878(%rbp)
jmp 0x39e1bf
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, -0x878(%rbp)
movl -0x878(%rbp), %eax
movl %eax, -0x4f4(%rbp)
movl -0x4f4(%rbp), %eax
addl -0x4ec(%rbp), %eax
movl %eax, -0x4f8(%rbp)
movl -0x4dc(%rbp), %eax
addl -0x4ec(%rbp), %eax
movl %eax, -0x4fc(%rbp)
movl $0x0, -0x544(%rbp)
movl $0x0, -0x548(%rbp)
movl $0x0, -0x54c(%rbp)
movl $0x0, -0x550(%rbp)
xorl %eax, %eax
subl -0x4e0(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x39e245
movslq -0x4e0(%rbp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
addq %rcx, %rax
movq %rax, -0x880(%rbp)
jmp 0x39e261
movq 0x10(%rbp), %rax
movslq 0x20(%rax), %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
subq %rcx, %rax
movq %rax, -0x880(%rbp)
movq -0x880(%rbp), %rax
incq %rax
movq %rax, -0x558(%rbp)
movq 0x10(%rbp), %rax
movslq 0x1c(%rax), %rcx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
subq %rcx, %rax
movq %rax, -0x560(%rbp)
movq -0x558(%rbp), %rax
movq %rax, -0x568(%rbp)
movq -0x558(%rbp), %rax
movq %rax, -0x458(%rbp)
movq -0x458(%rbp), %rax
movq %rax, -0x438(%rbp)
movq %rax, -0x440(%rbp)
movq -0x438(%rbp), %xmm1
movq -0x440(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x450(%rbp)
movaps -0x450(%rbp), %xmm0
movaps %xmm0, -0x580(%rbp)
movq -0x560(%rbp), %rax
movq %rax, -0x460(%rbp)
movq -0x460(%rbp), %rax
movq %rax, -0x418(%rbp)
movq %rax, -0x420(%rbp)
movq -0x418(%rbp), %xmm1
movq -0x420(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x430(%rbp)
movaps -0x430(%rbp), %xmm0
movaps %xmm0, -0x590(%rbp)
movaps -0x590(%rbp), %xmm0
movaps %xmm0, -0x5a0(%rbp)
movaps -0x580(%rbp), %xmm0
movaps %xmm0, -0x5b0(%rbp)
movq -0x558(%rbp), %rax
movq %rax, -0x468(%rbp)
movq -0x468(%rbp), %rax
movq %rax, -0x3f8(%rbp)
movq %rax, -0x400(%rbp)
movq -0x3f8(%rbp), %xmm1
movq -0x400(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x410(%rbp)
movaps -0x410(%rbp), %xmm0
movaps %xmm0, -0x5c0(%rbp)
movslq -0x4e0(%rbp), %rax
movq %rax, -0x470(%rbp)
movq -0x470(%rbp), %rax
movq %rax, -0x3d8(%rbp)
movq %rax, -0x3e0(%rbp)
movq -0x3d8(%rbp), %xmm1
movq -0x3e0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x3f0(%rbp)
movaps -0x3f0(%rbp), %xmm0
movaps %xmm0, -0x5d0(%rbp)
movslq -0x4e4(%rbp), %rax
movq %rax, -0x478(%rbp)
movq -0x478(%rbp), %rax
movq %rax, -0x3b8(%rbp)
movq %rax, -0x3c0(%rbp)
movq -0x3b8(%rbp), %xmm1
movq -0x3c0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x3d0(%rbp)
movaps -0x3d0(%rbp), %xmm0
movaps %xmm0, -0x5e0(%rbp)
movq $0x1, -0x480(%rbp)
movq -0x480(%rbp), %rax
movq %rax, -0x398(%rbp)
movq %rax, -0x3a0(%rbp)
movq -0x398(%rbp), %xmm1
movq -0x3a0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x3b0(%rbp)
movaps -0x3b0(%rbp), %xmm0
movaps %xmm0, -0x5f0(%rbp)
movslq -0x4e8(%rbp), %rax
movq %rax, -0x488(%rbp)
movq -0x488(%rbp), %rax
movq %rax, -0x378(%rbp)
movq %rax, -0x380(%rbp)
movq -0x378(%rbp), %xmm1
movq -0x380(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x390(%rbp)
movdqa -0x390(%rbp), %xmm0
movdqa %xmm0, -0x600(%rbp)
cmpl $0x0, 0x18(%rbp)
je 0x39e51f
movq $0x0, -0x490(%rbp)
movq -0x490(%rbp), %rax
movq %rax, -0x358(%rbp)
movq %rax, -0x360(%rbp)
movq -0x358(%rbp), %xmm1
movq -0x360(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x370(%rbp)
movdqa -0x370(%rbp), %xmm0
movaps %xmm0, -0x890(%rbp)
jmp 0x39e577
movl -0x4e4(%rbp), %eax
movl -0x4e8(%rbp), %ecx
imull %ecx, %eax
cltq
movq %rax, -0x498(%rbp)
movq -0x498(%rbp), %rax
movq %rax, -0x338(%rbp)
movq %rax, -0x340(%rbp)
movq -0x338(%rbp), %xmm1
movq -0x340(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x350(%rbp)
movdqa -0x350(%rbp), %xmm0
movaps %xmm0, -0x890(%rbp)
movaps -0x890(%rbp), %xmm0
movaps %xmm0, -0x610(%rbp)
movq $-0x1, -0x4a0(%rbp)
movq -0x4a0(%rbp), %rax
movq %rax, -0x318(%rbp)
movq %rax, -0x320(%rbp)
movq -0x318(%rbp), %xmm1
movq -0x320(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x330(%rbp)
movaps -0x330(%rbp), %xmm0
movaps %xmm0, -0x620(%rbp)
movq $0x0, -0x238(%rbp)
movq $0x1, -0x240(%rbp)
movq -0x238(%rbp), %xmm1
movq -0x240(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x250(%rbp)
movaps -0x250(%rbp), %xmm0
movaps %xmm0, -0x630(%rbp)
movq $0x0, -0x258(%rbp)
movq $-0x1, -0x260(%rbp)
movq -0x258(%rbp), %xmm1
movq -0x260(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x270(%rbp)
movaps -0x270(%rbp), %xmm0
movaps %xmm0, -0x640(%rbp)
movaps -0x5c0(%rbp), %xmm0
movaps %xmm0, -0x650(%rbp)
movaps -0x5c0(%rbp), %xmm0
movaps %xmm0, -0x660(%rbp)
movaps -0x5c0(%rbp), %xmm0
movaps %xmm0, -0x670(%rbp)
movaps -0x5c0(%rbp), %xmm0
movaps %xmm0, -0x680(%rbp)
movaps -0x5c0(%rbp), %xmm0
movaps %xmm0, -0x690(%rbp)
movslq -0x4f4(%rbp), %rax
movq %rax, -0x4a8(%rbp)
movq -0x4a8(%rbp), %rax
movq %rax, -0x2f8(%rbp)
movq %rax, -0x300(%rbp)
movq -0x2f8(%rbp), %xmm1
movq -0x300(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x310(%rbp)
movaps -0x310(%rbp), %xmm0
movaps %xmm0, -0x6a0(%rbp)
movaps -0x6a0(%rbp), %xmm1
movaps -0x5f0(%rbp), %xmm0
movaps %xmm1, -0x160(%rbp)
movaps %xmm0, -0x170(%rbp)
movaps -0x160(%rbp), %xmm0
movaps -0x170(%rbp), %xmm1
psubq %xmm1, %xmm0
movaps %xmm0, -0x6b0(%rbp)
movslq -0x4dc(%rbp), %rax
movq %rax, -0x4b0(%rbp)
movq -0x4b0(%rbp), %rax
movq %rax, -0x2d8(%rbp)
movq %rax, -0x2e0(%rbp)
movq -0x2d8(%rbp), %xmm1
movq -0x2e0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x2f0(%rbp)
movdqa -0x2f0(%rbp), %xmm0
movdqa %xmm0, -0x6c0(%rbp)
movdqa -0x6c0(%rbp), %xmm1
movdqa -0x5f0(%rbp), %xmm0
movdqa %xmm1, -0x180(%rbp)
movdqa %xmm0, -0x190(%rbp)
movdqa -0x180(%rbp), %xmm0
psubq -0x190(%rbp), %xmm0
movdqa %xmm0, -0x6d0(%rbp)
cmpl $0x0, 0x18(%rbp)
je 0x39e7ed
movq $0x0, -0x4b8(%rbp)
movq -0x4b8(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq %rax, -0x2c0(%rbp)
movq -0x2b8(%rbp), %xmm1
movq -0x2c0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x2d0(%rbp)
movdqa -0x2d0(%rbp), %xmm0
movaps %xmm0, -0x8a0(%rbp)
jmp 0x39e83b
movl -0x4e0(%rbp), %eax
negl %eax
movl -0x4e4(%rbp), %edx
movslq %eax, %rcx
subl %edx, %eax
cltq
movq %rcx, -0x278(%rbp)
movq %rax, -0x280(%rbp)
movq -0x278(%rbp), %xmm1
movq -0x280(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x290(%rbp)
movdqa -0x290(%rbp), %xmm0
movaps %xmm0, -0x8a0(%rbp)
movaps -0x8a0(%rbp), %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movl -0x4f4(%rbp), %edi
movl -0x4dc(%rbp), %esi
callq 0x1c39b0
movq %rax, -0x540(%rbp)
cmpq $0x0, -0x540(%rbp)
jne 0x39e87c
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
movq -0x540(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x2801002, %ecx        # imm = 0x2801002
movl %ecx, 0xc(%rax)
movl 0x18(%rbp), %edx
xorl %ecx, %ecx
movl $0x8, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq -0x540(%rbp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x20(%rbp), %edx
xorl %ecx, %ecx
movl $0x10, %eax
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq -0x540(%rbp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x28(%rbp), %edx
xorl %ecx, %ecx
movl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq -0x540(%rbp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movl 0x30(%rbp), %edx
xorl %ecx, %ecx
movl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %edx
cmovnel %eax, %ecx
movq -0x540(%rbp), %rax
orl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movq -0x540(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x20000, %ecx          # imm = 0x20000
movl %ecx, 0xc(%rax)
movl -0x4dc(%rbp), %eax
addl -0x4f0(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3690
movq %rax, -0x510(%rbp)
movl -0x4dc(%rbp), %eax
addl -0x4f0(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3690
movq %rax, -0x518(%rbp)
movl -0x4dc(%rbp), %eax
addl -0x4f0(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3690
movq %rax, -0x520(%rbp)
movq -0x510(%rbp), %rax
movslq -0x4ec(%rbp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x528(%rbp)
movq -0x518(%rbp), %rax
movslq -0x4ec(%rbp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x530(%rbp)
movq -0x520(%rbp), %rax
movslq -0x4ec(%rbp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x538(%rbp)
cmpq $0x0, -0x510(%rbp)
jne 0x39e9e4
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
cmpq $0x0, -0x518(%rbp)
jne 0x39e9fe
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
cmpq $0x0, -0x520(%rbp)
jne 0x39ea18
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x39eafc
movl -0x4f4(%rbp), %eax
addl -0x4ec(%rbp), %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c3690
movq %rax, -0x508(%rbp)
cmpq $0x0, -0x508(%rbp)
jne 0x39ea60
movq $0x0, -0x4c0(%rbp)
jmp 0x39faeb
movl $0x0, -0x544(%rbp)
movl -0x544(%rbp), %eax
cmpl -0x4f4(%rbp), %eax
jge 0x39eab9
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x4c8(%rbp), %rcx
movslq -0x544(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq (%rax,%rcx,4), %rdx
movq -0x508(%rbp), %rax
movslq -0x544(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x544(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x544(%rbp)
jmp 0x39ea6a
movl -0x4f4(%rbp), %eax
movl %eax, -0x544(%rbp)
movl -0x544(%rbp), %eax
cmpl -0x4f8(%rbp), %eax
jge 0x39eafa
movq -0x508(%rbp), %rax
movslq -0x544(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
movl -0x544(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x544(%rbp)
jmp 0x39eac5
jmp 0x39eafc
movl $0x0, -0x548(%rbp)
movl -0x548(%rbp), %eax
cmpl -0x4dc(%rbp), %eax
jge 0x39eb55
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x4d8(%rbp), %rcx
movslq -0x548(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq (%rax,%rcx,4), %rdx
movq -0x528(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39eb06
xorl %eax, %eax
subl -0x4ec(%rbp), %eax
movl %eax, -0x548(%rbp)
cmpl $0x0, -0x548(%rbp)
jge 0x39eb93
movq -0x528(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39eb63
movl -0x4dc(%rbp), %eax
movl %eax, -0x548(%rbp)
movl -0x548(%rbp), %eax
cmpl -0x4fc(%rbp), %eax
jge 0x39ebd4
movq -0x528(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39eb9f
cmpl $0x0, 0x28(%rbp)
je 0x39ec34
movl $0x0, -0x548(%rbp)
movl -0x548(%rbp), %eax
cmpl -0x4dc(%rbp), %eax
jge 0x39ec32
movq -0x530(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
movq -0x558(%rbp), %rdx
movq -0x538(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39ebe4
jmp 0x39eca4
movl $0x0, -0x548(%rbp)
movl -0x548(%rbp), %eax
cmpl -0x4dc(%rbp), %eax
jge 0x39eca2
xorl %eax, %eax
subl -0x4e0(%rbp), %eax
movl -0x548(%rbp), %ecx
imull -0x4e4(%rbp), %ecx
subl %ecx, %eax
movslq %eax, %rdx
movq -0x530(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x558(%rbp), %rdx
movq -0x538(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39ec3e
jmp 0x39eca4
xorl %eax, %eax
subl -0x4ec(%rbp), %eax
movl %eax, -0x548(%rbp)
cmpl $0x0, -0x548(%rbp)
jge 0x39ecfe
movq -0x558(%rbp), %rdx
movq -0x530(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x558(%rbp), %rdx
movq -0x538(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39ecb2
movl -0x4dc(%rbp), %eax
movl %eax, -0x548(%rbp)
movl -0x548(%rbp), %eax
movl -0x4dc(%rbp), %ecx
addl -0x4ec(%rbp), %ecx
cmpl %ecx, %eax
jge 0x39ed63
movq -0x558(%rbp), %rdx
movq -0x530(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x558(%rbp), %rdx
movq -0x538(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39ed0a
movq -0x530(%rbp), %rax
movq $0x0, -0x8(%rax)
movl $0x0, -0x544(%rbp)
movl -0x544(%rbp), %eax
cmpl -0x4f4(%rbp), %eax
jge 0x39f73b
movdqa -0x5c0(%rbp), %xmm0
movdqa %xmm0, -0x6f0(%rbp)
movdqa -0x5c0(%rbp), %xmm0
movdqa %xmm0, -0x700(%rbp)
movdqa -0x5c0(%rbp), %xmm0
movdqa %xmm0, -0x710(%rbp)
movdqa -0x5c0(%rbp), %xmm0
movdqa %xmm0, -0x720(%rbp)
movdqa -0x640(%rbp), %xmm0
movdqa %xmm0, -0x730(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x8b0(%rbp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, -0x8a8(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x39ee26
movq -0x508(%rbp), %rax
movl -0x544(%rbp), %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x8b8(%rbp)
jmp 0x39ee66
movl -0x544(%rbp), %eax
addl $0x0, %eax
cmpl -0x4f4(%rbp), %eax
jl 0x39ee48
movl -0x4f4(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x8bc(%rbp)
jmp 0x39ee57
movl -0x544(%rbp), %eax
addl $0x0, %eax
movl %eax, -0x8bc(%rbp)
movl -0x8bc(%rbp), %eax
cltq
movq %rax, -0x8b8(%rbp)
movq -0x8b0(%rbp), %rax
movq -0x8a8(%rbp), %rcx
movq -0x8b8(%rbp), %rdx
imulq %rdx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x738(%rbp)
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x8d0(%rbp)
movq 0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movq %rax, -0x8c8(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x39eed5
movq -0x508(%rbp), %rax
movl -0x544(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x8d8(%rbp)
jmp 0x39ef15
movl -0x544(%rbp), %eax
addl $0x1, %eax
cmpl -0x4f4(%rbp), %eax
jl 0x39eef7
movl -0x4f4(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x8dc(%rbp)
jmp 0x39ef06
movl -0x544(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8dc(%rbp)
movl -0x8dc(%rbp), %eax
cltq
movq %rax, -0x8d8(%rbp)
movq -0x8d0(%rbp), %rax
movq -0x8c8(%rbp), %rcx
movq -0x8d8(%rbp), %rdx
imulq %rdx, %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -0x740(%rbp)
movaps -0x630(%rbp), %xmm0
movaps -0x6a0(%rbp), %xmm1
callq 0x39fb00
movaps %xmm0, -0x750(%rbp)
movaps -0x630(%rbp), %xmm0
movaps -0x6b0(%rbp), %xmm1
callq 0x39fb70
movaps %xmm0, -0x760(%rbp)
movaps -0x6f0(%rbp), %xmm0
psrldq $0x8, %xmm0             # xmm0 = xmm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero
movaps %xmm0, -0x6f0(%rbp)
movaps -0x6f0(%rbp), %xmm0
movq -0x530(%rbp), %rax
movq -0x8(%rax), %rdi
movl $0x1, %esi
callq 0x39fbe0
movaps %xmm0, -0x6f0(%rbp)
movaps -0x700(%rbp), %xmm0
psrldq $0x8, %xmm0             # xmm0 = xmm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero
movdqa %xmm0, -0x700(%rbp)
movdqa -0x700(%rbp), %xmm0
movaps %xmm0, -0x8f0(%rbp)
cmpl $0x0, 0x18(%rbp)
je 0x39efd6
xorl %eax, %eax
movl %eax, -0x8f4(%rbp)
jmp 0x39eff3
xorl %eax, %eax
subl -0x4e0(%rbp), %eax
movl -0x544(%rbp), %ecx
imull -0x4e4(%rbp), %ecx
subl %ecx, %eax
movl %eax, -0x8f4(%rbp)
movaps -0x8f0(%rbp), %xmm0
movl -0x8f4(%rbp), %eax
movslq %eax, %rdi
movl $0x1, %esi
callq 0x39fbe0
movdqa %xmm0, -0x700(%rbp)
xorl %eax, %eax
subl -0x4e0(%rbp), %eax
movl -0x544(%rbp), %ecx
addl -0x4e8(%rbp), %ecx
imull -0x4e4(%rbp), %ecx
subl %ecx, %eax
movslq %eax, %rcx
movq -0x530(%rbp), %rax
movq %rcx, -0x8(%rax)
movl $0x0, -0x548(%rbp)
movl -0x548(%rbp), %eax
movl -0x4dc(%rbp), %ecx
addl -0x4ec(%rbp), %ecx
cmpl %ecx, %eax
jge 0x39f6b4
movaps -0x6f0(%rbp), %xmm0
movaps %xmm0, -0x780(%rbp)
movaps -0x700(%rbp), %xmm0
psrldq $0x8, %xmm0             # xmm0 = xmm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero
movaps %xmm0, -0x6f0(%rbp)
movaps -0x6f0(%rbp), %xmm0
movq -0x530(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movl $0x1, %esi
movl %esi, -0x8f8(%rbp)
callq 0x39fbe0
movl -0x8f8(%rbp), %esi
movaps %xmm0, -0x6f0(%rbp)
movaps -0x720(%rbp), %xmm0
psrldq $0x8, %xmm0             # xmm0 = xmm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero
movaps %xmm0, -0x720(%rbp)
movaps -0x720(%rbp), %xmm0
movq -0x538(%rbp), %rax
movslq -0x548(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x39fbe0
movaps %xmm0, -0x720(%rbp)
movaps -0x6f0(%rbp), %xmm1
movaps -0x5d0(%rbp), %xmm0
movaps %xmm1, -0x1a0(%rbp)
movaps %xmm0, -0x1b0(%rbp)
movaps -0x1a0(%rbp), %xmm0
movaps -0x1b0(%rbp), %xmm1
psubq %xmm1, %xmm0
movaps -0x720(%rbp), %xmm2
movaps -0x5e0(%rbp), %xmm1
movaps %xmm2, -0x1c0(%rbp)
movaps %xmm1, -0x1d0(%rbp)
movaps -0x1c0(%rbp), %xmm1
movaps -0x1d0(%rbp), %xmm2
psubq %xmm2, %xmm1
callq 0x39fc10
movaps %xmm0, -0x720(%rbp)
movaps -0x700(%rbp), %xmm1
movaps -0x5d0(%rbp), %xmm0
movaps %xmm1, -0x1e0(%rbp)
movaps %xmm0, -0x1f0(%rbp)
movaps -0x1e0(%rbp), %xmm0
movaps -0x1f0(%rbp), %xmm1
psubq %xmm1, %xmm0
movaps -0x710(%rbp), %xmm2
movaps -0x5e0(%rbp), %xmm1
movaps %xmm2, -0x200(%rbp)
movaps %xmm1, -0x210(%rbp)
movaps -0x200(%rbp), %xmm1
movaps -0x210(%rbp), %xmm2
psubq %xmm2, %xmm1
callq 0x39fc10
movaps %xmm0, -0x710(%rbp)
movq -0x738(%rbp), %rax
movq -0x528(%rbp), %rdx
movslq -0x548(%rbp), %rcx
movl %ecx, %esi
movq (%rdx,%rcx,8), %rcx
movslq (%rax,%rcx,4), %rcx
movq -0x740(%rbp), %rax
decl %esi
movslq %esi, %rsi
movq (%rdx,%rsi,8), %rdx
movslq (%rax,%rdx,4), %rax
movq %rcx, -0x298(%rbp)
movq %rax, -0x2a0(%rbp)
movq -0x298(%rbp), %xmm1
movq -0x2a0(%rbp), %xmm0
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x2b0(%rbp)
movdqa -0x2b0(%rbp), %xmm0
movdqa %xmm0, -0x770(%rbp)
movdqa -0x780(%rbp), %xmm1
movdqa -0x770(%rbp), %xmm0
movdqa %xmm1, -0x100(%rbp)
movdqa %xmm0, -0x110(%rbp)
movdqa -0x100(%rbp), %xmm0
paddq -0x110(%rbp), %xmm0
movdqa %xmm0, -0x780(%rbp)
movdqa -0x780(%rbp), %xmm0
movdqa -0x710(%rbp), %xmm1
callq 0x39fc10
movdqa %xmm0, -0x700(%rbp)
movdqa -0x700(%rbp), %xmm0
movdqa -0x720(%rbp), %xmm1
callq 0x39fc10
movdqa %xmm0, -0x700(%rbp)
movdqa -0x730(%rbp), %xmm0
movdqa -0x620(%rbp), %xmm1
callq 0x39fb70
movdqa %xmm0, -0x790(%rbp)
movdqa -0x700(%rbp), %xmm0
movdqa -0x6e0(%rbp), %xmm1
movdqa -0x790(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x700(%rbp)
movdqa -0x720(%rbp), %xmm0
movdqa -0x5c0(%rbp), %xmm1
movdqa -0x790(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x720(%rbp)
movdqa -0x710(%rbp), %xmm0
movdqa -0x5c0(%rbp), %xmm1
movdqa -0x790(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x710(%rbp)
movl -0x548(%rbp), %eax
cmpl -0x4ec(%rbp), %eax
jle 0x39f376
movdqa -0x5a0(%rbp), %xmm0
movdqa -0x700(%rbp), %xmm1
callq 0x39fd20
movdqa %xmm0, -0x5a0(%rbp)
movdqa -0x5b0(%rbp), %xmm0
movdqa -0x700(%rbp), %xmm1
callq 0x39fc10
movdqa %xmm0, -0x5b0(%rbp)
movq -0x540(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x700(%rbp), %xmm0
movl -0x544(%rbp), %esi
movl -0x4f4(%rbp), %edx
movl -0x548(%rbp), %ecx
movl -0x4dc(%rbp), %r8d
callq 0x39fda0
movdqa -0x700(%rbp), %xmm0
xorl %edi, %edi
callq 0x39fe90
movq %rax, %rdx
movq -0x530(%rbp), %rax
movl -0x548(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movdqa -0x720(%rbp), %xmm0
xorl %edi, %edi
callq 0x39fe90
movq %rax, %rdx
movq -0x538(%rbp), %rax
movl -0x548(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movdqa -0x730(%rbp), %xmm0
movdqa -0x6d0(%rbp), %xmm1
callq 0x39fb70
movdqa %xmm0, -0x7a0(%rbp)
movdqa -0x730(%rbp), %xmm0
movdqa -0x620(%rbp), %xmm1
callq 0x39fec0
movdqa %xmm0, -0x7b0(%rbp)
movdqa -0x730(%rbp), %xmm0
movdqa -0x6c0(%rbp), %xmm1
callq 0x39fb00
movdqa %xmm0, -0x7c0(%rbp)
movdqa -0x750(%rbp), %xmm1
movdqa -0x7a0(%rbp), %xmm0
movdqa %xmm1, -0x40(%rbp)
movdqa %xmm0, -0x50(%rbp)
movdqa -0x40(%rbp), %xmm0
pand -0x50(%rbp), %xmm0
movdqa %xmm0, -0x7d0(%rbp)
movdqa -0x760(%rbp), %xmm1
movdqa -0x7b0(%rbp), %xmm2
movdqa -0x7c0(%rbp), %xmm0
movdqa %xmm2, -0x60(%rbp)
movdqa %xmm0, -0x70(%rbp)
movdqa -0x60(%rbp), %xmm0
pand -0x70(%rbp), %xmm0
movdqa %xmm1, -0x80(%rbp)
movdqa %xmm0, -0x90(%rbp)
movdqa -0x80(%rbp), %xmm0
pand -0x90(%rbp), %xmm0
movdqa %xmm0, -0x7e0(%rbp)
movdqa -0x700(%rbp), %xmm0
movdqa -0x650(%rbp), %xmm1
callq 0x39fec0
movdqa %xmm0, -0x7f0(%rbp)
movdqa -0x700(%rbp), %xmm0
movdqa -0x660(%rbp), %xmm1
callq 0x39fec0
movdqa %xmm0, -0x800(%rbp)
movdqa -0x760(%rbp), %xmm1
movdqa -0x7a0(%rbp), %xmm0
movdqa %xmm1, -0xa0(%rbp)
movdqa %xmm0, -0xb0(%rbp)
movdqa -0xa0(%rbp), %xmm0
pand -0xb0(%rbp), %xmm0
movdqa %xmm0, -0x810(%rbp)
movdqa -0x7f0(%rbp), %xmm1
movdqa -0x7e0(%rbp), %xmm0
movdqa %xmm1, -0xc0(%rbp)
movdqa %xmm0, -0xd0(%rbp)
movdqa -0xc0(%rbp), %xmm0
pand -0xd0(%rbp), %xmm0
movdqa %xmm0, -0x820(%rbp)
movdqa -0x800(%rbp), %xmm1
movdqa -0x7d0(%rbp), %xmm0
movdqa %xmm1, -0xe0(%rbp)
movdqa %xmm0, -0xf0(%rbp)
movdqa -0xe0(%rbp), %xmm0
pand -0xf0(%rbp), %xmm0
movdqa %xmm0, -0x830(%rbp)
movdqa -0x650(%rbp), %xmm0
movdqa -0x700(%rbp), %xmm1
movdqa -0x820(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x650(%rbp)
movdqa -0x660(%rbp), %xmm0
movdqa -0x700(%rbp), %xmm1
movdqa -0x830(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x660(%rbp)
movdqa -0x670(%rbp), %xmm0
movdqa -0x700(%rbp), %xmm1
movdqa -0x810(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x670(%rbp)
movdqa -0x680(%rbp), %xmm0
movdqa -0x630(%rbp), %xmm1
movdqa -0x830(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x680(%rbp)
movdqa -0x690(%rbp), %xmm0
movdqa -0x730(%rbp), %xmm1
movdqa -0x820(%rbp), %xmm2
callq 0x39fc90
movdqa %xmm0, -0x690(%rbp)
movdqa -0x730(%rbp), %xmm1
movdqa -0x5f0(%rbp), %xmm0
movdqa %xmm1, -0x120(%rbp)
movdqa %xmm0, -0x130(%rbp)
movdqa -0x120(%rbp), %xmm0
paddq -0x130(%rbp), %xmm0
movdqa %xmm0, -0x730(%rbp)
movl -0x548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x548(%rbp)
jmp 0x39f04a
movdqa -0x630(%rbp), %xmm1
movdqa -0x600(%rbp), %xmm0
movdqa %xmm1, -0x140(%rbp)
movdqa %xmm0, -0x150(%rbp)
movdqa -0x140(%rbp), %xmm0
paddq -0x150(%rbp), %xmm0
movdqa %xmm0, -0x630(%rbp)
movdqa -0x6e0(%rbp), %xmm1
movdqa -0x610(%rbp), %xmm0
movdqa %xmm1, -0x220(%rbp)
movdqa %xmm0, -0x230(%rbp)
movdqa -0x220(%rbp), %xmm0
psubq -0x230(%rbp), %xmm0
movdqa %xmm0, -0x6e0(%rbp)
movl -0x4e8(%rbp), %eax
addl -0x544(%rbp), %eax
movl %eax, -0x544(%rbp)
jmp 0x39ed7c
movq -0x558(%rbp), %rax
movq %rax, -0x838(%rbp)
movq -0x558(%rbp), %rax
movq %rax, -0x840(%rbp)
movq -0x558(%rbp), %rax
movq %rax, -0x848(%rbp)
leaq -0x650(%rbp), %rax
movq %rax, -0x850(%rbp)
leaq -0x660(%rbp), %rax
movq %rax, -0x858(%rbp)
leaq -0x670(%rbp), %rax
movq %rax, -0x860(%rbp)
leaq -0x680(%rbp), %rax
movq %rax, -0x868(%rbp)
leaq -0x690(%rbp), %rax
movq %rax, -0x870(%rbp)
movl $0x0, -0x874(%rbp)
movl -0x874(%rbp), %eax
cmpl -0x4e8(%rbp), %eax
jge 0x39f8ec
movq -0x858(%rbp), %rax
movq (%rax), %rax
cmpq -0x840(%rbp), %rax
jg 0x39f803
movq -0x858(%rbp), %rax
movq (%rax), %rax
cmpq -0x840(%rbp), %rax
jne 0x39f824
movq -0x868(%rbp), %rax
movq (%rax), %rax
movslq -0x54c(%rbp), %rcx
cmpq %rcx, %rax
jge 0x39f824
movq -0x858(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x840(%rbp)
movq -0x868(%rbp), %rax
movq (%rax), %rax
movl %eax, -0x54c(%rbp)
movq -0x850(%rbp), %rax
movq (%rax), %rax
cmpq -0x838(%rbp), %rax
jle 0x39f858
movq -0x850(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x838(%rbp)
movq -0x870(%rbp), %rax
movq (%rax), %rax
movl %eax, -0x550(%rbp)
movq -0x860(%rbp), %rax
movq (%rax), %rax
cmpq -0x848(%rbp), %rax
jle 0x39f87c
movq -0x860(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x848(%rbp)
jmp 0x39f87e
movl -0x874(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x874(%rbp)
movq -0x850(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x850(%rbp)
movq -0x858(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x858(%rbp)
movq -0x860(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x860(%rbp)
movq -0x868(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x868(%rbp)
movq -0x870(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x870(%rbp)
jmp 0x39f7b5
cmpl $0x0, 0x20(%rbp)
je 0x39f969
cmpl $0x0, 0x30(%rbp)
je 0x39f969
movq -0x840(%rbp), %rax
cmpq -0x838(%rbp), %rax
jg 0x39f92b
movq -0x840(%rbp), %rax
cmpq -0x838(%rbp), %rax
jne 0x39f94a
movl -0x550(%rbp), %eax
movl -0x4dc(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x39f94a
movq -0x840(%rbp), %rax
movq %rax, -0x568(%rbp)
movl -0x4dc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x39f967
movq -0x838(%rbp), %rax
movq %rax, -0x568(%rbp)
movl -0x4f4(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x54c(%rbp)
jmp 0x39f9e3
cmpl $0x0, 0x20(%rbp)
je 0x39f98e
movq -0x840(%rbp), %rax
movq %rax, -0x568(%rbp)
movl -0x4dc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x39f9e1
cmpl $0x0, 0x30(%rbp)
je 0x39f9b3
movq -0x838(%rbp), %rax
movq %rax, -0x568(%rbp)
movl -0x4f4(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x54c(%rbp)
jmp 0x39f9df
movq -0x848(%rbp), %rax
movq %rax, -0x568(%rbp)
movl -0x4f4(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x54c(%rbp)
movl -0x4dc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x550(%rbp)
jmp 0x39f9e1
jmp 0x39f9e3
movdqa -0x5a0(%rbp), %xmm0
movdqa -0x580(%rbp), %xmm1
callq 0x39fb00
movaps %xmm0, -0x910(%rbp)
movdqa -0x5b0(%rbp), %xmm0
movdqa -0x590(%rbp), %xmm1
callq 0x39fec0
movaps -0x910(%rbp), %xmm1
movdqa %xmm1, -0x10(%rbp)
movdqa %xmm0, -0x20(%rbp)
movdqa -0x10(%rbp), %xmm0
por -0x20(%rbp), %xmm0
movdqa %xmm0, -0x30(%rbp)
movdqa -0x30(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x39fa71
movq -0x540(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movq $0x0, -0x568(%rbp)
movl $0x0, -0x54c(%rbp)
movl $0x0, -0x550(%rbp)
movq -0x568(%rbp), %rax
movl %eax, %ecx
movq -0x540(%rbp), %rax
movl %ecx, (%rax)
movl -0x54c(%rbp), %ecx
movq -0x540(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x550(%rbp), %ecx
movq -0x540(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x520(%rbp), %rdi
callq 0x1c3590
movq -0x518(%rbp), %rdi
callq 0x1c3590
movq -0x510(%rbp), %rdi
callq 0x1c3590
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x39fadd
movq -0x508(%rbp), %rdi
callq 0x1c3590
movq -0x540(%rbp), %rax
movq %rax, -0x4c0(%rbp)
movq -0x4c0(%rbp), %rax
addq $0x910, %rsp            # imm = 0x910
popq %rbp
retq
nopl (%rax,%rax)