// File: /workspace/github_c_makefile_star2_O1/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 0x1832a2
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0x183572
testq %rbx, %rbx
je 0x183563
movq %r15, %rdi
callq 0x149d6e
testb %al, %al
je 0x1832c8
movq %r15, %rdi
callq 0x149ead
cmpq %r15, %rax
jne 0x1832c8
incq 0x18(%rbx)
movq 0xa0(%rbx), %r12
testq %r12, %r12
je 0x183303
testq %r15, %r15
je 0x183577
movq %r15, %rdi
callq 0x149ce1
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
callq 0xe8e61
testq %rax, %rax
jne 0x183303
movq %r12, %rdi
movq %r13, %rsi
callq 0xe8e02
testq %r15, %r15
je 0x183568
leaq 0x263b38(%rip), %rsi    # 0x3e6e4b
movq %r15, %rdi
callq 0x149d45
testb %al, %al
je 0x1833bb
incq 0x20(%rbx)
movq %r15, %rdi
callq 0x14a625
testb %al, %al
je 0x183337
incq 0x28(%rbx)
cmpq $0x0, 0x70(%rbx)
je 0x183364
movq %r15, %rdi
callq 0x14b8df
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x70(%rbx), %r12
callq 0x117813
movq %r12, %rdi
movq %rax, %rsi
callq 0xe99f7
cmpq $0x0, 0x78(%rbx)
je 0x183432
movq %r15, %rdi
callq 0x149bf5
testb %al, %al
je 0x183432
movq 0x78(%rbx), %r12
movq %r15, %rdi
callq 0x149ef0
cvtss2sd %xmm0, %xmm0
mulsd 0x1cf459(%rip), %xmm0   # 0x3527f0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x1cd975(%rip), %xmm0   # 0x350d20
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r12, %rdi
jmp 0x18342d
leaq 0x200934(%rip), %rsi    # 0x383cf6
movq %r15, %rdi
callq 0x149d45
testb %al, %al
je 0x1833e4
incq 0x30(%rbx)
movq %r15, %rdi
callq 0x14a625
testb %al, %al
je 0x183432
incq 0x38(%rbx)
jmp 0x183432
leaq 0x21a853(%rip), %rsi    # 0x39dc3e
movq %r15, %rdi
callq 0x149d45
testb %al, %al
je 0x1834b3
incq 0x40(%rbx)
cmpq $0x0, 0x80(%rbx)
je 0x183432
movq %r15, %rdi
callq 0x14b8df
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x80(%rbx), %r12
callq 0x117813
movq %r12, %rdi
movq %rax, %rsi
callq 0xe99f7
cmpq $0x0, 0x88(%rbx)
jne 0x183446
cmpq $0x0, 0x98(%rbx)
je 0x1834a3
xorpd %xmm0, %xmm0
movupd %xmm0, 0x58(%rbx)
leaq 0x126(%rip), %rdx       # 0x18357c
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x14aaf6
testl %eax, %eax
jne 0x18356d
movq 0x88(%rbx), %rdi
testq %rdi, %rdi
je 0x183489
leaq 0x58(%rbx), %rax
movq (%rax), %rsi
testq %rsi, %rsi
je 0x183489
callq 0xe99f7
movq 0x98(%rbx), %rdi
testq %rdi, %rdi
je 0x1834a3
movq 0x60(%rbx), %rsi
testq %rsi, %rsi
je 0x1834a3
callq 0xe99f7
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x208322(%rip), %rsi    # 0x38b7dc
movq %r15, %rdi
callq 0x149d45
testb %al, %al
je 0x1834cf
incq 0x48(%rbx)
jmp 0x183432
leaq 0x21a26c(%rip), %rsi    # 0x39d742
movq %r15, %rdi
callq 0x149d45
testb %al, %al
je 0x183528
movq 0xa8(%rbx), %r12
movq %r15, %rdi
callq 0x149bb2
movq %r12, %rdi
movq %rax, %rsi
callq 0x12202a
cmpq $0x0, 0x90(%rbx)
je 0x183432
movq %r15, %rdi
callq 0x14b8df
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x90(%rbx), %r12
jmp 0x183422
leaq 0x21ab2f(%rip), %rsi    # 0x39e05e
movq %r15, %rdi
callq 0x149d45
testb %al, %al
je 0x183544
incq 0x50(%rbx)
jmp 0x183432
movq 0xa8(%rbx), %r12
movq %r15, %rdi
callq 0x149bb2
movq %r12, %rdi
movq %rax, %rsi
callq 0x12202a
jmp 0x183432
callq 0x574f5
callq 0x574be
callq 0x57485
callq 0x57415
callq 0x5744e