// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/fasta.c
// Function: gt_fasta_show_entry_nt_with_suffix_str
void gt_fasta_show_entry_nt_with_suffix_str(const char *description,
                                            GtUword description_length,
                                            const char *sequence,
                                            GtUword sequence_length,
                                            const char *suffix, GtUword width,
                                            GtStr *outstr)
{
  GtUword i, current_length, suffix_length;
  gt_assert(sequence && outstr);
  gt_str_append_char(outstr, GT_FASTA_SEPARATOR);
  if (description != NULL) {
    for (i = 0;
         i < description_length && description[i] != '\0';
         ++i) {
      gt_str_append_char(outstr, description[i]);
    }
  }
  gt_str_append_char(outstr, '\n');
  for (i = 0, current_length = 0;
       i < sequence_length && sequence[i] != '\0';
       i++, current_length++) {
    if (width && current_length == width) {
      gt_str_append_char(outstr, '\n');
      current_length = 0;
    }
    gt_str_append_char(outstr, sequence[i]);
  }
  suffix_length = suffix ? strlen(suffix) : 0;
  for (i = 0;
       i < suffix_length;
       i++, current_length++) {
    if (width && current_length == width) {
      gt_str_append_char(outstr, '\n');
      current_length = 0;
    }
    gt_str_append_char(outstr, suffix[i]);
  }
  gt_str_append_char(outstr, '\n');
}

// Assembly:
subq $0x58, %rsp
movq 0x60(%rsp), %rax
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movq %r9, 0x28(%rsp)
cmpq $0x0, 0x40(%rsp)
je 0x829e7
cmpq $0x0, 0x60(%rsp)
jne 0x82a1f
movq 0x1315ea(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0xdb66e(%rip), %rsi     # 0x15e066
leaq 0xeb89d(%rip), %rdx     # 0x16e29c
leaq 0xeb8a9(%rip), %rcx     # 0x16e2af
leaq 0xeb87e(%rip), %r8      # 0x16e28b
movl $0x85, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x82a21
movq 0x60(%rsp), %rdi
movl $0x3e, %esi
callq 0x194d0
cmpq $0x0, 0x50(%rsp)
je 0x82a9f
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rcx
xorl %eax, %eax
cmpq 0x48(%rsp), %rcx
movb %al, 0xf(%rsp)
jae 0x82a6b
movq 0x50(%rsp), %rax
movq 0x20(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
setne %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x82a75
jmp 0x82a9d
movq 0x60(%rsp), %rdi
movq 0x50(%rsp), %rax
movq 0x20(%rsp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x194d0
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x82a41
jmp 0x82a9f
movq 0x60(%rsp), %rdi
movl $0xa, %esi
callq 0x194d0
movq $0x0, 0x20(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x20(%rsp), %rcx
xorl %eax, %eax
cmpq 0x38(%rsp), %rcx
movb %al, 0xe(%rsp)
jae 0x82aea
movq 0x40(%rsp), %rax
movq 0x20(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
setne %al
movb %al, 0xe(%rsp)
movb 0xe(%rsp), %al
testb $0x1, %al
jne 0x82af4
jmp 0x82b59
cmpq $0x0, 0x28(%rsp)
je 0x82b20
movq 0x18(%rsp), %rax
cmpq 0x28(%rsp), %rax
jne 0x82b20
movq 0x60(%rsp), %rdi
movl $0xa, %esi
callq 0x194d0
movq $0x0, 0x18(%rsp)
movq 0x60(%rsp), %rdi
movq 0x40(%rsp), %rax
movq 0x20(%rsp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x194d0
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x82ac0
cmpq $0x0, 0x30(%rsp)
je 0x82b71
movq 0x30(%rsp), %rdi
callq 0xb240
movq %rax, (%rsp)
jmp 0x82b79
xorl %eax, %eax
movq %rax, (%rsp)
jmp 0x82b79
movq (%rsp), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rax
cmpq 0x10(%rsp), %rax
jae 0x82bf9
cmpq $0x0, 0x28(%rsp)
je 0x82bc3
movq 0x18(%rsp), %rax
cmpq 0x28(%rsp), %rax
jne 0x82bc3
movq 0x60(%rsp), %rdi
movl $0xa, %esi
callq 0x194d0
movq $0x0, 0x18(%rsp)
movq 0x60(%rsp), %rdi
movq 0x30(%rsp), %rax
movq 0x20(%rsp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x194d0
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x82b8b
movq 0x60(%rsp), %rdi
movl $0xa, %esi
callq 0x194d0
addq $0x58, %rsp
retq
nopl (%rax)