// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/optionargmode.c
// Function: gt_getargmodekeywords
GtStr *gt_getargmodekeywords(const Optionargmodedesc *modedesc,
                             size_t numberofentries,
                             const char *what)
{
  GtStr *helpstring;
  size_t idx, modecount, len, maxlen = 0;
  GT_UNUSED size_t spacelen;
  const char *space = "    ";

  for (modecount=0; modecount < numberofentries; modecount++)
  {
    len = strlen(modedesc[modecount].name);
    if (maxlen < len)
    {
      maxlen = len;
    }
  }
  helpstring = gt_str_new_cstr("use combination of the following keywords "
                               "to specify ");
  gt_str_append_cstr(helpstring,what);
  gt_str_append_cstr(helpstring,"\n");
  spacelen = strlen(space);
  for (modecount=0; modecount < numberofentries; modecount++)
  {
    gt_str_append_cstr(helpstring,modedesc[modecount].name);
    gt_str_append_cstr(helpstring,space);
    len = strlen(modedesc[modecount].name);
    for (idx=0; idx<maxlen+-len; idx++)
    {
      gt_str_append_cstr(helpstring," ");
    }
    gt_str_append_cstr(helpstring,"show ");
    gt_str_append_cstr(helpstring,modedesc[modecount].desc);
    gt_str_append_cstr(helpstring,"\n");
  }
  return helpstring;
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq $0x0, 0x18(%rsp)
leaq 0x2f4968(%rip), %rax    # 0x555efb
movq %rax, 0x8(%rsp)
movq $0x0, 0x28(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x48(%rsp), %rax
jae 0x2615f0
movq 0x50(%rsp), %rax
imulq $0x18, 0x28(%rsp), %rcx
addq %rcx, %rax
movq (%rax), %rdi
callq 0x192b0
movq %rax, 0x20(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x2615de
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
jmp 0x2615e0
movq 0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x2615a1
leaq 0x31ac0d(%rip), %rdi    # 0x57c204
callq 0x11d510
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0x11d550
movq 0x38(%rsp), %rdi
leaq 0x331c57(%rip), %rsi    # 0x593273
callq 0x11d550
movq 0x8(%rsp), %rdi
callq 0x192b0
movq %rax, 0x10(%rsp)
movq $0x0, 0x28(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x48(%rsp), %rax
jae 0x261722
movq 0x38(%rsp), %rdi
movq 0x50(%rsp), %rax
imulq $0x18, 0x28(%rsp), %rcx
addq %rcx, %rax
movq (%rax), %rsi
callq 0x11d550
movq 0x38(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x11d550
movq 0x50(%rsp), %rax
imulq $0x18, 0x28(%rsp), %rcx
addq %rcx, %rax
movq (%rax), %rdi
callq 0x192b0
movq %rax, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq 0x18(%rsp), %rcx
xorl %edx, %edx
subq 0x20(%rsp), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jae 0x2616d1
movq 0x38(%rsp), %rdi
leaq 0x333dc3(%rip), %rsi    # 0x59547f
callq 0x11d550
movq 0x30(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x30(%rsp)
jmp 0x261697
movq 0x38(%rsp), %rdi
leaq 0x31ab5d(%rip), %rsi    # 0x57c23a
callq 0x11d550
movq 0x38(%rsp), %rdi
movq 0x50(%rsp), %rax
imulq $0x18, 0x28(%rsp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
callq 0x11d550
movq 0x38(%rsp), %rdi
leaq 0x331b69(%rip), %rsi    # 0x593273
callq 0x11d550
movq 0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x261639
movq 0x38(%rsp), %rax
addq $0x58, %rsp
retq
nopl (%rax)