#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*/ printf(char *, ...);
int rand();
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  srand(time(NULL));
  int computer, human, times;
  int win = 0, lose = 0, drow = 0;
  printf("Please input the round you want to play: ");
  scanf("%d", &times);
  int i;
  for (i = 0; i < times; i++) {
    computer = rand() % 3;
    printf("#Please threw the Fist you want, 1=scissors 2=stone 3=paper: ");
    scanf("%d", &human);
    human--;
    printf("You threw ");
    switch (human) {
    case 0:
      printf("scissors, Computer threw ");
      switch (computer) {
      case 0:
        printf("scissors, DROW!!\n");
        drow++;
        break;
      case 1:
        printf("stone, YOU LOSE!!\n");
        lose++;
        break;
      case 2:
        printf("paper, YOU WIN!!\n");
        win++;
        break;
      }
      break;
    case 1:
      printf("stone, Computer threw ");
      switch (computer) {
      case 0:
        printf("scissors, YOU WIN!!\n");
        win++;
        break;
      case 1:
        printf("stone, DROW!!\n");
        drow++;
        break;
      case 2:
        printf("paper, YOU LOSE!!\n");
        lose++;
        break;
      }
      break;
    case 2:
      printf("paper, Computer threw ");
      switch (computer) {
      case 0:
        printf("scissors, YOU LOSE!!\n");
        lose++;
        break;
      case 1:
        printf("stone, YOU WIN!!\n");
        win++;
        break;
      case 2:
        printf("paper, DROW!!\n");
        drow++;
        break;
      }
      break;
    }
  }
  printf("WIN: %d\nLOSE: %d\nDROW: %d", win, lose, drow);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1050 <time@plt>
mov    %eax,%edi
call   1040 <srand@plt>
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
lea    0xe75(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfde(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1060 <scanf@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1426 <main+0x2d6>
xor    %eax,%eax
mov    %al,-0x25(%rbp)
call   1070 <rand@plt>
mov    %eax,%ecx
mov    -0x25(%rbp),%al
movslq %ecx,%rdx
imul   $0x55555556,%rdx,%rsi
mov    %rsi,%rdx
shr    $0x3f,%rdx
shr    $0x20,%rsi
add    %edx,%esi
mov    %esi,%edx
lea    (%rdx,%rdx,2),%edx
sub    %edx,%ecx
mov    %ecx,-0x8(%rbp)
lea    0xe3e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7f(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x25(%rbp),%al
mov    -0xc(%rbp),%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0xc(%rbp)
lea    0xe54(%rip),%rdi
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
mov    %eax,-0x24(%rbp)
test   %eax,%eax
je     124e <main+0xfe>
jmp    122c <main+0xdc>
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
je     12e5 <main+0x195>
jmp    123d <main+0xed>
mov    -0x24(%rbp),%eax
sub    $0x2,%eax
je     137c <main+0x22c>
jmp    1413 <main+0x2c3>
lea    0xe1e(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x2c(%rbp)
test   %eax,%eax
je     1291 <main+0x141>
jmp    126f <main+0x11f>
mov    -0x2c(%rbp),%eax
sub    $0x1,%eax
je     12ad <main+0x15d>
jmp    1280 <main+0x130>
mov    -0x2c(%rbp),%eax
sub    $0x2,%eax
je     12c9 <main+0x179>
jmp    12e0 <main+0x190>
lea    0xdf5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12e0 <main+0x190>
lea    0xdeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12e0 <main+0x190>
lea    0xde2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1413 <main+0x2c3>
lea    0xdd8(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x30(%rbp)
test   %eax,%eax
je     1328 <main+0x1d8>
jmp    1306 <main+0x1b6>
mov    -0x30(%rbp),%eax
sub    $0x1,%eax
je     1344 <main+0x1f4>
jmp    1317 <main+0x1c7>
mov    -0x30(%rbp),%eax
sub    $0x2,%eax
je     1360 <main+0x210>
jmp    1377 <main+0x227>
lea    0xdac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1377 <main+0x227>
lea    0xda5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1377 <main+0x227>
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1413 <main+0x2c3>
lea    0xd8f(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x34(%rbp)
test   %eax,%eax
je     13bf <main+0x26f>
jmp    139d <main+0x24d>
mov    -0x34(%rbp),%eax
sub    $0x1,%eax
je     13db <main+0x28b>
jmp    13ae <main+0x25e>
mov    -0x34(%rbp),%eax
sub    $0x2,%eax
je     13f7 <main+0x2a7>
jmp    140e <main+0x2be>
lea    0xd63(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    140e <main+0x2be>
lea    0xd5d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    140e <main+0x2be>
lea    0xd53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1413 <main+0x2c3>
jmp    1418 <main+0x2c8>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11a9 <main+0x59>
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
lea    0xd2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
xor    %eax,%eax
mov    %rax,0x8(%rsp)
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
lea    0xe76(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf3a(%rip),%rdi
lea    0x10(%rsp),%rsi
call   1070 <scanf@plt>
cmpl   $0x0,0x10(%rsp)
movl   $0x0,0x4(%rsp)
movl   $0x0,(%rsp)
jle    135e <main+0x1fe>
lea    0xe67(%rip),%r15
lea    0xf08(%rip),%r12
lea    0x14(%rsp),%rbx
lea    0xe92(%rip),%rbp
xor    %r13d,%r13d
movl   $0x0,(%rsp)
movl   $0x0,0x4(%rsp)
xor    %eax,%eax
mov    %rax,0x8(%rsp)
jmp    121f <main+0xbf>
lea    0xf23(%rip),%rdi
call   1030 <puts@plt>
addl   $0x1,(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r13d
cmp    0x10(%rsp),%r13d
jge    135e <main+0x1fe>
xor    %eax,%eax
call   1080 <rand@plt>
movslq %eax,%r14
imul   $0x55555556,%r14,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
shr    $0x20,%rax
add    %ecx,%eax
lea    (%rax,%rax,2),%eax
sub    %eax,%r14d
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1070 <scanf@plt>
addl   $0xffffffff,0x14(%rsp)
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%eax
cmp    $0x2,%eax
je     12e0 <main+0x180>
cmp    $0x1,%eax
je     12b0 <main+0x150>
test   %eax,%eax
jne    1210 <main+0xb0>
lea    0xdf3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x2,%r14d
je     1334 <main+0x1d4>
cmp    $0x1,%r14d
je     130c <main+0x1ac>
test   %r14d,%r14d
jne    1210 <main+0xb0>
lea    0xeb9(%rip),%rdi
jmp    11f8 <main+0x98>
nopl   0x0(%rax)
lea    0xdd6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x2,%r14d
je     1315 <main+0x1b5>
cmp    $0x1,%r14d
je     11f1 <main+0x91>
test   %r14d,%r14d
jne    1210 <main+0xb0>
lea    0xe4b(%rip),%rdi
jmp    133b <main+0x1db>
lea    0xdbd(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x2,%r14d
je     1352 <main+0x1f2>
cmp    $0x1,%r14d
je     132b <main+0x1cb>
test   %r14d,%r14d
jne    1210 <main+0xb0>
lea    0xdea(%rip),%rdi
jmp    131c <main+0x1bc>
lea    0xe3b(%rip),%rdi
jmp    131c <main+0x1bc>
lea    0xded(%rip),%rdi
call   1030 <puts@plt>
addl   $0x1,0x4(%rsp)
jmp    1210 <main+0xb0>
lea    0xdb1(%rip),%rdi
jmp    133b <main+0x1db>
lea    0xe02(%rip),%rdi
call   1030 <puts@plt>
mov    0x8(%rsp),%rax
add    $0x1,%eax
mov    %rax,0x8(%rsp)
jmp    1210 <main+0xb0>
lea    0xd7c(%rip),%rdi
jmp    11f8 <main+0x98>
lea    0xd56(%rip),%rdi
mov    0x8(%rsp),%rsi
mov    0x4(%rsp),%edx
mov    (%rsp),%ecx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [42 x i8] c"Please input the round you want to play: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [62 x i8] c"#Please threw the Fist you want, 1=scissors 2=stone 3=paper: \00"
@.str.3 = [11 x i8] c"You threw \00"
@.str.4 = [26 x i8] c"scissors, Computer threw \00"
@.str.5 = [18 x i8] c"scissors, DROW!!\0A\00"
@.str.6 = [19 x i8] c"stone, YOU LOSE!!\0A\00"
@.str.7 = [18 x i8] c"paper, YOU WIN!!\0A\00"
@.str.8 = [23 x i8] c"stone, Computer threw \00"
@.str.9 = [21 x i8] c"scissors, YOU WIN!!\0A\00"
@.str.10 = [15 x i8] c"stone, DROW!!\0A\00"
@.str.11 = [19 x i8] c"paper, YOU LOSE!!\0A\00"
@.str.12 = [23 x i8] c"paper, Computer threw \00"
@.str.13 = [22 x i8] c"scissors, YOU LOSE!!\0A\00"
@.str.14 = [18 x i8] c"stone, YOU WIN!!\0A\00"
@.str.15 = [15 x i8] c"paper, DROW!!\0A\00"
@.str.16 = [26 x i8] c"WIN: %d\0ALOSE: %d\0ADROW: %d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %1
%9 = call i32 @time(i32* null)
%10 = call i32 @srand(i32 %9)
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
store i32 0, i32* %8
br label %13
13: ; preds = %75, %0
%14 = load i32, i32* %8
%15 = load i32, i32* %4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %78
17: ; preds = %13
%18 = call i32 (...) @rand()
%19 = srem i32 %18, 3
store i32 %19, i32* %2
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%22 = load i32, i32* %3
%23 = add nsw i32 %22, -1
store i32 %23, i32* %3
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%25 = load i32, i32* %3
switch i32 %25, label %74 [
i32 0, label %26
i32 1, label %42
i32 2, label %58
]
26: ; preds = %17
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
%28 = load i32, i32* %2
switch i32 %28, label %41 [
i32 0, label %29
i32 1, label %33
i32 2, label %37
]
29: ; preds = %26
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%31 = load i32, i32* %7
%32 = add nsw i32 %31, 1
store i32 %32, i32* %7
br label %41
33: ; preds = %26
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0))
%35 = load i32, i32* %6
%36 = add nsw i32 %35, 1
store i32 %36, i32* %6
br label %41
37: ; preds = %26
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%39 = load i32, i32* %5
%40 = add nsw i32 %39, 1
store i32 %40, i32* %5
br label %41
41: ; preds = %26, %37, %33, %29
br label %74
42: ; preds = %17
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0))
%44 = load i32, i32* %2
switch i32 %44, label %57 [
i32 0, label %45
i32 1, label %49
i32 2, label %53
]
45: ; preds = %42
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%47 = load i32, i32* %5
%48 = add nsw i32 %47, 1
store i32 %48, i32* %5
br label %57
49: ; preds = %42
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
%51 = load i32, i32* %7
%52 = add nsw i32 %51, 1
store i32 %52, i32* %7
br label %57
53: ; preds = %42
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0))
%55 = load i32, i32* %6
%56 = add nsw i32 %55, 1
store i32 %56, i32* %6
br label %57
57: ; preds = %42, %53, %49, %45
br label %74
58: ; preds = %17
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0))
%60 = load i32, i32* %2
switch i32 %60, label %73 [
i32 0, label %61
i32 1, label %65
i32 2, label %69
]
61: ; preds = %58
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
%63 = load i32, i32* %6
%64 = add nsw i32 %63, 1
store i32 %64, i32* %6
br label %73
65: ; preds = %58
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0))
%67 = load i32, i32* %5
%68 = add nsw i32 %67, 1
store i32 %68, i32* %5
br label %73
69: ; preds = %58
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0))
%71 = load i32, i32* %7
%72 = add nsw i32 %71, 1
store i32 %72, i32* %7
br label %73
73: ; preds = %58, %69, %65, %61
br label %74
74: ; preds = %17, %73, %57, %41
br label %75
75: ; preds = %74
%76 = load i32, i32* %8
%77 = add nsw i32 %76, 1
store i32 %77, i32* %8
br label %13
78: ; preds = %13
%79 = load i32, i32* %5
%80 = load i32, i32* %6
%81 = load i32, i32* %7
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.16, i64 0, i64 0), i32 %79, i32 %80, i32 %81)
ret i32 0
}

LLVM IR (-O2):
@.str = [42 x i8] c"Please input the round you want to play: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [62 x i8] c"#Please threw the Fist you want, 1=scissors 2=stone 3=paper: \00"
@.str.3 = [11 x i8] c"You threw \00"
@.str.4 = [26 x i8] c"scissors, Computer threw \00"
@.str.8 = [23 x i8] c"stone, Computer threw \00"
@.str.12 = [23 x i8] c"paper, Computer threw \00"
@.str.16 = [26 x i8] c"WIN: %d\0ALOSE: %d\0ADROW: %d\00"
@str = [14 x i8] c"paper, DROW!!\00"
@str.17 = [17 x i8] c"stone, YOU WIN!!\00"
@str.18 = [21 x i8] c"scissors, YOU LOSE!!\00"
@str.19 = [18 x i8] c"paper, YOU LOSE!!\00"
@str.20 = [14 x i8] c"stone, DROW!!\00"
@str.21 = [20 x i8] c"scissors, YOU WIN!!\00"
@str.22 = [17 x i8] c"paper, YOU WIN!!\00"
@str.23 = [18 x i8] c"stone, YOU LOSE!!\00"
@str.24 = [17 x i8] c"scissors, DROW!!\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = tail call i32 @time(i32* null)
%4 = tail call i32 @srand(i32 %3)
%5 = bitcast i32* %1 to i8*
%6 = bitcast i32* %2 to i8*
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%9 = load i32, i32* %2
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %64
11: ; preds = %0, %57
%12 = phi i32 [ %61, %57 ], [ 0, %0 ]
%13 = phi i32 [ %60, %57 ], [ 0, %0 ]
%14 = phi i32 [ %59, %57 ], [ 0, %0 ]
%15 = phi i32 [ %58, %57 ], [ 0, %0 ]
%16 = call i32 (...) @rand()
%17 = srem i32 %16, 3
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0))
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%20 = load i32, i32* %1
%21 = add nsw i32 %20, -1
store i32 %21, i32* %1
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%23 = load i32, i32* %1
switch i32 %23, label %57 [
i32 0, label %24
i32 1, label %35
i32 2, label %46
]
24: ; preds = %11
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
switch i32 %17, label %57 [
i32 0, label %26
i32 1, label %29
i32 2, label %32
]
26: ; preds = %24
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.24, i64 0, i64 0))
%28 = add nsw i32 %13, 1
br label %57
29: ; preds = %24
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.23, i64 0, i64 0))
%31 = add nsw i32 %14, 1
br label %57
32: ; preds = %24
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.22, i64 0, i64 0))
%34 = add nsw i32 %15, 1
br label %57
35: ; preds = %11
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0))
switch i32 %17, label %57 [
i32 0, label %37
i32 1, label %40
i32 2, label %43
]
37: ; preds = %35
%38 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.21, i64 0, i64 0))
%39 = add nsw i32 %15, 1
br label %57
40: ; preds = %35
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.20, i64 0, i64 0))
%42 = add nsw i32 %13, 1
br label %57
43: ; preds = %35
%44 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.19, i64 0, i64 0))
%45 = add nsw i32 %14, 1
br label %57
46: ; preds = %11
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0))
switch i32 %17, label %57 [
i32 0, label %48
i32 1, label %51
i32 2, label %54
]
48: ; preds = %46
%49 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.18, i64 0, i64 0))
%50 = add nsw i32 %14, 1
br label %57
51: ; preds = %46
%52 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.17, i64 0, i64 0))
%53 = add nsw i32 %15, 1
br label %57
54: ; preds = %46
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
%56 = add nsw i32 %13, 1
br label %57
57: ; preds = %11, %24, %32, %29, %26, %35, %43, %40, %37, %46, %54, %51, %48
%58 = phi i32 [ %15, %11 ], [ %15, %46 ], [ %15, %54 ], [ %53, %51 ], [ %15, %48 ], [ %15, %35 ], [ %15, %43 ], [ %15, %40 ], [ %39, %37 ], [ %15, %24 ], [ %34, %32 ], [ %15, %29 ], [ %15, %26 ]
%59 = phi i32 [ %14, %11 ], [ %14, %46 ], [ %14, %54 ], [ %14, %51 ], [ %50, %48 ], [ %14, %35 ], [ %45, %43 ], [ %14, %40 ], [ %14, %37 ], [ %14, %24 ], [ %14, %32 ], [ %31, %29 ], [ %14, %26 ]
%60 = phi i32 [ %13, %11 ], [ %13, %46 ], [ %56, %54 ], [ %13, %51 ], [ %13, %48 ], [ %13, %35 ], [ %13, %43 ], [ %42, %40 ], [ %13, %37 ], [ %13, %24 ], [ %13, %32 ], [ %13, %29 ], [ %28, %26 ]
%61 = add nuw nsw i32 %12, 1
%62 = load i32, i32* %2
%63 = icmp slt i32 %61, %62
br i1 %63, label %11, label %64
64: ; preds = %57, %0
%65 = phi i32 [ 0, %0 ], [ %58, %57 ]
%66 = phi i32 [ 0, %0 ], [ %59, %57 ]
%67 = phi i32 [ 0, %0 ], [ %60, %57 ]
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.16, i64 0, i64 0), i32 %65, i32 %66, i32 %67)
ret i32 0
}