#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 */
double *calloc(int, int);
int /*<<< orphan*/ free(double *);
double sqrt(double);
double weighted_error_sq_ten(double mean, double(*means_ptr),
                             double(*weights_ptr)) {
  double *means;
  means = calloc(10, sizeof(double));
  double error = 0.0;
  for (int dim1 = 0; dim1 < 10; dim1++) {
    means[dim1] = (means_ptr[dim1] / weights_ptr[dim1]);
    error += (sqrt(means[dim1]) - mean) * (sqrt(means[dim1]) - mean);
  }
  error /= 10.0;
  error = sqrt(error);
  free(means);
  return error;
}


x86 assembly (clang, -O0):
<weighted_error_sq_ten>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movsd  %xmm0,-0x8(%rbp)
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    $0xa,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,-0x20(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0xa,-0x2c(%rbp)
jge    11f3 <weighted_error_sq_ten+0xc3>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1050 <sqrt@plt>
subsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm2
movsd  -0x38(%rbp),%xmm0
subsd  -0x8(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1167 <weighted_error_sq_ten+0x37>
movsd  -0x28(%rbp),%xmm0
movsd  0xe00(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x28(%rbp)
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
movsd  -0x28(%rbp),%xmm0
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<weighted_error_sq_ten>:
push   %r15
push   %r14
push   %rbx
sub    $0x60,%rsp
mov    %rsi,%r15
mov    %rdi,%rbx
movsd  %xmm0,0x20(%rsp)
mov    $0xa,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,%r14
movsd  (%rbx),%xmm2
divsd  (%r15),%xmm2
movsd  %xmm2,(%rax)
sqrtsd %xmm2,%xmm1
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm2
movapd %xmm1,%xmm0
jae    1199 <weighted_error_sq_ten+0x69>
movapd %xmm2,%xmm0
movsd  %xmm1,0x18(%rsp)
movsd  %xmm2,(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  (%rsp),%xmm2
movsd  0x18(%rsp),%xmm1
movsd  %xmm0,(%rsp)
ucomisd %xmm3,%xmm2
jae    11b1 <weighted_error_sq_ten+0x81>
movapd %xmm2,%xmm0
call   1050 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
xorpd  %xmm0,%xmm0
movsd  0x8(%rbx),%xmm2
divsd  0x8(%r15),%xmm2
movsd  %xmm2,0x8(%r14)
xorps  %xmm1,%xmm1
sqrtsd %xmm2,%xmm1
ucomisd %xmm0,%xmm2
movsd  %xmm1,0x30(%rsp)
movapd %xmm1,%xmm0
jae    11f8 <weighted_error_sq_ten+0xc8>
movapd %xmm2,%xmm0
movsd  %xmm2,0x8(%rsp)
call   1050 <sqrt@plt>
movsd  0x8(%rsp),%xmm2
movsd  %xmm0,0x28(%rsp)
ucomisd 0xe02(%rip),%xmm2
jae    1217 <weighted_error_sq_ten+0xe7>
movapd %xmm2,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0x10(%rbx),%xmm2
divsd  0x10(%r15),%xmm2
movsd  %xmm2,0x10(%r14)
xorps  %xmm1,%xmm1
sqrtsd %xmm2,%xmm1
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm2
movapd %xmm1,%xmm0
jae    1262 <weighted_error_sq_ten+0x132>
movapd %xmm2,%xmm0
movsd  %xmm1,0x40(%rsp)
movsd  %xmm2,0x8(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  0x8(%rsp),%xmm2
movsd  0x40(%rsp),%xmm1
movsd  %xmm0,0x8(%rsp)
ucomisd %xmm3,%xmm2
jae    127b <weighted_error_sq_ten+0x14b>
movapd %xmm2,%xmm0
call   1050 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  %xmm1,0x40(%rsp)
movsd  0x18(%rbx),%xmm1
divsd  0x18(%r15),%xmm1
movsd  %xmm1,0x18(%r14)
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
xorpd  %xmm2,%xmm2
ucomisd %xmm2,%xmm1
movsd  %xmm0,0x58(%rsp)
jae    12c2 <weighted_error_sq_ten+0x192>
movapd %xmm1,%xmm0
movsd  %xmm1,0x10(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm2,%xmm2
movsd  0x10(%rsp),%xmm1
movsd  %xmm0,0x38(%rsp)
ucomisd %xmm2,%xmm1
jae    12dd <weighted_error_sq_ten+0x1ad>
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,0x58(%rsp)
movsd  0x20(%rbx),%xmm2
divsd  0x20(%r15),%xmm2
movsd  %xmm2,0x20(%r14)
xorps  %xmm0,%xmm0
sqrtsd %xmm2,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm2
movsd  %xmm0,0x50(%rsp)
jae    131e <weighted_error_sq_ten+0x1ee>
movapd %xmm2,%xmm0
movsd  %xmm2,0x10(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  0x10(%rsp),%xmm2
movsd  %xmm0,0x10(%rsp)
movsd  0x20(%rsp),%xmm0
movsd  (%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,(%rsp)
movsd  0x18(%rsp),%xmm1
subsd  %xmm0,%xmm1
ucomisd %xmm3,%xmm2
jae    1363 <weighted_error_sq_ten+0x233>
movapd %xmm2,%xmm0
movsd  %xmm1,0x18(%rsp)
call   1050 <sqrt@plt>
movsd  0x18(%rsp),%xmm1
movsd  %xmm0,0x50(%rsp)
movsd  (%rsp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
movsd  0x20(%rsp),%xmm0
movsd  0x28(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  0x30(%rsp),%xmm2
subsd  %xmm0,%xmm2
movsd  %xmm2,0x30(%rsp)
movsd  0x28(%rbx),%xmm3
divsd  0x28(%r15),%xmm3
movsd  %xmm3,0x28(%r14)
xorps  %xmm0,%xmm0
sqrtsd %xmm3,%xmm0
xorpd  %xmm4,%xmm4
ucomisd %xmm4,%xmm3
movsd  %xmm0,0x48(%rsp)
jae    13de <weighted_error_sq_ten+0x2ae>
movapd %xmm3,%xmm0
movsd  %xmm1,0x28(%rsp)
movsd  %xmm3,0x18(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm4,%xmm4
movsd  0x18(%rsp),%xmm3
movsd  0x28(%rsp),%xmm1
movsd  %xmm0,0x18(%rsp)
movsd  (%rsp),%xmm0
addsd  0xc17(%rip),%xmm0
movsd  %xmm0,(%rsp)
mulsd  0x30(%rsp),%xmm1
movsd  0x20(%rsp),%xmm0
movsd  0x8(%rsp),%xmm2
subsd  %xmm0,%xmm2
movsd  %xmm2,0x8(%rsp)
movsd  0x40(%rsp),%xmm2
subsd  %xmm0,%xmm2
ucomisd %xmm4,%xmm3
jae    1449 <weighted_error_sq_ten+0x319>
movapd %xmm3,%xmm0
movsd  %xmm1,0x28(%rsp)
movsd  %xmm2,0x40(%rsp)
call   1050 <sqrt@plt>
movsd  0x40(%rsp),%xmm2
movsd  0x28(%rsp),%xmm1
movsd  %xmm0,0x48(%rsp)
addsd  (%rsp),%xmm1
movsd  0x8(%rsp),%xmm0
mulsd  %xmm2,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x20(%rsp),%xmm0
movsd  0x38(%rsp),%xmm2
subsd  %xmm0,%xmm2
movsd  0x58(%rsp),%xmm3
subsd  %xmm0,%xmm3
movsd  %xmm3,0x58(%rsp)
movsd  0x30(%rbx),%xmm5
divsd  0x30(%r15),%xmm5
movsd  %xmm5,0x30(%r14)
sqrtsd %xmm5,%xmm8
xorpd  %xmm6,%xmm6
ucomisd %xmm6,%xmm5
movapd %xmm8,%xmm4
jae    14e4 <weighted_error_sq_ten+0x3b4>
movapd %xmm5,%xmm0
movsd  %xmm1,0x28(%rsp)
movsd  %xmm2,0x38(%rsp)
movsd  %xmm8,0x30(%rsp)
movsd  %xmm5,(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm6,%xmm6
movsd  (%rsp),%xmm5
movsd  0x30(%rsp),%xmm8
movsd  0x38(%rsp),%xmm2
movsd  0x28(%rsp),%xmm1
movapd %xmm0,%xmm4
movsd  0x8(%rsp),%xmm0
addsd  %xmm1,%xmm0
movapd %xmm0,%xmm1
mulsd  0x58(%rsp),%xmm2
movsd  0x20(%rsp),%xmm0
movsd  0x10(%rsp),%xmm3
subsd  %xmm0,%xmm3
movsd  %xmm3,0x10(%rsp)
movsd  0x50(%rsp),%xmm3
subsd  %xmm0,%xmm3
movapd %xmm3,%xmm0
ucomisd %xmm6,%xmm5
movsd  %xmm4,(%rsp)
jae    155e <weighted_error_sq_ten+0x42e>
movsd  %xmm0,0x50(%rsp)
movapd %xmm5,%xmm0
movsd  %xmm1,0x8(%rsp)
movsd  %xmm2,0x38(%rsp)
call   1050 <sqrt@plt>
movsd  (%rsp),%xmm4
movsd  0x38(%rsp),%xmm2
movsd  0x8(%rsp),%xmm1
movapd %xmm0,%xmm8
movsd  0x50(%rsp),%xmm0
addsd  %xmm1,%xmm2
movsd  0x10(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  0x20(%rsp),%xmm0
movsd  0x18(%rsp),%xmm3
subsd  %xmm0,%xmm3
movsd  0x48(%rsp),%xmm5
subsd  %xmm0,%xmm5
movapd %xmm5,%xmm0
movsd  0x38(%rbx),%xmm6
divsd  0x38(%r15),%xmm6
movsd  %xmm6,0x38(%r14)
sqrtsd %xmm6,%xmm7
xorpd  %xmm9,%xmm9
ucomisd %xmm9,%xmm6
movapd %xmm7,%xmm5
jae    161c <weighted_error_sq_ten+0x4ec>
movsd  %xmm0,0x48(%rsp)
movapd %xmm6,%xmm0
movsd  %xmm2,0x38(%rsp)
movsd  %xmm1,0x10(%rsp)
movsd  %xmm3,0x18(%rsp)
movsd  %xmm8,0x30(%rsp)
movsd  %xmm7,0x28(%rsp)
movsd  %xmm6,0x8(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm9,%xmm9
movsd  0x8(%rsp),%xmm6
movsd  0x28(%rsp),%xmm7
movsd  0x30(%rsp),%xmm8
movsd  (%rsp),%xmm4
movsd  0x18(%rsp),%xmm3
movsd  0x10(%rsp),%xmm1
movsd  0x38(%rsp),%xmm2
movapd %xmm0,%xmm5
movsd  0x48(%rsp),%xmm0
addsd  %xmm2,%xmm1
mulsd  %xmm0,%xmm3
movsd  0x20(%rsp),%xmm0
subsd  %xmm0,%xmm4
subsd  %xmm0,%xmm8
ucomisd %xmm9,%xmm6
jae    1683 <weighted_error_sq_ten+0x553>
movapd %xmm6,%xmm0
movsd  %xmm1,0x10(%rsp)
movsd  %xmm3,0x18(%rsp)
movsd  %xmm4,(%rsp)
movsd  %xmm5,0x8(%rsp)
movsd  %xmm8,0x30(%rsp)
call   1050 <sqrt@plt>
movsd  0x30(%rsp),%xmm8
movsd  0x8(%rsp),%xmm5
movsd  (%rsp),%xmm4
movsd  0x18(%rsp),%xmm3
movsd  0x10(%rsp),%xmm1
movapd %xmm0,%xmm7
addsd  %xmm1,%xmm3
mulsd  %xmm8,%xmm4
movsd  0x20(%rsp),%xmm0
subsd  %xmm0,%xmm5
subsd  %xmm0,%xmm7
movsd  0x40(%rbx),%xmm2
divsd  0x40(%r15),%xmm2
movsd  %xmm2,0x40(%r14)
xorps  %xmm1,%xmm1
sqrtsd %xmm2,%xmm1
xorpd  %xmm6,%xmm6
ucomisd %xmm6,%xmm2
movapd %xmm1,%xmm0
jae    1713 <weighted_error_sq_ten+0x5e3>
movapd %xmm2,%xmm0
movsd  %xmm3,0x18(%rsp)
movsd  %xmm4,(%rsp)
movsd  %xmm5,0x8(%rsp)
movsd  %xmm7,0x28(%rsp)
movsd  %xmm1,0x10(%rsp)
movsd  %xmm2,0x38(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm6,%xmm6
movsd  0x38(%rsp),%xmm2
movsd  0x10(%rsp),%xmm1
movsd  0x28(%rsp),%xmm7
movsd  0x8(%rsp),%xmm5
movsd  (%rsp),%xmm4
movsd  0x18(%rsp),%xmm3
addsd  %xmm3,%xmm4
mulsd  %xmm7,%xmm5
subsd  0x20(%rsp),%xmm0
ucomisd %xmm6,%xmm2
jae    1756 <weighted_error_sq_ten+0x626>
movsd  %xmm0,0x10(%rsp)
movapd %xmm2,%xmm0
movsd  %xmm4,(%rsp)
movsd  %xmm5,0x8(%rsp)
call   1050 <sqrt@plt>
movsd  0x8(%rsp),%xmm5
movsd  (%rsp),%xmm4
movapd %xmm0,%xmm1
movsd  0x10(%rsp),%xmm0
addsd  %xmm4,%xmm5
subsd  0x20(%rsp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x48(%rbx),%xmm3
divsd  0x48(%r15),%xmm3
movsd  %xmm3,0x48(%r14)
xorps  %xmm2,%xmm2
sqrtsd %xmm3,%xmm2
xorpd  %xmm4,%xmm4
ucomisd %xmm4,%xmm3
movapd %xmm2,%xmm1
jae    17c9 <weighted_error_sq_ten+0x699>
movsd  %xmm0,0x10(%rsp)
movapd %xmm3,%xmm0
movsd  %xmm5,0x8(%rsp)
movsd  %xmm2,(%rsp)
movsd  %xmm3,0x28(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm4,%xmm4
movsd  0x28(%rsp),%xmm3
movsd  (%rsp),%xmm2
movsd  0x8(%rsp),%xmm5
movapd %xmm0,%xmm1
movsd  0x10(%rsp),%xmm0
addsd  %xmm5,%xmm0
subsd  0x20(%rsp),%xmm1
ucomisd %xmm4,%xmm3
jae    17fc <weighted_error_sq_ten+0x6cc>
movsd  %xmm0,0x10(%rsp)
movapd %xmm3,%xmm0
movsd  %xmm1,(%rsp)
call   1050 <sqrt@plt>
movsd  (%rsp),%xmm1
movapd %xmm0,%xmm2
movsd  0x10(%rsp),%xmm0
subsd  0x20(%rsp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
divsd  0x7ee(%rip),%xmm1
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm1
jb     1825 <weighted_error_sq_ten+0x6f5>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    182e <weighted_error_sq_ten+0x6fe>
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,0x20(%rsp)
mov    %r14,%rdi
call   1030 <free@plt>
movsd  0x20(%rsp),%xmm0
add    $0x60,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define double @weighted_error_sq_ten(double %0, double* %1, double* %2) {
%4 = alloca double
%5 = alloca double*
%6 = alloca double*
%7 = alloca double*
%8 = alloca double
%9 = alloca i32
store double %0, double* %4
store double* %1, double** %5
store double* %2, double** %6
%10 = call double* @calloc(i32 10, i32 8)
store double* %10, double** %7
store double 0.000000e+00, double* %8
store i32 0, i32* %9
br label %11
11: ; preds = %48, %3
%12 = load i32, i32* %9
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %51
14: ; preds = %11
%15 = load double*, double** %5
%16 = load i32, i32* %9
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, double* %15, i64 %17
%19 = load double, double* %18
%20 = load double*, double** %6
%21 = load i32, i32* %9
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, double* %20, i64 %22
%24 = load double, double* %23
%25 = fdiv double %19, %24
%26 = load double*, double** %7
%27 = load i32, i32* %9
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, double* %26, i64 %28
store double %25, double* %29
%30 = load double*, double** %7
%31 = load i32, i32* %9
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, double* %30, i64 %32
%34 = load double, double* %33
%35 = call double @sqrt(double %34)
%36 = load double, double* %4
%37 = fsub double %35, %36
%38 = load double*, double** %7
%39 = load i32, i32* %9
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, double* %38, i64 %40
%42 = load double, double* %41
%43 = call double @sqrt(double %42)
%44 = load double, double* %4
%45 = fsub double %43, %44
%46 = load double, double* %8
%47 = call double @llvm.fmuladd.f64(double %37, double %45, double %46)
store double %47, double* %8
br label %48
48: ; preds = %14
%49 = load i32, i32* %9
%50 = add nsw i32 %49, 1
store i32 %50, i32* %9
br label %11
51: ; preds = %11
%52 = load double, double* %8
%53 = fdiv double %52, 1.000000e+01
store double %53, double* %8
%54 = load double, double* %8
%55 = call double @sqrt(double %54)
store double %55, double* %8
%56 = load double*, double** %7
%57 = call i32 @free(double* %56)
%58 = load double, double* %8
ret double %58
}

LLVM IR (-O2):
define double @weighted_error_sq_ten(double %0, double* nocapture %1, double* nocapture %2) {
%4 = tail call double* @calloc(i32 10, i32 8)
%5 = load double, double* %1
%6 = load double, double* %2
%7 = fdiv double %5, %6
store double %7, double* %4
%8 = tail call double @sqrt(double %7)
%9 = fsub double %8, %0
%10 = tail call double @sqrt(double %7)
%11 = fsub double %10, %0
%12 = tail call double @llvm.fmuladd.f64(double %9, double %11, double 0.000000e+00)
%13 = getelementptr inbounds double, double* %1, i64 1
%14 = load double, double* %13
%15 = getelementptr inbounds double, double* %2, i64 1
%16 = load double, double* %15
%17 = fdiv double %14, %16
%18 = getelementptr inbounds double, double* %4, i64 1
store double %17, double* %18
%19 = tail call double @sqrt(double %17)
%20 = fsub double %19, %0
%21 = tail call double @sqrt(double %17)
%22 = fsub double %21, %0
%23 = tail call double @llvm.fmuladd.f64(double %20, double %22, double %12)
%24 = getelementptr inbounds double, double* %1, i64 2
%25 = load double, double* %24
%26 = getelementptr inbounds double, double* %2, i64 2
%27 = load double, double* %26
%28 = fdiv double %25, %27
%29 = getelementptr inbounds double, double* %4, i64 2
store double %28, double* %29
%30 = tail call double @sqrt(double %28)
%31 = fsub double %30, %0
%32 = tail call double @sqrt(double %28)
%33 = fsub double %32, %0
%34 = tail call double @llvm.fmuladd.f64(double %31, double %33, double %23)
%35 = getelementptr inbounds double, double* %1, i64 3
%36 = load double, double* %35
%37 = getelementptr inbounds double, double* %2, i64 3
%38 = load double, double* %37
%39 = fdiv double %36, %38
%40 = getelementptr inbounds double, double* %4, i64 3
store double %39, double* %40
%41 = tail call double @sqrt(double %39)
%42 = fsub double %41, %0
%43 = tail call double @sqrt(double %39)
%44 = fsub double %43, %0
%45 = tail call double @llvm.fmuladd.f64(double %42, double %44, double %34)
%46 = getelementptr inbounds double, double* %1, i64 4
%47 = load double, double* %46
%48 = getelementptr inbounds double, double* %2, i64 4
%49 = load double, double* %48
%50 = fdiv double %47, %49
%51 = getelementptr inbounds double, double* %4, i64 4
store double %50, double* %51
%52 = tail call double @sqrt(double %50)
%53 = fsub double %52, %0
%54 = tail call double @sqrt(double %50)
%55 = fsub double %54, %0
%56 = tail call double @llvm.fmuladd.f64(double %53, double %55, double %45)
%57 = getelementptr inbounds double, double* %1, i64 5
%58 = load double, double* %57
%59 = getelementptr inbounds double, double* %2, i64 5
%60 = load double, double* %59
%61 = fdiv double %58, %60
%62 = getelementptr inbounds double, double* %4, i64 5
store double %61, double* %62
%63 = tail call double @sqrt(double %61)
%64 = fsub double %63, %0
%65 = tail call double @sqrt(double %61)
%66 = fsub double %65, %0
%67 = tail call double @llvm.fmuladd.f64(double %64, double %66, double %56)
%68 = getelementptr inbounds double, double* %1, i64 6
%69 = load double, double* %68
%70 = getelementptr inbounds double, double* %2, i64 6
%71 = load double, double* %70
%72 = fdiv double %69, %71
%73 = getelementptr inbounds double, double* %4, i64 6
store double %72, double* %73
%74 = tail call double @sqrt(double %72)
%75 = fsub double %74, %0
%76 = tail call double @sqrt(double %72)
%77 = fsub double %76, %0
%78 = tail call double @llvm.fmuladd.f64(double %75, double %77, double %67)
%79 = getelementptr inbounds double, double* %1, i64 7
%80 = load double, double* %79
%81 = getelementptr inbounds double, double* %2, i64 7
%82 = load double, double* %81
%83 = fdiv double %80, %82
%84 = getelementptr inbounds double, double* %4, i64 7
store double %83, double* %84
%85 = tail call double @sqrt(double %83)
%86 = fsub double %85, %0
%87 = tail call double @sqrt(double %83)
%88 = fsub double %87, %0
%89 = tail call double @llvm.fmuladd.f64(double %86, double %88, double %78)
%90 = getelementptr inbounds double, double* %1, i64 8
%91 = load double, double* %90
%92 = getelementptr inbounds double, double* %2, i64 8
%93 = load double, double* %92
%94 = fdiv double %91, %93
%95 = getelementptr inbounds double, double* %4, i64 8
store double %94, double* %95
%96 = tail call double @sqrt(double %94)
%97 = fsub double %96, %0
%98 = tail call double @sqrt(double %94)
%99 = fsub double %98, %0
%100 = tail call double @llvm.fmuladd.f64(double %97, double %99, double %89)
%101 = getelementptr inbounds double, double* %1, i64 9
%102 = load double, double* %101
%103 = getelementptr inbounds double, double* %2, i64 9
%104 = load double, double* %103
%105 = fdiv double %102, %104
%106 = getelementptr inbounds double, double* %4, i64 9
store double %105, double* %106
%107 = tail call double @sqrt(double %105)
%108 = fsub double %107, %0
%109 = tail call double @sqrt(double %105)
%110 = fsub double %109, %0
%111 = tail call double @llvm.fmuladd.f64(double %108, double %110, double %100)
%112 = fdiv double %111, 1.000000e+01
%113 = tail call double @sqrt(double %112)
%114 = tail call i32 @free(double* %4)
ret double %113
}