#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*/ printUsage(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ stdout;
void printHelp() {
  printUsage(stdout);
  printf("Turn destdir into a clone of srcdir.\n\n");
  printf("Options:\n");
  printf(" --test\t\tRun in test mode\n");
  printf(" --noremove\tDon't remove any files in destdir\n");
  printf(" --help\t\tPrint this help and quit\n\n");
  printf("Report bugs to L. Bradley LaBoon <me@bradleylaboon.com>\n");
  printf("backly home page: <http://git.bradleylaboon.com/backly.git>\n");
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
call   1040 <printUsage@plt>
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
lea    0xee2(%rip),%rdi
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf57(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
call   1040 <printUsage@plt>
lea    0xeca(%rip),%rdi
call   1030 <puts@plt>
lea    0xee4(%rip),%rdi
call   1030 <puts@plt>
lea    0xee1(%rip),%rdi
call   1030 <puts@plt>
lea    0xeef(%rip),%rdi
call   1030 <puts@plt>
lea    0xf11(%rip),%rdi
call   1030 <puts@plt>
lea    0xf28(%rip),%rdi
call   1030 <puts@plt>
lea    0xf54(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [39 x i8] c"Turn destdir into a clone of srcdir.\0A\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [27 x i8] c" --test\09\09Run in test mode\0A\00"
@.str.3 = [47 x i8] c" --noremove\09Don't remove any files in destdir\0A\00"
@.str.4 = [36 x i8] c" --help\09\09Print this help and quit\0A\0A\00"
@.str.5 = [57 x i8] c"Report bugs to L. Bradley LaBoon <me@bradleylaboon.com>\0A\00"
@.str.6 = [61 x i8] c"backly home page: <http://git.bradleylaboon.com/backly.git>\0A\00"
define void @printHelp() {
%1 = load i32, i32* @stdout
%2 = call i32 @printUsage(i32 %1)
%3 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@str = [38 x i8] c"Turn destdir into a clone of srcdir.\0A\00"
@str.7 = [9 x i8] c"Options:\00"
@str.8 = [26 x i8] c" --test\09\09Run in test mode\00"
@str.9 = [46 x i8] c" --noremove\09Don't remove any files in destdir\00"
@str.10 = [35 x i8] c" --help\09\09Print this help and quit\0A\00"
@str.11 = [56 x i8] c"Report bugs to L. Bradley LaBoon <me@bradleylaboon.com>\00"
@str.12 = [60 x i8] c"backly home page: <http://git.bradleylaboon.com/backly.git>\00"
define void @printHelp() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @printUsage(i32 %1)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.7, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.8, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.9, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.10, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.11, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.12, i64 0, i64 0))
ret void
}