#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 */
char *ctime(unsigned long *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ pclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *popen(char *, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sprintf(char *, char *, char *, char *, char *);
int /*<<< orphan*/ sscanf(char *, char *, unsigned long *, float *, float *);
scalar_t__ strchr(char *, char);
int main(int iArg, char **cArg) {
  FILE *pp;
  float fIn, fOut, fMaxIn = 0.0, fMaxOut = 0.0;
  char cBuf[256];
  long unsigned luDate = 0;
  long unsigned luMaxInDate = 0;
  long unsigned luMaxOutDate = 0;
  if (iArg != 4) {
    printf("usage: %s <rrd file> <start time> <end time>\n", cArg[0]);
    exit(0);
  }
  sprintf(cBuf, "rrdtool fetch %.128s AVERAGE -s %.32s -e %.32s", cArg[1],
          cArg[2], cArg[3]);
  pp = popen(cBuf, "r");
  if (pp == NULL) {
    printf("error %s\n", cBuf);
    exit(1);
  }
  while (fgets(cBuf, 255, pp) != NULL) {
    if (strchr(cBuf, ':')) {
      sscanf(cBuf, "%lu: %f %f", &luDate, &fIn, &fOut);
      printf("%2.2f %2.2f %s", fIn, fOut, ctime(&luDate));
      if (fIn > fMaxIn) {
        fMaxIn = fIn;
        luMaxInDate = luDate;
      }
      if (fOut > fMaxOut) {
        fMaxOut = fOut;
        luMaxOutDate = luDate;
      }
    }
  }
  if (luMaxInDate || luMaxOutDate) {
    printf("Max in: %2.2f at %s (%lu)\n", fMaxIn, ctime(&luMaxInDate),
           luMaxInDate);
    printf("Max out: %2.2f at %s (%lu)\n", fMaxOut, ctime(&luMaxOutDate),
           luMaxOutDate);
  } else {
    printf("No valid data found\n");
  }
  pclose(pp);
  exit(0);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x170,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x24(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x28(%rbp)
movq   $0x0,-0x138(%rbp)
movq   $0x0,-0x140(%rbp)
movq   $0x0,-0x148(%rbp)
cmpl   $0x4,-0x8(%rbp)
je     1200 <main+0x70>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %edi,%edi
call   10b0 <exit@plt>
lea    -0x130(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rcx
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%r8
lea    0xe08(%rip),%rsi
call   10a0 <sprintf@plt>
lea    -0x130(%rbp),%rdi
lea    0xe24(%rip),%rsi
call   1090 <popen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    126c <main+0xdc>
lea    -0x130(%rbp),%rsi
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
jmp    1271 <main+0xe1>
lea    -0x130(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0xff,%esi
call   1070 <fgets@plt>
cmp    $0x0,%rax
je     1374 <main+0x1e4>
lea    -0x130(%rbp),%rdi
mov    $0x3a,%esi
call   1040 <strchr@plt>
cmp    $0x0,%rax
je     136f <main+0x1df>
lea    -0x130(%rbp),%rdi
lea    0xdb0(%rip),%rsi
lea    -0x138(%rbp),%rdx
lea    -0x1c(%rbp),%rcx
lea    -0x20(%rbp),%r8
call   1080 <sscanf@plt>
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x158(%rbp)
ff
movss  -0x20(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
lea    -0x138(%rbp),%rdi
call   1030 <ctime@plt>
movsd  -0x158(%rbp),%xmm0
ff
movsd  -0x150(%rbp),%xmm1
ff
mov    %rax,%rsi
lea    0xd5f(%rip),%rdi
mov    $0x2,%al
call   1050 <printf@plt>
movss  -0x1c(%rbp),%xmm0
ucomiss -0x24(%rbp),%xmm0
jbe    1343 <main+0x1b3>
movss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x24(%rbp)
mov    -0x138(%rbp),%rax
mov    %rax,-0x140(%rbp)
movss  -0x20(%rbp),%xmm0
ucomiss -0x28(%rbp),%xmm0
jbe    136a <main+0x1da>
movss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x28(%rbp)
mov    -0x138(%rbp),%rax
mov    %rax,-0x148(%rbp)
jmp    136f <main+0x1df>
jmp    1271 <main+0xe1>
cmpq   $0x0,-0x140(%rbp)
jne    1390 <main+0x200>
cmpq   $0x0,-0x148(%rbp)
je     140f <main+0x27f>
movss  -0x24(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x168(%rbp)
ff
lea    -0x140(%rbp),%rdi
call   1030 <ctime@plt>
movsd  -0x168(%rbp),%xmm0
ff
mov    %rax,%rsi
mov    -0x140(%rbp),%rdx
lea    0xcbd(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movss  -0x28(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x160(%rbp)
ff
lea    -0x148(%rbp),%rdi
call   1030 <ctime@plt>
movsd  -0x160(%rbp),%xmm0
ff
mov    %rax,%rsi
mov    -0x148(%rbp),%rdx
lea    0xc9b(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
jmp    141d <main+0x28d>
lea    0xca4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <pclose@plt>
xor    %edi,%edi
call   10b0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x148,%rsp
movq   $0x0,0x30(%rsp)
movq   $0x0,0x28(%rsp)
movq   $0x0,0x20(%rsp)
cmp    $0x4,%edi
jne    1222 <main+0x82>
mov    0x8(%rsi),%rdx
mov    0x10(%rsi),%rcx
mov    0x18(%rsi),%r8
lea    0xe4a(%rip),%rsi
lea    0x40(%rsp),%rbx
mov    %rbx,%rdi
call   10b0 <sprintf@plt>
lea    0xe65(%rip),%rsi
mov    %rbx,%rdi
call   10a0 <popen@plt>
test   %rax,%rax
jne    123a <main+0x9a>
lea    0xe53(%rip),%rdi
lea    0x40(%rsp),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    (%rsi),%rsi
lea    0xdd4(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %edi,%edi
call   10c0 <exit@plt>
mov    %rax,%r14
lea    0x40(%rsp),%rdi
mov    $0xff,%esi
mov    %rax,%rdx
call   1080 <fgets@plt>
test   %rax,%rax
jne    12e9 <main+0x149>
xorps  %xmm0,%xmm0
movss  %xmm0,0x4(%rsp)
xor    %r13d,%r13d
xor    %ebp,%ebp
xorps  %xmm2,%xmm2
or     %rbp,%r13
je     13f4 <main+0x254>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x18(%rsp)
lea    0x28(%rsp),%rdi
movss  %xmm2,0x8(%rsp)
call   1040 <ctime@plt>
mov    0x28(%rsp),%rdx
lea    0xde5(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    %rax,%rsi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
lea    0x20(%rsp),%rdi
call   1040 <ctime@plt>
mov    0x20(%rsp),%rdx
lea    0xdca(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    %rax,%rsi
mov    $0x1,%al
call   1060 <printf@plt>
jmp    1400 <main+0x260>
xorps  %xmm1,%xmm1
xor    %r13d,%r13d
lea    0x40(%rsp),%rbx
lea    0x30(%rsp),%r12
lea    0xd74(%rip),%r15
xor    %ebp,%ebp
xorps  %xmm0,%xmm0
movss  %xmm0,0x4(%rsp)
jmp    1342 <main+0x1a2>
nopl   (%rax)
mov    0x30(%rsp),%r13
mov    %r13,0x20(%rsp)
movss  %xmm1,0x8(%rsp)
mov    %rbx,%rdi
mov    $0xff,%esi
mov    %r14,%rdx
call   1080 <fgets@plt>
movss  0x8(%rsp),%xmm2
movaps %xmm2,%xmm1
test   %rax,%rax
je     1269 <main+0xc9>
movss  %xmm1,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x3a,%esi
call   1050 <strchr@plt>
test   %rax,%rax
je     1320 <main+0x180>
mov    %rbx,%rdi
lea    0xd05(%rip),%rsi
mov    %r12,%rdx
lea    0x14(%rsp),%rcx
lea    0x10(%rsp),%r8
call   1090 <sscanf@plt>
movss  0x14(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x18(%rsp)
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x38(%rsp)
mov    %r12,%rdi
call   1040 <ctime@plt>
mov    %r15,%rdi
movsd  0x18(%rsp),%xmm0
movsd  0x38(%rsp),%xmm1
mov    %rax,%rsi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x14(%rsp),%xmm0
ucomiss 0x4(%rsp),%xmm0
jbe    13d4 <main+0x234>
mov    0x30(%rsp),%rbp
mov    %rbp,0x28(%rsp)
movss  %xmm0,0x4(%rsp)
movss  0x10(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
ucomiss %xmm0,%xmm1
ja     1310 <main+0x170>
movss  %xmm0,0x8(%rsp)
jmp    1320 <main+0x180>
lea    0xcbf(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1070 <pclose@plt>
xor    %edi,%edi
call   10c0 <exit@plt>

LLVM IR (-O0):
@.str = [46 x i8] c"usage: %s <rrd file> <start time> <end time>\0A\00"
@.str.1 = [47 x i8] c"rrdtool fetch %.128s AVERAGE -s %.32s -e %.32s\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [10 x i8] c"error %s\0A\00"
@.str.4 = [11 x i8] c"%lu: %f %f\00"
@.str.5 = [15 x i8] c"%2.2f %2.2f %s\00"
@.str.6 = [27 x i8] c"Max in: %2.2f at %s (%lu)\0A\00"
@.str.7 = [28 x i8] c"Max out: %2.2f at %s (%lu)\0A\00"
@.str.8 = [21 x i8] c"No valid data found\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca [256 x i8]
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store float 0.000000e+00, float* %9
store float 0.000000e+00, float* %10
store i64 0, i64* %12
store i64 0, i64* %13
store i64 0, i64* %14
%15 = load i32, i32* %4
%16 = icmp ne i32 %15, 4
br i1 %16, label %17, label %23
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 0
%20 = load i8*, i8** %19
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0), i8* %20)
%22 = call i32 @exit(i32 0)
unreachable
23: ; preds = %2
%24 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 1
%27 = load i8*, i8** %26
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 2
%30 = load i8*, i8** %29
%31 = load i8**, i8*** %5
%32 = getelementptr inbounds i8*, i8** %31, i64 3
%33 = load i8*, i8** %32
%34 = call i32 @sprintf(i8* %24, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0), i8* %27, i8* %30, i8* %33)
%35 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%36 = call i32* @popen(i8* %35, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %36, i32** %6
%37 = load i32*, i32** %6
%38 = icmp eq i32* %37, null
br i1 %38, label %39, label %43
39: ; preds = %23
%40 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* %40)
%42 = call i32 @exit(i32 1)
unreachable
43: ; preds = %23
br label %44
44: ; preds = %76, %43
%45 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%46 = load i32*, i32** %6
%47 = call i32* @fgets(i8* %45, i32 255, i32* %46)
%48 = icmp ne i32* %47, null
br i1 %48, label %49, label %77
49: ; preds = %44
%50 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%51 = call i64 @strchr(i8* %50, i8 signext 58)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %76
53: ; preds = %49
%54 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%55 = call i32 @sscanf(i8* %54, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i64* %12, float* %7, float* %8)
%56 = load float, float* %7
%57 = fpext float %56 to double
%58 = load float, float* %8
%59 = fpext float %58 to double
%60 = call i8* @ctime(i64* %12)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), double %57, double %59, i8* %60)
%62 = load float, float* %7
%63 = load float, float* %9
%64 = fcmp ogt float %62, %63
br i1 %64, label %65, label %68
65: ; preds = %53
%66 = load float, float* %7
store float %66, float* %9
%67 = load i64, i64* %12
store i64 %67, i64* %13
br label %68
68: ; preds = %65, %53
%69 = load float, float* %8
%70 = load float, float* %10
%71 = fcmp ogt float %69, %70
br i1 %71, label %72, label %75
72: ; preds = %68
%73 = load float, float* %8
store float %73, float* %10
%74 = load i64, i64* %12
store i64 %74, i64* %14
br label %75
75: ; preds = %72, %68
br label %76
76: ; preds = %75, %49
br label %44
77: ; preds = %44
%78 = load i64, i64* %13
%79 = icmp ne i64 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %77
%81 = load i64, i64* %14
%82 = icmp ne i64 %81, 0
br i1 %82, label %83, label %94
83: ; preds = %80, %77
%84 = load float, float* %9
%85 = fpext float %84 to double
%86 = call i8* @ctime(i64* %13)
%87 = load i64, i64* %13
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0), double %85, i8* %86, i64 %87)
%89 = load float, float* %10
%90 = fpext float %89 to double
%91 = call i8* @ctime(i64* %14)
%92 = load i64, i64* %14
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), double %90, i8* %91, i64 %92)
br label %96
94: ; preds = %80
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
br label %96
96: ; preds = %94, %83
%97 = load i32*, i32** %6
%98 = call i32 @pclose(i32* %97)
%99 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [46 x i8] c"usage: %s <rrd file> <start time> <end time>\0A\00"
@.str.1 = [47 x i8] c"rrdtool fetch %.128s AVERAGE -s %.32s -e %.32s\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [10 x i8] c"error %s\0A\00"
@.str.4 = [11 x i8] c"%lu: %f %f\00"
@.str.5 = [15 x i8] c"%2.2f %2.2f %s\00"
@.str.6 = [27 x i8] c"Max in: %2.2f at %s (%lu)\0A\00"
@.str.7 = [28 x i8] c"Max out: %2.2f at %s (%lu)\0A\00"
@str = [20 x i8] c"No valid data found\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca float
%4 = alloca float
%5 = alloca [256 x i8]
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
%9 = bitcast float* %3 to i8*
%10 = bitcast float* %4 to i8*
%11 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 0
%12 = bitcast i64* %6 to i8*
store i64 0, i64* %6
%13 = bitcast i64* %7 to i8*
store i64 0, i64* %7
%14 = bitcast i64* %8 to i8*
store i64 0, i64* %8
%15 = icmp eq i32 %0, 4
br i1 %15, label %20, label %16
16: ; preds = %2
%17 = load i8*, i8** %1
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0), i8* %17)
%19 = tail call i32 @exit(i32 0)
unreachable
20: ; preds = %2
%21 = getelementptr inbounds i8*, i8** %1, i64 1
%22 = load i8*, i8** %21
%23 = getelementptr inbounds i8*, i8** %1, i64 2
%24 = load i8*, i8** %23
%25 = getelementptr inbounds i8*, i8** %1, i64 3
%26 = load i8*, i8** %25
%27 = call i32 @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0), i8* %22, i8* %24, i8* %26)
%28 = call i32* @popen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%29 = icmp eq i32* %28, null
br i1 %29, label %33, label %30
30: ; preds = %20
%31 = call i32* @fgets(i8* %11, i32 255, i32* %28)
%32 = icmp eq i32* %31, null
br i1 %32, label %69, label %36
33: ; preds = %20
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* %11)
%35 = call i32 @exit(i32 1)
unreachable
36: ; preds = %30, %62
%37 = phi i64 [ %63, %62 ], [ 0, %30 ]
%38 = phi i64 [ %64, %62 ], [ 0, %30 ]
%39 = phi float [ %66, %62 ], [ 0.000000e+00, %30 ]
%40 = phi float [ %65, %62 ], [ 0.000000e+00, %30 ]
%41 = call i64 @strchr(i8* %11, i8 signext 58)
%42 = icmp eq i64 %41, 0
br i1 %42, label %62, label %43
43: ; preds = %36
%44 = call i32 @sscanf(i8* %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i64* %6, float* %3, float* %4)
%45 = load float, float* %3
%46 = fpext float %45 to double
%47 = load float, float* %4
%48 = fpext float %47 to double
%49 = call i8* @ctime(i64* %6)
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), double %46, double %48, i8* %49)
%51 = load float, float* %3
%52 = fcmp ogt float %51, %40
br i1 %52, label %53, label %55
53: ; preds = %43
%54 = load i64, i64* %6
store i64 %54, i64* %7
br label %55
55: ; preds = %53, %43
%56 = phi i64 [ %54, %53 ], [ %38, %43 ]
%57 = phi float [ %51, %53 ], [ %40, %43 ]
%58 = load float, float* %4
%59 = fcmp ogt float %58, %39
br i1 %59, label %60, label %62
60: ; preds = %55
%61 = load i64, i64* %6
store i64 %61, i64* %8
br label %62
62: ; preds = %55, %60, %36
%63 = phi i64 [ %61, %60 ], [ %37, %55 ], [ %37, %36 ]
%64 = phi i64 [ %56, %60 ], [ %56, %55 ], [ %38, %36 ]
%65 = phi float [ %57, %60 ], [ %57, %55 ], [ %40, %36 ]
%66 = phi float [ %58, %60 ], [ %39, %55 ], [ %39, %36 ]
%67 = call i32* @fgets(i8* %11, i32 255, i32* %28)
%68 = icmp eq i32* %67, null
br i1 %68, label %69, label %36
69: ; preds = %62, %30
%70 = phi i64 [ 0, %30 ], [ %63, %62 ]
%71 = phi i64 [ 0, %30 ], [ %64, %62 ]
%72 = phi float [ 0.000000e+00, %30 ], [ %65, %62 ]
%73 = phi float [ 0.000000e+00, %30 ], [ %66, %62 ]
%74 = icmp ne i64 %71, 0
%75 = icmp ne i64 %70, 0
%76 = select i1 %74, i1 true, i1 %75
br i1 %76, label %77, label %86
77: ; preds = %69
%78 = fpext float %72 to double
%79 = call i8* @ctime(i64* %7)
%80 = load i64, i64* %7
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0), double %78, i8* %79, i64 %80)
%82 = fpext float %73 to double
%83 = call i8* @ctime(i64* %8)
%84 = load i64, i64* %8
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), double %82, i8* %83, i64 %84)
br label %88
86: ; preds = %69
%87 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
br label %88
88: ; preds = %86, %77
%89 = call i32 @pclose(i32* %28)
%90 = call i32 @exit(i32 0)
unreachable
}