// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_stats.c
// Function: parasail_sw_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;
    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;
    end_ref = s2Len;

    /* 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_SW | 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] = 0;
        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 = 0;
        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, 0);
            WH = MAX(WH, 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;
            }
            if (WH <= 0) {
                WH = 0;
                WHM = 0;
                WHS = 0;
                WHL = 0;
            }
            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 (WH > score) {
                score = WH;
                matches = WHM;
                similar = WHS;
                length = WHL;
                end_query = i-1;
                end_ref = j-1;
            }
            else if (score == WH && j-1 < end_ref) {
                matches = WHM;
                similar = WHS;
                length = WHL;
                end_query = i-1;
                end_ref = j-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
    }
#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
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
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)
movl $0x0, -0x98(%rbp)
movl $0x0, -0x9c(%rbp)
movl $0x0, -0xa0(%rbp)
movl $0x0, -0xa4(%rbp)
movl $0x0, -0xa8(%rbp)
movl $0x0, -0xac(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2b2dd4
movq 0xb74230(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa39239(%rip), %rsi    # 0xcebfeb
leaq 0xa00c13(%rip), %rdx    # 0xcb39cc
leaq 0xa3993d(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2dd6
jmp 0x2b2dd8
cmpl $0x0, -0x24(%rbp)
jg 0x2b2e11
movq 0xb741f3(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa39912(%rip), %rsi    # 0xcec701
leaq 0xa00bd6(%rip), %rdx    # 0xcb39cc
leaq 0xa39918(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2e13
jmp 0x2b2e15
cmpl $0x0, -0x28(%rbp)
jge 0x2b2e4e
movq 0xb741b6(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa398ef(%rip), %rsi    # 0xcec71b
leaq 0xa00b99(%rip), %rdx    # 0xcb39cc
leaq 0xa398f6(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2e50
jmp 0x2b2e52
cmpl $0x0, -0x2c(%rbp)
jge 0x2b2e8b
movq 0xb74179(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa398b2(%rip), %rsi    # 0xcec71b
leaq 0xa00b5c(%rip), %rdx    # 0xcb39cc
leaq 0xa398be(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2e8d
jmp 0x2b2e8f
cmpq $0x0, 0x10(%rbp)
jne 0x2b2ec9
movq 0xb7413b(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa39144(%rip), %rsi    # 0xcebfeb
leaq 0xa00b1e(%rip), %rdx    # 0xcb39cc
leaq 0xa39a70(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2ecb
movq 0x10(%rbp), %rax
cmpl $0x1, 0x30(%rax)
jne 0x2b2f0e
jmp 0x2b2ed7
cmpq $0x0, -0x10(%rbp)
jne 0x2b2f0a
movq 0xb740f3(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3987e(%rip), %rsi    # 0xcec76d
leaq 0xa00ad6(%rip), %rdx    # 0xcb39cc
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2f0c
jmp 0x2b2f8b
jmp 0x2b2f10
cmpq $0x0, -0x10(%rbp)
jne 0x2b2f4a
movq 0xb740ba(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa390c3(%rip), %rsi    # 0xcebfeb
leaq 0xa00a9d(%rip), %rdx    # 0xcb39cc
leaq 0xa39803(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2f4c
jmp 0x2b2f4e
cmpl $0x0, -0x14(%rbp)
jg 0x2b2f87
movq 0xb7407d(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3979c(%rip), %rsi    # 0xcec701
leaq 0xa00a60(%rip), %rdx    # 0xcb39cc
leaq 0xa397ca(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
jmp 0x2b2f89
jmp 0x2b2f8b
movl $0x0, -0x8c(%rbp)
movl $0x0, -0x90(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2b2fb4
movl -0x14(%rbp), %eax
movl %eax, -0x110(%rbp)
jmp 0x2b2fc1
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, -0x110(%rbp)
movl -0x110(%rbp), %eax
movl %eax, -0x94(%rbp)
movl $0xc0000000, -0x98(%rbp) # imm = 0xC0000000
movl $0xc0000000, -0x9c(%rbp) # imm = 0xC0000000
movl $0xc0000000, -0xa0(%rbp) # imm = 0xC0000000
movl $0xc0000000, -0xa4(%rbp) # imm = 0xC0000000
movl -0x94(%rbp), %eax
movl %eax, -0xa8(%rbp)
movl -0x24(%rbp), %eax
movl %eax, -0xac(%rbp)
movl -0x94(%rbp), %edi
movl -0x24(%rbp), %esi
callq 0x1c40e0
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x2b3030
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
movq -0x38(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x1410104, %ecx        # imm = 0x1410104
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 0x2b3146
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x48(%rbp)
jne 0x2b315a
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x50(%rbp)
jne 0x2b316e
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x58(%rbp)
jne 0x2b3182
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x60(%rbp)
jne 0x2b3196
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x68(%rbp)
jne 0x2b31aa
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x70(%rbp)
jne 0x2b31be
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x78(%rbp)
jne 0x2b31d2
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x80(%rbp)
jne 0x2b31e6
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
cmpq $0x0, -0x88(%rbp)
jne 0x2b31fd
movq $0x0, -0x8(%rbp)
jmp 0x2b3c66
movl $0x0, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x94(%rbp), %eax
jge 0x2b324e
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 0x2b3207
movl $0x0, -0x90(%rbp)
movl -0x90(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2b329c
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 0x2b3258
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 0x2b33af
movq -0x50(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl $0x0, (%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 0x2b32f9
movl $0x1, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x94(%rbp), %eax
jg 0x2b3ac9
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2b340b
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, -0x118(%rbp)
jmp 0x2b3437
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, -0x118(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x50(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xbc(%rbp)
movq -0x58(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xc0(%rbp)
movq -0x60(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xc4(%rbp)
movq -0x68(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xc8(%rbp)
movl $0x0, -0xcc(%rbp)
movl $0x0, -0xd0(%rbp)
movl $0x0, -0xd4(%rbp)
movl $0x0, -0xd8(%rbp)
movl $0xc0000000, -0xdc(%rbp) # imm = 0xC0000000
movl $0x0, -0xe0(%rbp)
movl $0x0, -0xe4(%rbp)
movl $0x0, -0xe8(%rbp)
movl -0xcc(%rbp), %ecx
movq -0x50(%rbp), %rax
movl %ecx, (%rax)
movl -0xd0(%rbp), %ecx
movq -0x58(%rbp), %rax
movl %ecx, (%rax)
movl -0xd4(%rbp), %ecx
movq -0x60(%rbp), %rax
movl %ecx, (%rax)
movl -0xd8(%rbp), %ecx
movq -0x68(%rbp), %rax
movl %ecx, (%rax)
movl $0x1, -0x90(%rbp)
movl -0x90(%rbp), %eax
cmpl -0x24(%rbp), %eax
jg 0x2b3a21
movl -0xbc(%rbp), %eax
movl %eax, -0x100(%rbp)
movl -0xc0(%rbp), %eax
movl %eax, -0x104(%rbp)
movl -0xc4(%rbp), %eax
movl %eax, -0x108(%rbp)
movl -0xc8(%rbp), %eax
movl %eax, -0x10c(%rbp)
movq -0x50(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xbc(%rbp)
movq -0x58(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc0(%rbp)
movq -0x60(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc4(%rbp)
movq -0x68(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc8(%rbp)
movl -0xbc(%rbp), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xf8(%rbp)
movq -0x70(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xfc(%rbp)
movl -0xf8(%rbp), %eax
cmpl -0xfc(%rbp), %eax
jle 0x2b35d0
movl -0xf8(%rbp), %eax
movl %eax, -0x11c(%rbp)
jmp 0x2b35dc
movl -0xfc(%rbp), %eax
movl %eax, -0x11c(%rbp)
movl -0x11c(%rbp), %edx
movq -0x70(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xcc(%rbp), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xf0(%rbp)
movl -0xdc(%rbp), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xf4(%rbp)
movl -0xf0(%rbp), %eax
cmpl -0xf4(%rbp), %eax
jle 0x2b362a
movl -0xf0(%rbp), %eax
movl %eax, -0x120(%rbp)
jmp 0x2b3636
movl -0xf4(%rbp), %eax
movl %eax, -0x120(%rbp)
movl -0x120(%rbp), %eax
movl %eax, -0xdc(%rbp)
movl -0x100(%rbp), %eax
movq -0xb8(%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, -0xec(%rbp)
cmpl $0x0, -0xec(%rbp)
jle 0x2b3683
movl -0xec(%rbp), %eax
movl %eax, -0x124(%rbp)
jmp 0x2b368d
xorl %eax, %eax
movl %eax, -0x124(%rbp)
jmp 0x2b368d
movl -0x124(%rbp), %eax
movl %eax, -0xcc(%rbp)
movl -0xcc(%rbp), %eax
cmpl -0xdc(%rbp), %eax
jle 0x2b36b5
movl -0xcc(%rbp), %eax
movl %eax, -0x128(%rbp)
jmp 0x2b36c1
movl -0xdc(%rbp), %eax
movl %eax, -0x128(%rbp)
movl -0x128(%rbp), %eax
movl %eax, -0xcc(%rbp)
movl -0xcc(%rbp), %eax
movq -0x70(%rbp), %rcx
movslq -0x90(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle 0x2b36f1
movl -0xcc(%rbp), %eax
movl %eax, -0x12c(%rbp)
jmp 0x2b3705
movq -0x70(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x12c(%rbp)
movl -0x12c(%rbp), %eax
movl %eax, -0xcc(%rbp)
movl -0xf8(%rbp), %eax
cmpl -0xfc(%rbp), %eax
jle 0x2b375e
movl -0xc0(%rbp), %edx
movq -0x78(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xc4(%rbp), %edx
movq -0x80(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xc8(%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 -0xf0(%rbp), %eax
cmpl -0xf4(%rbp), %eax
jle 0x2b37a7
movl -0xd0(%rbp), %eax
movl %eax, -0xe0(%rbp)
movl -0xd4(%rbp), %eax
movl %eax, -0xe4(%rbp)
movl -0xd8(%rbp), %eax
movl %eax, -0xe8(%rbp)
movl -0xe8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xe8(%rbp)
movl -0xcc(%rbp), %eax
cmpl -0xec(%rbp), %eax
jne 0x2b384c
movl -0x104(%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, -0xd0(%rbp)
movl -0x108(%rbp), %eax
movq -0xb8(%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, -0xd4(%rbp)
movl -0x10c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xd8(%rbp)
jmp 0x2b38c9
movl -0xcc(%rbp), %eax
movq -0x70(%rbp), %rcx
movslq -0x90(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne 0x2b38a3
movq -0x78(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xd0(%rbp)
movq -0x80(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xd4(%rbp)
movq -0x88(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xd8(%rbp)
jmp 0x2b38c7
movl -0xe0(%rbp), %eax
movl %eax, -0xd0(%rbp)
movl -0xe4(%rbp), %eax
movl %eax, -0xd4(%rbp)
movl -0xe8(%rbp), %eax
movl %eax, -0xd8(%rbp)
jmp 0x2b38c9
cmpl $0x0, -0xcc(%rbp)
jg 0x2b38fa
movl $0x0, -0xcc(%rbp)
movl $0x0, -0xd0(%rbp)
movl $0x0, -0xd4(%rbp)
movl $0x0, -0xd8(%rbp)
movl -0xcc(%rbp), %edx
movq -0x50(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xd0(%rbp), %edx
movq -0x58(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xd4(%rbp), %edx
movq -0x60(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xd8(%rbp), %edx
movq -0x68(%rbp), %rax
movslq -0x90(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xcc(%rbp), %eax
cmpl -0x98(%rbp), %eax
jle 0x2b39a8
movl -0xcc(%rbp), %eax
movl %eax, -0x98(%rbp)
movl -0xd0(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl -0xd4(%rbp), %eax
movl %eax, -0xa0(%rbp)
movl -0xd8(%rbp), %eax
movl %eax, -0xa4(%rbp)
movl -0x8c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xa8(%rbp)
movl -0x90(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xac(%rbp)
jmp 0x2b3a0b
movl -0x98(%rbp), %eax
cmpl -0xcc(%rbp), %eax
jne 0x2b3a09
movl -0x90(%rbp), %eax
subl $0x1, %eax
cmpl -0xac(%rbp), %eax
jge 0x2b3a09
movl -0xd0(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl -0xd4(%rbp), %eax
movl %eax, -0xa0(%rbp)
movl -0xd8(%rbp), %eax
movl %eax, -0xa4(%rbp)
movl -0x8c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xa8(%rbp)
movl -0x90(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xac(%rbp)
jmp 0x2b3a0b
jmp 0x2b3a0d
movl -0x90(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x90(%rbp)
jmp 0x2b34ff
movl -0xcc(%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 -0xd0(%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 -0xd4(%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 -0xd8(%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 0x2b33b9
movl $0x1, -0x90(%rbp)
movl -0x90(%rbp), %eax
cmpl -0x24(%rbp), %eax
jg 0x2b3ba9
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 0x2b3ad3
movl -0x98(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, (%rax)
movl -0xa8(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0xac(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, 0x8(%rax)
movl -0x9c(%rbp), %ecx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movl %ecx, (%rax)
movl -0xa0(%rbp), %ecx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movl %ecx, 0x4(%rax)
movl -0xa4(%rbp), %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 $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)