#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("qtvcap (c) 50m30n3 2011, 2012");
  puts("USAGE: qtvcap [options] -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-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-m\t\t-\tCapture Mouse");
  puts("\t-g geometry\t-\tSpecify capture region");
  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-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 screen ($DISPLAY)");
  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    0xf0e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf14(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf59(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf83(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe5(%rip),%rdi
call   1030 <puts@plt>
lea    0x1006(%rip),%rdi
call   1030 <puts@plt>
lea    0x1023(%rip),%rdi
call   1030 <puts@plt>
lea    0x1040(%rip),%rdi
call   1030 <puts@plt>
lea    0x1049(%rip),%rdi
call   1030 <puts@plt>
lea    0x1064(%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    0xf11(%rip),%rdi
call   1030 <puts@plt>
lea    0xf17(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf41(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf62(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf86(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1009(%rip),%rdi
call   1030 <puts@plt>
lea    0x1026(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x104c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1067(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [30 x i8] c"qtvcap (c) 50m30n3 2011, 2012\00"
@.str.1 = [35 x i8] c"USAGE: qtvcap [options] -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 = [39 x i8] c"\09-y [0..2]\09-\09Use fakeyuv transform (0)\00"
@.str.6 = [18 x i8] c"\09-v\09\09-\09Be verbose\00"
@.str.7 = [39 x i8] c"\09-x\09\09-\09Create index (Needs key frames)\00"
@.str.8 = [21 x i8] c"\09-m\09\09-\09Capture Mouse\00"
@.str.9 = [38 x i8] c"\09-g geometry\09-\09Specify capture region\00"
@.str.10 = [35 x i8] c"\09-s [1..]\09-\09Minimal block size (2)\00"
@.str.11 = [45 x i8] c"\09-n [1..]\09-\09Limit number of frames to encode\00"
@.str.12 = [28 x i8] c"\09-r [1..]\09-\09Frame rate (25)\00"
@.str.13 = [45 x i8] c"\09-k [1..]\09-\09Place key frames every X seconds\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 = [39 x i8] c"\09-i filename\09-\09Input screen ($DISPLAY)\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 ([35 x i8], [35 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 ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @puts(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 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 ([39 x i8], [39 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"qtvcap (c) 50m30n3 2011, 2012\00"
@.str.1 = [35 x i8] c"USAGE: qtvcap [options] -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 = [39 x i8] c"\09-y [0..2]\09-\09Use fakeyuv transform (0)\00"
@.str.6 = [18 x i8] c"\09-v\09\09-\09Be verbose\00"
@.str.7 = [39 x i8] c"\09-x\09\09-\09Create index (Needs key frames)\00"
@.str.8 = [21 x i8] c"\09-m\09\09-\09Capture Mouse\00"
@.str.9 = [38 x i8] c"\09-g geometry\09-\09Specify capture region\00"
@.str.10 = [35 x i8] c"\09-s [1..]\09-\09Minimal block size (2)\00"
@.str.11 = [45 x i8] c"\09-n [1..]\09-\09Limit number of frames to encode\00"
@.str.12 = [28 x i8] c"\09-r [1..]\09-\09Frame rate (25)\00"
@.str.13 = [45 x i8] c"\09-k [1..]\09-\09Place key frames every X seconds\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 = [39 x i8] c"\09-i filename\09-\09Input screen ($DISPLAY)\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 ([35 x i8], [35 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 ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 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 ([39 x i8], [39 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
}