#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 command_line_help() {
  printf("Usage is:\n");
  printf("  paramfit -i Job_Control.in -p prmtop -c mdcrd -q QM_data.dat -v "
         "[LOW/MEDIUM/HIGH]\n");
  printf("                                       --- OR --- \n");
  printf("  paramfit -i Job_Control.in -pf prmtop_list -cf mdcrd_list -v "
         "[LOW/MEDIUM/HIGH]\n");
  printf("\n");
  printf("Valid switches include:\n");
  printf("     -i Job_Control.in\tJob control file location (mandatory)\n");
  printf("     -p prmtop\tParameter file location --OR--\n");
  printf("    -pf prmtop list\tList of multiple parameter files to use, their "
         "K values\n");
  printf("     -c mdcrd\tCoordinate file location --OR--\n");
  printf("    -cf mdcrd list\tList of mdcrd files, number of structres, qm "
         "files location\n");
  printf(
      "     -q QM_data.dat\tList of quantum energies (for single fits only)\n");
  printf("     -v MEDIUM\n");
  printf("     --random-seed 0 (for debugging only, no default value)\n\n");
  printf("     /history prints program development history\n\n");
  printf("     For HELP please see the documentation\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<command_line_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee4(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf55(%rip),%rdi
call   1030 <printf@plt>
lea    0x117e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <printf@plt>
lea    0xff1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1032(%rip),%rdi
call   1030 <printf@plt>
lea    0x1055(%rip),%rdi
call   1030 <printf@plt>
lea    0x1099(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d2(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d6(%rip),%rdi
call   1030 <printf@plt>
lea    0x1108(%rip),%rdi
call   1030 <printf@plt>
lea    0x112f(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ee(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<command_line_help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xed6(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf45(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf80(%rip),%rdi
call   1040 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1040 <puts@plt>
lea    0xfbd(%rip),%rdi
call   1040 <puts@plt>
lea    0xfdf(%rip),%rdi
call   1040 <puts@plt>
lea    0x101f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1041(%rip),%rdi
call   1040 <puts@plt>
lea    0x1084(%rip),%rdi
call   1040 <puts@plt>
lea    0x10bc(%rip),%rdi
call   1040 <puts@plt>
lea    0x10bf(%rip),%rdi
call   1040 <puts@plt>
lea    0x10f0(%rip),%rdi
call   1040 <puts@plt>
lea    0x1116(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"Usage is:\0A\00"
@.str.1 = [85 x i8] c" paramfit -i Job_Control.in -p prmtop -c mdcrd -q QM_data.dat -v [LOW/MEDIUM/HIGH]\0A\00"
@.str.2 = [52 x i8] c" --- OR --- \0A\00"
@.str.3 = [82 x i8] c" paramfit -i Job_Control.in -pf prmtop_list -cf mdcrd_list -v [LOW/MEDIUM/HIGH]\0A\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [25 x i8] c"Valid switches include:\0A\00"
@.str.6 = [62 x i8] c" -i Job_Control.in\09Job control file location (mandatory)\0A\00"
@.str.7 = [47 x i8] c" -p prmtop\09Parameter file location --OR--\0A\00"
@.str.8 = [77 x i8] c" -pf prmtop list\09List of multiple parameter files to use, their K values\0A\00"
@.str.9 = [47 x i8] c" -c mdcrd\09Coordinate file location --OR--\0A\00"
@.str.10 = [80 x i8] c" -cf mdcrd list\09List of mdcrd files, number of structres, qm files location\0A\00"
@.str.11 = [69 x i8] c" -q QM_data.dat\09List of quantum energies (for single fits only)\0A\00"
@.str.12 = [16 x i8] c" -v MEDIUM\0A\00"
@.str.13 = [62 x i8] c" --random-seed 0 (for debugging only, no default value)\0A\0A\00"
@.str.14 = [51 x i8] c" /history prints program development history\0A\0A\00"
@.str.15 = [44 x i8] c" For HELP please see the documentation\0A\00"
define void @command_line_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 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 ([47 x i8], [47 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [10 x i8] c"Usage is:\00"
@str.16 = [84 x i8] c" paramfit -i Job_Control.in -p prmtop -c mdcrd -q QM_data.dat -v [LOW/MEDIUM/HIGH]\00"
@str.17 = [51 x i8] c" --- OR --- \00"
@str.18 = [81 x i8] c" paramfit -i Job_Control.in -pf prmtop_list -cf mdcrd_list -v [LOW/MEDIUM/HIGH]\00"
@str.19 = [24 x i8] c"Valid switches include:\00"
@str.20 = [61 x i8] c" -i Job_Control.in\09Job control file location (mandatory)\00"
@str.21 = [46 x i8] c" -p prmtop\09Parameter file location --OR--\00"
@str.22 = [76 x i8] c" -pf prmtop list\09List of multiple parameter files to use, their K values\00"
@str.23 = [46 x i8] c" -c mdcrd\09Coordinate file location --OR--\00"
@str.24 = [79 x i8] c" -cf mdcrd list\09List of mdcrd files, number of structres, qm files location\00"
@str.25 = [68 x i8] c" -q QM_data.dat\09List of quantum energies (for single fits only)\00"
@str.26 = [15 x i8] c" -v MEDIUM\00"
@str.27 = [61 x i8] c" --random-seed 0 (for debugging only, no default value)\0A\00"
@str.28 = [50 x i8] c" /history prints program development history\0A\00"
@str.29 = [43 x i8] c" For HELP please see the documentation\00"
define void @command_line_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.16, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.18, i64 0, i64 0))
%5 = tail call i32 @putchar(i32 10)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.19, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.20, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.21, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.22, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.23, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.24, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.25, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.26, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.27, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.28, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.29, i64 0, i64 0))
%17 = tail call i32 @putchar(i32 10)
ret void
}