// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/path.c
// Function: print_og_classification_summary
void print_og_classification_summary(asg_t *asg, hmm_annot_db_t *annot_db, og_component_v *og_components, FILE *fo)
{
    if (!og_components) return;
    uint32_t i, j;
    og_component_t *component;
    for (i = 0; i < og_components->n; ++i) {
        component = &og_components->a[i];
        fprintf(fo, "[M::%s] OG component %u \n", __func__, i);
        fprintf(fo, "[M::%s] OG component %u og_type: %s\n", __func__, i, OG_TYPES[component->type]);
        fprintf(fo, "[M::%s] OG component %u og_score: %.1f\n", __func__, i, component->score);
        fprintf(fo, "[M::%s] OG component %u og_sscore: %.1f\n", __func__, i, component->sscore);
        fprintf(fo, "[M::%s] OG component %u og_len: %u\n", __func__, i, component->len);
        fprintf(fo, "[M::%s] OG component %u og_nv: %u\n", __func__, i, component->nv);
        fprintf(fo, "[M::%s] OG component %u og_v: %s", __func__, i, asg->seg[component->v[0]].name);
        for (j = 1; j < component->nv; ++j)
            fprintf(fo, " %s", asg->seg[component->v[j]].name);
        fprintf(fo, "\n");
        fprintf(fo, "[M::%s] OG component %u og_ng: %u\n", __func__, i, component->ng);
        for (j = 0; j < component->ng; ++j)
            fprintf(fo, "[M::%s] OG component %u og_g: %s %u\n", __func__, i,
                    annot_db->gnames[component->g[j]>>34], (uint32_t) component->g[j]);
    }
}

// Assembly:
testq %rdx, %rdx
je 0xecc7
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rsi, %r15
movq %rdi, %r12
xorl %r13d, %r13d
movq %rdx, 0x10(%rsp)
movl %r13d, %r13d
cmpq %r13, (%rdx)
jbe 0xecb9
movq 0x10(%rdx), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rbp
shlq $0x6, %rbp
leaq (%rax,%rbp), %r14
movq %rbx, %rdi
leaq 0x85ef(%rip), %rsi      # 0x170f0
leaq 0x8602(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
xorl %eax, %eax
callq 0x3290
movq 0x8(%rsp), %rax
movl (%rax,%rbp), %eax
leaq 0xe01f(%rip), %rcx      # 0x1cb40
movq (%rcx,%rax,8), %r8
movq %rbx, %rdi
leaq 0x85fb(%rip), %rsi      # 0x1712a
leaq 0x85d4(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
xorl %eax, %eax
callq 0x3290
movq 0x8(%rsp), %rax
movsd 0x8(%rax,%rbp), %xmm0
movq %rbx, %rdi
leaq 0x85fa(%rip), %rsi      # 0x1714f
leaq 0x85ae(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
movb $0x1, %al
callq 0x3290
movq 0x8(%rsp), %rax
movsd 0x10(%rax,%rbp), %xmm0
movq %rbx, %rdi
leaq 0x85fc(%rip), %rsi      # 0x17177
leaq 0x8588(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
movb $0x1, %al
callq 0x3290
movq 0x8(%rsp), %rax
movl 0x18(%rax,%rbp), %r8d
movq %rbx, %rdi
leaq 0x8600(%rip), %rsi      # 0x171a0
leaq 0x8563(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
xorl %eax, %eax
callq 0x3290
movq 0x8(%rsp), %rax
movl 0x1c(%rax,%rbp), %r8d
movq %rbx, %rdi
leaq 0x85ff(%rip), %rsi      # 0x171c4
leaq 0x853e(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
xorl %eax, %eax
callq 0x3290
movq 0x10(%r12), %rax
movq 0x8(%rsp), %rcx
movq 0x20(%rcx,%rbp), %rcx
movl (%rcx), %ecx
imulq $0x18, %rcx, %rcx
movq (%rax,%rcx), %r8
movq %rbx, %rdi
leaq 0x85ee(%rip), %rsi      # 0x171e7
leaq 0x850a(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
xorl %eax, %eax
callq 0x3290
pushq $0x1
popq %rbp
movl 0x1c(%r14), %eax
cmpq %rax, %rbp
jae 0xec40
movq 0x10(%r12), %rax
movq 0x20(%r14), %rcx
movl (%rcx,%rbp,4), %ecx
imulq $0x18, %rcx, %rcx
movq (%rax,%rcx), %rdx
movq %rbx, %rdi
leaq 0x85d0(%rip), %rsi      # 0x17204
xorl %eax, %eax
callq 0x3290
incq %rbp
jmp 0xec0d
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x3200
movl 0x28(%r14), %r8d
movq %rbx, %rdi
leaq 0x85af(%rip), %rsi      # 0x17208
leaq 0x84aa(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
xorl %eax, %eax
callq 0x3290
xorl %ebp, %ebp
movl 0x28(%r14), %eax
cmpq %rax, %rbp
jae 0xecac
movq 0x20(%r15), %rax
movq 0x30(%r14), %rcx
movq (%rcx,%rbp,8), %r9
movq %r9, %rcx
shrq $0x22, %rcx
movq (%rax,%rcx,8), %r8
movq %rbx, %rdi
leaq 0x8595(%rip), %rsi      # 0x1722b
leaq 0x846d(%rip), %rdx      # 0x1710a
movl %r13d, %ecx
xorl %eax, %eax
callq 0x3290
incq %rbp
jmp 0xec6c
incl %r13d
movq 0x10(%rsp), %rdx
jmp 0xead7
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq