// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/seqid2file.c
// Function: gt_seqid2file_register_options_ext
void gt_seqid2file_register_options_ext(GtOptionParser *op,
                                        GtSeqid2FileInfo *s2fi,
                                        bool mandatory, bool debug)
{
  GtOption *seqfile_option, *encseq_option, *seqfiles_option, *matchdesc_option,
           *matchdescstart_option, *usedesc_option, *region_mapping_option;
  gt_assert(op && s2fi);

  /* -seqfile */
  seqfile_option = gt_option_new_filename("seqfile", "set the sequence file "
                                          "from which to take the sequences",
                                          s2fi->seqfile);
  if (debug)
    gt_option_is_development_option(seqfile_option);
  gt_option_parser_add_option(op, seqfile_option);

  /* -encseq */
  encseq_option = gt_option_new_filename("encseq", "set the encoded sequence "
                                         "indexname from which to take the "
                                         "sequences",
                                          s2fi->encseq);
  if (debug)
    gt_option_is_development_option(encseq_option);
  gt_option_parser_add_option(op, encseq_option);

  /* -seqfiles */
  seqfiles_option = gt_option_new_filename_array("seqfiles", "set the sequence "
                                                 "files from which to extract "
                                                 "the features\nuse '--' to "
                                                 "terminate the list of "
                                                 "sequence files ",
                                                 s2fi->seqfiles);
  if (debug)
    gt_option_is_development_option(seqfiles_option);
  gt_option_parser_add_option(op, seqfiles_option);

  /* -matchdesc */
  matchdesc_option = gt_option_new_bool("matchdesc", "search the sequence "
                                        "descriptions from the input files for "
                                        "the desired sequence IDs (in GFF3), "
                                        "reporting the first match",
                                        &s2fi->matchdesc, false);
  if (debug)
    gt_option_is_development_option(matchdesc_option);
  gt_option_parser_add_option(op, matchdesc_option);

  /* -matchdescstart */
  matchdescstart_option = gt_option_new_bool("matchdescstart",
                                        "exactly match the sequence "
                                        "descriptions from the input files "
                                        "for the desired sequence IDs "
                                        "(in GFF3) from the beginning to the "
                                        "first whitespace",
                                        &s2fi->matchdescstart, false);
  if (debug)
    gt_option_is_development_option(matchdescstart_option);
  gt_option_parser_add_option(op, matchdescstart_option);

  /* -usedesc */
  usedesc_option = gt_option_new_bool("usedesc", "use sequence descriptions to "
                                      "map the sequence IDs (in GFF3) to "
                                      "actual sequence entries.\nIf a "
                                      "description contains a sequence range "
                                      "(e.g., III:1000001..2000000), the first "
                                      " part is used as sequence ID ('III') "
                                      "and the first range position as offset "
                                      "('1000001')", &s2fi->usedesc, false);
  if (debug)
    gt_option_is_development_option(usedesc_option);
  gt_option_parser_add_option(op, usedesc_option);

  /* -regionmapping */
  region_mapping_option = gt_option_new_string("regionmapping", "set file "
                                               "containing sequence-region to "
                                               "sequence file mapping",
                                               s2fi->region_mapping, NULL);
  if (debug)
    gt_option_is_development_option(region_mapping_option);
  gt_option_parser_add_option(op, region_mapping_option);

  /* either option -seqfile, -seqfiles or -regionmapping is mandatory */
  if (mandatory) {
    gt_option_is_mandatory_either_4(seqfile_option, encseq_option,
                                    seqfiles_option, region_mapping_option);
  }

  /* the options -seqfile and -regionmapping exclude each other */
  gt_option_exclude(seqfile_option, region_mapping_option);

  /* the options -seqfiles and -regionmapping exclude each other */
  gt_option_exclude(seqfiles_option, region_mapping_option);

  /* the options -seqfile and -seqfiles exclude each other */
  gt_option_exclude(seqfile_option, seqfiles_option);

  /* the options -encseq and -regionmapping exclude each other */
  gt_option_exclude(encseq_option, region_mapping_option);

  /* the options -encseq and -seqfile exclude each other */
  gt_option_exclude(encseq_option, seqfile_option);

  /* the options -encseq and -seqfiles exclude each other */
  gt_option_exclude(encseq_option, seqfiles_option);

  /* the options -matchdesc and -usedesc exclude each other */
  gt_option_exclude(matchdesc_option, usedesc_option);

  /* option -matchdesc implies option -seqfile, -encseq or -seqfiles*/
  gt_option_imply_either_3(matchdesc_option, seqfile_option, seqfiles_option,
                           encseq_option);

  /* option -usedesc implies option -seqfile, -encseq or -seqfiles */
  gt_option_imply_either_3(usedesc_option, seqfile_option, seqfiles_option,
                           encseq_option);

  /* set hook function */
  gt_option_parser_register_hook(op, seqid2file_check, s2fi);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x116a09
movq %rsi, %rbx
testq %rsi, %rsi
je 0x116a09
movl %ecx, %r13d
movl %edx, %ebp
movq %rdi, %r14
movq 0x10(%rbx), %rdx
leaq 0x22791f(%rip), %rdi    # 0x33e0fa
leaq 0x21c1ce(%rip), %rsi    # 0x3329b0
callq 0x9ad51
movq %rax, %r15
testb %r13b, %r13b
je 0x1167f7
movq %r15, %rdi
callq 0x9b10a
movl %ebp, 0x4(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x97f31
movq 0x18(%rbx), %rdx
leaq 0x210de1(%rip), %rdi    # 0x3275f2
leaq 0x21c1cf(%rip), %rsi    # 0x3329e7
callq 0x9ad51
movq %rax, %r12
testb %r13b, %r13b
je 0x11682d
movq %r12, %rdi
callq 0x9b10a
movq %r14, %rdi
movq %r12, %rsi
callq 0x97f31
movq (%rbx), %rdx
leaq 0x1d60cb(%rip), %rdi    # 0x2ec90d
leaq 0x21c1e2(%rip), %rsi    # 0x332a2b
callq 0x9ad7e
movq %rax, %rbp
testb %r13b, %r13b
je 0x11685e
movq %rbp, %rdi
callq 0x9b10a
movq %r15, 0x10(%rsp)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x97f31
leaq 0x8(%rbx), %rdx
leaq 0x22791a(%rip), %rdi    # 0x33e193
leaq 0x21c217(%rip), %rsi    # 0x332a97
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
testb %r13b, %r13b
je 0x116897
movq %r15, %rdi
callq 0x9b10a
movq %r14, %rdi
movq %r15, 0x18(%rsp)
movq %r15, %rsi
callq 0x97f31
leaq 0xa(%rbx), %rdx
leaq 0x22790a(%rip), %rdi    # 0x33e1bc
leaq 0x21c256(%rip), %rsi    # 0x332b0f
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
testb %r13b, %r13b
je 0x1168d0
movq %r15, %rdi
callq 0x9b10a
movq %r12, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x9(%rbx), %rdx
leaq 0x2278ff(%rip), %rdi    # 0x33e1ea
leaq 0x21c2ac(%rip), %rsi    # 0x332b9e
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
testb %r13b, %r13b
je 0x116909
movq %r15, %rdi
callq 0x9b10a
movq %r14, %rdi
movq %r15, %rsi
callq 0x97f31
movq 0x20(%rbx), %rdx
leaq 0x21c382(%rip), %rdi    # 0x332ca1
leaq 0x21c389(%rip), %rsi    # 0x332caf
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, %r12
testb %r13b, %r13b
je 0x11693d
movq %r12, %rdi
callq 0x9b10a
movq %rbx, 0x20(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x97f31
cmpb $0x0, 0x4(%rsp)
je 0x116969
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rbp, %rdx
movq %r12, %rcx
callq 0x9afeb
movq 0x10(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %rbp, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %r13, %rdi
movq %rbp, %rsi
callq 0x9b38d
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x9b38d
movq 0x18(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x9b38d
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x9b2af
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x9b2af
leaq 0x51(%rip), %rsi        # 0x116a3f
movq %r14, %rdi
movq 0x20(%rsp), %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x980d4
movq 0x321558(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ce5f9(%rip), %rsi    # 0x2e5013
leaq 0x21bf61(%rip), %rdx    # 0x332982
leaq 0x21bf65(%rip), %rcx    # 0x33298d
leaq 0x21bf39(%rip), %r8     # 0x332968
pushq $0x47
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390