// File: /workspace/github_c_makefile_star2_O3/nh13[P]ksw/src/parasail/src/sg_stats.c
// Function: parasail_sg_flags_stats_rowcol
parasail_result_t* FNAME(
        const char * const restrict _s1, const int _s1Len,
        const char * const restrict _s2, const int s2Len,
        const int open, const int gap, const parasail_matrix_t *matrix,
        int s1_beg, int s1_end, int s2_beg, int s2_end)
{
    /* declare local variables */
    parasail_result_t *result = NULL;
    int * restrict s1 = NULL;
    int * restrict s2 = NULL;
    int * restrict H = NULL;
    int * restrict HM = NULL;
    int * restrict HS = NULL;
    int * restrict HL = NULL;
    int * restrict F = NULL;
    int * restrict FM = NULL;
    int * restrict FS = NULL;
    int * restrict FL = NULL;
    int i = 0;
    int j = 0;
    int s1Len = 0;
    int score = 0;
    int matches = 0;
    int similar = 0;
    int length = 0;
    int end_query = 0;
    int end_ref = 0;

    /* validate inputs */
    PARASAIL_CHECK_NULL(_s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);
    PARASAIL_CHECK_NULL(matrix);
    if (matrix->type == PARASAIL_MATRIX_TYPE_PSSM) {
        PARASAIL_CHECK_NULL_PSSM_STATS(_s1);
    }
    else {
        PARASAIL_CHECK_NULL(_s1);
        PARASAIL_CHECK_GT0(_s1Len);
    }

    /* initialize stack variables */
    i = 0;
    j = 0;
    s1Len = matrix->type == PARASAIL_MATRIX_TYPE_SQUARE ? _s1Len : matrix->length;
    score = NEG_INF_32;
    matches = NEG_INF_32;
    similar = NEG_INF_32;
    length = NEG_INF_32;
    end_query = s1Len-1;
    end_ref = s2Len-1;

    /* initialize result */
#ifdef PARASAIL_TABLE
    result = parasail_result_new_table3(s1Len, s2Len);
#else
#ifdef PARASAIL_ROWCOL
    result = parasail_result_new_rowcol3(s1Len, s2Len);
#else
    result = parasail_result_new_stats();
#endif
#endif
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SG | PARASAIL_FLAG_NOVEC
        | PARASAIL_FLAG_STATS
        | PARASAIL_FLAG_BITS_INT | PARASAIL_FLAG_LANES_1;
    result->flag |= s1_beg ? PARASAIL_FLAG_SG_S1_BEG : 0;
    result->flag |= s1_end ? PARASAIL_FLAG_SG_S1_END : 0;
    result->flag |= s2_beg ? PARASAIL_FLAG_SG_S2_BEG : 0;
    result->flag |= s2_end ? PARASAIL_FLAG_SG_S2_END : 0;
#ifdef PARASAIL_TABLE
    result->flag |= PARASAIL_FLAG_TABLE;
#endif
#ifdef PARASAIL_ROWCOL
    result->flag |= PARASAIL_FLAG_ROWCOL;
#endif

    /* initialize heap variables */
    s1 = parasail_memalign_int(16, s1Len);
    s2 = parasail_memalign_int(16, s2Len);
    H = parasail_memalign_int(16, s2Len+1);
    HM = parasail_memalign_int(16, s2Len+1);
    HS = parasail_memalign_int(16, s2Len+1);
    HL = parasail_memalign_int(16, s2Len+1);
    F = parasail_memalign_int(16, s2Len+1);
    FM = parasail_memalign_int(16, s2Len+1);
    FS = parasail_memalign_int(16, s2Len+1);
    FL = parasail_memalign_int(16, s2Len+1);

    /* validate heap variables */
    if (!s1) return NULL;
    if (!s2) return NULL;
    if (!H) return NULL;
    if (!HM) return NULL;
    if (!HS) return NULL;
    if (!HL) return NULL;
    if (!F) return NULL;
    if (!FM) return NULL;
    if (!FS) return NULL;
    if (!FL) return NULL;

    for (i=0; i<s1Len; ++i) {
        s1[i] = matrix->mapper[(unsigned char)_s1[i]];
    }
    for (j=0; j<s2Len; ++j) {
        s2[j] = matrix->mapper[(unsigned char)_s2[j]];
    }

    /* upper left corner */
    H[0] = 0;
    HM[0] = 0;
    HS[0] = 0;
    HL[0] = 0;
    F[0] = NEG_INF_32;
    FM[0] = 0;
    FS[0] = 0;
    FL[0] = 0;
    
    /* first row */
    if (s2_beg) {
        for (j=1; j<=s2Len; ++j) {
            H[j] = 0;
            HM[j] = 0;
            HS[j] = 0;
            HL[j] = 0;
            F[j] = NEG_INF_32;
            FM[j] = 0;
            FS[j] = 0;
            FL[j] = 0;
        }
    }
    else {
        for (j=1; j<=s2Len; ++j) {
            H[j] = -open -(j-1)*gap;
            HM[j] = 0;
            HS[j] = 0;
            HL[j] = 0;
            F[j] = NEG_INF_32;
            FM[j] = 0;
            FS[j] = 0;
            FL[j] = 0;
        }
    }


    /* iter over first sequence */
    for (i=1; i<=s1Len; ++i) {
        const int * const restrict matrow =
            matrix->type == PARASAIL_MATRIX_TYPE_SQUARE ?
            &matrix->matrix[matrix->size*s1[i-1]] :
            &matrix->matrix[matrix->size*(i-1)];
        /* init first column */
        int NH = H[0];
        int NHM = HM[0];
        int NHS = HS[0];
        int NHL = HL[0];
        int WH = s1_beg ? 0 : (-open - (i-1)*gap);
        int WHM = 0;
        int WHS = 0;
        int WHL = 0;
        int E = NEG_INF_32;
        int EM = 0;
        int ES = 0;
        int EL = 0;
        H[0] = WH;
        HM[0] = WHM;
        HS[0] = WHS;
        HL[0] = WHL;
        for (j=1; j<=s2Len; ++j) {
            int H_dag;
            int E_opn;
            int E_ext;
            int F_opn;
            int F_ext;
            int NWH = NH;
            int NWM = NHM;
            int NWS = NHS;
            int NWL = NHL;
            NH = H[j];
            NHM = HM[j];
            NHS = HS[j];
            NHL = HL[j];
            F_opn = NH - open;
            F_ext = F[j] - gap;
            F[j] = MAX(F_opn, F_ext);
            E_opn = WH - open;
            E_ext = E - gap;
            E = MAX(E_opn, E_ext);
            H_dag = NWH + matrow[s2[j-1]];
            WH = MAX(H_dag, E);
            WH = MAX(WH, F[j]);
            if (F_opn > F_ext) {
                FM[j] = NHM;
                FS[j] = NHS;
                FL[j] = NHL;
            }
            FL[j] += 1;
            if (E_opn > E_ext) {
                EM = WHM;
                ES = WHS;
                EL = WHL;
            }
            EL += 1;
            if (WH == H_dag) {
                WHM  = NWM + (s1[i-1] == s2[j-1]);
                WHS  = NWS + (matrow[s2[j-1]] > 0);
                WHL  = NWL + 1;
            }
            else if (WH == F[j]) {
                WHM  = FM[j];
                WHS  = FS[j];
                WHL  = FL[j];
            }
            else {
                WHM  = EM;
                WHS  = ES;
                WHL  = EL;
            }
            H[j] = WH;
            HM[j] = WHM;
            HS[j] = WHS;
            HL[j] = WHL;
#ifdef PARASAIL_TABLE
            result->stats->tables->score_table[1LL*(i-1)*s2Len + (j-1)] = WH;
            result->stats->tables->matches_table[1LL*(i-1)*s2Len + (j-1)] = WHM;
            result->stats->tables->similar_table[1LL*(i-1)*s2Len + (j-1)] = WHS;
            result->stats->tables->length_table[1LL*(i-1)*s2Len + (j-1)] = WHL;
#endif
        }
        if (s1_end && WH > score) {
            score = WH;
            matches = WHM;
            similar = WHS;
            length = WHL;
            end_query = i-1;
            end_ref = s2Len-1;
        }
#ifdef PARASAIL_ROWCOL
        result->stats->rowcols->score_col[i-1] = WH;
        result->stats->rowcols->matches_col[i-1] = WHM;
        result->stats->rowcols->similar_col[i-1] = WHS;
        result->stats->rowcols->length_col[i-1] = WHL;
#endif
    }
    if (s1_end && s2_end) {
        for (j=1; j<=s2Len; ++j) {
            i = s1Len;
            if (H[j] > score) {
                score = H[j];
                matches = HM[j];
                similar = HS[j];
                length = HL[j];
                end_query = i-1;
                end_ref = j-1;
            }
            else if (score == H[j] && j-1 < end_ref) {
                matches = HM[j];
                similar = HS[j];
                length = HL[j];
                end_query = i-1;
                end_ref = j-1;
            }
        }
    }
    else if (s2_end) {
        for (j=1; j<=s2Len; ++j) {
            i = s1Len;
            if (H[j] > score) {
                score = H[j];
                matches = HM[j];
                similar = HS[j];
                length = HL[j];
                end_query = i-1;
                end_ref = j-1;
            }
        }
    }
    if (!s1_end && !s2_end) {
        score = H[s2Len];
        matches = HM[s2Len];
        similar = HS[s2Len];
        length = HL[s2Len];
        end_query = s1Len-1;
        end_ref = s2Len-1;
    }
#ifdef PARASAIL_ROWCOL
    for (j=1; j<=s2Len; ++j) {
        result->stats->rowcols->score_row[j-1] = H[j];
        result->stats->rowcols->matches_row[j-1] = HM[j];
        result->stats->rowcols->similar_row[j-1] = HS[j];
        result->stats->rowcols->length_row[j-1] = HL[j];
    }
#endif

    result->score = score;
    result->end_query = end_query;
    result->end_ref = end_ref;
    result->stats->matches = matches;
    result->stats->similar = similar;
    result->stats->length = length;

    parasail_free(FL);
    parasail_free(FS);
    parasail_free(FM);
    parasail_free(F);
    parasail_free(HL);
    parasail_free(HS);
    parasail_free(HM);
    parasail_free(H);
    parasail_free(s2);
    parasail_free(s1);

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movl %r9d, 0x1c(%rsp)
movl %r8d, 0x18(%rsp)
testq %rdx, %rdx
je 0x2a8e81
testl %ecx, %ecx
jle 0x2a8e8b
cmpl $0x0, 0x18(%rsp)
js 0x2a8e95
cmpl $0x0, 0x1c(%rsp)
js 0x2a8e9f
movl %esi, %r12d
movq 0x120(%rsp), %rsi
testq %rsi, %rsi
je 0x2a8ea9
movl 0x30(%rsi), %eax
cmpl $0x1, %eax
jne 0x2a865d
testq %rdi, %rdi
jne 0x2a8673
callq 0x1a18ac
jmp 0x2a8fee
testq %rdi, %rdi
je 0x2a8fe2
testl %r12d, %r12d
jle 0x2a8fe9
testl %eax, %eax
je 0x2a8677
movl 0x34(%rsi), %r12d
movq %rdi, 0x88(%rsp)
movq %rdx, 0x68(%rsp)
movl %r12d, %edi
movl %ecx, %esi
movq %rcx, %r14
callq 0x20ae7d
testq %rax, %rax
je 0x2a8fee
movq %rax, %rbx
xorl %eax, %eax
cmpl $0x0, 0x128(%rsp)
setne %al
xorl %ecx, %ecx
cmpl $0x0, 0x130(%rsp)
setne %cl
shll $0x4, %ecx
xorl %edx, %edx
cmpl $0x0, 0x138(%rsp)
setne %dl
shll $0xe, %edx
xorl %esi, %esi
cmpl $0x0, 0x140(%rsp)
setne %sil
shll $0xf, %esi
leal (%rcx,%rax,8), %eax
orl %edx, %eax
orl %esi, %eax
orl 0xc(%rbx), %eax
orl $0x1450102, %eax        # imm = 0x1450102
movl %eax, 0xc(%rbx)
movslq %r12d, %rsi
movl $0x10, %edi
callq 0x20a617
movq %rax, %r15
movl %r14d, %esi
movl $0x10, %edi
movq %rsi, 0xa0(%rsp)
callq 0x20a617
movq %rax, 0x38(%rsp)
movq %r14, 0x30(%rsp)
movq %r12, 0x50(%rsp)
leal 0x1(%r14), %r12d
movl $0x10, %edi
movq %r12, %rsi
callq 0x20a617
movq %rax, %r13
movl $0x10, %edi
movq %r12, %rsi
callq 0x20a617
movq %rax, 0x58(%rsp)
movl $0x10, %edi
movq %r12, %rsi
callq 0x20a617
movq %rax, 0xc0(%rsp)
movl $0x10, %edi
movq %r12, %rsi
callq 0x20a617
movq %rax, 0x10(%rsp)
movl $0x10, %edi
movq %r12, %rsi
callq 0x20a617
movq %rax, 0x60(%rsp)
movl $0x10, %edi
movq %r12, %rsi
callq 0x20a617
movq %rax, %r14
movl $0x10, %edi
movq %r12, %rsi
callq 0x20a617
movq %rax, %rbp
movl $0x10, %edi
movq %r12, 0xb0(%rsp)
movq %r12, %rsi
callq 0x20a617
movq %r14, %r9
movq 0x60(%rsp), %r14
movq 0xc0(%rsp), %r11
movq 0x38(%rsp), %rcx
movq %r15, %xmm0
movq %rcx, %xmm1
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movq %r13, %xmm1
movq 0x58(%rsp), %xmm2
punpcklqdq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0]
movq %r11, %xmm2
movq 0x10(%rsp), %xmm3
punpcklqdq %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0]
movq %r14, %xmm3
movq %r9, %xmm4
punpcklqdq %xmm4, %xmm3    # xmm3 = xmm3[0],xmm4[0]
pxor %xmm4, %xmm4
testq %rbp, %rbp
sete %cl
movq %rax, 0x28(%rsp)
testq %rax, %rax
sete %al
pcmpeqd %xmm4, %xmm0
pshufd $0xb1, %xmm0, %xmm5     # xmm5 = xmm0[1,0,3,2]
pand %xmm0, %xmm5
pcmpeqd %xmm4, %xmm1
pshufd $0xb1, %xmm1, %xmm0     # xmm0 = xmm1[1,0,3,2]
pand %xmm1, %xmm0
packssdw %xmm0, %xmm5
pcmpeqd %xmm4, %xmm2
pshufd $0xb1, %xmm2, %xmm0     # xmm0 = xmm2[1,0,3,2]
pand %xmm2, %xmm0
pcmpeqd %xmm4, %xmm3
pshufd $0xb1, %xmm3, %xmm1     # xmm1 = xmm3[1,0,3,2]
pand %xmm3, %xmm1
packssdw %xmm1, %xmm0
packssdw %xmm0, %xmm5
pmovmskb %xmm5, %edx
testl $0xaaaa, %edx           # imm = 0xAAAA
setne %dl
orb %cl, %al
orb %dl, %al
jne 0x2a8fee
movq 0x50(%rsp), %rdi
testl %edi, %edi
movq 0x120(%rsp), %r8
movq 0x88(%rsp), %r10
jle 0x2a88a5
movq 0x10(%r8), %rax
movl %edi, %ecx
xorl %edx, %edx
movzbl (%r10,%rdx), %esi
movl (%rax,%rsi,4), %esi
movl %esi, (%r15,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x2a8891
leal -0x1(%rdi), %eax
movl %eax, 0x8(%rsp)
movq 0x30(%rsp), %rax
decl %eax
movq %rax, 0x30(%rsp)
movq 0x10(%r8), %rax
xorl %ecx, %ecx
movq 0x38(%rsp), %rsi
movq 0x58(%rsp), %r12
movq 0xb0(%rsp), %r8
movq 0xa0(%rsp), %rdi
movq 0x68(%rsp), %r10
movzbl (%r10,%rcx), %edx
movl (%rax,%rdx,4), %edx
movl %edx, (%rsi,%rcx,4)
incq %rcx
cmpq %rcx, %rdi
jne 0x2a88dd
xorl %eax, %eax
movl %eax, (%r13)
movl %eax, (%r12)
movl %eax, (%r11)
movq 0x10(%rsp), %rcx
movl %eax, (%rcx)
movl $0xc0000000, (%r14)     # imm = 0xC0000000
movl %eax, (%r9)
movl %eax, (%rbp)
movq 0x28(%rsp), %rcx
movl %eax, (%rcx)
cmpl $0x0, 0x138(%rsp)
je 0x2a8965
leaq -0x1(%r8), %rcx
xorl %edx, %edx
movq 0x10(%rsp), %rsi
movq 0x28(%rsp), %rdi
movl %eax, 0x4(%r13,%rdx,4)
movl %eax, 0x4(%r12,%rdx,4)
movl %eax, 0x4(%r11,%rdx,4)
movl %eax, 0x4(%rsi,%rdx,4)
movl $0xc0000000, 0x4(%r14,%rdx,4) # imm = 0xC0000000
movl %eax, 0x4(%r9,%rdx,4)
movl %eax, 0x4(%rbp,%rdx,4)
movl %eax, 0x4(%rdi,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x2a8932
jmp 0x2a89b1
movl 0x18(%rsp), %ecx
negl %ecx
leaq -0x1(%r8), %rdx
xorl %esi, %esi
movq 0x10(%rsp), %rdi
movq 0x28(%rsp), %r10
movl %ecx, 0x4(%r13,%rsi,4)
movl %eax, 0x4(%r12,%rsi,4)
movl %eax, 0x4(%r11,%rsi,4)
movl %eax, 0x4(%rdi,%rsi,4)
movl $0xc0000000, 0x4(%r14,%rsi,4) # imm = 0xC0000000
movl %eax, 0x4(%r9,%rsi,4)
movl %eax, 0x4(%rbp,%rsi,4)
movl %eax, 0x4(%r10,%rsi,4)
subl 0x1c(%rsp), %ecx
incq %rsi
cmpq %rsi, %rdx
jne 0x2a897b
movq 0x50(%rsp), %rax
testl %eax, %eax
movq %r9, 0x80(%rsp)
movq %rbp, 0x78(%rsp)
jle 0x2a8d72
incl %eax
movq %rax, 0x50(%rsp)
movq 0x120(%rsp), %rax
movq 0x8(%rax), %rcx
movq %rcx, 0xd0(%rsp)
leaq -0x1(%r8), %rcx
movq %rcx, 0xd8(%rsp)
movl $0xc0000000, 0x4(%rsp)  # imm = 0xC0000000
movl $0x1, %edx
movl 0x8(%rsp), %ecx
movq %rcx, 0x20(%rsp)
movl $0xc0000000, (%rsp)     # imm = 0xC0000000
movl $0xc0000000, 0xc(%rsp)  # imm = 0xC0000000
movl $0xc0000000, %esi       # imm = 0xC0000000
movq %rbx, 0xa8(%rsp)
movq %r15, 0xb8(%rsp)
movq %r13, 0xe0(%rsp)
cmpl $0x0, 0x30(%rax)
movslq 0x18(%rax), %rcx
movl %esi, 0x40(%rsp)
je 0x2a8a48
leaq -0x1(%rdx), %rax
jmp 0x2a8a4d
movslq -0x4(%r15,%rdx,4), %rax
imulq %rcx, %rax
movl $0x1, %r9d
movq %rdx, 0x70(%rsp)
subl %edx, %r9d
imull 0x1c(%rsp), %r9d
subl 0x18(%rsp), %r9d
xorl %esi, %esi
cmpl $0x0, 0x128(%rsp)
movq 0xd0(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0xc8(%rsp)
movl (%r13), %eax
movl (%r12), %r15d
movl (%r11), %edi
cmovnel %esi, %r9d
movq 0x10(%rsp), %rcx
movl (%rcx), %r14d
movl %r9d, (%r13)
movl %esi, (%r12)
movl %esi, (%r11)
movl %esi, (%rcx)
movl $0xc0000000, 0x68(%rsp) # imm = 0xC0000000
xorl %ebx, %ebx
movl $0x0, 0x48(%rsp)
movl $0x0, 0x44(%rsp)
xorl %ebp, %ebp
xorl %edx, %edx
xorl %r10d, %r10d
movl %ebx, 0x9c(%rsp)
movl %edx, 0x4c(%rsp)
movl %ebp, %edx
movl %eax, %ebp
movl %r15d, 0x98(%rsp)
movl %edi, 0x94(%rsp)
movl %r14d, 0x90(%rsp)
movl 0x4(%r13,%rsi,4), %r13d
movl 0x4(%r12,%rsi,4), %r8d
movl 0x4(%r11,%rsi,4), %edi
movl %r13d, 0x88(%rsp)
movl 0x18(%rsp), %eax
subl %eax, %r13d
movq 0x60(%rsp), %r11
movl 0x4(%r11,%rsi,4), %ebx
movl 0x1c(%rsp), %r15d
subl %r15d, %ebx
cmpl %ebx, %r13d
movl %ebx, %r12d
cmovgl %r13d, %r12d
movl 0x4(%rcx,%rsi,4), %r14d
movl %r12d, 0x4(%r11,%rsi,4)
movl %r9d, %ecx
subl %eax, %ecx
movl 0x68(%rsp), %r11d
subl %r15d, %r11d
movl %ecx, %r15d
cmpl %r11d, %ecx
jg 0x2a8b4f
movl %r11d, %r15d
movq 0x38(%rsp), %r9
movslq (%r9,%rsi,4), %r9
movq 0xc8(%rsp), %rax
addl (%rax,%r9,4), %ebp
cmpl %r15d, %ebp
movl %r15d, 0x68(%rsp)
movl %r15d, %r9d
cmovgl %ebp, %r9d
cmpl %r12d, %r9d
jg 0x2a8b7b
movl %r12d, %r9d
cmpl %ebx, %r13d
movl %edx, %eax
movl %r10d, %edx
movl %r8d, %r15d
jle 0x2a8bad
movq 0x80(%rsp), %rbx
movl %r15d, 0x4(%rbx,%rsi,4)
movq 0x78(%rsp), %rbx
movl %edi, 0x4(%rbx,%rsi,4)
movl %r14d, %r13d
movq 0x58(%rsp), %r12
movq 0x28(%rsp), %rbx
jmp 0x2a8bbc
movq 0x28(%rsp), %rbx
movl 0x4(%rbx,%rsi,4), %r13d
movq 0x58(%rsp), %r12
movl 0x4c(%rsp), %r10d
incl %r13d
movl %r13d, 0x4(%rbx,%rsi,4)
cmpl %r11d, %ecx
jg 0x2a8bde
movl 0x44(%rsp), %edx
movl 0x48(%rsp), %r10d
movl 0x9c(%rsp), %eax
movl %eax, %ebx
incl %ebx
cmpl %ebp, %r9d
movq 0xc0(%rsp), %r11
movl %r10d, 0x48(%rsp)
movl %edx, 0x44(%rsp)
jne 0x2a8c4d
movq 0x38(%rsp), %rax
movslq (%rax,%rsi,4), %rax
xorl %ecx, %ecx
movq 0xb8(%rsp), %rdx
movq 0x70(%rsp), %r10
cmpl %eax, -0x4(%rdx,%r10,4)
sete %cl
movl 0x98(%rsp), %r10d
addl %ecx, %r10d
xorl %ecx, %ecx
movq 0xc8(%rsp), %rdx
cmpl $0x0, (%rdx,%rax,4)
setg %cl
movl 0x94(%rsp), %edx
addl %ecx, %edx
movl 0x90(%rsp), %ebp
incl %ebp
movq 0x10(%rsp), %rcx
jmp 0x2a8c81
movl %r10d, %ecx
movl %edx, %r10d
movl %ecx, %edx
movl %ebx, %ebp
movq 0x60(%rsp), %rcx
cmpl 0x4(%rcx,%rsi,4), %r9d
movq 0x10(%rsp), %rcx
jne 0x2a8c81
movq 0x80(%rsp), %rax
movl 0x4(%rax,%rsi,4), %r10d
movq 0x78(%rsp), %rax
movl 0x4(%rax,%rsi,4), %edx
movl %r13d, %ebp
movq 0xe0(%rsp), %r13
movl %r9d, 0x4(%r13,%rsi,4)
movl %r10d, 0x4(%r12,%rsi,4)
movl %edx, 0x4(%r11,%rsi,4)
movl %ebp, 0x4(%rcx,%rsi,4)
incq %rsi
cmpq %rsi, 0xd8(%rsp)
movl 0x88(%rsp), %eax
jne 0x2a8acd
cmpl $0x0, 0x130(%rsp)
movq 0xb0(%rsp), %r8
movl 0x140(%rsp), %edi
je 0x2a8cfc
movl 0x40(%rsp), %esi
cmpl %esi, %r9d
movq 0xa8(%rsp), %rbx
jle 0x2a8d08
movq 0x70(%rsp), %rax
decq %rax
movq %rax, 0x20(%rsp)
movl %r9d, %esi
movl %r10d, 0xc(%rsp)
movl %edx, (%rsp)
movl %ebp, 0x4(%rsp)
jmp 0x2a8d08
movq 0xa8(%rsp), %rbx
movl 0x40(%rsp), %esi
movq 0x10(%rbx), %rcx
movq 0x10(%rcx), %rcx
movq 0x20(%rcx), %rcx
movq 0x70(%rsp), %rax
movl %r9d, -0x4(%rcx,%rax,4)
movq 0x10(%rbx), %rcx
movq 0x10(%rcx), %rcx
movq 0x28(%rcx), %rcx
movl %r10d, -0x4(%rcx,%rax,4)
movq 0x10(%rbx), %rcx
movq 0x10(%rcx), %rcx
movq 0x30(%rcx), %rcx
movl %edx, -0x4(%rcx,%rax,4)
movq %rax, %rdx
movq 0x10(%rbx), %rcx
movq 0x10(%rcx), %rcx
movq 0x38(%rcx), %rcx
movl %ebp, -0x4(%rcx,%rax,4)
incq %rdx
cmpq 0x50(%rsp), %rdx
movq 0xb8(%rsp), %r15
movq 0x120(%rsp), %rax
jne 0x2a8a34
jmp 0x2a8d9e
movl $0xc0000000, %esi       # imm = 0xC0000000
movl $0xc0000000, 0xc(%rsp)  # imm = 0xC0000000
movl $0xc0000000, (%rsp)     # imm = 0xC0000000
movl $0xc0000000, 0x4(%rsp)  # imm = 0xC0000000
movl 0x8(%rsp), %eax
movq %rax, 0x20(%rsp)
movl 0x140(%rsp), %edi
testl %edi, %edi
sete %al
cmpl $0x0, 0x130(%rsp)
sete %cl
orb %al, %cl
jne 0x2a8e2f
movl $0x1, %eax
movq 0x30(%rsp), %rcx
movl (%r13,%rax,4), %r9d
cmpl %esi, %r9d
jle 0x2a8de6
movl (%r12,%rax,4), %ecx
movl %ecx, 0xc(%rsp)
movl (%r11,%rax,4), %ecx
movl %ecx, (%rsp)
movq 0x10(%rsp), %rcx
movl (%rcx,%rax,4), %ecx
movl %ecx, 0x4(%rsp)
leal -0x1(%rax), %ecx
jmp 0x2a8e11
jne 0x2a8e1c
movslq %ecx, %rdx
cmpq %rdx, %rax
jg 0x2a8e1c
leal -0x1(%rax), %ecx
movl (%r12,%rax,4), %edx
movl %edx, 0xc(%rsp)
movl (%r11,%rax,4), %edx
movl %edx, (%rsp)
movq 0x10(%rsp), %rdx
movl (%rdx,%rax,4), %edx
movl %edx, 0x4(%rsp)
movl %esi, %r9d
movl 0x8(%rsp), %edx
movq %rdx, 0x20(%rsp)
jmp 0x2a8e1f
movl %esi, %r9d
incq %rax
movl %r9d, %esi
cmpq %rax, %r8
jne 0x2a8dbc
jmp 0x2a8eb6
testl %edi, %edi
movq 0x30(%rsp), %rcx
je 0x2a8eb3
leaq -0x1(%r8), %rax
xorl %edx, %edx
movl %esi, %r9d
movl 0x4(%r13,%rdx,4), %esi
cmpl %r9d, %esi
jle 0x2a8e77
movl 0x4(%r12,%rdx,4), %ecx
movl %ecx, 0xc(%rsp)
movl 0x4(%r11,%rdx,4), %ecx
movl %ecx, (%rsp)
movq 0x10(%rsp), %rcx
movl 0x4(%rcx,%rdx,4), %ecx
movl %ecx, 0x4(%rsp)
movl %esi, %r9d
movl 0x8(%rsp), %ecx
movq %rcx, 0x20(%rsp)
movl %edx, %ecx
incq %rdx
cmpq %rdx, %rax
jne 0x2a8e41
jmp 0x2a8eb6
callq 0x1a1963
jmp 0x2a8fee
callq 0x1a193d
jmp 0x2a8fee
callq 0x1a1917
jmp 0x2a8fee
callq 0x1a18f1
jmp 0x2a8fee
callq 0x1a18cb
jmp 0x2a8fee
movl %esi, %r9d
orl 0x130(%rsp), %edi
movl 0xc(%rsp), %edi
jne 0x2a8ef7
movq 0xa0(%rsp), %rcx
movl (%r13,%rcx,4), %r9d
movl (%r12,%rcx,4), %edi
movl (%r11,%rcx,4), %eax
movl %eax, (%rsp)
movq 0x10(%rsp), %rax
movl (%rax,%rcx,4), %eax
movl %eax, 0x4(%rsp)
movl 0x8(%rsp), %eax
movq %rax, 0x20(%rsp)
movq 0x30(%rsp), %rax
movl %eax, %ecx
decq %r8
xorl %eax, %eax
movq 0x10(%rsp), %rbp
movl 0x4(%r13,%rax,4), %edx
movq 0x10(%rbx), %rsi
movq 0x10(%rsi), %rsi
movq (%rsi), %rsi
movl %edx, (%rsi,%rax,4)
movl 0x4(%r12,%rax,4), %edx
movq 0x10(%rbx), %rsi
movq 0x10(%rsi), %rsi
movq 0x8(%rsi), %rsi
movl %edx, (%rsi,%rax,4)
movl 0x4(%r11,%rax,4), %edx
movq 0x10(%rbx), %rsi
movq 0x10(%rsi), %rsi
movq 0x10(%rsi), %rsi
movl %edx, (%rsi,%rax,4)
movl 0x4(%rbp,%rax,4), %edx
movq 0x10(%rbx), %rsi
movq 0x10(%rsi), %rsi
movq 0x18(%rsi), %rsi
movl %edx, (%rsi,%rax,4)
incq %rax
cmpq %rax, %r8
jne 0x2a8f01
movl %r9d, (%rbx)
movq 0x20(%rsp), %rax
movl %eax, 0x4(%rbx)
movl %ecx, 0x8(%rbx)
movq 0x10(%rbx), %rax
movl %edi, (%rax)
movq 0x10(%rbx), %rax
movl (%rsp), %ecx
movl %ecx, 0x4(%rax)
movq 0x10(%rbx), %rax
movl 0x4(%rsp), %ecx
movl %ecx, 0x8(%rax)
movq 0x28(%rsp), %rdi
movq %r11, %r14
callq 0x20a60d
movq 0x78(%rsp), %rdi
callq 0x20a60d
movq 0x80(%rsp), %rdi
callq 0x20a60d
movq 0x60(%rsp), %rdi
callq 0x20a60d
movq %rbp, %rdi
callq 0x20a60d
movq %r14, %rdi
callq 0x20a60d
movq %r12, %rdi
callq 0x20a60d
movq %r13, %rdi
callq 0x20a60d
movq 0x38(%rsp), %rdi
callq 0x20a60d
movq %r15, %rdi
callq 0x20a60d
jmp 0x2a8ff0
callq 0x1a1886
jmp 0x2a8fee
callq 0x1a1860
xorl %ebx, %ebx
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq