// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stream_evaluator.c
// Function: process_real_feature
static int process_real_feature(GtFeatureNode *fn, void *data,
                                GT_UNUSED GtError *err)
{
  ProcessRealFeatureInfo *info = (ProcessRealFeatureInfo*) data;
  GtGenomeNode *gn_ref;
  GtRange range;

  gt_error_check(err);
  gt_assert(fn && data);

  if (gt_feature_node_has_type(fn, gt_ft_gene)) {
    switch (gt_feature_node_get_strand(fn)) {
      case GT_STRAND_FORWARD:
        gn_ref = gt_genome_node_ref((GtGenomeNode*) fn);
        gt_array_add(info->slot->genes_forward, gn_ref);
        break;
      case GT_STRAND_REVERSE:
        gn_ref = gt_genome_node_ref((GtGenomeNode*) fn);
        gt_array_add(info->slot->genes_reverse, gn_ref);
        break;
      default:
        if (info->verbose) {
          fprintf(stderr, "skipping real gene with unknown orientation "
                  "(line %u)\n",
                  gt_genome_node_get_line_number((GtGenomeNode*) fn));
        }
    }
  }
  else if (gt_feature_node_has_type(fn, gt_ft_mRNA)) {
    switch (gt_feature_node_get_strand(fn)) {
      case GT_STRAND_FORWARD:
        gn_ref = gt_genome_node_ref((GtGenomeNode*) fn);
        gt_array_add(info->slot->mRNAs_forward, gn_ref);
        break;
      case GT_STRAND_REVERSE:
        gn_ref = gt_genome_node_ref((GtGenomeNode*) fn);
        gt_array_add(info->slot->mRNAs_reverse, gn_ref);
        break;
      default:
        if (info->verbose) {
          fprintf(stderr, "skipping real mRNA with unknown orientation "
                  "(line %u)\n",
                  gt_genome_node_get_line_number((GtGenomeNode*) fn));
        }
    }
  }
  else if (gt_feature_node_has_type(fn, gt_ft_LTR_retrotransposon)) {
    gn_ref = gt_genome_node_ref((GtGenomeNode*) fn);
    gt_array_add(info->slot->LTRs, gn_ref);
  }
  else if (gt_feature_node_has_type(fn, gt_ft_CDS)) {
    range = gt_genome_node_get_range((GtGenomeNode*) fn);
    switch (gt_feature_node_get_strand(fn)) {
      case GT_STRAND_FORWARD:
        add_real_exon(info->slot->CDS_exons_forward, range, fn);
        /* nucleotide level */
        if (info->nuceval) {
          add_nucleotide_exon(info->slot->real_CDS_nucleotides_forward, range,
                              info->slot->real_range, NULL);
        }
        break;
      case GT_STRAND_REVERSE:
        add_real_exon(info->slot->CDS_exons_reverse, range, fn);
        /* nucleotide level */
        if (info->nuceval) {
          add_nucleotide_exon(info->slot->real_CDS_nucleotides_reverse, range,
                              info->slot->real_range, NULL);
        }
        break;
      default:
        if (info->verbose) {
          fprintf(stderr, "skipping real CDS exon with unknown orientation "
                  "(line %u)\n",
                  gt_genome_node_get_line_number((GtGenomeNode*) fn));
        }
    }
  }
  else if (gt_feature_node_has_type(fn, gt_ft_exon)) {
    range = gt_genome_node_get_range((GtGenomeNode*) fn);
    switch (gt_feature_node_get_strand(fn)) {
      case GT_STRAND_FORWARD:
        add_real_exon(info->slot->mRNA_exons_forward, range, fn);
        /* nucleotide level */
        if (info->nuceval) {
          add_nucleotide_exon(info->slot->real_mRNA_nucleotides_forward,
                              range, info->slot->real_range, NULL);
        }
        break;
      case GT_STRAND_REVERSE:
        add_real_exon(info->slot->mRNA_exons_reverse, range, fn);
        /* nucleotide level */
        if (info->nuceval) {
          add_nucleotide_exon(info->slot->real_mRNA_nucleotides_reverse,
                              range, info->slot->real_range, NULL);
        }
        break;
      default:
        if (info->verbose) {
          fprintf(stderr, "skipping real mRNA exon with unknown orientation "
                  "(line %u)\n",
                  gt_genome_node_get_line_number((GtGenomeNode*) fn));
        }
    }
  }
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x8ba25
movq %rdx, %rdi
callq 0xc103
testb %al, %al
jne 0x8bd43
testq %r14, %r14
je 0x8bd15
testq %rbx, %rbx
je 0x8bd15
leaq 0x69f12(%rip), %rsi     # 0xf5950
movq %r14, %rdi
callq 0x1987b
testb %al, %al
je 0x8ba7c
movq %r14, %rdi
callq 0x18f89
cmpl $0x1, %eax
je 0x8baef
testl %eax, %eax
jne 0x8bb09
movq %r14, %rdi
callq 0x1bec8
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq (%rax), %rdi
jmp 0x8bbae
leaq 0x421a7(%rip), %rsi     # 0xcdc2a
movq %r14, %rdi
callq 0x1987b
testb %al, %al
je 0x8bac2
movq %r14, %rdi
callq 0x18f89
cmpl $0x1, %eax
je 0x8bb99
testl %eax, %eax
jne 0x8bbc4
movq %r14, %rdi
callq 0x1bec8
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x10(%rax), %rdi
jmp 0x8bbae
leaq 0x59c45(%rip), %rsi     # 0xe570e
movq %r14, %rdi
callq 0x1987b
testb %al, %al
je 0x8bb31
movq %r14, %rdi
callq 0x1bec8
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x20(%rax), %rdi
jmp 0x8bbae
movq %r14, %rdi
callq 0x1bec8
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x8(%rax), %rdi
jmp 0x8bbae
cmpb $0x1, 0x9(%rbx)
jne 0x8bbb6
movq 0xa249e(%rip), %rax     # 0x12dfb8
movq (%rax), %rbx
movq %r14, %rdi
callq 0x1c2d8
leaq 0x59b74(%rip), %rsi     # 0xe56a0
jmp 0x8bbe3
leaq 0x42697(%rip), %rsi     # 0xce1cf
movq %r14, %rdi
callq 0x1987b
testb %al, %al
je 0x8bbf1
movq %r14, %rdi
callq 0x1c3c4
movq %rax, %r12
movq %rdx, %r15
movq %r14, %rdi
callq 0x18f89
cmpl $0x1, %eax
je 0x8bc56
testl %eax, %eax
jne 0x8bc81
movq (%rbx), %rax
movq 0x38(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x8d632
cmpb $0x1, 0x8(%rbx)
jne 0x8bbb6
movq (%rbx), %rax
movq 0xb8(%rax), %rdi
jmp 0x8bcd2
movq %r14, %rdi
callq 0x1bec8
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x18(%rax), %rdi
pushq $0x8
popq %rdx
callq 0x4b801
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpb $0x1, 0x9(%rbx)
jne 0x8bbb6
movq 0xa23e7(%rip), %rax     # 0x12dfb8
movq (%rax), %rbx
movq %r14, %rdi
callq 0x1c2d8
leaq 0x59af4(%rip), %rsi     # 0xe56d7
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xb8c0
jmp 0x8bbb6
leaq 0x5a026(%rip), %rsi     # 0xe5c1e
movq %r14, %rdi
callq 0x1987b
testb %al, %al
je 0x8bbb6
movq %r14, %rdi
callq 0x1c3c4
movq %rax, %r12
movq %rdx, %r15
movq %r14, %rdi
callq 0x18f89
cmpl $0x1, %eax
je 0x8bca9
testl %eax, %eax
jne 0x8bced
movq (%rbx), %rax
movq 0x28(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x8d632
cmpb $0x1, 0x8(%rbx)
jne 0x8bbb6
movq (%rbx), %rax
movq 0x98(%rax), %rdi
jmp 0x8bcd2
movq (%rbx), %rax
movq 0x40(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x8d632
cmpb $0x1, 0x8(%rbx)
jne 0x8bbb6
movq (%rbx), %rax
movq 0xc8(%rax), %rdi
jmp 0x8bcd2
cmpb $0x1, 0x9(%rbx)
jne 0x8bbb6
movq 0xa2326(%rip), %rax     # 0x12dfb8
movq (%rax), %rbx
movq %r14, %rdi
callq 0x1c2d8
leaq 0x59a7e(%rip), %rsi     # 0xe5722
jmp 0x8bbe3
movq (%rbx), %rax
movq 0x30(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x8d632
cmpb $0x1, 0x8(%rbx)
jne 0x8bbb6
movq (%rbx), %rax
movq 0xa8(%rax), %rdi
movq 0x68(%rax), %rcx
movq 0x70(%rax), %r8
movq %r12, %rsi
movq %r15, %rdx
xorl %r9d, %r9d
callq 0x8d71e
jmp 0x8bbb6
cmpb $0x1, 0x9(%rbx)
jne 0x8bbb6
movq 0xa22ba(%rip), %rax     # 0x12dfb8
movq (%rax), %rbx
movq %r14, %rdi
callq 0x1c2d8
leaq 0x59a4d(%rip), %rsi     # 0xe575d
jmp 0x8bbe3
movq 0xa229c(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x3e340(%rip), %rsi     # 0xca066
leaq 0x59968(%rip), %rdx     # 0xe5695
leaq 0x5994c(%rip), %rcx     # 0xe5680
leaq 0x596d5(%rip), %r8      # 0xe5410
movl $0x1d4, %r9d            # imm = 0x1D4
jmp 0x8bd6f
movq 0xa226e(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x3e312(%rip), %rsi     # 0xca066
leaq 0x3e8fe(%rip), %rdx     # 0xca659
leaq 0x5991e(%rip), %rcx     # 0xe5680
leaq 0x596a7(%rip), %r8      # 0xe5410
movl $0x1d3, %r9d            # imm = 0x1D3
xorl %eax, %eax
callq 0xb8c0
callq 0xb300