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

  if (rest_argc != 1) {
    had_err = -1;
    gt_error_set(err, "archive parameter is mandatory, use -help for usage");
  }
  if (!had_err &&
      arguments->range.start != GT_UNDEF_UWORD) {
    if (arguments->range.start > arguments->range.end) {
      had_err = -1;
      gt_error_set(err, "give range of positions in the form 'a b' with a "
                   "<= b");
    }
    if (!had_err &&
        strcmp(gt_str_get(arguments->mode), "fasta") == 0) {
      had_err = -1;
      gt_error_set(err, "-range is incompatible to fasta output");
    }
  }
  if (!had_err &&
      arguments->seqrange.start != GT_UNDEF_UWORD) {
    if (arguments->seqrange.start > arguments->seqrange.end) {
      had_err = -1;
      gt_error_set(err, "give range of positions in the form 'a b' with a "
                   "<= b");
    }
  }

  if (!had_err &&
      gt_option_is_set(arguments->sepchar_opt)) {
    if (strcmp(gt_str_get(arguments->mode), "fasta") == 0) {
      had_err = -1;
      gt_error_set(err, "-sepchar is incompatible with -output fasta");
    }
    if (!had_err &&
        gt_str_length(arguments->sepchar) != (GtUword) 1) {
      had_err = -1;
      gt_error_set(err, "sepchar (\"%s\" given) has to be a single character",
                   gt_str_get(arguments->sepchar));
    }
  }

  return had_err;
}

// Assembly:
subq $0x38, %rsp
movl %edi, 0x34(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movl $0x0, 0x14(%rsp)
cmpq $0x0, 0x20(%rsp)
je 0x26e44
movq 0x20(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x26e0c
jmp 0x26e44
movq 0x61518d(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ef1f6(%rip), %rsi    # 0x516013
leaq 0x4ef39b(%rip), %rdx    # 0x5161bf
leaq 0x4f32b2(%rip), %rcx    # 0x51a0dd
leaq 0x4f309f(%rip), %r8     # 0x519ed1
movl $0x9d, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x26e46
jmp 0x26e48
cmpq $0x0, 0x18(%rsp)
jne 0x26e88
movq 0x615149(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ef1b2(%rip), %rsi    # 0x516013
leaq 0x553cf7(%rip), %rdx    # 0x57ab5f
leaq 0x4f326e(%rip), %rcx    # 0x51a0dd
leaq 0x4f305b(%rip), %r8     # 0x519ed1
movl $0x9e, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x26e8a
cmpl $0x1, 0x34(%rsp)
je 0x26eac
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x20(%rsp), %rdi
leaq 0x4f325d(%rip), %rsi    # 0x51a102
movb $0x0, %al
callq 0xd88c0
cmpl $0x0, 0x14(%rsp)
jne 0x26f38
movq 0x18(%rsp), %rax
cmpq $-0x1, 0x28(%rax)
je 0x26f38
movq 0x18(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x18(%rsp), %rcx
cmpq 0x30(%rcx), %rax
jbe 0x26ef2
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x20(%rsp), %rdi
leaq 0x4f324b(%rip), %rsi    # 0x51a136
movb $0x0, %al
callq 0xd88c0
cmpl $0x0, 0x14(%rsp)
jne 0x26f36
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, %rdi
leaq 0x524f67(%rip), %rsi    # 0x54be78
callq 0x19980
cmpl $0x0, %eax
jne 0x26f36
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x20(%rsp), %rdi
leaq 0x4f323d(%rip), %rsi    # 0x51a16c
movb $0x0, %al
callq 0xd88c0
jmp 0x26f38
cmpl $0x0, 0x14(%rsp)
jne 0x26f7c
movq 0x18(%rsp), %rax
cmpq $-0x1, 0x38(%rax)
je 0x26f7c
movq 0x18(%rsp), %rax
movq 0x38(%rax), %rax
movq 0x18(%rsp), %rcx
cmpq 0x40(%rcx), %rax
jbe 0x26f7a
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x20(%rsp), %rdi
leaq 0x4f31c3(%rip), %rsi    # 0x51a136
movb $0x0, %al
callq 0xd88c0
jmp 0x26f7c
cmpl $0x0, 0x14(%rsp)
jne 0x2702e
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0xf74a0
testb $0x1, %al
jne 0x26f9e
jmp 0x2702e
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x11dee0
movq %rax, %rdi
leaq 0x524ec2(%rip), %rsi    # 0x54be78
callq 0x19980
cmpl $0x0, %eax
jne 0x26fdb
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x20(%rsp), %rdi
leaq 0x4f31bf(%rip), %rsi    # 0x51a193
movb $0x0, %al
callq 0xd88c0
cmpl $0x0, 0x14(%rsp)
jne 0x2702c
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x11dfa0
cmpq $0x1, %rax
je 0x2702c
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x11dee0
movq 0x8(%rsp), %rdi
movq %rax, %rdx
leaq 0x4f319a(%rip), %rsi    # 0x51a1bf
movb $0x0, %al
callq 0xd88c0
jmp 0x2702e
movl 0x14(%rsp), %eax
addq $0x38, %rsp
retq
nopw (%rax,%rax)