#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 *, float, ...);
int /*<<< orphan*/ scanf(char *, float *);
int main() {
  int i, qtdMaior = 0;
  float av1[10];
  float soma = 0, media = 0;
  float maior = -999;
  int qtdMaiorMedia6 = 0;
  float percMaiorMedia6 = 0;
  for (i = 0; i <= 9; i++) {
    printf("\nEntre com a av1 do aluno %d:", i + 1);
    scanf("%f", &av1[i]);
    soma = soma + av1[i];
    if (av1[i] > maior) {
      maior = av1[i];
    }
  }
  media = soma / i;
  printf("\nMedia = %.2f\n", media);
  for (i = 0; i <= 9; i++) {
    if (av1[i] >= media) {
      printf("\nEsta nota >= media - %.2f", av1[i]);
    }
    if (av1[i] == maior) {
      qtdMaior++;
    }
    if (av1[i] >= 6) {
      qtdMaiorMedia6++;
    }
  }
  percMaiorMedia6 = (float)qtdMaiorMedia6 / i;
  printf("\n %d alunos tiraram a maior nota = %.2f\n", qtdMaior, maior);
  printf("\n Porcentagem de alunos com nota maior media 6 = %.2f%% \n",
         percMaiorMedia6 * 100);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x44(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x48(%rbp)
movss  0xeb2(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movl   $0x0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x9,-0x8(%rbp)
jg     11f0 <main+0xd0>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
lea    0xe88(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movslq -0x8(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe89(%rip),%rdi
call   1040 <scanf@plt>
movss  -0x44(%rbp),%xmm0
movslq -0x8(%rbp),%rax
addss  -0x40(%rbp,%rax,4),%xmm0
movss  %xmm0,-0x44(%rbp)
movslq -0x8(%rbp),%rax
movss  -0x40(%rbp,%rax,4),%xmm0
ucomiss -0x4c(%rbp),%xmm0
jbe    11dd <main+0xbd>
movslq -0x8(%rbp),%rax
movss  -0x40(%rbp,%rax,4),%xmm0
movss  %xmm0,-0x4c(%rbp)
jmp    11e2 <main+0xc2>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1169 <main+0x49>
movss  -0x44(%rbp),%xmm0
cvtsi2ssl -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x48(%rbp),%xmm0
lea    0xe1e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x9,-0x8(%rbp)
jg     12ad <main+0x18d>
movslq -0x8(%rbp),%rax
movss  -0x40(%rbp,%rax,4),%xmm0
ucomiss -0x48(%rbp),%xmm0
jb     1253 <main+0x133>
movslq -0x8(%rbp),%rax
movss  -0x40(%rbp,%rax,4),%xmm0
lea    0xdf0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movslq -0x8(%rbp),%rax
movss  -0x40(%rbp,%rax,4),%xmm0
ucomiss -0x4c(%rbp),%xmm0
jne    1276 <main+0x156>
jp     1276 <main+0x156>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
movslq -0x8(%rbp),%rax
movss  -0x40(%rbp,%rax,4),%xmm0
movss  0xd80(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     129a <main+0x17a>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    129f <main+0x17f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    121d <main+0xfd>
cvtsi2ssl -0x50(%rbp),%xmm0
cvtsi2ssl -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x54(%rbp)
cvtsi2ssl -0xc(%rbp),%xmm0
movss  -0x4c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd82(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0xd20(%rip),%xmm0
mulss  -0x54(%rbp),%xmm0
lea    0xd90(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x38,%rsp
lea    0xeff(%rip),%r14
movss  0xec7(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf04(%rip),%rbx
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x10(%rsp),%xmm1
xorps  %xmm0,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xe92(%rip),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xe88(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x14(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xe4b(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x18(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xe0e(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x1c(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xdd1(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x20(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xd94(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x24(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x24(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xd57(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x28(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x28(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xd1a(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x2c(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x2c(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xcdd(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x30(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
movss  0xca0(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x34(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0x34(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
maxss  0xc(%rsp),%xmm1
movss  %xmm1,0xc(%rsp)
divss  0xc65(%rip),%xmm0
lea    0xc87(%rip),%rdi
movss  %xmm0,0x8(%rsp)
mov    $0x1,%al
call   1030 <printf@plt>
movss  0xc(%rsp),%xmm2
xor    %ebx,%ebx
lea    0xc7a(%rip),%r14
xor    %ebp,%ebp
xor    %r15d,%r15d
jmp    1413 <main+0x2f3>
nopl   (%rax)
movaps %xmm0,%xmm1
cmpeqss %xmm2,%xmm1
movd   %xmm1,%eax
sub    %eax,%r15d
ucomiss 0xc12(%rip),%xmm0
sbb    $0xffffffff,%ebp
add    $0x1,%rbx
cmp    $0xa,%rbx
je     1438 <main+0x318>
movss  0x10(%rsp,%rbx,4),%xmm0
ucomiss 0x8(%rsp),%xmm0
jb     13f0 <main+0x2d0>
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0xc(%rsp),%xmm2
movss  0x10(%rsp,%rbx,4),%xmm0
jmp    13f0 <main+0x2d0>
xorps  %xmm0,%xmm0
cvtsi2ss %ebp,%xmm0
divss  0xbe1(%rip),%xmm0
movss  %xmm0,0x8(%rsp)
xorps  %xmm0,%xmm0
cvtsi2ss %r15d,%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm2,%xmm1
lea    0xc18(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
mulss  0xbb4(%rip),%xmm0
lea    0xc25(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [30 x i8] c"\0AEntre com a av1 do aluno %d:\00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [15 x i8] c"\0AMedia = %.2f\0A\00"
@.str.3 = [27 x i8] c"\0AEsta nota >= media - %.2f\00"
@.str.4 = [41 x i8] c"\0A %d alunos tiraram a maior nota = %.2f\0A\00"
@.str.5 = [58 x i8] c"\0A Porcentagem de alunos com nota maior media 6 = %.2f%% \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [10 x float]
%5 = alloca float
%6 = alloca float
%7 = alloca float
%8 = alloca i32
%9 = alloca float
store i32 0, i32* %1
store i32 0, i32* %3
store float 0.000000e+00, float* %5
store float 0.000000e+00, float* %6
store float -9.990000e+02, float* %7
store i32 0, i32* %8
store float 0.000000e+00, float* %9
store i32 0, i32* %2
br label %10
10: ; preds = %40, %0
%11 = load i32, i32* %2
%12 = icmp sle i32 %11, 9
br i1 %12, label %13, label %43
13: ; preds = %10
%14 = load i32, i32* %2
%15 = add nsw i32 %14, 1
%16 = sitofp i32 %15 to float
%17 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float %16)
%18 = load i32, i32* %2
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %19
%21 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %20)
%22 = load float, float* %5
%23 = load i32, i32* %2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %24
%26 = load float, float* %25
%27 = fadd float %22, %26
store float %27, float* %5
%28 = load i32, i32* %2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %29
%31 = load float, float* %30
%32 = load float, float* %7
%33 = fcmp ogt float %31, %32
br i1 %33, label %34, label %39
34: ; preds = %13
%35 = load i32, i32* %2
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %36
%38 = load float, float* %37
store float %38, float* %7
br label %39
39: ; preds = %34, %13
br label %40
40: ; preds = %39
%41 = load i32, i32* %2
%42 = add nsw i32 %41, 1
store i32 %42, i32* %2
br label %10
43: ; preds = %10
%44 = load float, float* %5
%45 = load i32, i32* %2
%46 = sitofp i32 %45 to float
%47 = fdiv float %44, %46
store float %47, float* %6
%48 = load float, float* %6
%49 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), float %48)
store i32 0, i32* %2
br label %50
50: ; preds = %86, %43
%51 = load i32, i32* %2
%52 = icmp sle i32 %51, 9
br i1 %52, label %53, label %89
53: ; preds = %50
%54 = load i32, i32* %2
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %55
%57 = load float, float* %56
%58 = load float, float* %6
%59 = fcmp oge float %57, %58
br i1 %59, label %60, label %66
60: ; preds = %53
%61 = load i32, i32* %2
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %62
%64 = load float, float* %63
%65 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), float %64)
br label %66
66: ; preds = %60, %53
%67 = load i32, i32* %2
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %68
%70 = load float, float* %69
%71 = load float, float* %7
%72 = fcmp oeq float %70, %71
br i1 %72, label %73, label %76
73: ; preds = %66
%74 = load i32, i32* %3
%75 = add nsw i32 %74, 1
store i32 %75, i32* %3
br label %76
76: ; preds = %73, %66
%77 = load i32, i32* %2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %78
%80 = load float, float* %79
%81 = fcmp oge float %80, 6.000000e+00
br i1 %81, label %82, label %85
82: ; preds = %76
%83 = load i32, i32* %8
%84 = add nsw i32 %83, 1
store i32 %84, i32* %8
br label %85
85: ; preds = %82, %76
br label %86
86: ; preds = %85
%87 = load i32, i32* %2
%88 = add nsw i32 %87, 1
store i32 %88, i32* %2
br label %50
89: ; preds = %50
%90 = load i32, i32* %8
%91 = sitofp i32 %90 to float
%92 = load i32, i32* %2
%93 = sitofp i32 %92 to float
%94 = fdiv float %91, %93
store float %94, float* %9
%95 = load i32, i32* %3
%96 = sitofp i32 %95 to float
%97 = load float, float* %7
%98 = fpext float %97 to double
%99 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), float %96, double %98)
%100 = load float, float* %9
%101 = fmul float %100, 1.000000e+02
%102 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0), float %101)
ret i32 0
}

LLVM IR (-O2):
@.str = [30 x i8] c"\0AEntre com a av1 do aluno %d:\00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [15 x i8] c"\0AMedia = %.2f\0A\00"
@.str.3 = [27 x i8] c"\0AEsta nota >= media - %.2f\00"
@.str.4 = [41 x i8] c"\0A %d alunos tiraram a maior nota = %.2f\0A\00"
@.str.5 = [58 x i8] c"\0A Porcentagem de alunos com nota maior media 6 = %.2f%% \0A\00"
define i32 @main() {
%1 = alloca [10 x float]
%2 = bitcast [10 x float]* %1 to i8*
%3 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 1.000000e+00)
%4 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 0
%5 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %4)
%6 = load float, float* %4
%7 = fadd float %6, 0.000000e+00
%8 = fcmp ogt float %6, -9.990000e+02
%9 = select i1 %8, float %6, float -9.990000e+02
%10 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 2.000000e+00)
%11 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 1
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %11)
%13 = load float, float* %11
%14 = fadd float %7, %13
%15 = fcmp ogt float %13, %9
%16 = select i1 %15, float %13, float %9
%17 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 3.000000e+00)
%18 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 2
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %18)
%20 = load float, float* %18
%21 = fadd float %14, %20
%22 = fcmp ogt float %20, %16
%23 = select i1 %22, float %20, float %16
%24 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 4.000000e+00)
%25 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 3
%26 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %25)
%27 = load float, float* %25
%28 = fadd float %21, %27
%29 = fcmp ogt float %27, %23
%30 = select i1 %29, float %27, float %23
%31 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 5.000000e+00)
%32 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 4
%33 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %32)
%34 = load float, float* %32
%35 = fadd float %28, %34
%36 = fcmp ogt float %34, %30
%37 = select i1 %36, float %34, float %30
%38 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 6.000000e+00)
%39 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 5
%40 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %39)
%41 = load float, float* %39
%42 = fadd float %35, %41
%43 = fcmp ogt float %41, %37
%44 = select i1 %43, float %41, float %37
%45 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 7.000000e+00)
%46 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 6
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %46)
%48 = load float, float* %46
%49 = fadd float %42, %48
%50 = fcmp ogt float %48, %44
%51 = select i1 %50, float %48, float %44
%52 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 8.000000e+00)
%53 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 7
%54 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %53)
%55 = load float, float* %53
%56 = fadd float %49, %55
%57 = fcmp ogt float %55, %51
%58 = select i1 %57, float %55, float %51
%59 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 9.000000e+00)
%60 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 8
%61 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %60)
%62 = load float, float* %60
%63 = fadd float %56, %62
%64 = fcmp ogt float %62, %58
%65 = select i1 %64, float %62, float %58
%66 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), float 1.000000e+01)
%67 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 9
%68 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %67)
%69 = load float, float* %67
%70 = fadd float %63, %69
%71 = fcmp ogt float %69, %65
%72 = select i1 %71, float %69, float %65
%73 = fdiv float %70, 1.000000e+01
%74 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), float %73)
br label %75
75: ; preds = %0, %85
%76 = phi i64 [ 0, %0 ], [ %93, %85 ]
%77 = phi i32 [ 0, %0 ], [ %92, %85 ]
%78 = phi i32 [ 0, %0 ], [ %89, %85 ]
%79 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 %76
%80 = load float, float* %79
%81 = fcmp ult float %80, %73
br i1 %81, label %85, label %82
82: ; preds = %75
%83 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), float %80)
%84 = load float, float* %79
br label %85
85: ; preds = %82, %75
%86 = phi float [ %84, %82 ], [ %80, %75 ]
%87 = fcmp oeq float %86, %72
%88 = zext i1 %87 to i32
%89 = add nuw nsw i32 %78, %88
%90 = fcmp oge float %86, 6.000000e+00
%91 = zext i1 %90 to i32
%92 = add nuw nsw i32 %77, %91
%93 = add nuw nsw i64 %76, 1
%94 = icmp eq i64 %93, 10
br i1 %94, label %95, label %75
95: ; preds = %85
%96 = sitofp i32 %92 to float
%97 = fdiv float %96, 1.000000e+01
%98 = sitofp i32 %89 to float
%99 = fpext float %72 to double
%100 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), float %98, double %99)
%101 = fmul float %97, 1.000000e+02
%102 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0), float %101)
ret i32 0
}