// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/sw_scan_avx2_256_32.c
// Function: parasail_sw_rowcol_scan_profile_avx2_256_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;
#ifdef PARASAIL_ROWCOL
    int32_t offset = 0;
    int32_t position = 0;
#endif
    __m256i* restrict pvP = NULL;
    __m256i* restrict pvE = NULL;
    __m256i* restrict pvHt = NULL;
    __m256i* restrict pvH = NULL;
    __m256i* restrict pvHMax = NULL;
    __m256i* restrict pvGapper = NULL;
    __m256i vGapO;
    __m256i vGapE;
    int32_t NEG_LIMIT = 0;
    int32_t POS_LIMIT = 0;
    __m256i vZero;
    int32_t score = 0;
    __m256i vNegLimit;
    __m256i vPosLimit;
    __m256i vSaturationCheckMin;
    __m256i vSaturationCheckMax;
    __m256i vMaxH;
    __m256i vMaxHUnit;
    __m256i vNegInfFront;
    __m256i vSegLenXgap;
    parasail_result_t *result = NULL;

    /* 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 = 8; /* 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 = (__m256i*)profile->profile32.score;
    vGapO = _mm256_set1_epi32(open);
    vGapE = _mm256_set1_epi32(gap);
    NEG_LIMIT = (-open < matrix->min ? INT32_MIN + open : INT32_MIN - matrix->min) + 1;
    POS_LIMIT = INT32_MAX - matrix->max - 1;
    vZero = _mm256_setzero_si256();
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi32(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi32(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vMaxHUnit = vNegLimit;
    vNegInfFront = vZero;
    vNegInfFront = _mm256_insert_epi32_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm256_add_epi32(vNegInfFront,
            _mm256_slli_si256_rpl(_mm256_set1_epi32(-segLen*gap), 4));

    /* 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_32 | PARASAIL_FLAG_LANES_8;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    pvE = parasail_memalign___m256i(32, segLen);
    pvHt= parasail_memalign___m256i(32, segLen);
    pvH = parasail_memalign___m256i(32, segLen);
    pvHMax = parasail_memalign___m256i(32, segLen);
    pvGapper = parasail_memalign___m256i(32, 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___m256i(pvH, vZero, segLen);
    parasail_memset___m256i(pvE, vNegLimit, segLen);
    {
        __m256i vGapper = _mm256_sub_epi32(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm256_store_si256(pvGapper+i, vGapper);
            vGapper = _mm256_sub_epi32(vGapper, vGapE);
        }
    }

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

        /* calculate E */
        /* calculate Ht */
        /* calculate F and H first pass */
        vHp = _mm256_load_si256(pvH+(segLen-1));
        vHp = _mm256_slli_si256_rpl(vHp, 4);
        pvW = pvP + matrix->mapper[(unsigned char)s2[j]]*segLen;
        vHt = vZero;
        vF = vNegLimit;
        for (i=0; i<segLen; ++i) {
            vH = _mm256_load_si256(pvH+i);
            vE = _mm256_load_si256(pvE+i);
            vW = _mm256_load_si256(pvW+i);
            vE = _mm256_max_epi32(
                    _mm256_sub_epi32(vE, vGapE),
                    _mm256_sub_epi32(vH, vGapO));
            vHp = _mm256_add_epi32(vHp, vW);
            vF = _mm256_max_epi32(vF, _mm256_add_epi32(vHt, pvGapper[i]));
            vHt = _mm256_max_epi32(vE, vHp);
            _mm256_store_si256(pvE+i, vE);
            _mm256_store_si256(pvHt+i, vHt);
            vHp = vH;
        }

        /* pseudo prefix scan on F and H */
        vHt = _mm256_slli_si256_rpl(vHt, 4);
        vF = _mm256_max_epi32(vF, _mm256_add_epi32(vHt, pvGapper[0]));
        for (i=0; i<segWidth-2; ++i) {
            __m256i vFt = _mm256_slli_si256_rpl(vF, 4);
            vFt = _mm256_add_epi32(vFt, vSegLenXgap);
            vF = _mm256_max_epi32(vF, vFt);
        }

        /* calculate final H */
        vF = _mm256_slli_si256_rpl(vF, 4);
        vF = _mm256_add_epi32(vF, vNegInfFront);
        vH = _mm256_max_epi32(vHt, vF);
        vH = _mm256_max_epi32(vH, vZero);
        for (i=0; i<segLen; ++i) {
            vHt = _mm256_load_si256(pvHt+i);
            vF = _mm256_max_epi32(
                    _mm256_sub_epi32(vF, vGapE),
                    _mm256_sub_epi32(vH, vGapO));
            vH = _mm256_max_epi32(vHt, vF);
            vH = _mm256_max_epi32(vH, vZero);
            _mm256_store_si256(pvH+i, vH);
            vSaturationCheckMin = _mm256_min_epi32(vSaturationCheckMin, vH);
            vSaturationCheckMax = _mm256_max_epi32(vSaturationCheckMax, vH);
#ifdef PARASAIL_TABLE
            arr_store_si256(result->tables->score_table, vH, i, segLen, j, s2Len);
#endif
            vMaxH = _mm256_max_epi32(vH, vMaxH);
        } 

        {
            __m256i vCompare = _mm256_cmpgt_epi32(vMaxH, vMaxHUnit);
            if (_mm256_movemask_epi8(vCompare)) {
                score = _mm256_hmax_epi32_rpl(vMaxH);
                vMaxHUnit = _mm256_set1_epi32(score);
                end_ref = j;
                (void)memcpy(pvHMax, pvH, sizeof(__m256i)*segLen);
            }
        }

#ifdef PARASAIL_ROWCOL
        /* extract last value from the column */
        {
            int32_t k = 0;
            __m256i vH = _mm256_load_si256(pvH + offset);
            for (k=0; k<position; ++k) {
                vH = _mm256_slli_si256_rpl(vH, 4);
            }
            result->rowcols->score_row[j] = (int32_t) _mm256_extract_epi32_rpl (vH, 7);
        }
#endif
    }

    /* 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;
                }
            }
        }
    }

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

    if (_mm256_movemask_epi8(_mm256_or_si256(
            _mm256_cmplt_epi32_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rsi, 0x8(%rsp)
testq %rdi, %rdi
je 0x4f3b34
movq 0x48(%rdi), %rax
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x4f3b58
movq 0x10(%rdi), %rax
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x4f3b7c
movl 0x8(%rdi), %eax
movq %rax, 0x20(%rsp)
testl %eax, %eax
jle 0x4f3ba0
cmpq $0x0, 0x8(%rsp)
je 0x4f3bc4
movl %edx, %ebx
testl %edx, %edx
jle 0x4f3be5
movl %ecx, %r12d
testl %ecx, %ecx
js 0x4f3c06
movl %r8d, %r15d
testl %r8d, %r8d
js 0x4f3c27
movq 0x20(%rsp), %rax
leaq 0x7(%rax), %rdi
movq %rdi, %r14
shrq $0x3, %r14
decl %eax
xorl %edx, %edx
divl %r14d
movl %eax, %r13d
movl %edx, %ebp
movl %r12d, %eax
negl %eax
movq 0x30(%rsp), %r8
movl 0x20(%r8), %ecx
movl $0x80000000, %esi       # imm = 0x80000000
movl %r12d, %edx
orl %esi, %edx
subl %ecx, %esi
cmpl %eax, %ecx
cmovgl %edx, %esi
movl %esi, 0x4(%rsp)
movl $0x7ffffffe, %eax       # imm = 0x7FFFFFFE
subl 0x1c(%r8), %eax
movl %eax, 0xe0(%rsp)
andl $0x7ffffff8, %edi       # imm = 0x7FFFFFF8
movl %ebx, %esi
callq 0x1ab93b
testq %rax, %rax
je 0x4f364d
movl %r13d, 0x60(%rsp)
movl %r12d, 0x80(%rsp)
movl %r15d, 0xa0(%rsp)
movl %ebp, 0x18(%rsp)
movl %ebx, 0xc0(%rsp)
movq %rax, 0x28(%rsp)
orl $0x8440404, 0xc(%rax)   # imm = 0x8440404
pushq $0x20
popq %rbp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %rax, %r15
movq %rbp, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %rax, %r12
movq %rbp, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %rax, %r13
movq %rbp, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %rax, %rbx
movq %rbp, %rdi
movq %r14, %rsi
callq 0x496aa4
movq %rax, %rbp
testq %r15, %r15
sete %al
testq %r12, %r12
sete %cl
orb %al, %cl
testq %r13, %r13
sete %al
testq %rbx, %rbx
sete %dl
orb %al, %dl
orb %cl, %dl
testq %rbp, %rbp
sete %al
orb %dl, %al
je 0x4f3654
xorl %ebx, %ebx
jmp 0x4f3c4f
movq %rbx, 0x10(%rsp)
pushq $0x7
popq %rbx
subl 0x60(%rsp), %ebx
vmovss 0x80(%rsp), %xmm0
vbroadcastss %xmm0, %ymm0
vmovups %ymm0, 0x160(%rsp)
movl 0xa0(%rsp), %ecx
vmovd %ecx, %xmm0
vpbroadcastd %xmm0, %ymm0
vmovdqu %ymm0, 0x140(%rsp)
movl 0x4(%rsp), %eax
incl %eax
movl %eax, 0x4(%rsp)
vmovd %eax, %xmm0
vpbroadcastd %xmm0, %ymm1
vmovdqu %ymm1, 0x60(%rsp)
vmovss 0xe0(%rsp), %xmm0
vbroadcastss %xmm0, %ymm0
vmovups %ymm0, 0x100(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovss %xmm1, %xmm0, %xmm2     # xmm2 = xmm1[0],xmm0[1,2,3]
imull %r14d, %ecx
negl %ecx
vmovd %ecx, %xmm0
vpbroadcastd %xmm0, %ymm0
vpxor %xmm1, %xmm1, %xmm1
vpblendd $0x1, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7]
vmovups %ymm2, 0x180(%rsp)
vpaddd %ymm0, %ymm2, %ymm0
vmovdqu %ymm0, 0x120(%rsp)
vpxor %xmm0, %xmm0, %xmm0
movq %r13, %rdi
movq %r14, %rsi
callq 0x496aad
movq %r15, %rdi
vmovdqu 0x60(%rsp), %ymm0
movq %r14, %rsi
callq 0x496aad
vmovdqu 0x140(%rsp), %ymm9
vmovdqu 0x160(%rsp), %ymm6
vpxor %xmm0, %xmm0, %xmm0
vpsubd %ymm6, %ymm0, %ymm0
leal -0x1(%r14), %eax
movl %eax, %ecx
movq %r14, %r10
testl %ecx, %ecx
js 0x4f3753
movl %ecx, %edx
shlq $0x5, %rdx
vmovdqa %ymm0, (%rbp,%rdx)
vpsubd %ymm9, %ymm0, %ymm0
decl %ecx
jmp 0x4f373a
movl %eax, %eax
shlq $0x5, %rax
addq %r13, %rax
movq %rax, 0x48(%rsp)
movq %r10, %r14
shlq $0x5, %r14
movl 0x18(%rsp), %eax
shlq $0x5, %rax
addq %r13, %rax
movq %rax, 0x40(%rsp)
movl 0xc0(%rsp), %eax
movq %rax, 0x50(%rsp)
xorl %esi, %esi
vpxor %xmm11, %xmm11, %xmm11
vmovdqu 0x100(%rsp), %ymm7
vmovdqu 0x60(%rsp), %ymm0
vmovdqa %ymm0, %ymm8
vmovdqa %ymm0, %ymm12
vmovdqa %ymm0, %ymm13
xorl %r9d, %r9d
movl 0x4(%rsp), %eax
movq 0x10(%rsp), %rdi
vmovdqu 0x120(%rsp), %ymm10
movq %r10, 0x38(%rsp)
cmpq 0x50(%rsp), %rsi
je 0x4f39fc
movq 0x48(%rsp), %rcx
vmovdqa (%rcx), %ymm0
vperm2i128 $0x28, %ymm0, %ymm0, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm2 # ymm2 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
movq 0x30(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x8(%rsp), %rdx
movzbl (%rdx,%rsi), %edx
movl (%rcx,%rdx,4), %ecx
imull %r10d, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq 0x58(%rsp), %rcx
vpxor %xmm1, %xmm1, %xmm1
xorl %edx, %edx
vmovdqu 0x60(%rsp), %ymm0
cmpq %rdx, %r14
je 0x4f385c
vpaddd (%rcx,%rdx), %ymm2, %ymm2
vmovdqa (%r13,%rdx), %ymm3
vmovdqa (%r15,%rdx), %ymm4
vpsubd %ymm9, %ymm4, %ymm4
vpsubd %ymm6, %ymm3, %ymm5
vpaddd (%rbp,%rdx), %ymm1, %ymm1
vpmaxsd %ymm5, %ymm4, %ymm4
vpmaxsd %ymm1, %ymm0, %ymm0
vmovdqa %ymm4, (%r15,%rdx)
vpmaxsd %ymm2, %ymm4, %ymm1
vmovdqa %ymm1, (%r12,%rdx)
addq $0x20, %rdx
vmovdqa %ymm3, %ymm2
jmp 0x4f3811
vperm2i128 $0x28, %ymm1, %ymm1, %ymm2 # ymm2 = zero,zero,ymm1[0,1]
vpalignr $0xc, %ymm2, %ymm1, %ymm1 # ymm1 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
vpaddd (%rbp), %ymm1, %ymm2
vpmaxsd %ymm2, %ymm0, %ymm0
pushq $0x6
popq %rcx
vperm2i128 $0x8, %ymm0, %ymm0, %ymm2 # ymm2 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm2, %ymm0, %ymm2 # ymm2 = ymm2[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
subl $0x1, %ecx
jb 0x4f3891
vpaddd %ymm2, %ymm10, %ymm2
vpmaxsd %ymm2, %ymm0, %ymm0
jmp 0x4f3875
vpaddd 0x180(%rsp), %ymm2, %ymm0
vpmaxsd %ymm11, %ymm1, %ymm1
vpmaxsd %ymm0, %ymm1, %ymm1
xorl %ecx, %ecx
cmpq %rcx, %r14
je 0x4f38e0
vpsubd %ymm9, %ymm0, %ymm0
vpsubd %ymm6, %ymm1, %ymm1
vpmaxsd %ymm1, %ymm0, %ymm0
vpmaxsd (%r12,%rcx), %ymm0, %ymm1
vpmaxsd %ymm11, %ymm1, %ymm1
vmovdqa %ymm1, (%r13,%rcx)
vpminsd %ymm1, %ymm7, %ymm7
vpmaxsd %ymm1, %ymm8, %ymm8
vpmaxsd %ymm12, %ymm1, %ymm12
addq $0x20, %rcx
jmp 0x4f38a6
vpcmpgtd %ymm13, %ymm12, %ymm0
vtestps %ymm0, %ymm0
je 0x4f39bc
vpermq $0x44, %ymm12, %ymm0    # ymm0 = ymm12[0,1,0,1]
vpmaxsd %ymm0, %ymm12, %ymm0
vpslldq $0x8, %ymm0, %ymm1      # ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,ymm0[0,1,2,3,4,5,6,7],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[16,17,18,19,20,21,22,23]
vpmaxsd %ymm1, %ymm0, %ymm0
vpslldq $0x4, %ymm0, %ymm1      # ymm1 = zero,zero,zero,zero,ymm0[0,1,2,3,4,5,6,7,8,9,10,11],zero,zero,zero,zero,ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
vpmaxsd %ymm1, %ymm0, %ymm0
vextracti128 $0x1, %ymm0, %xmm1
vpextrd $0x3, %xmm1, 0x4(%rsp)
vpbroadcastd 0xd7fea(%rip), %ymm1 # 0x5cb910
vpermd %ymm0, %ymm1, %ymm0
vmovdqu %ymm0, 0x80(%rsp)
movq %rsi, 0x18(%rsp)
movq %r13, %rsi
movq %r14, %rdx
vmovdqu %ymm7, 0xe0(%rsp)
vmovdqu %ymm8, 0xc0(%rsp)
vmovdqu %ymm12, 0xa0(%rsp)
vzeroupper
callq 0x19e0c0
vmovdqu 0x80(%rsp), %ymm13
vmovdqu 0xa0(%rsp), %ymm12
vpxor %xmm11, %xmm11, %xmm11
movq 0x18(%rsp), %rsi
vmovdqu 0x120(%rsp), %ymm10
vmovdqu 0x140(%rsp), %ymm9
vmovdqu 0xc0(%rsp), %ymm8
vmovdqu 0xe0(%rsp), %ymm7
vmovdqu 0x160(%rsp), %ymm6
movq 0x10(%rsp), %rdi
movl 0x4(%rsp), %eax
movq 0x38(%rsp), %r10
movl %esi, %r9d
movq 0x40(%rsp), %rcx
vmovdqa (%rcx), %ymm0
xorl %ecx, %ecx
cmpl %ebx, %ecx
jge 0x4f39db
vperm2i128 $0x28, %ymm0, %ymm0, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xc, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27]
incl %ecx
jmp 0x4f39c7
vextracti128 $0x1, %ymm0, %xmm0
movq 0x28(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq (%rcx), %rcx
vpextrd $0x3, %xmm0, (%rcx,%rsi,4)
incq %rsi
jmp 0x4f37c0
movl %r10d, %ecx
andl $0xfffffff, %ecx        # imm = 0xFFFFFFF
shll $0x3, %ecx
xorl %edx, %edx
movq 0x28(%rsp), %rbx
movq 0x20(%rsp), %r14
cmpl %edx, %ecx
je 0x4f3a3c
cmpl %eax, (%rdi,%rdx,4)
jne 0x4f3a37
movl %edx, %esi
shrl $0x3, %esi
movl %edx, %r8d
andl $0x7, %r8d
imull %r10d, %r8d
addl %esi, %r8d
cmpl %r14d, %r8d
cmovll %r8d, %r14d
incq %rdx
jmp 0x4f3a14
movl %r9d, 0x8(%rsp)
movl %eax, 0x4(%rsp)
leal (,%r10,4), %ecx
imulq $0x1c, %r10, %rdx
imulq $0x18, %r10, %rsi
imulq $0x14, %r10, %rdi
movq %r10, %r8
shlq $0x4, %r8
imulq $0xc, %r10, %r9
shlq $0x3, %r10
movq %r10, %rax
xorl %r10d, %r10d
cmpq %r10, %rcx
je 0x4f3ac8
movq 0x10(%rbx), %r11
movq 0x8(%r11), %r11
vmovdqa (%r13,%r10,8), %xmm0
vmovdqa 0x10(%r13,%r10,8), %xmm1
vmovd %xmm0, (%r11,%r10)
addq %r10, %r11
vpextrd $0x1, %xmm0, (%rcx,%r11)
vpextrd $0x2, %xmm0, (%rax,%r11)
vpextrd $0x3, %xmm0, (%r9,%r11)
vmovd %xmm1, (%r8,%r11)
vpextrd $0x1, %xmm1, (%rdi,%r11)
vpextrd $0x2, %xmm1, (%rsi,%r11)
vpextrd $0x3, %xmm1, (%rdx,%r11)
addq $0x4, %r10
jmp 0x4f3a6e
vmovdqu 0x60(%rsp), %ymm0
vpcmpgtd %ymm7, %ymm0, %ymm0
vpcmpgtd 0x100(%rsp), %ymm8, %ymm1
vpor %ymm0, %ymm1, %ymm0
vtestps %ymm0, %ymm0
movl 0x4(%rsp), %eax
movl 0x8(%rsp), %ecx
je 0x4f3af9
orb $0x40, 0xc(%rbx)
xorl %eax, %eax
xorl %ecx, %ecx
xorl %r14d, %r14d
movl %eax, (%rbx)
movl %r14d, 0x4(%rbx)
movl %ecx, 0x8(%rbx)
movq %rbp, %rdi
vzeroupper
callq 0x1ab763
movq 0x10(%rsp), %rdi
callq 0x1ab763
movq %r13, %rdi
callq 0x1ab763
movq %r12, %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
jmp 0x4f3c4f
movq 0x24749d(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd34a6(%rip), %rsi     # 0x5c6feb
leaq 0xc1da4(%rip), %rdx     # 0x5b58f0
leaq 0xa998a(%rip), %rcx     # 0x59d4dd
jmp 0x4f3c46
movq 0x247479(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd3482(%rip), %rsi     # 0x5c6feb
leaq 0xc1d80(%rip), %rdx     # 0x5b58f0
leaq 0xd3e2f(%rip), %rcx     # 0x5c79a6
jmp 0x4f3c46
movq 0x247455(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd345e(%rip), %rsi     # 0x5c6feb
leaq 0xc1d5c(%rip), %rdx     # 0x5b58f0
leaq 0xd3d9e(%rip), %rcx     # 0x5c7939
jmp 0x4f3c46
movq 0x247431(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd3b50(%rip), %rsi     # 0x5c7701
leaq 0xc1d38(%rip), %rdx     # 0x5b58f0
leaq 0xd3d8a(%rip), %rcx     # 0x5c7949
jmp 0x4f3c46
movq 0x24740d(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd3416(%rip), %rsi     # 0x5c6feb
leaq 0xc1d14(%rip), %rdx     # 0x5b58f0
leaq 0xd3b1b(%rip), %rcx     # 0x5c76fe
jmp 0x4f3c46
movq 0x2473ec(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd3b0b(%rip), %rsi     # 0x5c7701
leaq 0xc1cf3(%rip), %rdx     # 0x5b58f0
leaq 0xd3b11(%rip), %rcx     # 0x5c7715
jmp 0x4f3c46
movq 0x2473cb(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd3b04(%rip), %rsi     # 0x5c771b
leaq 0xc1cd2(%rip), %rdx     # 0x5b58f0
leaq 0xd3b0b(%rip), %rcx     # 0x5c7730
jmp 0x4f3c46
movq 0x2473aa(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xd3ae3(%rip), %rsi     # 0x5c771b
leaq 0xc1cb1(%rip), %rdx     # 0x5b58f0
leaq 0xd3aef(%rip), %rcx     # 0x5c7735
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x19e180
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq