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

/* Variables and functions */
char EOF;
int Scoreonly();
char *ctime(int /*<<< orphan*/ *);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
char getc(int /*<<< orphan*/ *);
char getch();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ scanf(char *, char *);
int /*<<< orphan*/ system(char *);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
char toupper(char);
void record() {
  char plname[20], nplname[20], cha, c;
  int i, j, px;
  FILE *info;
  info = fopen("record.txt", "a+");
  getch();
  system("cls");
  printf("Enter your name\n");
  scanf("%[^\n]", plname);
  for (j = 0; plname[j] != '\0'; j++) {
    nplname[0] = toupper(plname[0]);
    if (plname[j - 1] == ' ') {
      nplname[j] = toupper(plname[j]);
      nplname[j - 1] = plname[j - 1];
    } else
      nplname[j] = plname[j];
  }
  nplname[j] = '\0';
  fprintf(info, "Player Name :%s\n", nplname);
  time_t mytime;
  mytime = time(NULL);
  fprintf(info, "Played Date:%s", ctime(&mytime));
  fprintf(info, "Score:%d\n", px = Scoreonly());
  for (i = 0; i <= 50; i++)
    fprintf(info, "%c", '_');
  fprintf(info, "\n");
  fclose(info);
  printf("wanna see past records press 'y'\n");
  cha = getch();
  system("cls");
  if (cha == 'y') {
    info = fopen("record.txt", "r");
    do {
      putchar(c = getc(info));
    } while (c != EOF);
  }
  fclose(info);
}


x86 assembly (clang, -O0):
<record>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
lea    0xe21(%rip),%rdi
lea    0xe25(%rip),%rsi
call   10d0 <fopen@plt>
mov    %rax,-0x58(%rbp)
mov    $0x0,%al
call   10c0 <getch@plt>
lea    0xe11(%rip),%rdi
call   1070 <system@plt>
lea    0xe09(%rip),%rdi
call   1080 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xe0a(%rip),%rdi
call   10b0 <scanf@plt>
movl   $0x0,-0x4c(%rbp)
movslq -0x4c(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
cmp    $0x0,%eax
je     12b1 <record+0xe1>
movsbl -0x20(%rbp),%edi
call   1040 <toupper@plt>
mov    %al,-0x40(%rbp)
mov    -0x4c(%rbp),%eax
sub    $0x1,%eax
cltq
movsbl -0x20(%rbp,%rax,1),%eax
cmp    $0x20,%eax
jne    128e <record+0xbe>
movslq -0x4c(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%edi
call   1040 <toupper@plt>
mov    %al,%cl
movslq -0x4c(%rbp),%rax
mov    %cl,-0x40(%rbp,%rax,1)
mov    -0x4c(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x20(%rbp,%rax,1),%cl
mov    -0x4c(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %cl,-0x40(%rbp,%rax,1)
jmp    129e <record+0xce>
movslq -0x4c(%rbp),%rax
mov    -0x20(%rbp,%rax,1),%cl
movslq -0x4c(%rbp),%rax
mov    %cl,-0x40(%rbp,%rax,1)
jmp    12a3 <record+0xd3>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1225 <record+0x55>
movslq -0x4c(%rbp),%rax
movb   $0x0,-0x40(%rbp,%rax,1)
mov    -0x58(%rbp),%rdi
lea    -0x40(%rbp),%rdx
lea    0xd60(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <time@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,-0x70(%rbp)
lea    -0x5c(%rbp),%rdi
call   1060 <ctime@plt>
mov    -0x70(%rbp),%rdi
mov    %rax,%rdx
lea    0xd3f(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    -0x58(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    $0x0,%al
call   10e0 <Scoreonly@plt>
mov    -0x68(%rbp),%rdi
mov    %eax,%edx
mov    %edx,-0x50(%rbp)
lea    0xd28(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
movl   $0x0,-0x48(%rbp)
cmpl   $0x32,-0x48(%rbp)
jg     135e <record+0x18e>
mov    -0x58(%rbp),%rdi
lea    0xd0f(%rip),%rsi
mov    $0x5f,%edx
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    132f <record+0x15f>
mov    -0x58(%rbp),%rdi
lea    0xd0d(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    -0x58(%rbp),%rdi
call   1050 <fclose@plt>
lea    0xcd6(%rip),%rdi
call   1080 <printf@plt>
mov    $0x0,%al
call   10c0 <getch@plt>
mov    %al,-0x41(%rbp)
lea    0xc78(%rip),%rdi
call   1070 <system@plt>
movsbl -0x41(%rbp),%eax
cmp    $0x79,%eax
jne    13ee <record+0x21e>
lea    0xc51(%rip),%rdi
lea    0xcc2(%rip),%rsi
call   10d0 <fopen@plt>
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rdi
call   10f0 <getc@plt>
mov    %al,-0x42(%rbp)
movsbl %al,%edi
call   1030 <putchar@plt>
movsbl -0x42(%rbp),%eax
mov    0x2c0a(%rip),%rcx
movsbl (%rcx),%ecx
cmp    %ecx,%eax
jne    13bf <record+0x1ef>
jmp    13ee <record+0x21e>
mov    -0x58(%rbp),%rdi
call   1050 <fclose@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<record>:
push   %rbp
push   %r14
push   %rbx
sub    $0x50,%rsp
lea    0xe11(%rip),%rdi
lea    0xe15(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,%rbx
xor    %ebp,%ebp
xor    %eax,%eax
call   10d0 <getch@plt>
lea    0xe00(%rip),%rdi
call   1080 <system@plt>
lea    0xe2a(%rip),%rdi
call   1050 <puts@plt>
lea    0xdec(%rip),%rdi
lea    0x10(%rsp),%rsi
call   10c0 <scanf@plt>
mov    0x10(%rsp),%al
test   %al,%al
je     1281 <record+0xa1>
mov    $0x1,%ebp
nopl   (%rax)
movsbl %al,%edi
call   1040 <toupper@plt>
mov    %al,0x30(%rsp)
movzbl 0xf(%rsp,%rbp,1),%eax
cmpb   $0x20,0xe(%rsp,%rbp,1)
jne    1269 <record+0x89>
movsbl %al,%edi
call   1040 <toupper@plt>
movzbl 0xe(%rsp,%rbp,1),%ecx
mov    %cl,0x2e(%rsp,%rbp,1)
mov    %al,0x2f(%rsp,%rbp,1)
cmpb   $0x0,0x10(%rsp,%rbp,1)
je     127f <record+0x9f>
movzbl 0x10(%rsp),%eax
add    $0x1,%rbp
jmp    1240 <record+0x60>
mov    %ebp,%ebp
movb   $0x0,0x30(%rsp,%rbp,1)
lea    0xd8b(%rip),%rsi
lea    0x30(%rsp),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   10a0 <fprintf@plt>
xor    %edi,%edi
call   10b0 <time@plt>
mov    %eax,0xc(%rsp)
lea    0xc(%rsp),%rdi
call   1070 <ctime@plt>
lea    0xd71(%rip),%rsi
mov    %rbx,%rdi
mov    %rax,%rdx
xor    %eax,%eax
call   10a0 <fprintf@plt>
xor    %eax,%eax
call   10f0 <Scoreonly@plt>
lea    0xd65(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   10a0 <fprintf@plt>
mov    $0x33,%ebp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    $0x5f,%edi
mov    %rbx,%rsi
call   1090 <fputc@plt>
add    $0xffffffff,%ebp
jne    12f0 <record+0x110>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1090 <fputc@plt>
mov    %rbx,%rdi
call   1060 <fclose@plt>
lea    0xd36(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
call   10d0 <getch@plt>
mov    %eax,%ebp
lea    0xcdb(%rip),%rdi
call   1080 <system@plt>
cmp    $0x79,%bpl
jne    1377 <record+0x197>
lea    0xcbb(%rip),%rdi
lea    0xcf6(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,%rbx
mov    0x2c8d(%rip),%r14
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
call   1100 <getc@plt>
movsbl %al,%ebp
mov    %ebp,%edi
call   1030 <putchar@plt>
cmp    (%r14),%bpl
jne    1360 <record+0x180>
mov    %rbx,%rdi
call   1060 <fclose@plt>
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [11 x i8] c"record.txt\00"
@.str.1 = [3 x i8] c"a+\00"
@.str.2 = [4 x i8] c"cls\00"
@.str.3 = [17 x i8] c"Enter your name\0A\00"
@.str.4 = [6 x i8] c"%[^\0A]\00"
@.str.5 = [17 x i8] c"Player Name :%s\0A\00"
@.str.6 = [15 x i8] c"Played Date:%s\00"
@.str.7 = [10 x i8] c"Score:%d\0A\00"
@.str.8 = [3 x i8] c"%c\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [34 x i8] c"wanna see past records press 'y'\0A\00"
@.str.11 = [2 x i8] c"r\00"
@EOF = global i8 0
define void @record() {
%1 = alloca [20 x i8]
%2 = alloca [20 x i8]
%3 = alloca i8
%4 = alloca i8
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32*
%9 = alloca i32
%10 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %10, i32** %8
%11 = call signext i8 (...) @getch()
%12 = call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
%14 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 0
%15 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %14)
store i32 0, i32* %6
br label %16
16: ; preds = %62, %0
%17 = load i32, i32* %6
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 %18
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %65
23: ; preds = %16
%24 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 0
%25 = load i8, i8* %24
%26 = call signext i8 @toupper(i8 signext %25)
%27 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
store i8 %26, i8* %27
%28 = load i32, i32* %6
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 %30
%32 = load i8, i8* %31
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 32
br i1 %34, label %35, label %53
35: ; preds = %23
%36 = load i32, i32* %6
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 %37
%39 = load i8, i8* %38
%40 = call signext i8 @toupper(i8 signext %39)
%41 = load i32, i32* %6
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 %42
store i8 %40, i8* %43
%44 = load i32, i32* %6
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 %46
%48 = load i8, i8* %47
%49 = load i32, i32* %6
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 %51
store i8 %48, i8* %52
br label %61
53: ; preds = %23
%54 = load i32, i32* %6
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 %55
%57 = load i8, i8* %56
%58 = load i32, i32* %6
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 %59
store i8 %57, i8* %60
br label %61
61: ; preds = %53, %35
br label %62
62: ; preds = %61
%63 = load i32, i32* %6
%64 = add nsw i32 %63, 1
store i32 %64, i32* %6
br label %16
65: ; preds = %16
%66 = load i32, i32* %6
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 %67
store i8 0, i8* %68
%69 = load i32*, i32** %8
%70 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%71 = call i32 (i32*, i8*, ...) @fprintf(i32* %69, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i8* %70)
%72 = call i32 @time(i32* null)
store i32 %72, i32* %9
%73 = load i32*, i32** %8
%74 = call i8* @ctime(i32* %9)
%75 = call i32 (i32*, i8*, ...) @fprintf(i32* %73, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0), i8* %74)
%76 = load i32*, i32** %8
%77 = call i32 (...) @Scoreonly()
store i32 %77, i32* %7
%78 = call i32 (i32*, i8*, ...) @fprintf(i32* %76, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 %77)
store i32 0, i32* %5
br label %79
79: ; preds = %85, %65
%80 = load i32, i32* %5
%81 = icmp sle i32 %80, 50
br i1 %81, label %82, label %88
82: ; preds = %79
%83 = load i32*, i32** %8
%84 = call i32 (i32*, i8*, ...) @fprintf(i32* %83, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 95)
br label %85
85: ; preds = %82
%86 = load i32, i32* %5
%87 = add nsw i32 %86, 1
store i32 %87, i32* %5
br label %79
88: ; preds = %79
%89 = load i32*, i32** %8
%90 = call i32 (i32*, i8*, ...) @fprintf(i32* %89, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%91 = load i32*, i32** %8
%92 = call i32 @fclose(i32* %91)
%93 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0))
%94 = call signext i8 (...) @getch()
store i8 %94, i8* %3
%95 = call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%96 = load i8, i8* %3
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 121
br i1 %98, label %99, label %112
99: ; preds = %88
%100 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
store i32* %100, i32** %8
br label %101
101: ; preds = %105, %99
%102 = load i32*, i32** %8
%103 = call signext i8 @getc(i32* %102)
store i8 %103, i8* %4
%104 = call i32 @putchar(i8 signext %103)
br label %105
105: ; preds = %101
%106 = load i8, i8* %4
%107 = sext i8 %106 to i32
%108 = load i8, i8* @EOF
%109 = sext i8 %108 to i32
%110 = icmp ne i32 %107, %109
br i1 %110, label %101, label %111
111: ; preds = %105
br label %112
112: ; preds = %111, %88
%113 = load i32*, i32** %8
%114 = call i32 @fclose(i32* %113)
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"record.txt\00"
@.str.1 = [3 x i8] c"a+\00"
@.str.2 = [4 x i8] c"cls\00"
@.str.4 = [6 x i8] c"%[^\0A]\00"
@.str.5 = [17 x i8] c"Player Name :%s\0A\00"
@.str.6 = [15 x i8] c"Played Date:%s\00"
@.str.7 = [10 x i8] c"Score:%d\0A\00"
@.str.11 = [2 x i8] c"r\00"
@EOF = global i8 0
@str = [16 x i8] c"Enter your name\00"
@str.12 = [33 x i8] c"wanna see past records press 'y'\00"
define void @record() {
%1 = alloca [20 x i8]
%2 = alloca [20 x i8]
%3 = alloca i32
%4 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 0
%5 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%6 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call signext i8 (...) @getch()
%8 = tail call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str, i64 0, i64 0))
%10 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %4)
%11 = load i8, i8* %4
%12 = icmp eq i8 %11, 0
br i1 %12, label %38, label %13
13: ; preds = %0, %34
%14 = phi i8 [ %35, %34 ], [ %11, %0 ]
%15 = phi i64 [ %30, %34 ], [ 0, %0 ]
%16 = phi i8* [ %31, %34 ], [ %4, %0 ]
%17 = call signext i8 @toupper(i8 signext %14)
store i8 %17, i8* %5
%18 = add nsw i64 %15, -1
%19 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 %18
%20 = load i8, i8* %19
%21 = icmp eq i8 %20, 32
%22 = load i8, i8* %16
br i1 %21, label %23, label %27
23: ; preds = %13
%24 = call signext i8 @toupper(i8 signext %22)
%25 = load i8, i8* %19
%26 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 %18
store i8 %25, i8* %26
br label %27
27: ; preds = %13, %23
%28 = phi i8 [ %24, %23 ], [ %22, %13 ]
%29 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 %15
store i8 %28, i8* %29
%30 = add nuw i64 %15, 1
%31 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 %30
%32 = load i8, i8* %31
%33 = icmp eq i8 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %27
%35 = load i8, i8* %4
br label %13
36: ; preds = %27
%37 = and i64 %30, 4294967295
br label %38
38: ; preds = %36, %0
%39 = phi i64 [ 0, %0 ], [ %37, %36 ]
%40 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 %39
store i8 0, i8* %40
%41 = call i32 (i32*, i8*, ...) @fprintf(i32* %6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i8* %5)
%42 = bitcast i32* %3 to i8*
%43 = call i32 @time(i32* null)
store i32 %43, i32* %3
%44 = call i8* @ctime(i32* %3)
%45 = call i32 (i32*, i8*, ...) @fprintf(i32* %6, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0), i8* %44)
%46 = call i32 (...) @Scoreonly()
%47 = call i32 (i32*, i8*, ...) @fprintf(i32* %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 %46)
br label %48
48: ; preds = %38, %48
%49 = phi i32 [ 0, %38 ], [ %51, %48 ]
%50 = call i32 @fputc(i32 95, i32* %6)
%51 = add nuw nsw i32 %49, 1
%52 = icmp eq i32 %51, 51
br i1 %52, label %53, label %48
53: ; preds = %48
%54 = call i32 @fputc(i32 10, i32* %6)
%55 = call i32 @fclose(i32* %6)
%56 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.12, i64 0, i64 0))
%57 = call signext i8 (...) @getch()
%58 = call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%59 = icmp eq i8 %57, 121
br i1 %59, label %60, label %67
60: ; preds = %53
%61 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %62
62: ; preds = %62, %60
%63 = call signext i8 @getc(i32* %61)
%64 = call i32 @putchar(i8 signext %63)
%65 = load i8, i8* @EOF
%66 = icmp eq i8 %63, %65
br i1 %66, label %67, label %62
67: ; preds = %62, %53
%68 = phi i32* [ %6, %53 ], [ %61, %62 ]
%69 = call i32 @fclose(i32* %68)
ret void
}