// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/stream_evaluator.c
// Function: mRNAs_are_equal
static bool mRNAs_are_equal(GtGenomeNode *gn_1, GtGenomeNode *gn_2,
                            const char *feature_type)
{
  GtArray *exons_1, *exons_2;
  StoreExonFeatureInfo info;
  bool equal;
  GT_UNUSED int had_err;

  gt_assert(gn_1 && gn_2 && feature_type);

  /* init */
  exons_1 = gt_array_new(sizeof (GtRange));
  exons_2 = gt_array_new(sizeof (GtRange));

  /* get exon ranges */
  info.exons = exons_1;
  info.feature_type = feature_type;
  had_err = gt_feature_node_traverse_children(gt_feature_node_cast(gn_1), &info,
                                              store_exon, false, NULL);
  gt_assert(!had_err); /* cannot happen, store_exon() is sane */
  info.exons = exons_2;
  had_err = gt_feature_node_traverse_children(gt_feature_node_cast(gn_2), &info,
                                              store_exon, false, NULL);
  gt_assert(!had_err); /* cannot happen, store_exon() is sane */

  /* sort exon ranges */
  gt_ranges_sort(exons_1);
  gt_ranges_sort(exons_2);

  /* compare exon ranges */
  equal = gt_ranges_are_equal(exons_1, exons_2);

  /* free */
  gt_array_delete(exons_1);
  gt_array_delete(exons_2);

  return equal;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
cmpq $0x0, 0x40(%rsp)
je 0xf0a4b
cmpq $0x0, 0x38(%rsp)
je 0xf0a4b
cmpq $0x0, 0x30(%rsp)
jne 0xf0a83
movq 0xc3586(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x6d60a(%rip), %rsi     # 0x15e066
leaq 0x8a2df(%rip), %rdx     # 0x17ad42
leaq 0x8a318(%rip), %rcx     # 0x17ad82
leaq 0x89b37(%rip), %r8      # 0x17a5a8
movl $0x251, %r9d            # imm = 0x251
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xf0a85
movl $0x10, %edi
callq 0x75ab0
movq %rax, 0x28(%rsp)
movl $0x10, %edi
callq 0x75ab0
movq %rax, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x40(%rsp), %rdi
callq 0x20750
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
leaq 0xc60(%rip), %rdx       # 0xf1730
xorl %ecx, %ecx
xorl %eax, %eax
movl %eax, %r8d
callq 0x22090
movl %eax, 0x8(%rsp)
cmpl $0x0, 0x8(%rsp)
je 0xf0b1f
movq 0xc34ea(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x6d56e(%rip), %rsi     # 0x15e066
leaq 0x764bf(%rip), %rdx     # 0x166fbe
leaq 0x8a27c(%rip), %rcx     # 0x17ad82
leaq 0x89a9b(%rip), %r8      # 0x17a5a8
movl $0x25c, %r9d            # imm = 0x25C
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xf0b21
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x38(%rsp), %rdi
callq 0x20750
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
leaq 0xbec(%rip), %rdx       # 0xf1730
xorl %ecx, %ecx
xorl %eax, %eax
movl %eax, %r8d
callq 0x22090
movl %eax, 0x8(%rsp)
cmpl $0x0, 0x8(%rsp)
je 0xf0b93
movq 0xc3476(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x6d4fa(%rip), %rsi     # 0x15e066
leaq 0x7644b(%rip), %rdx     # 0x166fbe
leaq 0x8a208(%rip), %rcx     # 0x17ad82
leaq 0x89a27(%rip), %r8      # 0x17a5a8
movl $0x260, %r9d            # imm = 0x260
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xf0b95
movq 0x28(%rsp), %rdi
callq 0x954f0
movq 0x20(%rsp), %rdi
callq 0x954f0
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x95820
andb $0x1, %al
movb %al, 0xf(%rsp)
movq 0x28(%rsp), %rdi
callq 0x770a0
movq 0x20(%rsp), %rdi
callq 0x770a0
movb 0xf(%rsp), %al
andb $0x1, %al
addq $0x48, %rsp
retq
nopl (%rax)