// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/obo_parse_tree.c
// Function: stanza
static int stanza(GtOBOParseTree *obo_parse_tree, GtIO *obo_file, GtError *err)
{
  GtUword stanza_line_number;
  int had_err;
  GtStr *type, *tag, *value;
  gt_error_check(err);
  gt_assert(obo_parse_tree && obo_file);
  type = gt_str_new();
  tag = gt_str_new();
  value = gt_str_new();
  stanza_line_number = gt_io_get_line_number(obo_file);
  had_err = stanza_line(obo_file, type, err);
  if (!had_err) {
    GtOBOStanza *obo_stanza =
      gt_obo_stanza_new(gt_str_get(type), stanza_line_number,
                        gt_io_get_filename_str(obo_file));
    gt_obo_parse_tree_add_stanza(obo_parse_tree, obo_stanza);
    while (!had_err &&
           (any_char(obo_file, false) ||
            gt_io_peek(obo_file) == OBO_COMMENT_CHAR)) {
      gt_str_reset(tag);
      gt_str_reset(value);
      if (gt_io_peek(obo_file) == OBO_COMMENT_CHAR)
        had_err = comment_line(obo_file, err);
      else {
        had_err = tag_line(obo_file, tag, value, err);
        gt_obo_stanza_add(obo_stanza, gt_str_get(tag), gt_str_get(value));
      }
    }
  }
  gt_str_delete(value);
  gt_str_delete(tag);
  gt_str_delete(type);
  return had_err;
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
cmpq $0x0, 0x60(%rsp)
je 0x50bd73
movq 0x60(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x50bd3b
jmp 0x50bd73
movq 0x13025e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0xa2c7(%rip), %rsi      # 0x516013
leaq 0xa46c(%rip), %rdx      # 0x5161bf
leaq 0xb8412(%rip), %rcx     # 0x5c416c
leaq 0xb81f5(%rip), %r8      # 0x5c3f56
movl $0x15d, %r9d            # imm = 0x15D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x50bd75
jmp 0x50bd77
cmpq $0x0, 0x70(%rsp)
je 0x50bd87
cmpq $0x0, 0x68(%rsp)
jne 0x50bdbf
movq 0x130212(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0xa27b(%rip), %rsi      # 0x516013
leaq 0xb8276(%rip), %rdx     # 0x5c4015
leaq 0xb83c6(%rip), %rcx     # 0x5c416c
leaq 0xb81a9(%rip), %r8      # 0x5c3f56
movl $0x15e, %r9d            # imm = 0x15E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x50bdc1
callq 0x11d4a0
movq %rax, 0x48(%rsp)
callq 0x11d4a0
movq %rax, 0x40(%rsp)
callq 0x11d4a0
movq %rax, 0x38(%rsp)
movq 0x68(%rsp), %rdi
callq 0xe73f0
movq %rax, 0x58(%rsp)
movq 0x68(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x60(%rsp), %rdx
callq 0x50c970
movl %eax, 0x54(%rsp)
cmpl $0x0, 0x54(%rsp)
jne 0x50bf40
movq 0x48(%rsp), %rdi
callq 0x11dee0
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x68(%rsp), %rdi
callq 0xe74a0
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq %rax, %rdx
callq 0x50cc90
movq %rax, 0x30(%rsp)
movq 0x70(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x50cad0
xorl %eax, %eax
cmpl $0x0, 0x54(%rsp)
movb %al, 0x1f(%rsp)
jne 0x50be9f
movq 0x68(%rsp), %rdi
xorl %esi, %esi
callq 0x50c4c0
movb %al, %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, 0x1e(%rsp)
jne 0x50be97
movq 0x68(%rsp), %rdi
callq 0xe7300
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 0x50beac
jmp 0x50bf3e
movq 0x40(%rsp), %rdi
callq 0x11e110
movq 0x38(%rsp), %rdi
callq 0x11e110
movq 0x68(%rsp), %rdi
callq 0xe7300
movsbl %al, %eax
cmpl $0x21, %eax
jne 0x50bee7
movq 0x68(%rsp), %rdi
movq 0x60(%rsp), %rsi
callq 0x50bbf0
movl %eax, 0x54(%rsp)
jmp 0x50bf39
movq 0x68(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x60(%rsp), %rcx
callq 0x50c1f0
movl %eax, 0x54(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x40(%rsp), %rdi
callq 0x11dee0
movq %rax, 0x10(%rsp)
movq 0x38(%rsp), %rdi
callq 0x11dee0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rax, %rdx
callq 0x50cd90
jmp 0x50be5a
jmp 0x50bf40
movq 0x38(%rsp), %rdi
callq 0x11f560
movq 0x40(%rsp), %rdi
callq 0x11f560
movq 0x48(%rsp), %rdi
callq 0x11f560
movl 0x54(%rsp), %eax
addq $0x78, %rsp
retq
nopw (%rax,%rax)