#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 atoi(char *);
int buildtarget();
int /*<<< orphan*/ printf(char *);
int runabc1();
int runabc2();
int /*<<< orphan*/ scanf(char *, char **);
void customMenu() {
  char str[256];
  int option, r;
  do {
    printf("\n\n\n  *Customize ABC Menu*\n\n");
    printf("  1. Summarize 'real' data with summstats set\n\n");
    printf("  2. Run simulations\n\n");
    printf("  3. Perform rejection step\n\n");
    printf("  4. Exit to Main Menu\n\n");
    printf("  choose an option: ");
    scanf("%s", &str);
    option = atoi(str);
    switch (option) {
    case 1:
      printf("\n\n\n  *Run ABC - 'real' data summarization step*\n\n");
      r = buildtarget();
      if (r == 0)
        printf("\n\n>'real' data summarization completed  (report created).");
      else if (r == 1)
        printf("\n\n>error::cannot open the .len file!");
      else if (r == 2)
        printf("\n\n>error::cannot open the .sst file!");
      else if (r == 3)
        printf("\n\n>error::cannot create .trg file!");
      else if (r == 4)
        printf("\n\n>error::cannot create .ssz file!");
      else if (r == 5)
        printf("\n\n>error::cannot create info file!");
      else if (r == 6)
        printf("\n\n>error::reading .sst file!");
      else if (r == 7)
        printf("\n\n>error::following sstats can only be chosen with 2 or more "
               "pops: Nm_H; Nm_S; privS; S(1)!");
      else if (r == 8)
        printf(
            "\n\n>error::sequence data locus without information, discard it!");
      break;
    case 2:
      printf("\n\n\n  *Run ABC - simulation step*\n\n");
      r = runabc1();
      if (r == 0)
        printf("\n\n>simulation step completed (report created).");
      else if (r == 1)
        printf("\n\n>error::cannot open the .prs file!");
      else if (r == 2)
        printf("\n\n>error::cannot open the .ssz file!");
      else if (r == 3)
        printf("\n\n>error::cannot open the .sst file!");
      else if (r == 4)
        printf("\n\n>error::cannot create .dat file!");
      else if (r == 5)
        printf("\n\n>error::cannot create info file!");
      else if (r == 6)
        printf("\n\n>error::while reading .ssz file!");
      else if (r == 7)
        printf("\n\n>error::while reading .sst file!");
      else if (r == 8)
        printf("\n\n>error::following sstats can only be chosen with 2 or more "
               "pops: Nm_H; Nm_S; privS; S(1)!");
      else if (r == 9)
        printf("\n\n>error::wrong topology prior type!");
      else if (r == 10)
        printf("\n\n>error::with 1 or 2 pops only topology prior type 0 or 3 "
               "can be used!");
      else if (r == 11)
        printf("\n\n>error::wrong Ne prior type!");
      else if (r == 12)
        printf("\n\n>error::type-2 tev is followed by another type-2 tev!");
      else if (r == 13)
        printf(
            "\n\n>error::if using tev type 3 prior, define prior only once!");
      else if (r == 14)
        printf(
            "\n\n>error::if using tev type 4 prior, define prior only once!");
      else if (r == 15)
        printf("\n\n>error::wrong Tev prior type!");
      else if (r == 16)
        printf("\n\n>error::wrong Mig prior type!");
      else if (r == 17)
        printf("\n\n>error::wrong Mut prior type (Microsatellites)!");
      else if (r == 18)
        printf("\n\n>error::wrong Mut prior type (Sequence Data)!");
      else if (r == 19)
        printf("\n\n>error::wrong Rec prior type (Microsatellites)!");
      else if (r == 20)
        printf("\n\n>error::wrong Rec prior type (Sequence Data)!");
      else if (r == 21)
        printf("\n\n>error::to use migration weights matrix, topology must be "
               "defined (option 1,2,4 or 5)!");
      else if (r == 22)
        printf("\n\n>error::wrong migration weights matrix option!");
      else if (r == 23)
        printf("\n\n>error::.dat file would be too big to be analyzed!");
      else if (r == 24)
        printf("\n\n>error::when using rec with STR all STR loci must have the "
               "same scalar!");
      else if (r == 25)
        printf("\n\n>error::when using rec with STR all STR loci must have the "
               "same samples per population!");
      else if (r == 26)
        printf("\n\n>error::cannot create .mut file!");
      else if (r == 27)
        printf("\n\n>error::cannot create .rec file!");
      else if (r == 28)
        printf("\n\n>error::times are not monotonic increasing!");
      else if (r == 29)
        printf("\n\n>error::choosing branching sequence!");
      else if (r == 30)
        printf("\n\n>error::with more than 5 populations the topology as to be "
               "fixed using option 2 or 5!");
      else if (r == 31)
        printf("\n\n>error::the locus have less than samples, it should be "
               "cleared!");
      else if (r == 32)
        printf("\n\n>error::migration weights for the considered population "
               "have to be 0!");
      else if (r == 33)
        printf("\n\n>error::the sum of the prob for a given migration as to be "
               "1.0!");
      else if (r == 34)
        printf("\n\n>error::cannot create .len file!");
      break;
    case 3:
      printf("\n\n\n  *Run ABC - rejection step*\n\n");
      r = runabc2();
      if (r == 0)
        printf("\n\n>rejection step completed (report created).");
      else if (r == 1)
        printf("\n\n>error::cannot open .dat file!");
      else if (r == 2)
        printf("\n\n>error::cannot open .trg file!");
      else if (r == 3)
        printf("\n\n>error::cannot create .rej file!");
      else if (r == 4)
        printf("\n\n>error::cannot create .pri file!");
      else if (r == 5)
        printf("\n\n>error::cannot create .txt file!");
      else if (r == 6)
        printf("\n\n>error::file .dat ended prematurely!");
      else if (r == 7)
        printf("\n\n>error::.dat file is too big to be analysed!");
      break;
    case 4:
      break;
    default:
      printf("\n\n>error::option not available\n");
      break;
    }
  } while (option != 4);
}


x86 assembly (clang, -O0):
<customMenu>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
lea    0xe9e(%rip),%rdi
call   1050 <printf@plt>
lea    0xeae(%rip),%rdi
call   1050 <printf@plt>
lea    0xed2(%rip),%rdi
call   1050 <printf@plt>
lea    0xedd(%rip),%rdi
call   1050 <printf@plt>
lea    0xeef(%rip),%rdi
call   1050 <printf@plt>
lea    0xefc(%rip),%rdi
call   1050 <printf@plt>
lea    0xf05(%rip),%rdi
lea    -0x100(%rbp),%rsi
mov    %rsi,-0x118(%rbp)
call   1070 <scanf@plt>
mov    -0x118(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x104(%rbp)
mov    -0x104(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x110(%rbp)
sub    $0x3,%eax
ja     196e <customMenu+0x80e>
mov    -0x110(%rbp),%rax
lea    0xdf8(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xeaa(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1030 <buildtarget@plt>
mov    %eax,-0x108(%rbp)
cmpl   $0x0,-0x108(%rbp)
jne    1248 <customMenu+0xe8>
lea    0xeb6(%rip),%rdi
call   1050 <printf@plt>
jmp    135b <customMenu+0x1fb>
cmpl   $0x1,-0x108(%rbp)
jne    1266 <customMenu+0x106>
lea    0xed2(%rip),%rdi
call   1050 <printf@plt>
jmp    1356 <customMenu+0x1f6>
cmpl   $0x2,-0x108(%rbp)
jne    1284 <customMenu+0x124>
lea    0xed9(%rip),%rdi
call   1050 <printf@plt>
jmp    1351 <customMenu+0x1f1>
cmpl   $0x3,-0x108(%rbp)
jne    12a2 <customMenu+0x142>
lea    0xee0(%rip),%rdi
call   1050 <printf@plt>
jmp    134c <customMenu+0x1ec>
cmpl   $0x4,-0x108(%rbp)
jne    12c0 <customMenu+0x160>
lea    0xee5(%rip),%rdi
call   1050 <printf@plt>
jmp    1347 <customMenu+0x1e7>
cmpl   $0x5,-0x108(%rbp)
jne    12de <customMenu+0x17e>
lea    0xeea(%rip),%rdi
call   1050 <printf@plt>
jmp    1342 <customMenu+0x1e2>
cmpl   $0x6,-0x108(%rbp)
jne    12fc <customMenu+0x19c>
lea    0xeef(%rip),%rdi
call   1050 <printf@plt>
jmp    133d <customMenu+0x1dd>
cmpl   $0x7,-0x108(%rbp)
jne    131a <customMenu+0x1ba>
lea    0xeee(%rip),%rdi
call   1050 <printf@plt>
jmp    1338 <customMenu+0x1d8>
cmpl   $0x8,-0x108(%rbp)
jne    1333 <customMenu+0x1d3>
lea    0xf2c(%rip),%rdi
call   1050 <printf@plt>
jmp    1338 <customMenu+0x1d8>
jmp    133d <customMenu+0x1dd>
jmp    1342 <customMenu+0x1e2>
jmp    1347 <customMenu+0x1e7>
jmp    134c <customMenu+0x1ec>
jmp    1351 <customMenu+0x1f1>
jmp    1356 <customMenu+0x1f6>
jmp    135b <customMenu+0x1fb>
jmp    197a <customMenu+0x81a>
lea    0xf32(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1040 <runabc1@plt>
mov    %eax,-0x108(%rbp)
cmpl   $0x0,-0x108(%rbp)
jne    1397 <customMenu+0x237>
lea    0xf2f(%rip),%rdi
call   1050 <printf@plt>
jmp    1838 <customMenu+0x6d8>
cmpl   $0x1,-0x108(%rbp)
jne    13b5 <customMenu+0x255>
lea    0xf40(%rip),%rdi
call   1050 <printf@plt>
jmp    1833 <customMenu+0x6d3>
cmpl   $0x2,-0x108(%rbp)
jne    13d3 <customMenu+0x273>
lea    0xf47(%rip),%rdi
call   1050 <printf@plt>
jmp    182e <customMenu+0x6ce>
cmpl   $0x3,-0x108(%rbp)
jne    13f1 <customMenu+0x291>
lea    0xd6c(%rip),%rdi
call   1050 <printf@plt>
jmp    1829 <customMenu+0x6c9>
cmpl   $0x4,-0x108(%rbp)
jne    140f <customMenu+0x2af>
lea    0xf30(%rip),%rdi
call   1050 <printf@plt>
jmp    1824 <customMenu+0x6c4>
cmpl   $0x5,-0x108(%rbp)
jne    142d <customMenu+0x2cd>
lea    0xd9b(%rip),%rdi
call   1050 <printf@plt>
jmp    181f <customMenu+0x6bf>
cmpl   $0x6,-0x108(%rbp)
jne    144b <customMenu+0x2eb>
lea    0xf17(%rip),%rdi
call   1050 <printf@plt>
jmp    181a <customMenu+0x6ba>
cmpl   $0x7,-0x108(%rbp)
jne    1469 <customMenu+0x309>
lea    0xf1c(%rip),%rdi
call   1050 <printf@plt>
jmp    1815 <customMenu+0x6b5>
cmpl   $0x8,-0x108(%rbp)
jne    1487 <customMenu+0x327>
lea    0xd81(%rip),%rdi
call   1050 <printf@plt>
jmp    1810 <customMenu+0x6b0>
cmpl   $0x9,-0x108(%rbp)
jne    14a5 <customMenu+0x345>
lea    0xf03(%rip),%rdi
call   1050 <printf@plt>
jmp    180b <customMenu+0x6ab>
cmpl   $0xa,-0x108(%rbp)
jne    14c3 <customMenu+0x363>
lea    0xf0a(%rip),%rdi
call   1050 <printf@plt>
jmp    1806 <customMenu+0x6a6>
cmpl   $0xb,-0x108(%rbp)
jne    14e1 <customMenu+0x381>
lea    0xf34(%rip),%rdi
call   1050 <printf@plt>
jmp    1801 <customMenu+0x6a1>
cmpl   $0xc,-0x108(%rbp)
jne    14ff <customMenu+0x39f>
lea    0xf35(%rip),%rdi
call   1050 <printf@plt>
jmp    17fc <customMenu+0x69c>
cmpl   $0xd,-0x108(%rbp)
jne    151d <customMenu+0x3bd>
lea    0xf4f(%rip),%rdi
call   1050 <printf@plt>
jmp    17f7 <customMenu+0x697>
cmpl   $0xe,-0x108(%rbp)
jne    153b <customMenu+0x3db>
lea    0xf6e(%rip),%rdi
call   1050 <printf@plt>
jmp    17f2 <customMenu+0x692>
cmpl   $0xf,-0x108(%rbp)
jne    1559 <customMenu+0x3f9>
lea    0xf8d(%rip),%rdi
call   1050 <printf@plt>
jmp    17ed <customMenu+0x68d>
cmpl   $0x10,-0x108(%rbp)
jne    1577 <customMenu+0x417>
lea    0xf8f(%rip),%rdi
call   1050 <printf@plt>
jmp    17e8 <customMenu+0x688>
cmpl   $0x11,-0x108(%rbp)
jne    1595 <customMenu+0x435>
lea    0xf91(%rip),%rdi
call   1050 <printf@plt>
jmp    17e3 <customMenu+0x683>
cmpl   $0x12,-0x108(%rbp)
jne    15b3 <customMenu+0x453>
lea    0xfa5(%rip),%rdi
call   1050 <printf@plt>
jmp    17de <customMenu+0x67e>
cmpl   $0x13,-0x108(%rbp)
jne    15d1 <customMenu+0x471>
lea    0xfb7(%rip),%rdi
call   1050 <printf@plt>
jmp    17d9 <customMenu+0x679>
cmpl   $0x14,-0x108(%rbp)
jne    15ef <customMenu+0x48f>
lea    0xfcb(%rip),%rdi
call   1050 <printf@plt>
jmp    17d4 <customMenu+0x674>
cmpl   $0x15,-0x108(%rbp)
jne    160d <customMenu+0x4ad>
lea    0xfdd(%rip),%rdi
call   1050 <printf@plt>
jmp    17cf <customMenu+0x66f>
cmpl   $0x16,-0x108(%rbp)
jne    162b <customMenu+0x4cb>
lea    0x1018(%rip),%rdi
call   1050 <printf@plt>
jmp    17ca <customMenu+0x66a>
cmpl   $0x17,-0x108(%rbp)
jne    1649 <customMenu+0x4e9>
lea    0x102b(%rip),%rdi
call   1050 <printf@plt>
jmp    17c5 <customMenu+0x665>
cmpl   $0x18,-0x108(%rbp)
jne    1667 <customMenu+0x507>
lea    0x1042(%rip),%rdi
call   1050 <printf@plt>
jmp    17c0 <customMenu+0x660>
cmpl   $0x19,-0x108(%rbp)
jne    1685 <customMenu+0x525>
lea    0x106e(%rip),%rdi
call   1050 <printf@plt>
jmp    17bb <customMenu+0x65b>
cmpl   $0x1a,-0x108(%rbp)
jne    16a3 <customMenu+0x543>
lea    0x10aa(%rip),%rdi
call   1050 <printf@plt>
jmp    17b6 <customMenu+0x656>
cmpl   $0x1b,-0x108(%rbp)
jne    16c1 <customMenu+0x561>
lea    0x10af(%rip),%rdi
call   1050 <printf@plt>
jmp    17b1 <customMenu+0x651>
cmpl   $0x1c,-0x108(%rbp)
jne    16df <customMenu+0x57f>
lea    0x10b4(%rip),%rdi
call   1050 <printf@plt>
jmp    17ac <customMenu+0x64c>
cmpl   $0x1d,-0x108(%rbp)
jne    16fd <customMenu+0x59d>
lea    0x10c4(%rip),%rdi
call   1050 <printf@plt>
jmp    17a7 <customMenu+0x647>
cmpl   $0x1e,-0x108(%rbp)
jne    171b <customMenu+0x5bb>
lea    0x10cd(%rip),%rdi
call   1050 <printf@plt>
jmp    17a2 <customMenu+0x642>
cmpl   $0x1f,-0x108(%rbp)
jne    1739 <customMenu+0x5d9>
lea    0x1107(%rip),%rdi
call   1050 <printf@plt>
jmp    179d <customMenu+0x63d>
cmpl   $0x20,-0x108(%rbp)
jne    1757 <customMenu+0x5f7>
lea    0x112b(%rip),%rdi
call   1050 <printf@plt>
jmp    1798 <customMenu+0x638>
cmpl   $0x21,-0x108(%rbp)
jne    1775 <customMenu+0x615>
lea    0x1155(%rip),%rdi
call   1050 <printf@plt>
jmp    1793 <customMenu+0x633>
cmpl   $0x22,-0x108(%rbp)
jne    178e <customMenu+0x62e>
lea    0x1179(%rip),%rdi
call   1050 <printf@plt>
jmp    1793 <customMenu+0x633>
jmp    1798 <customMenu+0x638>
jmp    179d <customMenu+0x63d>
jmp    17a2 <customMenu+0x642>
jmp    17a7 <customMenu+0x647>
jmp    17ac <customMenu+0x64c>
jmp    17b1 <customMenu+0x651>
jmp    17b6 <customMenu+0x656>
jmp    17bb <customMenu+0x65b>
jmp    17c0 <customMenu+0x660>
jmp    17c5 <customMenu+0x665>
jmp    17ca <customMenu+0x66a>
jmp    17cf <customMenu+0x66f>
jmp    17d4 <customMenu+0x674>
jmp    17d9 <customMenu+0x679>
jmp    17de <customMenu+0x67e>
jmp    17e3 <customMenu+0x683>
jmp    17e8 <customMenu+0x688>
jmp    17ed <customMenu+0x68d>
jmp    17f2 <customMenu+0x692>
jmp    17f7 <customMenu+0x697>
jmp    17fc <customMenu+0x69c>
jmp    1801 <customMenu+0x6a1>
jmp    1806 <customMenu+0x6a6>
jmp    180b <customMenu+0x6ab>
jmp    1810 <customMenu+0x6b0>
jmp    1815 <customMenu+0x6b5>
jmp    181a <customMenu+0x6ba>
jmp    181f <customMenu+0x6bf>
jmp    1824 <customMenu+0x6c4>
jmp    1829 <customMenu+0x6c9>
jmp    182e <customMenu+0x6ce>
jmp    1833 <customMenu+0x6d3>
jmp    1838 <customMenu+0x6d8>
jmp    197a <customMenu+0x81a>
lea    0x10e1(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <runabc2@plt>
mov    %eax,-0x108(%rbp)
cmpl   $0x0,-0x108(%rbp)
jne    1874 <customMenu+0x714>
lea    0x10dd(%rip),%rdi
call   1050 <printf@plt>
jmp    1964 <customMenu+0x804>
cmpl   $0x1,-0x108(%rbp)
jne    1892 <customMenu+0x732>
lea    0x10ed(%rip),%rdi
call   1050 <printf@plt>
jmp    195f <customMenu+0x7ff>
cmpl   $0x2,-0x108(%rbp)
jne    18b0 <customMenu+0x750>
lea    0x10f0(%rip),%rdi
call   1050 <printf@plt>
jmp    195a <customMenu+0x7fa>
cmpl   $0x3,-0x108(%rbp)
jne    18ce <customMenu+0x76e>
lea    0x10f3(%rip),%rdi
call   1050 <printf@plt>
jmp    1955 <customMenu+0x7f5>
cmpl   $0x4,-0x108(%rbp)
jne    18ec <customMenu+0x78c>
lea    0x10f8(%rip),%rdi
call   1050 <printf@plt>
jmp    1950 <customMenu+0x7f0>
cmpl   $0x5,-0x108(%rbp)
jne    190a <customMenu+0x7aa>
lea    0x10fd(%rip),%rdi
call   1050 <printf@plt>
jmp    194b <customMenu+0x7eb>
cmpl   $0x6,-0x108(%rbp)
jne    1928 <customMenu+0x7c8>
lea    0x1102(%rip),%rdi
call   1050 <printf@plt>
jmp    1946 <customMenu+0x7e6>
cmpl   $0x7,-0x108(%rbp)
jne    1941 <customMenu+0x7e1>
lea    0x110b(%rip),%rdi
call   1050 <printf@plt>
jmp    1946 <customMenu+0x7e6>
jmp    194b <customMenu+0x7eb>
jmp    1950 <customMenu+0x7f0>
jmp    1955 <customMenu+0x7f5>
jmp    195a <customMenu+0x7fa>
jmp    195f <customMenu+0x7ff>
jmp    1964 <customMenu+0x804>
jmp    197a <customMenu+0x81a>
jmp    197a <customMenu+0x81a>
lea    0x1101(%rip),%rdi
call   1050 <printf@plt>
jmp    197f <customMenu+0x81f>
cmpl   $0x4,-0x104(%rbp)
jne    116b <customMenu+0xb>
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<customMenu>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
lea    0x190d(%rip),%r13
lea    0x1923(%rip),%rbx
lea    0xf4a(%rip),%rbp
lea    0xf58(%rip),%r14
mov    %rsp,%r15
lea    0xe59(%rip),%r12
jmp    11bc <customMenu+0x4c>
nopl   0x0(%rax)
lea    0x1987(%rip),%rdi
call   1040 <puts@plt>
lea    0x1872(%rip),%rdi
call   1040 <puts@plt>
lea    0x1881(%rip),%rdi
call   1040 <puts@plt>
lea    0x18a4(%rip),%rdi
call   1040 <puts@plt>
mov    %r13,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbp,%rdi
call   1060 <printf@plt>
mov    %r14,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
mov    %r15,%rdi
call   1090 <atoi@plt>
add    $0xffffffff,%eax
cmp    $0x3,%eax
ja     11b0 <customMenu+0x40>
movslq (%r12,%rax,4),%rax
add    %r12,%rax
jmp    *%rax
lea    0x18ea(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1030 <buildtarget@plt>
cmp    $0x8,%eax
ja     11bc <customMenu+0x4c>
mov    %eax,%eax
lea    0xe7f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xeab(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
nopw   0x0(%rax,%rax,1)
lea    0x1884(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1050 <runabc1@plt>
cmp    $0x22,%eax
ja     11bc <customMenu+0x4c>
mov    %eax,%eax
lea    0xdab(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1008(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
nop
lea    0x1823(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1070 <runabc2@plt>
cmp    $0x7,%eax
ja     11bc <customMenu+0x4c>
mov    %eax,%eax
lea    0xd4b(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1631(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xe71(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xecb(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xefa(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x161b(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x162b(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x163b(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x164d(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x165f(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1671(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1687(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xda2(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xddb(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xded(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xe22(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xe8a(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xee7(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xefb(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xf0f(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xf21(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xf33(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xf45(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xf59(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xf90(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xf9e(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xfc5(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0xff1(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x101d(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x102c(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x103b(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x105c(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x107b(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x109c(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x10bb(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1103(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1123(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1147(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1180(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x11c9(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x11db(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x11ed(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x120a(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1220(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1267(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1298(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x12cf(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
lea    0x1300(%rip),%rdi
call   1060 <printf@plt>
jmp    11bc <customMenu+0x4c>
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [28 x i8] c"\0A\0A\0A *Customize ABC Menu*\0A\0A\00"
@.str.1 = [48 x i8] c" 1. Summarize 'real' data with summstats set\0A\0A\00"
@.str.2 = [23 x i8] c" 2. Run simulations\0A\0A\00"
@.str.3 = [30 x i8] c" 3. Perform rejection step\0A\0A\00"
@.str.4 = [25 x i8] c" 4. Exit to Main Menu\0A\0A\00"
@.str.5 = [21 x i8] c" choose an option: \00"
@.str.6 = [3 x i8] c"%s\00"
@.str.7 = [50 x i8] c"\0A\0A\0A *Run ABC - 'real' data summarization step*\0A\0A\00"
@.str.8 = [58 x i8] c"\0A\0A>'real' data summarization completed (report created).\00"
@.str.9 = [37 x i8] c"\0A\0A>error::cannot open the .len file!\00"
@.str.10 = [37 x i8] c"\0A\0A>error::cannot open the .sst file!\00"
@.str.11 = [35 x i8] c"\0A\0A>error::cannot create .trg file!\00"
@.str.12 = [35 x i8] c"\0A\0A>error::cannot create .ssz file!\00"
@.str.13 = [35 x i8] c"\0A\0A>error::cannot create info file!\00"
@.str.14 = [29 x i8] c"\0A\0A>error::reading .sst file!\00"
@.str.15 = [92 x i8] c"\0A\0A>error::following sstats can only be chosen with 2 or more pops: Nm_H; Nm_S; privS; S(1)!\00"
@.str.16 = [63 x i8] c"\0A\0A>error::sequence data locus without information, discard it!\00"
@.str.17 = [35 x i8] c"\0A\0A\0A *Run ABC - simulation step*\0A\0A\00"
@.str.18 = [47 x i8] c"\0A\0A>simulation step completed (report created).\00"
@.str.19 = [37 x i8] c"\0A\0A>error::cannot open the .prs file!\00"
@.str.20 = [37 x i8] c"\0A\0A>error::cannot open the .ssz file!\00"
@.str.21 = [35 x i8] c"\0A\0A>error::cannot create .dat file!\00"
@.str.22 = [35 x i8] c"\0A\0A>error::while reading .ssz file!\00"
@.str.23 = [35 x i8] c"\0A\0A>error::while reading .sst file!\00"
@.str.24 = [37 x i8] c"\0A\0A>error::wrong topology prior type!\00"
@.str.25 = [72 x i8] c"\0A\0A>error::with 1 or 2 pops only topology prior type 0 or 3 can be used!\00"
@.str.26 = [31 x i8] c"\0A\0A>error::wrong Ne prior type!\00"
@.str.27 = [56 x i8] c"\0A\0A>error::type-2 tev is followed by another type-2 tev!\00"
@.str.28 = [61 x i8] c"\0A\0A>error::if using tev type 3 prior, define prior only once!\00"
@.str.29 = [61 x i8] c"\0A\0A>error::if using tev type 4 prior, define prior only once!\00"
@.str.30 = [32 x i8] c"\0A\0A>error::wrong Tev prior type!\00"
@.str.31 = [32 x i8] c"\0A\0A>error::wrong Mig prior type!\00"
@.str.32 = [50 x i8] c"\0A\0A>error::wrong Mut prior type (Microsatellites)!\00"
@.str.33 = [48 x i8] c"\0A\0A>error::wrong Mut prior type (Sequence Data)!\00"
@.str.34 = [50 x i8] c"\0A\0A>error::wrong Rec prior type (Microsatellites)!\00"
@.str.35 = [48 x i8] c"\0A\0A>error::wrong Rec prior type (Sequence Data)!\00"
@.str.36 = [89 x i8] c"\0A\0A>error::to use migration weights matrix, topology must be defined (option 1,2,4 or 5)!\00"
@.str.37 = [49 x i8] c"\0A\0A>error::wrong migration weights matrix option!\00"
@.str.38 = [53 x i8] c"\0A\0A>error::.dat file would be too big to be analyzed!\00"
@.str.39 = [74 x i8] c"\0A\0A>error::when using rec with STR all STR loci must have the same scalar!\00"
@.str.40 = [90 x i8] c"\0A\0A>error::when using rec with STR all STR loci must have the same samples per population!\00"
@.str.41 = [35 x i8] c"\0A\0A>error::cannot create .mut file!\00"
@.str.42 = [35 x i8] c"\0A\0A>error::cannot create .rec file!\00"
@.str.43 = [46 x i8] c"\0A\0A>error::times are not monotonic increasing!\00"
@.str.44 = [39 x i8] c"\0A\0A>error::choosing branching sequence!\00"
@.str.45 = [88 x i8] c"\0A\0A>error::with more than 5 populations the topology as to be fixed using option 2 or 5!\00"
@.str.46 = [66 x i8] c"\0A\0A>error::the locus have less than samples, it should be cleared!\00"
@.str.47 = [72 x i8] c"\0A\0A>error::migration weights for the considered population have to be 0!\00"
@.str.48 = [66 x i8] c"\0A\0A>error::the sum of the prob for a given migration as to be 1.0!\00"
@.str.49 = [35 x i8] c"\0A\0A>error::cannot create .len file!\00"
@.str.50 = [34 x i8] c"\0A\0A\0A *Run ABC - rejection step*\0A\0A\00"
@.str.51 = [46 x i8] c"\0A\0A>rejection step completed (report created).\00"
@.str.52 = [33 x i8] c"\0A\0A>error::cannot open .dat file!\00"
@.str.53 = [33 x i8] c"\0A\0A>error::cannot open .trg file!\00"
@.str.54 = [35 x i8] c"\0A\0A>error::cannot create .rej file!\00"
@.str.55 = [35 x i8] c"\0A\0A>error::cannot create .pri file!\00"
@.str.56 = [35 x i8] c"\0A\0A>error::cannot create .txt file!\00"
@.str.57 = [39 x i8] c"\0A\0A>error::file .dat ended prematurely!\00"
@.str.58 = [47 x i8] c"\0A\0A>error::.dat file is too big to be analysed!\00"
@.str.59 = [32 x i8] c"\0A\0A>error::option not available\0A\00"
define void @customMenu() {
%1 = alloca [256 x i8]
%2 = alloca i32
%3 = alloca i32
br label %4
4: ; preds = %338, %0
%5 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%11 = bitcast [256 x i8]* %1 to i8**
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8** %11)
%13 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%14 = call i32 @atoi(i8* %13)
store i32 %14, i32* %2
%15 = load i32, i32* %2
switch i32 %15, label %335 [
i32 1, label %16
i32 2, label %72
i32 3, label %284
i32 4, label %334
]
16: ; preds = %4
%17 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i64 0, i64 0))
%18 = call i32 (...) @buildtarget()
store i32 %18, i32* %3
%19 = load i32, i32* %3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0))
br label %71
23: ; preds = %16
%24 = load i32, i32* %3
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
br label %70
28: ; preds = %23
%29 = load i32, i32* %3
%30 = icmp eq i32 %29, 2
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
br label %69
33: ; preds = %28
%34 = load i32, i32* %3
%35 = icmp eq i32 %34, 3
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0))
br label %68
38: ; preds = %33
%39 = load i32, i32* %3
%40 = icmp eq i32 %39, 4
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.12, i64 0, i64 0))
br label %67
43: ; preds = %38
%44 = load i32, i32* %3
%45 = icmp eq i32 %44, 5
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0))
br label %66
48: ; preds = %43
%49 = load i32, i32* %3
%50 = icmp eq i32 %49, 6
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0))
br label %65
53: ; preds = %48
%54 = load i32, i32* %3
%55 = icmp eq i32 %54, 7
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @printf(i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.15, i64 0, i64 0))
br label %64
58: ; preds = %53
%59 = load i32, i32* %3
%60 = icmp eq i32 %59, 8
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.16, i64 0, i64 0))
br label %63
63: ; preds = %61, %58
br label %64
64: ; preds = %63, %56
br label %65
65: ; preds = %64, %51
br label %66
66: ; preds = %65, %46
br label %67
67: ; preds = %66, %41
br label %68
68: ; preds = %67, %36
br label %69
69: ; preds = %68, %31
br label %70
70: ; preds = %69, %26
br label %71
71: ; preds = %70, %21
br label %337
72: ; preds = %4
%73 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.17, i64 0, i64 0))
%74 = call i32 (...) @runabc1()
store i32 %74, i32* %3
%75 = load i32, i32* %3
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %79
77: ; preds = %72
%78 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.18, i64 0, i64 0))
br label %283
79: ; preds = %72
%80 = load i32, i32* %3
%81 = icmp eq i32 %80, 1
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.19, i64 0, i64 0))
br label %282
84: ; preds = %79
%85 = load i32, i32* %3
%86 = icmp eq i32 %85, 2
br i1 %86, label %87, label %89
87: ; preds = %84
%88 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.20, i64 0, i64 0))
br label %281
89: ; preds = %84
%90 = load i32, i32* %3
%91 = icmp eq i32 %90, 3
br i1 %91, label %92, label %94
92: ; preds = %89
%93 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
br label %280
94: ; preds = %89
%95 = load i32, i32* %3
%96 = icmp eq i32 %95, 4
br i1 %96, label %97, label %99
97: ; preds = %94
%98 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.21, i64 0, i64 0))
br label %279
99: ; preds = %94
%100 = load i32, i32* %3
%101 = icmp eq i32 %100, 5
br i1 %101, label %102, label %104
102: ; preds = %99
%103 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0))
br label %278
104: ; preds = %99
%105 = load i32, i32* %3
%106 = icmp eq i32 %105, 6
br i1 %106, label %107, label %109
107: ; preds = %104
%108 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.22, i64 0, i64 0))
br label %277
109: ; preds = %104
%110 = load i32, i32* %3
%111 = icmp eq i32 %110, 7
br i1 %111, label %112, label %114
112: ; preds = %109
%113 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.23, i64 0, i64 0))
br label %276
114: ; preds = %109
%115 = load i32, i32* %3
%116 = icmp eq i32 %115, 8
br i1 %116, label %117, label %119
117: ; preds = %114
%118 = call i32 @printf(i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.15, i64 0, i64 0))
br label %275
119: ; preds = %114
%120 = load i32, i32* %3
%121 = icmp eq i32 %120, 9
br i1 %121, label %122, label %124
122: ; preds = %119
%123 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.24, i64 0, i64 0))
br label %274
124: ; preds = %119
%125 = load i32, i32* %3
%126 = icmp eq i32 %125, 10
br i1 %126, label %127, label %129
127: ; preds = %124
%128 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.25, i64 0, i64 0))
br label %273
129: ; preds = %124
%130 = load i32, i32* %3
%131 = icmp eq i32 %130, 11
br i1 %131, label %132, label %134
132: ; preds = %129
%133 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0))
br label %272
134: ; preds = %129
%135 = load i32, i32* %3
%136 = icmp eq i32 %135, 12
br i1 %136, label %137, label %139
137: ; preds = %134
%138 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.27, i64 0, i64 0))
br label %271
139: ; preds = %134
%140 = load i32, i32* %3
%141 = icmp eq i32 %140, 13
br i1 %141, label %142, label %144
142: ; preds = %139
%143 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.28, i64 0, i64 0))
br label %270
144: ; preds = %139
%145 = load i32, i32* %3
%146 = icmp eq i32 %145, 14
br i1 %146, label %147, label %149
147: ; preds = %144
%148 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.29, i64 0, i64 0))
br label %269
149: ; preds = %144
%150 = load i32, i32* %3
%151 = icmp eq i32 %150, 15
br i1 %151, label %152, label %154
152: ; preds = %149
%153 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.30, i64 0, i64 0))
br label %268
154: ; preds = %149
%155 = load i32, i32* %3
%156 = icmp eq i32 %155, 16
br i1 %156, label %157, label %159
157: ; preds = %154
%158 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.31, i64 0, i64 0))
br label %267
159: ; preds = %154
%160 = load i32, i32* %3
%161 = icmp eq i32 %160, 17
br i1 %161, label %162, label %164
162: ; preds = %159
%163 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.32, i64 0, i64 0))
br label %266
164: ; preds = %159
%165 = load i32, i32* %3
%166 = icmp eq i32 %165, 18
br i1 %166, label %167, label %169
167: ; preds = %164
%168 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.33, i64 0, i64 0))
br label %265
169: ; preds = %164
%170 = load i32, i32* %3
%171 = icmp eq i32 %170, 19
br i1 %171, label %172, label %174
172: ; preds = %169
%173 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.34, i64 0, i64 0))
br label %264
174: ; preds = %169
%175 = load i32, i32* %3
%176 = icmp eq i32 %175, 20
br i1 %176, label %177, label %179
177: ; preds = %174
%178 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.35, i64 0, i64 0))
br label %263
179: ; preds = %174
%180 = load i32, i32* %3
%181 = icmp eq i32 %180, 21
br i1 %181, label %182, label %184
182: ; preds = %179
%183 = call i32 @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.36, i64 0, i64 0))
br label %262
184: ; preds = %179
%185 = load i32, i32* %3
%186 = icmp eq i32 %185, 22
br i1 %186, label %187, label %189
187: ; preds = %184
%188 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.37, i64 0, i64 0))
br label %261
189: ; preds = %184
%190 = load i32, i32* %3
%191 = icmp eq i32 %190, 23
br i1 %191, label %192, label %194
192: ; preds = %189
%193 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.38, i64 0, i64 0))
br label %260
194: ; preds = %189
%195 = load i32, i32* %3
%196 = icmp eq i32 %195, 24
br i1 %196, label %197, label %199
197: ; preds = %194
%198 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.39, i64 0, i64 0))
br label %259
199: ; preds = %194
%200 = load i32, i32* %3
%201 = icmp eq i32 %200, 25
br i1 %201, label %202, label %204
202: ; preds = %199
%203 = call i32 @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.40, i64 0, i64 0))
br label %258
204: ; preds = %199
%205 = load i32, i32* %3
%206 = icmp eq i32 %205, 26
br i1 %206, label %207, label %209
207: ; preds = %204
%208 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.41, i64 0, i64 0))
br label %257
209: ; preds = %204
%210 = load i32, i32* %3
%211 = icmp eq i32 %210, 27
br i1 %211, label %212, label %214
212: ; preds = %209
%213 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.42, i64 0, i64 0))
br label %256
214: ; preds = %209
%215 = load i32, i32* %3
%216 = icmp eq i32 %215, 28
br i1 %216, label %217, label %219
217: ; preds = %214
%218 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.43, i64 0, i64 0))
br label %255
219: ; preds = %214
%220 = load i32, i32* %3
%221 = icmp eq i32 %220, 29
br i1 %221, label %222, label %224
222: ; preds = %219
%223 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.44, i64 0, i64 0))
br label %254
224: ; preds = %219
%225 = load i32, i32* %3
%226 = icmp eq i32 %225, 30
br i1 %226, label %227, label %229
227: ; preds = %224
%228 = call i32 @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.45, i64 0, i64 0))
br label %253
229: ; preds = %224
%230 = load i32, i32* %3
%231 = icmp eq i32 %230, 31
br i1 %231, label %232, label %234
232: ; preds = %229
%233 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.46, i64 0, i64 0))
br label %252
234: ; preds = %229
%235 = load i32, i32* %3
%236 = icmp eq i32 %235, 32
br i1 %236, label %237, label %239
237: ; preds = %234
%238 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.47, i64 0, i64 0))
br label %251
239: ; preds = %234
%240 = load i32, i32* %3
%241 = icmp eq i32 %240, 33
br i1 %241, label %242, label %244
242: ; preds = %239
%243 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.48, i64 0, i64 0))
br label %250
244: ; preds = %239
%245 = load i32, i32* %3
%246 = icmp eq i32 %245, 34
br i1 %246, label %247, label %249
247: ; preds = %244
%248 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.49, i64 0, i64 0))
br label %249
249: ; preds = %247, %244
br label %250
250: ; preds = %249, %242
br label %251
251: ; preds = %250, %237
br label %252
252: ; preds = %251, %232
br label %253
253: ; preds = %252, %227
br label %254
254: ; preds = %253, %222
br label %255
255: ; preds = %254, %217
br label %256
256: ; preds = %255, %212
br label %257
257: ; preds = %256, %207
br label %258
258: ; preds = %257, %202
br label %259
259: ; preds = %258, %197
br label %260
260: ; preds = %259, %192
br label %261
261: ; preds = %260, %187
br label %262
262: ; preds = %261, %182
br label %263
263: ; preds = %262, %177
br label %264
264: ; preds = %263, %172
br label %265
265: ; preds = %264, %167
br label %266
266: ; preds = %265, %162
br label %267
267: ; preds = %266, %157
br label %268
268: ; preds = %267, %152
br label %269
269: ; preds = %268, %147
br label %270
270: ; preds = %269, %142
br label %271
271: ; preds = %270, %137
br label %272
272: ; preds = %271, %132
br label %273
273: ; preds = %272, %127
br label %274
274: ; preds = %273, %122
br label %275
275: ; preds = %274, %117
br label %276
276: ; preds = %275, %112
br label %277
277: ; preds = %276, %107
br label %278
278: ; preds = %277, %102
br label %279
279: ; preds = %278, %97
br label %280
280: ; preds = %279, %92
br label %281
281: ; preds = %280, %87
br label %282
282: ; preds = %281, %82
br label %283
283: ; preds = %282, %77
br label %337
284: ; preds = %4
%285 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.50, i64 0, i64 0))
%286 = call i32 (...) @runabc2()
store i32 %286, i32* %3
%287 = load i32, i32* %3
%288 = icmp eq i32 %287, 0
br i1 %288, label %289, label %291
289: ; preds = %284
%290 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.51, i64 0, i64 0))
br label %333
291: ; preds = %284
%292 = load i32, i32* %3
%293 = icmp eq i32 %292, 1
br i1 %293, label %294, label %296
294: ; preds = %291
%295 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.52, i64 0, i64 0))
br label %332
296: ; preds = %291
%297 = load i32, i32* %3
%298 = icmp eq i32 %297, 2
br i1 %298, label %299, label %301
299: ; preds = %296
%300 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.53, i64 0, i64 0))
br label %331
301: ; preds = %296
%302 = load i32, i32* %3
%303 = icmp eq i32 %302, 3
br i1 %303, label %304, label %306
304: ; preds = %301
%305 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.54, i64 0, i64 0))
br label %330
306: ; preds = %301
%307 = load i32, i32* %3
%308 = icmp eq i32 %307, 4
br i1 %308, label %309, label %311
309: ; preds = %306
%310 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.55, i64 0, i64 0))
br label %329
311: ; preds = %306
%312 = load i32, i32* %3
%313 = icmp eq i32 %312, 5
br i1 %313, label %314, label %316
314: ; preds = %311
%315 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.56, i64 0, i64 0))
br label %328
316: ; preds = %311
%317 = load i32, i32* %3
%318 = icmp eq i32 %317, 6
br i1 %318, label %319, label %321
319: ; preds = %316
%320 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.57, i64 0, i64 0))
br label %327
321: ; preds = %316
%322 = load i32, i32* %3
%323 = icmp eq i32 %322, 7
br i1 %323, label %324, label %326
324: ; preds = %321
%325 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.58, i64 0, i64 0))
br label %326
326: ; preds = %324, %321
br label %327
327: ; preds = %326, %319
br label %328
328: ; preds = %327, %314
br label %329
329: ; preds = %328, %309
br label %330
330: ; preds = %329, %304
br label %331
331: ; preds = %330, %299
br label %332
332: ; preds = %331, %294
br label %333
333: ; preds = %332, %289
br label %337
334: ; preds = %4
br label %337
335: ; preds = %4
%336 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.59, i64 0, i64 0))
br label %337
337: ; preds = %335, %334, %333, %283, %71
br label %338
338: ; preds = %337
%339 = load i32, i32* %2
%340 = icmp ne i32 %339, 4
br i1 %340, label %4, label %341
341: ; preds = %338
ret void
}

LLVM IR (-O2):
@.str.5 = [21 x i8] c" choose an option: \00"
@.str.6 = [3 x i8] c"%s\00"
@.str.8 = [58 x i8] c"\0A\0A>'real' data summarization completed (report created).\00"
@.str.9 = [37 x i8] c"\0A\0A>error::cannot open the .len file!\00"
@.str.10 = [37 x i8] c"\0A\0A>error::cannot open the .sst file!\00"
@.str.11 = [35 x i8] c"\0A\0A>error::cannot create .trg file!\00"
@.str.12 = [35 x i8] c"\0A\0A>error::cannot create .ssz file!\00"
@.str.13 = [35 x i8] c"\0A\0A>error::cannot create info file!\00"
@.str.14 = [29 x i8] c"\0A\0A>error::reading .sst file!\00"
@.str.15 = [92 x i8] c"\0A\0A>error::following sstats can only be chosen with 2 or more pops: Nm_H; Nm_S; privS; S(1)!\00"
@.str.16 = [63 x i8] c"\0A\0A>error::sequence data locus without information, discard it!\00"
@.str.18 = [47 x i8] c"\0A\0A>simulation step completed (report created).\00"
@.str.19 = [37 x i8] c"\0A\0A>error::cannot open the .prs file!\00"
@.str.20 = [37 x i8] c"\0A\0A>error::cannot open the .ssz file!\00"
@.str.21 = [35 x i8] c"\0A\0A>error::cannot create .dat file!\00"
@.str.22 = [35 x i8] c"\0A\0A>error::while reading .ssz file!\00"
@.str.23 = [35 x i8] c"\0A\0A>error::while reading .sst file!\00"
@.str.24 = [37 x i8] c"\0A\0A>error::wrong topology prior type!\00"
@.str.25 = [72 x i8] c"\0A\0A>error::with 1 or 2 pops only topology prior type 0 or 3 can be used!\00"
@.str.26 = [31 x i8] c"\0A\0A>error::wrong Ne prior type!\00"
@.str.27 = [56 x i8] c"\0A\0A>error::type-2 tev is followed by another type-2 tev!\00"
@.str.28 = [61 x i8] c"\0A\0A>error::if using tev type 3 prior, define prior only once!\00"
@.str.29 = [61 x i8] c"\0A\0A>error::if using tev type 4 prior, define prior only once!\00"
@.str.30 = [32 x i8] c"\0A\0A>error::wrong Tev prior type!\00"
@.str.31 = [32 x i8] c"\0A\0A>error::wrong Mig prior type!\00"
@.str.32 = [50 x i8] c"\0A\0A>error::wrong Mut prior type (Microsatellites)!\00"
@.str.33 = [48 x i8] c"\0A\0A>error::wrong Mut prior type (Sequence Data)!\00"
@.str.34 = [50 x i8] c"\0A\0A>error::wrong Rec prior type (Microsatellites)!\00"
@.str.35 = [48 x i8] c"\0A\0A>error::wrong Rec prior type (Sequence Data)!\00"
@.str.36 = [89 x i8] c"\0A\0A>error::to use migration weights matrix, topology must be defined (option 1,2,4 or 5)!\00"
@.str.37 = [49 x i8] c"\0A\0A>error::wrong migration weights matrix option!\00"
@.str.38 = [53 x i8] c"\0A\0A>error::.dat file would be too big to be analyzed!\00"
@.str.39 = [74 x i8] c"\0A\0A>error::when using rec with STR all STR loci must have the same scalar!\00"
@.str.40 = [90 x i8] c"\0A\0A>error::when using rec with STR all STR loci must have the same samples per population!\00"
@.str.41 = [35 x i8] c"\0A\0A>error::cannot create .mut file!\00"
@.str.42 = [35 x i8] c"\0A\0A>error::cannot create .rec file!\00"
@.str.43 = [46 x i8] c"\0A\0A>error::times are not monotonic increasing!\00"
@.str.44 = [39 x i8] c"\0A\0A>error::choosing branching sequence!\00"
@.str.45 = [88 x i8] c"\0A\0A>error::with more than 5 populations the topology as to be fixed using option 2 or 5!\00"
@.str.46 = [66 x i8] c"\0A\0A>error::the locus have less than samples, it should be cleared!\00"
@.str.47 = [72 x i8] c"\0A\0A>error::migration weights for the considered population have to be 0!\00"
@.str.48 = [66 x i8] c"\0A\0A>error::the sum of the prob for a given migration as to be 1.0!\00"
@.str.49 = [35 x i8] c"\0A\0A>error::cannot create .len file!\00"
@.str.51 = [46 x i8] c"\0A\0A>rejection step completed (report created).\00"
@.str.52 = [33 x i8] c"\0A\0A>error::cannot open .dat file!\00"
@.str.53 = [33 x i8] c"\0A\0A>error::cannot open .trg file!\00"
@.str.54 = [35 x i8] c"\0A\0A>error::cannot create .rej file!\00"
@.str.55 = [35 x i8] c"\0A\0A>error::cannot create .pri file!\00"
@.str.56 = [35 x i8] c"\0A\0A>error::cannot create .txt file!\00"
@.str.57 = [39 x i8] c"\0A\0A>error::file .dat ended prematurely!\00"
@.str.58 = [47 x i8] c"\0A\0A>error::.dat file is too big to be analysed!\00"
@str = [27 x i8] c"\0A\0A\0A *Customize ABC Menu*\0A\00"
@str.60 = [47 x i8] c" 1. Summarize 'real' data with summstats set\0A\00"
@str.61 = [22 x i8] c" 2. Run simulations\0A\00"
@str.62 = [29 x i8] c" 3. Perform rejection step\0A\00"
@str.63 = [24 x i8] c" 4. Exit to Main Menu\0A\00"
@str.64 = [33 x i8] c"\0A\0A\0A *Run ABC - rejection step*\0A\00"
@str.65 = [34 x i8] c"\0A\0A\0A *Run ABC - simulation step*\0A\00"
@str.66 = [49 x i8] c"\0A\0A\0A *Run ABC - 'real' data summarization step*\0A\00"
@str.67 = [31 x i8] c"\0A\0A>error::option not available\00"
define void @customMenu() {
%1 = alloca [256 x i8]
%2 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%3 = bitcast [256 x i8]* %1 to i8**
br label %4
4: ; preds = %110, %0
%5 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
%6 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.60, i64 0, i64 0))
%7 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.61, i64 0, i64 0))
%8 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.62, i64 0, i64 0))
%9 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.63, i64 0, i64 0))
%10 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8** %3)
%12 = call i32 @atoi(i8* %2)
switch i32 %12, label %127 [
i32 1, label %13
i32 2, label %34
i32 3, label %107
i32 4, label %129
]
13: ; preds = %4
%14 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.66, i64 0, i64 0))
%15 = call i32 (...) @buildtarget()
switch i32 %15, label %110 [
i32 0, label %16
i32 1, label %18
i32 2, label %20
i32 3, label %22
i32 4, label %24
i32 5, label %26
i32 6, label %28
i32 7, label %30
i32 8, label %32
]
16: ; preds = %13
%17 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0))
br label %110
18: ; preds = %13
%19 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
br label %110
20: ; preds = %13
%21 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
br label %110
22: ; preds = %13
%23 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0))
br label %110
24: ; preds = %13
%25 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.12, i64 0, i64 0))
br label %110
26: ; preds = %13
%27 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0))
br label %110
28: ; preds = %13
%29 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0))
br label %110
30: ; preds = %13
%31 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @.str.15, i64 0, i64 0))
br label %110
32: ; preds = %13
%33 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.16, i64 0, i64 0))
br label %110
34: ; preds = %4
%35 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.65, i64 0, i64 0))
%36 = call i32 (...) @runabc1()
switch i32 %36, label %110 [
i32 0, label %37
i32 1, label %39
i32 2, label %41
i32 3, label %43
i32 4, label %45
i32 5, label %47
i32 6, label %49
i32 7, label %51
i32 8, label %53
i32 9, label %55
i32 10, label %57
i32 11, label %59
i32 12, label %61
i32 13, label %63
i32 14, label %65
i32 15, label %67
i32 16, label %69
i32 17, label %71
i32 18, label %73
i32 19, label %75
i32 20, label %77
i32 21, label %79
i32 22, label %81
i32 23, label %83
i32 24, label %85
i32 25, label %87
i32 26, label %89
i32 27, label %91
i32 28, label %93
i32 29, label %95
i32 30, label %97
i32 31, label %99
i32 32, label %101
i32 33, label %103
i32 34, label %105
]
37: ; preds = %34
%38 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.18, i64 0, i64 0))
br label %110
39: ; preds = %34
%40 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.19, i64 0, i64 0))
br label %110
41: ; preds = %34
%42 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.20, i64 0, i64 0))
br label %110
43: ; preds = %34
%44 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
br label %110
45: ; preds = %34
%46 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.21, i64 0, i64 0))
br label %110
47: ; preds = %34
%48 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0))
br label %110
49: ; preds = %34
%50 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.22, i64 0, i64 0))
br label %110
51: ; preds = %34
%52 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.23, i64 0, i64 0))
br label %110
53: ; preds = %34
%54 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @.str.15, i64 0, i64 0))
br label %110
55: ; preds = %34
%56 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.24, i64 0, i64 0))
br label %110
57: ; preds = %34
%58 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str.25, i64 0, i64 0))
br label %110
59: ; preds = %34
%60 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0))
br label %110
61: ; preds = %34
%62 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.27, i64 0, i64 0))
br label %110
63: ; preds = %34
%64 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.28, i64 0, i64 0))
br label %110
65: ; preds = %34
%66 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.29, i64 0, i64 0))
br label %110
67: ; preds = %34
%68 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.30, i64 0, i64 0))
br label %110
69: ; preds = %34
%70 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.31, i64 0, i64 0))
br label %110
71: ; preds = %34
%72 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.32, i64 0, i64 0))
br label %110
73: ; preds = %34
%74 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.33, i64 0, i64 0))
br label %110
75: ; preds = %34
%76 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.34, i64 0, i64 0))
br label %110
77: ; preds = %34
%78 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.35, i64 0, i64 0))
br label %110
79: ; preds = %34
%80 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @.str.36, i64 0, i64 0))
br label %110
81: ; preds = %34
%82 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.37, i64 0, i64 0))
br label %110
83: ; preds = %34
%84 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.38, i64 0, i64 0))
br label %110
85: ; preds = %34
%86 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @.str.39, i64 0, i64 0))
br label %110
87: ; preds = %34
%88 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([90 x i8], [90 x i8]* @.str.40, i64 0, i64 0))
br label %110
89: ; preds = %34
%90 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.41, i64 0, i64 0))
br label %110
91: ; preds = %34
%92 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.42, i64 0, i64 0))
br label %110
93: ; preds = %34
%94 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.43, i64 0, i64 0))
br label %110
95: ; preds = %34
%96 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.44, i64 0, i64 0))
br label %110
97: ; preds = %34
%98 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @.str.45, i64 0, i64 0))
br label %110
99: ; preds = %34
%100 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.46, i64 0, i64 0))
br label %110
101: ; preds = %34
%102 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str.47, i64 0, i64 0))
br label %110
103: ; preds = %34
%104 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.48, i64 0, i64 0))
br label %110
105: ; preds = %34
%106 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.49, i64 0, i64 0))
br label %110
107: ; preds = %4
%108 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.64, i64 0, i64 0))
%109 = call i32 (...) @runabc2()
switch i32 %109, label %110 [
i32 0, label %111
i32 1, label %113
i32 2, label %115
i32 3, label %117
i32 4, label %119
i32 5, label %121
i32 6, label %123
i32 7, label %125
]
110: ; preds = %107, %34, %13, %127, %18, %22, %26, %30, %32, %28, %24, %20, %16, %39, %43, %47, %51, %55, %59, %63, %67, %71, %75, %79, %83, %87, %91, %95, %99, %103, %105, %101, %97, %93, %89, %85, %81, %77, %73, %69, %65, %61, %57, %53, %49, %45, %41, %37, %113, %117, %121, %125, %123, %119, %115, %111
br label %4
111: ; preds = %107
%112 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.51, i64 0, i64 0))
br label %110
113: ; preds = %107
%114 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.52, i64 0, i64 0))
br label %110
115: ; preds = %107
%116 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.53, i64 0, i64 0))
br label %110
117: ; preds = %107
%118 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.54, i64 0, i64 0))
br label %110
119: ; preds = %107
%120 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.55, i64 0, i64 0))
br label %110
121: ; preds = %107
%122 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.56, i64 0, i64 0))
br label %110
123: ; preds = %107
%124 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.57, i64 0, i64 0))
br label %110
125: ; preds = %107
%126 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.58, i64 0, i64 0))
br label %110
127: ; preds = %4
%128 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.67, i64 0, i64 0))
br label %110
129: ; preds = %4
ret void
}