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

    /* validate heap variables */
    if (!s2) return NULL;
    if (!HB) return NULL;
    if (!E) return NULL;
    if (!HtB) 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) {
            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]);
        }
        Ht[-1] = s2_beg ? 0 : (-open -j*gap);
        /* 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;
            H[i] = MAX(Ht[i], Ft_opn);
#ifdef PARASAIL_TABLE
            result->tables->score_table[i*s2Len + j] = H[i];
#endif
        }
        H[-1] = s2_beg ? 0 : (-open - j*gap);
#ifdef PARASAIL_ROWCOL
        result->rowcols->score_row[j] = H[s1Len-1];
#endif
        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) {
            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]);
        }
        Ht[-1] = s2_beg ? 0 : (-open -j*gap);
        /* 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;
            H[i] = MAX(Ht[i], Ft_opn);
#ifdef PARASAIL_TABLE
            result->tables->score_table[i*s2Len + j] = H[i];
#endif
#ifdef PARASAIL_ROWCOL
            result->rowcols->score_col[i] = H[i];
#endif
            if (s1_end && H[i] > score) {
                score = H[i];
                end_query = i;
                end_ref = j;
            }
        }
#ifdef PARASAIL_ROWCOL
        result->rowcols->score_row[j] = H[s1Len-1];
#endif
    }
    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(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 $0x58, %rsp
testq %rdx, %rdx
je 0x2a7171
movl %ecx, %r15d
testl %ecx, %ecx
jle 0x2a717b
movl %r8d, %ebp
testl %r8d, %r8d
js 0x2a76e2
movl %r9d, %r12d
testl %r9d, %r9d
js 0x2a76ec
movq 0x90(%rsp), %rax
testq %rax, %rax
je 0x2a76f6
movq %rdi, %r14
cmpl $0x0, 0x30(%rax)
je 0x2a6f35
movl 0x34(%rax), %ebx
jmp 0x2a6f48
testq %r14, %r14
je 0x2a7700
movl %esi, %ebx
testl %esi, %esi
jle 0x2a770a
movq %rdx, (%rsp)
movl %ebx, %edi
movl %r15d, %esi
callq 0x20ac53
testq %rax, %rax
je 0x2a7058
movq %r14, 0x50(%rsp)
xorl %edi, %edi
cmpl $0x0, 0x98(%rsp)
setne %dil
xorl %ecx, %ecx
cmpl $0x0, 0xa0(%rsp)
setne %cl
shll $0x4, %ecx
xorl %edx, %edx
cmpl $0x0, 0xa8(%rsp)
setne %dl
shll $0xe, %edx
xorl %esi, %esi
cmpl $0x0, 0xb0(%rsp)
setne %sil
shll $0xf, %esi
leal (%rcx,%rdi,8), %ecx
orl %edx, %ecx
orl %esi, %ecx
orl 0xc(%rax), %ecx
orl $0x1440202, %ecx        # imm = 0x1440202
movl %ecx, 0xc(%rax)
movl %r15d, %esi
movl $0x10, %edi
movq %rsi, 0x40(%rsp)
movq %rax, 0x30(%rsp)
callq 0x20a617
movq %rax, %r14
leal 0x1(%rbx), %eax
movq %r15, 0x18(%rsp)
movq %rax, 0x10(%rsp)
movslq %eax, %r15
movl $0x10, %edi
movq %r15, %rsi
callq 0x20a617
movq %rax, %r13
movslq %ebx, %rsi
movl $0x10, %edi
movq %rsi, 0x48(%rsp)
callq 0x20a617
movq %rbx, 0x8(%rsp)
movq %rax, %rbx
movl $0x10, %edi
movq %r15, %rsi
callq 0x20a617
movq %rax, %r15
movq %r14, %xmm0
movq %r13, %xmm1
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movq %rbx, %xmm1
movq %rax, %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, %eax
testl %eax, %eax
je 0x2a7069
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %r8
movq %r14, %rdi
movq 0x90(%rsp), %rsi
cmpl $0x0, 0x30(%rsi)
movl 0x8(%rsp), %r13d
movq %r14, 0x20(%rsp)
movq %r8, 0x28(%rsp)
je 0x2a7107
movq $0x0, 0x38(%rsp)
movl 0xb0(%rsp), %r9d
movq (%rsp), %r11
movq %r8, %r14
addq $0x4, %r14
movq 0x10(%rsi), %rax
xorl %ecx, %ecx
movl 0x98(%rsp), %esi
movq 0x40(%rsp), %r10
movzbl (%r11,%rcx), %edx
movl (%rax,%rdx,4), %edx
movl %edx, (%rdi,%rcx,4)
incq %rcx
cmpq %rcx, %r10
jne 0x2a70ba
xorl %eax, %eax
movl %eax, (%r8)
movl %eax, (%r15)
testl %esi, %esi
je 0x2a7185
cmpl $0x0, 0x8(%rsp)
jle 0x2a7337
leaq (,%r13,4), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x19e090
movl 0xb0(%rsp), %r9d
jmp 0x2a7236
movl $0x10, %edi
movq 0x48(%rsp), %rsi
callq 0x20a617
testq %rax, %rax
je 0x2a7058
cmpl $0x0, 0x8(%rsp)
movl 0xb0(%rsp), %r9d
movq (%rsp), %r11
movq %rax, 0x38(%rsp)
movq 0x90(%rsp), %rsi
jle 0x2a7714
movq 0x10(%rsi), %r10
xorl %ecx, %ecx
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %r8
movq 0x50(%rsp), %r14
movzbl (%r14,%rcx), %edx
movl (%r10,%rdx,4), %edx
movl %edx, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %r13
jne 0x2a7158
jmp 0x2a70a1
callq 0x1a1607
jmp 0x2a7058
callq 0x1a15e1
jmp 0x2a7058
cmpl $0x0, 0x8(%rsp)
jle 0x2a7337
leaq -0x1(%r13), %rax
movq %rax, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movq 0x10(%rsp), %r10
shrl %r10d
shlq $0x3, %r10
movl %r12d, %eax
negl %eax
movl %ebp, %ecx
negl %ecx
leal (%r12,%r12), %edx
movdqa 0x381cd1(%rip), %xmm1   # 0x628e90
xorl %esi, %esi
movdqa 0x381cd7(%rip), %xmm2   # 0x628ea0
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x381d17(%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 0x2a7210
movl %ecx, 0x4(%r8,%rsi)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edi
testb $0x1, %dil
je 0x2a7227
leal (%rax,%rcx), %edi
movl %edi, 0x8(%r8,%rsi)
paddq %xmm4, %xmm1
addq $0x8, %rsi
subl %edx, %ecx
cmpq %rsi, %r10
jne 0x2a71d9
movq 0x8(%rsp), %rax
addl $0x3, %eax
andl $-0x4, %eax
leaq -0x1(%r13), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x381c29(%rip), %xmm1   # 0x628e80
movdqa 0x381c31(%rip), %xmm2   # 0x628e90
xorl %ecx, %ecx
movdqa 0x381c37(%rip), %xmm3   # 0x628ea0
pxor %xmm3, %xmm0
pcmpeqd %xmm4, %xmm4
movdqa 0x381c37(%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 0x2a72b4
movl $0xc0000000, (%rbx,%rcx,4) # imm = 0xC0000000
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x2a72ca
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 0x2a7309
movl $0xc0000000, 0x8(%rbx,%rcx,4) # imm = 0xC0000000
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x2a731b
movl $0xc0000000, 0xc(%rbx,%rcx,4) # imm = 0xC0000000
addq $0x4, %rcx
paddq %xmm5, %xmm2
paddq %xmm5, %xmm1
cmpq %rcx, %rax
jne 0x2a7279
movb $0x1, %al
movl %eax, (%rsp)
jmp 0x2a733e
movl $0x0, (%rsp)
movq 0x18(%rsp), %rax
leal -0x1(%rax), %ecx
cmpl $0x1, %eax
movl %ecx, 0x10(%rsp)
jne 0x2a736a
movl $0x1, %eax
movq %rax, 0x18(%rsp)
movl $0xc0000000, %ecx       # imm = 0xC0000000
movq 0x8(%rsp), %rax
movl %eax, %edx
jmp 0x2a74fb
movq 0x8(%rsp), %rdx
leal -0x1(%rdx), %eax
movslq %eax, %rdi
cmpl $0x2, %ecx
movl $0x1, %eax
cmovgel %ecx, %eax
movq %rax, 0x40(%rsp)
movl $0xc0000000, %ecx       # imm = 0xC0000000
xorl %r10d, %r10d
cmpb $0x0, (%rsp)
je 0x2a748d
xorl %eax, %eax
movl (%rbx,%rax,4), %r9d
subl %r12d, %r9d
movl (%r14,%rax,4), %r11d
subl %ebp, %r11d
cmpl %r11d, %r9d
cmovgl %r9d, %r11d
movl %r11d, (%rbx,%rax,4)
incq %rax
cmpq %rax, %r13
jne 0x2a7399
cmpb $0x0, (%rsp)
movl 0xb0(%rsp), %r9d
je 0x2a748d
movq 0x90(%rsp), %rsi
movq 0x8(%rsi), %r11
xorl %eax, %eax
cmpl $0x0, 0x30(%rsi)
movl 0x18(%rsi), %r9d
je 0x2a73ea
imull %eax, %r9d
jmp 0x2a73f4
movq 0x38(%rsp), %r8
imull (%r8,%rax,4), %r9d
movq 0x20(%rsp), %r8
movslq (%r8,%r10,4), %r8
movslq %r9d, %r9
addq %r8, %r9
movq 0x28(%rsp), %r8
movl (%r8,%rax,4), %r8d
addl (%r11,%r9,4), %r8d
movl (%rbx,%rax,4), %r9d
cmpl %r9d, %r8d
cmovlel %r9d, %r8d
movl %r8d, 0x4(%r15,%rax,4)
incq %rax
cmpq %rax, %r13
jne 0x2a73da
movl %r10d, %r11d
imull %r12d, %r11d
addl %ebp, %r11d
negl %r11d
cmpl $0x0, 0xa8(%rsp)
movl $0x0, %eax
cmovnel %eax, %r11d
movl %r11d, (%r15)
cmpb $0x0, (%rsp)
je 0x2a7483
movl $0xc0000000, %eax       # imm = 0xC0000000
xorl %r9d, %r9d
subl %r12d, %eax
movl (%r15,%r9,4), %r8d
movl 0x4(%r15,%r9,4), %esi
cmpl %eax, %r8d
cmovgl %r8d, %eax
movl %eax, %r8d
subl %ebp, %r8d
cmpl %r8d, %esi
cmovgl %esi, %r8d
movl %r8d, (%r14,%r9,4)
incq %r9
cmpq %r9, %r13
jne 0x2a7457
movl 0xb0(%rsp), %r9d
jmp 0x2a74ae
movl %r10d, %r11d
imull %r12d, %r11d
addl %ebp, %r11d
negl %r11d
cmpl $0x0, 0xa8(%rsp)
movl $0x0, %eax
cmovnel %eax, %r11d
movl %r11d, (%r15)
testl %r9d, %r9d
setne %al
movq 0x28(%rsp), %rsi
movl %r11d, (%rsi)
movl 0x4(%rsi,%rdi,4), %esi
movq 0x30(%rsp), %r8
movq 0x10(%r8), %r8
movq (%r8), %r8
movl %esi, (%r8,%r10,4)
cmpl %ecx, %esi
setg %r8b
testb %r8b, %al
cmovnel %esi, %ecx
cmovnel %edi, %edx
movq 0x18(%rsp), %rax
cmovnel %r10d, %eax
movq %rax, 0x18(%rsp)
incq %r10
cmpq 0x40(%rsp), %r10
jne 0x2a738d
movl 0x10(%rsp), %edi
cmpb $0x0, (%rsp)
movq 0x30(%rsp), %r10
movl 0xa0(%rsp), %r11d
movl 0xa8(%rsp), %r9d
je 0x2a7626
xorl %eax, %eax
movl (%rbx,%rax,4), %esi
subl %r12d, %esi
movl (%r14,%rax,4), %r8d
subl %ebp, %r8d
cmpl %r8d, %esi
cmovgl %esi, %r8d
movl %r8d, (%rbx,%rax,4)
incq %rax
cmpq %rax, %r13
jne 0x2a7520
cmpb $0x0, (%rsp)
je 0x2a7626
movq 0x90(%rsp), %rax
movq 0x8(%rax), %r8
xorl %r9d, %r9d
movq 0x90(%rsp), %rax
cmpl $0x0, 0x30(%rax)
movl 0x18(%rax), %eax
je 0x2a7570
imull %r9d, %eax
jmp 0x2a757a
movq 0x38(%rsp), %rsi
imull (%rsi,%r9,4), %eax
movq 0x20(%rsp), %rsi
movslq (%rsi,%rdi,4), %rsi
cltq
addq %rsi, %rax
movq 0x28(%rsp), %rsi
movl (%rsi,%r9,4), %esi
addl (%r8,%rax,4), %esi
movl (%rbx,%r9,4), %eax
cmpl %eax, %esi
cmovlel %eax, %esi
movl %esi, 0x4(%r15,%r9,4)
incq %r9
cmpq %r9, %r13
jne 0x2a7559
movl 0x10(%rsp), %eax
imull %r12d, %eax
addl %ebp, %eax
negl %eax
xorl %esi, %esi
cmpl $0x0, 0xa8(%rsp)
cmovel %eax, %esi
movl %esi, (%r15)
cmpb $0x0, (%rsp)
je 0x2a763e
movl $0xc0000000, %esi       # imm = 0xC0000000
xorl %r8d, %r8d
subl %r12d, %esi
movl (%r15,%r8,4), %eax
movl 0x4(%r15,%r8,4), %r9d
cmpl %esi, %eax
cmovgl %eax, %esi
movl %esi, %eax
subl %ebp, %eax
cmpl %eax, %r9d
cmovgl %r9d, %eax
movl %eax, (%r14,%r8,4)
movq 0x10(%r10), %r9
movq 0x8(%r9), %r9
movl %eax, (%r9,%r8,4)
testl %r11d, %r11d
je 0x2a761c
movl (%r14,%r8,4), %eax
cmpl %ecx, %eax
jle 0x2a761c
movl %eax, %ecx
movl %r8d, %edx
movl 0x10(%rsp), %eax
movq %rax, 0x18(%rsp)
incq %r8
cmpq %r8, %r13
jne 0x2a75d5
jmp 0x2a763e
imull 0x10(%rsp), %r12d
addl %ebp, %r12d
negl %r12d
xorl %eax, %eax
testl %r9d, %r9d
cmovel %r12d, %eax
movl %eax, (%r15)
movl 0xb0(%rsp), %r9d
testl %r9d, %r9d
setne %al
movl %r11d, %ebp
movq 0x8(%rsp), %r11
decl %r11d
movq 0x28(%rsp), %r14
movq 0x48(%rsp), %rsi
movl (%r14,%rsi,4), %esi
cmpl %ecx, %esi
setg %r8b
andb %al, %r8b
movq 0x10(%r10), %rax
movq (%rax), %rax
orl %r9d, %ebp
sete %r9b
orb %r8b, %r9b
cmovnel %esi, %ecx
cmovel %edx, %r11d
movq 0x18(%rsp), %rdx
cmovnel 0x10(%rsp), %edx
movl %esi, (%rax,%rdi,4)
movl %ecx, (%r10)
movl %r11d, 0x4(%r10)
movl %edx, 0x8(%r10)
movq %r15, %rdi
callq 0x20a60d
movq %rbx, %rdi
callq 0x20a60d
movq %r14, %rdi
callq 0x20a60d
movq 0x20(%rsp), %rdi
callq 0x20a60d
movq 0x90(%rsp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2a76d8
movq 0x38(%rsp), %rdi
callq 0x20a60d
movq 0x30(%rsp), %rax
jmp 0x2a705a
callq 0x1a15bb
jmp 0x2a7058
callq 0x1a1595
jmp 0x2a7058
callq 0x1a156f
jmp 0x2a7058
callq 0x1a1549
jmp 0x2a7058
callq 0x1a1523
jmp 0x2a7058
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %r8
jmp 0x2a70a1