// File: /workspace/github_c_makefile_star2_O3/nh13[P]ksw/src/parasail/src/sg_trace_scan.c
// Function: parasail_sg_flags_trace_scan
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 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_SG | PARASAIL_FLAG_NOVEC_SCAN
        | PARASAIL_FLAG_TRACE
        | 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;

    /* 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;
    if (s1_beg) {
        for (i=0; i<s1Len; ++i) {
            H[i] = 0;
        }
    }
    else {
        for (i=0; i<s1Len; ++i) {
            H[i] = -open -i*gap;
        }
    }

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

    /* iterate over database */
    for (j=0; j<s2Len-1; ++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] = s2_beg ? 0 : (-open -j*gap);
        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;
                }
            }
        }
        H[-1] = s2_beg ? 0 : (-open - j*gap);
        if (s2_end && H[s1Len-1] > score) {
            score = H[s1Len-1];
            end_query = s1Len-1;
            end_ref = j;
        }
    }
    j = s2Len - 1;
    {
        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] = s2_beg ? 0 : (-open -j*gap);
        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 (s1_end && H[i] > score) {
                score = H[i];
                end_query = i;
                end_ref = j;
            }
        }
    }
    if (s2_end && H[s1Len-1] > score) {
        score = H[s1Len-1];
        end_query = s1Len-1;
        end_ref = s2Len-1;
    }
    if (!s1_end && !s2_end) {
        score = H[s1Len-1];
        end_query = s1Len-1;
        end_ref = s2Len-1;
    }

    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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
testq %rdx, %rdx
je 0x2ad8b9
movl %ecx, %r14d
testl %ecx, %ecx
jle 0x2ad8c0
movl %r8d, %ebp
testl %r8d, %r8d
js 0x2ad8c7
movl %r9d, %r12d
testl %r9d, %r9d
js 0x2ad8ce
movq 0xc0(%rsp), %rax
testq %rax, %rax
je 0x2ad8d5
movq %rdi, %r15
cmpl $0x0, 0x30(%rax)
je 0x2acf54
movl 0x34(%rax), %ebx
jmp 0x2acf67
testq %r15, %r15
je 0x2ad8e6
movl %esi, %ebx
testl %esi, %esi
jle 0x2ad8ed
movq %rdx, 0x8(%rsp)
movl $0x10, %edx
movl $0x1, %ecx
movl %ebx, %edi
movl %r14d, %esi
callq 0x20adf4
testq %rax, %rax
je 0x2ad8f2
movq %r15, 0x78(%rsp)
xorl %edi, %edi
cmpl $0x0, 0xc8(%rsp)
setne %dil
xorl %ecx, %ecx
cmpl $0x0, 0xd0(%rsp)
setne %cl
shll $0x4, %ecx
xorl %edx, %edx
cmpl $0x0, 0xd8(%rsp)
setne %dl
shll $0xe, %edx
xorl %esi, %esi
cmpl $0x0, 0xe0(%rsp)
setne %sil
shll $0xf, %esi
leal (%rcx,%rdi,8), %ecx
orl %edx, %ecx
orl %esi, %ecx
orl 0xc(%rax), %ecx
orl $0x1480202, %ecx        # imm = 0x1480202
movq %rax, 0x68(%rsp)
movl %ecx, 0xc(%rax)
movq %r14, 0x40(%rsp)
movl %r14d, %r13d
movl $0x10, %edi
movq %r13, %rsi
callq 0x20a617
movq %rax, 0x50(%rsp)
leal 0x1(%rbx), %eax
movq %rax, 0x38(%rsp)
movslq %eax, %r14
movl $0x10, %edi
movq %r14, %rsi
callq 0x20a617
movq %rax, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movslq %ebx, %r15
movl $0x10, %edi
movq %r15, %rsi
callq 0x20a617
movq %rax, %rbx
movl $0x10, %edi
movq %r14, %rsi
callq 0x20a617
movq %rax, %r14
movl $0x10, %edi
movq %r15, 0x60(%rsp)
movq %r15, %rsi
callq 0x20a617
movq 0x50(%rsp), %rsi
movq %rax, %rdx
movq %rsi, %xmm0
movq 0x20(%rsp), %xmm1
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movq %rbx, %xmm1
movq %r14, %xmm2
punpcklqdq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0]
pxor %xmm2, %xmm2
pcmpeqd %xmm2, %xmm0
pcmpeqd %xmm2, %xmm1
movdqa %xmm0, %xmm2
shufps $0xdd, %xmm1, %xmm2     # xmm2 = xmm2[1,3],xmm1[1,3]
shufps $0x88, %xmm1, %xmm0     # xmm0 = xmm0[0,2],xmm1[0,2]
andps %xmm2, %xmm0
movmskps %xmm0, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x2ad8f4
testq %rdx, %rdx
je 0x2ad8f4
movq %r14, %r9
movq %rdx, 0x30(%rsp)
movq 0x68(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movq %rax, 0x58(%rsp)
movq 0xc0(%rsp), %r11
cmpl $0x0, 0x30(%r11)
movl 0x18(%rsp), %r14d
movq %r9, 0x28(%rsp)
je 0x2ad16b
movq $0x0, 0x48(%rsp)
movl 0xe0(%rsp), %r10d
movq 0x8(%rsp), %r8
movq 0x20(%rsp), %r15
addq $0x4, %r15
movq 0x10(%r11), %rax
xorl %ecx, %ecx
movzbl (%r8,%rcx), %edx
movl (%rax,%rdx,4), %edx
movl %edx, (%rsi,%rcx,4)
incq %rcx
cmpq %rcx, %r13
jne 0x2ad107
xorl %eax, %eax
movq 0x20(%rsp), %rcx
movl %eax, (%rcx)
movl %eax, (%r9)
cmpl $0x0, 0xc8(%rsp)
je 0x2ad1db
cmpl $0x0, 0x18(%rsp)
jle 0x2ad3aa
leaq (,%r14,4), %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x19e090
movq 0x28(%rsp), %r9
movl 0xe0(%rsp), %r10d
movq 0xc0(%rsp), %r11
jmp 0x2ad2ab
movq %rsi, %r15
movl $0x10, %edi
movq 0x60(%rsp), %rsi
callq 0x20a617
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x2ad8f2
cmpl $0x0, 0x18(%rsp)
movl 0xe0(%rsp), %r10d
movq %r15, %rsi
movq 0x8(%rsp), %r8
movq 0xc0(%rsp), %r11
jle 0x2ad8dc
movq 0x10(%r11), %rax
xorl %ecx, %ecx
movq 0x28(%rsp), %r9
movq 0x48(%rsp), %rdi
movq 0x78(%rsp), %r15
movzbl (%r15,%rcx), %edx
movl (%rax,%rdx,4), %edx
movl %edx, (%rdi,%rcx,4)
incq %rcx
cmpq %rcx, %r14
jne 0x2ad1c3
jmp 0x2ad0f8
cmpl $0x0, 0x18(%rsp)
jle 0x2ad3aa
leaq -0x1(%r14), %rax
movq %rax, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movq 0x38(%rsp), %r8
shrl %r8d
shlq $0x3, %r8
movl %r12d, %eax
negl %eax
movq %rax, 0x8(%rsp)
movl %ebp, %ecx
negl %ecx
leal (%r12,%r12), %edx
movdqa 0x37bc76(%rip), %xmm1   # 0x628e90
xorl %esi, %esi
movdqa 0x37bc7c(%rip), %xmm2   # 0x628ea0
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x37bcbc(%rip), %xmm4   # 0x628ef0
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edi
notl %edi
testb $0x1, %dil
je 0x2ad26f
movq 0x20(%rsp), %rdi
movl %ecx, 0x4(%rdi,%rsi)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edi
testb $0x1, %dil
je 0x2ad29c
movq 0x8(%rsp), %rax
leal (%rax,%rcx), %edi
movl %r10d, %eax
movq %r8, %r10
movq 0x20(%rsp), %r8
movl %edi, 0x8(%r8,%rsi)
movq %r10, %r8
movl %eax, %r10d
paddq %xmm4, %xmm1
addq $0x8, %rsi
subl %edx, %ecx
cmpq %rsi, %r8
jne 0x2ad234
movq 0x18(%rsp), %rax
addl $0x3, %eax
andl $-0x4, %eax
leaq -0x1(%r14), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x37bbb4(%rip), %xmm1   # 0x628e80
movdqa 0x37bbbc(%rip), %xmm2   # 0x628e90
xorl %ecx, %ecx
movdqa 0x37bbc2(%rip), %xmm3   # 0x628ea0
pxor %xmm3, %xmm0
pcmpeqd %xmm4, %xmm4
movdqa 0x37bbc2(%rip), %xmm5   # 0x628eb0
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %edx
notl %edx
testb $0x1, %dl
je 0x2ad329
movl $0xc0000000, (%rbx,%rcx,4) # imm = 0xC0000000
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x2ad33f
movl $0xc0000000, 0x4(%rbx,%rcx,4) # imm = 0xC0000000
movdqa %xmm1, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
pxor %xmm4, %xmm6
pextrw $0x0, %xmm6, %edx
testb $0x1, %dl
je 0x2ad37e
movl $0xc0000000, 0x8(%rbx,%rcx,4) # imm = 0xC0000000
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x2ad390
movl $0xc0000000, 0xc(%rbx,%rcx,4) # imm = 0xC0000000
addq $0x4, %rcx
paddq %xmm5, %xmm2
paddq %xmm5, %xmm1
cmpq %rcx, %rax
jne 0x2ad2ee
movb $0x1, %sil
jmp 0x2ad3ac
xorl %esi, %esi
movq 0x40(%rsp), %rax
leal -0x1(%rax), %edx
cmpl $0x1, %eax
movl %esi, 0x38(%rsp)
movl %edx, 0x10(%rsp)
jne 0x2ad3e1
movl $0x1, %eax
movq %rax, 0x40(%rsp)
movl $0xc0000000, 0x8(%rsp)  # imm = 0xC0000000
movq 0x18(%rsp), %rax
movl %eax, 0x14(%rsp)
jmp 0x2ad63a
movq 0x18(%rsp), %rcx
leal -0x1(%rcx), %eax
movl %eax, 0x84(%rsp)
cltq
movq %rax, 0x78(%rsp)
cmpl $0x2, %edx
movl $0x1, %r8d
cmovgel %edx, %r8d
movl $0xc0000000, 0x8(%rsp)  # imm = 0xC0000000
movq 0x58(%rsp), %rdi
xorl %eax, %eax
movl %ecx, 0x14(%rsp)
movq %r8, 0x70(%rsp)
testb %sil, %sil
je 0x2ad5c9
movq %rdi, %rdx
xorl %r8d, %r8d
movl (%r15,%r8,4), %ecx
subl %ebp, %ecx
movl (%rbx,%r8,4), %r9d
subl %r12d, %r9d
cmpl %ecx, %r9d
cmovlel %ecx, %r9d
movl %r9d, (%rbx,%r8,4)
setge %cl
shlb $0x3, %cl
addb $0x8, %cl
movb %cl, (%rdx)
incq %r8
addq %r13, %rdx
cmpq %r8, %r14
jne 0x2ad42b
movl %eax, %edx
imull %r12d, %edx
addl %ebp, %edx
negl %edx
cmpl $0x0, 0xd8(%rsp)
movl $0x0, %ecx
cmovnel %ecx, %edx
movq 0x28(%rsp), %r9
movl %edx, (%r9)
movl 0x38(%rsp), %esi
testb %sil, %sil
je 0x2ad5f5
movq 0x8(%r11), %r8
xorl %r10d, %r10d
cmpl $0x0, 0x30(%r11)
movl 0x18(%r11), %r11d
je 0x2ad4a0
imull %r10d, %r11d
jmp 0x2ad4aa
movq 0x48(%rsp), %rcx
imull (%rcx,%r10,4), %r11d
movq 0x50(%rsp), %rcx
movslq (%rcx,%rax,4), %rcx
movslq %r11d, %r9
addq %rcx, %r9
movq 0x20(%rsp), %rcx
movl (%rcx,%r10,4), %ecx
addl (%r8,%r9,4), %ecx
movl (%rbx,%r10,4), %r9d
cmpl %r9d, %ecx
cmovgl %ecx, %r9d
movq 0x28(%rsp), %rsi
movl %r9d, 0x4(%rsi,%r10,4)
xorl %r9d, %r9d
cmpl %ecx, (%rbx,%r10,4)
setg %r9b
movq 0x30(%rsp), %rcx
movl %r9d, (%rcx,%r10,4)
incq %r10
cmpq %r10, %r14
movq 0xc0(%rsp), %r11
jne 0x2ad48f
movl 0x38(%rsp), %esi
testb %sil, %sil
je 0x2ad5e8
movl $0xc0000000, %ecx       # imm = 0xC0000000
movq %rdi, %r11
xorl %r10d, %r10d
movl %ecx, %r9d
movq 0x28(%rsp), %rsi
movl (%rsi,%r10,4), %ecx
subl %r12d, %r9d
cmpl %r9d, %ecx
cmovlel %r9d, %ecx
movl %ecx, %r8d
subl %ebp, %r8d
cmpl %r9d, -0x4(%r15,%r10,4)
setle %r9b
shlb $0x5, %r9b
addb $0x20, %r9b
orb %r9b, (%r11)
movl 0x4(%rsi,%r10,4), %r9d
cmpl %r8d, %r9d
jle 0x2ad572
movl %r9d, (%r15,%r10,4)
xorl %r8d, %r8d
movq 0x30(%rsp), %rsi
cmpl $0x0, (%rsi,%r10,4)
sete %r8b
leal (%r8,%r8,2), %r8d
incl %r8d
orb %r8b, (%r11)
jmp 0x2ad59f
movl %r8d, (%r15,%r10,4)
cmpl %r8d, 0x4(%rsi,%r10,4)
jne 0x2ad592
movq 0x30(%rsp), %rsi
cmpl $0x0, (%rsi,%r10,4)
movb (%r11), %r8b
je 0x2ad598
orb $0x2, %r8b
jmp 0x2ad59c
orb $0x2, (%r11)
jmp 0x2ad59f
orb $0x4, %r8b
movb %r8b, (%r11)
incq %r10
addq %r13, %r11
cmpq %r10, %r14
jne 0x2ad517
movq 0xc0(%rsp), %r11
movl 0xe0(%rsp), %r10d
movq 0x28(%rsp), %r9
movl 0x38(%rsp), %esi
jmp 0x2ad5f5
movl %eax, %edx
imull %r12d, %edx
addl %ebp, %edx
negl %edx
cmpl $0x0, 0xd8(%rsp)
movl $0x0, %ecx
cmovnel %ecx, %edx
movl %edx, (%r9)
jmp 0x2ad5fa
movl 0xe0(%rsp), %r10d
movq 0x28(%rsp), %r9
movq 0x70(%rsp), %r8
movq 0x20(%rsp), %rcx
movl %edx, (%rcx)
testl %r10d, %r10d
je 0x2ad62b
movq 0x78(%rsp), %rcx
movl (%r15,%rcx,4), %ecx
cmpl 0x8(%rsp), %ecx
jle 0x2ad62b
movl %ecx, 0x8(%rsp)
movl 0x84(%rsp), %ecx
movl %ecx, 0x14(%rsp)
movl %eax, %ecx
movq %rcx, 0x40(%rsp)
incq %rax
incq %rdi
cmpq %r8, %rax
jne 0x2ad41c
testb %sil, %sil
je 0x2ad7d1
movl 0x10(%rsp), %eax
movq 0x58(%rsp), %rcx
leaq (%rcx,%rax), %rdx
xorl %edi, %edi
movl (%r15,%rdi,4), %ecx
subl %ebp, %ecx
movl (%rbx,%rdi,4), %r8d
subl %r12d, %r8d
cmpl %ecx, %r8d
cmovlel %ecx, %r8d
movl %r8d, (%rbx,%rdi,4)
setge %cl
shlb $0x3, %cl
addb $0x8, %cl
movb %cl, (%rdx)
incq %rdi
addq %r13, %rdx
cmpq %rdi, %r14
jne 0x2ad652
movl 0x10(%rsp), %ecx
imull %r12d, %ecx
addl %ebp, %ecx
negl %ecx
xorl %edx, %edx
cmpl $0x0, 0xd8(%rsp)
cmovel %ecx, %edx
movl %edx, (%r9)
cmpb $0x0, 0x38(%rsp)
je 0x2ad7ee
movq 0x8(%r11), %rdx
xorl %edi, %edi
cmpl $0x0, 0x30(%r11)
movl 0x18(%r11), %r8d
je 0x2ad6be
imull %edi, %r8d
jmp 0x2ad6c8
movq 0x48(%rsp), %rcx
imull (%rcx,%rdi,4), %r8d
movq 0x50(%rsp), %rcx
movslq (%rcx,%rax,4), %rcx
movslq %r8d, %r8
addq %rcx, %r8
movq 0x20(%rsp), %rcx
movl (%rcx,%rdi,4), %ecx
addl (%rdx,%r8,4), %ecx
movl (%rbx,%rdi,4), %r8d
cmpl %r8d, %ecx
cmovgl %ecx, %r8d
movl %r8d, 0x4(%r9,%rdi,4)
xorl %r8d, %r8d
cmpl %ecx, (%rbx,%rdi,4)
setg %r8b
movq 0x30(%rsp), %rcx
movl %r8d, (%rcx,%rdi,4)
incq %rdi
cmpq %rdi, %r14
jne 0x2ad6ad
cmpb $0x0, 0x38(%rsp)
movl 0xd0(%rsp), %r8d
je 0x2ad7f6
movq 0x58(%rsp), %r11
addq %rax, %r11
movl $0xc0000000, %edx       # imm = 0xC0000000
xorl %eax, %eax
movq 0x30(%rsp), %rdi
movl %edx, %esi
movl (%r9,%rax,4), %edx
subl %r12d, %esi
cmpl %esi, %edx
cmovlel %esi, %edx
movl %edx, %ecx
subl %ebp, %ecx
cmpl %esi, -0x4(%r15,%rax,4)
setle %sil
shlb $0x5, %sil
addb $0x20, %sil
orb %sil, (%r11)
movl 0x4(%r9,%rax,4), %esi
cmpl %ecx, %esi
jle 0x2ad77b
movl %esi, (%r15,%rax,4)
xorl %ecx, %ecx
cmpl $0x0, (%rdi,%rax,4)
sete %cl
leal (%rcx,%rcx,2), %ecx
incl %ecx
orb %cl, (%r11)
jmp 0x2ad7a0
movl %ecx, (%r15,%rax,4)
cmpl %ecx, 0x4(%r9,%rax,4)
jne 0x2ad794
cmpl $0x0, (%rdi,%rax,4)
movb (%r11), %cl
je 0x2ad79a
orb $0x2, %cl
jmp 0x2ad79d
orb $0x2, (%r11)
jmp 0x2ad7a0
orb $0x4, %cl
movb %cl, (%r11)
testl %r8d, %r8d
je 0x2ad7c0
movl (%r15,%rax,4), %ecx
cmpl 0x8(%rsp), %ecx
jle 0x2ad7c0
movl %ecx, 0x8(%rsp)
movl %eax, 0x14(%rsp)
movl 0x10(%rsp), %ecx
movq %rcx, 0x40(%rsp)
incq %rax
addq %r13, %r11
cmpq %rax, %r14
jne 0x2ad735
jmp 0x2ad7fb
imull 0x10(%rsp), %r12d
addl %ebp, %r12d
negl %r12d
xorl %eax, %eax
cmpl $0x0, 0xd8(%rsp)
cmovel %r12d, %eax
movl %eax, (%r9)
movl 0xd0(%rsp), %r8d
movq 0x30(%rsp), %rdi
testl %r10d, %r10d
je 0x2ad832
movq 0x60(%rsp), %rax
movl -0x4(%r15,%rax,4), %eax
cmpl 0x8(%rsp), %eax
movq 0x40(%rsp), %rcx
movq 0x68(%rsp), %r14
movl 0x14(%rsp), %edx
jle 0x2ad840
movq 0x18(%rsp), %rcx
leal -0x1(%rcx), %edx
movl %eax, 0x8(%rsp)
movl 0x10(%rsp), %eax
movl %eax, %ecx
jmp 0x2ad840
movq 0x40(%rsp), %rcx
movq 0x68(%rsp), %r14
movl 0x14(%rsp), %edx
orl %r8d, %r10d
jne 0x2ad862
movq 0x18(%rsp), %rax
decl %eax
movq 0x60(%rsp), %rcx
movl -0x4(%r15,%rcx,4), %ecx
movl %ecx, 0x8(%rsp)
movl %eax, %edx
movl 0x10(%rsp), %eax
movl %eax, %ecx
movl 0x8(%rsp), %eax
movl %eax, (%r14)
movl %edx, 0x4(%r14)
movl %ecx, 0x8(%r14)
callq 0x20a60d
movq 0x28(%rsp), %rdi
callq 0x20a60d
movq %rbx, %rdi
callq 0x20a60d
movq 0x20(%rsp), %rdi
callq 0x20a60d
movq 0x50(%rsp), %rdi
callq 0x20a60d
movq 0xc0(%rsp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2ad8b4
movq 0x48(%rsp), %rdi
callq 0x20a60d
movq %r14, %rax
jmp 0x2ad8f4
callq 0x1a2339
jmp 0x2ad8f2
callq 0x1a2313
jmp 0x2ad8f2
callq 0x1a22ed
jmp 0x2ad8f2
callq 0x1a22c7
jmp 0x2ad8f2
callq 0x1a22a1
jmp 0x2ad8f2
movq 0x28(%rsp), %r9
jmp 0x2ad0f8
callq 0x1a227b
jmp 0x2ad8f2
callq 0x1a2255
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq