#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void printUsage(char *version) {
  printf("mlRho version %s\n", version);
  printf("purpose: maximum likelihood estimation of theta and rho\n");
  printf("usage: mlRho [options] [inputFile(s)]\n");
  printf("standard options:\n");
  printf("\t[-n <FILE> name of database created using formatPro; default: %s\n",
         "profileDb");
  printf("\t[-m <NUM> minimum distance analyzed in rho computation; default: "
         "1]\n");
  printf("\t[-M <NUM> maximum distance analyzed in rho computation; default: "
         "all]\n");
  printf("\t[-S <NUM> step size in rho computation; default: %d]\n", 1);
  printf("\t[-I write likelihoods to file; default: likelihoods not written to "
         "file]\n");
  printf("\t[-L lump -S distance classes; default: no lumping]\n");
  printf("\t\tdefault: use initial estimates of \\epsilon and \\theta]\n");
  printf("\t[-p print information about program and exit]\n");
  printf("\t[-h print this help message and exit]\n");
  printf("extra options:\n");
  printf("\t[-P <NUM> initial theta value; default: %10.3e]\n", 1e-3);
  printf("\t[-E <NUM> initial epsilon value; default: %10.3e]\n", 1e-3);
  printf("\t[-R <NUM> initial rho value; default: %10.3e]\n", 1.);
  printf("\t[-D <NUM> initial delta value; default: %10.3e]\n", 1e-3);
  printf("\t[-t <NUM> simplex size threshold; default: %10.3e]\n", 1e-8);
  printf("\t[-s <NUM> size of first step in ML estimation; default: %10.3e]\n",
         1e-4);
  exit(0);
}


x86 assembly (clang, -O0):
<printUsage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xee9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf18(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
lea    0xf72(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe0(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1004(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1041(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1068(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1094(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10b6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10d0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10d2(%rip),%rdi
movsd  0xe01(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x10ee(%rip),%rdi
movsd  0xdeb(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x110c(%rip),%rdi
movsd  0xddd(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x1126(%rip),%rdi
movsd  0xdbf(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x1142(%rip),%rdi
movsd  0xda1(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x1161(%rip),%rdi
movsd  0xd83(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<printUsage>:
push   %rax
mov    %rdi,%rsi
lea    0xee5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10ac(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d8(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f2(%rip),%rdi
call   1030 <puts@plt>
lea    0xec5(%rip),%rdi
lea    0xf01(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10e3(%rip),%rdi
call   1030 <puts@plt>
lea    0x111c(%rip),%rdi
call   1030 <puts@plt>
lea    0xee5(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1144(%rip),%rdi
call   1030 <puts@plt>
lea    0x1182(%rip),%rdi
call   1030 <puts@plt>
lea    0x11aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x11d7(%rip),%rdi
call   1030 <puts@plt>
lea    0x11fa(%rip),%rdi
call   1030 <puts@plt>
lea    0x1215(%rip),%rdi
call   1030 <puts@plt>
lea    0xec1(%rip),%rdi
movsd  0xe03(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xedd(%rip),%rdi
movsd  0xded(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xefb(%rip),%rdi
movsd  0xddf(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf15(%rip),%rdi
movsd  0xdc1(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf31(%rip),%rdi
movsd  0xdbb(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf50(%rip),%rdi
movsd  0xdad(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [18 x i8] c"mlRho version %s\0A\00"
@.str.1 = [57 x i8] c"purpose: maximum likelihood estimation of theta and rho\0A\00"
@.str.2 = [39 x i8] c"usage: mlRho [options] [inputFile(s)]\0A\00"
@.str.3 = [19 x i8] c"standard options:\0A\00"
@.str.4 = [67 x i8] c"\09[-n <FILE> name of database created using formatPro; default: %s\0A\00"
@.str.5 = [10 x i8] c"profileDb\00"
@.str.6 = [70 x i8] c"\09[-m <NUM> minimum distance analyzed in rho computation; default: 1]\0A\00"
@.str.7 = [72 x i8] c"\09[-M <NUM> maximum distance analyzed in rho computation; default: all]\0A\00"
@.str.8 = [55 x i8] c"\09[-S <NUM> step size in rho computation; default: %d]\0A\00"
@.str.9 = [75 x i8] c"\09[-I write likelihoods to file; default: likelihoods not written to file]\0A\00"
@.str.10 = [53 x i8] c"\09[-L lump -S distance classes; default: no lumping]\0A\00"
@.str.11 = [58 x i8] c"\09\09default: use initial estimates of \\epsilon and \\theta]\0A\00"
@.str.12 = [48 x i8] c"\09[-p print information about program and exit]\0A\00"
@.str.13 = [40 x i8] c"\09[-h print this help message and exit]\0A\00"
@.str.14 = [16 x i8] c"extra options:\0A\00"
@.str.15 = [50 x i8] c"\09[-P <NUM> initial theta value; default: %10.3e]\0A\00"
@.str.16 = [52 x i8] c"\09[-E <NUM> initial epsilon value; default: %10.3e]\0A\00"
@.str.17 = [48 x i8] c"\09[-R <NUM> initial rho value; default: %10.3e]\0A\00"
@.str.18 = [50 x i8] c"\09[-D <NUM> initial delta value; default: %10.3e]\0A\00"
@.str.19 = [53 x i8] c"\09[-t <NUM> simplex size threshold; default: %10.3e]\0A\00"
@.str.20 = [66 x i8] c"\09[-s <NUM> size of first step in ML estimation; default: %10.3e]\0A\00"
define void @printUsage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0), i32 1)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0), double 1.000000e-03)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.16, i64 0, i64 0), double 1.000000e-03)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.17, i64 0, i64 0), double 1.000000e+00)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0), double 1.000000e-03)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.19, i64 0, i64 0), double 1.000000e-08)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.20, i64 0, i64 0), double 1.000000e-04)
%24 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [18 x i8] c"mlRho version %s\0A\00"
@.str.4 = [67 x i8] c"\09[-n <FILE> name of database created using formatPro; default: %s\0A\00"
@.str.5 = [10 x i8] c"profileDb\00"
@.str.8 = [55 x i8] c"\09[-S <NUM> step size in rho computation; default: %d]\0A\00"
@.str.15 = [50 x i8] c"\09[-P <NUM> initial theta value; default: %10.3e]\0A\00"
@.str.16 = [52 x i8] c"\09[-E <NUM> initial epsilon value; default: %10.3e]\0A\00"
@.str.17 = [48 x i8] c"\09[-R <NUM> initial rho value; default: %10.3e]\0A\00"
@.str.18 = [50 x i8] c"\09[-D <NUM> initial delta value; default: %10.3e]\0A\00"
@.str.19 = [53 x i8] c"\09[-t <NUM> simplex size threshold; default: %10.3e]\0A\00"
@.str.20 = [66 x i8] c"\09[-s <NUM> size of first step in ML estimation; default: %10.3e]\0A\00"
@str = [56 x i8] c"purpose: maximum likelihood estimation of theta and rho\00"
@str.21 = [38 x i8] c"usage: mlRho [options] [inputFile(s)]\00"
@str.22 = [18 x i8] c"standard options:\00"
@str.23 = [69 x i8] c"\09[-m <NUM> minimum distance analyzed in rho computation; default: 1]\00"
@str.24 = [71 x i8] c"\09[-M <NUM> maximum distance analyzed in rho computation; default: all]\00"
@str.25 = [74 x i8] c"\09[-I write likelihoods to file; default: likelihoods not written to file]\00"
@str.26 = [52 x i8] c"\09[-L lump -S distance classes; default: no lumping]\00"
@str.27 = [57 x i8] c"\09\09default: use initial estimates of \\epsilon and \\theta]\00"
@str.28 = [47 x i8] c"\09[-p print information about program and exit]\00"
@str.29 = [39 x i8] c"\09[-h print this help message and exit]\00"
@str.30 = [15 x i8] c"extra options:\00"
define void @printUsage(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.21, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.22, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0), i32 1)
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.25, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.26, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.27, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.28, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.29, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.30, i64 0, i64 0))
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0), double 1.000000e-03)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.16, i64 0, i64 0), double 1.000000e-03)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.17, i64 0, i64 0), double 1.000000e+00)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0), double 1.000000e-03)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.19, i64 0, i64 0), double 1.000000e-08)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.20, i64 0, i64 0), double 1.000000e-04)
%22 = tail call i32 @exit(i32 0)
unreachable
}