#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 */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, int, long, float);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, long *, float *);
int main(void) {
  FILE *ifile, *ofile;
  int i;
  long size;
  float time;
  ifile = fopen("mc.dat", "r");
  ofile = fopen("mc1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  ifile = fopen("nmc.dat", "r");
  ofile = fopen("nmc1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  ifile = fopen("blk.dat", "r");
  ofile = fopen("blk1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  ifile = fopen("nblk.dat", "r");
  ofile = fopen("nblk1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xec1(%rip),%rdi
lea    0xea3(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x10(%rbp)
lea    0xeb2(%rip),%rdi
lea    0xe8e(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x15,-0x1c(%rbp)
jge    11d0 <main+0x90>
mov    -0x10(%rbp),%rdi
lea    0xe6b(%rip),%rsi
lea    -0x28(%rbp),%rdx
lea    -0x2c(%rbp),%rcx
call   1040 <fscanf@plt>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%edx
mov    -0x28(%rbp),%rcx
movss  -0x2c(%rbp),%xmm0
lea    0xe4e(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1184 <main+0x44>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xe2d(%rip),%rdi
lea    0xe10(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x10(%rbp)
lea    0xe1e(%rip),%rdi
lea    0xdfb(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x15,-0x1c(%rbp)
jge    1263 <main+0x123>
mov    -0x10(%rbp),%rdi
lea    0xdd8(%rip),%rsi
lea    -0x28(%rbp),%rdx
lea    -0x2c(%rbp),%rcx
call   1040 <fscanf@plt>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%edx
mov    -0x28(%rbp),%rcx
movss  -0x2c(%rbp),%xmm0
lea    0xdbb(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1217 <main+0xd7>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xdac(%rip),%rdi
lea    0xd7d(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x10(%rbp)
lea    0xd9e(%rip),%rdi
lea    0xd68(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x15,-0x1c(%rbp)
jge    12f6 <main+0x1b6>
mov    -0x10(%rbp),%rdi
lea    0xd45(%rip),%rsi
lea    -0x28(%rbp),%rdx
lea    -0x2c(%rbp),%rcx
call   1040 <fscanf@plt>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%edx
mov    -0x28(%rbp),%rcx
movss  -0x2c(%rbp),%xmm0
lea    0xd28(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12aa <main+0x16a>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xd18(%rip),%rdi
lea    0xcea(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x10(%rbp)
lea    0xd0a(%rip),%rdi
lea    0xcd5(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x15,-0x1c(%rbp)
jge    1389 <main+0x249>
mov    -0x10(%rbp),%rdi
lea    0xcb2(%rip),%rsi
lea    -0x28(%rbp),%rdx
lea    -0x2c(%rbp),%rcx
call   1040 <fscanf@plt>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%edx
mov    -0x28(%rbp),%rcx
movss  -0x2c(%rbp),%xmm0
lea    0xc95(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    133d <main+0x1fd>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xec2(%rip),%rdi
lea    0xea4(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%r14
lea    0xeb4(%rip),%rdi
lea    0xe90(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%rbx
xor    %ebp,%ebp
lea    0x10(%rsp),%r12
lea    0xc(%rsp),%r13
lea    0xe7e(%rip),%r15
nopl   (%rax)
mov    %r14,%rdi
lea    0xe6a(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
call   1040 <fscanf@plt>
mov    0x10(%rsp),%rcx
movss  0xc(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %ebp,%edx
call   1050 <fprintf@plt>
add    $0x1,%ebp
cmp    $0x15,%ebp
jne    1190 <main+0x50>
mov    %r14,%rdi
call   1030 <fclose@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
lea    0xe3a(%rip),%rdi
lea    0xe1d(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%r14
lea    0xe2c(%rip),%rdi
lea    0xe09(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%rbx
xor    %ebp,%ebp
lea    0x10(%rsp),%r12
lea    0xc(%rsp),%r13
lea    0xdf7(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r14,%rdi
lea    0xdda(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
call   1040 <fscanf@plt>
mov    0x10(%rsp),%rcx
movss  0xc(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %ebp,%edx
call   1050 <fprintf@plt>
add    $0x1,%ebp
cmp    $0x15,%ebp
jne    1220 <main+0xe0>
mov    %r14,%rdi
call   1030 <fclose@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
lea    0xdbc(%rip),%rdi
lea    0xd8d(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%r14
lea    0xdaf(%rip),%rdi
lea    0xd79(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%rbx
xor    %ebp,%ebp
lea    0x10(%rsp),%r12
lea    0xc(%rsp),%r13
lea    0xd67(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r14,%rdi
lea    0xd4a(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
call   1040 <fscanf@plt>
mov    0x10(%rsp),%rcx
movss  0xc(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %ebp,%edx
call   1050 <fprintf@plt>
add    $0x1,%ebp
cmp    $0x15,%ebp
jne    12b0 <main+0x170>
mov    %r14,%rdi
call   1030 <fclose@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
lea    0xd2b(%rip),%rdi
lea    0xcfd(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%r14
lea    0xd1e(%rip),%rdi
lea    0xce9(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%rbx
xor    %ebp,%ebp
lea    0x10(%rsp),%r12
lea    0xc(%rsp),%r13
lea    0xcd7(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r14,%rdi
lea    0xcba(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
call   1040 <fscanf@plt>
mov    0x10(%rsp),%rcx
movss  0xc(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %ebp,%edx
call   1050 <fprintf@plt>
add    $0x1,%ebp
cmp    $0x15,%ebp
jne    1340 <main+0x200>
mov    %r14,%rdi
call   1030 <fclose@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"mc.dat\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [8 x i8] c"mc1.dat\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [7 x i8] c"%ld %f\00"
@.str.5 = [11 x i8] c"%d %ld %f\0A\00"
@.str.6 = [8 x i8] c"nmc.dat\00"
@.str.7 = [9 x i8] c"nmc1.dat\00"
@.str.8 = [8 x i8] c"blk.dat\00"
@.str.9 = [9 x i8] c"blk1.dat\00"
@.str.10 = [9 x i8] c"nblk.dat\00"
@.str.11 = [10 x i8] c"nblk1.dat\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i32*
%4 = alloca i32
%5 = alloca i64
%6 = alloca float
store i32 0, i32* %1
%7 = call i32* @fopen(i8* getelementptr inbounds ([7 x i8], [7 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** %2
%8 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %8, i32** %3
store i32 0, i32* %4
br label %9
9: ; preds = %20, %0
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 21
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i32*, i32** %2
%14 = call i32 @fscanf(i32* %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %5, float* %6)
%15 = load i32*, i32** %3
%16 = load i32, i32* %4
%17 = load i64, i64* %5
%18 = load float, float* %6
%19 = call i32 @fprintf(i32* %15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %16, i64 %17, float %18)
br label %20
20: ; preds = %12
%21 = load i32, i32* %4
%22 = add nsw i32 %21, 1
store i32 %22, i32* %4
br label %9
23: ; preds = %9
%24 = load i32*, i32** %2
%25 = call i32 @fclose(i32* %24)
%26 = load i32*, i32** %3
%27 = call i32 @fclose(i32* %26)
%28 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %28, i32** %2
%29 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %29, i32** %3
store i32 0, i32* %4
br label %30
30: ; preds = %41, %23
%31 = load i32, i32* %4
%32 = icmp slt i32 %31, 21
br i1 %32, label %33, label %44
33: ; preds = %30
%34 = load i32*, i32** %2
%35 = call i32 @fscanf(i32* %34, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %5, float* %6)
%36 = load i32*, i32** %3
%37 = load i32, i32* %4
%38 = load i64, i64* %5
%39 = load float, float* %6
%40 = call i32 @fprintf(i32* %36, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %37, i64 %38, float %39)
br label %41
41: ; preds = %33
%42 = load i32, i32* %4
%43 = add nsw i32 %42, 1
store i32 %43, i32* %4
br label %30
44: ; preds = %30
%45 = load i32*, i32** %2
%46 = call i32 @fclose(i32* %45)
%47 = load i32*, i32** %3
%48 = call i32 @fclose(i32* %47)
%49 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %49, i32** %2
%50 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %50, i32** %3
store i32 0, i32* %4
br label %51
51: ; preds = %62, %44
%52 = load i32, i32* %4
%53 = icmp slt i32 %52, 21
br i1 %53, label %54, label %65
54: ; preds = %51
%55 = load i32*, i32** %2
%56 = call i32 @fscanf(i32* %55, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %5, float* %6)
%57 = load i32*, i32** %3
%58 = load i32, i32* %4
%59 = load i64, i64* %5
%60 = load float, float* %6
%61 = call i32 @fprintf(i32* %57, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %58, i64 %59, float %60)
br label %62
62: ; preds = %54
%63 = load i32, i32* %4
%64 = add nsw i32 %63, 1
store i32 %64, i32* %4
br label %51
65: ; preds = %51
%66 = load i32*, i32** %2
%67 = call i32 @fclose(i32* %66)
%68 = load i32*, i32** %3
%69 = call i32 @fclose(i32* %68)
%70 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %70, i32** %2
%71 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %71, i32** %3
store i32 0, i32* %4
br label %72
72: ; preds = %83, %65
%73 = load i32, i32* %4
%74 = icmp slt i32 %73, 21
br i1 %74, label %75, label %86
75: ; preds = %72
%76 = load i32*, i32** %2
%77 = call i32 @fscanf(i32* %76, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %5, float* %6)
%78 = load i32*, i32** %3
%79 = load i32, i32* %4
%80 = load i64, i64* %5
%81 = load float, float* %6
%82 = call i32 @fprintf(i32* %78, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %79, i64 %80, float %81)
br label %83
83: ; preds = %75
%84 = load i32, i32* %4
%85 = add nsw i32 %84, 1
store i32 %85, i32* %4
br label %72
86: ; preds = %72
%87 = load i32*, i32** %2
%88 = call i32 @fclose(i32* %87)
%89 = load i32*, i32** %3
%90 = call i32 @fclose(i32* %89)
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"mc.dat\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [8 x i8] c"mc1.dat\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [7 x i8] c"%ld %f\00"
@.str.5 = [11 x i8] c"%d %ld %f\0A\00"
@.str.6 = [8 x i8] c"nmc.dat\00"
@.str.7 = [9 x i8] c"nmc1.dat\00"
@.str.8 = [8 x i8] c"blk.dat\00"
@.str.9 = [9 x i8] c"blk1.dat\00"
@.str.10 = [9 x i8] c"nblk.dat\00"
@.str.11 = [10 x i8] c"nblk1.dat\00"
define i32 @main() {
%1 = alloca i64
%2 = alloca float
%3 = bitcast i64* %1 to i8*
%4 = bitcast float* %2 to i8*
%5 = tail call i32* @fopen(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %7
7: ; preds = %0, %7
%8 = phi i32 [ 0, %0 ], [ %13, %7 ]
%9 = call i32 @fscanf(i32* %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %1, float* %2)
%10 = load i64, i64* %1
%11 = load float, float* %2
%12 = call i32 @fprintf(i32* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %8, i64 %10, float %11)
%13 = add nuw nsw i32 %8, 1
%14 = icmp eq i32 %13, 21
br i1 %14, label %15, label %7
15: ; preds = %7
%16 = call i32 @fclose(i32* %5)
%17 = call i32 @fclose(i32* %6)
%18 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%19 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %20
20: ; preds = %15, %20
%21 = phi i32 [ 0, %15 ], [ %26, %20 ]
%22 = call i32 @fscanf(i32* %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %1, float* %2)
%23 = load i64, i64* %1
%24 = load float, float* %2
%25 = call i32 @fprintf(i32* %19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %21, i64 %23, float %24)
%26 = add nuw nsw i32 %21, 1
%27 = icmp eq i32 %26, 21
br i1 %27, label %28, label %20
28: ; preds = %20
%29 = call i32 @fclose(i32* %18)
%30 = call i32 @fclose(i32* %19)
%31 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%32 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %33
33: ; preds = %28, %33
%34 = phi i32 [ 0, %28 ], [ %39, %33 ]
%35 = call i32 @fscanf(i32* %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %1, float* %2)
%36 = load i64, i64* %1
%37 = load float, float* %2
%38 = call i32 @fprintf(i32* %32, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %34, i64 %36, float %37)
%39 = add nuw nsw i32 %34, 1
%40 = icmp eq i32 %39, 21
br i1 %40, label %41, label %33
41: ; preds = %33
%42 = call i32 @fclose(i32* %31)
%43 = call i32 @fclose(i32* %32)
%44 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%45 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %46
46: ; preds = %41, %46
%47 = phi i32 [ 0, %41 ], [ %52, %46 ]
%48 = call i32 @fscanf(i32* %44, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i64* %1, float* %2)
%49 = load i64, i64* %1
%50 = load float, float* %2
%51 = call i32 @fprintf(i32* %45, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %47, i64 %49, float %50)
%52 = add nuw nsw i32 %47, 1
%53 = icmp eq i32 %52, 21
br i1 %53, label %54, label %46
54: ; preds = %46
%55 = call i32 @fclose(i32* %44)
%56 = call i32 @fclose(i32* %45)
ret i32 0
}