// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_paircmp.c
// Function: applycheckfunctiontosimpleoptions
static GtUword applycheckfunctiontosimpleoptions(
                                  Checkcmppairfuntype checkfunction,
                                  const Cmppairwiseopt *opt)
{
  if (gt_str_array_size(opt->strings) > 0)
  {
    bool forward = true;
    while (true)
    {
      checkfunction(forward,
                    (const GtUchar *) gt_str_array_get(opt->strings,0),
                    (GtUword) strlen(gt_str_array_get(opt->strings,0)),
                    (const GtUchar *) gt_str_array_get(opt->strings,1UL),
                    (GtUword) strlen(gt_str_array_get(opt->strings,1UL)));
      if (!forward)
      {
        break;
      }
      forward = false;
    }
    return 2UL; /* number of testcases */
  }
  if (gt_str_array_size(opt->files) > 0)
  {
    if (opt->fasta)
    {
      GtUword  i, j;
      for (i = 0; i < gt_str_array_size(opt->fastasequences0); i++)
      {
        for (j = 0; j < gt_str_array_size(opt->fastasequences1); j++)
        {
          checkfunction(true,
                    (const GtUchar *) gt_str_array_get(opt->fastasequences0,i),
                    (GtUword) strlen(gt_str_array_get(opt->fastasequences0,i)),
                    (const GtUchar *) gt_str_array_get(opt->fastasequences1,j),
                    (GtUword) strlen(gt_str_array_get(opt->fastasequences1,j)));
        }
      }
    }
    else
    {
      gt_runcheckfunctionontwofiles(checkfunction,
                                    gt_str_array_get(opt->files,0),
                                    gt_str_array_get(opt->files,1UL));
    }
    return 2UL;
  }
  if (opt->charlistlen != NULL)
  {
    return gt_runcheckfunctiononalphalen(checkfunction,
                                      gt_str_get(opt->charlistlen->charlist),
                                      opt->charlistlen->len);
  }
  if (gt_str_length(opt->text) > 0)
  {
    return gt_runcheckfunctionontext(checkfunction, gt_str_get(opt->text));
  }
  gt_assert(false);
  return 0;
}

// Assembly:
subq $0xa8, %rsp
movq %rdi, 0x98(%rsp)
movq %rsi, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq (%rax), %rdi
callq 0x11fcc0
cmpq $0x0, %rax
jbe 0x4ac82
movb $0x1, 0x8f(%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x70(%rsp)
movb 0x8f(%rsp), %al
movb %al, 0x57(%rsp)
movq 0x90(%rsp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x11f8c0
movq %rax, 0x58(%rsp)
movq 0x90(%rsp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x11f8c0
movq %rax, %rdi
callq 0x192b0
movq %rax, 0x60(%rsp)
movq 0x90(%rsp), %rax
movq (%rax), %rdi
movl $0x1, %esi
callq 0x11f8c0
movq %rax, 0x68(%rsp)
movq 0x90(%rsp), %rax
movq (%rax), %rdi
movl $0x1, %esi
callq 0x11f8c0
movq %rax, %rdi
callq 0x192b0
movb 0x57(%rsp), %dil
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rcx
movq %rax, %r8
movq 0x70(%rsp), %rax
andb $0x1, %dil
movzbl %dil, %edi
callq *%rax
testb $0x1, 0x8f(%rsp)
jne 0x4ac64
jmp 0x4ac71
movb $0x0, 0x8f(%rsp)
jmp 0x4aba9
movq $0x2, 0xa0(%rsp)
jmp 0x4af35
movq 0x90(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x11fcc0
cmpq $0x0, %rax
jbe 0x4ae57
movq 0x90(%rsp), %rax
testb $0x1, 0x30(%rax)
je 0x4adf7
movq $0x0, 0x80(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x90(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11fcc0
movq %rax, %rcx
movq 0x48(%rsp), %rax
cmpq %rcx, %rax
jae 0x4adf5
movq $0x0, 0x78(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x90(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x11fcc0
movq %rax, %rcx
movq 0x40(%rsp), %rax
cmpq %rcx, %rax
jae 0x4adda
movq 0x98(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x90(%rsp), %rax
movq 0x10(%rax), %rdi
movq 0x80(%rsp), %rsi
callq 0x11f8c0
movq %rax, 0x20(%rsp)
movq 0x90(%rsp), %rax
movq 0x10(%rax), %rdi
movq 0x80(%rsp), %rsi
callq 0x11f8c0
movq %rax, %rdi
callq 0x192b0
movq %rax, 0x28(%rsp)
movq 0x90(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x78(%rsp), %rsi
callq 0x11f8c0
movq %rax, 0x30(%rsp)
movq 0x90(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x78(%rsp), %rsi
callq 0x11f8c0
movq %rax, %rdi
callq 0x192b0
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq %rax, %r8
movq 0x38(%rsp), %rax
movl $0x1, %edi
callq *%rax
movq 0x78(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x78(%rsp)
jmp 0x4acf3
jmp 0x4addc
movq 0x80(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x80(%rsp)
jmp 0x4acbb
jmp 0x4ae46
movq 0x98(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x90(%rsp), %rax
movq 0x8(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x11f8c0
movq %rax, 0x18(%rsp)
movq 0x90(%rsp), %rax
movq 0x8(%rax), %rdi
movl $0x1, %esi
callq 0x11f8c0
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq %rax, %rdx
callq 0x2f2de0
movq $0x2, 0xa0(%rsp)
jmp 0x4af35
movq 0x90(%rsp), %rax
cmpq $0x0, 0x20(%rax)
je 0x4aeb1
movq 0x98(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x90(%rsp), %rax
movq 0x20(%rax), %rax
movq (%rax), %rdi
callq 0x11dee0
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq 0x90(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x8(%rax), %rdx
callq 0x2f3050
movq %rax, 0xa0(%rsp)
jmp 0x4af35
movq 0x90(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x11dfa0
cmpq $0x0, %rax
jbe 0x4aefb
movq 0x98(%rsp), %rax
movq %rax, (%rsp)
movq 0x90(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x11dee0
movq (%rsp), %rdi
movq %rax, %rsi
callq 0x2f2f40
movq %rax, 0xa0(%rsp)
jmp 0x4af35
jmp 0x4aefd
movq 0x5f109c(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4cb105(%rip), %rsi    # 0x516013
leaq 0x50de4e(%rip), %rdx    # 0x558d63
leaq 0x4d8324(%rip), %rcx    # 0x523240
leaq 0x4d7fb3(%rip), %r8     # 0x522ed6
movl $0x130, %r9d            # imm = 0x130
movb $0x0, %al
callq 0x199f0
callq 0x19370
movq 0xa0(%rsp), %rax
addq $0xa8, %rsp
retq
nopw %cs:(%rax,%rax)