// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0x1e3523
movq 0x10(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x1e34eb
jmp 0x1e3523
movq 0x458aae(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x332b17(%rip), %rsi    # 0x516013
leaq 0x332cbc(%rip), %rdx    # 0x5161bf
leaq 0x383fd1(%rip), %rcx    # 0x5674db
leaq 0x383fae(%rip), %r8     # 0x5674bf
movl $0x92, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1e3525
jmp 0x1e3527
cmpq $0x0, 0x18(%rsp)
jne 0x1e3567
movq 0x458a6a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x332ad3(%rip), %rsi    # 0x516013
leaq 0x3583a3(%rip), %rdx    # 0x53b8ea
leaq 0x383f8d(%rip), %rcx    # 0x5674db
leaq 0x383f6a(%rip), %r8     # 0x5674bf
movl $0x93, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1e3569
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
callq 0x16da10
testb $0x1, %al
jne 0x1e3583
jmp 0x1e35a5
movq 0x20(%rsp), %rdi
callq 0x16dea0
cmpq 0x20(%rsp), %rax
jne 0x1e35a5
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x18(%rax)
movq 0x8(%rsp), %rax
cmpq $0x0, 0xa0(%rax)
je 0x1e35ca
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0xa0(%rax), %rsi
callq 0x1e36f0
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x1e3780
movq 0x8(%rsp), %rax
cmpq $0x0, 0x88(%rax)
jne 0x1e35fb
movq 0x8(%rsp), %rax
cmpq $0x0, 0x98(%rax)
je 0x1e36e1
movq 0x8(%rsp), %rax
movq $0x0, 0x58(%rax)
movq 0x8(%rsp), %rax
movq $0x0, 0x60(%rax)
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rcx
leaq 0x515(%rip), %rdx       # 0x1e3b40
callq 0x16f9f0
movl %eax, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
je 0x1e3673
movq 0x45895e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3329c7(%rip), %rsi    # 0x516013
leaq 0x350c39(%rip), %rdx    # 0x53428c
leaq 0x383e81(%rip), %rcx    # 0x5674db
leaq 0x383e5e(%rip), %r8     # 0x5674bf
movl $0xa2, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1e3675
movq 0x8(%rsp), %rax
cmpq $0x0, 0x88(%rax)
je 0x1e36aa
movq 0x8(%rsp), %rax
cmpq $0x0, 0x58(%rax)
je 0x1e36aa
movq 0x8(%rsp), %rax
movq 0x88(%rax), %rdi
movq 0x8(%rsp), %rax
movq 0x58(%rax), %rsi
callq 0xa50a0
movq 0x8(%rsp), %rax
cmpq $0x0, 0x98(%rax)
je 0x1e36df
movq 0x8(%rsp), %rax
cmpq $0x0, 0x60(%rax)
je 0x1e36df
movq 0x8(%rsp), %rax
movq 0x98(%rax), %rdi
movq 0x8(%rsp), %rax
movq 0x60(%rax), %rsi
callq 0xa50a0
jmp 0x1e36e1
xorl %eax, %eax
addq $0x28, %rsp
retq
nopl (%rax,%rax)