#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("qtvenc (c) 50m30n3 2011, 2012");
  puts("USAGE: qtvenc [options] -i infile -o outfile");
  puts("\t-h\t\t-\tPrint help");
  puts("\t-t [0..2]\t-\tUse image transforms (0)");
  puts("\t-e\t\t-\tCompress output data");
  puts("\t-w\t\t-\tCreate QTW file");
  puts("\t-y [0..2]\t-\tUse fakeyuv transform (0)");
  puts("\t-v\t\t-\tBe verbose");
  puts("\t-x\t\t-\tCreate index (Needs key frames)");
  puts("\t-s [1..]\t-\tMinimal block size (2)");
  puts("\t-n [1..]\t-\tLimit number of frames to encode");
  puts("\t-r [1..]\t-\tFrame rate (25)");
  puts("\t-k [1..]\t-\tPlace key frames every X seconds");
  puts("\t-b [1..]\t-\tMaximum size of one QTW block in KiB (1024)");
  puts("\t-d [0..]\t-\tMaximum recursion depth (16)");
  puts("\t-c [0..]\t-\tCache size in kilo tiles (0)");
  puts("\t-l [0..]\t-\tLaziness");
  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    0xf38(%rip),%rdi
call   1030 <puts@plt>
lea    0xf48(%rip),%rdi
call   1030 <puts@plt>
lea    0xf53(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf74(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8f(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd7(%rip),%rdi
call   1030 <puts@plt>
lea    0xff8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1024(%rip),%rdi
call   1030 <puts@plt>
lea    0x1041(%rip),%rdi
call   1030 <puts@plt>
lea    0x105e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1067(%rip),%rdi
call   1030 <puts@plt>
lea    0x1079(%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    0xf3b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf56(%rip),%rdi
call   1030 <puts@plt>
lea    0xf71(%rip),%rdi
call   1030 <puts@plt>
lea    0xf77(%rip),%rdi
call   1030 <puts@plt>
lea    0xf92(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfca(%rip),%rdi
call   1030 <puts@plt>
lea    0xfda(%rip),%rdi
call   1030 <puts@plt>
lea    0xffb(%rip),%rdi
call   1030 <puts@plt>
lea    0x1027(%rip),%rdi
call   1030 <puts@plt>
lea    0x1044(%rip),%rdi
call   1030 <puts@plt>
lea    0x1061(%rip),%rdi
call   1030 <puts@plt>
lea    0x106a(%rip),%rdi
call   1030 <puts@plt>
lea    0x107c(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [30 x i8] c"qtvenc (c) 50m30n3 2011, 2012\00"
@.str.1 = [45 x i8] c"USAGE: qtvenc [options] -i infile -o outfile\00"
@.str.2 = [18 x i8] c"\09-h\09\09-\09Print help\00"
@.str.3 = [38 x i8] c"\09-t [0..2]\09-\09Use image transforms (0)\00"
@.str.4 = [28 x i8] c"\09-e\09\09-\09Compress output data\00"
@.str.5 = [23 x i8] c"\09-w\09\09-\09Create QTW file\00"
@.str.6 = [39 x i8] c"\09-y [0..2]\09-\09Use fakeyuv transform (0)\00"
@.str.7 = [18 x i8] c"\09-v\09\09-\09Be verbose\00"
@.str.8 = [39 x i8] c"\09-x\09\09-\09Create index (Needs key frames)\00"
@.str.9 = [35 x i8] c"\09-s [1..]\09-\09Minimal block size (2)\00"
@.str.10 = [45 x i8] c"\09-n [1..]\09-\09Limit number of frames to encode\00"
@.str.11 = [28 x i8] c"\09-r [1..]\09-\09Frame rate (25)\00"
@.str.12 = [45 x i8] c"\09-k [1..]\09-\09Place key frames every X seconds\00"
@.str.13 = [56 x i8] c"\09-b [1..]\09-\09Maximum size of one QTW block in KiB (1024)\00"
@.str.14 = [41 x i8] c"\09-d [0..]\09-\09Maximum recursion depth (16)\00"
@.str.15 = [41 x i8] c"\09-c [0..]\09-\09Cache size in kilo tiles (0)\00"
@.str.16 = [21 x i8] c"\09-l [0..]\09-\09Laziness\00"
@.str.17 = [30 x i8] c"\09-i filename\09-\09Input file (-)\00"
@.str.18 = [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 ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.18, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [30 x i8] c"qtvenc (c) 50m30n3 2011, 2012\00"
@.str.1 = [45 x i8] c"USAGE: qtvenc [options] -i infile -o outfile\00"
@.str.2 = [18 x i8] c"\09-h\09\09-\09Print help\00"
@.str.3 = [38 x i8] c"\09-t [0..2]\09-\09Use image transforms (0)\00"
@.str.4 = [28 x i8] c"\09-e\09\09-\09Compress output data\00"
@.str.5 = [23 x i8] c"\09-w\09\09-\09Create QTW file\00"
@.str.6 = [39 x i8] c"\09-y [0..2]\09-\09Use fakeyuv transform (0)\00"
@.str.7 = [18 x i8] c"\09-v\09\09-\09Be verbose\00"
@.str.8 = [39 x i8] c"\09-x\09\09-\09Create index (Needs key frames)\00"
@.str.9 = [35 x i8] c"\09-s [1..]\09-\09Minimal block size (2)\00"
@.str.10 = [45 x i8] c"\09-n [1..]\09-\09Limit number of frames to encode\00"
@.str.11 = [28 x i8] c"\09-r [1..]\09-\09Frame rate (25)\00"
@.str.12 = [45 x i8] c"\09-k [1..]\09-\09Place key frames every X seconds\00"
@.str.13 = [56 x i8] c"\09-b [1..]\09-\09Maximum size of one QTW block in KiB (1024)\00"
@.str.14 = [41 x i8] c"\09-d [0..]\09-\09Maximum recursion depth (16)\00"
@.str.15 = [41 x i8] c"\09-c [0..]\09-\09Cache size in kilo tiles (0)\00"
@.str.16 = [21 x i8] c"\09-l [0..]\09-\09Laziness\00"
@.str.17 = [30 x i8] c"\09-i filename\09-\09Input file (-)\00"
@.str.18 = [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 ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.13, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.17, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.18, i64 0, i64 0))
ret void
}