#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 do_help() {
  printf(
      "\t===========================Opium help============================\n");
  printf("\t              version: %10s\n", "3.8");
  printf(
      "\t=================================================================\n");
  printf("\n\t usage:\n");
  printf("\t opium <parameterfile> <logfile> <command line options>\n\n");
  printf("\t Opium can be executed interactively or non-interactively\n");
  printf("\t To enter an interactive session just enter: \n\n");
  printf("\t\t opium <parameterfile> <logfile> \n\n");
  printf("\t In an interactive session... \n");
  printf("\t enter \"comm\" for command line help\n");
  printf("\t enter \"plot\" for plotting help\n");
  printf("\t enter \"keys\" for keyblock help\n\n");
  printf("\t To run Opium non-interactively enter: \n\n");
  printf("\t\t opium <parameterfile> <logfile> <commands>\n\n\n");
  printf("\t In a non-interactive session... \n");
  printf("\t enter \"opium -c\" or \"opium comm\" for command line help\n");
  printf("\t enter \"opium -p\" or \"opium plot\" for plotting help\n");
  printf("\t enter \"opium -k\" or \"opium keys\" for keyblock help\n");
  printf("\t================================================================="
         "\n\n\n");
}


x86 assembly (clang, -O0):
<do_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1b(%rip),%rdi
lea    0xf32(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1004(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x101c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1030(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1045(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1062(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1085(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x109b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ef(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1117(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<do_help>:
push   %rax
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
lea    0xee3(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf1c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf53(%rip),%rdi
call   1030 <puts@plt>
lea    0xf51(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7f(%rip),%rdi
call   1030 <puts@plt>
lea    0xfae(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd2(%rip),%rdi
call   1030 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1030 <puts@plt>
lea    0xfff(%rip),%rdi
call   1030 <puts@plt>
lea    0x1018(%rip),%rdi
call   1030 <puts@plt>
lea    0x102d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x1061(%rip),%rdi
call   1030 <puts@plt>
lea    0x1085(%rip),%rdi
call   1030 <puts@plt>
lea    0x109c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c9(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f2(%rip),%rdi
call   1030 <puts@plt>
lea    0x111b(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [68 x i8] c"\09===========================Opium help============================\0A\00"
@.str.1 = [30 x i8] c"\09 version: %10s\0A\00"
@.str.2 = [4 x i8] c"3.8\00"
@.str.3 = [68 x i8] c"\09=================================================================\0A\00"
@.str.4 = [11 x i8] c"\0A\09 usage:\0A\00"
@.str.5 = [59 x i8] c"\09 opium <parameterfile> <logfile> <command line options>\0A\0A\00"
@.str.6 = [60 x i8] c"\09 Opium can be executed interactively or non-interactively\0A\00"
@.str.7 = [49 x i8] c"\09 To enter an interactive session just enter: \0A\0A\00"
@.str.8 = [38 x i8] c"\09\09 opium <parameterfile> <logfile> \0A\0A\00"
@.str.9 = [33 x i8] c"\09 In an interactive session... \0A\00"
@.str.10 = [38 x i8] c"\09 enter \22comm\22 for command line help\0A\00"
@.str.11 = [34 x i8] c"\09 enter \22plot\22 for plotting help\0A\00"
@.str.12 = [35 x i8] c"\09 enter \22keys\22 for keyblock help\0A\0A\00"
@.str.13 = [43 x i8] c"\09 To run Opium non-interactively enter: \0A\0A\00"
@.str.14 = [49 x i8] c"\09\09 opium <parameterfile> <logfile> <commands>\0A\0A\0A\00"
@.str.15 = [36 x i8] c"\09 In a non-interactive session... \0A\00"
@.str.16 = [58 x i8] c"\09 enter \22opium -c\22 or \22opium comm\22 for command line help\0A\00"
@.str.17 = [54 x i8] c"\09 enter \22opium -p\22 or \22opium plot\22 for plotting help\0A\00"
@.str.18 = [54 x i8] c"\09 enter \22opium -k\22 or \22opium keys\22 for keyblock help\0A\00"
@.str.19 = [70 x i8] c"\09=================================================================\0A\0A\0A\00"
define void @do_help() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.14, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.16, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.18, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [30 x i8] c"\09 version: %10s\0A\00"
@.str.2 = [4 x i8] c"3.8\00"
@str = [67 x i8] c"\09===========================Opium help============================\00"
@str.20 = [67 x i8] c"\09=================================================================\00"
@str.21 = [10 x i8] c"\0A\09 usage:\00"
@str.22 = [58 x i8] c"\09 opium <parameterfile> <logfile> <command line options>\0A\00"
@str.23 = [59 x i8] c"\09 Opium can be executed interactively or non-interactively\00"
@str.24 = [48 x i8] c"\09 To enter an interactive session just enter: \0A\00"
@str.25 = [37 x i8] c"\09\09 opium <parameterfile> <logfile> \0A\00"
@str.26 = [32 x i8] c"\09 In an interactive session... \00"
@str.27 = [37 x i8] c"\09 enter \22comm\22 for command line help\00"
@str.28 = [33 x i8] c"\09 enter \22plot\22 for plotting help\00"
@str.29 = [34 x i8] c"\09 enter \22keys\22 for keyblock help\0A\00"
@str.30 = [42 x i8] c"\09 To run Opium non-interactively enter: \0A\00"
@str.31 = [48 x i8] c"\09\09 opium <parameterfile> <logfile> <commands>\0A\0A\00"
@str.32 = [35 x i8] c"\09 In a non-interactive session... \00"
@str.33 = [57 x i8] c"\09 enter \22opium -c\22 or \22opium comm\22 for command line help\00"
@str.34 = [53 x i8] c"\09 enter \22opium -p\22 or \22opium plot\22 for plotting help\00"
@str.35 = [53 x i8] c"\09 enter \22opium -k\22 or \22opium keys\22 for keyblock help\00"
@str.36 = [69 x i8] c"\09=================================================================\0A\0A\00"
define void @do_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.20, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.21, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.22, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.23, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.24, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.25, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.26, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.27, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.28, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.29, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.30, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.31, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.32, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 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 ([53 x i8], [53 x i8]* @str.35, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.36, i64 0, i64 0))
ret void
}