#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 */
struct timeval {
  int tv_usec;
  int tv_sec;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ gettimeofday(struct timeval *, int /*<<< orphan*/ *);
scalar_t__ ioperm(int, int, int);
scalar_t__ rename(char *, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ wait_change();
int main(int argc, char **argv) {
  int i;
  long long lasttime = 0;
  double oldvals[3];
  if (argc < 2) {
    fprintf(stderr, "usage: readmeter outputfile tempfile\n");
    return 20;
  }
  if (ioperm(0x378, 3, 1) < 0) {
    fprintf(stderr, "ioperm failed\n");
    return 20;
  }
  for (i = 0; i < 3; i++)
    oldvals[i] = 0.0;
  wait_change();
  while (1) {
    struct timeval tv;
    long long this, diff;
    double kw;
    int w;
    FILE *f;
    wait_change();
    wait_change();
    gettimeofday(&tv, NULL);
    this = tv.tv_usec + (1000000 * tv.tv_sec);
    diff = this - lasttime;
    lasttime = this;
    if (diff < 250000 || diff > 10000000)
      continue;
    kw = (3600000000.0 / diff) / 1000.0;
    for (i = 1; i < 3; i++)
      oldvals[i - 1] = oldvals[i];
    oldvals[3 - 1] = kw;
    kw = 0;
    for (i = 0; i < 3; i++)
      kw += oldvals[i];
    kw /= 3;
    w = kw * 1000;
    f = fopen(argv[2], "w");
    if (f == NULL) {
      fprintf(stderr, "couldn't open %s\n", argv[2]);
      return 20;
    }
    fprintf(f, "%d\n", w);
    fclose(f);
    if (rename(argv[2], argv[1]) < 0) {
      fprintf(stderr, "couldn't rename file\n");
      return 20;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x20(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11bb <main+0x4b>
mov    0x2e41(%rip),%rax
mov    (%rax),%edi
lea    0xe70(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x14,-0x4(%rbp)
jmp    140f <main+0x29f>
mov    $0x378,%edi
mov    $0x3,%esi
mov    $0x1,%edx
call   1050 <ioperm@plt>
cmp    $0x0,%rax
jge    11fc <main+0x8c>
mov    0x2e00(%rip),%rax
mov    (%rax),%edi
lea    0xe55(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x14,-0x4(%rbp)
jmp    140f <main+0x29f>
movl   $0x0,-0x14(%rbp)
cmpl   $0x3,-0x14(%rbp)
jge    1228 <main+0xb8>
movslq -0x14(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp,%rax,8)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1203 <main+0x93>
mov    $0x0,%al
call   1090 <wait_change@plt>
mov    $0x0,%al
call   1090 <wait_change@plt>
mov    $0x0,%al
call   1090 <wait_change@plt>
lea    -0x48(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1040 <gettimeofday@plt>
mov    -0x48(%rbp),%eax
imul   $0xf4240,-0x44(%rbp),%ecx
add    %ecx,%eax
cltq
mov    %rax,-0x50(%rbp)
mov    -0x50(%rbp),%rax
sub    -0x20(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x3d090,-0x58(%rbp)
jl     128c <main+0x11c>
cmpq   $0x989680,-0x58(%rbp)
jle    1291 <main+0x121>
jmp    122f <main+0xbf>
cvtsi2sdq -0x58(%rbp),%xmm1
movsd  0xd69(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  0xd55(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movl   $0x1,-0x14(%rbp)
cmpl   $0x3,-0x14(%rbp)
jge    12eb <main+0x17b>
movslq -0x14(%rbp),%rax
movsd  -0x40(%rbp,%rax,8),%xmm0
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  %xmm0,-0x40(%rbp,%rax,8)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12bb <main+0x14b>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x3,-0x14(%rbp)
jge    1330 <main+0x1c0>
movslq -0x14(%rbp),%rax
movsd  -0x40(%rbp,%rax,8),%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1304 <main+0x194>
movsd  -0x60(%rbp),%xmm0
movsd  0xcd3(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xcb2(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x64(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xce4(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x70(%rbp)
cmpq   $0x0,-0x70(%rbp)
jne    13a8 <main+0x238>
mov    0x2c5c(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdx
lea    0xcba(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x14,-0x4(%rbp)
jmp    140f <main+0x29f>
mov    -0x70(%rbp),%rax
mov    %eax,%edi
mov    -0x64(%rbp),%edx
lea    0xca9(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x70(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
call   1080 <rename@plt>
cmp    $0x0,%rax
jge    140a <main+0x29a>
mov    0x2bf2(%rip),%rax
mov    (%rax),%edi
lea    0xc6e(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x14,-0x4(%rbp)
jmp    140f <main+0x29f>
jmp    122f <main+0xbf>
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
cmp    $0x1,%edi
jg     1198 <main+0x28>
mov    0x2e56(%rip),%rax
mov    (%rax),%edi
lea    0xe8d(%rip),%rsi
jmp    1318 <main+0x1a8>
mov    %rsi,%r13
mov    $0x378,%edi
mov    $0x3,%esi
mov    $0x1,%edx
call   1050 <ioperm@plt>
test   %rax,%rax
js     1308 <main+0x198>
xorpd  %xmm0,%xmm0
movapd %xmm0,0x10(%rsp)
movq   $0x0,0x20(%rsp)
xor    %eax,%eax
call   1090 <wait_change@plt>
lea    0x8(%rsp),%r14
lea    0xe77(%rip),%r15
lea    0xe84(%rip),%r12
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    %rbp,%rbx
xor    %eax,%eax
call   1090 <wait_change@plt>
xor    %eax,%eax
call   1090 <wait_change@plt>
mov    %r14,%rdi
xor    %esi,%esi
call   1040 <gettimeofday@plt>
movslq 0x8(%rsp),%rax
movslq 0xc(%rsp),%rcx
imul   $0xf4240,%rcx,%rbp
add    %rax,%rbp
mov    %rbp,%rax
sub    %rbx,%rax
lea    -0x989681(%rax),%rcx
cmp    $0xffffffffff6b3a0f,%rcx
jb     11f0 <main+0x80>
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movsd  0xdbb(%rip),%xmm1
divsd  %xmm0,%xmm1
lea    0x18(%rsp),%rax
movups (%rax),%xmm0
movaps %xmm0,0x10(%rsp)
movsd  0xdaa(%rip),%xmm0
divsd  %xmm0,%xmm1
movsd  %xmm1,0x40(%rsp)
movsd  %xmm1,0x20(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
mov    0x10(%r13),%rdi
mov    %r15,%rsi
call   1070 <fopen@plt>
test   %rax,%rax
je     1333 <main+0x1c3>
mov    %rax,%rbx
movsd  0x38(%rsp),%xmm0
addsd  0xd6c(%rip),%xmm0
addsd  0x30(%rsp),%xmm0
addsd  0x40(%rsp),%xmm0
divsd  0xd50(%rip),%xmm0
mulsd  0xd40(%rip),%xmm0
cvttsd2si %xmm0,%edx
mov    %ebx,%edi
mov    %r12,%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
mov    0x8(%r13),%rsi
mov    0x10(%r13),%rdi
call   1080 <rename@plt>
test   %rax,%rax
jns    11f0 <main+0x80>
mov    0x2ce3(%rip),%rax
mov    (%rax),%edi
lea    0xd67(%rip),%rsi
jmp    1318 <main+0x1a8>
mov    0x2cd1(%rip),%rax
mov    (%rax),%edi
lea    0xd2e(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x14,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2ca6(%rip),%rax
mov    (%rax),%edi
mov    0x10(%r13),%rdx
lea    0xd10(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
jmp    131f <main+0x1af>

LLVM IR (-O0):
%struct.timeval = type { i32, i32 }
@stderr = global i32 0
@.str = [38 x i8] c"usage: readmeter outputfile tempfile\0A\00"
@.str.1 = [15 x i8] c"ioperm failed\0A\00"
@.str.2 = [2 x i8] c"w\00"
@.str.3 = [18 x i8] c"couldn't open %s\0A\00"
@.str.4 = [4 x i8] c"%d\0A\00"
@.str.5 = [22 x i8] c"couldn't rename file\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i64
%8 = alloca [3 x double]
%9 = alloca %struct.timeval
%10 = alloca i64
%11 = alloca i64
%12 = alloca double
%13 = alloca i32
%14 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i64 0, i64* %7
%15 = load i32, i32* %4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load i32, i32* @stderr
%19 = call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0))
store i32 20, i32* %3
br label %133
20: ; preds = %2
%21 = call i64 @ioperm(i32 888, i32 3, i32 1)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, i32* @stderr
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
store i32 20, i32* %3
br label %133
26: ; preds = %20
store i32 0, i32* %6
br label %27
27: ; preds = %34, %26
%28 = load i32, i32* %6
%29 = icmp slt i32 %28, 3
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, i32* %6
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 %32
store double 0.000000e+00, double* %33
br label %34
34: ; preds = %30
%35 = load i32, i32* %6
%36 = add nsw i32 %35, 1
store i32 %36, i32* %6
br label %27
37: ; preds = %27
%38 = call i32 (...) @wait_change()
br label %39
39: ; preds = %37, %59, %132
%40 = call i32 (...) @wait_change()
%41 = call i32 (...) @wait_change()
%42 = call i32 @gettimeofday(%struct.timeval* %9, i32* null)
%43 = getelementptr inbounds %struct.timeval, %struct.timeval* %9, i32 0, i32 0
%44 = load i32, i32* %43
%45 = getelementptr inbounds %struct.timeval, %struct.timeval* %9, i32 0, i32 1
%46 = load i32, i32* %45
%47 = mul nsw i32 1000000, %46
%48 = add nsw i32 %44, %47
%49 = sext i32 %48 to i64
store i64 %49, i64* %10
%50 = load i64, i64* %10
%51 = load i64, i64* %7
%52 = sub nsw i64 %50, %51
store i64 %52, i64* %11
%53 = load i64, i64* %10
store i64 %53, i64* %7
%54 = load i64, i64* %11
%55 = icmp slt i64 %54, 250000
br i1 %55, label %59, label %56
56: ; preds = %39
%57 = load i64, i64* %11
%58 = icmp sgt i64 %57, 10000000
br i1 %58, label %59, label %60
59: ; preds = %56, %39
br label %39
60: ; preds = %56
%61 = load i64, i64* %11
%62 = sitofp i64 %61 to double
%63 = fdiv double 3.600000e+09, %62
%64 = fdiv double %63, 1.000000e+03
store double %64, double* %12
store i32 1, i32* %6
br label %65
65: ; preds = %77, %60
%66 = load i32, i32* %6
%67 = icmp slt i32 %66, 3
br i1 %67, label %68, label %80
68: ; preds = %65
%69 = load i32, i32* %6
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 %70
%72 = load double, double* %71
%73 = load i32, i32* %6
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 %75
store double %72, double* %76
br label %77
77: ; preds = %68
%78 = load i32, i32* %6
%79 = add nsw i32 %78, 1
store i32 %79, i32* %6
br label %65
80: ; preds = %65
%81 = load double, double* %12
%82 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
store double %81, double* %82
store double 0.000000e+00, double* %12
store i32 0, i32* %6
br label %83
83: ; preds = %93, %80
%84 = load i32, i32* %6
%85 = icmp slt i32 %84, 3
br i1 %85, label %86, label %96
86: ; preds = %83
%87 = load i32, i32* %6
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 %88
%90 = load double, double* %89
%91 = load double, double* %12
%92 = fadd double %91, %90
store double %92, double* %12
br label %93
93: ; preds = %86
%94 = load i32, i32* %6
%95 = add nsw i32 %94, 1
store i32 %95, i32* %6
br label %83
96: ; preds = %83
%97 = load double, double* %12
%98 = fdiv double %97, 3.000000e+00
store double %98, double* %12
%99 = load double, double* %12
%100 = fmul double %99, 1.000000e+03
%101 = fptosi double %100 to i32
store i32 %101, i32* %13
%102 = load i8**, i8*** %5
%103 = getelementptr inbounds i8*, i8** %102, i64 2
%104 = load i8*, i8** %103
%105 = call i32* @fopen(i8* %104, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %105, i32** %14
%106 = load i32*, i32** %14
%107 = icmp eq i32* %106, null
br i1 %107, label %108, label %114
108: ; preds = %96
%109 = load i32, i32* @stderr
%110 = load i8**, i8*** %5
%111 = getelementptr inbounds i8*, i8** %110, i64 2
%112 = load i8*, i8** %111
%113 = call i32 (i32, i8*, ...) @fprintf(i32 %109, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %112)
store i32 20, i32* %3
br label %133
114: ; preds = %96
%115 = load i32*, i32** %14
%116 = ptrtoint i32* %115 to i32
%117 = load i32, i32* %13
%118 = call i32 (i32, i8*, ...) @fprintf(i32 %116, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %117)
%119 = load i32*, i32** %14
%120 = call i32 @fclose(i32* %119)
%121 = load i8**, i8*** %5
%122 = getelementptr inbounds i8*, i8** %121, i64 2
%123 = load i8*, i8** %122
%124 = load i8**, i8*** %5
%125 = getelementptr inbounds i8*, i8** %124, i64 1
%126 = load i8*, i8** %125
%127 = call i64 @rename(i8* %123, i8* %126)
%128 = icmp slt i64 %127, 0
br i1 %128, label %129, label %132
129: ; preds = %114
%130 = load i32, i32* @stderr
%131 = call i32 (i32, i8*, ...) @fprintf(i32 %130, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
store i32 20, i32* %3
br label %133
132: ; preds = %114
br label %39
133: ; preds = %129, %108, %23, %17
%134 = load i32, i32* %3
ret i32 %134
}

LLVM IR (-O2):
%struct.timeval = type { i32, i32 }
@stderr = global i32 0
@.str = [38 x i8] c"usage: readmeter outputfile tempfile\0A\00"
@.str.1 = [15 x i8] c"ioperm failed\0A\00"
@.str.2 = [2 x i8] c"w\00"
@.str.3 = [18 x i8] c"couldn't open %s\0A\00"
@.str.4 = [4 x i8] c"%d\0A\00"
@.str.5 = [22 x i8] c"couldn't rename file\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [3 x double]
%4 = alloca %struct.timeval
%5 = bitcast [3 x double]* %3 to i8*
%6 = icmp slt i32 %0, 2
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0))
br label %73
10: ; preds = %2
%11 = tail call i64 @ioperm(i32 888, i32 3, i32 1)
%12 = icmp slt i64 %11, 0
br i1 %12, label %24, label %13
13: ; preds = %10
%14 = tail call i32 (...) @wait_change()
%15 = bitcast %struct.timeval* %4 to i8*
%16 = getelementptr inbounds %struct.timeval, %struct.timeval* %4, i64 0, i32 0
%17 = getelementptr inbounds %struct.timeval, %struct.timeval* %4, i64 0, i32 1
%18 = getelementptr inbounds i8*, i8** %1, i64 2
%19 = getelementptr inbounds i8*, i8** %1, i64 1
%20 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 0, i64 1
%21 = bitcast double* %20 to i8*
%22 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 0, i64 2
%23 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 0, i64 0
br label %27
24: ; preds = %10
%25 = load i32, i32* @stderr
%26 = tail call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
br label %73
27: ; preds = %72, %13
%28 = phi i64 [ 0, %13 ], [ %36, %72 ]
%29 = tail call i32 (...) @wait_change()
%30 = tail call i32 (...) @wait_change()
%31 = call i32 @gettimeofday(%struct.timeval* %4, i32* null)
%32 = load i32, i32* %16
%33 = load i32, i32* %17
%34 = mul nsw i32 %33, 1000000
%35 = add nsw i32 %34, %32
%36 = sext i32 %35 to i64
%37 = sub nsw i64 %36, %28
%38 = add nsw i64 %37, -10000001
%39 = icmp ult i64 %38, -9750001
br i1 %39, label %72, label %40
40: ; preds = %27
%41 = sitofp i64 %37 to double
%42 = fdiv double 3.600000e+09, %41
%43 = fdiv double %42, 1.000000e+03
store double %43, double* %22
%44 = load double, double* %23
%45 = load double, double* %20
%46 = load i8*, i8** %18
%47 = tail call i32* @fopen(i8* %46, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%48 = icmp eq i32* %47, null
br i1 %48, label %49, label %53
49: ; preds = %40
%50 = load i32, i32* @stderr
%51 = load i8*, i8** %18
%52 = tail call i32 (i32, i8*, ...) @fprintf(i32 %50, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %51)
br label %71
53: ; preds = %40
%54 = fadd double %44, 0.000000e+00
%55 = fadd double %54, %45
%56 = fadd double %55, %43
%57 = fdiv double %56, 3.000000e+00
%58 = fmul double %57, 1.000000e+03
%59 = fptosi double %58 to i32
%60 = ptrtoint i32* %47 to i64
%61 = trunc i64 %60 to i32
%62 = tail call i32 (i32, i8*, ...) @fprintf(i32 %61, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %59)
%63 = tail call i32 @fclose(i32* %47)
%64 = load i8*, i8** %18
%65 = load i8*, i8** %19
%66 = tail call i64 @rename(i8* %64, i8* %65)
%67 = icmp slt i64 %66, 0
br i1 %67, label %68, label %72
68: ; preds = %53
%69 = load i32, i32* @stderr
%70 = tail call i32 (i32, i8*, ...) @fprintf(i32 %69, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %71
71: ; preds = %49, %68
br label %73
72: ; preds = %53, %27
br label %27
73: ; preds = %71, %24, %7
ret i32 20
}