#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*/ printf(char *);
void usage() {
  printf("usage: ms nsam howmany \n");
  printf("  Options: \n");
  printf("   -t theta   (this option and/or the next must be used. Theta = "
         "4*N0*u )\n");
  printf("   -s segsites   ( fixed number of segregating sites)\n");
  printf("   -T          (Output gene tree.)\n");
  printf("   -F minfreq     Output only sites with freq of minor allele >= "
         "minfreq.\n");
  printf("   -r rho nsites     (rho here is 4Nc)\n");
  printf("     -c f track_len   (f = ratio of conversion rate to rec rate. "
         "tracklen is mean length.) \n");
  printf(
      "        if rho = 0.,  f = 4*N0*g, with g the gene conversion rate.\n");
  printf("   -G alpha  ( N(t) = N0*exp(-alpha*t) .  alpha = -log(Np/Nr)/t\n");
  printf("   -I npop n1 n2 ... [mig_rate] (all elements of mig matrix set to "
         "mig_rate/(npop-1) \n");
  printf("     -m i j m_ij    (i,j-th element of mig matrix set to m_ij.)\n");
  printf("     -ma m_11 m_12 m_13 m_21 m_22 m_23 ...(Assign values to elements "
         "of migration matrix.)\n");
  printf("     -n i size_i   (popi has size set to size_i*N0 \n");
  printf("     -g i alpha_i  (If used must appear after -M option.)\n");
  printf("   The following options modify parameters at the time 't' specified "
         "as the first argument:\n");
  printf("   -eG t alpha  (Modify growth rate of all pop's.)\n");
  printf("   -eg t i alpha_i  (Modify growth rate of pop i.) \n");
  printf("   -eM t mig_rate   (Modify the mig matrix so all elements are "
         "mig_rate/(npop-1)\n");
  printf("   -em t i j m_ij    (i,j-th element of mig matrix set to m_ij at "
         "time t )\n");
  printf("   -ema t npop  m_11 m_12 m_13 m_21 m_22 m_23 ...(Assign values to "
         "elements of migration matrix.)\n");
  printf("   -eN t size  (Modify pop sizes. New sizes = size*N0 ) \n");
  printf("   -en t i size_i  (Modify pop size of pop i.  New size of popi = "
         "size_i*N0 .)\n");
  printf("   -es t i proportion  (Split: pop i -> pop-i + pop-npop, npop "
         "increases by 1.\n");
  printf("       proportion is probability that each lineage stays in pop-i. "
         "(p, 1-p are admixt. proport.\n");
  printf("       Size of pop npop is set to N0 and alpha = 0.0 , size and "
         "alpha of pop i are unchanged.\n");
  printf("   -ej t i j   ( Join lineages in pop i and pop j into pop j\n");
  printf("       size, alpha and M are unchanged.\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee2(%rip),%rdi
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
call   1030 <printf@plt>
lea    0xf22(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf65(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1011(%rip),%rdi
call   1030 <printf@plt>
lea    0x1049(%rip),%rdi
call   1030 <printf@plt>
lea    0x107e(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c9(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fe(%rip),%rdi
call   1030 <printf@plt>
lea    0x114e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1177(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a6(%rip),%rdi
call   1030 <printf@plt>
lea    0x11f7(%rip),%rdi
call   1030 <printf@plt>
lea    0x121f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1248(%rip),%rdi
call   1030 <printf@plt>
lea    0x128e(%rip),%rdi
call   1030 <printf@plt>
lea    0x12ce(%rip),%rdi
call   1030 <printf@plt>
lea    0x1325(%rip),%rdi
call   1030 <printf@plt>
lea    0x1353(%rip),%rdi
call   1030 <printf@plt>
lea    0x1397(%rip),%rdi
call   1030 <printf@plt>
lea    0x13db(%rip),%rdi
call   1030 <printf@plt>
lea    0x1430(%rip),%rdi
call   1030 <printf@plt>
lea    0x1483(%rip),%rdi
call   1030 <printf@plt>
lea    0x14b5(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee4(%rip),%rdi
call   1030 <puts@plt>
lea    0xee4(%rip),%rdi
call   1030 <puts@plt>
lea    0xf22(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf63(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa1(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbc(%rip),%rdi
call   1030 <puts@plt>
lea    0x100c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x1077(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c1(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f5(%rip),%rdi
call   1030 <puts@plt>
lea    0x1144(%rip),%rdi
call   1030 <puts@plt>
lea    0x116c(%rip),%rdi
call   1030 <puts@plt>
lea    0x119a(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ea(%rip),%rdi
call   1030 <puts@plt>
lea    0x1211(%rip),%rdi
call   1030 <puts@plt>
lea    0x1239(%rip),%rdi
call   1030 <puts@plt>
lea    0x127e(%rip),%rdi
call   1030 <puts@plt>
lea    0x12bd(%rip),%rdi
call   1030 <puts@plt>
lea    0x1313(%rip),%rdi
call   1030 <puts@plt>
lea    0x1340(%rip),%rdi
call   1030 <puts@plt>
lea    0x1383(%rip),%rdi
call   1030 <puts@plt>
lea    0x13c6(%rip),%rdi
call   1030 <puts@plt>
lea    0x141a(%rip),%rdi
call   1030 <puts@plt>
lea    0x146c(%rip),%rdi
call   1030 <puts@plt>
lea    0x149d(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"usage: ms nsam howmany \0A\00"
@.str.1 = [13 x i8] c" Options: \0A\00"
@.str.2 = [75 x i8] c" -t theta (this option and/or the next must be used. Theta = 4*N0*u )\0A\00"
@.str.3 = [55 x i8] c" -s segsites ( fixed number of segregating sites)\0A\00"
@.str.4 = [36 x i8] c" -T (Output gene tree.)\0A\00"
@.str.5 = [75 x i8] c" -F minfreq Output only sites with freq of minor allele >= minfreq.\0A\00"
@.str.6 = [40 x i8] c" -r rho nsites (rho here is 4Nc)\0A\00"
@.str.7 = [93 x i8] c" -c f track_len (f = ratio of conversion rate to rec rate. tracklen is mean length.) \0A\00"
@.str.8 = [68 x i8] c" if rho = 0., f = 4*N0*g, with g the gene conversion rate.\0A\00"
@.str.9 = [65 x i8] c" -G alpha ( N(t) = N0*exp(-alpha*t) . alpha = -log(Np/Nr)/t\0A\00"
@.str.10 = [87 x i8] c" -I npop n1 n2 ... [mig_rate] (all elements of mig matrix set to mig_rate/(npop-1) \0A\00"
@.str.11 = [65 x i8] c" -m i j m_ij (i,j-th element of mig matrix set to m_ij.)\0A\00"
@.str.12 = [92 x i8] c" -ma m_11 m_12 m_13 m_21 m_22 m_23 ...(Assign values to elements of migration matrix.)\0A\00"
@.str.13 = [53 x i8] c" -n i size_i (popi has size set to size_i*N0 \0A\00"
@.str.14 = [59 x i8] c" -g i alpha_i (If used must appear after -M option.)\0A\00"
@.str.15 = [93 x i8] c" The following options modify parameters at the time 't' specified as the first argument:\0A\00"
@.str.16 = [52 x i8] c" -eG t alpha (Modify growth rate of all pop's.)\0A\00"
@.str.17 = [53 x i8] c" -eg t i alpha_i (Modify growth rate of pop i.) \0A\00"
@.str.18 = [82 x i8] c" -eM t mig_rate (Modify the mig matrix so all elements are mig_rate/(npop-1)\0A\00"
@.str.19 = [76 x i8] c" -em t i j m_ij (i,j-th element of mig matrix set to m_ij at time t )\0A\00"
@.str.20 = [99 x i8] c" -ema t npop m_11 m_12 m_13 m_21 m_22 m_23 ...(Assign values to elements of migration matrix.)\0A\00"
@.str.21 = [58 x i8] c" -eN t size (Modify pop sizes. New sizes = size*N0 ) \0A\00"
@.str.22 = [80 x i8] c" -en t i size_i (Modify pop size of pop i. New size of popi = size_i*N0 .)\0A\00"
@.str.23 = [80 x i8] c" -es t i proportion (Split: pop i -> pop-i + pop-npop, npop increases by 1.\0A\00"
@.str.24 = [97 x i8] c" proportion is probability that each lineage stays in pop-i. (p, 1-p are admixt. proport.\0A\00"
@.str.25 = [95 x i8] c" Size of pop npop is set to N0 and alpha = 0.0 , size and alpha of pop i are unchanged.\0A\00"
@.str.26 = [62 x i8] c" -ej t i j ( Join lineages in pop i and pop j into pop j\0A\00"
@.str.27 = [41 x i8] c" size, alpha and M are unchanged.\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.24, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.25, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.26, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.27, i64 0, i64 0))
%29 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@str = [24 x i8] c"usage: ms nsam howmany \00"
@str.28 = [12 x i8] c" Options: \00"
@str.29 = [74 x i8] c" -t theta (this option and/or the next must be used. Theta = 4*N0*u )\00"
@str.30 = [54 x i8] c" -s segsites ( fixed number of segregating sites)\00"
@str.31 = [35 x i8] c" -T (Output gene tree.)\00"
@str.32 = [74 x i8] c" -F minfreq Output only sites with freq of minor allele >= minfreq.\00"
@str.33 = [39 x i8] c" -r rho nsites (rho here is 4Nc)\00"
@str.34 = [92 x i8] c" -c f track_len (f = ratio of conversion rate to rec rate. tracklen is mean length.) \00"
@str.35 = [67 x i8] c" if rho = 0., f = 4*N0*g, with g the gene conversion rate.\00"
@str.36 = [64 x i8] c" -G alpha ( N(t) = N0*exp(-alpha*t) . alpha = -log(Np/Nr)/t\00"
@str.37 = [86 x i8] c" -I npop n1 n2 ... [mig_rate] (all elements of mig matrix set to mig_rate/(npop-1) \00"
@str.38 = [64 x i8] c" -m i j m_ij (i,j-th element of mig matrix set to m_ij.)\00"
@str.39 = [91 x i8] c" -ma m_11 m_12 m_13 m_21 m_22 m_23 ...(Assign values to elements of migration matrix.)\00"
@str.40 = [52 x i8] c" -n i size_i (popi has size set to size_i*N0 \00"
@str.41 = [58 x i8] c" -g i alpha_i (If used must appear after -M option.)\00"
@str.42 = [92 x i8] c" The following options modify parameters at the time 't' specified as the first argument:\00"
@str.43 = [51 x i8] c" -eG t alpha (Modify growth rate of all pop's.)\00"
@str.44 = [52 x i8] c" -eg t i alpha_i (Modify growth rate of pop i.) \00"
@str.45 = [81 x i8] c" -eM t mig_rate (Modify the mig matrix so all elements are mig_rate/(npop-1)\00"
@str.46 = [75 x i8] c" -em t i j m_ij (i,j-th element of mig matrix set to m_ij at time t )\00"
@str.47 = [98 x i8] c" -ema t npop m_11 m_12 m_13 m_21 m_22 m_23 ...(Assign values to elements of migration matrix.)\00"
@str.48 = [57 x i8] c" -eN t size (Modify pop sizes. New sizes = size*N0 ) \00"
@str.49 = [79 x i8] c" -en t i size_i (Modify pop size of pop i. New size of popi = size_i*N0 .)\00"
@str.50 = [79 x i8] c" -es t i proportion (Split: pop i -> pop-i + pop-npop, npop increases by 1.\00"
@str.51 = [96 x i8] c" proportion is probability that each lineage stays in pop-i. (p, 1-p are admixt. proport.\00"
@str.52 = [94 x i8] c" Size of pop npop is set to N0 and alpha = 0.0 , size and alpha of pop i are unchanged.\00"
@str.53 = [61 x i8] c" -ej t i j ( Join lineages in pop i and pop j into pop j\00"
@str.54 = [40 x i8] c" size, alpha and M are unchanged.\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.28, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.29, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.30, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.31, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.32, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.33, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.34, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.35, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.36, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.37, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.38, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([91 x i8], [91 x i8]* @str.39, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.40, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.41, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.42, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.43, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.44, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.45, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.46, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([98 x i8], [98 x i8]* @str.47, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.48, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.49, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.50, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @str.51, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.52, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.53, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.54, i64 0, i64 0))
%29 = tail call i32 @exit(i32 1)
unreachable
}