// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_seqorder.c
// Function: gt_seqorder_option_parser_new
static GtOptionParser* gt_seqorder_option_parser_new(void *tool_arguments)
{
  GtSeqorderArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *invert_option, *sort_option, *sorthdr_option, *sorthdrnum_option,
           *revsort_option, *shuffle_option, *sort_length_option;
  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("(-invert|-sort|-revsort|-shuffle|-sorthdr"
                            "|-sorthdrnum) encseq",
                            "Output sequences as MultiFasta in specified "
                            "order.");

  /* -invert */
  invert_option = gt_option_new_bool("invert", "invert order of sequences",
                                     &arguments->invert, false);
  gt_option_parser_add_option(op, invert_option);

  /* -sort */
  sort_option = gt_option_new_bool("sort",
                                   "sort sequences lexicographically "
                                   "(by actual sequence)",
                                   &arguments->sort, false);
  gt_option_exclude(sort_option, invert_option);
  gt_option_parser_add_option(op, sort_option);

  /* -revsort */
  revsort_option = gt_option_new_bool("revsort", "sort sequences in reverse "
                                      "lexicographic order",
                                      &arguments->revsort, false);
  gt_option_exclude(revsort_option, invert_option);
  gt_option_exclude(revsort_option, sort_option);
  gt_option_parser_add_option(op, revsort_option);

  /* -sorthdr */
  sorthdr_option = gt_option_new_bool("sorthdr",
                                      "sort sequences lexicographically "
                                      "by sequence header",
                                      &arguments->sorthdr, false);
  gt_option_exclude(sorthdr_option, invert_option);
  gt_option_exclude(sorthdr_option, sort_option);
  gt_option_exclude(sorthdr_option, revsort_option);
  gt_option_parser_add_option(op, sorthdr_option);

    /* -sorthdrnum */
  sorthdrnum_option = gt_option_new_bool("sorthdrnum",
                                         "sort sequences numerically "
                                         "by sequence header",
                                         &arguments->sorthdrnum, false);
  gt_option_exclude(sorthdrnum_option, invert_option);
  gt_option_exclude(sorthdrnum_option, sort_option);
  gt_option_exclude(sorthdrnum_option, revsort_option);
  gt_option_exclude(sorthdrnum_option, sorthdr_option);
  gt_option_parser_add_option(op, sorthdrnum_option);

  /* -shuffle */
  shuffle_option = gt_option_new_bool("shuffle", "shuffle sequences "
                                      "pseudo-randomly",
                                      &arguments->shuffle, false);
  gt_option_exclude(shuffle_option, invert_option);
  gt_option_exclude(shuffle_option, sort_option);
  gt_option_exclude(shuffle_option, revsort_option);
  gt_option_exclude(shuffle_option, sorthdr_option);
  gt_option_exclude(shuffle_option, sorthdrnum_option);
  gt_option_parser_add_option(op, shuffle_option);

  /* -sortlength */
  sort_length_option = gt_option_new_bool("sortlength",
                                          "sort by decreasing length",
                                          &arguments->sort_length, false);
  gt_option_exclude(sort_length_option, invert_option);
  gt_option_exclude(sort_length_option, sort_option);
  gt_option_exclude(sort_length_option, revsort_option);
  gt_option_exclude(sort_length_option, sorthdr_option);
  gt_option_exclude(sort_length_option, sorthdrnum_option);
  gt_option_exclude(sort_length_option, shuffle_option);
  gt_option_parser_add_option(op, sort_length_option);
  gt_option_parser_set_min_max_args(op, 1U, 1U);

  return op;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rdi, %rdi
je 0xc3d33
movq %rdi, %r14
leaq 0x294fa3(%rip), %rdi    # 0x358a86
leaq 0x294fda(%rip), %rsi    # 0x358ac4
callq 0x107bfe
movq %rax, %rbx
leaq 0x2ae38d(%rip), %rdi    # 0x371e86
leaq 0x294ff7(%rip), %rsi    # 0x358af7
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x1(%r14), %rdx
leaq 0x2e4cf1(%rip), %rdi    # 0x3a8814
leaq 0x294fe7(%rip), %rsi    # 0x358b11
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0x2(%r14), %rdx
leaq 0x2951b5(%rip), %rdi    # 0x358d0a
leaq 0x294feb(%rip), %rsi    # 0x358b47
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
movq %r15, 0x8(%rsp)
callq 0x10ab96
movq %r13, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %rbx, (%rsp)
movq %r13, %rsi
callq 0x107cc0
leaq 0x4(%r14), %rdx
leaq 0x294fda(%rip), %rdi    # 0x358b75
leaq 0x294fdb(%rip), %rsi    # 0x358b7d
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %rbp
movq %rax, %rdi
movq %r15, %rsi
callq 0x10ab96
movq %rbp, %rdi
movq %r12, %rsi
movq %r12, %r15
movq %r12, 0x10(%rsp)
callq 0x10ab96
movq %rbp, %rdi
movq %r13, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x107cc0
leaq 0x5(%r14), %rdx
leaq 0x294fc6(%rip), %rdi    # 0x358bb1
leaq 0x294fca(%rip), %rsi    # 0x358bbc
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %rbx
movq %rax, %rdi
movq 0x8(%rsp), %r12
movq %r12, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x10ab96
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x107cc0
leaq 0x3(%r14), %rdx
leaq 0x2ab29c(%rip), %rdi    # 0x36eee0
leaq 0x294f9f(%rip), %rsi    # 0x358bea
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %r15, %rdi
movq 0x10(%rsp), %r12
movq %r12, %rsi
callq 0x10ab96
movq %r15, %rdi
movq %r13, %rsi
callq 0x10ab96
movq %r15, %rdi
movq %rbp, %rsi
callq 0x10ab96
movq %r15, %rdi
movq %rbx, %rsi
callq 0x10ab96
movq (%rsp), %rdi
movq %r15, %rsi
callq 0x107cc0
addq $0x6, %r14
leaq 0x294f64(%rip), %rdi    # 0x358c0c
leaq 0x294f68(%rip), %rsi    # 0x358c17
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r14
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x10ab96
movq %r14, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %r14, %rdi
movq %r13, %rsi
callq 0x10ab96
movq %r14, %rdi
movq %rbp, %rsi
callq 0x10ab96
movq %r14, %rdi
movq %rbx, %rsi
callq 0x10ab96
movq %r14, %rdi
movq %r15, %rsi
callq 0x10ab96
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x107cc0
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
callq 0x10874b
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1f069