// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/gtr.c
// Function: create_manpages
static int create_manpages(GtR *gtr, const char *outdir, GtError *err)
{
  GtOptionParser *op;
  const char *name;
  char fulltoolname[BUFSIZ];
  GtTool *tool;
  GtStr *prefix = gt_str_new();
  int had_err = 0;
  gt_error_check(err);
  gt_assert(gtr);
  gt_createman = true;
  /* create man page for 'gt' itself */
  op = gtr_option_parser_new(gtr);
  had_err = create_manpage(outdir, "gt", op, err);
  gt_option_parser_delete(op);
  /* create man pages for all tools in 'gt' */
  if (!had_err) {
    GtToolIterator *ti = gt_tool_iterator_new(gtr->tools);
    gt_tool_iterator_set_prefix_target(ti, prefix, ' ');
    while (!had_err && gt_tool_iterator_next(ti, &name, &tool)) {
      op = gt_tool_get_option_parser(tool);
      (void) snprintf(fulltoolname, BUFSIZ, "gt%c%s%s", ' ',
                      gt_str_get(prefix), name);
      had_err = create_manpage(outdir, fulltoolname, op, err);
    }
    gt_tool_iterator_delete(ti);
  }
  gt_str_delete(prefix);
  gt_createman = false;
  if (had_err)
    return EXIT_FAILURE;
  return EXIT_SUCCESS;
}

// Assembly:
subq $0x2068, %rsp           # imm = 0x2068
movq %rdi, 0x2058(%rsp)
movq %rsi, 0x2050(%rsp)
movq %rdx, 0x2048(%rsp)
callq 0x11d4a0
movq %rax, 0x20(%rsp)
movl $0x0, 0x1c(%rsp)
cmpq $0x0, 0x2048(%rsp)
je 0x1b6c7
movq 0x2048(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x1b68f
jmp 0x1b6c7
movq 0x62090a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4fa973(%rip), %rsi    # 0x516013
leaq 0x4fab18(%rip), %rdx    # 0x5161bf
leaq 0x4fafab(%rip), %rcx    # 0x516659
leaq 0x4faa90(%rip), %r8     # 0x516145
movl $0x14d, %r9d            # imm = 0x14D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1b6c9
jmp 0x1b6cb
cmpq $0x0, 0x2058(%rsp)
jne 0x1b70e
movq 0x6208c3(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4fa92c(%rip), %rsi    # 0x516013
leaq 0x4faaf9(%rip), %rdx    # 0x5161e7
leaq 0x4faf64(%rip), %rcx    # 0x516659
leaq 0x4faa49(%rip), %r8     # 0x516145
movl $0x14e, %r9d            # imm = 0x14E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1b710
leaq 0x6274c9(%rip), %rax    # 0x642be0
movb $0x1, (%rax)
movq 0x2058(%rsp), %rdi
callq 0x1a700
movq %rax, 0x2040(%rsp)
movq 0x2050(%rsp), %rdi
movq 0x2040(%rsp), %rdx
movq 0x2048(%rsp), %rcx
leaq 0x59f50a(%rip), %rsi    # 0x5bac58
callq 0x1bc80
movl %eax, 0x1c(%rsp)
movq 0x2040(%rsp), %rdi
callq 0xf5cf0
cmpl $0x0, 0x1c(%rsp)
jne 0x1b84c
movq 0x2058(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x1230c0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
movl $0x20, %edx
callq 0x123250
xorl %eax, %eax
cmpl $0x0, 0x1c(%rsp)
movb %al, 0xf(%rsp)
jne 0x1b7c1
movq 0x10(%rsp), %rdi
leaq 0x2038(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x1232f0
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x1b7cb
jmp 0x1b842
movq 0x28(%rsp), %rdi
callq 0x122f70
movq %rax, 0x2040(%rsp)
leaq 0x30(%rsp), %rax
movq %rax, (%rsp)
movq 0x20(%rsp), %rdi
callq 0x11dee0
movq (%rsp), %rdi
movq %rax, %r8
movq 0x2038(%rsp), %r9
movl $0x2000, %esi           # imm = 0x2000
leaq 0x4fae2b(%rip), %rdx    # 0x516636
movl $0x20, %ecx
movb $0x0, %al
callq 0x19b90
movq 0x2050(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movq 0x2040(%rsp), %rdx
movq 0x2048(%rsp), %rcx
callq 0x1bc80
movl %eax, 0x1c(%rsp)
jmp 0x1b799
movq 0x10(%rsp), %rdi
callq 0x123510
movq 0x20(%rsp), %rdi
callq 0x11f560
leaq 0x627383(%rip), %rax    # 0x642be0
movb $0x0, (%rax)
cmpl $0x0, 0x1c(%rsp)
je 0x1b874
movl $0x1, 0x2064(%rsp)
jmp 0x1b87f
movl $0x0, 0x2064(%rsp)
movl 0x2064(%rsp), %eax
addq $0x2068, %rsp           # imm = 0x2068
retq
nop