// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/extract_feature_visitor.c
// Function: construct_description
static void construct_description(GtStr *description, const char *type,
                                  GtUword counter, bool join, bool translate,
                                  GtRange *coords, GtStrand strand,
                                  GtStr *seqid, GtStrArray *target_ids)
{
  if (!gt_str_length(description)) {
    gt_str_append_cstr(description, type);
    gt_str_append_char(description, '_');
    gt_str_append_uword(description, counter);
  }
  if (join)
    gt_str_append_cstr(description, " (joined)");
  if (translate)
    gt_str_append_cstr(description, " (translated)");
  if (seqid) {
    gt_assert(gt_str_length(seqid));
    gt_str_append_cstr(description, " [seqid ");
    gt_str_append_str(description, seqid);
    if (coords) {
      gt_str_append_cstr(description, ":");
      gt_str_append_uword(description, coords->start);
      gt_str_append_cstr(description, "-");
      gt_str_append_uword(description, coords->end);
      gt_str_append_cstr(description, " ");
      gt_str_append_char(description, GT_STRAND_CHARS[strand]);
    }
    gt_str_append_char(description, ']');
  }
  if (target_ids && gt_str_array_size(target_ids)) {
    GtUword i;
    gt_str_append_cstr(description, " [target IDs ");
    gt_str_append_cstr(description, gt_str_array_get(target_ids, 0));
    for (i = 1; i < gt_str_array_size(target_ids); i++) {
      gt_str_append_char(description, ',');
      gt_str_append_cstr(description, gt_str_array_get(target_ids, i));
    }
    gt_str_append_char(description, ']');
  }
}

// Assembly:
subq $0x48, %rsp
movb %r8b, %al
movq 0x60(%rsp), %r8
movq 0x58(%rsp), %r8
movl 0x50(%rsp), %r8d
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
andb $0x1, %cl
movb %cl, 0x2f(%rsp)
andb $0x1, %al
movb %al, 0x2e(%rsp)
movq %r9, 0x20(%rsp)
movq 0x40(%rsp), %rdi
callq 0x11dfa0
cmpq $0x0, %rax
jne 0x1683e4
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x11d550
movq 0x40(%rsp), %rdi
movl $0x5f, %esi
callq 0x11da70
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x11d930
testb $0x1, 0x2f(%rsp)
je 0x1683fc
movq 0x40(%rsp), %rdi
leaq 0x3e725e(%rip), %rsi    # 0x54f655
callq 0x11d550
testb $0x1, 0x2e(%rsp)
je 0x168414
movq 0x40(%rsp), %rdi
leaq 0x3e7250(%rip), %rsi    # 0x54f65f
callq 0x11d550
cmpq $0x0, 0x58(%rsp)
je 0x168516
jmp 0x168422
movq 0x58(%rsp), %rdi
callq 0x11dfa0
cmpq $0x0, %rax
jne 0x16846a
movq 0x4d3b67(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3adbd0(%rip), %rsi    # 0x516013
leaq 0x3e7223(%rip), %rdx    # 0x54f66d
leaq 0x3e7231(%rip), %rcx    # 0x54f682
leaq 0x3e70d1(%rip), %r8     # 0x54f529
movl $0x47, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x16846c
movq 0x40(%rsp), %rdi
leaq 0x3e7220(%rip), %rsi    # 0x54f698
callq 0x11d550
movq 0x40(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0x11d750
cmpq $0x0, 0x20(%rsp)
je 0x168507
movq 0x40(%rsp), %rdi
leaq 0x3d59ac(%rip), %rsi    # 0x53de4c
callq 0x11d550
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rax
movq (%rax), %rsi
callq 0x11d930
movq 0x40(%rsp), %rdi
leaq 0x432e64(%rip), %rsi    # 0x59b327
callq 0x11d550
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rsi
callq 0x11d930
movq 0x40(%rsp), %rdi
leaq 0x42cf98(%rip), %rsi    # 0x59547f
callq 0x11d550
movq 0x40(%rsp), %rdi
movl 0x50(%rsp), %eax
movl %eax, %ecx
leaq 0x3d723e(%rip), %rax    # 0x53f73c
movsbl (%rax,%rcx), %esi
callq 0x11da70
movq 0x40(%rsp), %rdi
movl $0x5d, %esi
callq 0x11da70
cmpq $0x0, 0x60(%rsp)
je 0x1685e8
movq 0x60(%rsp), %rdi
callq 0x11fcc0
cmpq $0x0, %rax
je 0x1685e8
movq 0x40(%rsp), %rdi
leaq 0x3e715f(%rip), %rsi    # 0x54f6a1
callq 0x11d550
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x60(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x11f8c0
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x11d550
movq $0x1, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x60(%rsp), %rdi
callq 0x11fcc0
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
jae 0x1685d9
movq 0x40(%rsp), %rdi
movl $0x2c, %esi
callq 0x11da70
movq 0x40(%rsp), %rax
movq %rax, (%rsp)
movq 0x60(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0x11f8c0
movq (%rsp), %rdi
movq %rax, %rsi
callq 0x11d550
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x168575
movq 0x40(%rsp), %rdi
movl $0x5d, %esi
callq 0x11da70
addq $0x48, %rsp
retq
nopl (%rax)