// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/tests/test_verify.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;
                    size_t size_a = 0;
                    size_t size_b = 0;
                    k_combination2(pair_index, &a, &b);
                    if (verbose ) printf("\t\t\t\tpair=%lld (%lu,%lu)\n", pair_index, a, b);
                    size_a = sequences->seqs[a].seq.l;
                    size_b = sequences->seqs[b].seq.l;
                    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_FLAG_INVALID & reference_result->flag) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) invalid reference flag (%d %d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    reference_result->flag, PARASAIL_FLAG_INVALID);
                            if (exit_on_mismatch) exit(EXIT_FAILURE);
                        }
                    }
                    if (PARASAIL_FLAG_INVALID & result->flag) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) invalid result flag (%d %d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    result->flag, PARASAIL_FLAG_INVALID);
                            if (exit_on_mismatch) exit(EXIT_FAILURE);
                        }
                    }
                    if (!check_flags(reference_result->flag, result->flag)) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) wrong flag (%d!=%d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    reference_result->flag, result->flag);
                            if (exit_on_mismatch) exit(EXIT_FAILURE);
                        }
                    }
                    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;
                    }
                    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) score=%d\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    reference_result->end_query, result->end_query, result->score);
                            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) score=%d\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    reference_result->end_ref, result->end_ref, result->score);
                            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);
                        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 (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 (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
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, -0x18(%rbp)
movq %rsi, -0x10(%rbp)
movq %r9, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x60(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x68(%rbp)
movq $0x0, -0x70(%rbp)
leaq 0xb9b8dd(%rip), %rax    # 0xcec960
movq %rax, -0x78(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x90(%rbp)
movq $0x0, -0x88(%rbp)
xorl %eax, %eax
cmpq -0x38(%rbp), %rax
je 0x1510b0
leaq -0x90(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rsi
leaq 0xad0b85(%rip), %rdi    # 0xc21c40
movb $0x0, %al
callq 0x14f040
movq $0x0, -0x48(%rbp)
movq -0x78(%rbp), %rcx
movq -0x48(%rbp), %rdx
xorl %eax, %eax
cmpq (%rcx,%rdx,8), %rax
je 0x151a28
movq -0x78(%rbp), %rax
movq -0x48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xa0(%rbp)
cmpl $0x0, 0xbbdb93(%rip)    # 0xd0ec9c
je 0x151120
movq -0xa0(%rbp), %rsi
leaq 0xad0b55(%rip), %rdi    # 0xc21c6e
movb $0x0, %al
callq 0x14f040
movq $0x0, -0x50(%rbp)
movq -0x50(%rbp), %rdx
movl $0x80000000, %eax       # imm = 0x80000000
leaq 0xb9afd8(%rip), %rcx    # 0xcec110
cmpl (%rcx,%rdx,8), %eax
je 0x151a15
movq -0x50(%rbp), %rcx
leaq 0xb9afc4(%rip), %rax    # 0xcec110
movl (%rax,%rcx,8), %eax
movl %eax, -0xa4(%rbp)
movq -0x50(%rbp), %rcx
leaq 0xb9afb0(%rip), %rax    # 0xcec110
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0xa8(%rbp)
cmpl $0x80000000, -0x20(%rbp) # imm = 0x80000000
je 0x15118e
cmpl $0x80000000, -0x1c(%rbp) # imm = 0x80000000
je 0x15118e
movl -0x20(%rbp), %eax
movl %eax, -0xa4(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0xa8(%rbp)
cmpl $0x0, 0xbbdb07(%rip)    # 0xd0ec9c
je 0x1511b1
movl -0xa4(%rbp), %esi
movl -0xa8(%rbp), %edx
leaq 0xad0aad(%rip), %rdi    # 0xc21c57
movb $0x0, %al
callq 0x14f040
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x70(%rbp)
movq $0x1, -0x58(%rbp)
movq -0x40(%rbp), %rcx
imulq $0x48, -0x58(%rbp), %rax
addq %rax, %rcx
xorl %eax, %eax
cmpq (%rcx), %rax
je 0x1519ee
movq $0x0, -0xb0(%rbp)
cmpl $0x0, 0xbbdaaf(%rip)    # 0xd0ec9c
je 0x15120d
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0xad0a66(%rip), %rdi    # 0xc21c6c
movb $0x0, %al
callq 0x14f040
movq $0x0, -0x60(%rbp)
movq -0x60(%rbp), %rax
cmpq -0x68(%rbp), %rax
jge 0x151990
movq $0x0, -0xb8(%rbp)
movq $0x0, -0xc0(%rbp)
movq $0x0, -0xc8(%rbp)
movq $0x1, -0xd0(%rbp)
movq $0x0, -0xd8(%rbp)
movq $0x0, -0xe0(%rbp)
movq -0x60(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x151a40
cmpl $0x0, 0xbbda19(%rip)    # 0xd0ec9c
je 0x1512a5
movq -0x60(%rbp), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
leaq 0xad09d5(%rip), %rdi    # 0xc21c73
movb $0x0, %al
callq 0x14f040
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0xc8(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x20(%rax), %rax
movq %rax, -0xd8(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0xd0(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x20(%rax), %rax
movq %rax, -0xe0(%rbp)
movq -0x70(%rbp), %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movq -0xc8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdi
movq -0xd8(%rbp), %rcx
movl %ecx, %esi
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movq -0xd0(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdx
movq -0xe0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0x98(%rbp), %r10
movq %r10, (%rsp)
callq *%rax
movq %rax, -0xb8(%rbp)
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq (%rax), %rax
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movq -0xc8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdi
movq -0xd8(%rbp), %rcx
movl %ecx, %esi
movq -0x28(%rbp), %rcx
movq (%rcx), %rcx
movq -0xd0(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rcx
movq 0x28(%rcx), %rdx
movq -0xe0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0x98(%rbp), %r10
movq %r10, (%rsp)
callq *%rax
movq %rax, -0xc0(%rbp)
movq -0xb8(%rbp), %rax
movl 0xc(%rax), %eax
andl $0x80000020, %eax       # imm = 0x80000020
cmpl $0x0, %eax
je 0x151444
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %r10
movq -0xb8(%rbp), %rax
movl 0xc(%rax), %eax
leaq 0xad0874(%rip), %rdi    # 0xc21c8c
movq %r10, (%rsp)
movl %eax, 0x8(%rsp)
movl $0x80000020, 0x10(%rsp) # imm = 0x80000020
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd86a(%rip)    # 0xd0eca0
je 0x151442
movl $0x1, %edi
callq 0x14f150
jmp 0x151444
movq -0xc0(%rbp), %rax
movl 0xc(%rax), %eax
andl $0x80000020, %eax       # imm = 0x80000020
cmpl $0x0, %eax
je 0x1514c8
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %r10
movq -0xc0(%rbp), %rax
movl 0xc(%rax), %eax
leaq 0xad0825(%rip), %rdi    # 0xc21cc1
movq %r10, (%rsp)
movl %eax, 0x8(%rsp)
movl $0x80000020, 0x10(%rsp) # imm = 0x80000020
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd7e6(%rip)    # 0xd0eca0
je 0x1514c6
movl $0x1, %edi
callq 0x14f150
jmp 0x1514c8
movq -0xb8(%rbp), %rax
movl 0xc(%rax), %edi
movq -0xc0(%rbp), %rax
movl 0xc(%rax), %esi
callq 0x151bd0
cmpl $0x0, %eax
jne 0x15155e
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %r11
movq -0xb8(%rbp), %rax
movl 0xc(%rax), %r10d
movq -0xc0(%rbp), %rax
movl 0xc(%rax), %eax
leaq 0xad07be(%rip), %rdi    # 0xc21cf3
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd750(%rip)    # 0xd0eca0
je 0x15155c
movl $0x1, %edi
callq 0x14f150
jmp 0x15155e
movq -0xc0(%rbp), %rdi
callq 0x154fb0
cmpl $0x0, %eax
je 0x15159e
movq -0xb8(%rbp), %rdi
callq 0x1531b0
movq -0xc0(%rbp), %rdi
callq 0x1531b0
movq -0xb0(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xb0(%rbp)
jmp 0x15197f
movq -0xb8(%rbp), %rax
movl (%rax), %eax
movq -0xc0(%rbp), %rcx
cmpl (%rcx), %eax
je 0x151628
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %r11
movq -0xb8(%rbp), %rax
movl (%rax), %r10d
movq -0xc0(%rbp), %rax
movl (%rax), %eax
leaq 0xad071e(%rip), %rdi    # 0xc21d1d
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd686(%rip)    # 0xd0eca0
je 0x151626
movl $0x1, %edi
callq 0x14f150
jmp 0x151628
movq -0xb8(%rbp), %rax
movl 0x4(%rax), %eax
movq -0xc0(%rbp), %rcx
cmpl 0x4(%rcx), %eax
je 0x1516c9
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %rbx
movq -0xb8(%rbp), %rax
movl 0x4(%rax), %r11d
movq -0xc0(%rbp), %rax
movl 0x4(%rax), %r10d
movq -0xc0(%rbp), %rax
movl (%rax), %eax
leaq 0xad06ad(%rip), %rdi    # 0xc21d48
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd5e5(%rip)    # 0xd0eca0
je 0x1516c7
movl $0x1, %edi
callq 0x14f150
jmp 0x1516c9
movq -0xb8(%rbp), %rax
movl 0x8(%rax), %eax
movq -0xc0(%rbp), %rcx
cmpl 0x8(%rcx), %eax
je 0x15176a
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %rbx
movq -0xb8(%rbp), %rax
movl 0x8(%rax), %r11d
movq -0xc0(%rbp), %rax
movl 0x8(%rax), %r10d
movq -0xc0(%rbp), %rax
movl (%rax), %eax
leaq 0xad0644(%rip), %rdi    # 0xc21d80
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd544(%rip)    # 0xd0eca0
je 0x151768
movl $0x1, %edi
callq 0x14f150
jmp 0x15176a
movq -0xc0(%rbp), %rdi
callq 0x1551f0
cmpl $0x0, %eax
je 0x151967
movq -0xb8(%rbp), %rdi
callq 0x1555b0
movl %eax, -0xe4(%rbp)
movq -0xb8(%rbp), %rdi
callq 0x155650
movl %eax, -0xe8(%rbp)
movq -0xb8(%rbp), %rdi
callq 0x1556f0
movl %eax, -0xec(%rbp)
movq -0xc0(%rbp), %rdi
callq 0x1555b0
movl %eax, -0xf0(%rbp)
movq -0xc0(%rbp), %rdi
callq 0x155650
movl %eax, -0xf4(%rbp)
movq -0xc0(%rbp), %rdi
callq 0x1556f0
movl %eax, -0xf8(%rbp)
movl -0xe4(%rbp), %eax
cmpl -0xf0(%rbp), %eax
je 0x151869
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %r11
movl -0xe4(%rbp), %r10d
movl -0xf0(%rbp), %eax
leaq 0xad0576(%rip), %rdi    # 0xc21db6
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd445(%rip)    # 0xd0eca0
je 0x151867
movl $0x1, %edi
callq 0x14f150
jmp 0x151869
movl -0xe8(%rbp), %eax
cmpl -0xf4(%rbp), %eax
je 0x1518e7
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %r11
movl -0xe8(%rbp), %r10d
movl -0xf4(%rbp), %eax
leaq 0xad0525(%rip), %rdi    # 0xc21de3
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd3c7(%rip)    # 0xd0eca0
je 0x1518e5
movl $0x1, %edi
callq 0x14f150
jmp 0x1518e7
movl -0xec(%rbp), %eax
cmpl -0xf8(%rbp), %eax
je 0x151965
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0xc8(%rbp), %rdx
movq -0xd0(%rbp), %rcx
movl -0xa4(%rbp), %r8d
movl -0xa8(%rbp), %r9d
movq -0xa0(%rbp), %r11
movl -0xec(%rbp), %r10d
movl -0xf8(%rbp), %eax
leaq 0xad04d4(%rip), %rdi    # 0xc21e10
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x14f040
cmpl $0x0, 0xbbd349(%rip)    # 0xd0eca0
je 0x151963
movl $0x1, %edi
callq 0x14f150
jmp 0x151965
jmp 0x151967
movq -0xb8(%rbp), %rdi
callq 0x1531b0
movq -0xc0(%rbp), %rdi
callq 0x1531b0
movq -0x60(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x60(%rbp)
jmp 0x151215
cmpl $0x0, 0xbbd305(%rip)    # 0xd0ec9c
je 0x1519db
cmpq $0x0, -0xb0(%rbp)
je 0x1519db
movq -0x40(%rbp), %rax
imulq $0x48, -0x58(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movl -0xa4(%rbp), %edx
movl -0xa8(%rbp), %ecx
movq -0xa0(%rbp), %r8
movq -0xb0(%rbp), %r9
leaq 0xad0468(%rip), %rdi    # 0xc21e3c
movb $0x0, %al
callq 0x14f040
jmp 0x1519dd
movq -0x58(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x58(%rbp)
jmp 0x1511c4
cmpl $0x80000000, -0x20(%rbp) # imm = 0x80000000
je 0x151a02
cmpl $0x80000000, -0x1c(%rbp) # imm = 0x80000000
je 0x151a02
jmp 0x151a15
jmp 0x151a04
movq -0x50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x50(%rbp)
jmp 0x151128
jmp 0x151a17
movq -0x48(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x48(%rbp)
jmp 0x1510ca
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %rbp
retq
nopw %cs:(%rax,%rax)