// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/xrf_abbr_parse_tree.c
// Function: gt_xrf_abbr_parse_tree_entry
static int gt_xrf_abbr_parse_tree_entry(GtXRFAbbrParseTree *xrf_abbr_parse_tree,
                 GtIO *xrf_abbr_file, GtError *err)
{
  GtUword entry_line_number;
  int had_err = 0;
  GtStr *tag, *value;
  gt_error_check(err);
  gt_assert(xrf_abbr_parse_tree && xrf_abbr_file);
  tag = gt_str_new();
  value = gt_str_new();
  entry_line_number = gt_io_get_line_number(xrf_abbr_file);
  if (!had_err) {
    GtXRFAbbrEntry *xrf_abbr_entry =
      gt_xrf_abbr_entry_new(entry_line_number,
                            gt_io_get_filename_str(xrf_abbr_file));
    gt_xrf_abbr_parse_tree_add_entry(xrf_abbr_parse_tree, xrf_abbr_entry);
    while (!had_err &&
           (gt_xrf_abbr_parse_tree_any_char(xrf_abbr_file, false) ||
            gt_io_peek(xrf_abbr_file) == XRF_COMMENT_CHAR)) {
      gt_str_reset(tag);
      gt_str_reset(value);
      if (gt_io_peek(xrf_abbr_file) == XRF_COMMENT_CHAR)
        had_err = gt_xrf_abbr_parse_tree_comment_line(xrf_abbr_file, err);
      else {
        had_err = gt_xrf_abbr_parse_tree_tag_line(xrf_abbr_file, tag, value,
                                                  err);
        gt_xrf_abbr_entry_add(xrf_abbr_entry, gt_str_get(tag),
                              gt_str_get(value));
      }
    }
  }
  gt_str_delete(value);
  gt_str_delete(tag);
  return had_err;
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movl $0x0, 0x44(%rsp)
cmpq $0x0, 0x50(%rsp)
je 0xa9b2b
movq 0x50(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0xa9af3
jmp 0xa9b2b
movq 0x10a4de(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0xb4562(%rip), %rsi     # 0x15e066
leaq 0xb4b3d(%rip), %rdx     # 0x15e648
leaq 0xc97c6(%rip), %rcx     # 0x1732d8
leaq 0xc9656(%rip), %r8      # 0x17316f
movl $0x138, %r9d            # imm = 0x138
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xa9b2d
jmp 0xa9b2f
cmpq $0x0, 0x60(%rsp)
je 0xa9b3f
cmpq $0x0, 0x58(%rsp)
jne 0xa9b77
movq 0x10a492(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0xb4516(%rip), %rsi     # 0x15e066
leaq 0xc96e4(%rip), %rdx     # 0x17323b
leaq 0xc977a(%rip), %rcx     # 0x1732d8
leaq 0xc960a(%rip), %r8      # 0x17316f
movl $0x139, %r9d            # imm = 0x139
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xa9b79
callq 0x18f00
movq %rax, 0x38(%rsp)
callq 0x18f00
movq %rax, 0x30(%rsp)
movq 0x58(%rsp), %rdi
callq 0xe1b80
movq %rax, 0x48(%rsp)
cmpl $0x0, 0x44(%rsp)
jne 0xa9cc2
movq 0x48(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rdi
callq 0xe1c30
movq 0x20(%rsp), %rdi
movq %rax, %rsi
callq 0xa8ef0
movq %rax, 0x28(%rsp)
movq 0x60(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xaa110
xorl %eax, %eax
cmpl $0x0, 0x44(%rsp)
movb %al, 0x1f(%rsp)
jne 0xa9c21
movq 0x58(%rsp), %rdi
xorl %esi, %esi
callq 0xaa190
movb %al, %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, 0x1e(%rsp)
jne 0xa9c19
movq 0x58(%rsp), %rdi
callq 0xe1a90
movsbl %al, %eax
cmpl $0x21, %eax
sete %al
movb %al, 0x1e(%rsp)
movb 0x1e(%rsp), %al
movb %al, 0x1f(%rsp)
movb 0x1f(%rsp), %al
testb $0x1, %al
jne 0xa9c2e
jmp 0xa9cc0
movq 0x38(%rsp), %rdi
callq 0x19b70
movq 0x30(%rsp), %rdi
callq 0x19b70
movq 0x58(%rsp), %rdi
callq 0xe1a90
movsbl %al, %eax
cmpl $0x21, %eax
jne 0xa9c69
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0xa9990
movl %eax, 0x44(%rsp)
jmp 0xa9cbb
movq 0x58(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x50(%rsp), %rcx
callq 0xaa220
movl %eax, 0x44(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rdi
callq 0x19940
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rdi
callq 0x19940
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rax, %rdx
callq 0xa8fb0
jmp 0xa9bdc
jmp 0xa9cc2
movq 0x30(%rsp), %rdi
callq 0x1afc0
movq 0x38(%rsp), %rdi
callq 0x1afc0
movl 0x44(%rsp), %eax
addq $0x68, %rsp
retq
nop