// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/type_graph.c
// Function: gt_type_graph_is_partof
bool gt_type_graph_is_partof(GtTypeGraph *type_graph, const char *parent_type,
                             const char *child_type)
{
  const char *parent_id, *child_id;
  GtTypeNode *parent_node, *child_node;
  gt_assert(type_graph && parent_type && child_type);
  /* make sure graph is built */
  if (!type_graph->ready) {
    create_vertices(type_graph);
    type_graph->ready = true;
  }
  /* get parent ID, if the type is not mappable to an ID, assume it is the ID */
  if (!(parent_id = gt_hashmap_get(type_graph->name2id, parent_type)))
    parent_id = parent_type;
  /* get child ID, if the type is not mappable to an ID, assmue it is the ID */
  if (!(child_id = gt_hashmap_get(type_graph->name2id, child_type)))
    child_id = child_type;
  /* get parent node */
  parent_node = gt_hashmap_get(type_graph->nodemap, parent_id);
  gt_assert(parent_node);
  /* get child node */
  child_node = gt_hashmap_get(type_graph->nodemap, child_id);
  gt_assert(child_node);
  /* check for parent */
  return gt_type_node_has_parent(child_node, parent_node,
                                 type_graph->part_of_out_edges,
                                 type_graph->part_of_in_edges,
                                 type_graph->nodes, type_graph->id2name, 0);
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
cmpq $0x0, 0x40(%rsp)
je 0x499b9b
cmpq $0x0, 0x38(%rsp)
je 0x499b9b
cmpq $0x0, 0x30(%rsp)
jne 0x499bd3
movq 0x1a23fe(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x7c467(%rip), %rsi     # 0x516013
leaq 0x11aa98(%rip), %rdx    # 0x5b464b
leaq 0x11aab9(%rip), %rcx    # 0x5b4673
leaq 0x11a97e(%rip), %r8     # 0x5b453f
movl $0xa4, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x499bd5
movq 0x40(%rsp), %rax
testb $0x1, 0x30(%rax)
jne 0x499bf3
movq 0x40(%rsp), %rdi
callq 0x499d40
movq 0x40(%rsp), %rax
movb $0x1, 0x30(%rax)
movq 0x40(%rsp), %rax
movq (%rax), %rdi
movq 0x38(%rsp), %rsi
callq 0xe0f20
movq %rax, 0x28(%rsp)
cmpq $0x0, %rax
jne 0x499c1a
movq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x40(%rsp), %rax
movq (%rax), %rdi
movq 0x30(%rsp), %rsi
callq 0xe0f20
movq %rax, 0x20(%rsp)
cmpq $0x0, %rax
jne 0x499c41
movq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rdi
movq 0x28(%rsp), %rsi
callq 0xe0f20
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x499c99
movq 0x1a2338(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x7c3a1(%rip), %rsi     # 0x516013
leaq 0x11aa12(%rip), %rdx    # 0x5b468b
leaq 0x11a9f3(%rip), %rcx    # 0x5b4673
leaq 0x11a8b8(%rip), %r8     # 0x5b453f
movl $0xb2, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x499c9b
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rdi
movq 0x20(%rsp), %rsi
callq 0xe0f20
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x499cf3
movq 0x1a22de(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x7c347(%rip), %rsi     # 0x516013
leaq 0x11a9c4(%rip), %rdx    # 0x5b4697
leaq 0x11a999(%rip), %rcx    # 0x5b4673
leaq 0x11a85e(%rip), %r8     # 0x5b453f
movl $0xb5, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x499cf5
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x40(%rsp), %rax
movq 0x20(%rax), %rdx
movq 0x40(%rsp), %rax
movq 0x28(%rax), %rcx
movq 0x40(%rsp), %rax
movq 0x18(%rax), %r8
movq 0x40(%rsp), %rax
movq 0x8(%rax), %r9
xorl %eax, %eax
movl $0x0, (%rsp)
callq 0x49a640
andb $0x1, %al
addq $0x48, %rsp
retq
nopl (%rax,%rax)