// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/option.c
// Function: show_description
static void show_description(GtUword initial_space, const char *desc,
                             GtUword len)
{
  const GtUword width = GT_OPTION_PARSER_TERMINAL_WIDTH - initial_space;
  const char *tmp_ptr, *desc_ptr = desc;
  GtUword i;
  bool continue_while = false;

  /* got space to show option */
  gt_assert(initial_space < GT_OPTION_PARSER_TERMINAL_WIDTH);

  while (desc_ptr < desc + len) {
    /* break, if the rest of the description fits on one line */
    if (desc_ptr + width - 1 >= desc + len - 1)
      break;
    /* go backwards to find a point to break description */
    for (tmp_ptr = desc_ptr + width; tmp_ptr >= desc_ptr; tmp_ptr--) {
      if (*tmp_ptr == ' ' || *tmp_ptr == '\n')
        break;
    }
    /* break point found, show description up to that point */
    for (; desc_ptr < tmp_ptr; desc_ptr++) {
      gt_xputchar(*desc_ptr);
      if (*desc_ptr == '\n') {
        /* show leading spaces */
        for  (i = 0; i < initial_space; i++)
          gt_xputchar(' ');
        desc_ptr++;
        continue_while = true;
        break;
      }
    }
    if (continue_while) {
      continue_while = false;
      continue;
    }
    /* we are at the break point now */
    gt_assert(*desc_ptr == ' ' || *desc_ptr == '\n');
    /* show newline for break point */
    desc_ptr++;
    gt_xputchar('\n');
    /* show leading spaces */
    for  (i = 0; i < initial_space; i++)
      gt_xputchar(' ');
  }
  /* show final line */
  while (desc_ptr < desc + len) {
    gt_xputchar(*desc_ptr);
    if (*desc_ptr == '\n') {
      /* show leading spaces */
      for  (i = 0; i < initial_space; i++)
        gt_xputchar(' ');
      desc_ptr++;
      continue;
    }
    desc_ptr++;
  }
  gt_xputchar('\n');
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movl $0x50, %eax
subq 0x40(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x18(%rsp)
movb $0x0, 0xf(%rsp)
cmpq $0x50, 0x40(%rsp)
jb 0x14fd1
movq 0x19f038(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x1490bc(%rip), %rsi    # 0x15e066
leaq 0x14a752(%rip), %rdx    # 0x15f703
leaq 0x14a77b(%rip), %rcx    # 0x15f733
leaq 0x14989b(%rip), %r8     # 0x15e85a
movl $0x135, %r9d            # imm = 0x135
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x14fd3
jmp 0x14fd5
movq 0x18(%rsp), %rax
movq 0x38(%rsp), %rcx
addq 0x30(%rsp), %rcx
cmpq %rcx, %rax
jae 0x1518d
movq 0x18(%rsp), %rax
addq 0x28(%rsp), %rax
addq $-0x1, %rax
movq 0x38(%rsp), %rcx
addq 0x30(%rsp), %rcx
addq $-0x1, %rcx
cmpq %rcx, %rax
jb 0x15013
jmp 0x1518d
movq 0x18(%rsp), %rax
addq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
jb 0x1505c
movq 0x20(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x20, %eax
je 0x15048
movq 0x20(%rsp), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
jne 0x1504a
jmp 0x1505c
jmp 0x1504c
movq 0x20(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x15022
jmp 0x1505e
movq 0x18(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x150da
movq 0x18(%rsp), %rax
movsbl (%rax), %edi
callq 0x1cbb0
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
jne 0x150c8
movq $0x0, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x40(%rsp), %rax
jae 0x150b3
movl $0x20, %edi
callq 0x1cbb0
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x1508d
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
movb $0x1, 0xf(%rsp)
jmp 0x150da
jmp 0x150ca
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x1505e
testb $0x1, 0xf(%rsp)
je 0x150eb
movb $0x0, 0xf(%rsp)
jmp 0x14fd5
jmp 0x150ed
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x20, %eax
je 0x1513f
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
je 0x1513f
movq 0x19eeca(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x148f4e(%rip), %rsi    # 0x15e066
leaq 0x14a625(%rip), %rdx    # 0x15f744
leaq 0x14a60d(%rip), %rcx    # 0x15f733
leaq 0x14972d(%rip), %r8     # 0x15e85a
movl $0x151, %r9d            # imm = 0x151
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x15141
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
movl $0xa, %edi
callq 0x1cbb0
movq $0x0, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x40(%rsp), %rax
jae 0x15188
movl $0x20, %edi
callq 0x1cbb0
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x15162
jmp 0x14fd5
jmp 0x1518f
movq 0x18(%rsp), %rax
movq 0x38(%rsp), %rcx
addq 0x30(%rsp), %rcx
cmpq %rcx, %rax
jae 0x1520c
movq 0x18(%rsp), %rax
movsbl (%rax), %edi
callq 0x1cbb0
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
jne 0x151fc
movq $0x0, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x40(%rsp), %rax
jae 0x151ec
movl $0x20, %edi
callq 0x1cbb0
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x151c6
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x1518f
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x1518f
movl $0xa, %edi
callq 0x1cbb0
addq $0x48, %rsp
retq
nopl (%rax,%rax)