// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_trace_scan_sse2_128_32.c
// Function: parasail_sw_trace_scan_profile_sse2_128_32
parasail_result_t* PNAME(
        const parasail_profile_t * const restrict profile,
        const char * const restrict s2, const int s2Len,
        const int open, const int gap)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int32_t s1Len = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
    __m128i* restrict pvP = NULL;
    __m128i* restrict pvE = NULL;
    __m128i* restrict pvHt = NULL;
    __m128i* restrict pvH = NULL;
    __m128i* restrict pvHMax = NULL;
    __m128i* restrict pvGapper = NULL;
    __m128i vGapO;
    __m128i vGapE;
    int32_t NEG_LIMIT = 0;
    int32_t POS_LIMIT = 0;
    __m128i vZero;
    int32_t score = 0;
    __m128i vNegLimit;
    __m128i vPosLimit;
    __m128i vSaturationCheckMin;
    __m128i vSaturationCheckMax;
    __m128i vMaxH;
    __m128i vMaxHUnit;
    __m128i vNegInfFront;
    __m128i vSegLenXgap;
    parasail_result_t *result = NULL;
    __m128i vTZero;
    __m128i vTIns;
    __m128i vTDel;
    __m128i vTDiag;
    __m128i vTDiagE;
    __m128i vTInsE;
    __m128i vTDiagF;
    __m128i vTDelF;

    /* validate inputs */
    PARASAIL_CHECK_NULL(profile);
    PARASAIL_CHECK_NULL(profile->profile32.score);
    PARASAIL_CHECK_NULL(profile->matrix);
    PARASAIL_CHECK_GT0(profile->s1Len);
    PARASAIL_CHECK_NULL(s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);

    /* initialize stack variables */
    i = 0;
    j = 0;
    end_query = 0;
    end_ref = 0;
    s1Len = profile->s1Len;
    matrix = profile->matrix;
    segWidth = 4; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
    pvP = (__m128i*)profile->profile32.score;
    vGapO = _mm_set1_epi32(open);
    vGapE = _mm_set1_epi32(gap);
    NEG_LIMIT = (-open < matrix->min ? INT32_MIN + open : INT32_MIN - matrix->min) + 1;
    POS_LIMIT = INT32_MAX - matrix->max - 1;
    vZero = _mm_setzero_si128();
    score = NEG_LIMIT;
    vNegLimit = _mm_set1_epi32(NEG_LIMIT);
    vPosLimit = _mm_set1_epi32(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vMaxHUnit = vNegLimit;
    vNegInfFront = vZero;
    vNegInfFront = _mm_insert_epi32_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm_add_epi32(vNegInfFront,
            _mm_slli_si128(_mm_set1_epi32(-segLen*gap), 4));
    vTZero = _mm_set1_epi32(PARASAIL_ZERO);
    vTIns  = _mm_set1_epi32(PARASAIL_INS);
    vTDel  = _mm_set1_epi32(PARASAIL_DEL);
    vTDiag = _mm_set1_epi32(PARASAIL_DIAG);
    vTDiagE = _mm_set1_epi32(PARASAIL_DIAG_E);
    vTInsE = _mm_set1_epi32(PARASAIL_INS_E);
    vTDiagF = _mm_set1_epi32(PARASAIL_DIAG_F);
    vTDelF = _mm_set1_epi32(PARASAIL_DEL_F);


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

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

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

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

    parasail_memset___m128i(pvH, vZero, segLen);
    parasail_memset___m128i(pvE, vNegLimit, segLen);
    {
        __m128i vGapper = _mm_sub_epi32(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm_store_si128(pvGapper+i, vGapper);
            vGapper = _mm_sub_epi32(vGapper, vGapE);
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vE;
        __m128i vE_ext;
        __m128i vE_opn;
        __m128i vHt;
        __m128i vF;
        __m128i vF_ext;
        __m128i vF_opn;
        __m128i vH;
        __m128i vHp;
        __m128i *pvW;
        __m128i vW;
        __m128i case1;
        __m128i case2;
        __m128i case0;
        __m128i vGapper;
        __m128i vT;
        __m128i vET;
        __m128i vFT;

        /* calculate E */
        /* calculate Ht */
        /* calculate F and H first pass */
        vHp = _mm_load_si128(pvH+(segLen-1));
        vHp = _mm_slli_si128(vHp, 4);
        pvW = pvP + matrix->mapper[(unsigned char)s2[j]]*segLen;
        vHt = vZero;
        vF = vNegLimit;
        for (i=0; i<segLen; ++i) {
            vH = _mm_load_si128(pvH+i);
            vE = _mm_load_si128(pvE+i);
            vW = _mm_load_si128(pvW+i);
            vGapper = _mm_load_si128(pvGapper+i);
            vE_opn = _mm_sub_epi32(vH, vGapO);
            vE_ext = _mm_sub_epi32(vE, vGapE);
            case1 = _mm_cmpgt_epi32(vE_opn, vE_ext);
            vET = _mm_blendv_epi8_rpl(vTInsE, vTDiagE, case1);
            arr_store(result->trace->trace_table, vET, i, segLen, j);
            vE = _mm_max_epi32_rpl(vE_opn, vE_ext);
            vGapper = _mm_add_epi32(vHt, vGapper);
            vF = _mm_max_epi32_rpl(vF, vGapper);
            vHp = _mm_add_epi32(vHp, vW);
            vHt = _mm_max_epi32_rpl(vE, vHp);
            _mm_store_si128(pvE+i, vE);
            _mm_store_si128(pvHt+i, vHt);
            _mm_store_si128(pvH+i, vHp);
            vHp = vH;
        }

        /* pseudo prefix scan on F and H */
        vHt = _mm_slli_si128(vHt, 4);
        vGapper = _mm_load_si128(pvGapper);
        vGapper = _mm_add_epi32(vHt, vGapper);
        vF = _mm_max_epi32_rpl(vF, vGapper);
        for (i=0; i<segWidth-2; ++i) {
            __m128i vFt = _mm_slli_si128(vF, 4);
            vFt = _mm_add_epi32(vFt, vSegLenXgap);
            vF = _mm_max_epi32_rpl(vF, vFt);
        }

        /* calculate final H */
        vF = _mm_slli_si128(vF, 4);
        vF = _mm_add_epi32(vF, vNegInfFront);
        vH = _mm_max_epi32_rpl(vF, vHt);
        vH = _mm_max_epi32_rpl(vH, vZero);
        for (i=0; i<segLen; ++i) {
            vET = arr_load(result->trace->trace_table, i, segLen, j);
            vHp = _mm_load_si128(pvH+i);
            vHt = _mm_load_si128(pvHt+i);
            vF_opn = _mm_sub_epi32(vH, vGapO);
            vF_ext = _mm_sub_epi32(vF, vGapE);
            vF = _mm_max_epi32_rpl(vF_opn, vF_ext);
            case1 = _mm_cmpgt_epi32(vF_opn, vF_ext);
            vFT = _mm_blendv_epi8_rpl(vTDelF, vTDiagF, case1);
            vH = _mm_max_epi32_rpl(vHt, vF);
            vH = _mm_max_epi32_rpl(vH, vZero);
            case0 = _mm_cmpeq_epi32(vH, vZero);
            case1 = _mm_cmpeq_epi32(vH, vHp);
            case2 = _mm_cmpeq_epi32(vH, vF);
            vT = _mm_blendv_epi8_rpl(
                    _mm_blendv_epi8_rpl(vTIns, vTDel, case2),
                    vTDiag, case1);
            vT = _mm_blendv_epi8_rpl(vT, vTZero, case0);
            vT = _mm_or_si128(vT, vET);
            vT = _mm_or_si128(vT, vFT);
            arr_store(result->trace->trace_table, vT, i, segLen, j);
            _mm_store_si128(pvH+i, vH);
            vSaturationCheckMin = _mm_min_epi32_rpl(vSaturationCheckMin, vH);
            vSaturationCheckMax = _mm_max_epi32_rpl(vSaturationCheckMax, vH);
            {
                vMaxH = _mm_max_epi32_rpl(vH, vMaxH);
            }
        } 

        {
            __m128i vCompare = _mm_cmpgt_epi32(vMaxH, vMaxHUnit);
            if (_mm_movemask_epi8(vCompare)) {
                score = _mm_hmax_epi32_rpl(vMaxH);
                vMaxHUnit = _mm_set1_epi32(score);
                end_ref = j;
                (void)memcpy(pvHMax, pvH, sizeof(__m128i)*segLen);
            }
        }
    }

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

    if (_mm_movemask_epi8(_mm_or_si128(
            _mm_cmplt_epi32(vSaturationCheckMin, vNegLimit),
            _mm_cmpgt_epi32(vSaturationCheckMax, vPosLimit)))) {
        result->flag |= PARASAIL_FLAG_SATURATED;
        score = 0;
        end_query = 0;
        end_ref = 0;
    }

    result->score = score;
    result->end_query = end_query;
    result->end_ref = end_ref;

    parasail_free(pvGapper);
    parasail_free(pvHMax);
    parasail_free(pvH);
    parasail_free(pvHt);
    parasail_free(pvE);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x950, %rsp            # imm = 0x950
movq %rdi, -0x618(%rbp)
movq %rsi, -0x620(%rbp)
movl %edx, -0x624(%rbp)
movl %ecx, -0x628(%rbp)
movl %r8d, -0x62c(%rbp)
movl $0x0, -0x630(%rbp)
movl $0x0, -0x634(%rbp)
movl $0x0, -0x638(%rbp)
movl $0x0, -0x63c(%rbp)
movl $0x0, -0x640(%rbp)
movq $0x0, -0x648(%rbp)
movl $0x0, -0x64c(%rbp)
movl $0x0, -0x650(%rbp)
movq $0x0, -0x658(%rbp)
movq $0x0, -0x660(%rbp)
movq $0x0, -0x668(%rbp)
movq $0x0, -0x670(%rbp)
movq $0x0, -0x678(%rbp)
movq $0x0, -0x680(%rbp)
movl $0x0, -0x6a4(%rbp)
movl $0x0, -0x6a8(%rbp)
movl $0x0, -0x6c4(%rbp)
movq $0x0, -0x758(%rbp)
cmpq $0x0, -0x618(%rbp)
jne 0x539568
movq 0x8eda9f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b2aa8(%rip), %rsi    # 0xcebfeb
leaq 0x7ad9c5(%rip), %rdx    # 0xce6f0f
leaq 0x788f8c(%rip), %rcx    # 0xcc24dd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x53956a
jmp 0x53956c
movq -0x618(%rbp), %rax
cmpq $0x0, 0x48(%rax)
jne 0x5395b0
movq 0x8eda57(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b2a60(%rip), %rsi    # 0xcebfeb
leaq 0x7ad97d(%rip), %rdx    # 0xce6f0f
leaq 0x7b33f0(%rip), %rcx    # 0xcec989
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x5395b2
jmp 0x5395b4
movq -0x618(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x5395f8
movq 0x8eda0f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b2a18(%rip), %rsi    # 0xcebfeb
leaq 0x7ad935(%rip), %rdx    # 0xce6f0f
leaq 0x7b333b(%rip), %rcx    # 0xcec91c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x5395fa
jmp 0x5395fc
movq -0x618(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jg 0x53963f
movq 0x8ed9c8(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b30e7(%rip), %rsi    # 0xcec701
leaq 0x7ad8ee(%rip), %rdx    # 0xce6f0f
leaq 0x7b3304(%rip), %rcx    # 0xcec92c
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x539641
jmp 0x539643
cmpq $0x0, -0x620(%rbp)
jne 0x539683
movq 0x8ed984(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b298d(%rip), %rsi    # 0xcebfeb
leaq 0x7ad8aa(%rip), %rdx    # 0xce6f0f
leaq 0x7b3092(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x539685
jmp 0x539687
cmpl $0x0, -0x624(%rbp)
jg 0x5396c6
movq 0x8ed941(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b3060(%rip), %rsi    # 0xcec701
leaq 0x7ad867(%rip), %rdx    # 0xce6f0f
leaq 0x7b3066(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x5396c8
jmp 0x5396ca
cmpl $0x0, -0x628(%rbp)
jge 0x539709
movq 0x8ed8fe(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b3037(%rip), %rsi    # 0xcec71b
leaq 0x7ad824(%rip), %rdx    # 0xce6f0f
leaq 0x7b303e(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x53970b
jmp 0x53970d
cmpl $0x0, -0x62c(%rbp)
jge 0x53974c
movq 0x8ed8bb(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0x7b2ff4(%rip), %rsi    # 0xcec71b
leaq 0x7ad7e1(%rip), %rdx    # 0xce6f0f
leaq 0x7b3000(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
jmp 0x53974e
movl $0x0, -0x630(%rbp)
movl $0x0, -0x634(%rbp)
movl $0x0, -0x638(%rbp)
movl $0x0, -0x63c(%rbp)
movq -0x618(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x640(%rbp)
movq -0x618(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x648(%rbp)
movl $0x4, -0x64c(%rbp)
movl -0x640(%rbp), %esi
movl -0x64c(%rbp), %ecx
movl %ecx, %edx
movl %esi, %eax
leal -0x1(%rax,%rdx), %eax
cltd
idivl %ecx
movl %eax, -0x650(%rbp)
movq -0x618(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x658(%rbp)
movl -0x628(%rbp), %eax
movl %eax, -0x5d4(%rbp)
movl -0x5d4(%rbp), %eax
movl %eax, -0x1a4(%rbp)
movl %eax, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
movl %eax, -0x1b0(%rbp)
movd -0x1a4(%rbp), %xmm0
movd -0x1a8(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x1ac(%rbp), %xmm2
movd -0x1b0(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x1c0(%rbp)
movaps -0x1c0(%rbp), %xmm0
movaps %xmm0, -0x690(%rbp)
movl -0x62c(%rbp), %eax
movl %eax, -0x5d8(%rbp)
movl -0x5d8(%rbp), %eax
movl %eax, -0x184(%rbp)
movl %eax, -0x188(%rbp)
movl %eax, -0x18c(%rbp)
movl %eax, -0x190(%rbp)
movd -0x184(%rbp), %xmm0
movd -0x188(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x18c(%rbp), %xmm2
movd -0x190(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x1a0(%rbp)
movdqa -0x1a0(%rbp), %xmm0
movdqa %xmm0, -0x6a0(%rbp)
xorl %eax, %eax
subl -0x628(%rbp), %eax
movq -0x648(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x5398d1
movl -0x628(%rbp), %eax
addl $0x80000000, %eax       # imm = 0x80000000
movl %eax, -0x944(%rbp)
jmp 0x5398e6
movq -0x648(%rbp), %rcx
movl $0x80000000, %eax       # imm = 0x80000000
subl 0x20(%rcx), %eax
movl %eax, -0x944(%rbp)
movl -0x944(%rbp), %eax
incl %eax
movl %eax, -0x6a4(%rbp)
movq -0x648(%rbp), %rax
movl 0x1c(%rax), %ecx
movl $0x7ffffffe, %eax       # imm = 0x7FFFFFFE
subl %ecx, %eax
movl %eax, -0x6a8(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x5d0(%rbp)
movaps -0x5d0(%rbp), %xmm0
movaps %xmm0, -0x6c0(%rbp)
movl -0x6a4(%rbp), %eax
movl %eax, -0x6c4(%rbp)
movl -0x6a4(%rbp), %eax
movl %eax, -0x5dc(%rbp)
movl -0x5dc(%rbp), %eax
movl %eax, -0x164(%rbp)
movl %eax, -0x168(%rbp)
movl %eax, -0x16c(%rbp)
movl %eax, -0x170(%rbp)
movd -0x164(%rbp), %xmm0
movd -0x168(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x16c(%rbp), %xmm2
movd -0x170(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x180(%rbp)
movaps -0x180(%rbp), %xmm0
movaps %xmm0, -0x6e0(%rbp)
movl -0x6a8(%rbp), %eax
movl %eax, -0x5e0(%rbp)
movl -0x5e0(%rbp), %eax
movl %eax, -0x144(%rbp)
movl %eax, -0x148(%rbp)
movl %eax, -0x14c(%rbp)
movl %eax, -0x150(%rbp)
movd -0x144(%rbp), %xmm0
movd -0x148(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x14c(%rbp), %xmm2
movd -0x150(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x160(%rbp)
movaps -0x160(%rbp), %xmm0
movaps %xmm0, -0x6f0(%rbp)
movaps -0x6f0(%rbp), %xmm0
movaps %xmm0, -0x700(%rbp)
movaps -0x6e0(%rbp), %xmm0
movaps %xmm0, -0x710(%rbp)
movaps -0x6e0(%rbp), %xmm0
movaps %xmm0, -0x720(%rbp)
movaps -0x6e0(%rbp), %xmm0
movaps %xmm0, -0x730(%rbp)
movaps -0x6c0(%rbp), %xmm0
movaps %xmm0, -0x740(%rbp)
movaps -0x740(%rbp), %xmm0
movl -0x6a4(%rbp), %edi
xorl %esi, %esi
callq 0x53ad80
movaps %xmm0, -0x740(%rbp)
movaps -0x740(%rbp), %xmm1
movl -0x650(%rbp), %eax
negl %eax
movl -0x62c(%rbp), %ecx
imull %ecx, %eax
movl %eax, -0x5e4(%rbp)
movl -0x5e4(%rbp), %eax
movl %eax, -0x124(%rbp)
movl %eax, -0x128(%rbp)
movl %eax, -0x12c(%rbp)
movl %eax, -0x130(%rbp)
movd -0x124(%rbp), %xmm0
movd -0x128(%rbp), %xmm2
punpckldq %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
movd -0x12c(%rbp), %xmm3
movd -0x130(%rbp), %xmm0
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
punpcklqdq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0]
movaps %xmm0, -0x140(%rbp)
movaps -0x140(%rbp), %xmm0
pslldq $0x4, %xmm0             # xmm0 = zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11]
movaps %xmm1, -0x510(%rbp)
movaps %xmm0, -0x520(%rbp)
movaps -0x510(%rbp), %xmm0
movaps -0x520(%rbp), %xmm1
paddd %xmm1, %xmm0
movaps %xmm0, -0x750(%rbp)
movl $0x0, -0x5e8(%rbp)
movl -0x5e8(%rbp), %eax
movl %eax, -0x104(%rbp)
movl %eax, -0x108(%rbp)
movl %eax, -0x10c(%rbp)
movl %eax, -0x110(%rbp)
movd -0x104(%rbp), %xmm0
movd -0x108(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x10c(%rbp), %xmm2
movd -0x110(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x120(%rbp)
movaps -0x120(%rbp), %xmm0
movaps %xmm0, -0x770(%rbp)
movl $0x1, -0x5ec(%rbp)
movl -0x5ec(%rbp), %eax
movl %eax, -0xe4(%rbp)
movl %eax, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
movl %eax, -0xf0(%rbp)
movd -0xe4(%rbp), %xmm0
movd -0xe8(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0xec(%rbp), %xmm2
movd -0xf0(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x100(%rbp)
movaps -0x100(%rbp), %xmm0
movaps %xmm0, -0x780(%rbp)
movl $0x2, -0x5f0(%rbp)
movl -0x5f0(%rbp), %eax
movl %eax, -0xc4(%rbp)
movl %eax, -0xc8(%rbp)
movl %eax, -0xcc(%rbp)
movl %eax, -0xd0(%rbp)
movd -0xc4(%rbp), %xmm0
movd -0xc8(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0xcc(%rbp), %xmm2
movd -0xd0(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0xe0(%rbp)
movaps -0xe0(%rbp), %xmm0
movaps %xmm0, -0x790(%rbp)
movl $0x4, -0x5f4(%rbp)
movl -0x5f4(%rbp), %eax
movl %eax, -0xa4(%rbp)
movl %eax, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
movl %eax, -0xb0(%rbp)
movd -0xa4(%rbp), %xmm0
movd -0xa8(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0xac(%rbp), %xmm2
movd -0xb0(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0xc0(%rbp)
movaps -0xc0(%rbp), %xmm0
movaps %xmm0, -0x7a0(%rbp)
movl $0x8, -0x5f8(%rbp)
movl -0x5f8(%rbp), %eax
movl %eax, -0x84(%rbp)
movl %eax, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl %eax, -0x90(%rbp)
movd -0x84(%rbp), %xmm0
movd -0x88(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x8c(%rbp), %xmm2
movd -0x90(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0xa0(%rbp)
movaps -0xa0(%rbp), %xmm0
movaps %xmm0, -0x7b0(%rbp)
movl $0x10, -0x5fc(%rbp)
movl -0x5fc(%rbp), %eax
movl %eax, -0x64(%rbp)
movl %eax, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
movl %eax, -0x70(%rbp)
movd -0x64(%rbp), %xmm0
movd -0x68(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x6c(%rbp), %xmm2
movd -0x70(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x80(%rbp)
movaps -0x80(%rbp), %xmm0
movaps %xmm0, -0x7c0(%rbp)
movl $0x20, -0x600(%rbp)
movl -0x600(%rbp), %eax
movl %eax, -0x44(%rbp)
movl %eax, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
movl %eax, -0x50(%rbp)
movd -0x44(%rbp), %xmm0
movd -0x48(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x4c(%rbp), %xmm2
movd -0x50(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movaps %xmm0, -0x60(%rbp)
movaps -0x60(%rbp), %xmm0
movaps %xmm0, -0x7d0(%rbp)
movl $0x40, -0x604(%rbp)
movl -0x604(%rbp), %eax
movl %eax, -0x24(%rbp)
movl %eax, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
movl %eax, -0x30(%rbp)
movd -0x24(%rbp), %xmm0
movd -0x28(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0x2c(%rbp), %xmm2
movd -0x30(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x40(%rbp)
movdqa -0x40(%rbp), %xmm0
movdqa %xmm0, -0x7e0(%rbp)
movl -0x650(%rbp), %edi
movl -0x624(%rbp), %esi
movl $0x10, %ecx
movq %rcx, %rdx
callq 0x1c3fa0
movq %rax, -0x758(%rbp)
cmpq $0x0, -0x758(%rbp)
jne 0x539e33
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
movq -0x758(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x4480404, %ecx        # imm = 0x4480404
movl %ecx, 0xc(%rax)
movslq -0x650(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x660(%rbp)
movslq -0x650(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x668(%rbp)
movslq -0x650(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x670(%rbp)
movslq -0x650(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x678(%rbp)
movslq -0x650(%rbp), %rsi
movl $0x10, %edi
callq 0x381e20
movq %rax, -0x680(%rbp)
cmpq $0x0, -0x660(%rbp)
jne 0x539ed8
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
cmpq $0x0, -0x668(%rbp)
jne 0x539ef2
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
cmpq $0x0, -0x670(%rbp)
jne 0x539f0c
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
cmpq $0x0, -0x678(%rbp)
jne 0x539f26
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
cmpq $0x0, -0x680(%rbp)
jne 0x539f40
movq $0x0, -0x610(%rbp)
jmp 0x53ad67
movq -0x670(%rbp), %rdi
movdqa -0x6c0(%rbp), %xmm0
movslq -0x650(%rbp), %rsi
callq 0x381e50
movq -0x660(%rbp), %rdi
movdqa -0x6e0(%rbp), %xmm0
movslq -0x650(%rbp), %rsi
callq 0x381e50
movdqa -0x6c0(%rbp), %xmm1
movdqa -0x690(%rbp), %xmm0
movdqa %xmm1, -0x450(%rbp)
movdqa %xmm0, -0x460(%rbp)
movdqa -0x450(%rbp), %xmm0
movdqa -0x460(%rbp), %xmm1
psubd %xmm1, %xmm0
movdqa %xmm0, -0x7f0(%rbp)
movl -0x650(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x630(%rbp)
cmpl $0x0, -0x630(%rbp)
jl 0x53a05d
movq -0x680(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x7f0(%rbp), %xmm0
movq %rax, -0x3a8(%rbp)
movdqa %xmm0, -0x3c0(%rbp)
movdqa -0x3c0(%rbp), %xmm0
movq -0x3a8(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x7f0(%rbp), %xmm1
movdqa -0x6a0(%rbp), %xmm0
movdqa %xmm1, -0x470(%rbp)
movdqa %xmm0, -0x480(%rbp)
movdqa -0x470(%rbp), %xmm0
movdqa -0x480(%rbp), %xmm1
psubd %xmm1, %xmm0
movdqa %xmm0, -0x7f0(%rbp)
movl -0x630(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x630(%rbp)
jmp 0x539fc1
movl $0x0, -0x634(%rbp)
movl -0x634(%rbp), %eax
cmpl -0x624(%rbp), %eax
jge 0x53ab3c
movq -0x670(%rbp), %rax
movl -0x650(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x368(%rbp)
movq -0x368(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x880(%rbp)
movaps -0x880(%rbp), %xmm0
pslldq $0x4, %xmm0             # xmm0 = zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11]
movdqa %xmm0, -0x880(%rbp)
movq -0x658(%rbp), %rax
movq -0x648(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq -0x620(%rbp), %rdx
movslq -0x634(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull -0x650(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x888(%rbp)
movdqa -0x6c0(%rbp), %xmm0
movdqa %xmm0, -0x830(%rbp)
movdqa -0x6e0(%rbp), %xmm0
movdqa %xmm0, -0x840(%rbp)
movl $0x0, -0x630(%rbp)
movl -0x630(%rbp), %eax
cmpl -0x650(%rbp), %eax
jge 0x53a48f
movq -0x670(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x370(%rbp)
movq -0x370(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x870(%rbp)
movq -0x660(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x378(%rbp)
movq -0x378(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x800(%rbp)
movq -0x888(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x380(%rbp)
movq -0x380(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x8a0(%rbp)
movq -0x680(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x388(%rbp)
movq -0x388(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x8e0(%rbp)
movaps -0x870(%rbp), %xmm1
movaps -0x690(%rbp), %xmm0
movaps %xmm1, -0x490(%rbp)
movaps %xmm0, -0x4a0(%rbp)
movaps -0x490(%rbp), %xmm0
movaps -0x4a0(%rbp), %xmm1
psubd %xmm1, %xmm0
movaps %xmm0, -0x820(%rbp)
movaps -0x800(%rbp), %xmm1
movaps -0x6a0(%rbp), %xmm0
movaps %xmm1, -0x4b0(%rbp)
movaps %xmm0, -0x4c0(%rbp)
movaps -0x4b0(%rbp), %xmm0
movaps -0x4c0(%rbp), %xmm1
psubd %xmm1, %xmm0
movaps %xmm0, -0x810(%rbp)
movaps -0x820(%rbp), %xmm1
movaps -0x810(%rbp), %xmm0
movaps %xmm1, -0x2f0(%rbp)
movaps %xmm0, -0x300(%rbp)
movaps -0x2f0(%rbp), %xmm0
movaps -0x300(%rbp), %xmm1
pcmpgtd %xmm1, %xmm0
movdqa %xmm0, -0x8b0(%rbp)
movdqa -0x7c0(%rbp), %xmm0
movdqa -0x7b0(%rbp), %xmm1
movdqa -0x8b0(%rbp), %xmm2
callq 0x53adb0
movdqa %xmm0, -0x900(%rbp)
movq -0x758(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x900(%rbp), %xmm0
movl -0x630(%rbp), %esi
movl -0x650(%rbp), %edx
movl -0x634(%rbp), %ecx
callq 0x53ae40
movdqa -0x820(%rbp), %xmm0
movdqa -0x810(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x800(%rbp)
movdqa -0x830(%rbp), %xmm1
movdqa -0x8e0(%rbp), %xmm0
movdqa %xmm1, -0x530(%rbp)
movdqa %xmm0, -0x540(%rbp)
movdqa -0x530(%rbp), %xmm0
movdqa -0x540(%rbp), %xmm1
paddd %xmm1, %xmm0
movdqa %xmm0, -0x8e0(%rbp)
movdqa -0x840(%rbp), %xmm0
movdqa -0x8e0(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x840(%rbp)
movdqa -0x880(%rbp), %xmm1
movdqa -0x8a0(%rbp), %xmm0
movdqa %xmm1, -0x550(%rbp)
movdqa %xmm0, -0x560(%rbp)
movdqa -0x550(%rbp), %xmm0
movdqa -0x560(%rbp), %xmm1
paddd %xmm1, %xmm0
movdqa %xmm0, -0x880(%rbp)
movdqa -0x800(%rbp), %xmm0
movdqa -0x880(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x830(%rbp)
movq -0x660(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x800(%rbp), %xmm0
movq %rax, -0x3c8(%rbp)
movdqa %xmm0, -0x3e0(%rbp)
movdqa -0x3e0(%rbp), %xmm0
movq -0x3c8(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x668(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x830(%rbp), %xmm0
movq %rax, -0x3e8(%rbp)
movdqa %xmm0, -0x400(%rbp)
movdqa -0x400(%rbp), %xmm0
movq -0x3e8(%rbp), %rax
movdqa %xmm0, (%rax)
movq -0x670(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x880(%rbp), %xmm0
movq %rax, -0x408(%rbp)
movdqa %xmm0, -0x420(%rbp)
movdqa -0x420(%rbp), %xmm0
movq -0x408(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x870(%rbp), %xmm0
movdqa %xmm0, -0x880(%rbp)
movl -0x630(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x630(%rbp)
jmp 0x53a127
movaps -0x830(%rbp), %xmm0
pslldq $0x4, %xmm0             # xmm0 = zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11]
movdqa %xmm0, -0x830(%rbp)
movq -0x680(%rbp), %rax
movq %rax, -0x390(%rbp)
movq -0x390(%rbp), %rax
movdqa (%rax), %xmm0
movdqa %xmm0, -0x8e0(%rbp)
movdqa -0x830(%rbp), %xmm1
movdqa -0x8e0(%rbp), %xmm0
movdqa %xmm1, -0x570(%rbp)
movdqa %xmm0, -0x580(%rbp)
movdqa -0x570(%rbp), %xmm0
movdqa -0x580(%rbp), %xmm1
paddd %xmm1, %xmm0
movdqa %xmm0, -0x8e0(%rbp)
movdqa -0x840(%rbp), %xmm0
movdqa -0x8e0(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x840(%rbp)
movl $0x0, -0x630(%rbp)
movl -0x630(%rbp), %eax
movl -0x64c(%rbp), %ecx
subl $0x2, %ecx
cmpl %ecx, %eax
jge 0x53a5bf
movaps -0x840(%rbp), %xmm0
pslldq $0x4, %xmm0             # xmm0 = zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11]
movdqa %xmm0, -0x920(%rbp)
movdqa -0x920(%rbp), %xmm1
movdqa -0x750(%rbp), %xmm0
movdqa %xmm1, -0x590(%rbp)
movdqa %xmm0, -0x5a0(%rbp)
movdqa -0x590(%rbp), %xmm0
movdqa -0x5a0(%rbp), %xmm1
paddd %xmm1, %xmm0
movdqa %xmm0, -0x920(%rbp)
movdqa -0x840(%rbp), %xmm0
movdqa -0x920(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x840(%rbp)
movl -0x630(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x630(%rbp)
jmp 0x53a527
movaps -0x840(%rbp), %xmm0
pslldq $0x4, %xmm0             # xmm0 = zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7,8,9,10,11]
movdqa %xmm0, -0x840(%rbp)
movdqa -0x840(%rbp), %xmm1
movdqa -0x740(%rbp), %xmm0
movdqa %xmm1, -0x5b0(%rbp)
movdqa %xmm0, -0x5c0(%rbp)
movdqa -0x5b0(%rbp), %xmm0
movdqa -0x5c0(%rbp), %xmm1
paddd %xmm1, %xmm0
movdqa %xmm0, -0x840(%rbp)
movdqa -0x840(%rbp), %xmm0
movdqa -0x830(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x870(%rbp)
movdqa -0x870(%rbp), %xmm0
movdqa -0x6c0(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x870(%rbp)
movl $0x0, -0x630(%rbp)
movl -0x630(%rbp), %eax
cmpl -0x650(%rbp), %eax
jge 0x53aa3f
movq -0x758(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movl -0x630(%rbp), %esi
movl -0x650(%rbp), %edx
movl -0x634(%rbp), %ecx
callq 0x53af70
movaps %xmm0, -0x900(%rbp)
movq -0x670(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x398(%rbp)
movq -0x398(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x880(%rbp)
movq -0x668(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x3a0(%rbp)
movq -0x3a0(%rbp), %rax
movaps (%rax), %xmm0
movaps %xmm0, -0x830(%rbp)
movaps -0x870(%rbp), %xmm1
movaps -0x690(%rbp), %xmm0
movaps %xmm1, -0x4d0(%rbp)
movaps %xmm0, -0x4e0(%rbp)
movaps -0x4d0(%rbp), %xmm0
movaps -0x4e0(%rbp), %xmm1
psubd %xmm1, %xmm0
movaps %xmm0, -0x860(%rbp)
movaps -0x840(%rbp), %xmm1
movaps -0x6a0(%rbp), %xmm0
movaps %xmm1, -0x4f0(%rbp)
movaps %xmm0, -0x500(%rbp)
movaps -0x4f0(%rbp), %xmm0
movaps -0x500(%rbp), %xmm1
psubd %xmm1, %xmm0
movaps %xmm0, -0x850(%rbp)
movaps -0x860(%rbp), %xmm0
movaps -0x850(%rbp), %xmm1
callq 0x53aea0
movaps %xmm0, -0x840(%rbp)
movaps -0x860(%rbp), %xmm1
movaps -0x850(%rbp), %xmm0
movaps %xmm1, -0x310(%rbp)
movaps %xmm0, -0x320(%rbp)
movaps -0x310(%rbp), %xmm0
movaps -0x320(%rbp), %xmm1
pcmpgtd %xmm1, %xmm0
movaps %xmm0, -0x8b0(%rbp)
movaps -0x7e0(%rbp), %xmm0
movaps -0x7d0(%rbp), %xmm1
movaps -0x8b0(%rbp), %xmm2
callq 0x53adb0
movaps %xmm0, -0x910(%rbp)
movaps -0x830(%rbp), %xmm0
movaps -0x840(%rbp), %xmm1
callq 0x53aea0
movaps %xmm0, -0x870(%rbp)
movaps -0x870(%rbp), %xmm0
movaps -0x6c0(%rbp), %xmm1
callq 0x53aea0
movaps %xmm0, -0x870(%rbp)
movaps -0x870(%rbp), %xmm1
movaps -0x6c0(%rbp), %xmm0
movaps %xmm1, -0x290(%rbp)
movaps %xmm0, -0x2a0(%rbp)
movaps -0x290(%rbp), %xmm0
movaps -0x2a0(%rbp), %xmm1
pcmpeqd %xmm1, %xmm0
movaps %xmm0, -0x8d0(%rbp)
movaps -0x870(%rbp), %xmm1
movaps -0x880(%rbp), %xmm0
movaps %xmm1, -0x2b0(%rbp)
movaps %xmm0, -0x2c0(%rbp)
movaps -0x2b0(%rbp), %xmm0
movaps -0x2c0(%rbp), %xmm1
pcmpeqd %xmm1, %xmm0
movaps %xmm0, -0x8b0(%rbp)
movaps -0x870(%rbp), %xmm1
movaps -0x840(%rbp), %xmm0
movaps %xmm1, -0x2d0(%rbp)
movaps %xmm0, -0x2e0(%rbp)
movaps -0x2d0(%rbp), %xmm0
movaps -0x2e0(%rbp), %xmm1
pcmpeqd %xmm1, %xmm0
movdqa %xmm0, -0x8c0(%rbp)
movdqa -0x780(%rbp), %xmm0
movdqa -0x790(%rbp), %xmm1
movdqa -0x8c0(%rbp), %xmm2
callq 0x53adb0
movdqa -0x7a0(%rbp), %xmm1
movdqa -0x8b0(%rbp), %xmm2
callq 0x53adb0
movdqa %xmm0, -0x8f0(%rbp)
movdqa -0x8f0(%rbp), %xmm0
movdqa -0x770(%rbp), %xmm1
movdqa -0x8d0(%rbp), %xmm2
callq 0x53adb0
movdqa %xmm0, -0x8f0(%rbp)
movdqa -0x8f0(%rbp), %xmm1
movdqa -0x900(%rbp), %xmm0
movdqa %xmm1, -0x230(%rbp)
movdqa %xmm0, -0x240(%rbp)
movdqa -0x230(%rbp), %xmm0
por -0x240(%rbp), %xmm0
movdqa %xmm0, -0x8f0(%rbp)
movdqa -0x8f0(%rbp), %xmm1
movdqa -0x910(%rbp), %xmm0
movdqa %xmm1, -0x250(%rbp)
movdqa %xmm0, -0x260(%rbp)
movdqa -0x250(%rbp), %xmm0
por -0x260(%rbp), %xmm0
movdqa %xmm0, -0x8f0(%rbp)
movq -0x758(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdi
movdqa -0x8f0(%rbp), %xmm0
movl -0x630(%rbp), %esi
movl -0x650(%rbp), %edx
movl -0x634(%rbp), %ecx
callq 0x53ae40
movq -0x670(%rbp), %rax
movslq -0x630(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movdqa -0x870(%rbp), %xmm0
movq %rax, -0x428(%rbp)
movdqa %xmm0, -0x440(%rbp)
movdqa -0x440(%rbp), %xmm0
movq -0x428(%rbp), %rax
movdqa %xmm0, (%rax)
movdqa -0x700(%rbp), %xmm0
movdqa -0x870(%rbp), %xmm1
callq 0x53afc0
movdqa %xmm0, -0x700(%rbp)
movdqa -0x710(%rbp), %xmm0
movdqa -0x870(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x710(%rbp)
movdqa -0x870(%rbp), %xmm0
movdqa -0x720(%rbp), %xmm1
callq 0x53aea0
movdqa %xmm0, -0x720(%rbp)
movl -0x630(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x630(%rbp)
jmp 0x53a653
movaps -0x720(%rbp), %xmm1
movaps -0x730(%rbp), %xmm0
movaps %xmm1, -0x330(%rbp)
movaps %xmm0, -0x340(%rbp)
movaps -0x330(%rbp), %xmm0
movaps -0x340(%rbp), %xmm1
pcmpgtd %xmm1, %xmm0
movdqa %xmm0, -0x930(%rbp)
movdqa -0x930(%rbp), %xmm0
movdqa %xmm0, -0x210(%rbp)
movdqa -0x210(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x53ab26
movaps -0x720(%rbp), %xmm0
callq 0x53b090
movl %eax, -0x6c4(%rbp)
movl -0x6c4(%rbp), %eax
movl %eax, -0x608(%rbp)
movl -0x608(%rbp), %eax
movl %eax, -0x4(%rbp)
movl %eax, -0x8(%rbp)
movl %eax, -0xc(%rbp)
movl %eax, -0x10(%rbp)
movd -0x4(%rbp), %xmm0
movd -0x8(%rbp), %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movd -0xc(%rbp), %xmm2
movd -0x10(%rbp), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
movdqa %xmm0, -0x730(%rbp)
movl -0x634(%rbp), %eax
movl %eax, -0x63c(%rbp)
movq -0x678(%rbp), %rdi
movq -0x670(%rbp), %rsi
movslq -0x650(%rbp), %rdx
shlq $0x4, %rdx
callq 0x19e0a0
jmp 0x53ab28
movl -0x634(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x634(%rbp)
jmp 0x53a067
movq -0x678(%rbp), %rax
movq %rax, -0x938(%rbp)
movl -0x650(%rbp), %eax
imull -0x64c(%rbp), %eax
movl %eax, -0x93c(%rbp)
movl -0x640(%rbp), %eax
movl %eax, -0x638(%rbp)
movl $0x0, -0x630(%rbp)
movl -0x630(%rbp), %eax
cmpl -0x93c(%rbp), %eax
jge 0x53ac0f
movq -0x938(%rbp), %rax
movl (%rax), %eax
cmpl -0x6c4(%rbp), %eax
jne 0x53abe7
movl -0x630(%rbp), %eax
cltd
idivl -0x64c(%rbp)
movl %eax, -0x948(%rbp)
movl -0x630(%rbp), %eax
cltd
idivl -0x64c(%rbp)
movl -0x948(%rbp), %eax
imull -0x650(%rbp), %edx
addl %edx, %eax
movl %eax, -0x940(%rbp)
movl -0x940(%rbp), %eax
cmpl -0x638(%rbp), %eax
jge 0x53abe5
movl -0x940(%rbp), %eax
movl %eax, -0x638(%rbp)
jmp 0x53abe7
jmp 0x53abe9
movl -0x630(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x630(%rbp)
movq -0x938(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x938(%rbp)
jmp 0x53ab73
movaps -0x700(%rbp), %xmm1
movaps -0x6e0(%rbp), %xmm0
movaps %xmm1, -0x1f0(%rbp)
movaps %xmm0, -0x200(%rbp)
movaps -0x200(%rbp), %xmm1
movaps -0x1f0(%rbp), %xmm0
movaps %xmm1, -0x1d0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
movaps -0x1d0(%rbp), %xmm1
movaps -0x1e0(%rbp), %xmm0
pcmpgtd %xmm0, %xmm1
movaps -0x710(%rbp), %xmm2
movaps -0x6f0(%rbp), %xmm0
movaps %xmm2, -0x350(%rbp)
movaps %xmm0, -0x360(%rbp)
movaps -0x350(%rbp), %xmm0
movaps -0x360(%rbp), %xmm2
pcmpgtd %xmm2, %xmm0
movdqa %xmm1, -0x270(%rbp)
movdqa %xmm0, -0x280(%rbp)
movdqa -0x270(%rbp), %xmm0
por -0x280(%rbp), %xmm0
movdqa %xmm0, -0x220(%rbp)
movdqa -0x220(%rbp), %xmm0
pmovmskb %xmm0, %eax
cmpl $0x0, %eax
je 0x53acee
movq -0x758(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40, %ecx
movl %ecx, 0xc(%rax)
movl $0x0, -0x6c4(%rbp)
movl $0x0, -0x638(%rbp)
movl $0x0, -0x63c(%rbp)
movl -0x6c4(%rbp), %ecx
movq -0x758(%rbp), %rax
movl %ecx, (%rax)
movl -0x638(%rbp), %ecx
movq -0x758(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x63c(%rbp), %ecx
movq -0x758(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x680(%rbp), %rdi
callq 0x1c3590
movq -0x678(%rbp), %rdi
callq 0x1c3590
movq -0x670(%rbp), %rdi
callq 0x1c3590
movq -0x668(%rbp), %rdi
callq 0x1c3590
movq -0x660(%rbp), %rdi
callq 0x1c3590
movq -0x758(%rbp), %rax
movq %rax, -0x610(%rbp)
movq -0x610(%rbp), %rax
addq $0x950, %rsp            # imm = 0x950
popq %rbp
retq
nopw (%rax,%rax)