#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 atoi(char *);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, int, int);
int /*<<< orphan*/ putc(char, int /*<<< orphan*/ *);
int /*<<< orphan*/ sprintf(char *, char *, int);
int main(int argc, char **argv) {
  int w, h, bit_num = 0;
  char byte_acc = 0;
  int i, iter = 50;
  double x, y, limit = 2.0;
  double Zr, Zi, Cr, Ci, Tr, Ti;
  w = h = atoi(argv[1]);
  char filename[64];
  sprintf(filename, "mandelbrot-%d.txt", w);
  FILE *outStream = fopen(filename, "w+");
  fprintf(outStream, "P4\n%d %d\n", w, h);
  for (y = 0; y < h; ++y) {
    for (x = 0; x < w; ++x) {
      Zr = Zi = Tr = Ti = 0.0;
      Cr = (2.0 * x / w - 1.5);
      Ci = (2.0 * y / h - 1.0);
      for (i = 0; i < iter && (Tr + Ti <= limit * limit); ++i) {
        Zi = 2.0 * Zr * Zi + Ci;
        Zr = Tr - Ti + Cr;
        Tr = Zr * Zr;
        Ti = Zi * Zi;
      }
      byte_acc <<= 1;
      if (Tr + Ti <= limit * limit)
        byte_acc |= 0x01;
      ++bit_num;
      if (bit_num == 8) {
        putc(byte_acc, outStream);
        byte_acc = 0;
        bit_num = 0;
      } else if (x == w - 1) {
        byte_acc <<= (8 - w % 8);
        putc(byte_acc, outStream);
        byte_acc = 0;
        bit_num = 0;
      }
    }
  }
  fclose(outStream);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1c(%rbp)
movb   $0x0,-0x1d(%rbp)
movl   $0x32,-0x28(%rbp)
movsd  0xe6d(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x18(%rbp)
mov    %eax,-0x14(%rbp)
lea    -0xb0(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xe5c(%rip),%rsi
call   1080 <sprintf@plt>
lea    -0xb0(%rbp),%rdi
lea    0xe5b(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0xb8(%rbp)
mov    -0xb8(%rbp),%rdi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
lea    0xe3e(%rip),%rsi
call   1050 <fprintf@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm1
cvtsi2sdl -0x18(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1448 <main+0x2e8>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm1
cvtsi2sdl -0x14(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    142c <main+0x2cc>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xdac(%rip),%xmm0
mulsd  -0x30(%rbp),%xmm0
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  0xda6(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xd85(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
cvtsi2sdl -0x18(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  0xd77(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%ecx
xor    %eax,%eax
cmp    -0x28(%rbp),%ecx
mov    %al,-0xb9(%rbp)
jge    12d6 <main+0x176>
movsd  -0x68(%rbp),%xmm1
addsd  -0x70(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
mov    %al,-0xb9(%rbp)
mov    -0xb9(%rbp),%al
test   $0x1,%al
jne    12e9 <main+0x189>
jmp    134d <main+0x1ed>
movsd  0xd0f(%rip),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x68(%rbp),%xmm0
subsd  -0x70(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x50(%rbp),%xmm0
mulsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12a1 <main+0x141>
movsbl -0x1d(%rbp),%eax
shl    $0x1,%eax
mov    %al,-0x1d(%rbp)
movsd  -0x68(%rbp),%xmm1
addsd  -0x70(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jb     137f <main+0x21f>
movsbl -0x1d(%rbp),%eax
or     $0x1,%eax
mov    %al,-0x1d(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jne    13b4 <main+0x254>
mov    -0x1d(%rbp),%al
mov    -0xb8(%rbp),%rsi
movsbl %al,%edi
call   1040 <putc@plt>
movb   $0x0,-0x1d(%rbp)
movl   $0x0,-0x1c(%rbp)
jmp    1410 <main+0x2b0>
movsd  -0x30(%rbp),%xmm0
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
cvtsi2sd %eax,%xmm1
ucomisd %xmm1,%xmm0
jne    140b <main+0x2ab>
jp     140b <main+0x2ab>
mov    -0x14(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    $0x8,%ecx
sub    %edx,%ecx
movsbl -0x1d(%rbp),%eax
shl    %cl,%eax
mov    %al,-0x1d(%rbp)
mov    -0x1d(%rbp),%al
mov    -0xb8(%rbp),%rsi
movsbl %al,%edi
call   1040 <putc@plt>
movb   $0x0,-0x1d(%rbp)
movl   $0x0,-0x1c(%rbp)
jmp    1410 <main+0x2b0>
jmp    1415 <main+0x2b5>
movsd  0xbeb(%rip),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
jmp    1218 <main+0xb8>
jmp    1431 <main+0x2d1>
movsd  0xbcf(%rip),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    11fc <main+0x9c>
mov    -0xb8(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x70,%rsp
mov    0x8(%rsi),%rdi
call   1070 <atoi@plt>
mov    %eax,%r14d
lea    0xea5(%rip),%rsi
lea    0x30(%rsp),%rbx
mov    %rbx,%rdi
mov    %eax,%edx
call   1080 <sprintf@plt>
lea    0xea1(%rip),%rsi
mov    %rbx,%rdi
call   1060 <fopen@plt>
mov    %rax,%rbx
lea    0xe92(%rip),%rsi
mov    %rax,%rdi
mov    %r14d,%edx
mov    %r14d,%ecx
call   1050 <fprintf@plt>
test   %r14d,%r14d
jle    133b <main+0x1db>
cvtsi2sd %r14d,%xmm8
lea    -0x1(%r14),%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x18(%rsp)
and    $0x7,%r14d
mov    $0x8,%ebp
sub    %r14d,%ebp
xorpd  %xmm0,%xmm0
xor    %ecx,%ecx
movsd  0xe29(%rip),%xmm7
xor    %eax,%eax
movsd  %xmm8,0x20(%rsp)
jmp    1219 <main+0xb9>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x10(%rsp),%xmm0
addsd  0xe0a(%rip),%xmm0
ucomisd %xmm0,%xmm8
jbe    133b <main+0x1db>
movsd  %xmm0,0x10(%rsp)
movapd %xmm0,%xmm6
addsd  %xmm0,%xmm6
divsd  %xmm8,%xmm6
addsd  0xdcc(%rip),%xmm6
xorpd  %xmm9,%xmm9
movsd  %xmm6,0x28(%rsp)
jmp    1296 <main+0x136>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  %xmm9,0x8(%rsp)
movsbl %al,%edi
mov    %rbx,%rsi
call   1040 <putc@plt>
xor    %eax,%eax
xor    %ecx,%ecx
movsd  0x20(%rsp),%xmm8
movsd  0xd9b(%rip),%xmm7
movsd  0x28(%rsp),%xmm6
movsd  0x8(%rsp),%xmm9
addsd  0xd8d(%rip),%xmm9
ucomisd %xmm9,%xmm8
jbe    1200 <main+0xa0>
movapd %xmm9,%xmm0
addsd  %xmm9,%xmm0
divsd  %xmm8,%xmm0
addsd  0xd5b(%rip),%xmm0
xor    %edx,%edx
xorpd  %xmm3,%xmm3
xorpd  %xmm2,%xmm2
xorpd  %xmm1,%xmm1
xorpd  %xmm4,%xmm4
nop
subsd  %xmm3,%xmm2
addsd  %xmm4,%xmm4
mulsd  %xmm4,%xmm1
movapd %xmm2,%xmm4
addsd  %xmm0,%xmm4
addsd  %xmm6,%xmm1
movapd %xmm4,%xmm2
mulsd  %xmm4,%xmm2
movapd %xmm1,%xmm3
mulsd  %xmm1,%xmm3
movapd %xmm2,%xmm5
addsd  %xmm3,%xmm5
cmp    $0x30,%edx
ja     12fe <main+0x19e>
add    $0x1,%edx
ucomisd %xmm5,%xmm7
jae    12c0 <main+0x160>
ucomisd %xmm5,%xmm7
setae  %dl
add    %al,%al
or     %dl,%al
add    $0x1,%ecx
cmp    $0x8,%ecx
je     1250 <main+0xf0>
ucomisd 0x18(%rsp),%xmm9
jne    1282 <main+0x122>
jp     1282 <main+0x122>
movsd  %xmm9,0x8(%rsp)
movzbl %al,%eax
mov    %ebp,%ecx
shl    %cl,%eax
jmp    1257 <main+0xf7>
mov    %rbx,%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [18 x i8] c"mandelbrot-%d.txt\00"
@.str.1 = [3 x i8] c"w+\00"
@.str.2 = [10 x i8] c"P4\0A%d %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8
%10 = alloca i32
%11 = alloca i32
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca [64 x i8]
%22 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %8
store i8 0, i8* %9
store i32 50, i32* %11
store double 2.000000e+00, double* %14
%23 = load i8**, i8*** %5
%24 = getelementptr inbounds i8*, i8** %23, i64 1
%25 = load i8*, i8** %24
%26 = call i32 @atoi(i8* %25)
store i32 %26, i32* %7
store i32 %26, i32* %6
%27 = getelementptr inbounds [64 x i8], [64 x i8]* %21, i64 0, i64 0
%28 = load i32, i32* %6
%29 = call i32 @sprintf(i8* %27, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i32 %28)
%30 = getelementptr inbounds [64 x i8], [64 x i8]* %21, i64 0, i64 0
%31 = call i32* @fopen(i8* %30, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %31, i32** %22
%32 = load i32*, i32** %22
%33 = load i32, i32* %6
%34 = load i32, i32* %7
%35 = call i32 @fprintf(i32* %32, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %33, i32 %34)
store double 0.000000e+00, double* %13
br label %36
36: ; preds = %143, %2
%37 = load double, double* %13
%38 = load i32, i32* %7
%39 = sitofp i32 %38 to double
%40 = fcmp olt double %37, %39
br i1 %40, label %41, label %146
41: ; preds = %36
store double 0.000000e+00, double* %12
br label %42
42: ; preds = %139, %41
%43 = load double, double* %12
%44 = load i32, i32* %6
%45 = sitofp i32 %44 to double
%46 = fcmp olt double %43, %45
br i1 %46, label %47, label %142
47: ; preds = %42
store double 0.000000e+00, double* %20
store double 0.000000e+00, double* %19
store double 0.000000e+00, double* %16
store double 0.000000e+00, double* %15
%48 = load double, double* %12
%49 = fmul double 2.000000e+00, %48
%50 = load i32, i32* %6
%51 = sitofp i32 %50 to double
%52 = fdiv double %49, %51
%53 = fsub double %52, 1.500000e+00
store double %53, double* %17
%54 = load double, double* %13
%55 = fmul double 2.000000e+00, %54
%56 = load i32, i32* %7
%57 = sitofp i32 %56 to double
%58 = fdiv double %55, %57
%59 = fsub double %58, 1.000000e+00
store double %59, double* %18
store i32 0, i32* %10
br label %60
60: ; preds = %91, %47
%61 = load i32, i32* %10
%62 = load i32, i32* %11
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %72
64: ; preds = %60
%65 = load double, double* %19
%66 = load double, double* %20
%67 = fadd double %65, %66
%68 = load double, double* %14
%69 = load double, double* %14
%70 = fmul double %68, %69
%71 = fcmp ole double %67, %70
br label %72
72: ; preds = %64, %60
%73 = phi i1 [ false, %60 ], [ %71, %64 ]
br i1 %73, label %74, label %94
74: ; preds = %72
%75 = load double, double* %15
%76 = fmul double 2.000000e+00, %75
%77 = load double, double* %16
%78 = load double, double* %18
%79 = call double @llvm.fmuladd.f64(double %76, double %77, double %78)
store double %79, double* %16
%80 = load double, double* %19
%81 = load double, double* %20
%82 = fsub double %80, %81
%83 = load double, double* %17
%84 = fadd double %82, %83
store double %84, double* %15
%85 = load double, double* %15
%86 = load double, double* %15
%87 = fmul double %85, %86
store double %87, double* %19
%88 = load double, double* %16
%89 = load double, double* %16
%90 = fmul double %88, %89
store double %90, double* %20
br label %91
91: ; preds = %74
%92 = load i32, i32* %10
%93 = add nsw i32 %92, 1
store i32 %93, i32* %10
br label %60
94: ; preds = %72
%95 = load i8, i8* %9
%96 = sext i8 %95 to i32
%97 = shl i32 %96, 1
%98 = trunc i32 %97 to i8
store i8 %98, i8* %9
%99 = load double, double* %19
%100 = load double, double* %20
%101 = fadd double %99, %100
%102 = load double, double* %14
%103 = load double, double* %14
%104 = fmul double %102, %103
%105 = fcmp ole double %101, %104
br i1 %105, label %106, label %111
106: ; preds = %94
%107 = load i8, i8* %9
%108 = sext i8 %107 to i32
%109 = or i32 %108, 1
%110 = trunc i32 %109 to i8
store i8 %110, i8* %9
br label %111
111: ; preds = %106, %94
%112 = load i32, i32* %8
%113 = add nsw i32 %112, 1
store i32 %113, i32* %8
%114 = load i32, i32* %8
%115 = icmp eq i32 %114, 8
br i1 %115, label %116, label %120
116: ; preds = %111
%117 = load i8, i8* %9
%118 = load i32*, i32** %22
%119 = call i32 @putc(i8 signext %117, i32* %118)
store i8 0, i8* %9
store i32 0, i32* %8
br label %138
120: ; preds = %111
%121 = load double, double* %12
%122 = load i32, i32* %6
%123 = sub nsw i32 %122, 1
%124 = sitofp i32 %123 to double
%125 = fcmp oeq double %121, %124
br i1 %125, label %126, label %137
126: ; preds = %120
%127 = load i32, i32* %6
%128 = srem i32 %127, 8
%129 = sub nsw i32 8, %128
%130 = load i8, i8* %9
%131 = sext i8 %130 to i32
%132 = shl i32 %131, %129
%133 = trunc i32 %132 to i8
store i8 %133, i8* %9
%134 = load i8, i8* %9
%135 = load i32*, i32** %22
%136 = call i32 @putc(i8 signext %134, i32* %135)
store i8 0, i8* %9
store i32 0, i32* %8
br label %137
137: ; preds = %126, %120
br label %138
138: ; preds = %137, %116
br label %139
139: ; preds = %138
%140 = load double, double* %12
%141 = fadd double %140, 1.000000e+00
store double %141, double* %12
br label %42
142: ; preds = %42
br label %143
143: ; preds = %142
%144 = load double, double* %13
%145 = fadd double %144, 1.000000e+00
store double %145, double* %13
br label %36
146: ; preds = %36
%147 = load i32*, i32** %22
%148 = call i32 @fclose(i32* %147)
%149 = load i32, i32* %3
ret i32 %149
}

LLVM IR (-O2):
@.str = [18 x i8] c"mandelbrot-%d.txt\00"
@.str.1 = [3 x i8] c"w+\00"
@.str.2 = [10 x i8] c"P4\0A%d %d\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [64 x i8]
%4 = getelementptr inbounds i8*, i8** %1, i64 1
%5 = load i8*, i8** %4
%6 = tail call i32 @atoi(i8* %5)
%7 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 0
%8 = call i32 @sprintf(i8* %7, i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i32 %6)
%9 = call i32* @fopen(i8* %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%10 = tail call i32 @fprintf(i32* %9, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %6, i32 %6)
%11 = sitofp i32 %6 to double
%12 = icmp sgt i32 %6, 0
br i1 %12, label %13, label %73
13: ; preds = %2
%14 = add nsw i32 %6, -1
%15 = sitofp i32 %14 to double
%16 = and i32 %6, 7
%17 = sub nuw nsw i32 8, %16
br label %18
18: ; preds = %70, %13
%19 = phi i32 [ 0, %13 ], [ %67, %70 ]
%20 = phi i8 [ 0, %13 ], [ %66, %70 ]
%21 = phi double [ 0.000000e+00, %13 ], [ %71, %70 ]
%22 = fmul double %21, 2.000000e+00
%23 = fdiv double %22, %11
%24 = fadd double %23, -1.000000e+00
br label %25
25: ; preds = %18, %65
%26 = phi i32 [ %19, %18 ], [ %67, %65 ]
%27 = phi i8 [ %20, %18 ], [ %66, %65 ]
%28 = phi double [ 0.000000e+00, %18 ], [ %68, %65 ]
%29 = fmul double %28, 2.000000e+00
%30 = fdiv double %29, %11
%31 = fadd double %30, -1.500000e+00
br label %32
32: ; preds = %25, %32
%33 = phi double [ 0.000000e+00, %25 ], [ %43, %32 ]
%34 = phi double [ 0.000000e+00, %25 ], [ %42, %32 ]
%35 = phi i32 [ 0, %25 ], [ %44, %32 ]
%36 = phi double [ 0.000000e+00, %25 ], [ %39, %32 ]
%37 = phi double [ 0.000000e+00, %25 ], [ %41, %32 ]
%38 = fmul double %37, 2.000000e+00
%39 = tail call double @llvm.fmuladd.f64(double %38, double %36, double %24)
%40 = fsub double %34, %33
%41 = fadd double %31, %40
%42 = fmul double %41, %41
%43 = fmul double %39, %39
%44 = add nuw nsw i32 %35, 1
%45 = icmp ugt i32 %35, 48
%46 = fadd double %42, %43
%47 = fcmp ugt double %46, 4.000000e+00
%48 = select i1 %45, i1 true, i1 %47
br i1 %48, label %49, label %32
49: ; preds = %32
%50 = shl i8 %27, 1
%51 = xor i1 %47, true
%52 = zext i1 %51 to i8
%53 = or i8 %50, %52
%54 = add nsw i32 %26, 1
%55 = icmp eq i32 %54, 8
br i1 %55, label %62, label %56
56: ; preds = %49
%57 = fcmp oeq double %28, %15
br i1 %57, label %58, label %65
58: ; preds = %56
%59 = zext i8 %53 to i32
%60 = shl nuw nsw i32 %59, %17
%61 = trunc i32 %60 to i8
br label %62
62: ; preds = %49, %58
%63 = phi i8 [ %61, %58 ], [ %53, %49 ]
%64 = tail call i32 @putc(i8 signext %63, i32* %9)
br label %65
65: ; preds = %62, %56
%66 = phi i8 [ %53, %56 ], [ 0, %62 ]
%67 = phi i32 [ %54, %56 ], [ 0, %62 ]
%68 = fadd double %28, 1.000000e+00
%69 = fcmp olt double %68, %11
br i1 %69, label %25, label %70
70: ; preds = %65
%71 = fadd double %21, 1.000000e+00
%72 = fcmp olt double %71, %11
br i1 %72, label %18, label %73
73: ; preds = %70, %2
%74 = tail call i32 @fclose(i32* %9)
ret i32 0
}