#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 /*<<< orphan*/ system(char *);
int main() {
  int i, j;
  float notas[5][4], med_turm = 0;
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 3; j++) {
      do {
        printf("entre com a av%d do %dº aluno: ", j + 1, i + 1);
        scanf("%f", &notas[i][j]);
      } while (notas[i][j] < 0);
    }
    notas[i][3] = 0;
  }
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 3; j++)
      notas[i][3] += notas[i][j];
    notas[i][3] /= (float)j;
    med_turm += notas[i][3];
  }
  med_turm /= (float)i;
  for (i = 0; i < 5; i++)
    printf("Média aluno %d = %.2f\n", i + 1, notas[i][3]);
  printf("Média da turma = %f\n", med_turm);
  system("pause");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jge    120a <main+0xda>
movl   $0x0,-0xc(%rbp)
cmpl   $0x3,-0xc(%rbp)
jge    11e5 <main+0xb5>
jmp    116e <main+0x3e>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
mov    -0x8(%rbp),%esi
add    $0x1,%esi
lea    0xe7b(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movslq -0x8(%rbp),%rax
lea    -0x60(%rbp),%rsi
shl    $0x4,%rax
add    %rax,%rsi
movslq -0xc(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe74(%rip),%rdi
call   1050 <scanf@plt>
movslq -0x8(%rbp),%rcx
lea    -0x60(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
xorps  %xmm0,%xmm0
ucomiss (%rax,%rcx,4),%xmm0
ja     116e <main+0x3e>
jmp    11d7 <main+0xa7>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    115f <main+0x2f>
movslq -0x8(%rbp),%rcx
lea    -0x60(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0xc(%rax)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    114e <main+0x1e>
movl   $0x0,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jge    12b9 <main+0x189>
movl   $0x0,-0xc(%rbp)
cmpl   $0x3,-0xc(%rbp)
jge    126b <main+0x13b>
movslq -0x8(%rbp),%rcx
lea    -0x60(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0x8(%rbp),%rcx
lea    -0x60(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
addss  0xc(%rax),%xmm0
movss  %xmm0,0xc(%rax)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1222 <main+0xf2>
cvtsi2ssl -0xc(%rbp),%xmm1
movslq -0x8(%rbp),%rcx
lea    -0x60(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movss  0xc(%rax),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,0xc(%rax)
movslq -0x8(%rbp),%rcx
lea    -0x60(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movss  0xc(%rax),%xmm0
addss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1211 <main+0xe1>
cvtsi2ssl -0x8(%rbp),%xmm1
movss  -0x64(%rbp),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jge    131b <main+0x1eb>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
movslq -0x8(%rbp),%rcx
lea    -0x60(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movss  0xc(%rax),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd1e(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12d3 <main+0x1a3>
movss  -0x64(%rbp),%xmm0
lea    0xd15(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xd1d(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x70,%rsp
xor    %r12d,%r12d
lea    0xee9(%rip),%r14
movss  0xeb1(%rip),%xmm1
lea    0xefb(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
mov    %r12,%r13
add    $0x1,%r12
shl    $0x4,%r13
lea    (%rsp,%r13,1),%rbx
nop
mov    %r14,%rdi
movaps %xmm1,%xmm0
mov    %r12d,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
xorps  %xmm0,%xmm0
movss  0xe6a(%rip),%xmm1
ucomiss (%rbx),%xmm0
ja     1170 <main+0x40>
lea    (%rsp,%r13,1),%rbx
add    $0x4,%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r14,%rdi
movss  0xe49(%rip),%xmm0
mov    %r12d,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
xorps  %xmm0,%xmm0
ucomiss (%rbx),%xmm0
ja     11b0 <main+0x80>
lea    (%rsp,%r13,1),%rbx
add    $0x8,%rbx
movss  0xe20(%rip),%xmm0
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %r12d,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
xorps  %xmm1,%xmm1
movss  0xdf5(%rip),%xmm0
ucomiss (%rbx),%xmm1
ja     11f0 <main+0xc0>
movl   $0x0,0xc(%rsp,%r13,1)
cmp    $0x5,%r12
movss  0xdd3(%rip),%xmm1
jne    1160 <main+0x30>
movss  (%rsp),%xmm7
addss  0xc(%rsp),%xmm7
addss  0x4(%rsp),%xmm7
addss  0x8(%rsp),%xmm7
divss  %xmm0,%xmm7
movss  %xmm7,0xc(%rsp)
xorps  %xmm1,%xmm1
addss  %xmm7,%xmm1
movaps 0x10(%rsp),%xmm2
movups 0x14(%rsp),%xmm3
movups 0x18(%rsp),%xmm4
movsd  0x1c(%rsp),%xmm5
movss  0x2c(%rsp),%xmm6
movlhps %xmm2,%xmm6
shufps $0xe2,%xmm2,%xmm6
addps  %xmm5,%xmm6
movss  0x24(%rsp),%xmm2
movlhps %xmm3,%xmm2
shufps $0xe2,%xmm3,%xmm2
addps  %xmm6,%xmm2
movss  0x28(%rsp),%xmm0
movlhps %xmm4,%xmm0
shufps $0xe2,%xmm4,%xmm0
addps  %xmm2,%xmm0
movaps 0xd79(%rip),%xmm2
divps  %xmm2,%xmm0
movss  %xmm0,0x1c(%rsp)
addss  %xmm0,%xmm1
shufps $0x55,%xmm0,%xmm0
movss  %xmm0,0x2c(%rsp)
addss  %xmm1,%xmm0
movaps 0x30(%rsp),%xmm1
movups 0x34(%rsp),%xmm3
movups 0x38(%rsp),%xmm4
movsd  0x3c(%rsp),%xmm5
movss  0x4c(%rsp),%xmm6
movlhps %xmm1,%xmm6
shufps $0xe2,%xmm1,%xmm6
addps  %xmm5,%xmm6
movss  0x44(%rsp),%xmm1
movlhps %xmm3,%xmm1
shufps $0xe2,%xmm3,%xmm1
addps  %xmm6,%xmm1
movss  0x48(%rsp),%xmm3
movlhps %xmm4,%xmm3
shufps $0xe2,%xmm4,%xmm3
addps  %xmm1,%xmm3
divps  %xmm2,%xmm3
movss  %xmm3,0x3c(%rsp)
addss  %xmm3,%xmm0
movaps %xmm0,0x60(%rsp)
shufps $0x55,%xmm3,%xmm3
movaps %xmm3,0x50(%rsp)
movss  %xmm3,0x4c(%rsp)
xorps  %xmm1,%xmm1
cvtss2sd %xmm7,%xmm1
lea    0xd1e(%rip),%rbx
movss  0xcc2(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x1c(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm0,%xmm1
movss  0xca7(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x2c(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm0,%xmm1
mov    %rbx,%rdi
movss  0xc89(%rip),%xmm0
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x3c(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm0,%xmm1
movss  0xc71(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x4c(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm0,%xmm1
movss  0xc56(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movaps 0x50(%rsp),%xmm0
addss  0x60(%rsp),%xmm0
divss  0xc39(%rip),%xmm0
lea    0xc8e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xc96(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [33 x i8] c"entre com a av%d do %d\C2\BA aluno: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [24 x i8] c"M\C3\A9dia aluno %d = %.2f\0A\00"
@.str.3 = [22 x i8] c"M\C3\A9dia da turma = %f\0A\00"
@.str.4 = [6 x i8] c"pause\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [5 x [4 x float]]
%5 = alloca float
store i32 0, i32* %1
store float 0.000000e+00, float* %5
store i32 0, i32* %2
br label %6
6: ; preds = %46, %0
%7 = load i32, i32* %2
%8 = icmp slt i32 %7, 5
br i1 %8, label %9, label %49
9: ; preds = %6
store i32 0, i32* %3
br label %10
10: ; preds = %38, %9
%11 = load i32, i32* %3
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %41
13: ; preds = %10
br label %14
14: ; preds = %28, %13
%15 = load i32, i32* %3
%16 = add nsw i32 %15, 1
%17 = sitofp i32 %16 to float
%18 = load i32, i32* %2
%19 = add nsw i32 %18, 1
%20 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), float %17, i32 %19)
%21 = load i32, i32* %2
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %22
%24 = load i32, i32* %3
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4 x float], [4 x float]* %23, i64 0, i64 %25
%27 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %26)
br label %28
28: ; preds = %14
%29 = load i32, i32* %2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %30
%32 = load i32, i32* %3
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x float], [4 x float]* %31, i64 0, i64 %33
%35 = load float, float* %34
%36 = fcmp olt float %35, 0.000000e+00
br i1 %36, label %14, label %37
37: ; preds = %28
br label %38
38: ; preds = %37
%39 = load i32, i32* %3
%40 = add nsw i32 %39, 1
store i32 %40, i32* %3
br label %10
41: ; preds = %10
%42 = load i32, i32* %2
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %43
%45 = getelementptr inbounds [4 x float], [4 x float]* %44, i64 0, i64 3
store float 0.000000e+00, float* %45
br label %46
46: ; preds = %41
%47 = load i32, i32* %2
%48 = add nsw i32 %47, 1
store i32 %48, i32* %2
br label %6
49: ; preds = %6
store i32 0, i32* %2
br label %50
50: ; preds = %90, %49
%51 = load i32, i32* %2
%52 = icmp slt i32 %51, 5
br i1 %52, label %53, label %93
53: ; preds = %50
store i32 0, i32* %3
br label %54
54: ; preds = %71, %53
%55 = load i32, i32* %3
%56 = icmp slt i32 %55, 3
br i1 %56, label %57, label %74
57: ; preds = %54
%58 = load i32, i32* %2
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %59
%61 = load i32, i32* %3
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [4 x float], [4 x float]* %60, i64 0, i64 %62
%64 = load float, float* %63
%65 = load i32, i32* %2
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %66
%68 = getelementptr inbounds [4 x float], [4 x float]* %67, i64 0, i64 3
%69 = load float, float* %68
%70 = fadd float %69, %64
store float %70, float* %68
br label %71
71: ; preds = %57
%72 = load i32, i32* %3
%73 = add nsw i32 %72, 1
store i32 %73, i32* %3
br label %54
74: ; preds = %54
%75 = load i32, i32* %3
%76 = sitofp i32 %75 to float
%77 = load i32, i32* %2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %78
%80 = getelementptr inbounds [4 x float], [4 x float]* %79, i64 0, i64 3
%81 = load float, float* %80
%82 = fdiv float %81, %76
store float %82, float* %80
%83 = load i32, i32* %2
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %84
%86 = getelementptr inbounds [4 x float], [4 x float]* %85, i64 0, i64 3
%87 = load float, float* %86
%88 = load float, float* %5
%89 = fadd float %88, %87
store float %89, float* %5
br label %90
90: ; preds = %74
%91 = load i32, i32* %2
%92 = add nsw i32 %91, 1
store i32 %92, i32* %2
br label %50
93: ; preds = %50
%94 = load i32, i32* %2
%95 = sitofp i32 %94 to float
%96 = load float, float* %5
%97 = fdiv float %96, %95
store float %97, float* %5
store i32 0, i32* %2
br label %98
98: ; preds = %112, %93
%99 = load i32, i32* %2
%100 = icmp slt i32 %99, 5
br i1 %100, label %101, label %115
101: ; preds = %98
%102 = load i32, i32* %2
%103 = add nsw i32 %102, 1
%104 = sitofp i32 %103 to float
%105 = load i32, i32* %2
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %4, i64 0, i64 %106
%108 = getelementptr inbounds [4 x float], [4 x float]* %107, i64 0, i64 3
%109 = load float, float* %108
%110 = fpext float %109 to double
%111 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), float %104, double %110)
br label %112
112: ; preds = %101
%113 = load i32, i32* %2
%114 = add nsw i32 %113, 1
store i32 %114, i32* %2
br label %98
115: ; preds = %98
%116 = load float, float* %5
%117 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), float %116)
%118 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [33 x i8] c"entre com a av%d do %d\C2\BA aluno: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [24 x i8] c"M\C3\A9dia aluno %d = %.2f\0A\00"
@.str.3 = [22 x i8] c"M\C3\A9dia da turma = %f\0A\00"
@.str.4 = [6 x i8] c"pause\00"
define i32 @main() {
%1 = alloca [5 x [4 x float]]
%2 = bitcast [5 x [4 x float]]* %1 to i8*
br label %3
3: ; preds = %0, %23
%4 = phi i64 [ 0, %0 ], [ %5, %23 ]
%5 = add nuw nsw i64 %4, 1
%6 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 %4, i64 0
%7 = trunc i64 %5 to i32
br label %26
8: ; preds = %26
%9 = trunc i64 %5 to i32
%10 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 %4, i64 1
br label %11
11: ; preds = %11, %8
%12 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), float 2.000000e+00, i32 %9)
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %10)
%14 = load float, float* %10
%15 = fcmp olt float %14, 0.000000e+00
br i1 %15, label %11, label %16
16: ; preds = %11
%17 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 %4, i64 2
br label %18
18: ; preds = %18, %16
%19 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), float 3.000000e+00, i32 %9)
%20 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %17)
%21 = load float, float* %17
%22 = fcmp olt float %21, 0.000000e+00
br i1 %22, label %18, label %23
23: ; preds = %18
%24 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 %4, i64 3
store float 0.000000e+00, float* %24
%25 = icmp eq i64 %5, 5
br i1 %25, label %31, label %3
26: ; preds = %3, %26
%27 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), float 1.000000e+00, i32 %7)
%28 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %6)
%29 = load float, float* %6
%30 = fcmp olt float %29, 0.000000e+00
br i1 %30, label %26, label %8
31: ; preds = %23
%32 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 0, i64 3
%33 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 0, i64 0
%34 = load float, float* %33
%35 = load float, float* %32
%36 = fadd float %34, %35
%37 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 0, i64 1
%38 = load float, float* %37
%39 = fadd float %38, %36
%40 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 0, i64 2
%41 = load float, float* %40
%42 = fadd float %41, %39
%43 = fdiv float %42, 3.000000e+00
store float %43, float* %32
%44 = fadd float %43, 0.000000e+00
%45 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 1, i64 3
%46 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 1, i64 0
%47 = bitcast float* %46 to <4 x float>*
%48 = load <4 x float>, <4 x float>* %47
%49 = shufflevector <4 x float> %48, <4 x float> poison, <2 x i32> <i32 0, i32 undef>
%50 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 1, i64 1
%51 = bitcast float* %50 to <4 x float>*
%52 = load <4 x float>, <4 x float>* %51
%53 = shufflevector <4 x float> %52, <4 x float> poison, <2 x i32> <i32 0, i32 undef>
%54 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 1, i64 2
%55 = bitcast float* %54 to <4 x float>*
%56 = load <4 x float>, <4 x float>* %55
%57 = shufflevector <4 x float> %56, <4 x float> poison, <2 x i32> <i32 0, i32 undef>
%58 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 2, i64 3
%59 = bitcast float* %45 to <2 x float>*
%60 = load <2 x float>, <2 x float>* %59
%61 = load float, float* %58
%62 = insertelement <2 x float> %49, float %61, i64 1
%63 = fadd <2 x float> %60, %62
%64 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 2, i64 1
%65 = load float, float* %64
%66 = insertelement <2 x float> %53, float %65, i64 1
%67 = fadd <2 x float> %66, %63
%68 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 2, i64 2
%69 = load float, float* %68
%70 = insertelement <2 x float> %57, float %69, i64 1
%71 = fadd <2 x float> %70, %67
%72 = fdiv <2 x float> %71, <float 3.000000e+00, float 3.000000e+00>
%73 = extractelement <2 x float> %72, i64 0
store float %73, float* %45
%74 = fadd float %44, %73
%75 = extractelement <2 x float> %72, i64 1
store float %75, float* %58
%76 = fadd float %74, %75
%77 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 3, i64 3
%78 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 3, i64 0
%79 = bitcast float* %78 to <4 x float>*
%80 = load <4 x float>, <4 x float>* %79
%81 = shufflevector <4 x float> %80, <4 x float> poison, <2 x i32> <i32 0, i32 undef>
%82 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 3, i64 1
%83 = bitcast float* %82 to <4 x float>*
%84 = load <4 x float>, <4 x float>* %83
%85 = shufflevector <4 x float> %84, <4 x float> poison, <2 x i32> <i32 0, i32 undef>
%86 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 3, i64 2
%87 = bitcast float* %86 to <4 x float>*
%88 = load <4 x float>, <4 x float>* %87
%89 = shufflevector <4 x float> %88, <4 x float> poison, <2 x i32> <i32 0, i32 undef>
%90 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 4, i64 3
%91 = bitcast float* %77 to <2 x float>*
%92 = load <2 x float>, <2 x float>* %91
%93 = load float, float* %90
%94 = insertelement <2 x float> %81, float %93, i64 1
%95 = fadd <2 x float> %92, %94
%96 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 4, i64 1
%97 = load float, float* %96
%98 = insertelement <2 x float> %85, float %97, i64 1
%99 = fadd <2 x float> %98, %95
%100 = getelementptr inbounds [5 x [4 x float]], [5 x [4 x float]]* %1, i64 0, i64 4, i64 2
%101 = load float, float* %100
%102 = insertelement <2 x float> %89, float %101, i64 1
%103 = fadd <2 x float> %102, %99
%104 = fdiv <2 x float> %103, <float 3.000000e+00, float 3.000000e+00>
%105 = extractelement <2 x float> %104, i64 0
store float %105, float* %77
%106 = fadd float %76, %105
%107 = extractelement <2 x float> %104, i64 1
store float %107, float* %90
%108 = fpext float %43 to double
%109 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), float 1.000000e+00, double %108)
%110 = load float, float* %45
%111 = fpext float %110 to double
%112 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), float 2.000000e+00, double %111)
%113 = load float, float* %58
%114 = fpext float %113 to double
%115 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), float 3.000000e+00, double %114)
%116 = load float, float* %77
%117 = fpext float %116 to double
%118 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), float 4.000000e+00, double %117)
%119 = load float, float* %90
%120 = fpext float %119 to double
%121 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), float 5.000000e+00, double %120)
%122 = fadd float %106, %107
%123 = fdiv float %122, 5.000000e+00
%124 = call i32 (i8*, float, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), float %123)
%125 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}