#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*/ fprintf(int /*<<< orphan*/, char *, char const *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
void print_usage(const char *progname) {
  fprintf(stderr,
          "\nUsage : %s -f inputfilename -O speciescode -W motif_width -e "
          "error -R repeatspercentage <options>\n"
          "\nspeciescode: two-letter species code (e.g. HS, MM, RN, SC, and so "
          "on)\n"
          "-W : motif length\n"
          "-e : number of mutations allowed\n"
          "-R : sequences percentage on which motif has to appear\n",
          progname);
  fputs("\noptions (not required):\n"
        "-S: process both strands of input sequences (default: single strand)\n"
        "-M: multiple motif occurrences in each sequence (default: expect zero "
        "or one occurrences per sequence)\n"
        "-T <number>: report top <number> motifs\n"
        "-V: verbose mode\n",
        stderr);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xec0(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e94(%rip),%rax
mov    (%rax),%esi
lea    0xfc0(%rip),%rdi
call   1030 <fputs@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rbx
mov    %rdi,%rdx
mov    0x2eb5(%rip),%rbx
mov    (%rbx),%edi
lea    0xecc(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%esi
lea    0xfd3(%rip),%rdi
pop    %rbx
jmp    1030 <fputs@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [277 x i8] c"\0AUsage : %s -f inputfilename -O speciescode -W motif_width -e error -R repeatspercentage <options>\0A\0Aspeciescode: two-letter species code (e.g. HS, MM, RN, SC, and so on)\0A-W : motif length\0A-e : number of mutations allowed\0A-R : sequences percentage on which motif has to appear\0A\00"
@.str.1 = [255 x i8] c"\0Aoptions (not required):\0A-S: process both strands of input sequences (default: single strand)\0A-M: multiple motif occurrences in each sequence (default: expect zero or one occurrences per sequence)\0A-T <number>: report top <number> motifs\0A-V: verbose mode\0A\00"
define void @print_usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([277 x i8], [277 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = load i32, i32* @stderr
%7 = call i32 @fputs(i8* getelementptr inbounds ([255 x i8], [255 x i8]* @.str.1, i64 0, i64 0), i32 %6)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [277 x i8] c"\0AUsage : %s -f inputfilename -O speciescode -W motif_width -e error -R repeatspercentage <options>\0A\0Aspeciescode: two-letter species code (e.g. HS, MM, RN, SC, and so on)\0A-W : motif length\0A-e : number of mutations allowed\0A-R : sequences percentage on which motif has to appear\0A\00"
@.str.1 = [255 x i8] c"\0Aoptions (not required):\0A-S: process both strands of input sequences (default: single strand)\0A-M: multiple motif occurrences in each sequence (default: expect zero or one occurrences per sequence)\0A-T <number>: report top <number> motifs\0A-V: verbose mode\0A\00"
define void @print_usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([277 x i8], [277 x i8]* @.str, i64 0, i64 0), i8* %0)
%4 = load i32, i32* @stderr
%5 = tail call i32 @fputs(i8* getelementptr inbounds ([255 x i8], [255 x i8]* @.str.1, i64 0, i64 0), i32 %4)
ret void
}