#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 show_help() {
  printf("WASPscan: Detection of exoplanet transits\n\n");
  printf(" -f  --filename              Log filename\n");
  printf(" -i  --incr                  Search increment in seconds\n");
  printf(" -p  --period                Known orbital period in days\n");
  printf(" -m  --minsamples            Minimum number of data samples\n");
  printf(" -0  --min                   Minimum orbital period in days\n");
  printf(" -1  --max                   Maximum orbital period in days\n");
  printf(
      "     --maxvac                Maximum density within vacancy region\n");
  printf(" -t  --type                  Table type: 0=WASP 1=K2\n");
  printf("     --mindd                 Minimum dipped density (0.0 -> 1.0)\n");
  printf("     --minint                Minimum intermediate samples percent\n");
  printf("     --maxint                Maximum intermediate samples percent\n");
  printf("     --maxd                  Maximum dipped samples percentage\n");
  printf("     --peak                  Peak threshold (0.0 -> 1.0)\n");
  printf("     --dip                   Dip threshold (0.0 -> 1.0)\n");
  printf(" -r  --diprad                Expected dip radius as a percent of "
         "orbital period\n");
  printf("     --vscale                Vertical scaling factor\n");
  printf(" -h  --help                  Show help\n");
  printf(" -v  --version               Show version number\n");
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
call   1030 <printf@plt>
lea    0xf24(%rip),%rdi
call   1030 <printf@plt>
lea    0xf52(%rip),%rdi
call   1030 <printf@plt>
lea    0xf81(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1014(%rip),%rdi
call   1030 <printf@plt>
lea    0x104c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1076(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ac(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e3(%rip),%rdi
call   1030 <printf@plt>
lea    0x111a(%rip),%rdi
call   1030 <printf@plt>
lea    0x114e(%rip),%rdi
call   1030 <printf@plt>
lea    0x117c(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a9(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ee(%rip),%rdi
call   1030 <printf@plt>
lea    0x1218(%rip),%rdi
call   1030 <printf@plt>
lea    0x1234(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf07(%rip),%rdi
call   1030 <puts@plt>
lea    0xf25(%rip),%rdi
call   1030 <puts@plt>
lea    0xf52(%rip),%rdi
call   1030 <puts@plt>
lea    0xf80(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe0(%rip),%rdi
call   1030 <puts@plt>
lea    0x1010(%rip),%rdi
call   1030 <puts@plt>
lea    0x1047(%rip),%rdi
call   1030 <puts@plt>
lea    0x1070(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a5(%rip),%rdi
call   1030 <puts@plt>
lea    0x10db(%rip),%rdi
call   1030 <puts@plt>
lea    0x1111(%rip),%rdi
call   1030 <puts@plt>
lea    0x1144(%rip),%rdi
call   1030 <puts@plt>
lea    0x1171(%rip),%rdi
call   1030 <puts@plt>
lea    0x119d(%rip),%rdi
call   1030 <puts@plt>
lea    0x11e1(%rip),%rdi
call   1030 <puts@plt>
lea    0x120a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1225(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"WASPscan: Detection of exoplanet transits\0A\0A\00"
@.str.1 = [43 x i8] c" -f --filename Log filename\0A\00"
@.str.2 = [58 x i8] c" -i --incr Search increment in seconds\0A\00"
@.str.3 = [59 x i8] c" -p --period Known orbital period in days\0A\00"
@.str.4 = [61 x i8] c" -m --minsamples Minimum number of data samples\0A\00"
@.str.5 = [61 x i8] c" -0 --min Minimum orbital period in days\0A\00"
@.str.6 = [61 x i8] c" -1 --max Maximum orbital period in days\0A\00"
@.str.7 = [68 x i8] c" --maxvac Maximum density within vacancy region\0A\00"
@.str.8 = [54 x i8] c" -t --type Table type: 0=WASP 1=K2\0A\00"
@.str.9 = [66 x i8] c" --mindd Minimum dipped density (0.0 -> 1.0)\0A\00"
@.str.10 = [67 x i8] c" --minint Minimum intermediate samples percent\0A\00"
@.str.11 = [67 x i8] c" --maxint Maximum intermediate samples percent\0A\00"
@.str.12 = [64 x i8] c" --maxd Maximum dipped samples percentage\0A\00"
@.str.13 = [58 x i8] c" --peak Peak threshold (0.0 -> 1.0)\0A\00"
@.str.14 = [57 x i8] c" --dip Dip threshold (0.0 -> 1.0)\0A\00"
@.str.15 = [81 x i8] c" -r --diprad Expected dip radius as a percent of orbital period\0A\00"
@.str.16 = [54 x i8] c" --vscale Vertical scaling factor\0A\00"
@.str.17 = [40 x i8] c" -h --help Show help\0A\00"
@.str.18 = [50 x i8] c" -v --version Show version number\0A\00"
define void @show_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [43 x i8] c"WASPscan: Detection of exoplanet transits\0A\00"
@str.19 = [42 x i8] c" -f --filename Log filename\00"
@str.20 = [57 x i8] c" -i --incr Search increment in seconds\00"
@str.21 = [58 x i8] c" -p --period Known orbital period in days\00"
@str.22 = [60 x i8] c" -m --minsamples Minimum number of data samples\00"
@str.23 = [60 x i8] c" -0 --min Minimum orbital period in days\00"
@str.24 = [60 x i8] c" -1 --max Maximum orbital period in days\00"
@str.25 = [67 x i8] c" --maxvac Maximum density within vacancy region\00"
@str.26 = [53 x i8] c" -t --type Table type: 0=WASP 1=K2\00"
@str.27 = [65 x i8] c" --mindd Minimum dipped density (0.0 -> 1.0)\00"
@str.28 = [66 x i8] c" --minint Minimum intermediate samples percent\00"
@str.29 = [66 x i8] c" --maxint Maximum intermediate samples percent\00"
@str.30 = [63 x i8] c" --maxd Maximum dipped samples percentage\00"
@str.31 = [57 x i8] c" --peak Peak threshold (0.0 -> 1.0)\00"
@str.32 = [56 x i8] c" --dip Dip threshold (0.0 -> 1.0)\00"
@str.33 = [80 x i8] c" -r --diprad Expected dip radius as a percent of orbital period\00"
@str.34 = [53 x i8] c" --vscale Vertical scaling factor\00"
@str.35 = [39 x i8] c" -h --help Show help\00"
@str.36 = [49 x i8] c" -v --version Show version number\00"
define void @show_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.19, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.20, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.21, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.22, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.23, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.24, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.25, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.26, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.27, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.28, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.29, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.30, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.31, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.32, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.33, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.34, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.35, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.36, i64 0, i64 0))
ret void
}