// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/type_checker_obo.c
// Function: create_feature_nodes
static int create_feature_nodes(GtTypeCheckerOBO *tco,
                                const char *obo_file_path, GtError *err)
{
  GtOBOParseTree *obo_parse_tree;
  GtUword i;
  gt_error_check(err);
  gt_assert(tco && obo_file_path);
  if ((obo_parse_tree = gt_obo_parse_tree_new(obo_file_path, err))) {
    for (i = 0; i < gt_obo_parse_tree_num_of_stanzas(obo_parse_tree); i++) {
      if (!strcmp(gt_obo_parse_tree_get_stanza_type(obo_parse_tree, i),
                  "Term")) {
        const char *is_obsolete =
          gt_obo_parse_tree_get_stanza_value(obo_parse_tree, i, "is_obsolete");
        /* do not add obsolete types */
        if (!is_obsolete || strcmp(is_obsolete, "true")) {
          const GtOBOStanza *stanza;
          add_feature_node_from_tree(tco, obo_parse_tree, i, "id");
          add_feature_node_from_tree(tco, obo_parse_tree, i, "name");
          stanza = gt_obo_parse_tree_get_stanza(obo_parse_tree, i);
          gt_type_graph_add_stanza(tco->type_graph, stanza);
        }
      }
    }
    gt_obo_parse_tree_delete(obo_parse_tree);
    return 0;
  }
  return -1;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x4990f3
movq 0x28(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x4990bb
jmp 0x4990f3
movq 0x1a2ede(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x7cf47(%rip), %rsi     # 0x516013
leaq 0x7d0ec(%rip), %rdx     # 0x5161bf
leaq 0x11b3f7(%rip), %rcx    # 0x5b44d1
leaq 0x11b352(%rip), %r8     # 0x5b4433
movl $0x72, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4990f5
jmp 0x4990f7
cmpq $0x0, 0x38(%rsp)
je 0x499107
cmpq $0x0, 0x30(%rsp)
jne 0x49913f
movq 0x1a2e92(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x7cefb(%rip), %rsi     # 0x516013
leaq 0x11b3c7(%rip), %rdx    # 0x5b44e6
leaq 0x11b3ab(%rip), %rcx    # 0x5b44d1
leaq 0x11b306(%rip), %r8     # 0x5b4433
movl $0x73, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x499141
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x50b0c0
movq %rax, 0x20(%rsp)
cmpq $0x0, %rax
je 0x499273
movq $0x0, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, (%rsp)
movq 0x20(%rsp), %rdi
callq 0x50b780
movq %rax, %rcx
movq (%rsp), %rax
cmpq %rcx, %rax
jae 0x49925f
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0x50b620
movq %rax, %rdi
leaq 0x11b357(%rip), %rsi    # 0x5b44fb
callq 0x19980
cmpl $0x0, %eax
jne 0x49924a
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
leaq 0xd6843(%rip), %rdx     # 0x56fa06
callq 0x50b690
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0x4991eb
movq 0x10(%rsp), %rdi
leaq 0x11b6c8(%rip), %rsi    # 0x5b48a9
callq 0x19980
cmpl $0x0, %eax
je 0x499248
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x11b516(%rip), %rcx    # 0x5b4717
callq 0x499290
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0xbbbe2(%rip), %rcx     # 0x554dfe
callq 0x499290
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0x50b710
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rax
movq 0x20(%rax), %rdi
movq 0x8(%rsp), %rsi
callq 0x4994e0
jmp 0x49924a
jmp 0x49924c
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x499168
movq 0x20(%rsp), %rdi
callq 0x50b480
movl $0x0, 0x44(%rsp)
jmp 0x49927b
movl $0xffffffff, 0x44(%rsp) # imm = 0xFFFFFFFF
movl 0x44(%rsp), %eax
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)