// File: /workspace/github_c_makefile_star2_O3/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 0xaa000
movq %rdx, %rdi
callq 0x34fea
testb %al, %al
jne 0xaa29f
testq %r14, %r14
je 0xaa29a
testq %rbx, %rbx
je 0xaa29a
leaq 0x626a7(%rip), %rsi     # 0x10c6c0
movq %r14, %rdi
callq 0x3faa4
testb %al, %al
je 0xaa057
movq %r14, %rdi
callq 0x3f462
cmpl $0x1, %eax
je 0xaa0ca
testl %eax, %eax
jne 0xaa0e4
movq %r14, %rdi
callq 0x4130c
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq (%rax), %rdi
jmp 0xaa178
leaq 0x3abcc(%rip), %rsi     # 0xe4c2a
movq %r14, %rdi
callq 0x3faa4
testb %al, %al
je 0xaa09d
movq %r14, %rdi
callq 0x3f462
cmpl $0x1, %eax
je 0xaa163
testl %eax, %eax
jne 0xaa190
movq %r14, %rdi
callq 0x4130c
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x10(%rax), %rdi
jmp 0xaa178
leaq 0x5233e(%rip), %rsi     # 0xfc3e2
movq %r14, %rdi
callq 0x3faa4
testb %al, %al
je 0xaa0fb
movq %r14, %rdi
callq 0x4130c
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x20(%rax), %rdi
jmp 0xaa178
movq %r14, %rdi
callq 0x4130c
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x8(%rax), %rdi
jmp 0xaa178
cmpb $0x1, 0x9(%rbx)
jne 0xaa182
movq %r14, %rdi
callq 0x24a77
jmp 0xaa182
leaq 0x3b0cd(%rip), %rsi     # 0xe51cf
movq %r14, %rdi
callq 0x3faa4
testb %al, %al
je 0xaa1a0
movq %r14, %rdi
callq 0x415e5
movq %rax, %r12
movq %rdx, %r15
movq %r14, %rdi
callq 0x3f462
cmpl $0x1, %eax
je 0xaa1fd
testl %eax, %eax
jne 0xaa228
movq (%rbx), %rax
movq 0x38(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xab7fe
cmpb $0x1, 0x8(%rbx)
jne 0xaa182
movq (%rbx), %rax
movq 0xb8(%rax), %rdi
jmp 0xaa268
movq %r14, %rdi
callq 0x4130c
movq %rsp, %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq 0x18(%rax), %rdi
movl $0x8, %edx
callq 0x6f240
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
cmpb $0x1, 0x9(%rbx)
jne 0xaa182
movq %r14, %rdi
callq 0x24a53
jmp 0xaa182
leaq 0x5274b(%rip), %rsi     # 0xfc8f2
movq %r14, %rdi
callq 0x3faa4
testb %al, %al
je 0xaa182
movq %r14, %rdi
callq 0x415e5
movq %rax, %r12
movq %rdx, %r15
movq %r14, %rdi
callq 0x3f462
cmpl $0x1, %eax
je 0xaa23f
testl %eax, %eax
jne 0xaa283
movq (%rbx), %rax
movq 0x28(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xab7fe
cmpb $0x1, 0x8(%rbx)
jne 0xaa182
movq (%rbx), %rax
movq 0x98(%rax), %rdi
jmp 0xaa268
movq (%rbx), %rax
movq 0x40(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xab7fe
cmpb $0x1, 0x8(%rbx)
jne 0xaa182
movq (%rbx), %rax
movq 0xc8(%rax), %rdi
jmp 0xaa268
cmpb $0x1, 0x9(%rbx)
jne 0xaa182
movq %r14, %rdi
callq 0x24a2f
jmp 0xaa182
movq (%rbx), %rax
movq 0x30(%rax), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0xab7fe
cmpb $0x1, 0x8(%rbx)
jne 0xaa182
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 0xab8bb
jmp 0xaa182
cmpb $0x1, 0x9(%rbx)
jne 0xaa182
movq %r14, %rdi
callq 0x24a0b
jmp 0xaa182
callq 0x249d2
callq 0x24999