// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_tir.c
// Function: gt_tir_arguments_check
static int gt_tir_arguments_check(GT_UNUSED int rest_argc,
                                       void *tool_arguments,
                                       GT_UNUSED GtError *err)
{
  GtTirArguments *arguments = tool_arguments;
  int had_err = 0;
  gt_error_check(err);
  gt_assert(arguments);

  if (!had_err) {
    if (gt_option_is_set(arguments->optionoverlaps)) {
      if (strcmp(gt_str_get(arguments->str_overlaps), "no") == 0) {
        arguments->best_overlaps = false;
        arguments->no_overlaps = true;
        arguments->longest_overlaps = false;
      } else if (strcmp(gt_str_get(arguments->str_overlaps), "best") == 0 ) {
        arguments->best_overlaps = true;
        arguments->no_overlaps = false;
        arguments->longest_overlaps = false;
      } else if (strcmp(gt_str_get(arguments->str_overlaps), "longest") == 0 ) {
        arguments->best_overlaps = false;
        arguments->no_overlaps = false;
        arguments->longest_overlaps = true;
      } else if (strcmp(gt_str_get(arguments->str_overlaps), "all") == 0 ) {
        arguments->best_overlaps = false;
        arguments->no_overlaps = false;
        arguments->longest_overlaps = false;
      } else {
        gt_assert(0); /* cannot happen */
      }
    } else {
      /* default is "best" */
      arguments->longest_overlaps = false;
      arguments->best_overlaps = true;  /* take best prediction
                                           if overlap occurs, default */
      arguments->no_overlaps = false; /* overlapping predictions (not)
                                         allowed*/
    }
  }

  return had_err;
}

// Assembly:
subq $0x28, %rsp
movl %edi, 0x24(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x0, 0x4(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0x7bd14
movq 0x10(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x7bcdc
jmp 0x7bd14
movq 0x5c02bd(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x49a326(%rip), %rsi    # 0x516013
leaq 0x49a4cb(%rip), %rdx    # 0x5161bf
leaq 0x4b3070(%rip), %rcx    # 0x52ed6b
leaq 0x4b2a1e(%rip), %r8     # 0x52e720
movl $0x147, %r9d            # imm = 0x147
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x7bd16
jmp 0x7bd18
cmpq $0x0, 0x8(%rsp)
jne 0x7bd58
movq 0x5c0279(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x49a2e2(%rip), %rsi    # 0x516013
leaq 0x4fee27(%rip), %rdx    # 0x57ab5f
leaq 0x4b302c(%rip), %rcx    # 0x52ed6b
leaq 0x4b29da(%rip), %r8     # 0x52e720
movl $0x148, %r9d            # imm = 0x148
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x7bd5a
cmpl $0x0, 0x4(%rsp)
jne 0x7bf10
movq 0x8(%rsp), %rax
movq 0x98(%rax), %rdi
callq 0xf74a0
testb $0x1, %al
jne 0x7bd7f
jmp 0x7beea
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, %rdi
leaq 0x518e24(%rip), %rsi    # 0x594bbb
callq 0x19980
cmpl $0x0, %eax
jne 0x7bdca
movq 0x8(%rsp), %rax
movb $0x0, 0x88(%rax)
movq 0x8(%rsp), %rax
movb $0x1, 0x89(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0x8a(%rax)
jmp 0x7bee8
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, %rdi
leaq 0x4e4ee9(%rip), %rsi    # 0x560ccb
callq 0x19980
cmpl $0x0, %eax
jne 0x7be15
movq 0x8(%rsp), %rax
movb $0x1, 0x88(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0x89(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0x8a(%rax)
jmp 0x7bee6
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, %rdi
leaq 0x4a6597(%rip), %rsi    # 0x5223c4
callq 0x19980
cmpl $0x0, %eax
jne 0x7be60
movq 0x8(%rsp), %rax
movb $0x0, 0x88(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0x89(%rax)
movq 0x8(%rsp), %rax
movb $0x1, 0x8a(%rax)
jmp 0x7bee4
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, %rdi
leaq 0x4d06c5(%rip), %rsi    # 0x54c53d
callq 0x19980
cmpl $0x0, %eax
jne 0x7bea8
movq 0x8(%rsp), %rax
movb $0x0, 0x88(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0x89(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0x8a(%rax)
jmp 0x7bee2
jmp 0x7beaa
movq 0x5c00ef(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x49a158(%rip), %rsi    # 0x516013
leaq 0x4c482b(%rip), %rdx    # 0x5406ed
leaq 0x4b2ea2(%rip), %rcx    # 0x52ed6b
leaq 0x4b2850(%rip), %r8     # 0x52e720
movl $0x15d, %r9d            # imm = 0x15D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x7bee4
jmp 0x7bee6
jmp 0x7bee8
jmp 0x7bf0e
movq 0x8(%rsp), %rax
movb $0x0, 0x8a(%rax)
movq 0x8(%rsp), %rax
movb $0x1, 0x88(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0x89(%rax)
jmp 0x7bf10
movl 0x4(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax)