#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
float calcula(float **, float *, char, int /*<<< orphan*/ **);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ inicializa_polinomio(float *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
void integral(float **polinomio1, float *x, char c, FILE **saida) {
  int i = 0, cont = 0;
  float valor = 0;
  float *polinomio = NULL;
  polinomio = (float *)malloc(10 * sizeof(float));
  inicializa_polinomio(polinomio);
  for (i = 0; i < 10; i++) {
    if (*(*polinomio1 + i) != 0.0) {
      *(polinomio + (i + 1)) = *(*polinomio1 + i) / (i + 1);
    }
  }
  printf("Integral %c=", c);
  fprintf(*saida, "Integral %c=", c);
  for (i = 0; i < 10; i++) {
    if (*(polinomio + i) != 0.0) {
      if (cont == 0) {
        printf("%.2fx%d", *(polinomio + i), i);
        fprintf(*saida, "%.2fx%d", *(polinomio + i), i);
        cont = 1;
      } else {
        printf("%+.2fx%d", *(polinomio + i), i);
        fprintf(*saida, "%+.2fx%d", *(polinomio + i), i);
      }
    }
  }
  if (cont == 0) {
    printf("0");
    fprintf(*saida, "0");
  }
  printf("\nIntegral ");
  fprintf(*saida, "\nIntegral ");
  valor = calcula(&polinomio, &*x, c, &*saida);
}


x86 assembly (clang, -O0):
<integral>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %dl,%al
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %al,-0x11(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x2c(%rbp)
movq   $0x0,-0x38(%rbp)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
call   1030 <inicializa_polinomio@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0xa,-0x24(%rbp)
jge    121e <integral+0xce>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    11db <integral+0x8b>
jp     11db <integral+0x8b>
jmp    120b <integral+0xbb>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x24(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm1
divss  %xmm1,%xmm0
mov    -0x38(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movss  %xmm0,(%rax,%rcx,4)
jmp    1210 <integral+0xc0>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11a5 <integral+0x55>
movsbl -0x11(%rbp),%esi
lea    0xdd7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
movsbl -0x11(%rbp),%edx
lea    0xdbe(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0xa,-0x24(%rbp)
jge    1347 <integral+0x1f7>
mov    -0x38(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1283 <integral+0x133>
jp     1283 <integral+0x133>
jmp    1334 <integral+0x1e4>
cmpl   $0x0,-0x28(%rbp)
jne    12e4 <integral+0x194>
mov    -0x38(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x24(%rbp),%esi
lea    0xd65(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
mov    -0x38(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x24(%rbp),%edx
lea    0xd3c(%rip),%rsi
mov    $0x1,%al
call   1060 <fprintf@plt>
movl   $0x1,-0x28(%rbp)
jmp    132f <integral+0x1df>
mov    -0x38(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x24(%rbp),%esi
lea    0xd16(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
mov    -0x38(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x24(%rbp),%edx
lea    0xced(%rip),%rsi
mov    $0x1,%al
call   1060 <fprintf@plt>
jmp    1334 <integral+0x1e4>
jmp    1339 <integral+0x1e9>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1250 <integral+0x100>
cmpl   $0x0,-0x28(%rbp)
jne    1374 <integral+0x224>
lea    0xcc6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
lea    0xcb1(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
lea    0xca5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
lea    0xc90(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x10(%rbp),%rsi
mov    -0x11(%rbp),%al
mov    -0x20(%rbp),%rcx
lea    -0x38(%rbp),%rdi
movsbl %al,%edx
call   1040 <calcula@plt>
movss  %xmm0,-0x2c(%rbp)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<integral>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rcx,%r13
mov    %edx,%r15d
mov    %rsi,0x10(%rsp)
mov    %rdi,%r12
mov    $0x28,%edi
call   1090 <malloc@plt>
mov    %rax,%rbp
mov    %rax,0x8(%rsp)
mov    %rax,%rdi
call   1030 <inicializa_polinomio@plt>
mov    (%r12),%rax
movss  (%rax),%xmm1
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm1
jne    11c8 <integral+0x48>
jnp    11cd <integral+0x4d>
movss  %xmm1,0x4(%rbp)
movss  0x4(%rax),%xmm1
ucomiss %xmm0,%xmm1
jne    11d9 <integral+0x59>
jnp    11e6 <integral+0x66>
mulss  0xe1f(%rip),%xmm1
movss  %xmm1,0x8(%rbp)
movss  0x8(%rax),%xmm1
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm1
jne    11f5 <integral+0x75>
jnp    1202 <integral+0x82>
divss  0xe07(%rip),%xmm1
movss  %xmm1,0xc(%rbp)
movss  0xc(%rax),%xmm1
ucomiss %xmm0,%xmm1
jne    120e <integral+0x8e>
jnp    121b <integral+0x9b>
mulss  0xdf2(%rip),%xmm1
movss  %xmm1,0x10(%rbp)
movss  0x10(%rax),%xmm1
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm1
jne    122a <integral+0xaa>
jnp    1237 <integral+0xb7>
divss  0xdda(%rip),%xmm1
movss  %xmm1,0x14(%rbp)
movss  0x14(%rax),%xmm1
ucomiss %xmm0,%xmm1
jne    1243 <integral+0xc3>
jnp    1250 <integral+0xd0>
divss  0xdc5(%rip),%xmm1
movss  %xmm1,0x18(%rbp)
movss  0x18(%rax),%xmm1
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm1
jne    125f <integral+0xdf>
jnp    126c <integral+0xec>
divss  0xdad(%rip),%xmm1
movss  %xmm1,0x1c(%rbp)
movss  0x1c(%rax),%xmm1
ucomiss %xmm0,%xmm1
jne    1278 <integral+0xf8>
jnp    1285 <integral+0x105>
mulss  0xd98(%rip),%xmm1
movss  %xmm1,0x20(%rbp)
movss  0x20(%rax),%xmm1
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm1
jne    1294 <integral+0x114>
jnp    12a1 <integral+0x121>
divss  0xd80(%rip),%xmm1
movss  %xmm1,0x24(%rbp)
movss  0x24(%rax),%xmm1
ucomiss %xmm0,%xmm1
jne    12ad <integral+0x12d>
jnp    12ba <integral+0x13a>
divss  0xd6b(%rip),%xmm1
movss  %xmm1,0x28(%rbp)
movsbl %r15b,%ebx
lea    0xd63(%rip),%r12
xor    %ebp,%ebp
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x0(%r13),%rdi
mov    %r12,%rsi
mov    %ebx,0x4(%rsp)
mov    %ebx,%edx
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    0x8(%rsp),%r12
lea    0xd42(%rip),%r14
lea    0xd43(%rip),%r15
xor    %eax,%eax
jmp    130a <integral+0x18a>
xchg   %ax,%ax
add    $0x1,%rbp
cmp    $0xa,%rbp
je     1355 <integral+0x1d5>
movss  (%r12,%rbp,4),%xmm0
ucomiss 0xd0d(%rip),%xmm0
jne    131b <integral+0x19b>
jnp    1300 <integral+0x180>
cvtss2sd %xmm0,%xmm0
test   %eax,%eax
mov    %r15,%rbx
cmove  %r14,%rbx
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x0(%r13),%rdi
movss  (%r12,%rbp,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rsi
mov    %ebp,%edx
mov    $0x1,%al
call   1080 <fprintf@plt>
mov    $0x1,%eax
jmp    1300 <integral+0x180>
test   %eax,%eax
jne    1371 <integral+0x1f1>
mov    $0x30,%edi
call   1040 <putchar@plt>
mov    0x0(%r13),%rsi
mov    $0x30,%edi
call   1070 <fputc@plt>
lea    0xcce(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x0(%r13),%rcx
mov    $0xa,%esi
mov    $0x1,%edx
mov    %rbx,%rdi
call   10a0 <fwrite@plt>
lea    0x8(%rsp),%rdi
mov    0x10(%rsp),%rsi
mov    0x4(%rsp),%edx
mov    %r13,%rcx
call   1050 <calcula@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [13 x i8] c"Integral %c=\00"
@.str.1 = [8 x i8] c"%.2fx%d\00"
@.str.2 = [9 x i8] c"%+.2fx%d\00"
@.str.3 = [2 x i8] c"0\00"
@.str.4 = [11 x i8] c"\0AIntegral \00"
define void @integral(float** %0, float* %1, i8 signext %2, i32** %3) {
%5 = alloca float**
%6 = alloca float*
%7 = alloca i8
%8 = alloca i32**
%9 = alloca i32
%10 = alloca i32
%11 = alloca float
%12 = alloca float*
store float** %0, float*** %5
store float* %1, float** %6
store i8 %2, i8* %7
store i32** %3, i32*** %8
store i32 0, i32* %9
store i32 0, i32* %10
store float 0.000000e+00, float* %11
store float* null, float** %12
%13 = call i64 @malloc(i32 40)
%14 = inttoptr i64 %13 to float*
store float* %14, float** %12
%15 = load float*, float** %12
%16 = call i32 @inicializa_polinomio(float* %15)
store i32 0, i32* %9
br label %17
17: ; preds = %46, %4
%18 = load i32, i32* %9
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %49
20: ; preds = %17
%21 = load float**, float*** %5
%22 = load float*, float** %21
%23 = load i32, i32* %9
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, float* %22, i64 %24
%26 = load float, float* %25
%27 = fpext float %26 to double
%28 = fcmp une double %27, 0.000000e+00
br i1 %28, label %29, label %45
29: ; preds = %20
%30 = load float**, float*** %5
%31 = load float*, float** %30
%32 = load i32, i32* %9
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds float, float* %31, i64 %33
%35 = load float, float* %34
%36 = load i32, i32* %9
%37 = add nsw i32 %36, 1
%38 = sitofp i32 %37 to float
%39 = fdiv float %35, %38
%40 = load float*, float** %12
%41 = load i32, i32* %9
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, float* %40, i64 %43
store float %39, float* %44
br label %45
45: ; preds = %29, %20
br label %46
46: ; preds = %45
%47 = load i32, i32* %9
%48 = add nsw i32 %47, 1
store i32 %48, i32* %9
br label %17
49: ; preds = %17
%50 = load i8, i8* %7
%51 = sext i8 %50 to i32
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %51)
%53 = load i32**, i32*** %8
%54 = load i32*, i32** %53
%55 = load i8, i8* %7
%56 = sext i8 %55 to i32
%57 = call i32 (i32*, i8*, ...) @fprintf(i32* %54, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %56)
store i32 0, i32* %9
br label %58
58: ; preds = %112, %49
%59 = load i32, i32* %9
%60 = icmp slt i32 %59, 10
br i1 %60, label %61, label %115
61: ; preds = %58
%62 = load float*, float** %12
%63 = load i32, i32* %9
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds float, float* %62, i64 %64
%66 = load float, float* %65
%67 = fpext float %66 to double
%68 = fcmp une double %67, 0.000000e+00
br i1 %68, label %69, label %111
69: ; preds = %61
%70 = load i32, i32* %10
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %91
72: ; preds = %69
%73 = load float*, float** %12
%74 = load i32, i32* %9
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds float, float* %73, i64 %75
%77 = load float, float* %76
%78 = fpext float %77 to double
%79 = load i32, i32* %9
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), double %78, i32 %79)
%81 = load i32**, i32*** %8
%82 = load i32*, i32** %81
%83 = load float*, float** %12
%84 = load i32, i32* %9
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, float* %83, i64 %85
%87 = load float, float* %86
%88 = fpext float %87 to double
%89 = load i32, i32* %9
%90 = call i32 (i32*, i8*, ...) @fprintf(i32* %82, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), double %88, i32 %89)
store i32 1, i32* %10
br label %110
91: ; preds = %69
%92 = load float*, float** %12
%93 = load i32, i32* %9
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds float, float* %92, i64 %94
%96 = load float, float* %95
%97 = fpext float %96 to double
%98 = load i32, i32* %9
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), double %97, i32 %98)
%100 = load i32**, i32*** %8
%101 = load i32*, i32** %100
%102 = load float*, float** %12
%103 = load i32, i32* %9
%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 = load i32, i32* %9
%109 = call i32 (i32*, i8*, ...) @fprintf(i32* %101, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), double %107, i32 %108)
br label %110
110: ; preds = %91, %72
br label %111
111: ; preds = %110, %61
br label %112
112: ; preds = %111
%113 = load i32, i32* %9
%114 = add nsw i32 %113, 1
store i32 %114, i32* %9
br label %58
115: ; preds = %58
%116 = load i32, i32* %10
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %123
118: ; preds = %115
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%120 = load i32**, i32*** %8
%121 = load i32*, i32** %120
%122 = call i32 (i32*, i8*, ...) @fprintf(i32* %121, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %123
123: ; preds = %118, %115
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%125 = load i32**, i32*** %8
%126 = load i32*, i32** %125
%127 = call i32 (i32*, i8*, ...) @fprintf(i32* %126, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%128 = load float*, float** %6
%129 = load i8, i8* %7
%130 = load i32**, i32*** %8
%131 = call float @calcula(float** %12, float* %128, i8 signext %129, i32** %130)
store float %131, float* %11
ret void
}

LLVM IR (-O2):
@.str = [13 x i8] c"Integral %c=\00"
@.str.1 = [8 x i8] c"%.2fx%d\00"
@.str.2 = [9 x i8] c"%+.2fx%d\00"
@.str.4 = [11 x i8] c"\0AIntegral \00"
define void @integral(float** nocapture %0, float* %1, i8 signext %2, i32** %3) {
%5 = alloca float*
%6 = bitcast float** %5 to i8*
%7 = tail call i64 @malloc(i32 40)
%8 = inttoptr i64 %7 to float*
store float* %8, float** %5
%9 = tail call i32 @inicializa_polinomio(float* %8)
%10 = load float*, float** %0
%11 = load float, float* %10
%12 = fcmp une float %11, 0.000000e+00
br i1 %12, label %13, label %15
13: ; preds = %4
%14 = getelementptr inbounds float, float* %8, i64 1
store float %11, float* %14
br label %15
15: ; preds = %4, %13
%16 = getelementptr inbounds float, float* %10, i64 1
%17 = load float, float* %16
%18 = fcmp une float %17, 0.000000e+00
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = fmul float %17, 5.000000e-01
%21 = getelementptr inbounds float, float* %8, i64 2
store float %20, float* %21
br label %22
22: ; preds = %19, %15
%23 = getelementptr inbounds float, float* %10, i64 2
%24 = load float, float* %23
%25 = fcmp une float %24, 0.000000e+00
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = fdiv float %24, 3.000000e+00
%28 = getelementptr inbounds float, float* %8, i64 3
store float %27, float* %28
br label %29
29: ; preds = %26, %22
%30 = getelementptr inbounds float, float* %10, i64 3
%31 = load float, float* %30
%32 = fcmp une float %31, 0.000000e+00
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = fmul float %31, 2.500000e-01
%35 = getelementptr inbounds float, float* %8, i64 4
store float %34, float* %35
br label %36
36: ; preds = %33, %29
%37 = getelementptr inbounds float, float* %10, i64 4
%38 = load float, float* %37
%39 = fcmp une float %38, 0.000000e+00
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = fdiv float %38, 5.000000e+00
%42 = getelementptr inbounds float, float* %8, i64 5
store float %41, float* %42
br label %43
43: ; preds = %40, %36
%44 = getelementptr inbounds float, float* %10, i64 5
%45 = load float, float* %44
%46 = fcmp une float %45, 0.000000e+00
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = fdiv float %45, 6.000000e+00
%49 = getelementptr inbounds float, float* %8, i64 6
store float %48, float* %49
br label %50
50: ; preds = %47, %43
%51 = getelementptr inbounds float, float* %10, i64 6
%52 = load float, float* %51
%53 = fcmp une float %52, 0.000000e+00
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = fdiv float %52, 7.000000e+00
%56 = getelementptr inbounds float, float* %8, i64 7
store float %55, float* %56
br label %57
57: ; preds = %54, %50
%58 = getelementptr inbounds float, float* %10, i64 7
%59 = load float, float* %58
%60 = fcmp une float %59, 0.000000e+00
br i1 %60, label %61, label %64
61: ; preds = %57
%62 = fmul float %59, 1.250000e-01
%63 = getelementptr inbounds float, float* %8, i64 8
store float %62, float* %63
br label %64
64: ; preds = %61, %57
%65 = getelementptr inbounds float, float* %10, i64 8
%66 = load float, float* %65
%67 = fcmp une float %66, 0.000000e+00
br i1 %67, label %68, label %71
68: ; preds = %64
%69 = fdiv float %66, 9.000000e+00
%70 = getelementptr inbounds float, float* %8, i64 9
store float %69, float* %70
br label %71
71: ; preds = %68, %64
%72 = getelementptr inbounds float, float* %10, i64 9
%73 = load float, float* %72
%74 = fcmp une float %73, 0.000000e+00
br i1 %74, label %75, label %78
75: ; preds = %71
%76 = fdiv float %73, 1.000000e+01
%77 = getelementptr inbounds float, float* %8, i64 10
store float %76, float* %77
br label %78
78: ; preds = %75, %71
%79 = sext i8 %2 to i32
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %79)
%81 = load i32*, i32** %3
%82 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %81, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %79)
%83 = load float*, float** %5
br label %84
84: ; preds = %78, %100
%85 = phi i64 [ 0, %78 ], [ %102, %100 ]
%86 = phi i32 [ 0, %78 ], [ %101, %100 ]
%87 = getelementptr inbounds float, float* %83, i64 %85
%88 = load float, float* %87
%89 = fcmp une float %88, 0.000000e+00
br i1 %89, label %90, label %100
90: ; preds = %84
%91 = fpext float %88 to double
%92 = icmp eq i32 %86, 0
%93 = trunc i64 %85 to i32
%94 = select i1 %92, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0)
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %94, double %91, i32 %93)
%96 = load i32*, i32** %3
%97 = load float, float* %87
%98 = fpext float %97 to double
%99 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %96, i8* %94, double %98, i32 %93)
br label %100
100: ; preds = %90, %84
%101 = phi i32 [ %86, %84 ], [ 1, %90 ]
%102 = add nuw nsw i64 %85, 1
%103 = icmp eq i64 %102, 10
br i1 %103, label %104, label %84
104: ; preds = %100
%105 = icmp eq i32 %101, 0
br i1 %105, label %106, label %110
106: ; preds = %104
%107 = tail call i32 @putchar(i32 48)
%108 = load i32*, i32** %3
%109 = tail call i32 @fputc(i32 48, i32* %108)
br label %110
110: ; preds = %106, %104
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%112 = load i32*, i32** %3
%113 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i64 10, i64 1, i32* %112)
%114 = call float @calcula(float** %5, float* %1, i8 signext %2, i32** %3)
ret void
}