// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/check_boundaries_visitor.c
// Function: check_boundaries_visitor_check_rec
static int check_boundaries_visitor_check_rec(GtFeatureNode *parent,
                                              GtFeatureNode *child,
                                              GtError *err)
{
  GtFeatureNodeIterator *fni;
  GtFeatureNode *node;
  GtRange range,
          p_range;
  int had_err = 0;

  range = gt_genome_node_get_range((GtGenomeNode*) child);
  p_range = gt_genome_node_get_range((GtGenomeNode*) parent);

  if (range.start < p_range.start || range.end > p_range.end) {
    gt_warning("%s child range " GT_WU "-" GT_WU " (file %s, line %u) not "
               "contained in %s parent range " GT_WU "-" GT_WU " (file %s, "
               "line %u)",
               gt_feature_node_get_type(child),
               range.start, range.end,
               gt_genome_node_get_filename((GtGenomeNode*) child),
               gt_genome_node_get_line_number((GtGenomeNode*) child),
               gt_feature_node_get_type(parent),
               p_range.start, p_range.end,
               gt_genome_node_get_filename((GtGenomeNode*) parent),
               gt_genome_node_get_line_number((GtGenomeNode*) parent));
  }

  fni = gt_feature_node_iterator_new_direct(child);
  while ((node = gt_feature_node_iterator_next(fni))) {
    had_err = check_boundaries_visitor_check_rec(child, node, err);
  }
  gt_feature_node_iterator_delete(fni);

  return had_err;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdx, 0xc0(%rsp)
movl $0x0, 0x8c(%rsp)
movq 0xc8(%rsp), %rdi
callq 0x171cc0
movq %rax, 0x78(%rsp)
movq %rdx, 0x80(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0xd0(%rsp), %rdi
callq 0x171cc0
movq %rax, 0x68(%rsp)
movq %rdx, 0x70(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0xa0(%rsp), %rax
cmpq 0x90(%rsp), %rax
jb 0x13954d
movq 0xa8(%rsp), %rax
cmpq 0x98(%rsp), %rax
jbe 0x139628
movq 0xc8(%rsp), %rdi
callq 0x16d430
movq %rax, 0x30(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0xa8(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0xc8(%rsp), %rdi
callq 0x171a90
movq %rax, 0x48(%rsp)
movq 0xc8(%rsp), %rdi
callq 0x171b20
movl %eax, 0x54(%rsp)
movq 0xd0(%rsp), %rdi
callq 0x16d430
movq %rax, %r14
movq 0x90(%rsp), %rbx
movq 0x98(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0xd0(%rsp), %rdi
callq 0x171a90
movq %rax, 0x60(%rsp)
movq 0xd0(%rsp), %rdi
callq 0x171b20
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %r8
movl 0x54(%rsp), %r9d
movq 0x58(%rsp), %r11
movq 0x60(%rsp), %r10
leaq 0x410e8d(%rip), %rdi    # 0x54a497
movq %r14, (%rsp)
movq %rbx, 0x8(%rsp)
movq %r11, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movb $0x0, %al
callq 0x1267d0
movq 0xc8(%rsp), %rdi
callq 0x170ce0
movq %rax, 0xb8(%rsp)
movq 0xb8(%rsp), %rdi
callq 0x170e30
movq %rax, 0xb0(%rsp)
cmpq $0x0, %rax
je 0x13967e
movq 0xc8(%rsp), %rdi
movq 0xb0(%rsp), %rsi
movq 0xc0(%rsp), %rdx
callq 0x139490
movl %eax, 0x8c(%rsp)
jmp 0x13963d
movq 0xb8(%rsp), %rdi
callq 0x170f50
movl 0x8c(%rsp), %eax
addq $0xd8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)