#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*/ printf(char *);
void helpMessage() {
  printf("Usage: qwamplify file [options]\n\n");
  printf("Options:\n");
  printf(" -f factor\t\tspecifies the amplification factor\n");
  printf(" -ir xi yi xf yf\tamplifies inside the rectangular region (x,y)\n");
  printf("                \tsuch that xi <= x <= xf and yi <= y <= yf\n");
  printf(" -or xi yi xf yf\tamplifies outside the rectangular region (x,y)\n");
  printf("                \tsuch that xi <= x <= xf and yi <= y <= yf\n");
  printf(" -ud xi yi xf yf\tamplifies the region under the diagonal line\n");
  printf("                \tdelimited by points (xi,yi) and (xf,yf)\n");
  printf(" -od xi yi xf yf\tamplifies the region over the diagonal line\n");
  printf("                \tdelimited by points (xi,yi) and (xf,yf)\n");
  return;
}


x86 assembly (clang, -O0):
<helpMessage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf51(%rip),%rdi
call   1030 <printf@plt>
lea    0xf81(%rip),%rdi
call   1030 <printf@plt>
lea    0xf39(%rip),%rdi
call   1030 <printf@plt>
lea    0xfaa(%rip),%rdi
call   1030 <printf@plt>
lea    0xfdd(%rip),%rdi
call   1030 <printf@plt>
lea    0x100b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<helpMessage>:
push   %rbx
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefd(%rip),%rdi
call   1030 <puts@plt>
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf90(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf41(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xfa8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1017(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xfcb(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [34 x i8] c"Usage: qwamplify file [options]\0A\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [48 x i8] c" -f factor\09\09specifies the amplification factor\0A\00"
@.str.3 = [64 x i8] c" -ir xi yi xf yf\09amplifies inside the rectangular region (x,y)\0A\00"
@.str.4 = [60 x i8] c" \09such that xi <= x <= xf and yi <= y <= yf\0A\00"
@.str.5 = [65 x i8] c" -or xi yi xf yf\09amplifies outside the rectangular region (x,y)\0A\00"
@.str.6 = [63 x i8] c" -ud xi yi xf yf\09amplifies the region under the diagonal line\0A\00"
@.str.7 = [58 x i8] c" \09delimited by points (xi,yi) and (xf,yf)\0A\00"
@.str.8 = [62 x i8] c" -od xi yi xf yf\09amplifies the region over the diagonal line\0A\00"
define void @helpMessage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [33 x i8] c"Usage: qwamplify file [options]\0A\00"
@str.9 = [9 x i8] c"Options:\00"
@str.10 = [47 x i8] c" -f factor\09\09specifies the amplification factor\00"
@str.11 = [63 x i8] c" -ir xi yi xf yf\09amplifies inside the rectangular region (x,y)\00"
@str.13 = [64 x i8] c" -or xi yi xf yf\09amplifies outside the rectangular region (x,y)\00"
@str.14 = [59 x i8] c" \09such that xi <= x <= xf and yi <= y <= yf\00"
@str.15 = [62 x i8] c" -ud xi yi xf yf\09amplifies the region under the diagonal line\00"
@str.17 = [61 x i8] c" -od xi yi xf yf\09amplifies the region over the diagonal line\00"
@str.18 = [57 x i8] c" \09delimited by points (xi,yi) and (xf,yf)\00"
define void @helpMessage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.9, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.10, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.17, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.18, i64 0, i64 0))
ret void
}