// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_stats.c
// Function: parasail_nw_stats_rowcol
parasail_result_t* ENAME(
        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)
{
    /* 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;

    /* 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 */
    s1Len = matrix->type == PARASAIL_MATRIX_TYPE_SQUARE ? _s1Len : matrix->length;

    /* 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_NW | PARASAIL_FLAG_NOVEC
        | PARASAIL_FLAG_STATS
        | PARASAIL_FLAG_BITS_INT | PARASAIL_FLAG_LANES_1;
#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 */
    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 = -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 H_new;
            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]];
            H_new = MAX(H_dag, E);
            H_new = MAX(H_new, 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;
            WH = H_new;
            if (H_new == H_dag) {
                WHM  = NWM + (s1[i-1] == s2[j-1]);
                WHS  = NWS + (matrow[s2[j-1]] > 0);
                WHL  = NWL + 1;
            }
            else if (H_new == 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
        }
#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
    }
#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 = H[s2Len];
    result->end_query = s1Len-1;
    result->end_ref = s2Len-1;
    result->stats->matches = HM[s2Len];
    result->stats->similar = HS[s2Len];
    result->stats->length = HL[s2Len];

    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
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movl %r8d, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movq $0x0, -0x70(%rbp)
movq $0x0, -0x78(%rbp)
movq $0x0, -0x80(%rbp)
movq $0x0, -0x88(%rbp)
movl $0x0, -0x8c(%rbp)
movl $0x0, -0x90(%rbp)
movl $0x0, -0x94(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2b0768
movq 0xb7689c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3b8a5(%rip), %rsi    # 0xcebfeb
leaq 0xa01ed9(%rip), %rdx    # 0xcb2626
leaq 0xa3bfa9(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b076a
jmp 0x2b076c
cmpl $0x0, -0x24(%rbp)
jg 0x2b07a5
movq 0xb7685f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3bf7e(%rip), %rsi    # 0xcec701
leaq 0xa01e9c(%rip), %rdx    # 0xcb2626
leaq 0xa3bf84(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b07a7
jmp 0x2b07a9
cmpl $0x0, -0x28(%rbp)
jge 0x2b07e2
movq 0xb76822(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3bf5b(%rip), %rsi    # 0xcec71b
leaq 0xa01e5f(%rip), %rdx    # 0xcb2626
leaq 0xa3bf62(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b07e4
jmp 0x2b07e6
cmpl $0x0, -0x2c(%rbp)
jge 0x2b081f
movq 0xb767e5(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3bf1e(%rip), %rsi    # 0xcec71b
leaq 0xa01e22(%rip), %rdx    # 0xcb2626
leaq 0xa3bf2a(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b0821
jmp 0x2b0823
cmpq $0x0, 0x10(%rbp)
jne 0x2b085d
movq 0xb767a7(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3b7b0(%rip), %rsi    # 0xcebfeb
leaq 0xa01de4(%rip), %rdx    # 0xcb2626
leaq 0xa3c0dc(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b085f
movq 0x10(%rbp), %rax
cmpl $0x1, 0x30(%rax)
jne 0x2b08a2
jmp 0x2b086b
cmpq $0x0, -0x10(%rbp)
jne 0x2b089e
movq 0xb7675f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3beea(%rip), %rsi    # 0xcec76d
leaq 0xa01d9c(%rip), %rdx    # 0xcb2626
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b08a0
jmp 0x2b091f
jmp 0x2b08a4
cmpq $0x0, -0x10(%rbp)
jne 0x2b08de
movq 0xb76726(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3b72f(%rip), %rsi    # 0xcebfeb
leaq 0xa01d63(%rip), %rdx    # 0xcb2626
leaq 0xa3be6f(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b08e0
jmp 0x2b08e2
cmpl $0x0, -0x14(%rbp)
jg 0x2b091b
movq 0xb766e9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3be08(%rip), %rsi    # 0xcec701
leaq 0xa01d26(%rip), %rdx    # 0xcb2626
leaq 0xa3be36(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
jmp 0x2b091d
jmp 0x2b091f
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2b0934
movl -0x14(%rbp), %eax
movl %eax, -0xfc(%rbp)
jmp 0x2b0941
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, -0xfc(%rbp)
movl -0xfc(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x94(%rbp), %edi
movl -0x24(%rbp), %esi
callq 0x1c40e0
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x2b0973
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
movq -0x38(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x1410101, %ecx        # imm = 0x1410101
movl %ecx, 0xc(%rax)
movq -0x38(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq -0x94(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x40(%rbp)
movslq -0x24(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x48(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x50(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x58(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x60(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x68(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x70(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x78(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x80(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x88(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0x2b0a89
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x48(%rbp)
jne 0x2b0a9d
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x50(%rbp)
jne 0x2b0ab1
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x58(%rbp)
jne 0x2b0ac5
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x60(%rbp)
jne 0x2b0ad9
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x68(%rbp)
jne 0x2b0aed
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x70(%rbp)
jne 0x2b0b01
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x78(%rbp)
jne 0x2b0b15
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x80(%rbp)
jne 0x2b0b29
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
cmpq $0x0, -0x88(%rbp)
jne 0x2b0b40
movq $0x0, -0x8(%rbp)
jmp 0x2b14cb
movl $0x0, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x94(%rbp), %eax
jge 0x2b0b91
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
movslq -0x8c(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %edx
movq -0x40(%rbp), %rax
movslq -0x8c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x8c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8c(%rbp)
jmp 0x2b0b4a
movl $0x0, -0x90(%rbp)
movl -0x90(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2b0bdf
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x20(%rbp), %rcx
movslq -0x90(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %edx
movq -0x48(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x90(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x90(%rbp)
jmp 0x2b0b9b
movq -0x50(%rbp), %rax
movl $0x0, (%rax)
movq -0x58(%rbp), %rax
movl $0x0, (%rax)
movq -0x60(%rbp), %rax
movl $0x0, (%rax)
movq -0x68(%rbp), %rax
movl $0x0, (%rax)
movq -0x70(%rbp), %rax
movl $0xc0000000, (%rax)     # imm = 0xC0000000
movq -0x78(%rbp), %rax
movl $0x0, (%rax)
movq -0x80(%rbp), %rax
movl $0x0, (%rax)
movq -0x88(%rbp), %rax
movl $0x0, (%rax)
movl $0x1, -0x90(%rbp)
movl -0x90(%rbp), %eax
cmpl -0x24(%rbp), %eax
jg 0x2b0d02
xorl %edx, %edx
subl -0x28(%rbp), %edx
movl -0x90(%rbp), %eax
subl $0x1, %eax
imull -0x2c(%rbp), %eax
subl %eax, %edx
movq -0x50(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x58(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movq -0x60(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movq -0x68(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movq -0x70(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0xc0000000, (%rax,%rcx,4) # imm = 0xC0000000
movq -0x78(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movq -0x80(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movq -0x88(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x90(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x90(%rbp)
jmp 0x2b0c3c
movl $0x1, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x94(%rbp), %eax
jg 0x2b1317
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2b0d5e
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rbp), %rcx
movl 0x18(%rcx), %ecx
movq -0x40(%rbp), %rdx
movl -0x8c(%rbp), %esi
subl $0x1, %esi
movslq %esi, %rsi
imull (%rdx,%rsi,4), %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x108(%rbp)
jmp 0x2b0d8a
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rbp), %rcx
movl 0x18(%rcx), %ecx
movl -0x8c(%rbp), %edx
subl $0x1, %edx
imull %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x50(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xa4(%rbp)
movq -0x58(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xa8(%rbp)
movq -0x60(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xac(%rbp)
movq -0x68(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xb0(%rbp)
xorl %eax, %eax
subl -0x28(%rbp), %eax
movl -0x8c(%rbp), %ecx
subl $0x1, %ecx
imull -0x2c(%rbp), %ecx
subl %ecx, %eax
movl %eax, -0xb4(%rbp)
movl $0x0, -0xb8(%rbp)
movl $0x0, -0xbc(%rbp)
movl $0x0, -0xc0(%rbp)
movl $0xc0000000, -0xc4(%rbp) # imm = 0xC0000000
movl $0x0, -0xc8(%rbp)
movl $0x0, -0xcc(%rbp)
movl $0x0, -0xd0(%rbp)
movl -0xb4(%rbp), %ecx
movq -0x50(%rbp), %rax
movl %ecx, (%rax)
movl -0xb8(%rbp), %ecx
movq -0x58(%rbp), %rax
movl %ecx, (%rax)
movl -0xbc(%rbp), %ecx
movq -0x60(%rbp), %rax
movl %ecx, (%rax)
movl -0xc0(%rbp), %ecx
movq -0x68(%rbp), %rax
movl %ecx, (%rax)
movl $0x1, -0x90(%rbp)
movl -0x90(%rbp), %eax
cmpl -0x24(%rbp), %eax
jg 0x2b126f
movl -0xa4(%rbp), %eax
movl %eax, -0xec(%rbp)
movl -0xa8(%rbp), %eax
movl %eax, -0xf0(%rbp)
movl -0xac(%rbp), %eax
movl %eax, -0xf4(%rbp)
movl -0xb0(%rbp), %eax
movl %eax, -0xf8(%rbp)
movq -0x50(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xa4(%rbp)
movq -0x58(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xa8(%rbp)
movq -0x60(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xac(%rbp)
movq -0x68(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb0(%rbp)
movl -0xa4(%rbp), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xe4(%rbp)
movq -0x70(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xe8(%rbp)
movl -0xe4(%rbp), %eax
cmpl -0xe8(%rbp), %eax
jle 0x2b0f33
movl -0xe4(%rbp), %eax
movl %eax, -0x10c(%rbp)
jmp 0x2b0f3f
movl -0xe8(%rbp), %eax
movl %eax, -0x10c(%rbp)
movl -0x10c(%rbp), %edx
movq -0x70(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb4(%rbp), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xdc(%rbp)
movl -0xc4(%rbp), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xe0(%rbp)
movl -0xdc(%rbp), %eax
cmpl -0xe0(%rbp), %eax
jle 0x2b0f8d
movl -0xdc(%rbp), %eax
movl %eax, -0x110(%rbp)
jmp 0x2b0f99
movl -0xe0(%rbp), %eax
movl %eax, -0x110(%rbp)
movl -0x110(%rbp), %eax
movl %eax, -0xc4(%rbp)
movl -0xec(%rbp), %eax
movq -0xa0(%rbp), %rcx
movq -0x48(%rbp), %rdx
movl -0x90(%rbp), %esi
subl $0x1, %esi
movslq %esi, %rsi
movslq (%rdx,%rsi,4), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -0xd4(%rbp)
movl -0xd4(%rbp), %eax
cmpl -0xc4(%rbp), %eax
jle 0x2b0feb
movl -0xd4(%rbp), %eax
movl %eax, -0x114(%rbp)
jmp 0x2b0ff7
movl -0xc4(%rbp), %eax
movl %eax, -0x114(%rbp)
movl -0x114(%rbp), %eax
movl %eax, -0xd8(%rbp)
movl -0xd8(%rbp), %eax
movq -0x70(%rbp), %rcx
movslq -0x90(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle 0x2b1027
movl -0xd8(%rbp), %eax
movl %eax, -0x118(%rbp)
jmp 0x2b103b
movq -0x70(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x118(%rbp)
movl -0x118(%rbp), %eax
movl %eax, -0xd8(%rbp)
movl -0xe4(%rbp), %eax
cmpl -0xe8(%rbp), %eax
jle 0x2b1094
movl -0xa8(%rbp), %edx
movq -0x78(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xac(%rbp), %edx
movq -0x80(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb0(%rbp), %edx
movq -0x88(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x88(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
movl %edx, (%rax,%rcx,4)
movl -0xdc(%rbp), %eax
cmpl -0xe0(%rbp), %eax
jle 0x2b10dd
movl -0xb8(%rbp), %eax
movl %eax, -0xc8(%rbp)
movl -0xbc(%rbp), %eax
movl %eax, -0xcc(%rbp)
movl -0xc0(%rbp), %eax
movl %eax, -0xd0(%rbp)
movl -0xd0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xd0(%rbp)
movl -0xd8(%rbp), %eax
movl %eax, -0xb4(%rbp)
movl -0xd8(%rbp), %eax
cmpl -0xd4(%rbp), %eax
jne 0x2b118e
movl -0xf0(%rbp), %eax
movq -0x40(%rbp), %rcx
movl -0x8c(%rbp), %edx
subl $0x1, %edx
movslq %edx, %rdx
movl (%rcx,%rdx,4), %ecx
movq -0x48(%rbp), %rdx
movl -0x90(%rbp), %esi
subl $0x1, %esi
movslq %esi, %rsi
cmpl (%rdx,%rsi,4), %ecx
sete %cl
andb $0x1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
movl %eax, -0xb8(%rbp)
movl -0xf4(%rbp), %eax
movq -0xa0(%rbp), %rcx
movq -0x48(%rbp), %rdx
movl -0x90(%rbp), %esi
subl $0x1, %esi
movslq %esi, %rsi
movslq (%rdx,%rsi,4), %rdx
cmpl $0x0, (%rcx,%rdx,4)
setg %cl
andb $0x1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
movl %eax, -0xbc(%rbp)
movl -0xf8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc0(%rbp)
jmp 0x2b120b
movl -0xd8(%rbp), %eax
movq -0x70(%rbp), %rcx
movslq -0x90(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne 0x2b11e5
movq -0x78(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb8(%rbp)
movq -0x80(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xbc(%rbp)
movq -0x88(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc0(%rbp)
jmp 0x2b1209
movl -0xc8(%rbp), %eax
movl %eax, -0xb8(%rbp)
movl -0xcc(%rbp), %eax
movl %eax, -0xbc(%rbp)
movl -0xd0(%rbp), %eax
movl %eax, -0xc0(%rbp)
jmp 0x2b120b
movl -0xb4(%rbp), %edx
movq -0x50(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb8(%rbp), %edx
movq -0x58(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xbc(%rbp), %edx
movq -0x60(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xc0(%rbp), %edx
movq -0x68(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x90(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x90(%rbp)
jmp 0x2b0e62
movl -0xb4(%rbp), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x20(%rax), %rax
movl -0x8c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb8(%rbp), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x28(%rax), %rax
movl -0x8c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xbc(%rbp), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x30(%rax), %rax
movl -0x8c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xc0(%rbp), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x38(%rax), %rax
movl -0x8c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x8c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8c(%rbp)
jmp 0x2b0d0c
movl $0x1, -0x90(%rbp)
movl -0x90(%rbp), %eax
cmpl -0x24(%rbp), %eax
jg 0x2b13f7
movq -0x50(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movl -0x90(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq -0x58(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movl -0x90(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq -0x60(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movl -0x90(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq -0x68(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x18(%rax), %rax
movl -0x90(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x90(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x90(%rbp)
jmp 0x2b1321
movq -0x50(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -0x38(%rbp), %rax
movl %ecx, (%rax)
movl -0x94(%rbp), %ecx
subl $0x1, %ecx
movq -0x38(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x24(%rbp), %ecx
subl $0x1, %ecx
movq -0x38(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x58(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movl %ecx, (%rax)
movq -0x60(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movl %ecx, 0x4(%rax)
movq -0x68(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movl %ecx, 0x8(%rax)
movq -0x88(%rbp), %rdi
callq 0x1c3590
movq -0x80(%rbp), %rdi
callq 0x1c3590
movq -0x78(%rbp), %rdi
callq 0x1c3590
movq -0x70(%rbp), %rdi
callq 0x1c3590
movq -0x68(%rbp), %rdi
callq 0x1c3590
movq -0x60(%rbp), %rdi
callq 0x1c3590
movq -0x58(%rbp), %rdi
callq 0x1c3590
movq -0x50(%rbp), %rdi
callq 0x1c3590
movq -0x48(%rbp), %rdi
callq 0x1c3590
movq -0x40(%rbp), %rdi
callq 0x1c3590
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopl (%rax,%rax)