#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
scalar_t__ EOF;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
scalar_t__ fscanf(int /*<<< orphan*/ *, char *, int *, int *, int *, int *);
int /*<<< orphan*/ printf(char *, ...);
void view_m_win() {
  FILE *file;
  int class = 0, win = 0, lost = 0, delete = 0;
  int most_win = 0;
  file = fopen("Stats.txt", "r");
  while (fscanf(file, "%d %d %d %d", &class, &win, &lost, &delete) != EOF) {
    if (delete == 0) {
      if (most_win == 0) {
        most_win = win;
      } else if (most_win < win) {
        most_win = win;
      }
    }
  }
  fclose(file);
  file = fopen("Stats.txt", "r");
  printf("\n __________________________________ \n"
         ": Most wins is %2.d                  :\n"
         ": -------------------------------- :\n",
         most_win);
  while (fscanf(file, "%d %d %d %d", &class, &win, &lost, &delete) != EOF) {
    if (delete == 0) {
      if (win == most_win) {
        switch (class) {
        case 1:
          printf(": Druid      Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 2:
          printf(": Hunter     Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 3:
          printf(": Mage       Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 4:
          printf(": Paladin    Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 5:
          printf(": Priest     Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 6:
          printf(": Rogue      Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 7:
          printf(": Shaman     Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 8:
          printf(": Warlock    Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        case 9:
          printf(": Warrior    Wins - %2.d   Loss - %d  :\n", win, lost);
          break;
        }
      }
    }
  }
  printf(":__________________________________:\n\n");
  fclose(file);
}


x86 assembly (clang, -O0):
<view_m_win>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
lea    0xeb2(%rip),%rdi
lea    0xeb5(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xea3(%rip),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
lea    -0x14(%rbp),%r8
lea    -0x18(%rbp),%r9
call   1050 <fscanf@plt>
mov    0x2e3f(%rip),%rcx
cmp    (%rcx),%rax
je     11f2 <view_m_win+0xb2>
cmpl   $0x0,-0x18(%rbp)
jne    11ed <view_m_win+0xad>
cmpl   $0x0,-0x1c(%rbp)
jne    11d1 <view_m_win+0x91>
mov    -0x10(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    11e8 <view_m_win+0xa8>
mov    -0x1c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    11e3 <view_m_win+0xa3>
mov    -0x10(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    11e8 <view_m_win+0xa8>
jmp    11ed <view_m_win+0xad>
jmp    1182 <view_m_win+0x42>
mov    -0x8(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xe22(%rip),%rdi
lea    0xe25(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x8(%rbp)
mov    -0x1c(%rbp),%esi
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe02(%rip),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
lea    -0x14(%rbp),%r8
lea    -0x18(%rbp),%r9
call   1050 <fscanf@plt>
mov    0x2d9e(%rip),%rcx
cmp    (%rcx),%rax
je     137d <view_m_win+0x23d>
cmpl   $0x0,-0x18(%rbp)
jne    1378 <view_m_win+0x238>
mov    -0x10(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jne    1373 <view_m_win+0x233>
mov    -0xc(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x8,%eax
ja     136e <view_m_win+0x22e>
mov    -0x28(%rbp),%rax
lea    0xd77(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe60(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe70(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136e <view_m_win+0x22e>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1373 <view_m_win+0x233>
jmp    1378 <view_m_win+0x238>
jmp    1223 <view_m_win+0xe3>
lea    0xe9c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%rdi
call   1030 <fclose@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<view_m_win>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movl   $0x0,0x14(%rsp)
movl   $0x0,0x10(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x0,0xc(%rsp)
lea    0xe9f(%rip),%rdi
lea    0xea2(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%rbp
lea    0xe95(%rip),%rsi
lea    0x14(%rsp),%rdx
lea    0x10(%rsp),%rcx
lea    0x8(%rsp),%r8
lea    0xc(%rsp),%r9
mov    %rax,%rdi
call   1060 <fscanf@plt>
mov    0x2e2a(%rip),%rcx
xor    %ebx,%ebx
cmp    (%rcx),%rax
jne    124d <view_m_win+0xfd>
mov    %rbp,%rdi
call   1040 <fclose@plt>
lea    0xe4c(%rip),%rdi
lea    0xe4f(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%r14
lea    0xe4e(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe32(%rip),%rsi
lea    0x14(%rsp),%rdx
lea    0x10(%rsp),%rcx
lea    0x8(%rsp),%r8
lea    0xc(%rsp),%r9
mov    %r14,%rdi
call   1060 <fscanf@plt>
mov    0x2dc7(%rip),%rcx
cmp    (%rcx),%rax
jne    12b3 <view_m_win+0x163>
lea    0xfef(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1040 <fclose@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ebx,%ebx
lea    0x14(%rsp),%r15
lea    0x10(%rsp),%r12
lea    0x8(%rsp),%r13
lea    0xc(%rsp),%r14
jmp    12a0 <view_m_win+0x150>
cs nopw 0x0(%rax,%rax,1)
nop
cmp    %eax,%ebx
cmovl  %eax,%ebx
mov    %rbp,%rdi
lea    0xdb1(%rip),%rsi
mov    %r15,%rdx
mov    %r12,%rcx
mov    %r13,%r8
mov    %r14,%r9
call   1060 <fscanf@plt>
mov    0x2d51(%rip),%rcx
cmp    (%rcx),%rax
je     11c9 <view_m_win+0x79>
cmpl   $0x0,0xc(%rsp)
jne    1275 <view_m_win+0x125>
mov    0x10(%rsp),%eax
test   %ebx,%ebx
jne    1270 <view_m_win+0x120>
mov    %eax,%ebx
jmp    1275 <view_m_win+0x125>
lea    0x14(%rsp),%r13
lea    0x10(%rsp),%rbp
lea    0x8(%rsp),%r15
lea    0xc(%rsp),%r12
jmp    1314 <view_m_win+0x1c4>
mov    0x8(%rsp),%edx
lea    0xf23(%rip),%rdi
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
lea    0xd3d(%rip),%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r15,%r8
mov    %r12,%r9
call   1060 <fscanf@plt>
mov    0x2cdd(%rip),%rcx
cmp    (%rcx),%rax
je     122a <view_m_win+0xda>
cmpl   $0x0,0xc(%rsp)
jne    12e9 <view_m_win+0x199>
cmp    %ebx,0x10(%rsp)
jne    12e9 <view_m_win+0x199>
mov    0x14(%rsp),%eax
add    $0xffffffff,%eax
cmp    $0x8,%eax
ja     12e9 <view_m_win+0x199>
lea    0xccc(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x8(%rsp),%edx
lea    0xd67(%rip),%rdi
jmp    12e0 <view_m_win+0x190>
mov    0x8(%rsp),%edx
lea    0xd83(%rip),%rdi
jmp    12e0 <view_m_win+0x190>
mov    0x8(%rsp),%edx
lea    0xd9f(%rip),%rdi
jmp    12e0 <view_m_win+0x190>
mov    0x8(%rsp),%edx
lea    0xdb8(%rip),%rdi
jmp    12e0 <view_m_win+0x190>
mov    0x8(%rsp),%edx
lea    0xdd1(%rip),%rdi
jmp    12e0 <view_m_win+0x190>
mov    0x8(%rsp),%edx
lea    0xdea(%rip),%rdi
jmp    12e0 <view_m_win+0x190>
mov    0x8(%rsp),%edx
lea    0xe03(%rip),%rdi
jmp    12e0 <view_m_win+0x190>
mov    0x8(%rsp),%edx
lea    0xe1c(%rip),%rdi
jmp    12e0 <view_m_win+0x190>

LLVM IR (-O0):
@.str = [10 x i8] c"Stats.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [12 x i8] c"%d %d %d %d\00"
@EOF = global i64 0
@.str.3 = [115 x i8] c"\0A __________________________________ \0A: Most wins is %2.d :\0A: -------------------------------- :\0A\00"
@.str.4 = [41 x i8] c": Druid Wins - %2.d Loss - %d :\0A\00"
@.str.5 = [41 x i8] c": Hunter Wins - %2.d Loss - %d :\0A\00"
@.str.6 = [41 x i8] c": Mage Wins - %2.d Loss - %d :\0A\00"
@.str.7 = [41 x i8] c": Paladin Wins - %2.d Loss - %d :\0A\00"
@.str.8 = [41 x i8] c": Priest Wins - %2.d Loss - %d :\0A\00"
@.str.9 = [41 x i8] c": Rogue Wins - %2.d Loss - %d :\0A\00"
@.str.10 = [41 x i8] c": Shaman Wins - %2.d Loss - %d :\0A\00"
@.str.11 = [41 x i8] c": Warlock Wins - %2.d Loss - %d :\0A\00"
@.str.12 = [41 x i8] c": Warrior Wins - %2.d Loss - %d :\0A\00"
@.str.13 = [39 x i8] c":__________________________________:\0A\0A\00"
define void @view_m_win() {
%1 = alloca i32*
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %2
store i32 0, i32* %3
store i32 0, i32* %4
store i32 0, i32* %5
store i32 0, i32* %6
%7 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %7, i32** %1
br label %8
8: ; preds = %29, %0
%9 = load i32*, i32** %1
%10 = call i64 @fscanf(i32* %9, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32* %2, i32* %3, i32* %4, i32* %5)
%11 = load i64, i64* @EOF
%12 = icmp ne i64 %10, %11
br i1 %12, label %13, label %30
13: ; preds = %8
%14 = load i32, i32* %5
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %29
16: ; preds = %13
%17 = load i32, i32* %6
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = load i32, i32* %3
store i32 %20, i32* %6
br label %28
21: ; preds = %16
%22 = load i32, i32* %6
%23 = load i32, i32* %3
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = load i32, i32* %3
store i32 %26, i32* %6
br label %27
27: ; preds = %25, %21
br label %28
28: ; preds = %27, %19
br label %29
29: ; preds = %28, %13
br label %8
30: ; preds = %8
%31 = load i32*, i32** %1
%32 = call i32 @fclose(i32* %31)
%33 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %33, i32** %1
%34 = load i32, i32* %6
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([115 x i8], [115 x i8]* @.str.3, i64 0, i64 0), i32 %34)
br label %36
36: ; preds = %88, %30
%37 = load i32*, i32** %1
%38 = call i64 @fscanf(i32* %37, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32* %2, i32* %3, i32* %4, i32* %5)
%39 = load i64, i64* @EOF
%40 = icmp ne i64 %38, %39
br i1 %40, label %41, label %89
41: ; preds = %36
%42 = load i32, i32* %5
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %88
44: ; preds = %41
%45 = load i32, i32* %3
%46 = load i32, i32* %6
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %87
48: ; preds = %44
%49 = load i32, i32* %2
switch i32 %49, label %86 [
i32 1, label %50
i32 2, label %54
i32 3, label %58
i32 4, label %62
i32 5, label %66
i32 6, label %70
i32 7, label %74
i32 8, label %78
i32 9, label %82
]
50: ; preds = %48
%51 = load i32, i32* %3
%52 = load i32, i32* %4
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), i32 %51, i32 %52)
br label %86
54: ; preds = %48
%55 = load i32, i32* %3
%56 = load i32, i32* %4
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %55, i32 %56)
br label %86
58: ; preds = %48
%59 = load i32, i32* %3
%60 = load i32, i32* %4
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0), i32 %59, i32 %60)
br label %86
62: ; preds = %48
%63 = load i32, i32* %3
%64 = load i32, i32* %4
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i32 %63, i32 %64)
br label %86
66: ; preds = %48
%67 = load i32, i32* %3
%68 = load i32, i32* %4
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.8, i64 0, i64 0), i32 %67, i32 %68)
br label %86
70: ; preds = %48
%71 = load i32, i32* %3
%72 = load i32, i32* %4
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0), i32 %71, i32 %72)
br label %86
74: ; preds = %48
%75 = load i32, i32* %3
%76 = load i32, i32* %4
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %75, i32 %76)
br label %86
78: ; preds = %48
%79 = load i32, i32* %3
%80 = load i32, i32* %4
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0), i32 %79, i32 %80)
br label %86
82: ; preds = %48
%83 = load i32, i32* %3
%84 = load i32, i32* %4
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0), i32 %83, i32 %84)
br label %86
86: ; preds = %48, %82, %78, %74, %70, %66, %62, %58, %54, %50
br label %87
87: ; preds = %86, %44
br label %88
88: ; preds = %87, %41
br label %36
89: ; preds = %36
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.13, i64 0, i64 0))
%91 = load i32*, i32** %1
%92 = call i32 @fclose(i32* %91)
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c"Stats.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [12 x i8] c"%d %d %d %d\00"
@EOF = global i64 0
@.str.3 = [115 x i8] c"\0A __________________________________ \0A: Most wins is %2.d :\0A: -------------------------------- :\0A\00"
@.str.4 = [41 x i8] c": Druid Wins - %2.d Loss - %d :\0A\00"
@.str.5 = [41 x i8] c": Hunter Wins - %2.d Loss - %d :\0A\00"
@.str.6 = [41 x i8] c": Mage Wins - %2.d Loss - %d :\0A\00"
@.str.7 = [41 x i8] c": Paladin Wins - %2.d Loss - %d :\0A\00"
@.str.8 = [41 x i8] c": Priest Wins - %2.d Loss - %d :\0A\00"
@.str.9 = [41 x i8] c": Rogue Wins - %2.d Loss - %d :\0A\00"
@.str.10 = [41 x i8] c": Shaman Wins - %2.d Loss - %d :\0A\00"
@.str.11 = [41 x i8] c": Warlock Wins - %2.d Loss - %d :\0A\00"
@.str.12 = [41 x i8] c": Warrior Wins - %2.d Loss - %d :\0A\00"
@str = [38 x i8] c":__________________________________:\0A\00"
define void @view_m_win() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%6 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%7 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%8 = bitcast i32* %4 to i8*
store i32 0, i32* %4
%9 = tail call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%10 = call i64 @fscanf(i32* %9, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32* %1, i32* %2, i32* %3, i32* %4)
%11 = load i64, i64* @EOF
%12 = icmp eq i64 %10, %11
br i1 %12, label %28, label %13
13: ; preds = %0, %23
%14 = phi i32 [ %24, %23 ], [ 0, %0 ]
%15 = load i32, i32* %4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = icmp eq i32 %14, 0
%19 = load i32, i32* %2
br i1 %18, label %23, label %20
20: ; preds = %17
%21 = icmp slt i32 %14, %19
%22 = select i1 %21, i32 %19, i32 %14
br label %23
23: ; preds = %17, %20, %13
%24 = phi i32 [ %14, %13 ], [ %22, %20 ], [ %19, %17 ]
%25 = call i64 @fscanf(i32* %9, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32* %1, i32* %2, i32* %3, i32* %4)
%26 = load i64, i64* @EOF
%27 = icmp eq i64 %25, %26
br i1 %27, label %28, label %13
28: ; preds = %23, %0
%29 = phi i32 [ 0, %0 ], [ %24, %23 ]
%30 = call i32 @fclose(i32* %9)
%31 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([115 x i8], [115 x i8]* @.str.3, i64 0, i64 0), i32 %29)
%33 = call i64 @fscanf(i32* %31, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32* %1, i32* %2, i32* %3, i32* %4)
%34 = load i64, i64* @EOF
%35 = icmp eq i64 %33, %34
br i1 %35, label %75, label %36
36: ; preds = %28, %71
%37 = load i32, i32* %4
%38 = icmp eq i32 %37, 0
%39 = load i32, i32* %2
%40 = icmp eq i32 %39, %29
%41 = select i1 %38, i1 %40, i1 false
br i1 %41, label %42, label %71
42: ; preds = %36
%43 = load i32, i32* %1
switch i32 %43, label %71 [
i32 1, label %44
i32 2, label %47
i32 3, label %50
i32 4, label %53
i32 5, label %56
i32 6, label %59
i32 7, label %62
i32 8, label %65
i32 9, label %68
]
44: ; preds = %42
%45 = load i32, i32* %3
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), i32 %29, i32 %45)
br label %71
47: ; preds = %42
%48 = load i32, i32* %3
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %29, i32 %48)
br label %71
50: ; preds = %42
%51 = load i32, i32* %3
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0), i32 %29, i32 %51)
br label %71
53: ; preds = %42
%54 = load i32, i32* %3
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i32 %29, i32 %54)
br label %71
56: ; preds = %42
%57 = load i32, i32* %3
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.8, i64 0, i64 0), i32 %29, i32 %57)
br label %71
59: ; preds = %42
%60 = load i32, i32* %3
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0), i32 %29, i32 %60)
br label %71
62: ; preds = %42
%63 = load i32, i32* %3
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %29, i32 %63)
br label %71
65: ; preds = %42
%66 = load i32, i32* %3
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0), i32 %29, i32 %66)
br label %71
68: ; preds = %42
%69 = load i32, i32* %3
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0), i32 %29, i32 %69)
br label %71
71: ; preds = %42, %68, %65, %62, %59, %56, %53, %50, %47, %44, %36
%72 = call i64 @fscanf(i32* %31, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32* %1, i32* %2, i32* %3, i32* %4)
%73 = load i64, i64* @EOF
%74 = icmp eq i64 %72, %73
br i1 %74, label %75, label %36
75: ; preds = %71, %28
%76 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str, i64 0, i64 0))
%77 = call i32 @fclose(i32* %31)
ret void
}