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

  if (rest_argc != 0) {
    gt_error_set(err, "to many arguments use -help for options");
    had_err = -1;
  }
  if (!had_err) {
    struct stat buf;
    if (stat(gt_str_get(arguments->hmmsearch_path), &buf) != 0) {
      gt_error_set(err, "error with %s: %s",
                   gt_str_get(arguments->hmmsearch_path),
                   strerror(errno));
      had_err = -1;
    }
    if (!had_err) {
      mode_t mode = buf.st_mode & S_IRWXU;
      if (!(mode & S_IXUSR)    /* owner executable */
#ifndef _WIN32
          && !(mode & S_IXGRP) /* group ~ */
          && !(mode & S_IXOTH) /* other ~ */
#endif
         ) {
        gt_error_set(err, "%s is not executable",
                     gt_str_get(arguments->hmmsearch_path));
        had_err = -1;
      }
    }
  }
  return had_err;
}

// Assembly:
subq $0xd8, %rsp
movl %edi, 0xd4(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdx, 0xc0(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0xb8(%rsp)
movl $0x0, 0xb4(%rsp)
cmpq $0x0, 0xc0(%rsp)
je 0x27c3f
movq 0xc0(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x27c07
jmp 0x27c3f
movq 0x614392(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ee3fb(%rip), %rsi    # 0x516013
leaq 0x4ee5a0(%rip), %rdx    # 0x5161bf
leaq 0x4f2979(%rip), %rcx    # 0x51a59f
leaq 0x4f26dd(%rip), %r8     # 0x51a30a
movl $0x8f, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27c41
jmp 0x27c43
cmpq $0x0, 0xb8(%rsp)
jne 0x27c86
movq 0x61434b(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ee3b4(%rip), %rsi    # 0x516013
leaq 0x552ef9(%rip), %rdx    # 0x57ab5f
leaq 0x4f2932(%rip), %rcx    # 0x51a59f
leaq 0x4f2696(%rip), %r8     # 0x51a30a
movl $0x90, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27c88
cmpl $0x0, 0xd4(%rsp)
je 0x27cb3
movq 0xc0(%rsp), %rdi
leaq 0x4f2925(%rip), %rsi    # 0x51a5c6
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0xb4(%rsp) # imm = 0xFFFFFFFF
cmpl $0x0, 0xb4(%rsp)
jne 0x27db5
movq 0xb8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, %rdi
leaq 0x20(%rsp), %rsi
callq 0x19f08
cmpl $0x0, %eax
je 0x27d39
movq 0xc0(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0xb8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, 0x10(%rsp)
callq 0x19060
movl (%rax), %edi
callq 0x19200
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rdx
movq %rax, %rcx
leaq 0x4f28c7(%rip), %rsi    # 0x51a5ee
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0xb4(%rsp) # imm = 0xFFFFFFFF
cmpl $0x0, 0xb4(%rsp)
jne 0x27db3
movl 0x38(%rsp), %eax
andl $0x1c0, %eax            # imm = 0x1C0
movl %eax, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
jne 0x27db1
movl 0x1c(%rsp), %eax
andl $0x8, %eax
cmpl $0x0, %eax
jne 0x27db1
movl 0x1c(%rsp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x27db1
movq 0xc0(%rsp), %rax
movq %rax, (%rsp)
movq 0xb8(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq (%rsp), %rdi
movq %rax, %rdx
leaq 0x4f2861(%rip), %rsi    # 0x51a600
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0xb4(%rsp) # imm = 0xFFFFFFFF
jmp 0x27db3
jmp 0x27db5
movl 0xb4(%rsp), %eax
addq $0xd8, %rsp
retq
nopw %cs:(%rax,%rax)