#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*/ puts(char *);
void print_help(void) {
  puts("qtvdec (c) 50m30n3 2011, 2012");
  puts("USAGE: qtvdec [options] -i infile -o outfile");
  puts("\t-h\t\t-\tPrint help");
  puts("\t-v\t\t-\tBe verbose");
  puts("\t-w\t\t-\tRead QTW file");
  puts("\t-a [0..2]\t-\tAnalysis mode");
  puts("\t-f [1..]\t-\tBegin decoding at specific frame (Needs index)");
  puts("\t-n [1..]\t-\tLimit number of frames to decode");
  puts("\t-i filename\t-\tInput file (-)");
  puts("\t-o filename\t-\tOutput file (-)");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
lea    0xef7(%rip),%rdi
call   1030 <puts@plt>
lea    0xf18(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf24(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9e(%rip),%rdi
call   1030 <puts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
lea    0xf27(%rip),%rdi
call   1030 <puts@plt>
lea    0xf30(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8f(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa1(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [30 x i8] c"qtvdec (c) 50m30n3 2011, 2012\00"
@.str.1 = [45 x i8] c"USAGE: qtvdec [options] -i infile -o outfile\00"
@.str.2 = [18 x i8] c"\09-h\09\09-\09Print help\00"
@.str.3 = [18 x i8] c"\09-v\09\09-\09Be verbose\00"
@.str.4 = [21 x i8] c"\09-w\09\09-\09Read QTW file\00"
@.str.5 = [27 x i8] c"\09-a [0..2]\09-\09Analysis mode\00"
@.str.6 = [59 x i8] c"\09-f [1..]\09-\09Begin decoding at specific frame (Needs index)\00"
@.str.7 = [45 x i8] c"\09-n [1..]\09-\09Limit number of frames to decode\00"
@.str.8 = [30 x i8] c"\09-i filename\09-\09Input file (-)\00"
@.str.9 = [31 x i8] c"\09-o filename\09-\09Output file (-)\00"
define void @print_help() {
%1 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [30 x i8] c"qtvdec (c) 50m30n3 2011, 2012\00"
@.str.1 = [45 x i8] c"USAGE: qtvdec [options] -i infile -o outfile\00"
@.str.2 = [18 x i8] c"\09-h\09\09-\09Print help\00"
@.str.3 = [18 x i8] c"\09-v\09\09-\09Be verbose\00"
@.str.4 = [21 x i8] c"\09-w\09\09-\09Read QTW file\00"
@.str.5 = [27 x i8] c"\09-a [0..2]\09-\09Analysis mode\00"
@.str.6 = [59 x i8] c"\09-f [1..]\09-\09Begin decoding at specific frame (Needs index)\00"
@.str.7 = [45 x i8] c"\09-n [1..]\09-\09Limit number of frames to decode\00"
@.str.8 = [30 x i8] c"\09-i filename\09-\09Input file (-)\00"
@.str.9 = [31 x i8] c"\09-o filename\09-\09Output file (-)\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0))
ret void
}