// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/stat_visitor.c
// Function: compute_statistics
static int compute_statistics(GtFeatureNode *fn, void *data, GtError *err)
{
  GtStatVisitor *sv;
  GT_UNUSED int rval;
  gt_error_check(err);
  gt_assert(data);
  sv = (GtStatVisitor*) data;
  if (gt_feature_node_is_multi(fn) &&
      gt_feature_node_get_multi_representative(fn) == fn) {
    sv->number_of_multi_features++;
  }
  if (sv->used_sources)
    compute_source_statistics(fn, sv->used_sources);
  compute_type_statistics(fn, sv);
  if (sv->exon_number_distribution || sv->cds_length_distribution) {
    sv->exon_number_for_distri = 0;
    sv->cds_length_for_distri = 0;
    rval = gt_feature_node_traverse_direct_children(fn, sv,
                                                    add_exon_or_cds_number,
                                                    err);
    gt_assert(!rval); /* add_exon_or_cds_number() is sane */
    if (sv->exon_number_distribution && sv->exon_number_for_distri) {
      gt_disc_distri_add(sv->exon_number_distribution,
                         sv->exon_number_for_distri);
    }
    if (sv->cds_length_distribution && sv->cds_length_for_distri) {
      gt_disc_distri_add(sv->cds_length_distribution,
                         sv->cds_length_for_distri);
    }
  }
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
testq %rdx, %rdx
je 0x17ad36
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x17b003
testq %rbx, %rbx
je 0x17aff9
movq %r15, %rdi
callq 0x142b41
testb %al, %al
je 0x17ad5c
movq %r15, %rdi
callq 0x142c80
cmpq %r15, %rax
jne 0x17ad5c
incq 0x18(%rbx)
movq 0xa0(%rbx), %r12
testq %r12, %r12
je 0x17ad99
testq %r15, %r15
je 0x17b008
movq %r15, %rdi
callq 0x142ab4
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
callq 0xe4995
testq %rax, %rax
jne 0x17ada2
movq %r12, %rdi
movq %r13, %rsi
callq 0xe4936
jmp 0x17ada2
testq %r15, %r15
je 0x17b00d
leaq 0x2629a2(%rip), %rsi    # 0x3dd74b
movq %r15, %rdi
callq 0x142b18
testb %al, %al
je 0x17ae51
incq 0x20(%rbx)
movq %r15, %rdi
callq 0x1433f0
testb %al, %al
je 0x17adcd
incq 0x28(%rbx)
cmpq $0x0, 0x70(%rbx)
je 0x17adfa
movq %r15, %rdi
callq 0x144679
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x70(%rbx), %r12
callq 0x112233
movq %r12, %rdi
movq %rax, %rsi
callq 0xe54fb
cmpq $0x0, 0x78(%rbx)
je 0x17aec8
movq %r15, %rdi
callq 0x1429c8
testb %al, %al
je 0x17aec8
movq 0x78(%rbx), %r12
movq %r15, %rdi
callq 0x142cc3
cvtss2sd %xmm0, %xmm0
mulsd 0x1ce9b3(%rip), %xmm0   # 0x3497e0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x1ccedf(%rip), %xmm0   # 0x347d20
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r12, %rdi
jmp 0x17aec3
leaq 0x1ffb49(%rip), %rsi    # 0x37a9a1
movq %r15, %rdi
callq 0x142b18
testb %al, %al
je 0x17ae7a
incq 0x30(%rbx)
movq %r15, %rdi
callq 0x1433f0
testb %al, %al
je 0x17aec8
incq 0x38(%rbx)
jmp 0x17aec8
leaq 0x219916(%rip), %rsi    # 0x394797
movq %r15, %rdi
callq 0x142b18
testb %al, %al
je 0x17af49
incq 0x40(%rbx)
cmpq $0x0, 0x80(%rbx)
je 0x17aec8
movq %r15, %rdi
callq 0x144679
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x80(%rbx), %r12
callq 0x112233
movq %r12, %rdi
movq %rax, %rsi
callq 0xe54fb
cmpq $0x0, 0x88(%rbx)
jne 0x17aedc
cmpq $0x0, 0x98(%rbx)
je 0x17af39
xorpd %xmm0, %xmm0
movupd %xmm0, 0x58(%rbx)
leaq 0x126(%rip), %rdx       # 0x17b012
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x1438a5
testl %eax, %eax
jne 0x17affe
movq 0x88(%rbx), %rdi
testq %rdi, %rdi
je 0x17af1f
leaq 0x58(%rbx), %rax
movq (%rax), %rsi
testq %rsi, %rsi
je 0x17af1f
callq 0xe54fb
movq 0x98(%rbx), %rdi
testq %rdi, %rdi
je 0x17af39
movq 0x60(%rbx), %rsi
testq %rsi, %rsi
je 0x17af39
callq 0xe54fb
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x2074c9(%rip), %rsi    # 0x382419
movq %r15, %rdi
callq 0x142b18
testb %al, %al
je 0x17af65
incq 0x48(%rbx)
jmp 0x17aec8
leaq 0x219339(%rip), %rsi    # 0x3942a5
movq %r15, %rdi
callq 0x142b18
testb %al, %al
je 0x17afbe
movq 0xa8(%rbx), %r12
movq %r15, %rdi
callq 0x142988
movq %r12, %rdi
movq %rax, %rsi
callq 0x11c2e2
cmpq $0x0, 0x90(%rbx)
je 0x17aec8
movq %r15, %rdi
callq 0x144679
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x90(%rbx), %r12
jmp 0x17aeb8
leaq 0x219bf2(%rip), %rsi    # 0x394bb7
movq %r15, %rdi
callq 0x142b18
testb %al, %al
je 0x17afda
incq 0x50(%rbx)
jmp 0x17aec8
movq 0xa8(%rbx), %r12
movq %r15, %rdi
callq 0x142988
movq %r12, %rdi
movq %rax, %rsi
callq 0x11c2e2
jmp 0x17aec8
callq 0x562ee
callq 0x5627e
callq 0x5620e
callq 0x56247
callq 0x562b7