#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*/ avaliacao(char *, int);
int /*<<< orphan*/ free(float *);
int /*<<< orphan*/ inicializacao();
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ rand();
int /*<<< orphan*/ srand(int);
int main() {
  int i;
  float *x, *y, *z, *a;
  x = (float *)malloc(sizeof(float) * 50000000);
  y = (float *)malloc(sizeof(float) * 50000000);
  z = (float *)malloc(sizeof(float) * 50000000);
  a = (float *)malloc(sizeof(float) * 50000000);
  srand(424242);
  for (i = 0; i < 50000000; i++) {
    x[i] = (float)rand() / 10000000.0;
    y[i] = (float)rand() / 10000000.0;
    z[i] = (float)rand() / 10000000.0;
    a[i] = (float)rand() / 10000000.0;
  }
  inicializacao();
  for (i = 0; i < 50000000 - 1; i++) {
    x[i] = y[i] + z[i];
    a[i] = x[i + 1] + 1.0;
  }
  avaliacao("Exercicio B - Padrão", 50000000);
  for (i = 50000000 - 10; i < 50000000; i++) {
    printf("%.2f ", a[i]);
    ;
  }
  printf("\n");
  ;
  for (i = 50000000 - 10; i < 50000000; i++) {
    printf("%.2f ", x[i]);
    ;
  }
  printf("\n");
  ;
  free(x);
  free(y);
  free(z);
  free(a);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0xbebc200,%edi
call   1070 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    $0xbebc200,%edi
call   1070 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    $0xbebc200,%edi
call   1070 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    $0xbebc200,%edi
call   1070 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    $0x67932,%edi
call   1060 <srand@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x2faf080,-0x8(%rbp)
jge    1297 <main+0x127>
mov    $0x0,%al
call   1090 <rand@plt>
cvtsi2ss %rax,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe1b(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    $0x0,%al
call   1090 <rand@plt>
cvtsi2ss %rax,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdee(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    $0x0,%al
call   1090 <rand@plt>
cvtsi2ss %rax,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdc1(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    $0x0,%al
call   1090 <rand@plt>
cvtsi2ss %rax,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd94(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x28(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11c8 <main+0x58>
mov    $0x0,%al
call   1080 <inicializacao@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x2faf07f,-0x8(%rbp)
jge    131a <main+0x1aa>
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
addss  (%rax,%rcx,4),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd09(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x28(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12a5 <main+0x135>
lea    0xcef(%rip),%rdi
mov    $0x2faf080,%esi
call   1030 <avaliacao@plt>
movl   $0x2faf076,-0x8(%rbp)
cmpl   $0x2faf080,-0x8(%rbp)
jge    136c <main+0x1fc>
mov    -0x28(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xccf(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1332 <main+0x1c2>
lea    0xcb9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x2faf076,-0x8(%rbp)
cmpl   $0x2faf080,-0x8(%rbp)
jge    13bb <main+0x24b>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xc80(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1381 <main+0x211>
lea    0xc6a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x10(%rbp),%rdi
call   1040 <free@plt>
mov    -0x18(%rbp),%rdi
call   1040 <free@plt>
mov    -0x20(%rbp),%rdi
call   1040 <free@plt>
mov    -0x28(%rbp),%rdi
call   1040 <free@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0xbebc200,%edi
call   1080 <malloc@plt>
mov    %rax,%rbp
mov    $0xbebc200,%edi
call   1080 <malloc@plt>
mov    %rax,%r14
mov    $0xbebc200,%edi
call   1080 <malloc@plt>
mov    %rax,%r15
mov    $0xbebc200,%edi
call   1080 <malloc@plt>
mov    %rax,%r12
mov    $0x67932,%edi
call   1070 <srand@plt>
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   10a0 <rand@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  0xe19(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,0x0(%rbp,%rbx,4)
xor    %eax,%eax
call   10a0 <rand@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
divss  0xdf8(%rip),%xmm0
movss  %xmm0,(%r14,%rbx,4)
xor    %eax,%eax
call   10a0 <rand@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
divss  0xddb(%rip),%xmm0
movss  %xmm0,(%r15,%rbx,4)
xor    %eax,%eax
call   10a0 <rand@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
divss  0xdbe(%rip),%xmm0
movss  %xmm0,(%r12,%rbx,4)
add    $0x1,%rbx
cmp    $0x2faf080,%rbx
jne    11d0 <main+0x50>
xor    %ebx,%ebx
xor    %eax,%eax
call   1090 <inicializacao@plt>
movss  0xd9a(%rip),%xmm0
nopw   0x0(%rax,%rax,1)
movss  (%r14,%rbx,1),%xmm1
addss  (%r15,%rbx,1),%xmm1
movss  %xmm1,0x0(%rbp,%rbx,1)
movss  0x4(%rbp,%rbx,1),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,(%r12,%rbx,1)
cmp    $0xbebc1f8,%rbx
je     12c6 <main+0x146>
movss  0x4(%r14,%rbx,1),%xmm1
addss  0x4(%r15,%rbx,1),%xmm1
movss  %xmm1,0x4(%rbp,%rbx,1)
movss  0x8(%rbp,%rbx,1),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0x4(%r12,%rbx,1)
add    $0x8,%rbx
jmp    1270 <main+0xf0>
lea    0xd3b(%rip),%rdi
mov    $0x2faf080,%esi
call   1030 <avaliacao@plt>
movss  0xbebc1d8(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
lea    0xd32(%rip),%r13
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1dc(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1e0(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1e4(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1e8(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1ec(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1f0(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1f4(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1f8(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1fc(%r12),%xmm0
c1 eb 0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1050 <putchar@plt>
movss  0xbebc1d8(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1dc(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1e0(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1e4(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1e8(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1ec(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1f0(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1f4(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1f8(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movss  0xbebc1fc(%rbp),%xmm0
0b
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1050 <putchar@plt>
mov    %rbp,%rdi
call   1040 <free@plt>
mov    %r14,%rdi
call   1040 <free@plt>
mov    %r15,%rdi
call   1040 <free@plt>
mov    %r12,%rdi
call   1040 <free@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [22 x i8] c"Exercicio B - Padr\C3\A3o\00"
@.str.1 = [6 x i8] c"%.2f \00"
@.str.2 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca float*
%4 = alloca float*
%5 = alloca float*
%6 = alloca float*
store i32 0, i32* %1
%7 = call i64 @malloc(i32 200000000)
%8 = inttoptr i64 %7 to float*
store float* %8, float** %3
%9 = call i64 @malloc(i32 200000000)
%10 = inttoptr i64 %9 to float*
store float* %10, float** %4
%11 = call i64 @malloc(i32 200000000)
%12 = inttoptr i64 %11 to float*
store float* %12, float** %5
%13 = call i64 @malloc(i32 200000000)
%14 = inttoptr i64 %13 to float*
store float* %14, float** %6
%15 = call i32 @srand(i32 424242)
store i32 0, i32* %2
br label %16
16: ; preds = %56, %0
%17 = load i32, i32* %2
%18 = icmp slt i32 %17, 50000000
br i1 %18, label %19, label %59
19: ; preds = %16
%20 = call i64 (...) @rand()
%21 = sitofp i64 %20 to float
%22 = fpext float %21 to double
%23 = fdiv double %22, 1.000000e+07
%24 = fptrunc double %23 to float
%25 = load float*, float** %3
%26 = load i32, i32* %2
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds float, float* %25, i64 %27
store float %24, float* %28
%29 = call i64 (...) @rand()
%30 = sitofp i64 %29 to float
%31 = fpext float %30 to double
%32 = fdiv double %31, 1.000000e+07
%33 = fptrunc double %32 to float
%34 = load float*, float** %4
%35 = load i32, i32* %2
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds float, float* %34, i64 %36
store float %33, float* %37
%38 = call i64 (...) @rand()
%39 = sitofp i64 %38 to float
%40 = fpext float %39 to double
%41 = fdiv double %40, 1.000000e+07
%42 = fptrunc double %41 to float
%43 = load float*, float** %5
%44 = load i32, i32* %2
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, float* %43, i64 %45
store float %42, float* %46
%47 = call i64 (...) @rand()
%48 = sitofp i64 %47 to float
%49 = fpext float %48 to double
%50 = fdiv double %49, 1.000000e+07
%51 = fptrunc double %50 to float
%52 = load float*, float** %6
%53 = load i32, i32* %2
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, float* %52, i64 %54
store float %51, float* %55
br label %56
56: ; preds = %19
%57 = load i32, i32* %2
%58 = add nsw i32 %57, 1
store i32 %58, i32* %2
br label %16
59: ; preds = %16
%60 = call i32 (...) @inicializacao()
store i32 0, i32* %2
br label %61
61: ; preds = %93, %59
%62 = load i32, i32* %2
%63 = icmp slt i32 %62, 49999999
br i1 %63, label %64, label %96
64: ; preds = %61
%65 = load float*, float** %4
%66 = load i32, i32* %2
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, float* %65, i64 %67
%69 = load float, float* %68
%70 = load float*, float** %5
%71 = load i32, i32* %2
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, float* %70, i64 %72
%74 = load float, float* %73
%75 = fadd float %69, %74
%76 = load float*, float** %3
%77 = load i32, i32* %2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds float, float* %76, i64 %78
store float %75, float* %79
%80 = load float*, float** %3
%81 = load i32, i32* %2
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, float* %80, i64 %83
%85 = load float, float* %84
%86 = fpext float %85 to double
%87 = fadd double %86, 1.000000e+00
%88 = fptrunc double %87 to float
%89 = load float*, float** %6
%90 = load i32, i32* %2
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, float* %89, i64 %91
store float %88, float* %92
br label %93
93: ; preds = %64
%94 = load i32, i32* %2
%95 = add nsw i32 %94, 1
store i32 %95, i32* %2
br label %61
96: ; preds = %61
%97 = call i32 @avaliacao(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 50000000)
store i32 49999990, i32* %2
br label %98
98: ; preds = %109, %96
%99 = load i32, i32* %2
%100 = icmp slt i32 %99, 50000000
br i1 %100, label %101, label %112
101: ; preds = %98
%102 = load float*, float** %6
%103 = load i32, i32* %2
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, float* %102, i64 %104
%106 = load float, float* %105
%107 = fpext float %106 to double
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %107)
br label %109
109: ; preds = %101
%110 = load i32, i32* %2
%111 = add nsw i32 %110, 1
store i32 %111, i32* %2
br label %98
112: ; preds = %98
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32 49999990, i32* %2
br label %114
114: ; preds = %125, %112
%115 = load i32, i32* %2
%116 = icmp slt i32 %115, 50000000
br i1 %116, label %117, label %128
117: ; preds = %114
%118 = load float*, float** %3
%119 = load i32, i32* %2
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds float, float* %118, i64 %120
%122 = load float, float* %121
%123 = fpext float %122 to double
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %123)
br label %125
125: ; preds = %117
%126 = load i32, i32* %2
%127 = add nsw i32 %126, 1
store i32 %127, i32* %2
br label %114
128: ; preds = %114
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%130 = load float*, float** %3
%131 = call i32 @free(float* %130)
%132 = load float*, float** %4
%133 = call i32 @free(float* %132)
%134 = load float*, float** %5
%135 = call i32 @free(float* %134)
%136 = load float*, float** %6
%137 = call i32 @free(float* %136)
ret i32 0
}

LLVM IR (-O2):
@.str = [22 x i8] c"Exercicio B - Padr\C3\A3o\00"
@.str.1 = [6 x i8] c"%.2f \00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 200000000)
%2 = inttoptr i64 %1 to float*
%3 = tail call i64 @malloc(i32 200000000)
%4 = inttoptr i64 %3 to float*
%5 = tail call i64 @malloc(i32 200000000)
%6 = inttoptr i64 %5 to float*
%7 = tail call i64 @malloc(i32 200000000)
%8 = inttoptr i64 %7 to float*
%9 = tail call i32 @srand(i32 424242)
br label %10
10: ; preds = %0, %10
%11 = phi i64 [ 0, %0 ], [ %28, %10 ]
%12 = tail call i64 (...) @rand()
%13 = sitofp i64 %12 to float
%14 = fdiv float %13, 1.000000e+07
%15 = getelementptr inbounds float, float* %2, i64 %11
store float %14, float* %15
%16 = tail call i64 (...) @rand()
%17 = sitofp i64 %16 to float
%18 = fdiv float %17, 1.000000e+07
%19 = getelementptr inbounds float, float* %4, i64 %11
store float %18, float* %19
%20 = tail call i64 (...) @rand()
%21 = sitofp i64 %20 to float
%22 = fdiv float %21, 1.000000e+07
%23 = getelementptr inbounds float, float* %6, i64 %11
store float %22, float* %23
%24 = tail call i64 (...) @rand()
%25 = sitofp i64 %24 to float
%26 = fdiv float %25, 1.000000e+07
%27 = getelementptr inbounds float, float* %8, i64 %11
store float %26, float* %27
%28 = add nuw nsw i64 %11, 1
%29 = icmp eq i64 %28, 50000000
br i1 %29, label %30, label %10
30: ; preds = %10
%31 = tail call i32 (...) @inicializacao()
br label %32
32: ; preds = %46, %30
%33 = phi i64 [ 0, %30 ], [ %53, %46 ]
%34 = getelementptr inbounds float, float* %4, i64 %33
%35 = load float, float* %34
%36 = getelementptr inbounds float, float* %6, i64 %33
%37 = load float, float* %36
%38 = fadd float %35, %37
%39 = getelementptr inbounds float, float* %2, i64 %33
store float %38, float* %39
%40 = or i64 %33, 1
%41 = getelementptr inbounds float, float* %2, i64 %40
%42 = load float, float* %41
%43 = fadd float %42, 1.000000e+00
%44 = getelementptr inbounds float, float* %8, i64 %33
store float %43, float* %44
%45 = icmp eq i64 %40, 49999999
br i1 %45, label %58, label %46
46: ; preds = %32
%47 = getelementptr inbounds float, float* %4, i64 %40
%48 = load float, float* %47
%49 = getelementptr inbounds float, float* %6, i64 %40
%50 = load float, float* %49
%51 = fadd float %48, %50
%52 = getelementptr inbounds float, float* %2, i64 %40
store float %51, float* %52
%53 = add nuw nsw i64 %33, 2
%54 = getelementptr inbounds float, float* %2, i64 %53
%55 = load float, float* %54
%56 = fadd float %55, 1.000000e+00
%57 = getelementptr inbounds float, float* %8, i64 %40
store float %56, float* %57
br label %32
58: ; preds = %32
%59 = tail call i32 @avaliacao(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 50000000)
%60 = getelementptr inbounds float, float* %8, i64 49999990
%61 = load float, float* %60
%62 = fpext float %61 to double
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %62)
%64 = getelementptr inbounds float, float* %8, i64 49999991
%65 = load float, float* %64
%66 = fpext float %65 to double
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %66)
%68 = getelementptr inbounds float, float* %8, i64 49999992
%69 = load float, float* %68
%70 = fpext float %69 to double
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %70)
%72 = getelementptr inbounds float, float* %8, i64 49999993
%73 = load float, float* %72
%74 = fpext float %73 to double
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %74)
%76 = getelementptr inbounds float, float* %8, i64 49999994
%77 = load float, float* %76
%78 = fpext float %77 to double
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %78)
%80 = getelementptr inbounds float, float* %8, i64 49999995
%81 = load float, float* %80
%82 = fpext float %81 to double
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %82)
%84 = getelementptr inbounds float, float* %8, i64 49999996
%85 = load float, float* %84
%86 = fpext float %85 to double
%87 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %86)
%88 = getelementptr inbounds float, float* %8, i64 49999997
%89 = load float, float* %88
%90 = fpext float %89 to double
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %90)
%92 = getelementptr inbounds float, float* %8, i64 49999998
%93 = load float, float* %92
%94 = fpext float %93 to double
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %94)
%96 = getelementptr inbounds float, float* %8, i64 49999999
%97 = load float, float* %96
%98 = fpext float %97 to double
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %98)
%100 = tail call i32 @putchar(i32 10)
%101 = getelementptr inbounds float, float* %2, i64 49999990
%102 = load float, float* %101
%103 = fpext float %102 to double
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %103)
%105 = getelementptr inbounds float, float* %2, i64 49999991
%106 = load float, float* %105
%107 = fpext float %106 to double
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %107)
%109 = getelementptr inbounds float, float* %2, i64 49999992
%110 = load float, float* %109
%111 = fpext float %110 to double
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %111)
%113 = getelementptr inbounds float, float* %2, i64 49999993
%114 = load float, float* %113
%115 = fpext float %114 to double
%116 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %115)
%117 = getelementptr inbounds float, float* %2, i64 49999994
%118 = load float, float* %117
%119 = fpext float %118 to double
%120 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %119)
%121 = getelementptr inbounds float, float* %2, i64 49999995
%122 = load float, float* %121
%123 = fpext float %122 to double
%124 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %123)
%125 = getelementptr inbounds float, float* %2, i64 49999996
%126 = load float, float* %125
%127 = fpext float %126 to double
%128 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %127)
%129 = getelementptr inbounds float, float* %2, i64 49999997
%130 = load float, float* %129
%131 = fpext float %130 to double
%132 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %131)
%133 = getelementptr inbounds float, float* %2, i64 49999998
%134 = load float, float* %133
%135 = fpext float %134 to double
%136 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %135)
%137 = getelementptr inbounds float, float* %2, i64 49999999
%138 = load float, float* %137
%139 = fpext float %138 to double
%140 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %139)
%141 = tail call i32 @putchar(i32 10)
%142 = tail call i32 @free(float* %2)
%143 = tail call i32 @free(float* %4)
%144 = tail call i32 @free(float* %6)
%145 = tail call i32 @free(float* %8)
ret i32 0
}