// File: /workspace/github_c_makefile_star2_O3/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 0x172f2d
movq %rsi, %rbx
testq %rsi, %rsi
je 0x172f2d
movl %ecx, %r13d
movl %edx, %ebp
movq %rdi, %r14
movq 0x10(%rbx), %rdx
leaq 0x22b09b(%rip), %rdi    # 0x39dd9a
leaq 0x21f96a(%rip), %rsi    # 0x392670
callq 0x10a7af
movq %rax, %r15
testb %r13b, %r13b
je 0x172d1b
movq %r15, %rdi
callq 0x10a9d4
movl %ebp, 0x4(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x107cc0
movq 0x18(%rbx), %rdx
leaq 0x2144c8(%rip), %rdi    # 0x3871fd
leaq 0x21f96b(%rip), %rsi    # 0x3926a7
callq 0x10a7af
movq %rax, %r12
testb %r13b, %r13b
je 0x172d51
movq %r12, %rdi
callq 0x10a9d4
movq %r14, %rdi
movq %r12, %rsi
callq 0x107cc0
movq (%rbx), %rdx
leaq 0x1d9ba7(%rip), %rdi    # 0x34c90d
leaq 0x21f97e(%rip), %rsi    # 0x3926eb
callq 0x10a7df
movq %rax, %rbp
testb %r13b, %r13b
je 0x172d82
movq %rbp, %rdi
callq 0x10a9d4
movq %r15, 0x10(%rsp)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x107cc0
leaq 0x8(%rbx), %rdx
leaq 0x22b096(%rip), %rdi    # 0x39de33
leaq 0x21f9b3(%rip), %rsi    # 0x392757
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
testb %r13b, %r13b
je 0x172dbb
movq %r15, %rdi
callq 0x10a9d4
movq %r14, %rdi
movq %r15, 0x18(%rsp)
movq %r15, %rsi
callq 0x107cc0
leaq 0xa(%rbx), %rdx
leaq 0x22b086(%rip), %rdi    # 0x39de5c
leaq 0x21f9f2(%rip), %rsi    # 0x3927cf
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
testb %r13b, %r13b
je 0x172df4
movq %r15, %rdi
callq 0x10a9d4
movq %r12, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x107cc0
leaq 0x9(%rbx), %rdx
leaq 0x22b07b(%rip), %rdi    # 0x39de8a
leaq 0x21fa48(%rip), %rsi    # 0x39285e
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
testb %r13b, %r13b
je 0x172e2d
movq %r15, %rdi
callq 0x10a9d4
movq %r14, %rdi
movq %r15, %rsi
callq 0x107cc0
movq 0x20(%rbx), %rdx
leaq 0x21fb1e(%rip), %rdi    # 0x392961
leaq 0x21fb25(%rip), %rsi    # 0x39296f
xorl %ecx, %ecx
callq 0x10a770
movq %rax, %r12
testb %r13b, %r13b
je 0x172e61
movq %r12, %rdi
callq 0x10a9d4
movq %rbx, 0x20(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x107cc0
cmpb $0x0, 0x4(%rsp)
je 0x172e8d
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rbp, %rdx
movq %r12, %rcx
callq 0x10a941
movq 0x10(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %rbp, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %r13, %rdi
movq %rbp, %rsi
callq 0x10ab96
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x10ab96
movq 0x18(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x10ab96
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x10aae7
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x10aae7
leaq 0x20(%rip), %rsi        # 0x172f32
movq %r14, %rdi
movq 0x20(%rsp), %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x107d66
callq 0x53c3b