// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_trace_scan.c
// Function: parasail_sw_trace_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;
    int8_t * restrict HT = NULL;
    int * restrict Ex = NULL;
    int i = 0;
    int j = 0;
    int s1Len = 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 */
    i = 0;
    j = 0;
    s1Len = matrix->type == PARASAIL_MATRIX_TYPE_SQUARE ? _s1Len : matrix->length;
    score = NEG_INF_32;
    end_query = s1Len;
    end_ref = s2Len;

    /* initialize result */
    result = parasail_result_new_trace(s1Len, s2Len, 16, sizeof(int8_t));
    if (!result) return NULL;

    /* set known flags */
    result->flag |= PARASAIL_FLAG_SW | PARASAIL_FLAG_NOVEC_SCAN
        | PARASAIL_FLAG_TRACE
        | PARASAIL_FLAG_BITS_INT | PARASAIL_FLAG_LANES_1;

    /* 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;
    Ex = parasail_memalign_int(16, s1Len);
    HT = (int8_t* restrict)result->trace->trace_table;

    /* validate heap variables */
    if (!s2) return NULL;
    if (!HB) return NULL;
    if (!E) return NULL;
    if (!HtB) return NULL;
    if (!Ex) 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;
    }

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

    /* iterate over database */
    for (j=0; j<s2Len; ++j) {
        int Ft = NEG_INF_32;
        /* calculate E */
        for (i=0; i<s1Len; ++i) {
            int E_opn = H[i]-open;
            int E_ext = E[i]-gap;
            E[i] = MAX(E_ext, E_opn);
            HT[1LL*i*s2Len + j] = (E_opn > E_ext) ? PARASAIL_DIAG_E
                                                  : PARASAIL_INS_E;
        }
        /* calculate Ht */
        Ht[-1] = 0;
        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]];
            int H_dag = H[i-1]+matval;
            Ht[i] = MAX(H_dag, E[i]);
            Ex[i] = (E[i] > H_dag);
        }
        /* calculate H */
        for (i=0; i<s1Len; ++i) {
            int Ft_opn;
            int Ht_pre = Ht[i-1];
            int Ft_ext = Ft-gap;
            if (Ht_pre >= Ft_ext) {
                Ft = Ht_pre;
            }
            else {
                Ft = Ft_ext;
            }
            Ft_opn = Ft-open;
            if (H[i-1] > Ft_ext) {
                HT[1LL*i*s2Len + j] |= PARASAIL_DIAG_F;
            }
            else {
                HT[1LL*i*s2Len + j] |= PARASAIL_DEL_F;
            }
            if (Ht[i] > Ft_opn) {
                H[i] = Ht[i];
                HT[1LL*i*s2Len + j] |= Ex[i] ? PARASAIL_INS : PARASAIL_DIAG;
            }
            else {
                H[i] = Ft_opn;
                if (Ht[i] == Ft_opn) {
                    if (Ex[i]) {
                        HT[1LL*i*s2Len + j] |= PARASAIL_DEL;
                    }
                    else {
                        HT[1LL*i*s2Len + j] |= PARASAIL_DIAG;
                    }
                }
                else {
                    HT[1LL*i*s2Len + j] |= PARASAIL_DEL;
                }
            }
            if (0 >= H[i]) {
                H[i] = 0;
                HT[1LL*i*s2Len + j] &= PARASAIL_ZERO_MASK;
            }
            if (H[i] > score) {
                score = H[i];
                end_query = i;
                end_ref = j;
            }
        }
    }

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

    parasail_free(Ex);
    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 $0xd0, %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 0x2bc34b
movq 0xb6acb9(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2fcc2(%rip), %rsi    # 0xcebfeb
leaq 0x9ffd2d(%rip), %rdx    # 0xcbc05d
leaq 0xa303c6(%rip), %rcx    # 0xcec6fd
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
jmp 0x2bc34d
jmp 0x2bc34f
cmpl $0x0, -0x24(%rbp)
jg 0x2bc388
movq 0xb6ac7c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3039b(%rip), %rsi    # 0xcec701
leaq 0x9ffcf0(%rip), %rdx    # 0xcbc05d
leaq 0xa303a1(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
jmp 0x2bc38a
jmp 0x2bc38c
cmpl $0x0, -0x28(%rbp)
jge 0x2bc3c5
movq 0xb6ac3f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa30378(%rip), %rsi    # 0xcec71b
leaq 0x9ffcb3(%rip), %rdx    # 0xcbc05d
leaq 0xa3037f(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
jmp 0x2bc3c7
jmp 0x2bc3c9
cmpl $0x0, -0x2c(%rbp)
jge 0x2bc402
movq 0xb6ac02(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3033b(%rip), %rsi    # 0xcec71b
leaq 0x9ffc76(%rip), %rdx    # 0xcbc05d
leaq 0xa30347(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
jmp 0x2bc404
jmp 0x2bc406
cmpq $0x0, 0x10(%rbp)
jne 0x2bc440
movq 0xb6abc4(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2fbcd(%rip), %rsi    # 0xcebfeb
leaq 0x9ffc38(%rip), %rdx    # 0xcbc05d
leaq 0xa304f9(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
jmp 0x2bc442
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2bc4c9
jmp 0x2bc44e
cmpq $0x0, -0x10(%rbp)
jne 0x2bc488
movq 0xb6ab7c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2fb85(%rip), %rsi    # 0xcebfeb
leaq 0x9ffbf0(%rip), %rdx    # 0xcbc05d
leaq 0xa302c5(%rip), %rcx    # 0xcec739
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
jmp 0x2bc48a
jmp 0x2bc48c
cmpl $0x0, -0x14(%rbp)
jg 0x2bc4c5
movq 0xb6ab3f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa3025e(%rip), %rsi    # 0xcec701
leaq 0x9ffbb3(%rip), %rdx    # 0xcbc05d
leaq 0xa3028c(%rip), %rcx    # 0xcec73d
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
jmp 0x2bc4c7
jmp 0x2bc4c9
movl $0x0, -0x84(%rbp)
movl $0x0, -0x88(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2bc4f2
movl -0x14(%rbp), %eax
movl %eax, -0xbc(%rbp)
jmp 0x2bc4ff
movq 0x10(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, -0xbc(%rbp)
movl -0xbc(%rbp), %eax
movl %eax, -0x8c(%rbp)
movl $0xc0000000, -0x90(%rbp) # imm = 0xC0000000
movl -0x8c(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x24(%rbp), %eax
movl %eax, -0x98(%rbp)
movl -0x8c(%rbp), %edi
movl -0x24(%rbp), %esi
movl $0x10, %edx
movl $0x1, %ecx
callq 0x1c3fa0
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x2bc55a
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
movq -0x38(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x1480204, %ecx        # imm = 0x1480204
movl %ecx, 0xc(%rax)
movslq -0x24(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x48(%rbp)
movl -0x8c(%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 -0x8c(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x60(%rbp)
movl -0x8c(%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)
movslq -0x8c(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x80(%rbp)
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movq %rax, -0x78(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x2bc615
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
cmpq $0x0, -0x50(%rbp)
jne 0x2bc629
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
cmpq $0x0, -0x60(%rbp)
jne 0x2bc63d
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
cmpq $0x0, -0x68(%rbp)
jne 0x2bc651
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
cmpq $0x0, -0x80(%rbp)
jne 0x2bc665
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2bc6eb
movslq -0x8c(%rbp), %rsi
movl $0x10, %edi
callq 0x1c35d0
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0x2bc698
movq $0x0, -0x8(%rbp)
jmp 0x2bcd6d
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jge 0x2bc6e9
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
movslq -0x84(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %edx
movq -0x40(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x2bc6a2
jmp 0x2bc6eb
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2bc739
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x20(%rbp), %rcx
movslq -0x88(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl (%rax,%rcx,4), %edx
movq -0x48(%rbp), %rax
movslq -0x88(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2bc6f5
movq -0x58(%rbp), %rax
movl $0x0, -0x4(%rax)
movq -0x70(%rbp), %rax
movl $0x0, -0x4(%rax)
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jge 0x2bc78a
movq -0x58(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x2bc759
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jge 0x2bc7c5
movq -0x60(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl $0xc0000000, (%rax,%rcx,4) # imm = 0xC0000000
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x2bc794
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2bccff
movl $0xc0000000, -0x9c(%rbp) # imm = 0xC0000000
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jge 0x2bc8c3
movq -0x58(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xa0(%rbp)
movq -0x60(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xa4(%rbp)
movl -0xa4(%rbp), %eax
cmpl -0xa0(%rbp), %eax
jle 0x2bc84e
movl -0xa4(%rbp), %eax
movl %eax, -0xc0(%rbp)
jmp 0x2bc85a
movl -0xa0(%rbp), %eax
movl %eax, -0xc0(%rbp)
movl -0xc0(%rbp), %edx
movq -0x60(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xa0(%rbp), %edx
movl -0xa4(%rbp), %esi
movl $0x10, %eax
movl $0x8, %ecx
cmpl %esi, %edx
cmovgl %ecx, %eax
movb %al, %dl
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x88(%rbp), %rsi
addq %rsi, %rcx
movb %dl, (%rax,%rcx)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x2bc7f2
movq -0x70(%rbp), %rax
movl $0x0, -0x4(%rax)
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jge 0x2bca13
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2bc92e
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rbp), %rcx
movl 0x18(%rcx), %ecx
movq -0x40(%rbp), %rdx
movslq -0x84(%rbp), %rsi
imull (%rdx,%rsi,4), %ecx
movq -0x48(%rbp), %rdx
movslq -0x88(%rbp), %rsi
addl (%rdx,%rsi,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc4(%rbp)
jmp 0x2bc95e
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rbp), %rcx
movl 0x18(%rcx), %ecx
imull -0x84(%rbp), %ecx
movq -0x48(%rbp), %rdx
movslq -0x88(%rbp), %rsi
addl (%rdx,%rsi,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc4(%rbp)
movl -0xc4(%rbp), %eax
movl %eax, -0xa8(%rbp)
movq -0x58(%rbp), %rax
movl -0x84(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
addl -0xa8(%rbp), %eax
movl %eax, -0xac(%rbp)
movl -0xac(%rbp), %eax
movq -0x60(%rbp), %rcx
movslq -0x84(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle 0x2bc9ad
movl -0xac(%rbp), %eax
movl %eax, -0xc8(%rbp)
jmp 0x2bc9c1
movq -0x60(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc8(%rbp)
movl -0xc8(%rbp), %edx
movq -0x70(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x60(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -0xac(%rbp), %eax
setg %al
andb $0x1, %al
movzbl %al, %edx
movq -0x80(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x2bc8d8
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x8c(%rbp), %eax
jge 0x2bcce9
movq -0x70(%rbp), %rax
movl -0x84(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb4(%rbp)
movl -0x9c(%rbp), %eax
subl -0x2c(%rbp), %eax
movl %eax, -0xb8(%rbp)
movl -0xb4(%rbp), %eax
cmpl -0xb8(%rbp), %eax
jl 0x2bca73
movl -0xb4(%rbp), %eax
movl %eax, -0x9c(%rbp)
jmp 0x2bca7f
movl -0xb8(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl -0x9c(%rbp), %eax
subl -0x28(%rbp), %eax
movl %eax, -0xb0(%rbp)
movq -0x58(%rbp), %rax
movl -0x84(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cmpl -0xb8(%rbp), %eax
jle 0x2bcad6
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rdx
imulq %rdx, %rcx
movslq -0x88(%rbp), %rdx
addq %rdx, %rcx
movsbl (%rax,%rcx), %edx
orl $0x20, %edx
movb %dl, (%rax,%rcx)
jmp 0x2bcb01
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rdx
imulq %rdx, %rcx
movslq -0x88(%rbp), %rdx
addq %rdx, %rcx
movsbl (%rax,%rcx), %edx
orl $0x40, %edx
movb %dl, (%rax,%rcx)
movq -0x70(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -0xb0(%rbp), %eax
jle 0x2bcb80
movq -0x70(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x58(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x80(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movl $0x4, %esi
movl $0x1, %eax
cmpl $0x0, %ecx
cmovnel %eax, %esi
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rdx
imulq %rdx, %rcx
movslq -0x88(%rbp), %rdx
addq %rdx, %rcx
movsbl (%rax,%rcx), %edx
orl %esi, %edx
movb %dl, (%rax,%rcx)
jmp 0x2bcc42
movl -0xb0(%rbp), %edx
movq -0x58(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x70(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -0xb0(%rbp), %eax
jne 0x2bcc15
movq -0x80(%rbp), %rax
movslq -0x84(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0x2bcbe8
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rdx
imulq %rdx, %rcx
movslq -0x88(%rbp), %rdx
addq %rdx, %rcx
movsbl (%rax,%rcx), %edx
orl $0x2, %edx
movb %dl, (%rax,%rcx)
jmp 0x2bcc13
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rdx
imulq %rdx, %rcx
movslq -0x88(%rbp), %rdx
addq %rdx, %rcx
movsbl (%rax,%rcx), %edx
orl $0x4, %edx
movb %dl, (%rax,%rcx)
jmp 0x2bcc40
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rdx
imulq %rdx, %rcx
movslq -0x88(%rbp), %rdx
addq %rdx, %rcx
movsbl (%rax,%rcx), %edx
orl $0x2, %edx
movb %dl, (%rax,%rcx)
jmp 0x2bcc42
movq -0x58(%rbp), %rcx
movslq -0x84(%rbp), %rdx
xorl %eax, %eax
cmpl (%rcx,%rdx,4), %eax
jl 0x2bcc91
movq -0x58(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movq -0x78(%rbp), %rax
movslq -0x84(%rbp), %rcx
shlq $0x0, %rcx
movslq -0x24(%rbp), %rdx
imulq %rdx, %rcx
movslq -0x88(%rbp), %rdx
addq %rdx, %rcx
movsbl (%rax,%rcx), %edx
andl $0x78, %edx
movb %dl, (%rax,%rcx)
movq -0x58(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -0x90(%rbp), %eax
jle 0x2bccd3
movq -0x58(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x90(%rbp)
movl -0x84(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x88(%rbp), %eax
movl %eax, -0x98(%rbp)
jmp 0x2bccd5
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x2bca1d
jmp 0x2bcceb
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x2bc7cf
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 -0x80(%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 0x2bcd65
movq -0x40(%rbp), %rdi
callq 0x1c3590
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
nopw (%rax,%rax)