// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/gff3_visitor.c
// Function: gff3_show_feature_node
static int gff3_show_feature_node(GtFeatureNode *fn, void *data,
                                  GT_UNUSED GtError *err)
{
  bool part_shown = false;
  GtGFF3Visitor *gff3_visitor = (GtGFF3Visitor*) data;
  GtArray *parent_features = NULL;
  ShowAttributeInfo info;
  GtUword i;
  GtStr *id;

  gt_error_check(err);
  gt_assert(fn && gff3_visitor);

  /* output leading part */
  if (!gff3_visitor->outstr) {
    gt_gff3_output_leading(fn, gff3_visitor->outfp);
  } else {
    gt_gff3_output_leading_str(fn, gff3_visitor->outstr);
  }

  /* show unique id part of attributes */
  if ((id = gt_hashmap_get(gff3_visitor->feature_node_to_unique_id_str, fn))) {
    if (!gff3_visitor->outstr)
      gt_file_xprintf(gff3_visitor->outfp, "%s=%s", GT_GFF_ID, gt_str_get(id));
    else {
      gt_str_append_cstr(gff3_visitor->outstr, GT_GFF_ID);
      gt_str_append_char(gff3_visitor->outstr, '=');
      gt_str_append_cstr(gff3_visitor->outstr, gt_str_get(id));
    }
    part_shown = true;
  }

  /* show parent part of attributes */
  parent_features = gt_hashmap_get(gff3_visitor->feature_node_to_id_array, fn);
  if (gt_array_size(parent_features)) {
    if (part_shown) {
      if (!gff3_visitor->outstr)
        gt_file_xfputc(';', gff3_visitor->outfp);
      else
        gt_str_append_char(gff3_visitor->outstr, ';');
    }
    if (!gff3_visitor->outstr)
      gt_file_xprintf(gff3_visitor->outfp, "%s=", GT_GFF_PARENT);
    else {
      gt_str_append_cstr(gff3_visitor->outstr, GT_GFF_PARENT);
      gt_str_append_char(gff3_visitor->outstr, '=');
    }
    for (i = 0; i < gt_array_size(parent_features); i++) {
      if (i) {
        if (!gff3_visitor->outstr)
          gt_file_xfputc(',', gff3_visitor->outfp);
        else
          gt_str_append_char(gff3_visitor->outstr, ',');
      }
      if (!gff3_visitor->outstr) {
        gt_file_xprintf(gff3_visitor->outfp, "%s",
                        *(char**) gt_array_get(parent_features, i));
      } else {
        gt_str_append_cstr(gff3_visitor->outstr,
                           *(char**) gt_array_get(parent_features, i));
      }
    }
    part_shown = true;
  }

  /* show missing part of attributes */
  info.attribute_shown = &part_shown;
  info.outfp = gff3_visitor->outfp;
  info.outstr = gff3_visitor->outstr;
  gt_feature_node_foreach_attribute(fn, show_attribute, &info);

  /* show dot if no attributes have been shown */
  if (!part_shown) {
    if (!gff3_visitor->outstr)
      gt_file_xfputc('.', gff3_visitor->outfp);
    else
      gt_str_append_char(gff3_visitor->outstr, '.');
  }

  /* show terminal newline */
  if (!gff3_visitor->outstr)
    gt_file_xfputc('\n', gff3_visitor->outfp);
  else
    gt_str_append_char(gff3_visitor->outstr, '\n');

  return 0;
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movb $0x0, 0x6f(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x60(%rsp)
movq $0x0, 0x58(%rsp)
cmpq $0x0, 0x70(%rsp)
je 0x324f1
movq 0x70(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x324b9
jmp 0x324f1
movq 0x181b18(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x12bb9c(%rip), %rsi    # 0x15e066
leaq 0x12c177(%rip), %rdx    # 0x15e648
leaq 0x1335f1(%rip), %rcx    # 0x165ac9
leaq 0x133471(%rip), %r8     # 0x165950
movl $0xa3, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x324f3
jmp 0x324f5
cmpq $0x0, 0x80(%rsp)
je 0x32508
cmpq $0x0, 0x60(%rsp)
jne 0x32540
movq 0x181ac9(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x12bb4d(%rip), %rsi    # 0x15e066
leaq 0x133504(%rip), %rdx    # 0x165a24
leaq 0x1335a2(%rip), %rcx    # 0x165ac9
leaq 0x133422(%rip), %r8     # 0x165950
movl $0xa4, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x32542
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x32566
movq 0x80(%rsp), %rdi
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rsi
callq 0xa7b50
jmp 0x3257c
movq 0x80(%rsp), %rdi
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rsi
callq 0xa7ce0
movq 0x60(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x80(%rsp), %rsi
callq 0x86470
movq %rax, 0x30(%rsp)
cmpq $0x0, %rax
je 0x32636
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x325e4
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
callq 0x19940
movq 0x28(%rsp), %rdi
movq %rax, %rcx
leaq 0x13350c(%rip), %rsi    # 0x165ae0
leaq 0x132265(%rip), %rdx    # 0x164840
movb $0x0, %al
callq 0x837b0
jmp 0x32631
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
leaq 0x13224c(%rip), %rsi    # 0x164840
callq 0x18fb0
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
movl $0x3d, %esi
callq 0x194d0
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x30(%rsp), %rdi
callq 0x19940
movq 0x20(%rsp), %rdi
movq %rax, %rsi
callq 0x18fb0
movb $0x1, 0x6f(%rsp)
movq 0x60(%rsp), %rax
movq 0x20(%rax), %rdi
movq 0x80(%rsp), %rsi
callq 0x86470
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rdi
callq 0x76490
cmpq $0x0, %rax
je 0x327e7
testb $0x1, 0x6f(%rsp)
je 0x326a2
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x3268d
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rsi
movl $0x3b, %edi
callq 0x83a70
jmp 0x326a0
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
movl $0x3b, %esi
callq 0x194d0
jmp 0x326a2
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x326ce
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rdi
leaq 0x133428(%rip), %rsi    # 0x165ae6
leaq 0x13217e(%rip), %rdx    # 0x164843
movb $0x0, %al
callq 0x837b0
jmp 0x326f6
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
leaq 0x132165(%rip), %rsi    # 0x164843
callq 0x18fb0
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
movl $0x3d, %esi
callq 0x194d0
movq $0x0, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x58(%rsp), %rdi
callq 0x76490
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jae 0x327e2
cmpq $0x0, 0x38(%rsp)
je 0x32762
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x3274d
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rsi
movl $0x2c, %edi
callq 0x83a70
jmp 0x32760
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
movl $0x2c, %esi
callq 0x194d0
jmp 0x32762
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x327a3
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x58(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x75c80
movq 0x10(%rsp), %rdi
movq (%rax), %rdx
leaq 0x139713(%rip), %rsi    # 0x16bead
movb $0x0, %al
callq 0x837b0
jmp 0x327cd
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x75c80
movq 0x8(%rsp), %rdi
movq (%rax), %rsi
callq 0x18fb0
jmp 0x327cf
movq 0x38(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x38(%rsp)
jmp 0x326ff
movb $0x1, 0x6f(%rsp)
leaq 0x6f(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x80(%rsp), %rdi
leaq 0x4b4(%rip), %rsi       # 0x32cd0
leaq 0x40(%rsp), %rdx
callq 0x22e80
testb $0x1, 0x6f(%rsp)
jne 0x32863
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x3284e
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rsi
movl $0x2e, %edi
callq 0x83a70
jmp 0x32861
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
movl $0x2e, %esi
callq 0x194d0
jmp 0x32863
movq 0x60(%rsp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x32884
movq 0x60(%rsp), %rax
movq 0x38(%rax), %rsi
movl $0xa, %edi
callq 0x83a70
jmp 0x32897
movq 0x60(%rsp), %rax
movq 0x40(%rax), %rdi
movl $0xa, %esi
callq 0x194d0
xorl %eax, %eax
addq $0x88, %rsp
retq
nopw %cs:(%rax,%rax)