// File: /workspace/github_c_makefile_star2_O3/nh13[P]ksw/src/parasail/src/sw_scan_sse41_128_64.c
// Function: parasail_sw_rowcol_scan_profile_sse41_128_64
parasail_result_t* PNAME(
        const parasail_profile_t * const restrict profile,
        const char * const restrict s2, const int s2Len,
        const int open, const int gap)
{
    /* declare local variables */
    int32_t i = 0;
    int32_t j = 0;
    int32_t end_query = 0;
    int32_t end_ref = 0;
    int32_t s1Len = 0;
    const parasail_matrix_t *matrix = NULL;
    int32_t segWidth = 0;
    int32_t segLen = 0;
#ifdef PARASAIL_ROWCOL
    int32_t offset = 0;
    int32_t position = 0;
#endif
    __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;
    int64_t NEG_LIMIT = 0;
    int64_t POS_LIMIT = 0;
    __m128i vZero;
    int64_t score = 0;
    __m128i vNegLimit;
    __m128i vPosLimit;
    __m128i vSaturationCheckMin;
    __m128i vSaturationCheckMax;
    __m128i vMaxH;
    __m128i vMaxHUnit;
    __m128i vNegInfFront;
    __m128i vSegLenXgap;
    parasail_result_t *result = NULL;

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

    /* initialize stack variables */
    i = 0;
    j = 0;
    end_query = 0;
    end_ref = 0;
    s1Len = profile->s1Len;
    matrix = profile->matrix;
    segWidth = 2; /* number of values in vector unit */
    segLen = (s1Len + segWidth - 1) / segWidth;
#ifdef PARASAIL_ROWCOL
    offset = (s1Len - 1) % segLen;
    position = (segWidth - 1) - (s1Len - 1) / segLen;
#endif
    pvP = (__m128i*)profile->profile64.score;
    vGapO = _mm_set1_epi64x_rpl(open);
    vGapE = _mm_set1_epi64x_rpl(gap);
    NEG_LIMIT = (-open < matrix->min ? INT64_MIN + open : INT64_MIN - matrix->min) + 1;
    POS_LIMIT = INT64_MAX - matrix->max - 1;
    vZero = _mm_setzero_si128();
    score = NEG_LIMIT;
    vNegLimit = _mm_set1_epi64x_rpl(NEG_LIMIT);
    vPosLimit = _mm_set1_epi64x_rpl(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vMaxHUnit = vNegLimit;
    vNegInfFront = vZero;
    vNegInfFront = _mm_insert_epi64_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm_add_epi64(vNegInfFront,
            _mm_slli_si128(_mm_set1_epi64x_rpl(-segLen*gap), 8));

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

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

    /* 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_epi64(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm_store_si128(pvGapper+i, vGapper);
            vGapper = _mm_sub_epi64(vGapper, vGapE);
        }
    }

    /* outer loop over database sequence */
    for (j=0; j<s2Len; ++j) {
        __m128i vE;
        __m128i vHt;
        __m128i vF;
        __m128i vH;
        __m128i vHp;
        __m128i *pvW;
        __m128i vW;

        /* calculate E */
        /* calculate Ht */
        /* calculate F and H first pass */
        vHp = _mm_load_si128(pvH+(segLen-1));
        vHp = _mm_slli_si128(vHp, 8);
        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);
            vE = _mm_max_epi64_rpl(
                    _mm_sub_epi64(vE, vGapE),
                    _mm_sub_epi64(vH, vGapO));
            vHp = _mm_add_epi64(vHp, vW);
            vF = _mm_max_epi64_rpl(vF, _mm_add_epi64(vHt, pvGapper[i]));
            vHt = _mm_max_epi64_rpl(vE, vHp);
            _mm_store_si128(pvE+i, vE);
            _mm_store_si128(pvHt+i, vHt);
            vHp = vH;
        }

        /* pseudo prefix scan on F and H */
        vHt = _mm_slli_si128(vHt, 8);
        vF = _mm_max_epi64_rpl(vF, _mm_add_epi64(vHt, pvGapper[0]));
        for (i=0; i<segWidth-2; ++i) {
            __m128i vFt = _mm_slli_si128(vF, 8);
            vFt = _mm_add_epi64(vFt, vSegLenXgap);
            vF = _mm_max_epi64_rpl(vF, vFt);
        }

        /* calculate final H */
        vF = _mm_slli_si128(vF, 8);
        vF = _mm_add_epi64(vF, vNegInfFront);
        vH = _mm_max_epi64_rpl(vHt, vF);
        vH = _mm_max_epi64_rpl(vH, vZero);
        for (i=0; i<segLen; ++i) {
            vHt = _mm_load_si128(pvHt+i);
            vF = _mm_max_epi64_rpl(
                    _mm_sub_epi64(vF, vGapE),
                    _mm_sub_epi64(vH, vGapO));
            vH = _mm_max_epi64_rpl(vHt, vF);
            vH = _mm_max_epi64_rpl(vH, vZero);
            _mm_store_si128(pvH+i, vH);
            vSaturationCheckMin = _mm_min_epi64_rpl(vSaturationCheckMin, vH);
            vSaturationCheckMax = _mm_max_epi64_rpl(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
            arr_store_si128(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
            vMaxH = _mm_max_epi64_rpl(vH, vMaxH);
        } 

        {
            __m128i vCompare = _mm_cmpgt_epi64_rpl(vMaxH, vMaxHUnit);
            if (_mm_movemask_epi8(vCompare)) {
                score = _mm_hmax_epi64_rpl(vMaxH);
                vMaxHUnit = _mm_set1_epi64x_rpl(score);
                end_ref = j;
                (void)memcpy(pvHMax, pvH, sizeof(__m128i)*segLen);
            }
        }

#ifdef PARASAIL_ROWCOL
        /* extract last value from the column */
        {
            int32_t k = 0;
            __m128i vH = _mm_load_si128(pvH + offset);
            for (k=0; k<position; ++k) {
                vH = _mm_slli_si128(vH, 8);
            }
            result->rowcols->score_row[j] = (int64_t) _mm_extract_epi64_rpl (vH, 1);
        }
#endif
    }

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

#ifdef PARASAIL_ROWCOL
    for (i=0; i<segLen; ++i) {
        __m128i vH = _mm_load_si128(pvH+i);
        arr_store_col(result->rowcols->score_col, vH, i, segLen);
    }
#endif

    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(pvGapper);
    parasail_free(pvHMax);
    parasail_free(pvH);
    parasail_free(pvHt);
    parasail_free(pvE);

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rsi, 0x78(%rsp)
testq %rdi, %rdi
je 0x44a1e6
movq 0x60(%rdi), %rax
movq %rax, 0xd8(%rsp)
testq %rax, %rax
je 0x44a1f0
movq 0x10(%rdi), %rax
movq %rax, 0x70(%rsp)
testq %rax, %rax
je 0x44a1fa
movl 0x8(%rdi), %eax
testl %eax, %eax
jle 0x44a204
cmpq $0x0, 0x78(%rsp)
je 0x44a20e
movl %edx, %ebx
testl %edx, %edx
jle 0x44a2f4
testl %ecx, %ecx
js 0x44a2fb
movl %r8d, %r12d
testl %r8d, %r8d
js 0x44a302
leaq 0x1(%rax), %rdi
movq %rdi, %r13
shrq %r13
movq %rax, 0x60(%rsp)
decl %eax
xorl %edx, %edx
divl %r13d
movl %eax, 0xc(%rsp)
movl %edx, %r15d
movl %ecx, %edx
negl %ecx
movq 0x70(%rsp), %rsi
movslq 0x20(%rsi), %rax
movq %rdx, 0x40(%rsp)
btsq $0x3f, %rdx
movabsq $-0x8000000000000000, %rbp # imm = 0x8000000000000000
movq %rbp, %r14
subq %rax, %r14
cmpl %ecx, %eax
cmovgq %rdx, %r14
movslq 0x1c(%rsi), %rax
movq %rax, 0xa0(%rsp)
andl $0x7ffffffe, %edi       # imm = 0x7FFFFFFE
movq %rdi, 0xb8(%rsp)
movl %ebx, %esi
callq 0x20ac53
testq %rax, %rax
je 0x44a307
movl %r12d, 0x30(%rsp)
movl %r15d, 0x80(%rsp)
movl %ebx, 0x90(%rsp)
movq %r14, 0x58(%rsp)
movq %rax, 0x28(%rsp)
orl $0x2840404, 0xc(%rax)   # imm = 0x2840404
movl $0x10, %edi
movq %r13, %rsi
callq 0x2f600c
movq %rax, %r14
movl $0x10, %edi
movq %r13, %rsi
callq 0x2f600c
movq %rax, %r15
movl $0x10, %edi
movq %r13, %rsi
callq 0x2f600c
movq %rax, %r12
movl $0x10, %edi
movq %r13, %rsi
callq 0x2f600c
movq %rax, %rbx
movl $0x10, %edi
movq %r13, %rsi
callq 0x2f600c
movq %r13, %rsi
movq %rax, %r13
testq %r14, %r14
sete %al
testq %r15, %r15
sete %cl
orb %al, %cl
testq %r12, %r12
sete %al
movq %rbx, 0x20(%rsp)
testq %rbx, %rbx
sete %dl
orb %al, %dl
orb %cl, %dl
testq %r13, %r13
sete %al
orb %dl, %al
jne 0x44a307
movq 0x40(%rsp), %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa %xmm0, 0xf0(%rsp)
movd 0x30(%rsp), %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa %xmm0, 0xe0(%rsp)
movq 0x58(%rsp), %rax
incq %rax
subq 0xa0(%rsp), %rbp
addq $-0x2, %rbp
movq %rax, 0x18(%rsp)
movq %rax, %xmm0
movdqa %xmm0, 0x110(%rsp)
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa %xmm0, 0x30(%rsp)
movq %rbp, %xmm0
movdqa %xmm0, 0x100(%rsp)
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa %xmm0, 0x40(%rsp)
pxor %xmm0, %xmm0
movq %r12, %rdi
movq %rsi, %rbx
callq 0x2f6015
movq %r14, %rdi
movdqa 0x30(%rsp), %xmm0
movq %rbx, %rsi
callq 0x2f6015
pxor %xmm0, %xmm0
movdqa 0xe0(%rsp), %xmm11
movdqa 0xf0(%rsp), %xmm10
psubq %xmm10, %xmm0
leal -0x1(%rbx), %ecx
shlq $0x4, %rcx
movq %r13, %rax
movq %rcx, 0x68(%rsp)
addq %rcx, %rax
movq %rbx, %rcx
movq %rbx, 0x10(%rsp)
movdqa %xmm0, (%rax)
psubq %xmm11, %xmm0
addq $-0x10, %rax
decl %ecx
jg 0x449e2c
addq %r12, 0x68(%rsp)
movq 0x10(%rsp), %rax
movq %rax, %rbx
shlq $0x4, %rbx
movl 0x80(%rsp), %ecx
shlq $0x4, %rcx
addq %r12, %rcx
movq %rcx, 0xd0(%rsp)
movl 0x90(%rsp), %ecx
movq %rcx, 0xc8(%rsp)
xorl %ebp, %ebp
cltq
movq %rax, 0xc0(%rsp)
pxor %xmm12, %xmm12
xorl %eax, %eax
movdqa 0x30(%rsp), %xmm9
movdqa %xmm9, %xmm14
movdqa %xmm9, %xmm13
movq 0x28(%rsp), %r9
movl 0xc(%rsp), %esi
movdqa 0x40(%rsp), %xmm8
movq 0x68(%rsp), %rcx
movdqa (%rcx), %xmm1
pslldq $0x8, %xmm1             # xmm1 = zero,zero,zero,zero,zero,zero,zero,zero,xmm1[0,1,2,3,4,5,6,7]
movq 0x70(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x78(%rsp), %rdx
movzbl (%rdx,%rbp), %edx
movslq (%rcx,%rdx,4), %rcx
imulq 0xc0(%rsp), %rcx
shlq $0x4, %rcx
addq 0xd8(%rsp), %rcx
xorl %edx, %edx
movdqa 0x30(%rsp), %xmm4
pxor %xmm2, %xmm2
movdqa %xmm4, %xmm5
movdqa (%r12,%rdx), %xmm3
movdqa (%r14,%rdx), %xmm6
psubq %xmm11, %xmm6
movdqa %xmm3, %xmm7
paddq (%rcx,%rdx), %xmm1
paddq (%r13,%rdx), %xmm2
psubq %xmm10, %xmm7
movdqa %xmm4, %xmm0
pcmpgtq %xmm2, %xmm0
movdqa %xmm2, %xmm4
blendvpd %xmm0, %xmm5, %xmm4
movdqa %xmm6, %xmm0
pcmpgtq %xmm7, %xmm0
blendvpd %xmm0, %xmm6, %xmm7
movapd %xmm7, %xmm0
pcmpgtq %xmm1, %xmm0
movdqa %xmm1, %xmm2
blendvpd %xmm0, %xmm7, %xmm2
movapd %xmm7, (%r14,%rdx)
movapd %xmm2, (%r15,%rdx)
addq $0x10, %rdx
movdqa %xmm3, %xmm1
cmpq %rdx, %rbx
jne 0x449eec
movq (%r13), %rcx
movq %xmm4, %rdx
cmpq %rcx, %rdx
cmovgq %rdx, %rcx
movq %rcx, %xmm1
pslldq $0x8, %xmm1             # xmm1 = zero,zero,zero,zero,zero,zero,zero,zero,xmm1[0,1,2,3,4,5,6,7]
paddq 0x110(%rsp), %xmm1
movq %xmm2, %rcx
pextrq $0x1, %xmm1, %rdx
cmpq %rdx, %rcx
cmovgq %rcx, %rdx
movq %rdx, %xmm2
pslldq $0x8, %xmm2             # xmm2 = zero,zero,zero,zero,zero,zero,zero,zero,xmm2[0,1,2,3,4,5,6,7]
movq %xmm1, %xmm3            # xmm3 = xmm1[0],zero
movdqa %xmm2, %xmm0
pcmpgtq %xmm3, %xmm0
blendvpd %xmm0, %xmm2, %xmm3
xorl %ecx, %ecx
movdqa %xmm8, %xmm2
psubq %xmm11, %xmm1
psubq %xmm10, %xmm3
movdqa %xmm1, %xmm0
pcmpgtq %xmm3, %xmm0
blendvpd %xmm0, %xmm1, %xmm3
movdqa (%r15,%rcx), %xmm4
movdqa %xmm4, %xmm0
pcmpgtq %xmm3, %xmm0
movdqa %xmm3, %xmm1
movapd %xmm3, %xmm5
blendvpd %xmm0, %xmm4, %xmm5
movdqa %xmm9, %xmm4
movapd %xmm5, %xmm3
pcmpgtq %xmm12, %xmm3
pand %xmm5, %xmm3
movdqa %xmm3, %xmm0
pcmpgtq %xmm8, %xmm0
movdqa %xmm3, %xmm8
blendvpd %xmm0, %xmm2, %xmm8
movdqa %xmm9, %xmm0
pcmpgtq %xmm3, %xmm0
movdqa %xmm3, %xmm9
blendvpd %xmm0, %xmm4, %xmm9
movdqa %xmm3, (%r12,%rcx)
movdqa %xmm3, %xmm0
pcmpgtq %xmm13, %xmm0
blendvpd %xmm0, %xmm3, %xmm13
addq $0x10, %rcx
cmpq %rcx, %rbx
jne 0x449fb5
movapd %xmm13, %xmm0
pcmpgtq %xmm14, %xmm0
movmskpd %xmm0, %ecx
testl %ecx, %ecx
je 0x44a103
pextrq $0x1, %xmm13, %rcx
movq %xmm13, %rax
cmpq %rcx, %rax
cmovgq %rax, %rcx
movq %rcx, 0x18(%rsp)
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa %xmm0, 0x80(%rsp)
movq 0x20(%rsp), %rdi
movq %r12, %rsi
movq %rbx, %rdx
movapd %xmm8, 0x40(%rsp)
movapd %xmm9, 0xa0(%rsp)
movaps %xmm13, 0x90(%rsp)
callq 0x19e0c0
movdqa 0x80(%rsp), %xmm14
movapd 0x90(%rsp), %xmm13
pxor %xmm12, %xmm12
movdqa 0xe0(%rsp), %xmm11
movdqa 0xf0(%rsp), %xmm10
movapd 0xa0(%rsp), %xmm9
movapd 0x40(%rsp), %xmm8
movl 0xc(%rsp), %esi
movq 0x28(%rsp), %r9
movl %ebp, %eax
movq 0xd0(%rsp), %rcx
movdqa (%rcx), %xmm0
testl %esi, %esi
jg 0x44a11c
pslldq $0x8, %xmm0             # xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5,6,7]
testl %esi, %esi
js 0x44a113
movq 0x10(%r9), %rcx
movq (%rcx), %rcx
pextrd $0x2, %xmm0, (%rcx,%rbp,4)
incq %rbp
cmpq 0xc8(%rsp), %rbp
jne 0x449ea7
movq 0xb8(%rsp), %rdx
testl %edx, %edx
je 0x44a1d5
movq 0x20(%rsp), %rbx
movq 0x60(%rsp), %rdi
movq 0x18(%rsp), %r10
je 0x44a218
movd %edi, %xmm0
pshufd $0x50, %xmm0, %xmm1     # xmm1 = xmm0[0,0,1,1]
movq %r10, %xmm0
pshufd $0x44, %xmm0, %xmm2     # xmm2 = xmm0[0,1,0,1]
movd 0x10(%rsp), %xmm0
pshufd $0x51, %xmm0, %xmm3     # xmm3 = xmm0[1,0,1,1]
pmovsxbd 0x1e1b99(%rip), %xmm4   # 0x62bd20
xorl %ecx, %ecx
pmovsxbd 0x1e1b92(%rip), %xmm5   # 0x62bd24
movdqu (%rbx,%rcx,8), %xmm0
pcmpeqq %xmm2, %xmm0
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
movdqa %xmm4, %xmm6
psrld $0x1, %xmm6
paddd %xmm3, %xmm6
pminsd %xmm1, %xmm6
blendvps %xmm0, %xmm6, %xmm1
addq $0x2, %rcx
paddd %xmm5, %xmm4
cmpq %rcx, %rdx
jne 0x44a192
pshufd $0x55, %xmm1, %xmm0     # xmm0 = xmm1[1,1,1,1]
pminsd %xmm1, %xmm0
movd %xmm0, %ecx
jmp 0x44a240
movq 0x60(%rsp), %rcx
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r10
jmp 0x44a240
callq 0x1d1815
jmp 0x44a307
callq 0x1d17ef
jmp 0x44a307
callq 0x1d17c9
jmp 0x44a307
callq 0x1d17a3
jmp 0x44a307
callq 0x1d177d
jmp 0x44a307
movq 0x10(%rsp), %rdx
andl $0x3fffffff, %edx       # imm = 0x3FFFFFFF
addl %edx, %edx
xorl %esi, %esi
movl %esi, %ecx
shrl %ecx
cmpl %edi, %ecx
cmovgel %edi, %ecx
cmpq %r10, (%rbx,%rsi,8)
cmovnel %edi, %ecx
incq %rsi
movl %ecx, %edi
cmpl %esi, %edx
jne 0x44a227
movl 0x10(%rsp), %edx
leaq (,%rdx,4), %rsi
xorl %edi, %edi
movdqa (%r12,%rdi,4), %xmm0
movq 0x10(%r9), %r8
movq 0x8(%r8), %r8
movd %xmm0, (%r8,%rdi)
addq %rdi, %r8
pextrd $0x2, %xmm0, (%rsi,%r8)
addq $0x4, %rdi
decq %rdx
jne 0x44a24e
movq 0x58(%rsp), %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
pcmpgtq %xmm0, %xmm8
pcmpeqd %xmm0, %xmm0
pxor %xmm8, %xmm0
pshufd $0x44, 0x100(%rsp), %xmm1 # xmm1 = mem[0,1,0,1]
pcmpgtq %xmm1, %xmm9
por %xmm0, %xmm9
movmskpd %xmm9, %edx
testl %edx, %edx
je 0x44a2ba
orb $0x40, 0xc(%r9)
xorl %r10d, %r10d
xorl %eax, %eax
xorl %ecx, %ecx
movl %r10d, (%r9)
movl %ecx, 0x4(%r9)
movl %eax, 0x8(%r9)
movq %r13, %rdi
callq 0x20a60d
movq %rbx, %rdi
callq 0x20a60d
movq %r12, %rdi
callq 0x20a60d
movq %r15, %rdi
callq 0x20a60d
movq %r14, %rdi
callq 0x20a60d
movq 0x28(%rsp), %rax
jmp 0x44a309
callq 0x1d1757
jmp 0x44a307
callq 0x1d1731
jmp 0x44a307
callq 0x1d170b
xorl %eax, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop