// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x58, %rsp
movb %cl, %al
movb %dl, %cl
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
andb $0x1, %cl
movb %cl, 0x47(%rsp)
andb $0x1, %al
movb %al, 0x46(%rsp)
cmpq $0x0, 0x50(%rsp)
je 0x1d44af
cmpq $0x0, 0x48(%rsp)
jne 0x1d44e7
movq 0x467aea(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x341b53(%rip), %rsi    # 0x516013
leaq 0x390a21(%rip), %rdx    # 0x564ee8
leaq 0x390a25(%rip), %rcx    # 0x564ef3
leaq 0x3909f9(%rip), %r8     # 0x564ece
movl $0x47, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1d44e9
movq 0x48(%rsp), %rax
movq 0x10(%rax), %rdx
leaq 0x39c370(%rip), %rdi    # 0x570869
leaq 0x390a16(%rip), %rsi    # 0x564f16
callq 0xf6aa0
movq %rax, 0x38(%rsp)
testb $0x1, 0x46(%rsp)
je 0x1d451b
movq 0x38(%rsp), %rdi
callq 0xf7040
movq 0x50(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0xf1600
movq 0x48(%rsp), %rax
movq 0x18(%rax), %rdx
leaq 0x38543c(%rip), %rdi    # 0x559976
leaq 0x390a0c(%rip), %rsi    # 0x564f4d
callq 0xf6aa0
movq %rax, 0x30(%rsp)
testb $0x1, 0x46(%rsp)
je 0x1d455c
movq 0x30(%rsp), %rdi
callq 0xf7040
movq 0x50(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0xf1600
movq 0x48(%rsp), %rax
movq (%rax), %rdx
leaq 0x34941d(%rip), %rdi    # 0x51d997
leaq 0x390a10(%rip), %rsi    # 0x564f91
callq 0xf6b00
movq %rax, 0x28(%rsp)
testb $0x1, 0x46(%rsp)
je 0x1d459c
movq 0x28(%rsp), %rdi
callq 0xf7040
movq 0x50(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x48(%rsp), %rdx
addq $0x8, %rdx
leaq 0x38e2aa(%rip), %rdi    # 0x562865
leaq 0x390a3b(%rip), %rsi    # 0x564ffd
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x20(%rsp)
testb $0x1, 0x46(%rsp)
je 0x1d45df
movq 0x20(%rsp), %rdi
callq 0xf7040
movq 0x50(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf1600
movq 0x48(%rsp), %rdx
addq $0xa, %rdx
leaq 0x39c32d(%rip), %rdi    # 0x57092b
leaq 0x390a70(%rip), %rsi    # 0x565075
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x18(%rsp)
testb $0x1, 0x46(%rsp)
je 0x1d4622
movq 0x18(%rsp), %rdi
callq 0xf7040
movq 0x50(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf1600
movq 0x48(%rsp), %rdx
addq $0x9, %rdx
leaq 0x39c318(%rip), %rdi    # 0x570959
leaq 0x390abc(%rip), %rsi    # 0x565104
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x10(%rsp)
testb $0x1, 0x46(%rsp)
je 0x1d4665
movq 0x10(%rsp), %rdi
callq 0xf7040
movq 0x50(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf1600
movq 0x48(%rsp), %rax
movq 0x20(%rax), %rdx
leaq 0x390b83(%rip), %rdi    # 0x565207
leaq 0x390b8a(%rip), %rsi    # 0x565215
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x8(%rsp)
testb $0x1, 0x46(%rsp)
je 0x1d46aa
movq 0x8(%rsp), %rdi
callq 0xf7040
movq 0x50(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
testb $0x1, 0x47(%rsp)
je 0x1d46d9
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x8(%rsp), %rcx
callq 0xf6ed0
movq 0x38(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf7320
movq 0x28(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf7320
movq 0x38(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf7320
movq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf7320
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0xf7320
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf7320
movq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf7320
movq 0x20(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rcx
callq 0xf7230
movq 0x10(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rcx
callq 0xf7230
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %rdx
leaq 0xb(%rip), %rsi         # 0x1d4790
callq 0xf1860
addq $0x58, %rsp
retq
nop