#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 makestats(char *, int *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int buildsstats() {
  int cstat, lsstats[15];
  char str[256], output[256];
  for (cstat = 0; cstat < 15; cstat++)
    lsstats[cstat] = 0;
  printf("  choose the summary statistics to be used (0 - absent; 1 - "
         "present):\n");
  for (cstat = 0; cstat < 15; cstat++) {
    do {
      switch (cstat) {
      case 0:
        printf("\n  microsatellites data\n");
        printf("    heterozygosity: ");
        break;
      case 1:
        printf("    variance of alleles length: ");
        break;
      case 2:
        printf("    number of alleles: ");
        break;
      case 3:
        printf("    curtosis of alleles length: ");
        break;
      case 4:
        printf("    Shanon's index: ");
        break;
      case 5:
        printf("    Nm estimator based on H: ");
        break;
      case 6:
        printf("\n  sequence data\n");
        printf("    mean of pairwise differences: ");
        break;
      case 7:
        printf("    number of segregating sites: ");
        break;
      case 8:
        printf("    number of haplotypes: ");
        break;
      case 9:
        printf("    Shanon's index: ");
        break;
      case 10:
        printf("    mean of MFS: ");
        break;
      case 11:
        printf("    stdev of MFS: ");
        break;
      case 12:
        printf("    Nm estimator based on S: ");
        break;
      case 13:
        printf("    private segregating sites: ");
        break;
      case 14:
        printf("    S(1): ");
        break;
      }
      scanf("%s", &str);
      lsstats[cstat] = atoi(str);
    } while (lsstats[cstat] != 1 && lsstats[cstat] != 0);
  }
  printf("\n  insert name for summary statistics set file (no extension)");
  printf("\n  (max %d character): ", 256 - 1);
  scanf("%s", output);
  return makestats(output, lsstats);
}


x86 assembly (clang, -O0):
<buildsstats>:
push   %rbp
mov    %rsp,%rbp
sub    $0x250,%rsp
movl   $0x0,-0x4(%rbp)
cmpl   $0xf,-0x4(%rbp)
jge    1176 <buildsstats+0x36>
movslq -0x4(%rbp),%rax
movl   $0x0,-0x40(%rbp,%rax,4)
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1152 <buildsstats+0x12>
lea    0xebf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0xf,-0x4(%rbp)
jge    136e <buildsstats+0x22e>
jmp    119a <buildsstats+0x5a>
mov    -0x4(%rbp),%eax
mov    %rax,-0x248(%rbp)
sub    $0xe,%rax
ja     12f9 <buildsstats+0x1b9>
mov    -0x248(%rbp),%rax
lea    0xe44(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xeb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xec4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xed2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xef2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xf06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xf15(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xe78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xf0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xf09(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xf09(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xf14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f9 <buildsstats+0x1b9>
lea    0xf21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
lea    -0x140(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    -0x140(%rbp),%rdi
call   1060 <atoi@plt>
mov    %eax,%ecx
movslq -0x4(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
movslq -0x4(%rbp),%rcx
xor    %eax,%eax
cmpl   $0x1,-0x40(%rbp,%rcx,4)
mov    %al,-0x249(%rbp)
je     134d <buildsstats+0x20d>
movslq -0x4(%rbp),%rax
cmpl   $0x0,-0x40(%rbp,%rax,4)
setne  %al
mov    %al,-0x249(%rbp)
mov    -0x249(%rbp),%al
test   $0x1,%al
jne    119a <buildsstats+0x5a>
jmp    1360 <buildsstats+0x220>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    118b <buildsstats+0x4b>
lea    0xeac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedc(%rip),%rdi
mov    $0xff,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x240(%rbp),%rsi
lea    0xe81(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    -0x240(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1040 <makestats@plt>
add    $0x250,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<buildsstats>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x248,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,0x20(%rsp)
movups %xmm0,0x2c(%rsp)
lea    0x1087(%rip),%rdi
call   1030 <puts@plt>
lea    0xec7(%rip),%r13
lea    0x101b(%rip),%r14
lea    0x140(%rsp),%rbx
lea    0xe60(%rip),%rbp
lea    0xf04(%rip),%r15
xor    %r12d,%r12d
nopw   0x0(%rax,%rax,1)
cmp    $0xe,%r12d
ja     1267 <buildsstats+0x117>
mov    %r12d,%eax
movslq 0x0(%rbp,%rax,4),%rax
add    %rbp,%rax
mov    %r13,%rdi
jmp    *%rax
mov    %r15,%rdi
jmp    1260 <buildsstats+0x110>
lea    0xe99(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xf6b(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xf75(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xfaa(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0x105c(%rip),%rdi
call   1030 <puts@plt>
lea    0xe30(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xe75(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xea2(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0x1024(%rip),%rdi
call   1030 <puts@plt>
lea    0xeab(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xec5(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xede(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xef0(%rip),%rdi
jmp    1260 <buildsstats+0x110>
lea    0xf2a(%rip),%rdi
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    %rbx,%rdi
call   1070 <atoi@plt>
mov    %eax,(%rsp,%r12,4)
cmp    $0x1,%eax
ja     11b0 <buildsstats+0x60>
add    $0x1,%r12
cmp    $0xf,%r12
jne    11b0 <buildsstats+0x60>
lea    0xf11(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf41(%rip),%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeed(%rip),%rdi
lea    0x40(%rsp),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <makestats@plt>
add    $0x248,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [71 x i8] c" choose the summary statistics to be used (0 - absent; 1 - present):\0A\00"
@.str.1 = [25 x i8] c"\0A microsatellites data\0A\00"
@.str.2 = [21 x i8] c" heterozygosity: \00"
@.str.3 = [33 x i8] c" variance of alleles length: \00"
@.str.4 = [24 x i8] c" number of alleles: \00"
@.str.5 = [33 x i8] c" curtosis of alleles length: \00"
@.str.6 = [21 x i8] c" Shanon's index: \00"
@.str.7 = [30 x i8] c" Nm estimator based on H: \00"
@.str.8 = [18 x i8] c"\0A sequence data\0A\00"
@.str.9 = [35 x i8] c" mean of pairwise differences: \00"
@.str.10 = [34 x i8] c" number of segregating sites: \00"
@.str.11 = [27 x i8] c" number of haplotypes: \00"
@.str.12 = [18 x i8] c" mean of MFS: \00"
@.str.13 = [19 x i8] c" stdev of MFS: \00"
@.str.14 = [30 x i8] c" Nm estimator based on S: \00"
@.str.15 = [32 x i8] c" private segregating sites: \00"
@.str.16 = [11 x i8] c" S(1): \00"
@.str.17 = [3 x i8] c"%s\00"
@.str.18 = [62 x i8] c"\0A insert name for summary statistics set file (no extension)\00"
@.str.19 = [24 x i8] c"\0A (max %d character): \00"
define i32 @buildsstats() {
%1 = alloca i32
%2 = alloca [15 x i32]
%3 = alloca [256 x i8]
%4 = alloca [256 x i8]
store i32 0, i32* %1
br label %5
5: ; preds = %12, %0
%6 = load i32, i32* %1
%7 = icmp slt i32 %6, 15
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = load i32, i32* %1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %10
store i32 0, i32* %11
br label %12
12: ; preds = %8
%13 = load i32, i32* %1
%14 = add nsw i32 %13, 1
store i32 %14, i32* %1
br label %5
15: ; preds = %5
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %1
br label %17
17: ; preds = %77, %15
%18 = load i32, i32* %1
%19 = icmp slt i32 %18, 15
br i1 %19, label %20, label %80
20: ; preds = %17
br label %21
21: ; preds = %74, %20
%22 = load i32, i32* %1
switch i32 %22, label %55 [
i32 0, label %23
i32 1, label %26
i32 2, label %28
i32 3, label %30
i32 4, label %32
i32 5, label %34
i32 6, label %36
i32 7, label %39
i32 8, label %41
i32 9, label %43
i32 10, label %45
i32 11, label %47
i32 12, label %49
i32 13, label %51
i32 14, label %53
]
23: ; preds = %21
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
br label %55
26: ; preds = %21
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
br label %55
28: ; preds = %21
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %55
30: ; preds = %21
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
br label %55
32: ; preds = %21
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
br label %55
34: ; preds = %21
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
br label %55
36: ; preds = %21
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
br label %55
39: ; preds = %21
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0))
br label %55
41: ; preds = %21
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
br label %55
43: ; preds = %21
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
br label %55
45: ; preds = %21
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0))
br label %55
47: ; preds = %21
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0))
br label %55
49: ; preds = %21
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
br label %55
51: ; preds = %21
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
br label %55
53: ; preds = %21
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
br label %55
55: ; preds = %21, %53, %51, %49, %47, %45, %43, %41, %39, %36, %34, %32, %30, %28, %26, %23
%56 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), [256 x i8]* %3)
%57 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%58 = call i32 @atoi(i8* %57)
%59 = load i32, i32* %1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %60
store i32 %58, i32* %61
br label %62
62: ; preds = %55
%63 = load i32, i32* %1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %64
%66 = load i32, i32* %65
%67 = icmp ne i32 %66, 1
br i1 %67, label %68, label %74
68: ; preds = %62
%69 = load i32, i32* %1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %70
%72 = load i32, i32* %71
%73 = icmp ne i32 %72, 0
br label %74
74: ; preds = %68, %62
%75 = phi i1 [ false, %62 ], [ %73, %68 ]
br i1 %75, label %21, label %76
76: ; preds = %74
br label %77
77: ; preds = %76
%78 = load i32, i32* %1
%79 = add nsw i32 %78, 1
store i32 %79, i32* %1
br label %17
80: ; preds = %17
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.18, i64 0, i64 0))
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.19, i64 0, i64 0), i32 255)
%83 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%84 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* %83)
%85 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%86 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%87 = call i32 @makestats(i8* %85, i32* %86)
ret i32 %87
}

LLVM IR (-O2):
@.str.2 = [21 x i8] c" heterozygosity: \00"
@.str.3 = [33 x i8] c" variance of alleles length: \00"
@.str.4 = [24 x i8] c" number of alleles: \00"
@.str.5 = [33 x i8] c" curtosis of alleles length: \00"
@.str.6 = [21 x i8] c" Shanon's index: \00"
@.str.7 = [30 x i8] c" Nm estimator based on H: \00"
@.str.9 = [35 x i8] c" mean of pairwise differences: \00"
@.str.10 = [34 x i8] c" number of segregating sites: \00"
@.str.11 = [27 x i8] c" number of haplotypes: \00"
@.str.12 = [18 x i8] c" mean of MFS: \00"
@.str.13 = [19 x i8] c" stdev of MFS: \00"
@.str.14 = [30 x i8] c" Nm estimator based on S: \00"
@.str.15 = [32 x i8] c" private segregating sites: \00"
@.str.16 = [11 x i8] c" S(1): \00"
@.str.17 = [3 x i8] c"%s\00"
@.str.18 = [62 x i8] c"\0A insert name for summary statistics set file (no extension)\00"
@.str.19 = [24 x i8] c"\0A (max %d character): \00"
@str = [70 x i8] c" choose the summary statistics to be used (0 - absent; 1 - present):\00"
@str.20 = [17 x i8] c"\0A sequence data\00"
@str.21 = [24 x i8] c"\0A microsatellites data\00"
define i32 @buildsstats() {
%1 = alloca [15 x i32]
%2 = bitcast [15 x i32]* %1 to i8*
%3 = alloca [256 x i8]
%4 = alloca [256 x i8]
%5 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str, i64 0, i64 0))
br label %8
8: ; preds = %0, %36
%9 = phi i64 [ 0, %0 ], [ %37, %36 ]
%10 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %9
%11 = trunc i64 %9 to i32
br label %12
12: ; preds = %8, %32
switch i32 %11, label %32 [
i32 0, label %13
i32 1, label %29
i32 2, label %15
i32 3, label %16
i32 4, label %17
i32 5, label %18
i32 6, label %19
i32 7, label %21
i32 8, label %22
i32 9, label %23
i32 10, label %24
i32 11, label %25
i32 12, label %26
i32 13, label %27
i32 14, label %28
]
13: ; preds = %12
%14 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.21, i64 0, i64 0))
br label %29
15: ; preds = %12
br label %29
16: ; preds = %12
br label %29
17: ; preds = %12
br label %29
18: ; preds = %12
br label %29
19: ; preds = %12
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.20, i64 0, i64 0))
br label %29
21: ; preds = %12
br label %29
22: ; preds = %12
br label %29
23: ; preds = %12
br label %29
24: ; preds = %12
br label %29
25: ; preds = %12
br label %29
26: ; preds = %12
br label %29
27: ; preds = %12
br label %29
28: ; preds = %12
br label %29
29: ; preds = %12, %13, %15, %16, %17, %18, %19, %21, %22, %23, %24, %25, %26, %27, %28
%30 = phi i8* [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), %28 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0), %27 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0), %26 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), %25 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), %24 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), %23 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), %22 ], [ getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0), %21 ], [ getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0), %19 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), %18 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), %17 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), %16 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0), %15 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), %13 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0), %12 ]
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %30)
br label %32
32: ; preds = %29, %12
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), [256 x i8]* %3)
%34 = call i32 @atoi(i8* %5)
store i32 %34, i32* %10
%35 = icmp ult i32 %34, 2
br i1 %35, label %36, label %12
36: ; preds = %32
%37 = add nuw nsw i64 %9, 1
%38 = icmp eq i64 %37, 15
br i1 %38, label %39, label %8
39: ; preds = %36
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str.18, i64 0, i64 0))
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.19, i64 0, i64 0), i32 255)
%42 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* %6)
%43 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 0
%44 = call i32 @makestats(i8* %6, i32* %43)
ret i32 %44
}