#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 *);
void print_help() {
  printf("Surveill 0.0\n\n");
  printf("\t-h, --help\t\tThis help\n");
  printf("\nInput:\n");
  printf("\t-c, --current\t\tPath to current frame (png)\n");
  printf("\t-p, --previous\t\tPath to save previous frame (used for -d)\n");
  printf("\nOutput:\n");
  printf("\t-o, --out\t\tPath to save current frame to on detected motion\n");
  printf("\t-d, --diff\t\tPath to save cleaned frame to on changed pixels\n");
  printf("\nOptions:\n");
  printf("\t-s, --sensitivity\t\tIntensity treshold, a value between 0 and 255 "
         "-s\n");
  printf("\t-e, --passes\t\tPasses, the minimum radius of an object that "
         "should be counted as an object (in pixels) -s\n");
  printf("\t-t, --tune\t\tGet a suitable vaiable for -s\n");
  printf("\t-v, --verbose\t\tPrint interesting information along the way\n");
  printf("\t-u, --debug\t\tPrint even more interesting information along the "
         "way\n");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee8(%rip),%rdi
call   1030 <printf@plt>
lea    0xef4(%rip),%rdi
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
lea    0xf42(%rip),%rdi
call   1030 <printf@plt>
lea    0xf40(%rip),%rdi
call   1030 <printf@plt>
lea    0xf72(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa3(%rip),%rdi
call   1030 <printf@plt>
lea    0xfdd(%rip),%rdi
call   1030 <printf@plt>
lea    0x103c(%rip),%rdi
call   1030 <printf@plt>
lea    0x105c(%rip),%rdi
call   1030 <printf@plt>
lea    0x108d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeea(%rip),%rdi
call   1030 <puts@plt>
lea    0xef5(%rip),%rdi
call   1030 <puts@plt>
lea    0xef1(%rip),%rdi
call   1030 <puts@plt>
lea    0xf11(%rip),%rdi
call   1030 <puts@plt>
lea    0xf40(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd6(%rip),%rdi
call   1030 <puts@plt>
lea    0x1034(%rip),%rdi
call   1030 <puts@plt>
lea    0x1053(%rip),%rdi
call   1030 <puts@plt>
lea    0x1083(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [15 x i8] c"Surveill 0.0\0A\0A\00"
@.str.1 = [24 x i8] c"\09-h, --help\09\09This help\0A\00"
@.str.2 = [9 x i8] c"\0AInput:\0A\00"
@.str.3 = [45 x i8] c"\09-c, --current\09\09Path to current frame (png)\0A\00"
@.str.4 = [60 x i8] c"\09-p, --previous\09\09Path to save previous frame (used for -d)\0A\00"
@.str.5 = [10 x i8] c"\0AOutput:\0A\00"
@.str.6 = [62 x i8] c"\09-o, --out\09\09Path to save current frame to on detected motion\0A\00"
@.str.7 = [62 x i8] c"\09-d, --diff\09\09Path to save cleaned frame to on changed pixels\0A\00"
@.str.8 = [11 x i8] c"\0AOptions:\0A\00"
@.str.9 = [70 x i8] c"\09-s, --sensitivity\09\09Intensity treshold, a value between 0 and 255 -s\0A\00"
@.str.10 = [107 x i8] c"\09-e, --passes\09\09Passes, the minimum radius of an object that should be counted as an object (in pixels) -s\0A\00"
@.str.11 = [44 x i8] c"\09-t, --tune\09\09Get a suitable vaiable for -s\0A\00"
@.str.12 = [61 x i8] c"\09-v, --verbose\09\09Print interesting information along the way\0A\00"
@.str.13 = [69 x i8] c"\09-u, --debug\09\09Print even more interesting information along the way\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.13, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [14 x i8] c"Surveill 0.0\0A\00"
@str.14 = [23 x i8] c"\09-h, --help\09\09This help\00"
@str.15 = [8 x i8] c"\0AInput:\00"
@str.16 = [44 x i8] c"\09-c, --current\09\09Path to current frame (png)\00"
@str.17 = [59 x i8] c"\09-p, --previous\09\09Path to save previous frame (used for -d)\00"
@str.18 = [9 x i8] c"\0AOutput:\00"
@str.19 = [61 x i8] c"\09-o, --out\09\09Path to save current frame to on detected motion\00"
@str.20 = [61 x i8] c"\09-d, --diff\09\09Path to save cleaned frame to on changed pixels\00"
@str.21 = [10 x i8] c"\0AOptions:\00"
@str.22 = [69 x i8] c"\09-s, --sensitivity\09\09Intensity treshold, a value between 0 and 255 -s\00"
@str.23 = [106 x i8] c"\09-e, --passes\09\09Passes, the minimum radius of an object that should be counted as an object (in pixels) -s\00"
@str.24 = [43 x i8] c"\09-t, --tune\09\09Get a suitable vaiable for -s\00"
@str.25 = [60 x i8] c"\09-v, --verbose\09\09Print interesting information along the way\00"
@str.26 = [68 x i8] c"\09-u, --debug\09\09Print even more interesting information along the way\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.14, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.15, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.16, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.17, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.19, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([106 x i8], [106 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.26, i64 0, i64 0))
ret void
}