// File: /workspace/github_c_makefile_star2_O2/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 0x47ed2
movq %rdi, %r14
leaq 0x2b0dd7(%rip), %rdi    # 0x2f8a5e
leaq 0x2b0e0e(%rip), %rsi    # 0x2f8a9c
callq 0x97df5
movq %rax, %rbx
leaq 0x2ca4f9(%rip), %rdi    # 0x312196
leaq 0x2b0e2b(%rip), %rsi    # 0x2f8acf
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x1(%r14), %rdx
leaq 0x300ee0(%rip), %rdi    # 0x348ba7
leaq 0x2b0e1b(%rip), %rsi    # 0x2f8ae9
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
leaq 0x2(%r14), %rdx
leaq 0x2b0fe9(%rip), %rdi    # 0x2f8ce2
leaq 0x2b0e1f(%rip), %rsi    # 0x2f8b1f
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
movq %r15, 0x8(%rsp)
callq 0x9b38d
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %rbx, (%rsp)
movq %r13, %rsi
callq 0x97f31
leaq 0x4(%r14), %rdx
leaq 0x2b0e0e(%rip), %rdi    # 0x2f8b4d
leaq 0x2b0e0f(%rip), %rsi    # 0x2f8b55
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %rbp
movq %rax, %rdi
movq %r15, %rsi
callq 0x9b38d
movq %rbp, %rdi
movq %r12, %rsi
movq %r12, %r15
movq %r12, 0x10(%rsp)
callq 0x9b38d
movq %rbp, %rdi
movq %r13, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x97f31
leaq 0x5(%r14), %rdx
leaq 0x2b0dfa(%rip), %rdi    # 0x2f8b89
leaq 0x2b0dfe(%rip), %rsi    # 0x2f8b94
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %rbx
movq %rax, %rdi
movq 0x8(%rsp), %r12
movq %r12, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x9b38d
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x97f31
leaq 0x3(%r14), %rdx
leaq 0x2c7410(%rip), %rdi    # 0x30f1f8
leaq 0x2b0dd3(%rip), %rsi    # 0x2f8bc2
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %r15, %rdi
movq 0x10(%rsp), %r12
movq %r12, %rsi
callq 0x9b38d
movq %r15, %rdi
movq %r13, %rsi
callq 0x9b38d
movq %r15, %rdi
movq %rbp, %rsi
callq 0x9b38d
movq %r15, %rdi
movq %rbx, %rsi
callq 0x9b38d
movq (%rsp), %rdi
movq %r15, %rsi
callq 0x97f31
addq $0x6, %r14
leaq 0x2b0d98(%rip), %rdi    # 0x2f8be4
leaq 0x2b0d9c(%rip), %rsi    # 0x2f8bef
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r14
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x9b38d
movq %r14, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %r14, %rdi
movq %r13, %rsi
callq 0x9b38d
movq %r14, %rdi
movq %rbp, %rsi
callq 0x9b38d
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9b38d
movq %r14, %rdi
movq %r15, %rsi
callq 0x9b38d
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97f31
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl %edx, %esi
callq 0x98c6b
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3f008f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29d130(%rip), %rsi    # 0x2e5013
leaq 0x300769(%rip), %rdx    # 0x348653
leaq 0x2b0b4f(%rip), %rcx    # 0x2f8a40
leaq 0x2b0b30(%rip), %r8     # 0x2f8a28
pushq $0x39
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390