// File: /workspace/github_c_makefile_star2_O2/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 0x12043e
movq %r14, %rdi
callq 0x89eb7
testb %al, %al
jne 0x120763
testq %rbx, %rbx
je 0x120701
movq %r15, %rdi
callq 0xda6e7
testb %al, %al
je 0x120464
movq %r15, %rdi
callq 0xda99f
cmpq %r15, %rax
jne 0x120464
incq 0x18(%rbx)
movq 0xa0(%rbx), %r12
testq %r12, %r12
je 0x1204a1
testq %r15, %r15
je 0x120791
movq %r15, %rdi
callq 0xda5c1
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
callq 0x6cb9a
testq %rax, %rax
jne 0x1204aa
movq %r12, %rdi
movq %r13, %rsi
callq 0x6cacc
jmp 0x1204aa
testq %r15, %r15
je 0x1207bb
leaq 0x25d66a(%rip), %rsi    # 0x37db1b
movq %r15, %rdi
callq 0xda68b
testb %al, %al
je 0x120559
incq 0x20(%rbx)
movq %r15, %rdi
callq 0xdb628
testb %al, %al
je 0x1204d5
incq 0x28(%rbx)
cmpq $0x0, 0x70(%rbx)
je 0x120502
movq %r15, %rdi
callq 0xdd1f4
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x70(%rbx), %r12
callq 0xa31ee
movq %r12, %rdi
movq %rax, %rsi
callq 0x6d96d
cmpq $0x0, 0x78(%rbx)
je 0x1205d0
movq %r15, %rdi
callq 0xda3de
testb %al, %al
je 0x1205d0
movq 0x78(%rbx), %r12
movq %r15, %rdi
callq 0xdaa3e
cvtss2sd %xmm0, %xmm0
mulsd 0x1c92ab(%rip), %xmm0   # 0x2e97e0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x1c77d7(%rip), %xmm0   # 0x2e7d20
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r12, %rdi
jmp 0x1205cb
leaq 0x1fa78f(%rip), %rsi    # 0x31acef
movq %r15, %rdi
callq 0xda68b
testb %al, %al
je 0x120582
incq 0x30(%rbx)
movq %r15, %rdi
callq 0xdb628
testb %al, %al
je 0x1205d0
incq 0x38(%rbx)
jmp 0x1205d0
leaq 0x21457d(%rip), %rsi    # 0x334b06
movq %r15, %rdi
callq 0xda68b
testb %al, %al
je 0x120651
incq 0x40(%rbx)
cmpq $0x0, 0x80(%rbx)
je 0x1205d0
movq %r15, %rdi
callq 0xdd1f4
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x80(%rbx), %r12
callq 0xa31ee
movq %r12, %rdi
movq %rax, %rsi
callq 0x6d96d
cmpq $0x0, 0x88(%rbx)
jne 0x1205e4
cmpq $0x0, 0x98(%rbx)
je 0x120641
xorpd %xmm0, %xmm0
movupd %xmm0, 0x58(%rbx)
leaq 0x1fd(%rip), %rdx       # 0x1207f1
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0xdbc10
testl %eax, %eax
jne 0x120732
movq 0x88(%rbx), %rdi
testq %rdi, %rdi
je 0x120627
leaq 0x58(%rbx), %rax
movq (%rax), %rsi
testq %rsi, %rsi
je 0x120627
callq 0x6d96d
movq 0x98(%rbx), %rdi
testq %rdi, %rdi
je 0x120641
movq 0x60(%rbx), %rsi
testq %rsi, %rsi
je 0x120641
callq 0x6d96d
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x2021cd(%rip), %rsi    # 0x322825
movq %r15, %rdi
callq 0xda68b
testb %al, %al
je 0x12066d
incq 0x48(%rbx)
jmp 0x1205d0
leaq 0x213fa0(%rip), %rsi    # 0x334614
movq %r15, %rdi
callq 0xda68b
testb %al, %al
je 0x1206c6
movq 0xa8(%rbx), %r12
movq %r15, %rdi
callq 0xda338
movq %r12, %rdi
movq %rax, %rsi
callq 0xae8eb
cmpq $0x0, 0x90(%rbx)
je 0x1205d0
movq %r15, %rdi
callq 0xdd1f4
movq %rsp, %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
movq 0x90(%rbx), %r12
jmp 0x1205c0
leaq 0x214859(%rip), %rsi    # 0x334f26
movq %r15, %rdi
callq 0xda68b
testb %al, %al
je 0x1206e2
incq 0x50(%rbx)
jmp 0x1205d0
movq 0xa8(%rbx), %r12
movq %r15, %rdi
callq 0xda338
movq %r12, %rdi
movq %rax, %rsi
callq 0xae8eb
jmp 0x1205d0
movq 0x317860(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c4901(%rip), %rsi    # 0x2e5013
leaq 0x1e9c67(%rip), %rdx    # 0x30a380
leaq 0x2147a5(%rip), %rcx    # 0x334ec5
leaq 0x214782(%rip), %r8     # 0x334ea9
movl $0x93, %r9d
jmp 0x1207e5
movq 0x31782f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c48d0(%rip), %rsi    # 0x2e5013
leaq 0x1e284d(%rip), %rdx    # 0x302f97
leaq 0x214774(%rip), %rcx    # 0x334ec5
leaq 0x214751(%rip), %r8     # 0x334ea9
movl $0xa2, %r9d
jmp 0x1207e5
movq 0x3177fe(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c489f(%rip), %rsi    # 0x2e5013
leaq 0x1c4a44(%rip), %rdx    # 0x2e51bf
leaq 0x214743(%rip), %rcx    # 0x334ec5
leaq 0x214720(%rip), %r8     # 0x334ea9
movl $0x92, %r9d
jmp 0x1207e5
movq 0x3177d0(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c4871(%rip), %rsi    # 0x2e5013
leaq 0x21472f(%rip), %rdx    # 0x334ed8
leaq 0x21473b(%rip), %rcx    # 0x334eeb
leaq 0x2146f2(%rip), %r8     # 0x334ea9
pushq $0x58
jmp 0x1207e3
movq 0x3177a6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c4847(%rip), %rsi    # 0x2e5013
leaq 0x214732(%rip), %rdx    # 0x334f05
leaq 0x214734(%rip), %rcx    # 0x334f0e
leaq 0x2146c8(%rip), %r8     # 0x334ea9
pushq $0x61
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390