#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 *, char *);
void print_help() {
  printf("%s", "\r\nGPackager v1.0 (C) 2013 Christian Gunderman\r\n");
  printf("%s", "Subject to GNU GPL <http://www.gnu.org/licenses/>\r\n\r\n");
  printf("%s", "USAGE:\r\n");
  printf("%s", " gpac create [archive_file] [name] [description] "
               "[files_to_put_in...]\r\n");
  printf("%s", " gpac add [archive_file] [files_to_put_in...]\r\n");
  printf("%s", " gpac extract [archive_file]\r\n");
  printf("%s", " gpac info [archive_file]\r\n");
  printf("%s", "\r\n");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xee1(%rip),%rsi
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
lea    0xefe(%rip),%rsi
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
lea    0xf21(%rip),%rsi
call   1030 <printf@plt>
lea    0xeac(%rip),%rdi
lea    0xf17(%rip),%rsi
call   1030 <printf@plt>
lea    0xe99(%rip),%rdi
lea    0xf4c(%rip),%rsi
call   1030 <printf@plt>
lea    0xe86(%rip),%rdi
lea    0xf69(%rip),%rsi
call   1030 <printf@plt>
lea    0xe73(%rip),%rdi
lea    0xf75(%rip),%rsi
call   1030 <printf@plt>
lea    0xe60(%rip),%rdi
lea    0xebf(%rip),%rsi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xee4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf05(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf2c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf26(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf5f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf80(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf90(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xede(%rip),%rsi
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [48 x i8] c"\0D\0AGPackager v1.0 (C) 2013 Christian Gunderman\0D\0A\00"
@.str.2 = [54 x i8] c"Subject to GNU GPL <http://www.gnu.org/licenses/>\0D\0A\0D\0A\00"
@.str.3 = [9 x i8] c"USAGE:\0D\0A\00"
@.str.4 = [72 x i8] c" gpac create [archive_file] [name] [description] [files_to_put_in...]\0D\0A\00"
@.str.5 = [48 x i8] c" gpac add [archive_file] [files_to_put_in...]\0D\0A\00"
@.str.6 = [31 x i8] c" gpac extract [archive_file]\0D\0A\00"
@.str.7 = [28 x i8] c" gpac info [archive_file]\0D\0A\00"
@.str.8 = [3 x i8] c"\0D\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@.str.1 = [48 x i8] c"\0D\0AGPackager v1.0 (C) 2013 Christian Gunderman\0D\0A\00"
@.str.2 = [54 x i8] c"Subject to GNU GPL <http://www.gnu.org/licenses/>\0D\0A\0D\0A\00"
@.str.3 = [9 x i8] c"USAGE:\0D\0A\00"
@.str.4 = [72 x i8] c" gpac create [archive_file] [name] [description] [files_to_put_in...]\0D\0A\00"
@.str.5 = [48 x i8] c" gpac add [archive_file] [files_to_put_in...]\0D\0A\00"
@.str.6 = [31 x i8] c" gpac extract [archive_file]\0D\0A\00"
@.str.7 = [28 x i8] c" gpac info [archive_file]\0D\0A\00"
@.str.8 = [3 x i8] c"\0D\0A\00"
define void @print_help() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%7 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%8 = tail call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
ret void
}