#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 *, double, double, ...);
int /*<<< orphan*/ scanf(char *, double *, double *);
int main() {
  int i;
  double m0[12], m1[12], m0_custo, m0_lucro, m0_custot = 0, m0_lucrot = 0,
                                             m1_custo, m1_lucro, m1_custot = 0,
                                             m1_lucrot = 0;
  for (i = 0; i < 12; ++i)
    scanf("%lf %lf", &m0[i], &m1[i]);
  scanf("%lf %lf", &m0_custo, &m0_lucro);
  scanf("%lf %lf", &m1_custo, &m1_lucro);
  for (i = 0; i < 12; ++i) {
    printf("Motor[0], Mes[%d], custo=[%.2lf], lucro=[%.2lf]\n", (i + 1),
           (m0[i] * m0_custo), (m0[i] * m0_lucro));
    m0_custot += (m0[i] * m0_custo);
    m0_lucrot += (m0[i] * m0_lucro);
  }
  for (i = 0; i < 12; ++i) {
    printf("Motor[1], Mes[%d], custo=[%.2lf], lucro=[%.2lf]\n", (i + 1),
           (m1[i] * m1_custo), (m1[i] * m1_lucro));
    m1_custot += (m1[i] * m1_custo);
    m1_lucrot += (m1[i] * m1_lucro);
  }
  printf("Motor[0], anual, custo=[%.2lf], lucro=[%.2lf]\n", m0_custot,
         m0_lucrot);
  printf("Motor[1], anual, custo=[%.2lf], lucro=[%.2lf]\n", m1_custot,
         m1_lucrot);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movl   $0x0,-0x8(%rbp)
cmpl   $0xc,-0x8(%rbp)
jge    11aa <main+0x8a>
movslq -0x8(%rbp),%rax
lea    -0x70(%rbp),%rsi
shl    $0x3,%rax
add    %rax,%rsi
movslq -0x8(%rbp),%rax
lea    -0xd0(%rbp),%rdx
shl    $0x3,%rax
add    %rax,%rdx
lea    0xe69(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1165 <main+0x45>
lea    0xe4f(%rip),%rdi
lea    -0xd8(%rbp),%rsi
lea    -0xe0(%rbp),%rdx
call   1040 <scanf@plt>
lea    0xe35(%rip),%rdi
lea    -0xf8(%rbp),%rsi
lea    -0x100(%rbp),%rdx
call   1040 <scanf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xc,-0x8(%rbp)
jge    128d <main+0x16d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
movslq -0x8(%rbp),%rax
movsd  -0x70(%rbp,%rax,8),%xmm1
mulsd  -0xd8(%rbp),%xmm1
ff
movslq -0x8(%rbp),%rax
movsd  -0x70(%rbp,%rax,8),%xmm2
mulsd  -0xe0(%rbp),%xmm2
ff
lea    0xde4(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
movslq -0x8(%rbp),%rax
movsd  -0x70(%rbp,%rax,8),%xmm0
movsd  -0xd8(%rbp),%xmm2
ff
movsd  -0xe8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movslq -0x8(%rbp),%rax
movsd  -0x70(%rbp,%rax,8),%xmm0
movsd  -0xe0(%rbp),%xmm2
ff
movsd  -0xf0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11e5 <main+0xc5>
movl   $0x0,-0x8(%rbp)
cmpl   $0xc,-0x8(%rbp)
jge    1348 <main+0x228>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
movslq -0x8(%rbp),%rax
movsd  -0xd0(%rbp,%rax,8),%xmm1
ff ff
mulsd  -0xf8(%rbp),%xmm1
ff
movslq -0x8(%rbp),%rax
movsd  -0xd0(%rbp,%rax,8),%xmm2
ff ff
mulsd  -0x100(%rbp),%xmm2
ff
lea    0xd60(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
movslq -0x8(%rbp),%rax
movsd  -0xd0(%rbp,%rax,8),%xmm0
ff ff
movsd  -0xf8(%rbp),%xmm2
ff
movsd  -0x108(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movslq -0x8(%rbp),%rax
movsd  -0xd0(%rbp,%rax,8),%xmm0
ff ff
movsd  -0x100(%rbp),%xmm2
ff
movsd  -0x110(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1294 <main+0x174>
movsd  -0xe8(%rbp),%xmm0
ff
movsd  -0xf0(%rbp),%xmm1
ff
lea    0xd0b(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x108(%rbp),%xmm0
ff
movsd  -0x110(%rbp),%xmm1
ff
lea    0xd1c(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x110,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x100,%rsp
lea    0xecd(%rip),%rbx
lea    0xa0(%rsp),%rsi
lea    0x40(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xa8(%rsp),%rsi
lea    0x48(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xb0(%rsp),%rsi
lea    0x50(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xb8(%rsp),%rsi
lea    0x58(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xc0(%rsp),%rsi
lea    0x60(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xc8(%rsp),%rsi
lea    0x68(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xd0(%rsp),%rsi
lea    0x70(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xd8(%rsp),%rsi
lea    0x78(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xe0(%rsp),%rsi
lea    0x80(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xe8(%rsp),%rsi
lea    0x88(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xf0(%rsp),%rsi
lea    0x90(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xf8(%rsp),%rsi
lea    0x98(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0x18(%rsp),%rsi
lea    0x10(%rsp),%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0x8(%rsp),%rsi
mov    %rsp,%rdx
mov    %rbx,%rdi
call   1040 <scanf@plt>
movsd  0x18(%rsp),%xmm1
xorpd  %xmm0,%xmm0
xor    %ebx,%ebx
movsd  0x10(%rsp),%xmm2
lea    0xd92(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
movapd %xmm0,0x30(%rsp)
lea    0x1(%rbx),%r15
xorps  %xmm0,%xmm0
cvtsi2sd %r15d,%xmm0
movsd  0xa0(%rsp,%rbx,8),%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm3,%xmm2
mov    %r14,%rdi
mov    $0x3,%al
call   1030 <printf@plt>
movsd  0x18(%rsp),%xmm1
movsd  0x10(%rsp),%xmm2
movsd  0xa0(%rsp,%rbx,8),%xmm0
unpcklpd %xmm0,%xmm0
movapd %xmm2,%xmm3
unpcklpd %xmm1,%xmm3
mulpd  %xmm0,%xmm3
movapd 0x30(%rsp),%xmm0
addpd  %xmm3,%xmm0
mov    %r15,%rbx
cmp    $0xc,%r15
jne    1280 <main+0x160>
movapd %xmm0,0x30(%rsp)
movsd  0x8(%rsp),%xmm1
xorpd  %xmm0,%xmm0
movapd %xmm0,0x20(%rsp)
movsd  (%rsp),%xmm2
xor    %ebx,%ebx
lea    0xd30(%rip),%r14
nopl   0x0(%rax)
lea    0x1(%rbx),%r15
xorps  %xmm0,%xmm0
cvtsi2sd %r15d,%xmm0
movsd  0x40(%rsp,%rbx,8),%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm3,%xmm2
mov    %r14,%rdi
mov    $0x3,%al
call   1030 <printf@plt>
movsd  0x8(%rsp),%xmm1
movsd  (%rsp),%xmm2
movsd  0x40(%rsp,%rbx,8),%xmm0
unpcklpd %xmm0,%xmm0
movapd %xmm2,%xmm3
unpcklpd %xmm1,%xmm3
mulpd  %xmm0,%xmm3
movapd 0x20(%rsp),%xmm0
addpd  %xmm3,%xmm0
movapd %xmm0,0x20(%rsp)
mov    %r15,%rbx
cmp    $0xc,%r15
jne    1310 <main+0x1f0>
movaps 0x30(%rsp),%xmm1
movaps %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
lea    0xce9(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movaps 0x20(%rsp),%xmm1
movaps %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
lea    0xcfe(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x100,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
@.str = [8 x i8] c"%lf %lf\00"
@.str.1 = [49 x i8] c"Motor[0], Mes[%d], custo=[%.2lf], lucro=[%.2lf]\0A\00"
@.str.2 = [49 x i8] c"Motor[1], Mes[%d], custo=[%.2lf], lucro=[%.2lf]\0A\00"
@.str.3 = [47 x i8] c"Motor[0], anual, custo=[%.2lf], lucro=[%.2lf]\0A\00"
@.str.4 = [47 x i8] c"Motor[1], anual, custo=[%.2lf], lucro=[%.2lf]\0A\00"
define i32 @main() {
%1 = alloca [12 x double]
%2 = alloca [12 x double]
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = bitcast [12 x double]* %1 to i8*
%8 = bitcast [12 x double]* %2 to i8*
%9 = bitcast double* %3 to i8*
%10 = bitcast double* %4 to i8*
%11 = bitcast double* %5 to i8*
%12 = bitcast double* %6 to i8*
%13 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 0
%14 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 0
%15 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %13, double* %14)
%16 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 1
%17 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 1
%18 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %16, double* %17)
%19 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 2
%20 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 2
%21 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %19, double* %20)
%22 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 3
%23 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 3
%24 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %22, double* %23)
%25 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 4
%26 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 4
%27 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %25, double* %26)
%28 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 5
%29 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 5
%30 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %28, double* %29)
%31 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 6
%32 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 6
%33 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %31, double* %32)
%34 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 7
%35 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 7
%36 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %34, double* %35)
%37 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 8
%38 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 8
%39 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %37, double* %38)
%40 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 9
%41 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 9
%42 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %40, double* %41)
%43 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 10
%44 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 10
%45 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %43, double* %44)
%46 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 11
%47 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 11
%48 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %46, double* %47)
%49 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %3, double* %4)
%50 = call i32 @scanf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double* %5, double* %6)
%51 = load double, double* %3
%52 = load double, double* %4
br label %56
53: ; preds = %56
%54 = load double, double* %5
%55 = load double, double* %6
br label %78
56: ; preds = %0, %56
%57 = phi double [ %52, %0 ], [ %71, %56 ]
%58 = phi double [ %51, %0 ], [ %70, %56 ]
%59 = phi i64 [ 0, %0 ], [ %61, %56 ]
%60 = phi <2 x double> [ zeroinitializer, %0 ], [ %76, %56 ]
%61 = add nuw nsw i64 %59, 1
%62 = trunc i64 %61 to i32
%63 = sitofp i32 %62 to double
%64 = getelementptr inbounds [12 x double], [12 x double]* %1, i64 0, i64 %59
%65 = load double, double* %64
%66 = fmul double %65, %58
%67 = fmul double %65, %57
%68 = call i32 (i8*, double, double, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.1, i64 0, i64 0), double %63, double %66, double %67)
%69 = load double, double* %64
%70 = load double, double* %3
%71 = load double, double* %4
%72 = insertelement <2 x double> poison, double %69, i64 0
%73 = shufflevector <2 x double> %72, <2 x double> poison, <2 x i32> zeroinitializer
%74 = insertelement <2 x double> poison, double %71, i64 0
%75 = insertelement <2 x double> %74, double %70, i64 1
%76 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %73, <2 x double> %75, <2 x double> %60)
%77 = icmp eq i64 %61, 12
br i1 %77, label %53, label %56
78: ; preds = %53, %78
%79 = phi double [ %55, %53 ], [ %93, %78 ]
%80 = phi double [ %54, %53 ], [ %92, %78 ]
%81 = phi i64 [ 0, %53 ], [ %83, %78 ]
%82 = phi <2 x double> [ zeroinitializer, %53 ], [ %98, %78 ]
%83 = add nuw nsw i64 %81, 1
%84 = trunc i64 %83 to i32
%85 = sitofp i32 %84 to double
%86 = getelementptr inbounds [12 x double], [12 x double]* %2, i64 0, i64 %81
%87 = load double, double* %86
%88 = fmul double %87, %80
%89 = fmul double %87, %79
%90 = call i32 (i8*, double, double, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0), double %85, double %88, double %89)
%91 = load double, double* %86
%92 = load double, double* %5
%93 = load double, double* %6
%94 = insertelement <2 x double> poison, double %91, i64 0
%95 = shufflevector <2 x double> %94, <2 x double> poison, <2 x i32> zeroinitializer
%96 = insertelement <2 x double> poison, double %93, i64 0
%97 = insertelement <2 x double> %96, double %92, i64 1
%98 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %95, <2 x double> %97, <2 x double> %82)
%99 = icmp eq i64 %83, 12
br i1 %99, label %100, label %78
100: ; preds = %78
%101 = extractelement <2 x double> %76, i64 0
%102 = extractelement <2 x double> %76, i64 1
%103 = call i32 (i8*, double, double, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0), double %102, double %101)
%104 = extractelement <2 x double> %98, i64 0
%105 = extractelement <2 x double> %98, i64 1
%106 = call i32 (i8*, double, double, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0), double %105, double %104)
ret i32 0
}