// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/tests/test_verify_tables.c
// Function: check_functions
static void check_functions(
        parasail_function_group_t f,
        parasail_sequences_t *sequences,
        unsigned long pair_limit_,
        const parasail_matrix_t *matrix_,
        gap_score_t gap)
{
    const parasail_function_info_t *functions = f.fs;
    unsigned long matrix_index = 0;
    unsigned long gap_index = 0;
    unsigned long function_index = 0;
    long long pair_index = 0;
    long long pair_limit = (long long)pair_limit_;
    parasail_function_t *reference_function = NULL;
    const parasail_matrix_t ** matrices = parasail_matrices;
    const parasail_matrix_t * single_matrix[] = {
        matrix_,
        NULL
    };

    if (NULL != matrix_) {
        matrices = single_matrix;
    }

    printf("checking %s functions\n", f.name);
    for (matrix_index=0; NULL!=matrices[matrix_index]; ++matrix_index) {
        const parasail_matrix_t *matrix = matrices[matrix_index];
        const char *matrixname = matrix->name;
        if (verbose) printf("\t%s\n", matrixname);
        for (gap_index=0; INT_MIN!=gap_scores[gap_index].open; ++gap_index) {
            int open = gap_scores[gap_index].open;
            int extend = gap_scores[gap_index].extend;
            if (gap.open != INT_MIN && gap.extend != INT_MIN) {
                open = gap.open;
                extend = gap.extend;
            }
            if (verbose) printf("\t\topen=%d extend=%d\n", open, extend);
            reference_function = functions[0].pointer;
            for (function_index=1;
                    NULL!=functions[function_index].pointer;
                    ++function_index) {
                unsigned long saturated = 0;
                if (verbose) printf("\t\t\t%s\n", functions[function_index].name);
#pragma omp parallel for
                for (pair_index=0; pair_index<pair_limit; ++pair_index) {
                    parasail_result_t *reference_result = NULL;
                    parasail_result_t *result = NULL;
                    unsigned long a = 0;
                    unsigned long b = 1;
                    int *ref_score_table = NULL;
                    int *score_table = NULL;
                    size_t size_a = 0;
                    size_t size_b = 0;
                    k_combination2(pair_index, &a, &b);
                    size_a = sequences->seqs[a].seq.l;
                    size_b = sequences->seqs[b].seq.l;
                    /*if (verbose) printf("\t\t\t\tpair=%lld (%lu,%lu)\n", pair_index, a, b);*/
                    reference_result = reference_function(
                            sequences->seqs[a].seq.s, size_a,
                            sequences->seqs[b].seq.s, size_b,
                            open, extend,
                            matrix);
                    result = functions[function_index].pointer(
                            sequences->seqs[a].seq.s, size_a,
                            sequences->seqs[b].seq.s, size_b,
                            open, extend,
                            matrix);
                    if (parasail_result_is_saturated(result)) {
                        /* no point in comparing a result that saturated */
                        parasail_result_free(reference_result);
                        parasail_result_free(result);
#pragma omp atomic
                        saturated += 1;
                        continue;
                    }
                    ref_score_table = parasail_result_get_score_table(reference_result);
                    score_table = parasail_result_get_score_table(result);
                    if (reference_result->score != result->score) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) wrong score (%d!=%d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    reference_result->score, result->score);
                            if (exit_on_mismatch) exit(EXIT_FAILURE);
                        }
                    }
                    if (reference_result->end_query != result->end_query) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) wrong end_query (%d!=%d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    reference_result->end_query, result->end_query);
                            if (exit_on_mismatch) exit(EXIT_FAILURE);
                        }
                    }
                    if (reference_result->end_ref != result->end_ref) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) wrong end_ref (%d!=%d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    reference_result->end_ref, result->end_ref);
                            if (exit_on_mismatch) exit(EXIT_FAILURE);
                        }
                    }
                    if (diff_array(size_a, size_b, ref_score_table, score_table)) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) bad score table\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname);
                            if (exit_on_mismatch) exit(EXIT_FAILURE);
                        }
                    }
                    if (parasail_result_is_stats(result)) {
                        int ref_matches = parasail_result_get_matches(reference_result);
                        int ref_similar = parasail_result_get_similar(reference_result);
                        int ref_length = parasail_result_get_length(reference_result);
                        int matches = parasail_result_get_matches(result);
                        int similar = parasail_result_get_similar(result);
                        int length = parasail_result_get_length(result);
                        int *ref_matches_table = parasail_result_get_matches_table(reference_result);
                        int *ref_similar_table = parasail_result_get_similar_table(reference_result);
                        int *ref_length_table = parasail_result_get_length_table(reference_result);
                        int *matches_table = parasail_result_get_matches_table(result);
                        int *similar_table = parasail_result_get_similar_table(result);
                        int *length_table = parasail_result_get_length_table(result);
                        if (diff_array(size_a, size_b, ref_matches_table, matches_table)) {
#pragma omp critical(printer)
                            {
                                printf("%s(%lu,%lu,%d,%d,%s) bad matches table\n",
                                        functions[function_index].name,
                                        a, b, open, extend,
                                        matrixname);
                                if (exit_on_mismatch) exit(EXIT_FAILURE);
                            }
                        }
                        if (ref_matches != matches) {
#pragma omp critical(printer)
                            {
                                printf("%s(%lu,%lu,%d,%d,%s) wrong matches (%d!=%d)\n",
                                        functions[function_index].name,
                                        a, b, open, extend,
                                        matrixname,
                                        ref_matches, matches);
                                if (exit_on_mismatch) exit(EXIT_FAILURE);
                            }
                        }
                        if (diff_array(size_a, size_b, ref_similar_table, similar_table)) {
#pragma omp critical(printer)
                            {
                                printf("%s(%lu,%lu,%d,%d,%s) bad similar table\n",
                                        functions[function_index].name,
                                        a, b, open, extend,
                                        matrixname);
                                if (exit_on_mismatch) exit(EXIT_FAILURE);
                            }
                        }
                        if (ref_similar != similar) {
#pragma omp critical(printer)
                            {
                                printf("%s(%lu,%lu,%d,%d,%s) wrong similar (%d!=%d)\n",
                                        functions[function_index].name,
                                        a, b, open, extend,
                                        matrixname,
                                        ref_similar, similar);
                                if (exit_on_mismatch) exit(EXIT_FAILURE);
                            }
                        }
                        if (diff_array(size_a, size_b, ref_length_table, length_table)) {
#pragma omp critical(printer)
                            {
                                printf("%s(%lu,%lu,%d,%d,%s) bad length table\n",
                                        functions[function_index].name,
                                        a, b, open, extend,
                                        matrixname);
                                if (exit_on_mismatch) exit(EXIT_FAILURE);
                            }
                        }
                        if (ref_length != length) {
#pragma omp critical(printer)
                            {
                                printf("%s(%lu,%lu,%d,%d,%s) wrong length (%d!=%d)\n",
                                        functions[function_index].name,
                                        a, b, open, extend,
                                        matrixname,
                                        ref_length, length);
                                if (exit_on_mismatch) exit(EXIT_FAILURE);
                            }
                        }
                    }
                    parasail_result_free(reference_result);
                    parasail_result_free(result);
                }
                if (verbose && saturated) {
                    printf("%s %d %d %s saturated %lu times\n",
                            functions[function_index].name,
                            open, extend,
                            matrixname,
                            saturated);
                }
            }
            if (gap.open != INT_MIN && gap.extend != INT_MIN) {
                /* user-specified gap, don't loop */
                break;
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x10(%rbp)
movq %rsi, -0x8(%rbp)
movq %r9, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
leaq 0xba3a6e(%rip), %rax    # 0xcf0960
movq %rax, -0x70(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x80(%rbp)
movq $0x0, -0x78(%rbp)
xorl %eax, %eax
cmpq -0x30(%rbp), %rax
je 0x14cf16
leaq -0x80(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rsi
leaq 0xad5d1f(%rip), %rdi    # 0xc22c40
movb $0x0, %al
callq 0x14b040
movq $0x0, -0x40(%rbp)
movq -0x70(%rbp), %rcx
movq -0x40(%rbp), %rdx
xorl %eax, %eax
cmpq (%rcx,%rdx,8), %rax
je 0x14d94f
movq -0x70(%rbp), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x90(%rbp)
cmpl $0x0, 0xbc3e3d(%rip)    # 0xd10dac
je 0x14cf86
movq -0x90(%rbp), %rsi
leaq 0xad5cef(%rip), %rdi    # 0xc22c6e
movb $0x0, %al
callq 0x14b040
movq $0x0, -0x48(%rbp)
movq -0x48(%rbp), %rdx
movl $0x80000000, %eax       # imm = 0x80000000
leaq 0xba3172(%rip), %rcx    # 0xcf0110
cmpl (%rcx,%rdx,8), %eax
je 0x14d93c
movq -0x48(%rbp), %rcx
leaq 0xba315e(%rip), %rax    # 0xcf0110
movl (%rax,%rcx,8), %eax
movl %eax, -0x94(%rbp)
movq -0x48(%rbp), %rcx
leaq 0xba314a(%rip), %rax    # 0xcf0110
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x98(%rbp)
cmpl $0x80000000, -0x18(%rbp) # imm = 0x80000000
je 0x14cff4
cmpl $0x80000000, -0x14(%rbp) # imm = 0x80000000
je 0x14cff4
movl -0x18(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x98(%rbp)
cmpl $0x0, 0xbc3db1(%rip)    # 0xd10dac
je 0x14d017
movl -0x94(%rbp), %esi
movl -0x98(%rbp), %edx
leaq 0xad5c47(%rip), %rdi    # 0xc22c57
movb $0x0, %al
callq 0x14b040
movq -0x38(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x68(%rbp)
movq $0x1, -0x50(%rbp)
movq -0x38(%rbp), %rcx
imulq $0x48, -0x50(%rbp), %rax
addq %rax, %rcx
xorl %eax, %eax
cmpq (%rcx), %rax
je 0x14d915
movq $0x0, -0xa0(%rbp)
cmpl $0x0, 0xbc3d59(%rip)    # 0xd10dac
je 0x14d073
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0xad5c00(%rip), %rdi    # 0xc22c6c
movb $0x0, %al
callq 0x14b040
movq $0x0, -0x58(%rbp)
movq -0x58(%rbp), %rax
cmpq -0x60(%rbp), %rax
jge 0x14d8b7
movq $0x0, -0xa8(%rbp)
movq $0x0, -0xb0(%rbp)
movq $0x0, -0xb8(%rbp)
movq $0x1, -0xc0(%rbp)
movq $0x0, -0xc8(%rbp)
movq $0x0, -0xd0(%rbp)
movq $0x0, -0xd8(%rbp)
movq $0x0, -0xe0(%rbp)
movq -0x58(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
callq 0x14d960
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xb8(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x20(%rax), %rax
movq %rax, -0xd8(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xc0(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x20(%rax), %rax
movq %rax, -0xe0(%rbp)
movq -0x68(%rbp), %rax
movq -0x20(%rbp), %rcx
movq (%rcx), %rcx
movq -0xb8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdi
movq -0xd8(%rbp), %rcx
movl %ecx, %esi
movq -0x20(%rbp), %rcx
movq (%rcx), %rcx
movq -0xc0(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdx
movq -0xe0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x88(%rbp), %r10
movq %r10, (%rsp)
callq *%rax
movq %rax, -0xa8(%rbp)
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq (%rax), %rax
movq -0x20(%rbp), %rcx
movq (%rcx), %rcx
movq -0xb8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdi
movq -0xd8(%rbp), %rcx
movl %ecx, %esi
movq -0x20(%rbp), %rcx
movq (%rcx), %rcx
movq -0xc0(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdx
movq -0xe0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x88(%rbp), %r10
movq %r10, (%rsp)
callq *%rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x150ef0
cmpl $0x0, %eax
je 0x14d253
movq -0xa8(%rbp), %rdi
callq 0x14f0f0
movq -0xb0(%rbp), %rdi
callq 0x14f0f0
movq -0xa0(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xa0(%rbp)
jmp 0x14d8a6
movq -0xa8(%rbp), %rdi
callq 0x1516d0
movq %rax, -0xc8(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x1516d0
movq %rax, -0xd0(%rbp)
movq -0xa8(%rbp), %rax
movl (%rax), %eax
movq -0xb0(%rbp), %rcx
cmpl (%rcx), %eax
je 0x14d303
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %r11
movq -0xa8(%rbp), %rax
movl (%rax), %r10d
movq -0xb0(%rbp), %rax
movl (%rax), %eax
leaq 0xad5999(%rip), %rdi    # 0xc22c73
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc3abb(%rip)    # 0xd10db0
je 0x14d301
movl $0x1, %edi
callq 0x14b150
jmp 0x14d303
movq -0xa8(%rbp), %rax
movl 0x4(%rax), %eax
movq -0xb0(%rbp), %rcx
cmpl 0x4(%rcx), %eax
je 0x14d391
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %r11
movq -0xa8(%rbp), %rax
movl 0x4(%rax), %r10d
movq -0xb0(%rbp), %rax
movl 0x4(%rax), %eax
leaq 0xad5936(%rip), %rdi    # 0xc22c9e
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc3a2d(%rip)    # 0xd10db0
je 0x14d38f
movl $0x1, %edi
callq 0x14b150
jmp 0x14d391
movq -0xa8(%rbp), %rax
movl 0x8(%rax), %eax
movq -0xb0(%rbp), %rcx
cmpl 0x8(%rcx), %eax
je 0x14d41f
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %r11
movq -0xa8(%rbp), %rax
movl 0x8(%rax), %r10d
movq -0xb0(%rbp), %rax
movl 0x8(%rax), %eax
leaq 0xad58d7(%rip), %rdi    # 0xc22ccd
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc399f(%rip)    # 0xd10db0
je 0x14d41d
movl $0x1, %edi
callq 0x14b150
jmp 0x14d41f
movq -0xd8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
callq 0x14daf0
cmpl $0x0, %eax
je 0x14d49f
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %rax
leaq 0xad587b(%rip), %rdi    # 0xc22cfa
movq %rax, (%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc391f(%rip)    # 0xd10db0
je 0x14d49d
movl $0x1, %edi
callq 0x14b150
jmp 0x14d49f
movq -0xb0(%rbp), %rdi
callq 0x151130
cmpl $0x0, %eax
je 0x14d88e
movq -0xa8(%rbp), %rdi
callq 0x1514f0
movl %eax, -0xe4(%rbp)
movq -0xa8(%rbp), %rdi
callq 0x151590
movl %eax, -0xe8(%rbp)
movq -0xa8(%rbp), %rdi
callq 0x151630
movl %eax, -0xec(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x1514f0
movl %eax, -0xf0(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x151590
movl %eax, -0xf4(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x151630
movl %eax, -0xf8(%rbp)
movq -0xa8(%rbp), %rdi
callq 0x1517c0
movq %rax, -0x100(%rbp)
movq -0xa8(%rbp), %rdi
callq 0x151870
movq %rax, -0x108(%rbp)
movq -0xa8(%rbp), %rdi
callq 0x151920
movq %rax, -0x110(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x1517c0
movq %rax, -0x118(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x151870
movq %rax, -0x120(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x151920
movq %rax, -0x128(%rbp)
movq -0xd8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq -0x100(%rbp), %rdx
movq -0x118(%rbp), %rcx
callq 0x14daf0
cmpl $0x0, %eax
je 0x14d612
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %rax
leaq 0xad572e(%rip), %rdi    # 0xc22d20
movq %rax, (%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc37ac(%rip)    # 0xd10db0
je 0x14d610
movl $0x1, %edi
callq 0x14b150
jmp 0x14d612
movl -0xe4(%rbp), %eax
cmpl -0xf0(%rbp), %eax
je 0x14d690
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %r11
movl -0xe4(%rbp), %r10d
movl -0xf0(%rbp), %eax
leaq 0xad56e1(%rip), %rdi    # 0xc22d48
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc372e(%rip)    # 0xd10db0
je 0x14d68e
movl $0x1, %edi
callq 0x14b150
jmp 0x14d690
movq -0xd8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq -0x108(%rbp), %rdx
movq -0x120(%rbp), %rcx
callq 0x14daf0
cmpl $0x0, %eax
je 0x14d710
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %rax
leaq 0xad5685(%rip), %rdi    # 0xc22d75
movq %rax, (%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc36ae(%rip)    # 0xd10db0
je 0x14d70e
movl $0x1, %edi
callq 0x14b150
jmp 0x14d710
movl -0xe8(%rbp), %eax
cmpl -0xf4(%rbp), %eax
je 0x14d78e
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %r11
movl -0xe8(%rbp), %r10d
movl -0xf4(%rbp), %eax
leaq 0xad5638(%rip), %rdi    # 0xc22d9d
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc3630(%rip)    # 0xd10db0
je 0x14d78c
movl $0x1, %edi
callq 0x14b150
jmp 0x14d78e
movq -0xd8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq -0x110(%rbp), %rdx
movq -0x128(%rbp), %rcx
callq 0x14daf0
cmpl $0x0, %eax
je 0x14d80e
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %rax
leaq 0xad55dc(%rip), %rdi    # 0xc22dca
movq %rax, (%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc35b0(%rip)    # 0xd10db0
je 0x14d80c
movl $0x1, %edi
callq 0x14b150
jmp 0x14d80e
movl -0xec(%rbp), %eax
cmpl -0xf8(%rbp), %eax
je 0x14d88c
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl -0x94(%rbp), %r8d
movl -0x98(%rbp), %r9d
movq -0x90(%rbp), %r11
movl -0xec(%rbp), %r10d
movl -0xf8(%rbp), %eax
leaq 0xad558e(%rip), %rdi    # 0xc22df1
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14b040
cmpl $0x0, 0xbc3532(%rip)    # 0xd10db0
je 0x14d88a
movl $0x1, %edi
callq 0x14b150
jmp 0x14d88c
jmp 0x14d88e
movq -0xa8(%rbp), %rdi
callq 0x14f0f0
movq -0xb0(%rbp), %rdi
callq 0x14f0f0
movq -0x58(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x58(%rbp)
jmp 0x14d07b
cmpl $0x0, 0xbc34ee(%rip)    # 0xd10dac
je 0x14d902
cmpq $0x0, -0xa0(%rbp)
je 0x14d902
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movl -0x94(%rbp), %edx
movl -0x98(%rbp), %ecx
movq -0x90(%rbp), %r8
movq -0xa0(%rbp), %r9
leaq 0xad5522(%rip), %rdi    # 0xc22e1d
movb $0x0, %al
callq 0x14b040
jmp 0x14d904
movq -0x50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x50(%rbp)
jmp 0x14d02a
cmpl $0x80000000, -0x18(%rbp) # imm = 0x80000000
je 0x14d929
cmpl $0x80000000, -0x14(%rbp) # imm = 0x80000000
je 0x14d929
jmp 0x14d93c
jmp 0x14d92b
movq -0x48(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x48(%rbp)
jmp 0x14cf8e
jmp 0x14d93e
movq -0x40(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x40(%rbp)
jmp 0x14cf30
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopl (%rax,%rax)