#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);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage() {
  fprintf(stderr, "usage: discoal sampleSize numReplicates nSites -ws tau\n");
  fprintf(stderr, "parameters: \n");
  fprintf(stderr, "\t -t theta \n");
  fprintf(stderr, "\t -r rho (=zero if not specified)\n");
  fprintf(stderr, "\t -g conversionRate tractLengthMean (gene conversion)\n");
  fprintf(stderr,
          "\t -gr conversionToCrossoverRatio tractLengthMean (gene conversion "
          "where initiation rate = rho*conversionToCrossoverRatio)\n");
  fprintf(stderr, "\t -p npops sampleSize1 sampleSize2 etc.\n");
  fprintf(stderr, "\t -en time popnID size (changes size of popID)\n");
  fprintf(stderr, "\t -ed time popnID1 popnID2 (joins popnID1 into popnID2)\n");
  fprintf(stderr,
          "\t -ea time daughterPopnID founderPopnID1 founderPopnID2 admixProp "
          "(admixture-- back in time daughterPopnID into two founders)\n");
  fprintf(stderr,
          "\t -ws tau (sweep happend tau generations ago- stochastic sweep)\n");
  fprintf(
      stderr,
      "\t -wd tau (sweep happend tau generations ago- deterministic sweep)\n");
  fprintf(stderr,
          "\t -wn tau (sweep happend tau generations ago- neutral sweep)\n");
  fprintf(stderr,
          "\t -ls tau leftRho (stochastic sweep some genetic distance to the "
          "left of the simulated window--specified by leftRho=4Nr)\n");
  fprintf(stderr, "\t\t similarly, ld and ln simulate deterministic and "
                  "neutral sweeps to the left of the window, respectively\n");
  fprintf(stderr, "\t -f first frequency at which selection acts on allele "
                  "(F0; sweep models only)\n");
  fprintf(stderr, "\t -uA rate at which adaptive mutation recurs during the "
                  "sweep phase (sweep models only)\n");
  fprintf(stderr, "\t -N sweepEffectivePopnSize (sweep models only)\n");
  fprintf(stderr, "\t -a alpha (=2Ns)\n");
  fprintf(stderr, "\t -x sweepSite (0-1)\n");
  fprintf(stderr, "\t -c partialSweepFinalFrequency (partial sweeps)\n");
  fprintf(stderr,
          "\t -i dt (sweep time increment scalar; default 400 -> 1/400N)\n");
  fprintf(stderr, "\t -M migRate (sets all rates to migRate)\n");
  fprintf(
      stderr,
      "\t -m popnID1 popnID2 migRate (sets migRate from popnID1 to popnID2)\n");
  fprintf(stderr, "\t -A sampleSize popnID time (ancient sample from popnID at "
                  "specified time)\n");
  fprintf(stderr, "\t -Pt low high (prior on theta)\n");
  fprintf(stderr, "\t -Pr low high (prior on rho)\n");
  fprintf(stderr, "\t -Pre mean upperBound (prior on rho -- exponentially "
                  "distributed but truncated at an upper bound)\n");
  fprintf(stderr, "\t -Pa low high (prior on alpha)\n");
  fprintf(stderr, "\t -Pu low high (prior on tau; sweep models only; still "
                  "must use \"-ws tau\" and \"tau\" will be ignored)\n");
  fprintf(stderr, "\t -PuA low high (prior on uA; sweep models only)\n");
  fprintf(stderr, "\t -Px low high (prior on sweepSite; sweep models only)\n");
  fprintf(stderr, "\t -Pf low high (prior on F0; sweep models only)\n");
  fprintf(
      stderr,
      "\t -Pc low high (prior on partialSweepFinalFreq; sweep models only)\n");
  fprintf(stderr, "\t -Pe1 lowTime highTime lowSize highSize (priors on first "
                  "demographic move time and size)\n");
  fprintf(stderr, "\t -Pe2 lowTime highTime lowSize highSize (priors on second "
                  "demographic move time and size)\n");
  fprintf(stderr, "\t -R rhhRate (recurrent hitch hiking mode at the locus; "
                  "rhh is rate per 2N individuals / generation)\n");
  fprintf(stderr, "\t -L rhhRate (recurrent hitch hiking mode to the side of "
                  "locus; leftRho is ~Unif(0,4Ns); rhh is rate per 2N "
                  "individuals / generation)\n");
  fprintf(stderr, "\t -h (hide selected SNP in partial sweep mode)\n");
  fprintf(stderr, "\t -T (tree output mode)\n");
  fprintf(stderr, "\t -d seed1 seed2 (set random number generator seeds)\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ea0(%rip),%rax
mov    (%rax),%edi
lea    0xeef(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%edi
lea    0xee8(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e76(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e61(%rip),%rax
mov    (%rax),%edi
lea    0xeee(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e4c(%rip),%rax
mov    (%rax),%edi
lea    0xf10(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e37(%rip),%rax
mov    (%rax),%edi
lea    0xf76(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e22(%rip),%rax
mov    (%rax),%edi
lea    0xf8a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edi
lea    0xfa5(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2df8(%rip),%rax
mov    (%rax),%edi
lea    0xfc9(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2de3(%rip),%rax
mov    (%rax),%edi
lea    0x1033(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%edi
lea    0x105f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2db9(%rip),%rax
mov    (%rax),%edi
lea    0x108e(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2da4(%rip),%rax
mov    (%rax),%edi
lea    0x10b7(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d8f(%rip),%rax
mov    (%rax),%edi
lea    0x111c(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d7a(%rip),%rax
mov    (%rax),%edi
lea    0x1172(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d65(%rip),%rax
mov    (%rax),%edi
lea    0x11ad(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d50(%rip),%rax
mov    (%rax),%edi
lea    0x11f1(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d3b(%rip),%rax
mov    (%rax),%edi
lea    0x120d(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d26(%rip),%rax
mov    (%rax),%edi
lea    0x120b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
lea    0x120c(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cfc(%rip),%rax
mov    (%rax),%edi
lea    0x1229(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ce7(%rip),%rax
mov    (%rax),%edi
lea    0x1252(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cd2(%rip),%rax
mov    (%rax),%edi
lea    0x1267(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cbd(%rip),%rax
mov    (%rax),%edi
lea    0x1297(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ca8(%rip),%rax
mov    (%rax),%edi
lea    0x12ce(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c93(%rip),%rax
mov    (%rax),%edi
lea    0x12da(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c7e(%rip),%rax
mov    (%rax),%edi
lea    0x12e4(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c69(%rip),%rax
mov    (%rax),%edi
lea    0x1333(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c54(%rip),%rax
mov    (%rax),%edi
lea    0x133f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c3f(%rip),%rax
mov    (%rax),%edi
lea    0x1390(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c2a(%rip),%rax
mov    (%rax),%edi
lea    0x13ad(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c15(%rip),%rax
mov    (%rax),%edi
lea    0x13d0(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c00(%rip),%rax
mov    (%rax),%edi
lea    0x13ec(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2beb(%rip),%rax
mov    (%rax),%edi
lea    0x141b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bd6(%rip),%rax
mov    (%rax),%edi
lea    0x1461(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bc1(%rip),%rax
mov    (%rax),%edi
lea    0x14a8(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bac(%rip),%rax
mov    (%rax),%edi
lea    0x14f9(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b97(%rip),%rax
mov    (%rax),%edi
lea    0x156b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b82(%rip),%rax
mov    (%rax),%edi
lea    0x1586(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b6d(%rip),%rax
mov    (%rax),%edi
lea    0x158a(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    0x2eb8(%rip),%rbx
mov    (%rbx),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xef9(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xef9(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xef8(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf0d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf36(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa3(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfbe(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfe0(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x100b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x107c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10af(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10e5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1115(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1181(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11de(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1220(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x126b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x128e(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1293(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x129b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12bf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12ef(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x130b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1342(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1380(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1393(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x13a4(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x13fa(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x140d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1465(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1489(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x14b3(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x14d6(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x150c(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1559(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x15a7(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x15ff(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1678(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x169a(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x16a5(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [56 x i8] c"usage: discoal sampleSize numReplicates nSites -ws tau\0A\00"
@.str.1 = [14 x i8] c"parameters: \0A\00"
@.str.2 = [13 x i8] c"\09 -t theta \0A\00"
@.str.3 = [35 x i8] c"\09 -r rho (=zero if not specified)\0A\00"
@.str.4 = [55 x i8] c"\09 -g conversionRate tractLengthMean (gene conversion)\0A\00"
@.str.5 = [123 x i8] c"\09 -gr conversionToCrossoverRatio tractLengthMean (gene conversion where initiation rate = rho*conversionToCrossoverRatio)\0A\00"
@.str.6 = [41 x i8] c"\09 -p npops sampleSize1 sampleSize2 etc.\0A\00"
@.str.7 = [48 x i8] c"\09 -en time popnID size (changes size of popID)\0A\00"
@.str.8 = [57 x i8] c"\09 -ed time popnID1 popnID2 (joins popnID1 into popnID2)\0A\00"
@.str.9 = [127 x i8] c"\09 -ea time daughterPopnID founderPopnID1 founderPopnID2 admixProp (admixture-- back in time daughterPopnID into two founders)\0A\00"
@.str.10 = [65 x i8] c"\09 -ws tau (sweep happend tau generations ago- stochastic sweep)\0A\00"
@.str.11 = [68 x i8] c"\09 -wd tau (sweep happend tau generations ago- deterministic sweep)\0A\00"
@.str.12 = [62 x i8] c"\09 -wn tau (sweep happend tau generations ago- neutral sweep)\0A\00"
@.str.13 = [122 x i8] c"\09 -ls tau leftRho (stochastic sweep some genetic distance to the left of the simulated window--specified by leftRho=4Nr)\0A\00"
@.str.14 = [107 x i8] c"\09\09 similarly, ld and ln simulate deterministic and neutral sweeps to the left of the window, respectively\0A\00"
@.str.15 = [80 x i8] c"\09 -f first frequency at which selection acts on allele (F0; sweep models only)\0A\00"
@.str.16 = [89 x i8] c"\09 -uA rate at which adaptive mutation recurs during the sweep phase (sweep models only)\0A\00"
@.str.17 = [49 x i8] c"\09 -N sweepEffectivePopnSize (sweep models only)\0A\00"
@.str.18 = [19 x i8] c"\09 -a alpha (=2Ns)\0A\00"
@.str.19 = [22 x i8] c"\09 -x sweepSite (0-1)\0A\00"
@.str.20 = [50 x i8] c"\09 -c partialSweepFinalFrequency (partial sweeps)\0A\00"
@.str.21 = [62 x i8] c"\09 -i dt (sweep time increment scalar; default 400 -> 1/400N)\0A\00"
@.str.22 = [42 x i8] c"\09 -M migRate (sets all rates to migRate)\0A\00"
@.str.23 = [69 x i8] c"\09 -m popnID1 popnID2 migRate (sets migRate from popnID1 to popnID2)\0A\00"
@.str.24 = [76 x i8] c"\09 -A sampleSize popnID time (ancient sample from popnID at specified time)\0A\00"
@.str.25 = [33 x i8] c"\09 -Pt low high (prior on theta)\0A\00"
@.str.26 = [31 x i8] c"\09 -Pr low high (prior on rho)\0A\00"
@.str.27 = [100 x i8] c"\09 -Pre mean upperBound (prior on rho -- exponentially distributed but truncated at an upper bound)\0A\00"
@.str.28 = [33 x i8] c"\09 -Pa low high (prior on alpha)\0A\00"
@.str.29 = [102 x i8] c"\09 -Pu low high (prior on tau; sweep models only; still must use \22-ws tau\22 and \22tau\22 will be ignored)\0A\00"
@.str.30 = [50 x i8] c"\09 -PuA low high (prior on uA; sweep models only)\0A\00"
@.str.31 = [56 x i8] c"\09 -Px low high (prior on sweepSite; sweep models only)\0A\00"
@.str.32 = [49 x i8] c"\09 -Pf low high (prior on F0; sweep models only)\0A\00"
@.str.33 = [68 x i8] c"\09 -Pc low high (prior on partialSweepFinalFreq; sweep models only)\0A\00"
@.str.34 = [91 x i8] c"\09 -Pe1 lowTime highTime lowSize highSize (priors on first demographic move time and size)\0A\00"
@.str.35 = [92 x i8] c"\09 -Pe2 lowTime highTime lowSize highSize (priors on second demographic move time and size)\0A\00"
@.str.36 = [102 x i8] c"\09 -R rhhRate (recurrent hitch hiking mode at the locus; rhh is rate per 2N individuals / generation)\0A\00"
@.str.37 = [135 x i8] c"\09 -L rhhRate (recurrent hitch hiking mode to the side of locus; leftRho is ~Unif(0,4Ns); rhh is rate per 2N individuals / generation)\0A\00"
@.str.38 = [48 x i8] c"\09 -h (hide selected SNP in partial sweep mode)\0A\00"
@.str.39 = [25 x i8] c"\09 -T (tree output mode)\0A\00"
@.str.40 = [54 x i8] c"\09 -d seed1 seed2 (set random number generator seeds)\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([123 x i8], [123 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([127 x i8], [127 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([122 x i8], [122 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.15, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.16, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.17, i64 0, i64 0))
%37 = load i32, i32* @stderr
%38 = call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.18, i64 0, i64 0))
%39 = load i32, i32* @stderr
%40 = call i32 @fprintf(i32 %39, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0))
%41 = load i32, i32* @stderr
%42 = call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.20, i64 0, i64 0))
%43 = load i32, i32* @stderr
%44 = call i32 @fprintf(i32 %43, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.21, i64 0, i64 0))
%45 = load i32, i32* @stderr
%46 = call i32 @fprintf(i32 %45, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.22, i64 0, i64 0))
%47 = load i32, i32* @stderr
%48 = call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.23, i64 0, i64 0))
%49 = load i32, i32* @stderr
%50 = call i32 @fprintf(i32 %49, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.24, i64 0, i64 0))
%51 = load i32, i32* @stderr
%52 = call i32 @fprintf(i32 %51, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.25, i64 0, i64 0))
%53 = load i32, i32* @stderr
%54 = call i32 @fprintf(i32 %53, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0))
%55 = load i32, i32* @stderr
%56 = call i32 @fprintf(i32 %55, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.27, i64 0, i64 0))
%57 = load i32, i32* @stderr
%58 = call i32 @fprintf(i32 %57, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.28, i64 0, i64 0))
%59 = load i32, i32* @stderr
%60 = call i32 @fprintf(i32 %59, i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.29, i64 0, i64 0))
%61 = load i32, i32* @stderr
%62 = call i32 @fprintf(i32 %61, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.30, i64 0, i64 0))
%63 = load i32, i32* @stderr
%64 = call i32 @fprintf(i32 %63, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.31, i64 0, i64 0))
%65 = load i32, i32* @stderr
%66 = call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.32, i64 0, i64 0))
%67 = load i32, i32* @stderr
%68 = call i32 @fprintf(i32 %67, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.33, i64 0, i64 0))
%69 = load i32, i32* @stderr
%70 = call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.34, i64 0, i64 0))
%71 = load i32, i32* @stderr
%72 = call i32 @fprintf(i32 %71, i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.35, i64 0, i64 0))
%73 = load i32, i32* @stderr
%74 = call i32 @fprintf(i32 %73, i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.36, i64 0, i64 0))
%75 = load i32, i32* @stderr
%76 = call i32 @fprintf(i32 %75, i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.37, i64 0, i64 0))
%77 = load i32, i32* @stderr
%78 = call i32 @fprintf(i32 %77, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.38, i64 0, i64 0))
%79 = load i32, i32* @stderr
%80 = call i32 @fprintf(i32 %79, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.39, i64 0, i64 0))
%81 = load i32, i32* @stderr
%82 = call i32 @fprintf(i32 %81, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.40, i64 0, i64 0))
%83 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [56 x i8] c"usage: discoal sampleSize numReplicates nSites -ws tau\0A\00"
@.str.1 = [14 x i8] c"parameters: \0A\00"
@.str.2 = [13 x i8] c"\09 -t theta \0A\00"
@.str.3 = [35 x i8] c"\09 -r rho (=zero if not specified)\0A\00"
@.str.4 = [55 x i8] c"\09 -g conversionRate tractLengthMean (gene conversion)\0A\00"
@.str.5 = [123 x i8] c"\09 -gr conversionToCrossoverRatio tractLengthMean (gene conversion where initiation rate = rho*conversionToCrossoverRatio)\0A\00"
@.str.6 = [41 x i8] c"\09 -p npops sampleSize1 sampleSize2 etc.\0A\00"
@.str.7 = [48 x i8] c"\09 -en time popnID size (changes size of popID)\0A\00"
@.str.8 = [57 x i8] c"\09 -ed time popnID1 popnID2 (joins popnID1 into popnID2)\0A\00"
@.str.9 = [127 x i8] c"\09 -ea time daughterPopnID founderPopnID1 founderPopnID2 admixProp (admixture-- back in time daughterPopnID into two founders)\0A\00"
@.str.10 = [65 x i8] c"\09 -ws tau (sweep happend tau generations ago- stochastic sweep)\0A\00"
@.str.11 = [68 x i8] c"\09 -wd tau (sweep happend tau generations ago- deterministic sweep)\0A\00"
@.str.12 = [62 x i8] c"\09 -wn tau (sweep happend tau generations ago- neutral sweep)\0A\00"
@.str.13 = [122 x i8] c"\09 -ls tau leftRho (stochastic sweep some genetic distance to the left of the simulated window--specified by leftRho=4Nr)\0A\00"
@.str.14 = [107 x i8] c"\09\09 similarly, ld and ln simulate deterministic and neutral sweeps to the left of the window, respectively\0A\00"
@.str.15 = [80 x i8] c"\09 -f first frequency at which selection acts on allele (F0; sweep models only)\0A\00"
@.str.16 = [89 x i8] c"\09 -uA rate at which adaptive mutation recurs during the sweep phase (sweep models only)\0A\00"
@.str.17 = [49 x i8] c"\09 -N sweepEffectivePopnSize (sweep models only)\0A\00"
@.str.18 = [19 x i8] c"\09 -a alpha (=2Ns)\0A\00"
@.str.19 = [22 x i8] c"\09 -x sweepSite (0-1)\0A\00"
@.str.20 = [50 x i8] c"\09 -c partialSweepFinalFrequency (partial sweeps)\0A\00"
@.str.21 = [62 x i8] c"\09 -i dt (sweep time increment scalar; default 400 -> 1/400N)\0A\00"
@.str.22 = [42 x i8] c"\09 -M migRate (sets all rates to migRate)\0A\00"
@.str.23 = [69 x i8] c"\09 -m popnID1 popnID2 migRate (sets migRate from popnID1 to popnID2)\0A\00"
@.str.24 = [76 x i8] c"\09 -A sampleSize popnID time (ancient sample from popnID at specified time)\0A\00"
@.str.25 = [33 x i8] c"\09 -Pt low high (prior on theta)\0A\00"
@.str.26 = [31 x i8] c"\09 -Pr low high (prior on rho)\0A\00"
@.str.27 = [100 x i8] c"\09 -Pre mean upperBound (prior on rho -- exponentially distributed but truncated at an upper bound)\0A\00"
@.str.28 = [33 x i8] c"\09 -Pa low high (prior on alpha)\0A\00"
@.str.29 = [102 x i8] c"\09 -Pu low high (prior on tau; sweep models only; still must use \22-ws tau\22 and \22tau\22 will be ignored)\0A\00"
@.str.30 = [50 x i8] c"\09 -PuA low high (prior on uA; sweep models only)\0A\00"
@.str.31 = [56 x i8] c"\09 -Px low high (prior on sweepSite; sweep models only)\0A\00"
@.str.32 = [49 x i8] c"\09 -Pf low high (prior on F0; sweep models only)\0A\00"
@.str.33 = [68 x i8] c"\09 -Pc low high (prior on partialSweepFinalFreq; sweep models only)\0A\00"
@.str.34 = [91 x i8] c"\09 -Pe1 lowTime highTime lowSize highSize (priors on first demographic move time and size)\0A\00"
@.str.35 = [92 x i8] c"\09 -Pe2 lowTime highTime lowSize highSize (priors on second demographic move time and size)\0A\00"
@.str.36 = [102 x i8] c"\09 -R rhhRate (recurrent hitch hiking mode at the locus; rhh is rate per 2N individuals / generation)\0A\00"
@.str.37 = [135 x i8] c"\09 -L rhhRate (recurrent hitch hiking mode to the side of locus; leftRho is ~Unif(0,4Ns); rhh is rate per 2N individuals / generation)\0A\00"
@.str.38 = [48 x i8] c"\09 -h (hide selected SNP in partial sweep mode)\0A\00"
@.str.39 = [25 x i8] c"\09 -T (tree output mode)\0A\00"
@.str.40 = [54 x i8] c"\09 -d seed1 seed2 (set random number generator seeds)\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([123 x i8], [123 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = tail call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = tail call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([127 x i8], [127 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = tail call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = tail call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = tail call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([122 x i8], [122 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = tail call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.15, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = tail call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.16, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = tail call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.17, i64 0, i64 0))
%37 = load i32, i32* @stderr
%38 = tail call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.18, i64 0, i64 0))
%39 = load i32, i32* @stderr
%40 = tail call i32 @fprintf(i32 %39, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0))
%41 = load i32, i32* @stderr
%42 = tail call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.20, i64 0, i64 0))
%43 = load i32, i32* @stderr
%44 = tail call i32 @fprintf(i32 %43, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.21, i64 0, i64 0))
%45 = load i32, i32* @stderr
%46 = tail call i32 @fprintf(i32 %45, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.22, i64 0, i64 0))
%47 = load i32, i32* @stderr
%48 = tail call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.23, i64 0, i64 0))
%49 = load i32, i32* @stderr
%50 = tail call i32 @fprintf(i32 %49, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.24, i64 0, i64 0))
%51 = load i32, i32* @stderr
%52 = tail call i32 @fprintf(i32 %51, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.25, i64 0, i64 0))
%53 = load i32, i32* @stderr
%54 = tail call i32 @fprintf(i32 %53, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0))
%55 = load i32, i32* @stderr
%56 = tail call i32 @fprintf(i32 %55, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.27, i64 0, i64 0))
%57 = load i32, i32* @stderr
%58 = tail call i32 @fprintf(i32 %57, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.28, i64 0, i64 0))
%59 = load i32, i32* @stderr
%60 = tail call i32 @fprintf(i32 %59, i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.29, i64 0, i64 0))
%61 = load i32, i32* @stderr
%62 = tail call i32 @fprintf(i32 %61, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.30, i64 0, i64 0))
%63 = load i32, i32* @stderr
%64 = tail call i32 @fprintf(i32 %63, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.31, i64 0, i64 0))
%65 = load i32, i32* @stderr
%66 = tail call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.32, i64 0, i64 0))
%67 = load i32, i32* @stderr
%68 = tail call i32 @fprintf(i32 %67, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.33, i64 0, i64 0))
%69 = load i32, i32* @stderr
%70 = tail call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.34, i64 0, i64 0))
%71 = load i32, i32* @stderr
%72 = tail call i32 @fprintf(i32 %71, i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.35, i64 0, i64 0))
%73 = load i32, i32* @stderr
%74 = tail call i32 @fprintf(i32 %73, i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.36, i64 0, i64 0))
%75 = load i32, i32* @stderr
%76 = tail call i32 @fprintf(i32 %75, i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.37, i64 0, i64 0))
%77 = load i32, i32* @stderr
%78 = tail call i32 @fprintf(i32 %77, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.38, i64 0, i64 0))
%79 = load i32, i32* @stderr
%80 = tail call i32 @fprintf(i32 %79, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.39, i64 0, i64 0))
%81 = load i32, i32* @stderr
%82 = tail call i32 @fprintf(i32 %81, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.40, i64 0, i64 0))
%83 = tail call i32 @exit(i32 1)
unreachable
}