#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void single_usage(int status, char *msg) {
  fprintf(
      stderr,
      "\nUsage: %s se [options] -f <fastq sequence file> -t <quality type> -o "
      "<trimmed fastq file>\n\nOptions:\n-f, --fastq-file, Input fastq file "
      "(required)\n-t, --qual-type, Type of quality values (solexa (CASAVA < "
      "1.3), illumina (CASAVA 1.3 to 1.7), sanger (which is CASAVA >= 1.8)) "
      "(required)\n-o, --output-file, Output trimmed fastq file (required)\n",
      "sickle");
  fprintf(stderr,
          "-q, --qual-threshold, Threshold for trimming based on average "
          "quality in a window. Default 20.\n-l, --length-threshold, Threshold "
          "to keep a read based on length after trimming. Default 20.\n-x, "
          "--no-fiveprime, Don't do five prime trimming.\n-n, --trunc-n, "
          "Truncate sequences at position of first N.\n-g, --gzip-output, "
          "Output gzipped files.\n--quiet, Don't print out any trimming "
          "information\n--help, display this help and exit\n--version, output "
          "version information and exit\n\n");
  if (msg)
    fprintf(stderr, "%s\n\n", msg);
  exit(status);
}


x86 assembly (clang, -O0):
<single_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2eaa(%rip),%rax
mov    (%rax),%edi
lea    0xec1(%rip),%rsi
lea    0x1010(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e8c(%rip),%rax
mov    (%rax),%edi
lea    0x1000(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
cmpq   $0x0,-0x10(%rbp)
je     118a <single_usage+0x6a>
mov    0x2e6a(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0x11b1(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x4(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<single_usage>:
push   %rbp
push   %r14
push   %rbx
mov    %rsi,%rbx
mov    %edi,%r14d
mov    0x2eaf(%rip),%rbp
mov    0x0(%rbp),%edi
lea    0xec5(%rip),%rsi
lea    0x1014(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    0x0(%rbp),%edi
lea    0x100a(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
test   %rbx,%rbx
je     1173 <single_usage+0x53>
mov    0x0(%rbp),%edi
lea    0x11cb(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    %r14d,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [342 x i8] c"\0AUsage: %s se [options] -f <fastq sequence file> -t <quality type> -o <trimmed fastq file>\0A\0AOptions:\0A-f, --fastq-file, Input fastq file (required)\0A-t, --qual-type, Type of quality values (solexa (CASAVA < 1.3), illumina (CASAVA 1.3 to 1.7), sanger (which is CASAVA >= 1.8)) (required)\0A-o, --output-file, Output trimmed fastq file (required)\0A\00"
@.str.1 = [7 x i8] c"sickle\00"
@.str.2 = [471 x i8] c"-q, --qual-threshold, Threshold for trimming based on average quality in a window. Default 20.\0A-l, --length-threshold, Threshold to keep a read based on length after trimming. Default 20.\0A-x, --no-fiveprime, Don't do five prime trimming.\0A-n, --trunc-n, Truncate sequences at position of first N.\0A-g, --gzip-output, Output gzipped files.\0A--quiet, Don't print out any trimming information\0A--help, display this help and exit\0A--version, output version information and exit\0A\0A\00"
@.str.3 = [5 x i8] c"%s\0A\0A\00"
define void @single_usage(i32 %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
store i32 %0, i32* %3
store i8* %1, i8** %4
%5 = load i32, i32* @stderr
%6 = call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([342 x i8], [342 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([471 x i8], [471 x i8]* @.str.2, i64 0, i64 0))
%9 = load i8*, i8** %4
%10 = icmp ne i8* %9, null
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, i32* @stderr
%13 = load i8*, i8** %4
%14 = call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %13)
br label %15
15: ; preds = %11, %2
%16 = load i32, i32* %3
%17 = call i32 @exit(i32 %16)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [342 x i8] c"\0AUsage: %s se [options] -f <fastq sequence file> -t <quality type> -o <trimmed fastq file>\0A\0AOptions:\0A-f, --fastq-file, Input fastq file (required)\0A-t, --qual-type, Type of quality values (solexa (CASAVA < 1.3), illumina (CASAVA 1.3 to 1.7), sanger (which is CASAVA >= 1.8)) (required)\0A-o, --output-file, Output trimmed fastq file (required)\0A\00"
@.str.1 = [7 x i8] c"sickle\00"
@.str.2 = [471 x i8] c"-q, --qual-threshold, Threshold for trimming based on average quality in a window. Default 20.\0A-l, --length-threshold, Threshold to keep a read based on length after trimming. Default 20.\0A-x, --no-fiveprime, Don't do five prime trimming.\0A-n, --trunc-n, Truncate sequences at position of first N.\0A-g, --gzip-output, Output gzipped files.\0A--quiet, Don't print out any trimming information\0A--help, display this help and exit\0A--version, output version information and exit\0A\0A\00"
@.str.3 = [5 x i8] c"%s\0A\0A\00"
define void @single_usage(i32 %0, i8* %1) {
%3 = load i32, i32* @stderr
%4 = tail call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([342 x i8], [342 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([471 x i8], [471 x i8]* @.str.2, i64 0, i64 0))
%7 = icmp eq i8* %1, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, i32* @stderr
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %1)
br label %11
11: ; preds = %8, %2
%12 = tail call i32 @exit(i32 %0)
unreachable
}