// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_scan.c
// Function: parasail_sw_rowcol_scan
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 HB = NULL;
    int * restrict H  = NULL;
    int * restrict E  = NULL;
    int * restrict HtB= NULL;
    int * restrict Ht = NULL;
    int * restrict FtB= NULL;
    int * restrict Ft = NULL;
    int s1Len = 0;
    int i = 0;
    int j = 0;
    int score = 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_SQUARE) {
        PARASAIL_CHECK_NULL(_s1);
        PARASAIL_CHECK_GT0(_s1Len);
    }

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

    /* initialize result */
#ifdef PARASAIL_TABLE
    result = parasail_result_new_table1(s1Len, s2Len);
#else
#ifdef PARASAIL_ROWCOL
    result = parasail_result_new_rowcol1(s1Len, s2Len);
#else
    result = parasail_result_new();
#endif
#endif
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SW | PARASAIL_FLAG_NOVEC_SCAN
        | 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 */
    s2 = parasail_memalign_int(16, s2Len);
    HB = parasail_memalign_int(16, s1Len+1);
    H  = HB+1;
    E  = parasail_memalign_int(16, s1Len);
    HtB= parasail_memalign_int(16, s1Len+1);
    Ht = HtB+1;
    FtB= parasail_memalign_int(16, s1Len+1);
    Ft = FtB+1;

    /* validate heap variables */
    if (!s2) return NULL;
    if (!HB) return NULL;
    if (!E) return NULL;
    if (!HtB) return NULL;
    if (!FtB) return NULL;

    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        s1 = parasail_memalign_int(16, s1Len);
        if (!s1) 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]];
    }

    /* initialize H */
    H[-1] = 0;
    Ht[-1] = 0;
    for (i=0; i<s1Len; ++i) {
        H[i] = 0;
    }
    Ft[-1] = NEG_INF_32;

    /* initialize E */
    for (i=0; i<s1Len; ++i) {
        E[i] = NEG_INF_32;
    }

    /* iterate over database */
    for (j=0; j<s2Len; ++j) {
        /* calculate E */
        for (i=0; i<s1Len; ++i) {
            E[i] = MAX(E[i]-gap, H[i]-open);
        }
        /* calculate Ht */
        for (i=0; i<s1Len; ++i) {
            int matval = matrix->type == PARASAIL_MATRIX_TYPE_SQUARE ?
                         matrix->matrix[matrix->size*s1[i]+s2[j]] :
                         matrix->matrix[matrix->size*i+s2[j]];
            Ht[i] = MAX(H[i-1]+matval, E[i]);
        }
        /* calculate Ft */
        for (i=0; i<s1Len; ++i) {
            Ft[i] = MAX(Ft[i-1]-gap, Ht[i-1]);
        }
        /* calculate H */
        for (i=0; i<s1Len; ++i) {
            H[i] = MAX(Ht[i], Ft[i]-open);
            H[i] = MAX(H[i], 0);
#ifdef PARASAIL_TABLE
            result->tables->score_table[i*s2Len + j] = H[i];
#endif
            if (H[i] > score) {
                score = H[i];
                end_query = i;
                end_ref = j;
            }
        }
#ifdef PARASAIL_ROWCOL
        if (j == s2Len-1) {
            for (i=0; i<s1Len; ++i) {
                result->rowcols->score_col[i] = H[i];
            }
        }
        result->rowcols->score_row[j] = H[s1Len-1];
#endif
    }

    result->score = score;
    result->end_query = end_query;
    result->end_ref = end_ref;

    parasail_free(FtB);
    parasail_free(HtB);
    parasail_free(E);
    parasail_free(HB);
    parasail_free(s2);
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        parasail_free(s1);
    }

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
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)
movl $0x0, -0x84(%rbp)
movl $0x0, -0x88(%rbp)
movl $0x0, -0x8c(%rbp)
movl $0x0, -0x90(%rbp)
movl $0x0, -0x94(%rbp)
movl $0x0, -0x98(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2afd4b
movq 0xb772b9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3c2c2(%rip), %rsi    # 0xcebfeb
leaq 0x9fc278(%rip), %rdx    # 0xcabfa8
leaq 0xa3c9c6(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
jmp 0x2afd4d
jmp 0x2afd4f
cmpl $0x0, -0x24(%rbp)
jg 0x2afd88
movq 0xb7727c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3c99b(%rip), %rsi    # 0xcec701
leaq 0x9fc23b(%rip), %rdx    # 0xcabfa8
leaq 0xa3c9a1(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
jmp 0x2afd8a
jmp 0x2afd8c
cmpl $0x0, -0x28(%rbp)
jge 0x2afdc5
movq 0xb7723f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3c978(%rip), %rsi    # 0xcec71b
leaq 0x9fc1fe(%rip), %rdx    # 0xcabfa8
leaq 0xa3c97f(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
jmp 0x2afdc7
jmp 0x2afdc9
cmpl $0x0, -0x2c(%rbp)
jge 0x2afe02
movq 0xb77202(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3c93b(%rip), %rsi    # 0xcec71b
leaq 0x9fc1c1(%rip), %rdx    # 0xcabfa8
leaq 0xa3c947(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
jmp 0x2afe04
jmp 0x2afe06
cmpq $0x0, 0x10(%rbp)
jne 0x2afe40
movq 0xb771c4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3c1cd(%rip), %rsi    # 0xcebfeb
leaq 0x9fc183(%rip), %rdx    # 0xcabfa8
leaq 0xa3caf9(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
jmp 0x2afe42
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2afec9
jmp 0x2afe4e
cmpq $0x0, -0x10(%rbp)
jne 0x2afe88
movq 0xb7717c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3c185(%rip), %rsi    # 0xcebfeb
leaq 0x9fc13b(%rip), %rdx    # 0xcabfa8
leaq 0xa3c8c5(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
jmp 0x2afe8a
jmp 0x2afe8c
cmpl $0x0, -0x14(%rbp)
jg 0x2afec5
movq 0xb7713f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3c85e(%rip), %rsi    # 0xcec701
leaq 0x9fc0fe(%rip), %rdx    # 0xcabfa8
leaq 0xa3c88c(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
jmp 0x2afec7
jmp 0x2afec9
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2afede
movl -0x14(%rbp), %eax
movl %eax, -0xa0(%rbp)
jmp 0x2afeeb
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, -0xa0(%rbp)
movl -0xa0(%rbp), %eax
movl %eax, -0x84(%rbp)
movl $0x0, -0x88(%rbp)
movl $0x0, -0x8c(%rbp)
movl $0xc0000000, -0x90(%rbp) # imm = 0xC0000000
movl -0x84(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x24(%rbp), %eax
movl %eax, -0x98(%rbp)
movl -0x84(%rbp), %edi
movl -0x24(%rbp), %esi
callq 0x1c3af0
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x2aff50
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
movq -0x38(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x1400204, %ecx        # imm = 0x1400204
movl %ecx, 0xc(%rax)
movq -0x38(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0xc(%rax)
movslq -0x24(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x48(%rbp)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movslq -0x84(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x60(%rbp)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x70(%rbp)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x2b001d
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
cmpq $0x0, -0x50(%rbp)
jne 0x2b0031
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
cmpq $0x0, -0x60(%rbp)
jne 0x2b0045
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
cmpq $0x0, -0x68(%rbp)
jne 0x2b0059
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
cmpq $0x0, -0x78(%rbp)
jne 0x2b006d
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2b00f3
movslq -0x84(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0x2b00a0
movq $0x0, -0x8(%rbp)
jmp 0x2b0675
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b00f1
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
movslq -0x88(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %edx
movq -0x40(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b00aa
jmp 0x2b00f3
movl $0x0, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2b0141
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x20(%rbp), %rcx
movslq -0x8c(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %edx
movq -0x48(%rbp), %rax
movslq -0x8c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x8c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8c(%rbp)
jmp 0x2b00fd
movq -0x58(%rbp), %rax
movl $0x0, -0x4(%rax)
movq -0x70(%rbp), %rax
movl $0x0, -0x4(%rax)
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b0192
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b0161
movq -0x80(%rbp), %rax
movl $0xc0000000, -0x4(%rax) # imm = 0xC0000000
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b01d8
movq -0x60(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl $0xc0000000, (%rax,%rcx,4) # imm = 0xC0000000
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b01a7
movl $0x0, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2b0607
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b0287
movq -0x60(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x2c(%rbp), %eax
movq -0x58(%rbp), %rcx
movslq -0x88(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
subl -0x28(%rbp), %ecx
cmpl %ecx, %eax
jle 0x2b0248
movq -0x60(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xa4(%rbp)
jmp 0x2b025f
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xa4(%rbp)
movl -0xa4(%rbp), %edx
movq -0x60(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b01fb
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b03a9
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2b02e7
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rbp), %rcx
movl 0x18(%rcx), %ecx
movq -0x40(%rbp), %rdx
movslq -0x88(%rbp), %rsi
imull (%rdx,%rsi,4), %ecx
movq -0x48(%rbp), %rdx
movslq -0x8c(%rbp), %rsi
addl (%rdx,%rsi,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xa8(%rbp)
jmp 0x2b0317
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rbp), %rcx
movl 0x18(%rcx), %ecx
imull -0x88(%rbp), %ecx
movq -0x48(%rbp), %rdx
movslq -0x8c(%rbp), %rsi
addl (%rdx,%rsi,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xa8(%rbp)
movl -0xa8(%rbp), %eax
movl %eax, -0x9c(%rbp)
movq -0x58(%rbp), %rax
movl -0x88(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
addl -0x9c(%rbp), %eax
movq -0x60(%rbp), %rcx
movslq -0x88(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle 0x2b036d
movq -0x58(%rbp), %rax
movl -0x88(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
addl -0x9c(%rbp), %eax
movl %eax, -0xac(%rbp)
jmp 0x2b0381
movq -0x60(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xac(%rbp)
movl -0xac(%rbp), %edx
movq -0x70(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b0291
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b044f
movq -0x80(%rbp), %rax
movl -0x88(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
subl -0x2c(%rbp), %eax
movq -0x70(%rbp), %rcx
movl -0x88(%rbp), %edx
subl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jle 0x2b040e
movq -0x80(%rbp), %rax
movl -0x88(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xb0(%rbp)
jmp 0x2b0427
movq -0x70(%rbp), %rax
movl -0x88(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb0(%rbp)
movl -0xb0(%rbp), %edx
movq -0x80(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b03b3
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b056c
movq -0x70(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -0x80(%rbp), %rcx
movslq -0x88(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
subl -0x28(%rbp), %ecx
cmpl %ecx, %eax
jle 0x2b04a4
movq -0x70(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb4(%rbp)
jmp 0x2b04bb
movq -0x80(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xb4(%rbp)
movl -0xb4(%rbp), %edx
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jle 0x2b04f6
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb8(%rbp)
jmp 0x2b0500
xorl %eax, %eax
movl %eax, -0xb8(%rbp)
jmp 0x2b0500
movl -0xb8(%rbp), %edx
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -0x90(%rbp), %eax
jle 0x2b0556
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x90(%rbp)
movl -0x88(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x8c(%rbp), %eax
movl %eax, -0x98(%rbp)
jmp 0x2b0558
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b0459
movl -0x8c(%rbp), %eax
movl -0x24(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x2b05cb
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x2b05c9
movq -0x58(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2b0586
jmp 0x2b05cb
movq -0x58(%rbp), %rax
movl -0x84(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movslq -0x8c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x8c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8c(%rbp)
jmp 0x2b01e2
movl -0x90(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, (%rax)
movl -0x94(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, 0x4(%rax)
movl -0x98(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x78(%rbp), %rdi
callq 0x1c3590
movq -0x68(%rbp), %rdi
callq 0x1c3590
movq -0x60(%rbp), %rdi
callq 0x1c3590
movq -0x50(%rbp), %rdi
callq 0x1c3590
movq -0x48(%rbp), %rdi
callq 0x1c3590
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2b066d
movq -0x40(%rbp), %rdi
callq 0x1c3590
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)