#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 */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, double *);
int main(void) {
  double Num[10], largest, smallest, sum, average;
  int i;
  printf("Array Example 2 - "
         "Manipulation of array data\n\n");
  printf("Enter a series of 10 numbers:\n");
  for (i = 0; i < 10; i++)
    scanf("%lf", &Num[i]);
  sum = 0.0;
  largest = smallest = Num[0];
  for (i = 0; i < 10; i++) {
    sum += Num[i];
    if (Num[i] > largest)
      largest = Num[i];
    else if (Num[i] < smallest)
      smallest = Num[i];
  }
  printf("The sum is %2.2f\n"
         "The average is %2.2f\n"
         "The largest value is %2.2f\n"
         "The smallest value is %2.2lf\n\n",
         sum, sum / 10.0, largest, smallest);
  for (i = 0; i < 10; i++)
    if (Num[i] > 0.0F)
      printf("%2.2lf ", Num[i]);
  printf("\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x84(%rbp)
cmpl   $0xa,-0x84(%rbp)
jge    1197 <main+0x77>
movslq -0x84(%rbp),%rax
lea    -0x60(%rbp),%rsi
shl    $0x3,%rax
add    %rax,%rsi
lea    0xed8(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
jmp    1158 <main+0x38>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  %xmm0,-0x68(%rbp)
movl   $0x0,-0x84(%rbp)
cmpl   $0xa,-0x84(%rbp)
jge    1257 <main+0x137>
movslq -0x84(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
addsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movslq -0x84(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
ucomisd -0x68(%rbp),%xmm0
jbe    120b <main+0xeb>
movslq -0x84(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
movsd  %xmm0,-0x68(%rbp)
jmp    123e <main+0x11e>
movslq -0x84(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm1
movsd  -0x70(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1239 <main+0x119>
movslq -0x84(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    123e <main+0x11e>
jmp    1243 <main+0x123>
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
jmp    11b8 <main+0x98>
movsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm1
movsd  0xd97(%rip),%xmm2
divsd  %xmm2,%xmm1
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm3
lea    0xddc(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
movl   $0x0,-0x84(%rbp)
cmpl   $0xa,-0x84(%rbp)
jge    12ea <main+0x1ca>
movslq -0x84(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    12d1 <main+0x1b1>
movslq -0x84(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
lea    0xdf0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    12d6 <main+0x1b6>
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
jmp    128f <main+0x16f>
lea    0xd43(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x50,%rsp
lea    0xf38(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5a(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb4(%rip),%rbx
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x28(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x38(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x40(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0x48(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
movsd  (%rsp),%xmm2
movsd  0x8(%rsp),%xmm1
xorpd  %xmm0,%xmm0
addsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    11fb <main+0xcb>
movapd %xmm2,%xmm3
movapd %xmm1,%xmm2
jmp    120b <main+0xdb>
ucomisd %xmm1,%xmm2
jbe    1207 <main+0xd7>
movapd %xmm1,%xmm3
jmp    120b <main+0xdb>
movapd %xmm2,%xmm3
movsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    1221 <main+0xf1>
movapd %xmm1,%xmm2
jmp    122b <main+0xfb>
ucomisd %xmm1,%xmm3
jbe    122b <main+0xfb>
movapd %xmm1,%xmm3
movsd  0x18(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    1241 <main+0x111>
movapd %xmm1,%xmm2
jmp    124b <main+0x11b>
ucomisd %xmm1,%xmm3
jbe    124b <main+0x11b>
movapd %xmm1,%xmm3
movsd  0x20(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    1261 <main+0x131>
movapd %xmm1,%xmm2
jmp    126b <main+0x13b>
ucomisd %xmm1,%xmm3
jbe    126b <main+0x13b>
movapd %xmm1,%xmm3
movsd  0x28(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    1281 <main+0x151>
movapd %xmm1,%xmm2
jmp    128b <main+0x15b>
ucomisd %xmm1,%xmm3
jbe    128b <main+0x15b>
movapd %xmm1,%xmm3
movsd  0x30(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    12a1 <main+0x171>
movapd %xmm1,%xmm2
jmp    12ab <main+0x17b>
ucomisd %xmm1,%xmm3
jbe    12ab <main+0x17b>
movapd %xmm1,%xmm3
movsd  0x38(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    12c1 <main+0x191>
movapd %xmm1,%xmm2
jmp    12cb <main+0x19b>
ucomisd %xmm1,%xmm3
jbe    12cb <main+0x19b>
movapd %xmm1,%xmm3
movsd  0x40(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    12e1 <main+0x1b1>
movapd %xmm1,%xmm2
jmp    12eb <main+0x1bb>
ucomisd %xmm1,%xmm3
jbe    12eb <main+0x1bb>
movapd %xmm1,%xmm3
movsd  0x48(%rsp),%xmm1
addsd  %xmm1,%xmm0
ucomisd %xmm2,%xmm1
jbe    1301 <main+0x1d1>
movapd %xmm1,%xmm2
jmp    130b <main+0x1db>
ucomisd %xmm1,%xmm3
jbe    130b <main+0x1db>
movapd %xmm1,%xmm3
movapd %xmm0,%xmm1
divsd  0xce9(%rip),%xmm1
lea    0xcee(%rip),%rdi
mov    $0x4,%al
call   1040 <printf@plt>
movsd  (%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1346 <main+0x216>
lea    0xd31(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xorpd  %xmm1,%xmm1
movsd  0x8(%rsp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1360 <main+0x230>
lea    0xd13(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x10(%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1382 <main+0x252>
lea    0xcf5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xorpd  %xmm1,%xmm1
movsd  0x18(%rsp),%xmm0
ucomisd %xmm1,%xmm0
jbe    139c <main+0x26c>
lea    0xcd7(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x20(%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    13be <main+0x28e>
lea    0xcb9(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xorpd  %xmm1,%xmm1
movsd  0x28(%rsp),%xmm0
ucomisd %xmm1,%xmm0
jbe    13d8 <main+0x2a8>
lea    0xc9b(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x30(%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    13fa <main+0x2ca>
lea    0xc7d(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xorpd  %xmm1,%xmm1
movsd  0x38(%rsp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1414 <main+0x2e4>
lea    0xc5f(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x40(%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1436 <main+0x306>
lea    0xc41(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xorpd  %xmm1,%xmm1
movsd  0x48(%rsp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1450 <main+0x320>
lea    0xc23(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xc13(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [47 x i8] c"Array Example 2 - Manipulation of array data\0A\0A\00"
@.str.1 = [31 x i8] c"Enter a series of 10 numbers:\0A\00"
@.str.2 = [4 x i8] c"%lf\00"
@.str.3 = [96 x i8] c"The sum is %2.2f\0AThe average is %2.2f\0AThe largest value is %2.2f\0AThe smallest value is %2.2lf\0A\0A\00"
@.str.4 = [8 x i8] c"%2.2lf \00"
@.str.5 = [3 x i8] c"\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x double]
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca i32
store i32 0, i32* %1
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %7
br label %10
10: ; preds = %18, %0
%11 = load i32, i32* %7
%12 = icmp slt i32 %11, 10
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load i32, i32* %7
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %15
%17 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %16)
br label %18
18: ; preds = %13
%19 = load i32, i32* %7
%20 = add nsw i32 %19, 1
store i32 %20, i32* %7
br label %10
21: ; preds = %10
store double 0.000000e+00, double* %5
%22 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 0
%23 = load double, double* %22
store double %23, double* %4
store double %23, double* %3
store i32 0, i32* %7
br label %24
24: ; preds = %59, %21
%25 = load i32, i32* %7
%26 = icmp slt i32 %25, 10
br i1 %26, label %27, label %62
27: ; preds = %24
%28 = load i32, i32* %7
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %29
%31 = load double, double* %30
%32 = load double, double* %5
%33 = fadd double %32, %31
store double %33, double* %5
%34 = load i32, i32* %7
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %35
%37 = load double, double* %36
%38 = load double, double* %3
%39 = fcmp ogt double %37, %38
br i1 %39, label %40, label %45
40: ; preds = %27
%41 = load i32, i32* %7
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %42
%44 = load double, double* %43
store double %44, double* %3
br label %58
45: ; preds = %27
%46 = load i32, i32* %7
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %47
%49 = load double, double* %48
%50 = load double, double* %4
%51 = fcmp olt double %49, %50
br i1 %51, label %52, label %57
52: ; preds = %45
%53 = load i32, i32* %7
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %54
%56 = load double, double* %55
store double %56, double* %4
br label %57
57: ; preds = %52, %45
br label %58
58: ; preds = %57, %40
br label %59
59: ; preds = %58
%60 = load i32, i32* %7
%61 = add nsw i32 %60, 1
store i32 %61, i32* %7
br label %24
62: ; preds = %24
%63 = load double, double* %5
%64 = load double, double* %5
%65 = fdiv double %64, 1.000000e+01
%66 = load double, double* %3
%67 = load double, double* %4
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str.3, i64 0, i64 0), double %63, double %65, double %66, double %67)
store i32 0, i32* %7
br label %69
69: ; preds = %85, %62
%70 = load i32, i32* %7
%71 = icmp slt i32 %70, 10
br i1 %71, label %72, label %88
72: ; preds = %69
%73 = load i32, i32* %7
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %74
%76 = load double, double* %75
%77 = fcmp ogt double %76, 0.000000e+00
br i1 %77, label %78, label %84
78: ; preds = %72
%79 = load i32, i32* %7
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %80
%82 = load double, double* %81
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %82)
br label %84
84: ; preds = %78, %72
br label %85
85: ; preds = %84
%86 = load i32, i32* %7
%87 = add nsw i32 %86, 1
store i32 %87, i32* %7
br label %69
88: ; preds = %69
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [4 x i8] c"%lf\00"
@.str.3 = [96 x i8] c"The sum is %2.2f\0AThe average is %2.2f\0AThe largest value is %2.2f\0AThe smallest value is %2.2lf\0A\0A\00"
@.str.4 = [8 x i8] c"%2.2lf \00"
@str = [46 x i8] c"Array Example 2 - Manipulation of array data\0A\00"
@str.6 = [30 x i8] c"Enter a series of 10 numbers:\00"
@str.7 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca [10 x double]
%2 = bitcast [10 x double]* %1 to i8*
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.6, i64 0, i64 0))
%5 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 0
%6 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %5)
%7 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 1
%8 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %7)
%9 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 2
%10 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %9)
%11 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 3
%12 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %11)
%13 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 4
%14 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %13)
%15 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 5
%16 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %15)
%17 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 6
%18 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %17)
%19 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 7
%20 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %19)
%21 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 8
%22 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %21)
%23 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 9
%24 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double* %23)
%25 = load double, double* %5
%26 = fadd double %25, 0.000000e+00
%27 = load double, double* %7
%28 = fadd double %26, %27
%29 = fcmp ogt double %27, %25
br i1 %29, label %33, label %30
30: ; preds = %0
%31 = fcmp olt double %27, %25
br i1 %31, label %32, label %33
32: ; preds = %30
br label %33
33: ; preds = %32, %30, %0
%34 = phi double [ %27, %32 ], [ %25, %30 ], [ %25, %0 ]
%35 = phi double [ %25, %32 ], [ %25, %30 ], [ %27, %0 ]
%36 = load double, double* %9
%37 = fadd double %28, %36
%38 = fcmp ogt double %36, %35
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = fcmp olt double %36, %34
br i1 %40, label %41, label %42
41: ; preds = %39
br label %42
42: ; preds = %41, %39, %33
%43 = phi double [ %36, %41 ], [ %34, %39 ], [ %34, %33 ]
%44 = phi double [ %35, %41 ], [ %35, %39 ], [ %36, %33 ]
%45 = load double, double* %11
%46 = fadd double %37, %45
%47 = fcmp ogt double %45, %44
br i1 %47, label %51, label %48
48: ; preds = %42
%49 = fcmp olt double %45, %43
br i1 %49, label %50, label %51
50: ; preds = %48
br label %51
51: ; preds = %50, %48, %42
%52 = phi double [ %45, %50 ], [ %43, %48 ], [ %43, %42 ]
%53 = phi double [ %44, %50 ], [ %44, %48 ], [ %45, %42 ]
%54 = load double, double* %13
%55 = fadd double %46, %54
%56 = fcmp ogt double %54, %53
br i1 %56, label %60, label %57
57: ; preds = %51
%58 = fcmp olt double %54, %52
br i1 %58, label %59, label %60
59: ; preds = %57
br label %60
60: ; preds = %59, %57, %51
%61 = phi double [ %54, %59 ], [ %52, %57 ], [ %52, %51 ]
%62 = phi double [ %53, %59 ], [ %53, %57 ], [ %54, %51 ]
%63 = load double, double* %15
%64 = fadd double %55, %63
%65 = fcmp ogt double %63, %62
br i1 %65, label %69, label %66
66: ; preds = %60
%67 = fcmp olt double %63, %61
br i1 %67, label %68, label %69
68: ; preds = %66
br label %69
69: ; preds = %68, %66, %60
%70 = phi double [ %63, %68 ], [ %61, %66 ], [ %61, %60 ]
%71 = phi double [ %62, %68 ], [ %62, %66 ], [ %63, %60 ]
%72 = load double, double* %17
%73 = fadd double %64, %72
%74 = fcmp ogt double %72, %71
br i1 %74, label %78, label %75
75: ; preds = %69
%76 = fcmp olt double %72, %70
br i1 %76, label %77, label %78
77: ; preds = %75
br label %78
78: ; preds = %77, %75, %69
%79 = phi double [ %72, %77 ], [ %70, %75 ], [ %70, %69 ]
%80 = phi double [ %71, %77 ], [ %71, %75 ], [ %72, %69 ]
%81 = load double, double* %19
%82 = fadd double %73, %81
%83 = fcmp ogt double %81, %80
br i1 %83, label %87, label %84
84: ; preds = %78
%85 = fcmp olt double %81, %79
br i1 %85, label %86, label %87
86: ; preds = %84
br label %87
87: ; preds = %86, %84, %78
%88 = phi double [ %81, %86 ], [ %79, %84 ], [ %79, %78 ]
%89 = phi double [ %80, %86 ], [ %80, %84 ], [ %81, %78 ]
%90 = load double, double* %21
%91 = fadd double %82, %90
%92 = fcmp ogt double %90, %89
br i1 %92, label %96, label %93
93: ; preds = %87
%94 = fcmp olt double %90, %88
br i1 %94, label %95, label %96
95: ; preds = %93
br label %96
96: ; preds = %95, %93, %87
%97 = phi double [ %90, %95 ], [ %88, %93 ], [ %88, %87 ]
%98 = phi double [ %89, %95 ], [ %89, %93 ], [ %90, %87 ]
%99 = load double, double* %23
%100 = fadd double %91, %99
%101 = fcmp ogt double %99, %98
br i1 %101, label %105, label %102
102: ; preds = %96
%103 = fcmp olt double %99, %97
br i1 %103, label %104, label %105
104: ; preds = %102
br label %105
105: ; preds = %104, %102, %96
%106 = phi double [ %99, %104 ], [ %97, %102 ], [ %97, %96 ]
%107 = phi double [ %98, %104 ], [ %98, %102 ], [ %99, %96 ]
%108 = fdiv double %100, 1.000000e+01
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @.str.3, i64 0, i64 0), double %100, double %108, double %107, double %106)
%110 = load double, double* %5
%111 = fcmp ogt double %110, 0.000000e+00
br i1 %111, label %112, label %114
112: ; preds = %105
%113 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %110)
br label %114
114: ; preds = %105, %112
%115 = load double, double* %7
%116 = fcmp ogt double %115, 0.000000e+00
br i1 %116, label %117, label %119
117: ; preds = %114
%118 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %115)
br label %119
119: ; preds = %117, %114
%120 = load double, double* %9
%121 = fcmp ogt double %120, 0.000000e+00
br i1 %121, label %122, label %124
122: ; preds = %119
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %120)
br label %124
124: ; preds = %122, %119
%125 = load double, double* %11
%126 = fcmp ogt double %125, 0.000000e+00
br i1 %126, label %127, label %129
127: ; preds = %124
%128 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %125)
br label %129
129: ; preds = %127, %124
%130 = load double, double* %13
%131 = fcmp ogt double %130, 0.000000e+00
br i1 %131, label %132, label %134
132: ; preds = %129
%133 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %130)
br label %134
134: ; preds = %132, %129
%135 = load double, double* %15
%136 = fcmp ogt double %135, 0.000000e+00
br i1 %136, label %137, label %139
137: ; preds = %134
%138 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %135)
br label %139
139: ; preds = %137, %134
%140 = load double, double* %17
%141 = fcmp ogt double %140, 0.000000e+00
br i1 %141, label %142, label %144
142: ; preds = %139
%143 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %140)
br label %144
144: ; preds = %142, %139
%145 = load double, double* %19
%146 = fcmp ogt double %145, 0.000000e+00
br i1 %146, label %147, label %149
147: ; preds = %144
%148 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %145)
br label %149
149: ; preds = %147, %144
%150 = load double, double* %21
%151 = fcmp ogt double %150, 0.000000e+00
br i1 %151, label %152, label %154
152: ; preds = %149
%153 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %150)
br label %154
154: ; preds = %152, %149
%155 = load double, double* %23
%156 = fcmp ogt double %155, 0.000000e+00
br i1 %156, label %157, label %159
157: ; preds = %154
%158 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %155)
br label %159
159: ; preds = %157, %154
%160 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.7, i64 0, i64 0))
ret i32 0
}