#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 *, ...);
int main() {
  float nota1[6], nota2[6], nf = 0;
  int nm[6];
  for (int i = 0; i < 6; i++) {
    printf("\nInforme o número de matrícula %d:", i);
    scanf("%d", &nm[i]);
    printf("\nInforme a nota 1 do aluno %d:", i);
    scanf("%f", &nota1[i]);
    printf("\nInforme a nota 2 do aluno %d:", i);
    scanf("%f", &nota2[i]);
  }
  printf("\nMatricula Nota1 Nota2 Nota final\n");
  float notaTotalALunos = 0;
  for (int i = 0; i < 6; i++) {
    nf = (nota1[i] + nota2[i]) / 2;
    notaTotalALunos += nf;
    printf("%d         %2.2f  %2.2f  %2.2f\n", nm[i], nota1[i], nota2[i], nf);
  }
  float medturma = notaTotalALunos / 6;
  printf("A media da turma foi: %2.2f\n", medturma);
  int alunosAbaixoDaMedia = 0;
  for (int i = 0; i < 6; i++)
    if ((nota1[i] + nota2[i]) / 2 < medturma)
      alunosAbaixoDaMedia++;
  printf("Notas abaixo da média %d:", alunosAbaixoDaMedia);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x44(%rbp)
movl   $0x0,-0x64(%rbp)
cmpl   $0x6,-0x64(%rbp)
jge    11e3 <main+0xc3>
mov    -0x64(%rbp),%esi
lea    0xeb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x64(%rbp),%rax
lea    -0x60(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xebb(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x64(%rbp),%esi
lea    0xead(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x64(%rbp),%rax
lea    -0x20(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xeaf(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x64(%rbp),%esi
lea    0xea1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x64(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe81(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1141 <main+0x21>
lea    0xe87(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x68(%rbp)
movl   $0x0,-0x6c(%rbp)
cmpl   $0x6,-0x6c(%rbp)
jge    1287 <main+0x167>
movslq -0x6c(%rbp),%rax
movss  -0x20(%rbp,%rax,4),%xmm0
movslq -0x6c(%rbp),%rax
addss  -0x40(%rbp,%rax,4),%xmm0
movss  0xdde(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x44(%rbp)
movss  -0x44(%rbp),%xmm0
addss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x68(%rbp)
movslq -0x6c(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%esi
movslq -0x6c(%rbp),%rax
movss  -0x20(%rbp,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
movslq -0x6c(%rbp),%rax
movss  -0x40(%rbp,%rax,4),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x44(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xe22(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    1200 <main+0xe0>
movss  -0x68(%rbp),%xmm0
movss  0xd6c(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0x70(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe07(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x78(%rbp)
cmpl   $0x6,-0x78(%rbp)
jge    1316 <main+0x1f6>
movslq -0x78(%rbp),%rax
movss  -0x20(%rbp,%rax,4),%xmm1
movslq -0x78(%rbp),%rax
addss  -0x40(%rbp,%rax,4),%xmm1
movss  0xd1c(%rip),%xmm0
divss  %xmm0,%xmm1
movss  -0x70(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1303 <main+0x1e3>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1308 <main+0x1e8>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    12c2 <main+0x1a2>
mov    -0x74(%rbp),%esi
lea    0xdb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x70,%rsp
lea    0xedc(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeee(%rip),%r15
lea    0x50(%rsp),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xedb(%rip),%r12
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee7(%rip),%rbx
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xed4(%rip),%r13
mov    %r13,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x54(%rsp),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x34(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x58(%rsp),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x38(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r13,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x5c(%rsp),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3c(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r13,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x60(%rsp),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x40(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r13,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x64(%rsp),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r12,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x44(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r13,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x24(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xd67(%rip),%rdi
call   1030 <puts@plt>
movss  0x30(%rsp),%xmm2
movss  0x10(%rsp),%xmm1
cvtss2sd %xmm2,%xmm0
addss  %xmm1,%xmm2
mulss  0xc65(%rip),%xmm2
xorps  %xmm3,%xmm3
addss  %xmm2,%xmm3
movaps %xmm3,(%rsp)
mov    0x50(%rsp),%esi
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
lea    0xcd0(%rip),%rbx
mov    %rbx,%rdi
mov    $0x3,%al
call   1040 <printf@plt>
movss  0x34(%rsp),%xmm2
movss  0x14(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
addss  %xmm1,%xmm2
mulss  0xc1e(%rip),%xmm2
movaps (%rsp),%xmm3
addss  %xmm2,%xmm3
movaps %xmm3,(%rsp)
mov    0x54(%rsp),%esi
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
mov    %rbx,%rdi
mov    $0x3,%al
call   1040 <printf@plt>
movss  0x38(%rsp),%xmm2
movss  0x18(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
addss  %xmm1,%xmm2
mulss  0xbdd(%rip),%xmm2
movaps (%rsp),%xmm3
addss  %xmm2,%xmm3
movaps %xmm3,(%rsp)
mov    0x58(%rsp),%esi
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
mov    %rbx,%rdi
mov    $0x3,%al
call   1040 <printf@plt>
movss  0x3c(%rsp),%xmm2
movss  0x1c(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
addss  %xmm1,%xmm2
mulss  0xb9c(%rip),%xmm2
movaps (%rsp),%xmm3
addss  %xmm2,%xmm3
movaps %xmm3,(%rsp)
mov    0x5c(%rsp),%esi
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
mov    %rbx,%rdi
mov    $0x3,%al
call   1040 <printf@plt>
movss  0x40(%rsp),%xmm2
movss  0x20(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
addss  %xmm1,%xmm2
mulss  0xb5b(%rip),%xmm2
movaps (%rsp),%xmm3
addss  %xmm2,%xmm3
movaps %xmm3,(%rsp)
mov    0x60(%rsp),%esi
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
mov    %rbx,%rdi
mov    $0x3,%al
call   1040 <printf@plt>
movss  0x44(%rsp),%xmm2
movss  0x24(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
addss  %xmm1,%xmm2
mulss  0xb1a(%rip),%xmm2
movaps (%rsp),%xmm3
addss  %xmm2,%xmm3
movaps %xmm3,(%rsp)
mov    0x64(%rsp),%esi
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
mov    %rbx,%rdi
mov    $0x3,%al
call   1040 <printf@plt>
movaps (%rsp),%xmm0
divss  0xaf0(%rip),%xmm0
movaps %xmm0,(%rsp)
cvtss2sd %xmm0,%xmm0
lea    0xb86(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movaps 0x30(%rsp),%xmm0
addps  0x10(%rsp),%xmm0
mulps  0xad5(%rip),%xmm0
movss  0x40(%rsp),%xmm1
addss  0x20(%rsp),%xmm1
movss  0xab1(%rip),%xmm3
mulss  %xmm3,%xmm1
xor    %eax,%eax
movaps (%rsp),%xmm2
ucomiss %xmm1,%xmm2
movaps %xmm2,%xmm1
shufps $0x0,%xmm2,%xmm1
seta   %al
cmpltps %xmm1,%xmm0
movss  0x44(%rsp),%xmm1
addss  0x24(%rsp),%xmm1
mulss  %xmm3,%xmm1
xor    %ecx,%ecx
ucomiss %xmm1,%xmm2
seta   %cl
movmskps %xmm0,%edx
mov    %edx,%ebx
shr    %bl
and    $0x5,%bl
sub    %bl,%dl
mov    %edx,%ebx
and    $0x33,%bl
shr    $0x2,%dl
and    $0x33,%dl
add    %bl,%dl
mov    %edx,%ebx
shr    $0x4,%bl
add    %dl,%bl
and    $0xf,%bl
movzbl %bl,%esi
add    %eax,%esi
add    %ecx,%esi
lea    0xb13(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
@.str = [37 x i8] c"\0AInforme o n\C3\BAmero de matr\C3\ADcula %d:\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [31 x i8] c"\0AInforme a nota 1 do aluno %d:\00"
@.str.3 = [3 x i8] c"%f\00"
@.str.4 = [31 x i8] c"\0AInforme a nota 2 do aluno %d:\00"
@.str.6 = [32 x i8] c"%d %2.2f %2.2f %2.2f\0A\00"
@.str.7 = [29 x i8] c"A media da turma foi: %2.2f\0A\00"
@.str.8 = [27 x i8] c"Notas abaixo da m\C3\A9dia %d:\00"
@str = [34 x i8] c"\0AMatricula Nota1 Nota2 Nota final\00"
define i32 @main() {
%1 = alloca [6 x float]
%2 = alloca [6 x float]
%3 = alloca [6 x i32]
%4 = bitcast [6 x float]* %1 to i8*
%5 = bitcast [6 x float]* %2 to i8*
%6 = bitcast [6 x i32]* %3 to i8*
%7 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 0)
%8 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 0
%9 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 0)
%11 = getelementptr inbounds [6 x float], [6 x float]* %1, i64 0, i64 0
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %11)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 0)
%14 = getelementptr inbounds [6 x float], [6 x float]* %2, i64 0, i64 0
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %14)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 1)
%17 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 1
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %17)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 1)
%20 = getelementptr inbounds [6 x float], [6 x float]* %1, i64 0, i64 1
%21 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %20)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 1)
%23 = getelementptr inbounds [6 x float], [6 x float]* %2, i64 0, i64 1
%24 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %23)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 2)
%26 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 2
%27 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %26)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 2)
%29 = getelementptr inbounds [6 x float], [6 x float]* %1, i64 0, i64 2
%30 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %29)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 2)
%32 = getelementptr inbounds [6 x float], [6 x float]* %2, i64 0, i64 2
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %32)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 3)
%35 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 3
%36 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %35)
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 3)
%38 = getelementptr inbounds [6 x float], [6 x float]* %1, i64 0, i64 3
%39 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %38)
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 3)
%41 = getelementptr inbounds [6 x float], [6 x float]* %2, i64 0, i64 3
%42 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %41)
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 4)
%44 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 4
%45 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %44)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 4)
%47 = getelementptr inbounds [6 x float], [6 x float]* %1, i64 0, i64 4
%48 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %47)
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 4)
%50 = getelementptr inbounds [6 x float], [6 x float]* %2, i64 0, i64 4
%51 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %50)
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 5)
%53 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 5
%54 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %53)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 5)
%56 = getelementptr inbounds [6 x float], [6 x float]* %1, i64 0, i64 5
%57 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %56)
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 5)
%59 = getelementptr inbounds [6 x float], [6 x float]* %2, i64 0, i64 5
%60 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %59)
%61 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%62 = load float, float* %11
%63 = load float, float* %14
%64 = fadd float %62, %63
%65 = fmul float %64, 5.000000e-01
%66 = fadd float %65, 0.000000e+00
%67 = load i32, i32* %8
%68 = fpext float %62 to double
%69 = fpext float %63 to double
%70 = fpext float %65 to double
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %67, double %68, double %69, double %70)
%72 = load float, float* %20
%73 = load float, float* %23
%74 = fadd float %72, %73
%75 = fmul float %74, 5.000000e-01
%76 = fadd float %66, %75
%77 = load i32, i32* %17
%78 = fpext float %72 to double
%79 = fpext float %73 to double
%80 = fpext float %75 to double
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %77, double %78, double %79, double %80)
%82 = load float, float* %29
%83 = load float, float* %32
%84 = fadd float %82, %83
%85 = fmul float %84, 5.000000e-01
%86 = fadd float %76, %85
%87 = load i32, i32* %26
%88 = fpext float %82 to double
%89 = fpext float %83 to double
%90 = fpext float %85 to double
%91 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %87, double %88, double %89, double %90)
%92 = load float, float* %38
%93 = load float, float* %41
%94 = fadd float %92, %93
%95 = fmul float %94, 5.000000e-01
%96 = fadd float %86, %95
%97 = load i32, i32* %35
%98 = fpext float %92 to double
%99 = fpext float %93 to double
%100 = fpext float %95 to double
%101 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %97, double %98, double %99, double %100)
%102 = load float, float* %47
%103 = load float, float* %50
%104 = fadd float %102, %103
%105 = fmul float %104, 5.000000e-01
%106 = fadd float %96, %105
%107 = load i32, i32* %44
%108 = fpext float %102 to double
%109 = fpext float %103 to double
%110 = fpext float %105 to double
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %107, double %108, double %109, double %110)
%112 = load float, float* %56
%113 = load float, float* %59
%114 = fadd float %112, %113
%115 = fmul float %114, 5.000000e-01
%116 = fadd float %106, %115
%117 = load i32, i32* %53
%118 = fpext float %112 to double
%119 = fpext float %113 to double
%120 = fpext float %115 to double
%121 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %117, double %118, double %119, double %120)
%122 = fdiv float %116, 6.000000e+00
%123 = fpext float %122 to double
%124 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0), double %123)
%125 = bitcast [6 x float]* %1 to <4 x float>*
%126 = load <4 x float>, <4 x float>* %125
%127 = bitcast [6 x float]* %2 to <4 x float>*
%128 = load <4 x float>, <4 x float>* %127
%129 = fadd <4 x float> %126, %128
%130 = fmul <4 x float> %129, <float 5.000000e-01, float 5.000000e-01, float 5.000000e-01, float 5.000000e-01>
%131 = insertelement <4 x float> poison, float %122, i64 0
%132 = shufflevector <4 x float> %131, <4 x float> poison, <4 x i32> zeroinitializer
%133 = fcmp olt <4 x float> %130, %132
%134 = load float, float* %47
%135 = load float, float* %50
%136 = fadd float %134, %135
%137 = fmul float %136, 5.000000e-01
%138 = fcmp olt float %137, %122
%139 = zext i1 %138 to i32
%140 = load float, float* %56
%141 = load float, float* %59
%142 = fadd float %140, %141
%143 = fmul float %142, 5.000000e-01
%144 = fcmp olt float %143, %122
%145 = zext i1 %144 to i32
%146 = bitcast <4 x i1> %133 to i4
%147 = call i4 @llvm.ctpop.i4(i4 %146)
%148 = zext i4 %147 to i32
%149 = add nuw nsw i32 %148, %139
%150 = add nuw nsw i32 %149, %145
%151 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i32 %150)
ret i32 0
}