// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/sw_scan_avx2_256_8.c
// Function: parasail_sw_rowcol_scan_profile_avx2_256_8
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;
    int8_t NEG_LIMIT = 0;
    int8_t POS_LIMIT = 0;
    __m256i vZero;
    int8_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->profile8.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 = 32; /* 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->profile8.score;
    vGapO = _mm256_set1_epi8(open);
    vGapE = _mm256_set1_epi8(gap);
    NEG_LIMIT = (-open < matrix->min ? INT8_MIN + open : INT8_MIN - matrix->min) + 1;
    POS_LIMIT = INT8_MAX - matrix->max - 1;
    vZero = _mm256_setzero_si256();
    score = NEG_LIMIT;
    vNegLimit = _mm256_set1_epi8(NEG_LIMIT);
    vPosLimit = _mm256_set1_epi8(POS_LIMIT);
    vSaturationCheckMin = vPosLimit;
    vSaturationCheckMax = vNegLimit;
    vMaxH = vNegLimit;
    vMaxHUnit = vNegLimit;
    vNegInfFront = vZero;
    vNegInfFront = _mm256_insert_epi8_rpl(vNegInfFront, NEG_LIMIT, 0);
    vSegLenXgap = _mm256_adds_epi8(vNegInfFront,
            _mm256_slli_si256_rpl(_mm256_set1_epi8(-segLen*gap), 1));

    /* 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_8 | PARASAIL_FLAG_LANES_32;
#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_subs_epi8(vZero,vGapO);
        for (i=segLen-1; i>=0; --i) {
            _mm256_store_si256(pvGapper+i, vGapper);
            vGapper = _mm256_subs_epi8(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, 1);
        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_epi8(
                    _mm256_subs_epi8(vE, vGapE),
                    _mm256_subs_epi8(vH, vGapO));
            vHp = _mm256_adds_epi8(vHp, vW);
            vF = _mm256_max_epi8(vF, _mm256_adds_epi8(vHt, pvGapper[i]));
            vHt = _mm256_max_epi8(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, 1);
        vF = _mm256_max_epi8(vF, _mm256_adds_epi8(vHt, pvGapper[0]));
        for (i=0; i<segWidth-2; ++i) {
            __m256i vFt = _mm256_slli_si256_rpl(vF, 1);
            vFt = _mm256_adds_epi8(vFt, vSegLenXgap);
            vF = _mm256_max_epi8(vF, vFt);
        }

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

        {
            __m256i vCompare = _mm256_cmpgt_epi8(vMaxH, vMaxHUnit);
            if (_mm256_movemask_epi8(vCompare)) {
                score = _mm256_hmax_epi8_rpl(vMaxH);
                vMaxHUnit = _mm256_set1_epi8(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, 1);
            }
            result->rowcols->score_row[j] = (int8_t) _mm256_extract_epi8_rpl (vH, 31);
        }
#endif
    }

    /* Trace the alignment ending position on read. */
    {
        int8_t *t = (int8_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_epi8_rpl(vSaturationCheckMin, vNegLimit),
            _mm256_cmpgt_epi8(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 $0x208, %rsp            # imm = 0x208
movq %rsi, 0x30(%rsp)
testq %rdi, %rdi
je 0x4f861f
movq 0x18(%rdi), %rax
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x4f8643
movq 0x10(%rdi), %rax
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x4f8667
movl 0x8(%rdi), %ebx
testl %ebx, %ebx
jle 0x4f868b
cmpq $0x0, 0x30(%rsp)
je 0x4f86af
movl %edx, %ebp
testl %edx, %edx
jle 0x4f86d0
movl %ecx, %r12d
testl %ecx, %ecx
js 0x4f86f1
movl %r8d, %r15d
testl %r8d, %r8d
js 0x4f8712
leaq 0x1f(%rbx), %rdi
movq %rdi, %r13
shrq $0x5, %r13
leal -0x1(%rbx), %eax
xorl %edx, %edx
divl %r13d
movl %eax, 0x140(%rsp)
movl %edx, %r14d
movq 0x28(%rsp), %rsi
movl 0x20(%rsi), %eax
movl %eax, %ecx
negb %cl
movzbl %cl, %edx
movl %r12d, %ecx
negl %ecx
cmpl %ecx, %eax
cmovgl %r12d, %edx
movl %edx, 0xc(%rsp)
movb $0x7e, %al
subb 0x1c(%rsi), %al
movl %eax, 0x120(%rsp)
andl $0x7fffffe0, %edi       # imm = 0x7FFFFFE0
movl %ebp, %esi
callq 0x1ab93b
testq %rax, %rax
je 0x4f8738
movl %r12d, 0xc0(%rsp)
movl %r15d, 0xe0(%rsp)
movl %r14d, 0x100(%rsp)
movl %ebp, 0x10(%rsp)
movq %rbx, 0x20(%rsp)
movq %rax, 0x18(%rsp)
orl $0x20140404, 0xc(%rax)  # imm = 0x20140404
pushq $0x20
popq %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x496aa4
movq %rax, %r14
movq %rbp, %rdi
movq %r13, %rsi
callq 0x496aa4
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
callq 0x496aa4
movq %rax, %r12
movq %rbp, %rdi
movq %r13, %rsi
callq 0x496aa4
movq %rax, %rbx
movq %rbp, %rdi
movq %r13, %rsi
callq 0x496aa4
movq %rax, %rbp
testq %r14, %r14
sete %al
testq %r15, %r15
sete %cl
orb %al, %cl
testq %r12, %r12
sete %al
testq %rbx, %rbx
sete %dl
orb %al, %dl
orb %cl, %dl
testq %rbp, %rbp
sete %al
orb %dl, %al
jne 0x4f8738
movq %rbx, 0x38(%rsp)
pushq $0x1f
popq %rbx
subl 0x140(%rsp), %ebx
vmovd 0xc0(%rsp), %xmm0
vpbroadcastb %xmm0, %ymm0
vmovdqu %ymm0, 0x1a0(%rsp)
movl 0xe0(%rsp), %ecx
vmovd %ecx, %xmm0
vpbroadcastb %xmm0, %ymm0
vmovdqu %ymm0, 0x180(%rsp)
movl 0xc(%rsp), %eax
addb $-0x7f, %al
vmovd %eax, %xmm0
vpbroadcastb %xmm0, %ymm0
vmovdqu %ymm0, 0xc0(%rsp)
vmovd 0x120(%rsp), %xmm0
vpbroadcastb %xmm0, %ymm0
vmovdqu %ymm0, 0x1e0(%rsp)
movl %eax, 0xc(%rsp)
movzbl %al, %eax
vmovd %eax, %xmm1
imull %r13d, %ecx
negb %cl
vmovd %ecx, %xmm0
vpbroadcastb %xmm0, %ymm0
vpand 0xd3b6f(%rip), %ymm0, %ymm0 # 0x5cb9c0
vmovdqu %ymm1, 0x1c0(%rsp)
vpaddsb %ymm0, %ymm1, %ymm0
vmovdqu %ymm0, 0x160(%rsp)
vpxor %xmm0, %xmm0, %xmm0
movq %r12, %rdi
movq %r13, %rsi
callq 0x496aad
movq %r14, %rdi
vmovdqu 0xc0(%rsp), %ymm0
movq %r13, %rsi
callq 0x496aad
vmovdqu 0x180(%rsp), %ymm9
vmovdqu 0x1a0(%rsp), %ymm8
vpxor %xmm0, %xmm0, %xmm0
vpsubsb %ymm8, %ymm0, %ymm0
leal -0x1(%r13), %eax
movl %eax, %ecx
movq 0x18(%rsp), %r11
movq %r13, %r10
testl %ecx, %ecx
js 0x4f7ecc
movl %ecx, %edx
shlq $0x5, %rdx
vmovdqa %ymm0, (%rbp,%rdx)
vpsubsb %ymm9, %ymm0, %ymm0
decl %ecx
jmp 0x4f7eb3
movl %eax, %eax
shlq $0x5, %rax
addq %r12, %rax
movq %rax, 0x48(%rsp)
movq %r10, %r13
shlq $0x5, %r13
movl 0x100(%rsp), %eax
shlq $0x5, %rax
addq %r12, %rax
movq %rax, 0x40(%rsp)
movl 0x10(%rsp), %eax
movq %rax, 0x50(%rsp)
xorl %edx, %edx
vpxor %xmm11, %xmm11, %xmm11
vmovdqu 0x1e0(%rsp), %ymm6
vmovdqu 0xc0(%rsp), %ymm0
vmovdqa %ymm0, %ymm7
vmovdqa %ymm0, %ymm12
vmovdqa %ymm0, %ymm13
xorl %r9d, %r9d
movl 0xc(%rsp), %r8d
movq 0x38(%rsp), %rdi
vmovdqu 0x160(%rsp), %ymm10
movq %r10, 0x68(%rsp)
cmpq 0x50(%rsp), %rdx
je 0x4f819e
movq 0x48(%rsp), %rax
vmovdqa (%rax), %ymm0
vperm2i128 $0x28, %ymm0, %ymm0, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xf, %ymm1, %ymm0, %ymm2 # ymm2 = ymm1[15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm1[31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x30(%rsp), %rcx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %eax
imull %r10d, %eax
cltq
shlq $0x5, %rax
addq 0x58(%rsp), %rax
vpxor %xmm1, %xmm1, %xmm1
xorl %ecx, %ecx
vmovdqu 0xc0(%rsp), %ymm0
cmpq %rcx, %r13
je 0x4f7fdb
vpaddsb (%rax,%rcx), %ymm2, %ymm2
vmovdqa (%r12,%rcx), %ymm3
vmovdqa (%r14,%rcx), %ymm4
vpsubsb %ymm9, %ymm4, %ymm4
vpsubsb %ymm8, %ymm3, %ymm5
vpaddsb (%rbp,%rcx), %ymm1, %ymm1
vpmaxsb %ymm5, %ymm4, %ymm4
vpmaxsb %ymm1, %ymm0, %ymm0
vmovdqa %ymm4, (%r14,%rcx)
vpmaxsb %ymm2, %ymm4, %ymm1
vmovdqa %ymm1, (%r15,%rcx)
addq $0x20, %rcx
vmovdqa %ymm3, %ymm2
jmp 0x4f7f90
vperm2i128 $0x28, %ymm1, %ymm1, %ymm2 # ymm2 = zero,zero,ymm1[0,1]
vpalignr $0xf, %ymm2, %ymm1, %ymm1 # ymm1 = ymm2[15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm2[31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
vpaddsb (%rbp), %ymm1, %ymm2
vpmaxsb %ymm2, %ymm0, %ymm0
pushq $0x1e
popq %rax
vperm2i128 $0x8, %ymm0, %ymm0, %ymm2 # ymm2 = zero,zero,ymm0[0,1]
vpalignr $0xf, %ymm2, %ymm0, %ymm2 # ymm2 = ymm2[15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm2[31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
subl $0x1, %eax
jb 0x4f8010
vpaddsb %ymm2, %ymm10, %ymm2
vpmaxsb %ymm2, %ymm0, %ymm0
jmp 0x4f7ff4
vpaddsb 0x1c0(%rsp), %ymm2, %ymm0
vpmaxsb %ymm11, %ymm1, %ymm1
vpmaxsb %ymm0, %ymm1, %ymm1
xorl %eax, %eax
cmpq %rax, %r13
je 0x4f805f
vpsubsb %ymm9, %ymm0, %ymm0
vpsubsb %ymm8, %ymm1, %ymm1
vpmaxsb %ymm1, %ymm0, %ymm0
vpmaxsb (%r15,%rax), %ymm0, %ymm1
vpmaxsb %ymm11, %ymm1, %ymm1
vmovdqa %ymm1, (%r12,%rax)
vpminsb %ymm1, %ymm6, %ymm6
vpmaxsb %ymm1, %ymm7, %ymm7
vpmaxsb %ymm12, %ymm1, %ymm12
addq $0x20, %rax
jmp 0x4f8025
vpcmpgtb %ymm13, %ymm12, %ymm0
vpmovmskb %ymm0, %eax
testl %eax, %eax
je 0x4f815e
vpermq $0x44, %ymm12, %ymm0    # ymm0 = ymm12[0,1,0,1]
vpmaxsb %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]
vpmaxsb %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]
vpmaxsb %ymm1, %ymm0, %ymm0
vpslldq $0x2, %ymm0, %ymm1      # ymm1 = zero,zero,ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13],zero,zero,ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29]
vpmaxsb %ymm1, %ymm0, %ymm0
vpslldq $0x1, %ymm0, %ymm1      # ymm1 = zero,ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],zero,ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
vpmaxsb %ymm1, %ymm0, %ymm0
vextracti128 $0x1, %ymm0, %xmm1
vpbroadcastb 0xd4f8e(%rip), %ymm2 # 0x5cd040
vpextrb $0xf, %xmm1, %eax
movl %eax, 0xc(%rsp)
vpshufb %ymm2, %ymm0, %ymm0
vpermq $0xaa, %ymm0, %ymm0     # ymm0 = ymm0[2,2,2,2]
vmovdqu %ymm0, 0xe0(%rsp)
movq %r12, %rsi
movq %rdx, 0x10(%rsp)
movq %r13, %rdx
vmovdqu %ymm6, 0x140(%rsp)
vmovdqu %ymm7, 0x120(%rsp)
vmovdqu %ymm12, 0x100(%rsp)
vzeroupper
callq 0x19e0c0
vmovdqu 0xe0(%rsp), %ymm13
vmovdqu 0x100(%rsp), %ymm12
vpxor %xmm11, %xmm11, %xmm11
movq 0x10(%rsp), %rdx
vmovdqu 0x160(%rsp), %ymm10
vmovdqu 0x180(%rsp), %ymm9
vmovdqu 0x1a0(%rsp), %ymm8
vmovdqu 0x120(%rsp), %ymm7
vmovdqu 0x140(%rsp), %ymm6
movq 0x68(%rsp), %r10
movq 0x38(%rsp), %rdi
movl 0xc(%rsp), %r8d
movq 0x18(%rsp), %r11
movl %edx, %r9d
movq 0x40(%rsp), %rax
vmovdqa (%rax), %ymm0
xorl %eax, %eax
cmpl %ebx, %eax
jge 0x4f817d
vperm2i128 $0x28, %ymm0, %ymm0, %ymm1 # ymm1 = zero,zero,ymm0[0,1]
vpalignr $0xf, %ymm1, %ymm0, %ymm0 # ymm0 = ymm1[15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm1[31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
incl %eax
jmp 0x4f8169
vextracti128 $0x1, %ymm0, %xmm0
vpextrb $0xf, %xmm0, %eax
movsbl %al, %eax
movq 0x10(%r11), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx,%rdx,4)
incq %rdx
jmp 0x4f7f3d
movl %r10d, %eax
andl $0x3ffffff, %eax        # imm = 0x3FFFFFF
shll $0x5, %eax
xorl %ecx, %ecx
cmpl %ecx, %eax
je 0x4f81d9
cmpb %r8b, (%rdi,%rcx)
jne 0x4f81d4
movl %ecx, %edx
shrl $0x5, %edx
movl %ecx, %esi
andl $0x1f, %esi
imull %r10d, %esi
addl %edx, %esi
movq 0x20(%rsp), %rdx
cmpl %edx, %esi
cmovll %esi, %edx
movq %rdx, 0x20(%rsp)
incq %rcx
jmp 0x4f81ab
movl %r9d, 0x64(%rsp)
movl %r8d, 0xc(%rsp)
leal (,%r10,4), %ecx
leal (,%r10,8), %eax
movq %rax, 0x30(%rsp)
movl %r10d, %eax
imulq $0xc, %rax, %rdx
movq %rdx, 0x28(%rsp)
movl %r10d, %edx
shll $0x4, %edx
movq %rdx, 0x140(%rsp)
imulq $0x14, %rax, %rdx
movq %rdx, 0x120(%rsp)
imulq $0x18, %rax, %rdx
movq %rdx, 0x10(%rsp)
imulq $0x1c, %rax, %rax
movq %rax, 0x100(%rsp)
imulq $0x7c, %r10, %rax
movq %rax, 0xe0(%rsp)
imulq $0x78, %r10, %rax
movq %rax, 0x58(%rsp)
imulq $0x74, %r10, %rax
movq %rax, 0x50(%rsp)
imulq $0x70, %r10, %rax
movq %rax, 0x1c0(%rsp)
imulq $0x6c, %r10, %rax
movq %rax, 0x48(%rsp)
imulq $0x68, %r10, %rax
movq %rax, 0x40(%rsp)
movq %r10, %r9
shlq $0x6, %r9
imulq $0x64, %r10, %rax
movq %rax, 0x1a0(%rsp)
imulq $0x60, %r10, %rax
movq %rax, 0x180(%rsp)
imulq $0x5c, %r10, %rax
movq %rax, 0x160(%rsp)
imulq $0x58, %r10, %rax
movq %rax, 0xb8(%rsp)
imulq $0x54, %r10, %rax
movq %rax, 0xb0(%rsp)
imulq $0x50, %r10, %rax
movq %rax, 0xa8(%rsp)
imulq $0x4c, %r10, %rax
movq %rax, 0xa0(%rsp)
imulq $0x48, %r10, %rax
movq %rax, 0x98(%rsp)
imulq $0x44, %r10, %rax
movq %rax, 0x90(%rsp)
imulq $0x3c, %r10, %rax
movq %rax, 0x88(%rsp)
imulq $0x38, %r10, %rax
movq %rax, 0x80(%rsp)
imulq $0x34, %r10, %rax
movq %rax, 0x78(%rsp)
imulq $0x30, %r10, %rax
movq %rax, 0x70(%rsp)
imulq $0x2c, %r10, %rsi
imulq $0x28, %r10, %r8
imulq $0x24, %r10, %rdi
xorl %r10d, %r10d
cmpq %r10, %rcx
je 0x4f8599
movq 0x18(%rsp), %rax
movq 0x10(%rax), %r11
movq 0x8(%r11), %r11
vmovdqa (%r12,%r10,8), %xmm1
vmovdqa 0x10(%r12,%r10,8), %xmm0
vmovd %xmm1, %ebx
movsbl %bl, %ebx
movl %ebx, (%r11,%r10)
addq %r10, %r11
vpextrb $0x1, %xmm1, %ebx
movsbl %bl, %ebx
movl %ebx, (%rcx,%r11)
vpextrb $0x2, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x30(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0x3, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x28(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0x4, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x140(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0x5, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x120(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0x6, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x10(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0x7, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x100(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0x8, %xmm1, %ebx
movsbl %bl, %ebx
movl %ebx, (%r13,%r11)
vpextrb $0x9, %xmm1, %ebx
movsbl %bl, %ebx
movl %ebx, (%rdi,%r11)
vpextrb $0xa, %xmm1, %ebx
movsbl %bl, %ebx
movl %ebx, (%r8,%r11)
vpextrb $0xb, %xmm1, %ebx
movsbl %bl, %ebx
movl %ebx, (%rsi,%r11)
vpextrb $0xc, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x70(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0xd, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x78(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0xe, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x80(%rsp), %rax
movl %ebx, (%rax,%r11)
vpextrb $0xf, %xmm1, %ebx
movsbl %bl, %ebx
movq 0x88(%rsp), %rax
movl %ebx, (%rax,%r11)
vmovd %xmm0, %ebx
movsbl %bl, %ebx
vpextrb $0x1, %xmm0, %eax
movl %ebx, (%r9,%r11)
movsbl %al, %eax
vpextrb $0x2, %xmm0, %ebx
movq 0x90(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0x3, %xmm0, %ebx
movq 0x98(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0x4, %xmm0, %ebx
movq 0xa0(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0x5, %xmm0, %ebx
movq 0xa8(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0x6, %xmm0, %ebx
movq 0xb0(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0x7, %xmm0, %ebx
movq 0xb8(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0x8, %xmm0, %ebx
movq 0x160(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0x9, %xmm0, %ebx
movq 0x180(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0xa, %xmm0, %ebx
movq 0x1a0(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0xb, %xmm0, %ebx
movq 0x40(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0xc, %xmm0, %ebx
movq 0x48(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0xd, %xmm0, %ebx
movq 0x1c0(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0xe, %xmm0, %ebx
movq 0x50(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
vpextrb $0xf, %xmm0, %ebx
movq 0x58(%rsp), %rdx
movl %eax, (%rdx,%r11)
movsbl %bl, %eax
movq 0xe0(%rsp), %rbx
movl %eax, (%rbx,%r11)
movq 0x18(%rsp), %r11
addq $0x4, %r10
jmp 0x4f831b
vmovdqu 0xc0(%rsp), %ymm0
vpcmpgtb %ymm6, %ymm0, %ymm0
vpcmpgtb 0x1e0(%rsp), %ymm7, %ymm1
vpor %ymm0, %ymm1, %ymm0
vpmovmskb %ymm0, %eax
testl %eax, %eax
movl 0xc(%rsp), %eax
movl 0x64(%rsp), %ecx
je 0x4f85d5
orb $0x40, 0xc(%r11)
xorl %eax, %eax
xorl %ecx, %ecx
movq $0x0, 0x20(%rsp)
movsbl %al, %eax
movl %eax, (%r11)
movq 0x20(%rsp), %rax
movl %eax, 0x4(%r11)
movl %ecx, 0x8(%r11)
movq %rbp, %rdi
vzeroupper
callq 0x1ab763
movq 0x38(%rsp), %rdi
callq 0x1ab763
movq %r12, %rdi
callq 0x1ab763
movq %r15, %rdi
callq 0x1ab763
movq %r14, %rdi
callq 0x1ab763
movq 0x18(%rsp), %rax
jmp 0x4f873a
movq 0x2429b2(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xce9bb(%rip), %rsi     # 0x5c6feb
leaq 0xbd311(%rip), %rdx     # 0x5b5948
leaq 0xa4e9f(%rip), %rcx     # 0x59d4dd
jmp 0x4f8731
movq 0x24298e(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xce997(%rip), %rsi     # 0x5c6feb
leaq 0xbd2ed(%rip), %rdx     # 0x5b5948
leaq 0xcf44e(%rip), %rcx     # 0x5c7ab0
jmp 0x4f8731
movq 0x24296a(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xce973(%rip), %rsi     # 0x5c6feb
leaq 0xbd2c9(%rip), %rdx     # 0x5b5948
leaq 0xcf2b3(%rip), %rcx     # 0x5c7939
jmp 0x4f8731
movq 0x242946(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xcf065(%rip), %rsi     # 0x5c7701
leaq 0xbd2a5(%rip), %rdx     # 0x5b5948
leaq 0xcf29f(%rip), %rcx     # 0x5c7949
jmp 0x4f8731
movq 0x242922(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xce92b(%rip), %rsi     # 0x5c6feb
leaq 0xbd281(%rip), %rdx     # 0x5b5948
leaq 0xcf030(%rip), %rcx     # 0x5c76fe
jmp 0x4f8731
movq 0x242901(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xcf020(%rip), %rsi     # 0x5c7701
leaq 0xbd260(%rip), %rdx     # 0x5b5948
leaq 0xcf026(%rip), %rcx     # 0x5c7715
jmp 0x4f8731
movq 0x2428e0(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xcf019(%rip), %rsi     # 0x5c771b
leaq 0xbd23f(%rip), %rdx     # 0x5b5948
leaq 0xcf020(%rip), %rcx     # 0x5c7730
jmp 0x4f8731
movq 0x2428bf(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0xceff8(%rip), %rsi     # 0x5c771b
leaq 0xbd21e(%rip), %rdx     # 0x5b5948
leaq 0xcf004(%rip), %rcx     # 0x5c7735
xorl %eax, %eax
callq 0x19e180
xorl %eax, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq