// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/csa_visitor.c
// Function: create_mRNA_feature
static GtFeatureNode* create_mRNA_feature(GtCSASpliceForm *csa_splice_form,
                                          GtStr *gt_csa_source_str)
{
  GtFeatureNode *mRNA_feature;
  GtArray *exon_nodes;
  GtUword i;
  GtRange range;
  GtStrand strand;
  GtStr *seqid;
  gt_assert(csa_splice_form && gt_csa_source_str);

  /* create the mRNA feature itself */
  seqid = gt_genome_node_get_seqid(*(GtGenomeNode**)
                               gt_csa_splice_form_get_representative(
                                                              csa_splice_form));
  range = gt_csa_splice_form_genomic_range(csa_splice_form),
  strand = gt_csa_splice_form_strand(csa_splice_form),
  mRNA_feature = (GtFeatureNode*)
                 gt_feature_node_new(seqid, gt_ft_mRNA, range.start, range.end,
                                     strand);
  gt_feature_node_set_source(mRNA_feature, gt_csa_source_str);
  mRNA_set_target_attribute(mRNA_feature, csa_splice_form);

  /* create exon features */
  exon_nodes = gt_array_new(sizeof (GtGenomeNode*));
  for (i = 0; i < gt_csa_splice_form_num_of_sas(csa_splice_form); i++) {
    add_sa_to_exon_feature_array(exon_nodes,
                                 *(GtFeatureNode**)
                                 gt_csa_splice_form_get_sa(csa_splice_form, i),
                                 seqid, gt_csa_source_str, strand);
  }
  gt_assert(genome_nodes_are_sorted_and_do_not_overlap(exon_nodes));

  /* add exon features to mRNA feature */
  for (i = 0; i < gt_array_size(exon_nodes); i++) {
    gt_feature_node_add_child(mRNA_feature,
                             *(GtFeatureNode**) gt_array_get(exon_nodes, i));
  }

  gt_array_delete(exon_nodes);

  return mRNA_feature;
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
cmpq $0x0, 0x70(%rsp)
je 0x14fbbe
cmpq $0x0, 0x68(%rsp)
jne 0x14fbf6
movq 0x64413(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0xe497(%rip), %rsi      # 0x15e066
leaq 0x3e7e1(%rip), %rdx     # 0x18e3b7
leaq 0x3e7ff(%rip), %rcx     # 0x18e3dc
leaq 0x3e607(%rip), %r8      # 0x18e1eb
movl $0x18c, %r9d            # imm = 0x18C
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x14fbf8
movq 0x70(%rsp), %rdi
callq 0x15aa00
movq (%rax), %rdi
callq 0x258a0
movq %rax, 0x30(%rsp)
movq 0x70(%rsp), %rdi
callq 0x15a8d0
movq %rax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x70(%rsp), %rdi
callq 0x15a780
movl %eax, 0x3c(%rsp)
movq 0x30(%rsp), %rdi
movq 0x40(%rsp), %rdx
movq 0x48(%rsp), %rcx
movl 0x3c(%rsp), %r8d
leaq 0x12036(%rip), %rsi     # 0x161c96
callq 0x20580
movq %rax, 0x60(%rsp)
movq 0x60(%rsp), %rdi
movq 0x68(%rsp), %rsi
callq 0x1ff10
movq 0x60(%rsp), %rdi
movq 0x70(%rsp), %rsi
callq 0x14fdd0
movl $0x8, %edi
callq 0x75ab0
movq %rax, 0x58(%rsp)
movq $0x0, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x70(%rsp), %rdi
callq 0x15a870
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jae 0x14fd06
movq 0x58(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x70(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0x15a800
movq 0x10(%rsp), %rdi
movq (%rax), %rsi
movq 0x30(%rsp), %rdx
movq 0x68(%rsp), %rcx
movl 0x3c(%rsp), %r8d
callq 0x14ff40
movq 0x50(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x50(%rsp)
jmp 0x14fca0
jmp 0x14fd08
movq 0x58(%rsp), %rdi
callq 0x150760
testb $0x1, %al
jne 0x14fd4e
movq 0x642bb(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0xe33f(%rip), %rsi      # 0x15e066
leaq 0x3e6c2(%rip), %rdx     # 0x18e3f0
leaq 0x3e6a7(%rip), %rcx     # 0x18e3dc
leaq 0x3e4af(%rip), %r8      # 0x18e1eb
movl $0x1a2, %r9d            # imm = 0x1A2
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x14fd50
movq $0x0, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rdi
callq 0x76490
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
jae 0x14fdae
movq 0x60(%rsp), %rax
movq %rax, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0x75c80
movq (%rsp), %rdi
movq (%rax), %rsi
callq 0x20db0
movq 0x50(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x50(%rsp)
jmp 0x14fd59
movq 0x58(%rsp), %rdi
callq 0x770a0
movq 0x60(%rsp), %rax
addq $0x78, %rsp
retq
nopw %cs:(%rax,%rax)