// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/tests/test_verify_cigars.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 ref=%s\n", open, extend, functions[0].name);
            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;
                    parasail_cigar_t *ref_cigar = NULL;
                    parasail_cigar_t *tst_cigar = NULL;
                    char *ref_cigar_str = NULL;
                    char *tst_cigar_str = 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_cigar = parasail_result_get_cigar(reference_result,
                            sequences->seqs[a].seq.s, size_a,
                            sequences->seqs[b].seq.s, size_b,
                            matrix);
                    if (NULL == ref_cigar) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) invalid ref cigar\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname);
                        }
                        parasail_result_free(reference_result);
                        parasail_result_free(result);
                        continue;
                    }
                    tst_cigar = parasail_result_get_cigar(result,
                            sequences->seqs[a].seq.s, size_a,
                            sequences->seqs[b].seq.s, size_b,
                            matrix);
                    if (NULL == tst_cigar) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) invalid test cigar\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname);
                        }
                        parasail_cigar_free(ref_cigar);
                        parasail_result_free(reference_result);
                        parasail_result_free(result);
                        continue;
                    }
                    ref_cigar_str = parasail_cigar_decode(ref_cigar);
                    tst_cigar_str = parasail_cigar_decode(tst_cigar);
                    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 (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 (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 (ref_cigar->len != tst_cigar->len) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) wrong cigar len (%d!=%d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    ref_cigar->len, tst_cigar->len);
                        }
                    }
                    if (ref_cigar->beg_query != tst_cigar->beg_query) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) wrong cigar beg_query (%d!=%d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    ref_cigar->beg_query, tst_cigar->beg_query);
                        }
                    }
                    if (ref_cigar->beg_ref != tst_cigar->beg_ref) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) wrong cigar beg_ref (%d!=%d)\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname,
                                    ref_cigar->beg_ref, tst_cigar->beg_ref);
                        }
                    }
                    if (diff_cigar(ref_cigar->seq, tst_cigar->seq, ref_cigar->len, tst_cigar->len)) {
#pragma omp critical(printer)
                        {
                            printf("%s(%lu,%lu,%d,%d,%s) bad cigar seq\n",
                                    functions[function_index].name,
                                    a, b, open, extend,
                                    matrixname);
                        }
                    }
                    free(ref_cigar_str);
                    free(tst_cigar_str);
                    parasail_cigar_free(ref_cigar);
                    parasail_cigar_free(tst_cigar);
                    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 $0x110, %rsp            # imm = 0x110
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 0xb9f1fe(%rip), %rax    # 0xcc9490
movq %rax, -0x70(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x80(%rbp)
movq $0x0, -0x78(%rbp)
xorl %eax, %eax
cmpq -0x30(%rbp), %rax
je 0x12a2b6
leaq -0x80(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rsi
leaq 0xad897d(%rip), %rdi    # 0xc02c3e
movb $0x0, %al
callq 0x129040
movq $0x0, -0x40(%rbp)
movq -0x70(%rbp), %rcx
movq -0x40(%rbp), %rdx
xorl %eax, %eax
cmpq (%rcx,%rdx,8), %rax
je 0x12ac3e
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, 0xbb166d(%rip)    # 0xcdb97c
je 0x12a326
movq -0x90(%rbp), %rsi
leaq 0xad8954(%rip), %rdi    # 0xc02c73
movb $0x0, %al
callq 0x129040
movq $0x0, -0x48(%rbp)
movq -0x48(%rbp), %rdx
movl $0x80000000, %eax       # imm = 0x80000000
leaq 0xb9ede2(%rip), %rcx    # 0xcc9120
cmpl (%rcx,%rdx,8), %eax
je 0x12ac2b
movq -0x48(%rbp), %rcx
leaq 0xb9edce(%rip), %rax    # 0xcc9120
movl (%rax,%rcx,8), %eax
movl %eax, -0x94(%rbp)
movq -0x48(%rbp), %rcx
leaq 0xb9edba(%rip), %rax    # 0xcc9120
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x98(%rbp)
cmpl $0x80000000, -0x18(%rbp) # imm = 0x80000000
je 0x12a394
cmpl $0x80000000, -0x14(%rbp) # imm = 0x80000000
je 0x12a394
movl -0x18(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x98(%rbp)
cmpl $0x0, 0xbb15e1(%rip)    # 0xcdb97c
je 0x12a3bf
movl -0x94(%rbp), %esi
movl -0x98(%rbp), %edx
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rcx
leaq 0xad889d(%rip), %rdi    # 0xc02c55
movb $0x0, %al
callq 0x129040
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 0x12ac04
movq $0x0, -0xa0(%rbp)
cmpl $0x0, 0xbb1581(%rip)    # 0xcdb97c
je 0x12a41b
movq -0x38(%rbp), %rax
imulq $0x48, -0x50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0xad885d(%rip), %rdi    # 0xc02c71
movb $0x0, %al
callq 0x129040
movq $0x0, -0x58(%rbp)
movq -0x58(%rbp), %rax
cmpq -0x60(%rbp), %rax
jge 0x12aba6
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 $0x0, -0xe8(%rbp)
movq $0x0, -0xf0(%rbp)
movq -0x58(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
callq 0x12ac50
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xb8(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x20(%rax), %rax
movq %rax, -0xe8(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xc0(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x20(%rax), %rax
movq %rax, -0xf0(%rbp)
cmpl $0x0, 0xbb147f(%rip)    # 0xcdb97c
je 0x12a51f
movq -0x58(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq -0xc0(%rbp), %rcx
leaq 0xad8760(%rip), %rdi    # 0xc02c78
movb $0x0, %al
callq 0x129040
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 -0xe8(%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 -0xf0(%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 -0xe8(%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 -0xf0(%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 0x137650
cmpl $0x0, %eax
je 0x12a63a
movq -0xa8(%rbp), %rdi
callq 0x135850
movq -0xb0(%rbp), %rdi
callq 0x135850
movq -0xa0(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xa0(%rbp)
jmp 0x12ab95
movq -0xa8(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xb8(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x28(%rax), %rsi
movq -0xe8(%rbp), %rax
movl %eax, %edx
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xc0(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x28(%rax), %rcx
movq -0xf0(%rbp), %rax
movl %eax, %r8d
movq -0x88(%rbp), %r9
callq 0x134270
movq %rax, -0xc8(%rbp)
xorl %eax, %eax
cmpq -0xc8(%rbp), %rax
jne 0x12a706
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 0xad85b3(%rip), %rdi    # 0xc02c91
movq %rax, (%rsp)
movb $0x0, %al
callq 0x129040
movq -0xa8(%rbp), %rdi
callq 0x135850
movq -0xb0(%rbp), %rdi
callq 0x135850
jmp 0x12ab95
movq -0xb0(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xb8(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x28(%rax), %rsi
movq -0xe8(%rbp), %rax
movl %eax, %edx
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0xc0(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movq 0x28(%rax), %rcx
movq -0xf0(%rbp), %rax
movl %eax, %r8d
movq -0x88(%rbp), %r9
callq 0x134270
movq %rax, -0xd0(%rbp)
xorl %eax, %eax
cmpq -0xd0(%rbp), %rax
jne 0x12a7de
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 0xad850f(%rip), %rdi    # 0xc02cb9
movq %rax, (%rsp)
movb $0x0, %al
callq 0x129040
movq -0xc8(%rbp), %rdi
callq 0x12b020
movq -0xa8(%rbp), %rdi
callq 0x135850
movq -0xb0(%rbp), %rdi
callq 0x135850
jmp 0x12ab95
movq -0xc8(%rbp), %rdi
callq 0x12b0a0
movq %rax, -0xd8(%rbp)
movq -0xd0(%rbp), %rdi
callq 0x12b0a0
movq %rax, -0xe0(%rbp)
movq -0xa8(%rbp), %rax
movl (%rax), %eax
movq -0xb0(%rbp), %rcx
cmpl (%rcx), %eax
je 0x12a879
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 0xad847d(%rip), %rdi    # 0xc02ce2
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x129040
movq -0xa8(%rbp), %rax
movl 0x4(%rax), %eax
movq -0xb0(%rbp), %rcx
cmpl 0x4(%rcx), %eax
je 0x12a8f2
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 0xad842f(%rip), %rdi    # 0xc02d0d
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x129040
movq -0xa8(%rbp), %rax
movl 0x8(%rax), %eax
movq -0xb0(%rbp), %rcx
cmpl 0x8(%rcx), %eax
je 0x12a96b
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 0xad83e5(%rip), %rdi    # 0xc02d3c
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x129040
movq -0xc8(%rbp), %rax
movl 0x8(%rax), %eax
movq -0xd0(%rbp), %rcx
cmpl 0x8(%rcx), %eax
je 0x12a9e4
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 -0xc8(%rbp), %rax
movl 0x8(%rax), %r10d
movq -0xd0(%rbp), %rax
movl 0x8(%rax), %eax
leaq 0xad8399(%rip), %rdi    # 0xc02d69
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x129040
movq -0xc8(%rbp), %rax
movl 0xc(%rax), %eax
movq -0xd0(%rbp), %rcx
cmpl 0xc(%rcx), %eax
je 0x12aa5d
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 -0xc8(%rbp), %rax
movl 0xc(%rax), %r10d
movq -0xd0(%rbp), %rax
movl 0xc(%rax), %eax
leaq 0xad834f(%rip), %rdi    # 0xc02d98
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x129040
movq -0xc8(%rbp), %rax
movl 0x10(%rax), %eax
movq -0xd0(%rbp), %rcx
cmpl 0x10(%rcx), %eax
je 0x12aad6
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 -0xc8(%rbp), %rax
movl 0x10(%rax), %r10d
movq -0xd0(%rbp), %rax
movl 0x10(%rax), %eax
leaq 0xad830b(%rip), %rdi    # 0xc02dcd
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x129040
movq -0xc8(%rbp), %rax
movq (%rax), %rdi
movq -0xd0(%rbp), %rax
movq (%rax), %rsi
movq -0xc8(%rbp), %rax
movl 0x8(%rax), %edx
movq -0xd0(%rbp), %rax
movl 0x8(%rax), %ecx
callq 0x12ade0
cmpl $0x0, %eax
je 0x12ab4d
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 0xad82be(%rip), %rdi    # 0xc02e00
movq %rax, (%rsp)
movb $0x0, %al
callq 0x129040
movq -0xd8(%rbp), %rdi
callq 0x129150
movq -0xe0(%rbp), %rdi
callq 0x129150
movq -0xc8(%rbp), %rdi
callq 0x12b020
movq -0xd0(%rbp), %rdi
callq 0x12b020
movq -0xa8(%rbp), %rdi
callq 0x135850
movq -0xb0(%rbp), %rdi
callq 0x135850
movq -0x58(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x58(%rbp)
jmp 0x12a423
cmpl $0x0, 0xbb0dcf(%rip)    # 0xcdb97c
je 0x12abf1
cmpq $0x0, -0xa0(%rbp)
je 0x12abf1
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 0xad823a(%rip), %rdi    # 0xc02e24
movb $0x0, %al
callq 0x129040
jmp 0x12abf3
movq -0x50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x50(%rbp)
jmp 0x12a3d2
cmpl $0x80000000, -0x18(%rbp) # imm = 0x80000000
je 0x12ac18
cmpl $0x80000000, -0x14(%rbp) # imm = 0x80000000
je 0x12ac18
jmp 0x12ac2b
jmp 0x12ac1a
movq -0x48(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x48(%rbp)
jmp 0x12a32e
jmp 0x12ac2d
movq -0x40(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x40(%rbp)
jmp 0x12a2d0
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopw (%rax,%rax)