#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 error_sq_ten(double mean, double(*obs_ptr),
                    unsigned long numberofframes) {
  double *means;
  means = calloc(10, sizeof(double));
  double error = 0.0;
  unsigned long decade = numberofframes / 10;
  for (int dim1 = 0; dim1 < 10; ++dim1) {
    means[dim1] = obs_ptr[dim1] / (double)decade;
    error += ((sqrt(means[dim1]) - mean) * (sqrt(means[dim1]) - mean));
  }
  error /= 10.0;
  error = sqrt(error);
  free(means);
  return error;
}


x86 assembly (clang, -O0):
<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)
mov    -0x18(%rbp),%rax
mov    $0xa,%ecx
xor    %edx,%edx
div    %rcx
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0xa,-0x34(%rbp)
jge    1223 <error_sq_ten+0xf3>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xe79(%rip),%xmm2
movq   -0x30(%rbp),%xmm1
punpckldq %xmm2,%xmm1
movapd 0xe78(%rip),%xmm2
subpd  %xmm2,%xmm1
movaps %xmm1,%xmm2
unpckhpd %xmm1,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1050 <sqrt@plt>
subsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm2
movsd  -0x40(%rbp),%xmm0
subsd  -0x8(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1179 <error_sq_ten+0x49>
movsd  -0x28(%rbp),%xmm0
movsd  0xdd0(%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):
<error_sq_ten>:
push   %r15
push   %r14
push   %rbx
sub    $0x70,%rsp
mov    %rsi,%rbx
mov    %rdi,%r15
movsd  %xmm0,0x28(%rsp)
mov    $0xa,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,%r14
movabs $0xcccccccccccccccd,%rcx
cc cc cc
mov    %rbx,%rax
mul    %rcx
shr    $0x3,%rdx
xorps  %xmm0,%xmm0
cvtsi2sd %rdx,%xmm0
movsd  (%r15),%xmm2
movsd  %xmm0,0x30(%rsp)
divsd  %xmm0,%xmm2
movsd  %xmm2,(%r14)
sqrtsd %xmm2,%xmm1
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm2
movapd %xmm1,%xmm0
jae    11be <error_sq_ten+0x8e>
movapd %xmm2,%xmm0
movsd  %xmm1,0x20(%rsp)
movsd  %xmm2,0x8(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  0x8(%rsp),%xmm2
movsd  0x20(%rsp),%xmm1
movsd  %xmm0,0x8(%rsp)
ucomisd %xmm3,%xmm2
jae    11d7 <error_sq_ten+0xa7>
movapd %xmm2,%xmm0
call   1050 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
xorpd  %xmm0,%xmm0
movsd  0x8(%r15),%xmm2
divsd  0x30(%rsp),%xmm2
movsd  %xmm2,0x8(%r14)
xorps  %xmm1,%xmm1
sqrtsd %xmm2,%xmm1
ucomisd %xmm0,%xmm2
movsd  %xmm1,0x40(%rsp)
movapd %xmm1,%xmm0
jae    121f <error_sq_ten+0xef>
movapd %xmm2,%xmm0
movsd  %xmm2,0x10(%rsp)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm2
movsd  %xmm0,0x38(%rsp)
ucomisd 0xddb(%rip),%xmm2
jae    123e <error_sq_ten+0x10e>
movapd %xmm2,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,0x40(%rsp)
movsd  0x10(%r15),%xmm2
divsd  0x30(%rsp),%xmm2
movsd  %xmm2,0x10(%r14)
xorps  %xmm1,%xmm1
sqrtsd %xmm2,%xmm1
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm2
movapd %xmm1,%xmm0
jae    128a <error_sq_ten+0x15a>
movapd %xmm2,%xmm0
movsd  %xmm1,0x50(%rsp)
movsd  %xmm2,0x10(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  0x10(%rsp),%xmm2
movsd  0x50(%rsp),%xmm1
movsd  %xmm0,0x10(%rsp)
ucomisd %xmm3,%xmm2
jae    12a3 <error_sq_ten+0x173>
movapd %xmm2,%xmm0
call   1050 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  %xmm1,0x50(%rsp)
movsd  0x18(%r15),%xmm1
divsd  0x30(%rsp),%xmm1
movsd  %xmm1,0x18(%r14)
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
xorpd  %xmm2,%xmm2
ucomisd %xmm2,%xmm1
movsd  %xmm0,0x68(%rsp)
jae    12eb <error_sq_ten+0x1bb>
movapd %xmm1,%xmm0
movsd  %xmm1,0x18(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm2,%xmm2
movsd  0x18(%rsp),%xmm1
movsd  %xmm0,0x48(%rsp)
ucomisd %xmm2,%xmm1
jae    1306 <error_sq_ten+0x1d6>
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,0x68(%rsp)
movsd  0x20(%r15),%xmm2
divsd  0x30(%rsp),%xmm2
movsd  %xmm2,0x20(%r14)
xorps  %xmm0,%xmm0
sqrtsd %xmm2,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm2
movsd  %xmm0,0x60(%rsp)
jae    1348 <error_sq_ten+0x218>
movapd %xmm2,%xmm0
movsd  %xmm2,0x18(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  0x18(%rsp),%xmm2
movsd  %xmm0,0x18(%rsp)
movsd  0x28(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x20(%rsp),%xmm1
subsd  %xmm0,%xmm1
ucomisd %xmm3,%xmm2
jae    138f <error_sq_ten+0x25f>
movapd %xmm2,%xmm0
movsd  %xmm1,0x20(%rsp)
call   1050 <sqrt@plt>
movsd  0x20(%rsp),%xmm1
movsd  %xmm0,0x60(%rsp)
movsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x28(%rsp),%xmm0
movsd  0x38(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  0x40(%rsp),%xmm2
subsd  %xmm0,%xmm2
movsd  %xmm2,0x40(%rsp)
movsd  0x28(%r15),%xmm3
divsd  0x30(%rsp),%xmm3
movsd  %xmm3,0x28(%r14)
xorps  %xmm0,%xmm0
sqrtsd %xmm3,%xmm0
xorpd  %xmm4,%xmm4
ucomisd %xmm4,%xmm3
movsd  %xmm0,0x58(%rsp)
jae    140d <error_sq_ten+0x2dd>
movapd %xmm3,%xmm0
movsd  %xmm1,0x38(%rsp)
movsd  %xmm3,0x20(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm4,%xmm4
movsd  0x20(%rsp),%xmm3
movsd  0x38(%rsp),%xmm1
movsd  %xmm0,0x20(%rsp)
movsd  0x8(%rsp),%xmm0
addsd  0xbe7(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
mulsd  0x40(%rsp),%xmm1
movsd  0x28(%rsp),%xmm0
movsd  0x10(%rsp),%xmm2
subsd  %xmm0,%xmm2
movsd  %xmm2,0x10(%rsp)
movsd  0x50(%rsp),%xmm2
subsd  %xmm0,%xmm2
ucomisd %xmm4,%xmm3
jae    147a <error_sq_ten+0x34a>
movapd %xmm3,%xmm0
movsd  %xmm1,0x38(%rsp)
movsd  %xmm2,0x50(%rsp)
call   1050 <sqrt@plt>
movsd  0x50(%rsp),%xmm2
movsd  0x38(%rsp),%xmm1
movsd  %xmm0,0x58(%rsp)
addsd  0x8(%rsp),%xmm1
movsd  0x10(%rsp),%xmm0
mulsd  %xmm2,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x28(%rsp),%xmm0
movsd  0x48(%rsp),%xmm2
subsd  %xmm0,%xmm2
movsd  0x68(%rsp),%xmm3
subsd  %xmm0,%xmm3
movsd  %xmm3,0x68(%rsp)
movsd  0x30(%r15),%xmm5
divsd  0x30(%rsp),%xmm5
movsd  %xmm5,0x30(%r14)
sqrtsd %xmm5,%xmm8
xorpd  %xmm6,%xmm6
ucomisd %xmm6,%xmm5
movapd %xmm8,%xmm4
jae    1519 <error_sq_ten+0x3e9>
movapd %xmm5,%xmm0
movsd  %xmm1,0x38(%rsp)
movsd  %xmm2,0x48(%rsp)
movsd  %xmm8,0x40(%rsp)
movsd  %xmm5,0x8(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm6,%xmm6
movsd  0x8(%rsp),%xmm5
movsd  0x40(%rsp),%xmm8
movsd  0x48(%rsp),%xmm2
movsd  0x38(%rsp),%xmm1
movapd %xmm0,%xmm4
movsd  0x10(%rsp),%xmm0
addsd  %xmm1,%xmm0
movapd %xmm0,%xmm1
mulsd  0x68(%rsp),%xmm2
movsd  0x28(%rsp),%xmm0
movsd  0x18(%rsp),%xmm3
subsd  %xmm0,%xmm3
movsd  %xmm3,0x18(%rsp)
movsd  0x60(%rsp),%xmm3
subsd  %xmm0,%xmm3
movapd %xmm3,%xmm0
ucomisd %xmm6,%xmm5
movsd  %xmm4,0x8(%rsp)
jae    1595 <error_sq_ten+0x465>
movsd  %xmm0,0x60(%rsp)
movapd %xmm5,%xmm0
movsd  %xmm1,0x10(%rsp)
movsd  %xmm2,0x48(%rsp)
call   1050 <sqrt@plt>
movsd  0x8(%rsp),%xmm4
movsd  0x48(%rsp),%xmm2
movsd  0x10(%rsp),%xmm1
movapd %xmm0,%xmm8
movsd  0x60(%rsp),%xmm0
addsd  %xmm1,%xmm2
movsd  0x18(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  0x28(%rsp),%xmm0
movsd  0x20(%rsp),%xmm3
subsd  %xmm0,%xmm3
movsd  0x58(%rsp),%xmm5
subsd  %xmm0,%xmm5
movapd %xmm5,%xmm0
movsd  0x38(%r15),%xmm6
divsd  0x30(%rsp),%xmm6
movsd  %xmm6,0x38(%r14)
sqrtsd %xmm6,%xmm7
xorpd  %xmm9,%xmm9
ucomisd %xmm9,%xmm6
movapd %xmm7,%xmm5
jae    1655 <error_sq_ten+0x525>
movsd  %xmm0,0x58(%rsp)
movapd %xmm6,%xmm0
movsd  %xmm2,0x48(%rsp)
movsd  %xmm1,0x18(%rsp)
movsd  %xmm3,0x20(%rsp)
movsd  %xmm8,0x40(%rsp)
movsd  %xmm7,0x38(%rsp)
movsd  %xmm6,0x10(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm9,%xmm9
movsd  0x10(%rsp),%xmm6
movsd  0x38(%rsp),%xmm7
movsd  0x40(%rsp),%xmm8
movsd  0x8(%rsp),%xmm4
movsd  0x20(%rsp),%xmm3
movsd  0x18(%rsp),%xmm1
movsd  0x48(%rsp),%xmm2
movapd %xmm0,%xmm5
movsd  0x58(%rsp),%xmm0
addsd  %xmm2,%xmm1
mulsd  %xmm0,%xmm3
movsd  0x28(%rsp),%xmm0
subsd  %xmm0,%xmm4
subsd  %xmm0,%xmm8
ucomisd %xmm9,%xmm6
jae    16be <error_sq_ten+0x58e>
movapd %xmm6,%xmm0
movsd  %xmm1,0x18(%rsp)
movsd  %xmm3,0x20(%rsp)
movsd  %xmm4,0x8(%rsp)
movsd  %xmm5,0x10(%rsp)
movsd  %xmm8,0x40(%rsp)
call   1050 <sqrt@plt>
movsd  0x40(%rsp),%xmm8
movsd  0x10(%rsp),%xmm5
movsd  0x8(%rsp),%xmm4
movsd  0x20(%rsp),%xmm3
movsd  0x18(%rsp),%xmm1
movapd %xmm0,%xmm7
addsd  %xmm1,%xmm3
mulsd  %xmm8,%xmm4
movsd  0x28(%rsp),%xmm0
subsd  %xmm0,%xmm5
subsd  %xmm0,%xmm7
movsd  0x40(%r15),%xmm2
divsd  0x30(%rsp),%xmm2
movsd  %xmm2,0x40(%r14)
xorps  %xmm1,%xmm1
sqrtsd %xmm2,%xmm1
xorpd  %xmm6,%xmm6
ucomisd %xmm6,%xmm2
movapd %xmm1,%xmm0
jae    1751 <error_sq_ten+0x621>
movapd %xmm2,%xmm0
movsd  %xmm3,0x20(%rsp)
movsd  %xmm4,0x8(%rsp)
movsd  %xmm5,0x10(%rsp)
movsd  %xmm7,0x38(%rsp)
movsd  %xmm1,0x18(%rsp)
movsd  %xmm2,0x48(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm6,%xmm6
movsd  0x48(%rsp),%xmm2
movsd  0x18(%rsp),%xmm1
movsd  0x38(%rsp),%xmm7
movsd  0x10(%rsp),%xmm5
movsd  0x8(%rsp),%xmm4
movsd  0x20(%rsp),%xmm3
addsd  %xmm3,%xmm4
mulsd  %xmm7,%xmm5
subsd  0x28(%rsp),%xmm0
ucomisd %xmm6,%xmm2
jae    1796 <error_sq_ten+0x666>
movsd  %xmm0,0x18(%rsp)
movapd %xmm2,%xmm0
movsd  %xmm4,0x8(%rsp)
movsd  %xmm5,0x10(%rsp)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm5
movsd  0x8(%rsp),%xmm4
movapd %xmm0,%xmm1
movsd  0x18(%rsp),%xmm0
addsd  %xmm4,%xmm5
subsd  0x28(%rsp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x48(%r15),%xmm3
divsd  0x30(%rsp),%xmm3
movsd  %xmm3,0x48(%r14)
xorps  %xmm2,%xmm2
sqrtsd %xmm3,%xmm2
xorpd  %xmm4,%xmm4
ucomisd %xmm4,%xmm3
movapd %xmm2,%xmm1
jae    180c <error_sq_ten+0x6dc>
movsd  %xmm0,0x18(%rsp)
movapd %xmm3,%xmm0
movsd  %xmm5,0x10(%rsp)
movsd  %xmm2,0x30(%rsp)
movsd  %xmm3,0x8(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm4,%xmm4
movsd  0x8(%rsp),%xmm3
movsd  0x30(%rsp),%xmm2
movsd  0x10(%rsp),%xmm5
movapd %xmm0,%xmm1
movsd  0x18(%rsp),%xmm0
addsd  %xmm5,%xmm0
subsd  0x28(%rsp),%xmm1
ucomisd %xmm4,%xmm3
jae    1841 <error_sq_ten+0x711>
movsd  %xmm0,0x18(%rsp)
movapd %xmm3,%xmm0
movsd  %xmm1,0x30(%rsp)
call   1050 <sqrt@plt>
movsd  0x30(%rsp),%xmm1
movapd %xmm0,%xmm2
movsd  0x18(%rsp),%xmm0
subsd  0x28(%rsp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
divsd  0x7a9(%rip),%xmm1
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm1
jb     186a <error_sq_ten+0x73a>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1873 <error_sq_ten+0x743>
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,0x28(%rsp)
mov    %r14,%rdi
call   1030 <free@plt>
movsd  0x28(%rsp),%xmm0
add    $0x70,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define double @error_sq_ten(double %0, double* %1, i64 %2) {
%4 = alloca double
%5 = alloca double*
%6 = alloca i64
%7 = alloca double*
%8 = alloca double
%9 = alloca i64
%10 = alloca i32
store double %0, double* %4
store double* %1, double** %5
store i64 %2, i64* %6
%11 = call double* @calloc(i32 10, i32 8)
store double* %11, double** %7
store double 0.000000e+00, double* %8
%12 = load i64, i64* %6
%13 = udiv i64 %12, 10
store i64 %13, i64* %9
store i32 0, i32* %10
br label %14
14: ; preds = %48, %3
%15 = load i32, i32* %10
%16 = icmp slt i32 %15, 10
br i1 %16, label %17, label %51
17: ; preds = %14
%18 = load double*, double** %5
%19 = load i32, i32* %10
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, double* %18, i64 %20
%22 = load double, double* %21
%23 = load i64, i64* %9
%24 = uitofp i64 %23 to double
%25 = fdiv double %22, %24
%26 = load double*, double** %7
%27 = load i32, i32* %10
%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* %10
%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* %10
%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 = %17
%49 = load i32, i32* %10
%50 = add nsw i32 %49, 1
store i32 %50, i32* %10
br label %14
51: ; preds = %14
%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 @error_sq_ten(double %0, double* nocapture %1, i64 %2) {
%4 = tail call double* @calloc(i32 10, i32 8)
%5 = udiv i64 %2, 10
%6 = uitofp i64 %5 to double
%7 = load double, double* %1
%8 = fdiv double %7, %6
store double %8, double* %4
%9 = tail call double @sqrt(double %8)
%10 = fsub double %9, %0
%11 = tail call double @sqrt(double %8)
%12 = fsub double %11, %0
%13 = tail call double @llvm.fmuladd.f64(double %10, double %12, double 0.000000e+00)
%14 = getelementptr inbounds double, double* %1, i64 1
%15 = load double, double* %14
%16 = fdiv double %15, %6
%17 = getelementptr inbounds double, double* %4, i64 1
store double %16, double* %17
%18 = tail call double @sqrt(double %16)
%19 = fsub double %18, %0
%20 = tail call double @sqrt(double %16)
%21 = fsub double %20, %0
%22 = tail call double @llvm.fmuladd.f64(double %19, double %21, double %13)
%23 = getelementptr inbounds double, double* %1, i64 2
%24 = load double, double* %23
%25 = fdiv double %24, %6
%26 = getelementptr inbounds double, double* %4, i64 2
store double %25, double* %26
%27 = tail call double @sqrt(double %25)
%28 = fsub double %27, %0
%29 = tail call double @sqrt(double %25)
%30 = fsub double %29, %0
%31 = tail call double @llvm.fmuladd.f64(double %28, double %30, double %22)
%32 = getelementptr inbounds double, double* %1, i64 3
%33 = load double, double* %32
%34 = fdiv double %33, %6
%35 = getelementptr inbounds double, double* %4, i64 3
store double %34, double* %35
%36 = tail call double @sqrt(double %34)
%37 = fsub double %36, %0
%38 = tail call double @sqrt(double %34)
%39 = fsub double %38, %0
%40 = tail call double @llvm.fmuladd.f64(double %37, double %39, double %31)
%41 = getelementptr inbounds double, double* %1, i64 4
%42 = load double, double* %41
%43 = fdiv double %42, %6
%44 = getelementptr inbounds double, double* %4, i64 4
store double %43, double* %44
%45 = tail call double @sqrt(double %43)
%46 = fsub double %45, %0
%47 = tail call double @sqrt(double %43)
%48 = fsub double %47, %0
%49 = tail call double @llvm.fmuladd.f64(double %46, double %48, double %40)
%50 = getelementptr inbounds double, double* %1, i64 5
%51 = load double, double* %50
%52 = fdiv double %51, %6
%53 = getelementptr inbounds double, double* %4, i64 5
store double %52, double* %53
%54 = tail call double @sqrt(double %52)
%55 = fsub double %54, %0
%56 = tail call double @sqrt(double %52)
%57 = fsub double %56, %0
%58 = tail call double @llvm.fmuladd.f64(double %55, double %57, double %49)
%59 = getelementptr inbounds double, double* %1, i64 6
%60 = load double, double* %59
%61 = fdiv double %60, %6
%62 = getelementptr inbounds double, double* %4, i64 6
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 %58)
%68 = getelementptr inbounds double, double* %1, i64 7
%69 = load double, double* %68
%70 = fdiv double %69, %6
%71 = getelementptr inbounds double, double* %4, i64 7
store double %70, double* %71
%72 = tail call double @sqrt(double %70)
%73 = fsub double %72, %0
%74 = tail call double @sqrt(double %70)
%75 = fsub double %74, %0
%76 = tail call double @llvm.fmuladd.f64(double %73, double %75, double %67)
%77 = getelementptr inbounds double, double* %1, i64 8
%78 = load double, double* %77
%79 = fdiv double %78, %6
%80 = getelementptr inbounds double, double* %4, i64 8
store double %79, double* %80
%81 = tail call double @sqrt(double %79)
%82 = fsub double %81, %0
%83 = tail call double @sqrt(double %79)
%84 = fsub double %83, %0
%85 = tail call double @llvm.fmuladd.f64(double %82, double %84, double %76)
%86 = getelementptr inbounds double, double* %1, i64 9
%87 = load double, double* %86
%88 = fdiv double %87, %6
%89 = getelementptr inbounds double, double* %4, i64 9
store double %88, double* %89
%90 = tail call double @sqrt(double %88)
%91 = fsub double %90, %0
%92 = tail call double @sqrt(double %88)
%93 = fsub double %92, %0
%94 = tail call double @llvm.fmuladd.f64(double %91, double %93, double %85)
%95 = fdiv double %94, 1.000000e+01
%96 = tail call double @sqrt(double %95)
%97 = tail call i32 @free(double* %4)
ret double %96
}