#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 sqrt(double);
void norm10(double *u10, int *inls, int len, double *T, double *iT) {
  double xm = 0, ym = 0, sc = 0;
  int i;
  for (i = 0; i < len; ++i) {
    xm += u10[10 * inls[i]] / len;
    ym += u10[10 * inls[i] + 1] / len;
  }
  for (i = 0; i < len; ++i) {
    sc += sqrt((u10[10 * inls[i]] - xm) * (u10[10 * inls[i]] - xm) +
               (u10[10 * inls[i] + 1] - ym) * (u10[10 * inls[i] + 1] - ym)) /
          len;
  }
  sc /= (1.4142135623730950);
  iT[0] = sc;
  iT[1] = 0;
  iT[2] = 0;
  iT[3] = 0;
  iT[4] = sc;
  iT[5] = 0;
  iT[6] = xm;
  iT[7] = ym;
  iT[8] = 1;
  sc = 1 / sc;
  T[0] = sc;
  T[1] = 0;
  T[2] = 0;
  T[3] = 0;
  T[4] = sc;
  T[5] = 0;
  T[6] = -xm * sc;
  T[7] = -ym * sc;
  T[8] = 1;
}


x86 assembly (clang, -O0):
<norm10>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11bd <norm10+0xad>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x44(%rbp),%rdx
imul   $0xa,(%rcx,%rdx,4),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x44(%rbp),%rdx
imul   $0xa,(%rcx,%rdx,4),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    114a <norm10+0x3a>
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    127b <norm10+0x16b>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x44(%rbp),%rdx
imul   $0xa,(%rcx,%rdx,4),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x30(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x44(%rbp),%rdx
imul   $0xa,(%rcx,%rdx,4),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
subsd  -0x30(%rbp),%xmm2
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x44(%rbp),%rdx
imul   $0xa,(%rcx,%rdx,4),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
subsd  -0x38(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x44(%rbp),%rdx
imul   $0xa,(%rcx,%rdx,4),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm3
subsd  -0x38(%rbp),%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1030 <sqrt@plt>
cltd
idivl  -0x14(%rbp)
cvtsi2sd %eax,%xmm0
addsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    11c4 <norm10+0xb4>
movsd  -0x40(%rbp),%xmm0
movsd  0xd80(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x28(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x18(%rax)
movsd  -0x40(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x28(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x28(%rax)
movsd  -0x30(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0x38(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x28(%rbp),%rax
movsd  0xcfc(%rip),%xmm0
movsd  %xmm0,0x40(%rax)
movsd  0xcef(%rip),%xmm0
divsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x18(%rax)
movsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x28(%rax)
movsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0x38(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x20(%rbp),%rax
movsd  0xc3a(%rip),%xmm0
movsd  %xmm0,0x40(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<norm10>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %r8,%r15
xorps  %xmm2,%xmm2
xorpd  %xmm3,%xmm3
test   %edx,%edx
jle    114d <norm10+0x3d>
mov    %edx,%r12d
mov    %rsi,%rbx
mov    %rdi,%rbp
cvtsi2sd %edx,%xmm0
mov    %edx,%r13d
unpcklpd %xmm0,%xmm0
cmp    $0x1,%edx
jne    1156 <norm10+0x46>
xorpd  %xmm4,%xmm4
xor    %eax,%eax
jmp    11ae <norm10+0x9e>
xorpd  %xmm4,%xmm4
jmp    1268 <norm10+0x158>
mov    %r13d,%esi
and    $0xfffffffe,%esi
xorpd  %xmm4,%xmm4
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movslq (%rbx,%rax,4),%rdx
lea    (%rdx,%rdx,4),%rdx
shl    $0x4,%rdx
movupd 0x0(%rbp,%rdx,1),%xmm1
divpd  %xmm0,%xmm1
addpd  %xmm4,%xmm1
movslq 0x4(%rbx,%rax,4),%rdx
lea    (%rdx,%rdx,4),%rdx
shl    $0x4,%rdx
movupd 0x0(%rbp,%rdx,1),%xmm4
divpd  %xmm0,%xmm4
addpd  %xmm1,%xmm4
add    $0x2,%rax
cmp    %rax,%rsi
jne    1170 <norm10+0x60>
test   $0x1,%r13b
je     11ce <norm10+0xbe>
movslq (%rbx,%rax,4),%rax
lea    (%rax,%rax,4),%rax
shl    $0x4,%rax
movupd 0x0(%rbp,%rax,1),%xmm1
divpd  %xmm0,%xmm1
addpd  %xmm1,%xmm4
test   %r12d,%r12d
jle    1268 <norm10+0x158>
mov    %rcx,(%rsp)
movapd %xmm4,%xmm0
unpckhpd %xmm4,%xmm0
movapd %xmm0,0x10(%rsp)
xorpd  %xmm3,%xmm3
xor    %r14d,%r14d
movapd %xmm4,0x20(%rsp)
cs nopw 0x0(%rax,%rax,1)
movsd  %xmm3,0x8(%rsp)
movslq (%rbx,%r14,4),%rax
add    %rax,%rax
lea    (%rax,%rax,4),%rax
movsd  0x0(%rbp,%rax,8),%xmm0
subsd  %xmm4,%xmm0
or     $0x1,%eax
cltq
movsd  0x0(%rbp,%rax,8),%xmm1
subsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
call   1030 <sqrt@plt>
movapd 0x20(%rsp),%xmm4
movsd  0x8(%rsp),%xmm3
cltd
idiv   %r12d
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
addsd  %xmm0,%xmm3
add    $0x1,%r14
cmp    %r14,%r13
jne    1200 <norm10+0xf0>
mov    (%rsp),%rcx
xorps  %xmm2,%xmm2
divsd  0xd90(%rip),%xmm3
movsd  %xmm3,(%r15)
movups %xmm2,0x8(%r15)
movq   $0x0,0x18(%r15)
movsd  %xmm3,0x20(%r15)
movq   $0x0,0x28(%r15)
movupd %xmm4,0x30(%r15)
movabs $0x3ff0000000000000,%rax
mov    %rax,0x40(%r15)
movsd  0xd5c(%rip),%xmm0
divsd  %xmm3,%xmm0
movsd  %xmm0,(%rcx)
movups %xmm2,0x8(%rcx)
movq   $0x0,0x18(%rcx)
movsd  %xmm0,0x20(%rcx)
movq   $0x0,0x28(%rcx)
xorpd  0xd3b(%rip),%xmm4
unpcklpd %xmm0,%xmm0
mulpd  %xmm4,%xmm0
movupd %xmm0,0x30(%rcx)
mov    %rax,0x40(%rcx)
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @norm10(double* %0, i32* %1, i32 %2, double* %3, double* %4) {
%6 = alloca double*
%7 = alloca i32*
%8 = alloca i32
%9 = alloca double*
%10 = alloca double*
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca i32
store double* %0, double** %6
store i32* %1, i32** %7
store i32 %2, i32* %8
store double* %3, double** %9
store double* %4, double** %10
store double 0.000000e+00, double* %11
store double 0.000000e+00, double* %12
store double 0.000000e+00, double* %13
store i32 0, i32* %14
br label %15
15: ; preds = %51, %5
%16 = load i32, i32* %14
%17 = load i32, i32* %8
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %54
19: ; preds = %15
%20 = load double*, double** %6
%21 = load i32*, i32** %7
%22 = load i32, i32* %14
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, i32* %21, i64 %23
%25 = load i32, i32* %24
%26 = mul nsw i32 10, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, double* %20, i64 %27
%29 = load double, double* %28
%30 = load i32, i32* %8
%31 = sitofp i32 %30 to double
%32 = fdiv double %29, %31
%33 = load double, double* %11
%34 = fadd double %33, %32
store double %34, double* %11
%35 = load double*, double** %6
%36 = load i32*, i32** %7
%37 = load i32, i32* %14
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, i32* %36, i64 %38
%40 = load i32, i32* %39
%41 = mul nsw i32 10, %40
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, double* %35, i64 %43
%45 = load double, double* %44
%46 = load i32, i32* %8
%47 = sitofp i32 %46 to double
%48 = fdiv double %45, %47
%49 = load double, double* %12
%50 = fadd double %49, %48
store double %50, double* %12
br label %51
51: ; preds = %19
%52 = load i32, i32* %14
%53 = add nsw i32 %52, 1
store i32 %53, i32* %14
br label %15
54: ; preds = %15
store i32 0, i32* %14
br label %55
55: ; preds = %118, %54
%56 = load i32, i32* %14
%57 = load i32, i32* %8
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %121
59: ; preds = %55
%60 = load double*, double** %6
%61 = load i32*, i32** %7
%62 = load i32, i32* %14
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, i32* %61, i64 %63
%65 = load i32, i32* %64
%66 = mul nsw i32 10, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, double* %60, i64 %67
%69 = load double, double* %68
%70 = load double, double* %11
%71 = fsub double %69, %70
%72 = load double*, double** %6
%73 = load i32*, i32** %7
%74 = load i32, i32* %14
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, i32* %73, i64 %75
%77 = load i32, i32* %76
%78 = mul nsw i32 10, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, double* %72, i64 %79
%81 = load double, double* %80
%82 = load double, double* %11
%83 = fsub double %81, %82
%84 = load double*, double** %6
%85 = load i32*, i32** %7
%86 = load i32, i32* %14
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, i32* %85, i64 %87
%89 = load i32, i32* %88
%90 = mul nsw i32 10, %89
%91 = add nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, double* %84, i64 %92
%94 = load double, double* %93
%95 = load double, double* %12
%96 = fsub double %94, %95
%97 = load double*, double** %6
%98 = load i32*, i32** %7
%99 = load i32, i32* %14
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, i32* %98, i64 %100
%102 = load i32, i32* %101
%103 = mul nsw i32 10, %102
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, double* %97, i64 %105
%107 = load double, double* %106
%108 = load double, double* %12
%109 = fsub double %107, %108
%110 = fmul double %96, %109
%111 = call double @llvm.fmuladd.f64(double %71, double %83, double %110)
%112 = call i32 @sqrt(double %111)
%113 = load i32, i32* %8
%114 = sdiv i32 %112, %113
%115 = sitofp i32 %114 to double
%116 = load double, double* %13
%117 = fadd double %116, %115
store double %117, double* %13
br label %118
118: ; preds = %59
%119 = load i32, i32* %14
%120 = add nsw i32 %119, 1
store i32 %120, i32* %14
br label %55
121: ; preds = %55
%122 = load double, double* %13
%123 = fdiv double %122, 0x3FF6A09E667F3BCC
store double %123, double* %13
%124 = load double, double* %13
%125 = load double*, double** %10
%126 = getelementptr inbounds double, double* %125, i64 0
store double %124, double* %126
%127 = load double*, double** %10
%128 = getelementptr inbounds double, double* %127, i64 1
store double 0.000000e+00, double* %128
%129 = load double*, double** %10
%130 = getelementptr inbounds double, double* %129, i64 2
store double 0.000000e+00, double* %130
%131 = load double*, double** %10
%132 = getelementptr inbounds double, double* %131, i64 3
store double 0.000000e+00, double* %132
%133 = load double, double* %13
%134 = load double*, double** %10
%135 = getelementptr inbounds double, double* %134, i64 4
store double %133, double* %135
%136 = load double*, double** %10
%137 = getelementptr inbounds double, double* %136, i64 5
store double 0.000000e+00, double* %137
%138 = load double, double* %11
%139 = load double*, double** %10
%140 = getelementptr inbounds double, double* %139, i64 6
store double %138, double* %140
%141 = load double, double* %12
%142 = load double*, double** %10
%143 = getelementptr inbounds double, double* %142, i64 7
store double %141, double* %143
%144 = load double*, double** %10
%145 = getelementptr inbounds double, double* %144, i64 8
store double 1.000000e+00, double* %145
%146 = load double, double* %13
%147 = fdiv double 1.000000e+00, %146
store double %147, double* %13
%148 = load double, double* %13
%149 = load double*, double** %9
%150 = getelementptr inbounds double, double* %149, i64 0
store double %148, double* %150
%151 = load double*, double** %9
%152 = getelementptr inbounds double, double* %151, i64 1
store double 0.000000e+00, double* %152
%153 = load double*, double** %9
%154 = getelementptr inbounds double, double* %153, i64 2
store double 0.000000e+00, double* %154
%155 = load double*, double** %9
%156 = getelementptr inbounds double, double* %155, i64 3
store double 0.000000e+00, double* %156
%157 = load double, double* %13
%158 = load double*, double** %9
%159 = getelementptr inbounds double, double* %158, i64 4
store double %157, double* %159
%160 = load double*, double** %9
%161 = getelementptr inbounds double, double* %160, i64 5
store double 0.000000e+00, double* %161
%162 = load double, double* %11
%163 = fneg double %162
%164 = load double, double* %13
%165 = fmul double %163, %164
%166 = load double*, double** %9
%167 = getelementptr inbounds double, double* %166, i64 6
store double %165, double* %167
%168 = load double, double* %12
%169 = fneg double %168
%170 = load double, double* %13
%171 = fmul double %169, %170
%172 = load double*, double** %9
%173 = getelementptr inbounds double, double* %172, i64 7
store double %171, double* %173
%174 = load double*, double** %9
%175 = getelementptr inbounds double, double* %174, i64 8
store double 1.000000e+00, double* %175
ret void
}

LLVM IR (-O2):
define void @norm10(double* nocapture %0, i32* nocapture %1, i32 %2, double* nocapture writeonly %3, double* nocapture writeonly %4) {
%6 = icmp sgt i32 %2, 0
br i1 %6, label %7, label %86
7: ; preds = %5
%8 = sitofp i32 %2 to double
%9 = zext i32 %2 to i64
%10 = insertelement <2 x double> poison, double %8, i64 0
%11 = shufflevector <2 x double> %10, <2 x double> poison, <2 x i32> zeroinitializer
%12 = and i64 %9, 1
%13 = icmp eq i32 %2, 1
br i1 %13, label %16, label %14
14: ; preds = %7
%15 = and i64 %9, 4294967294
br label %37
16: ; preds = %37, %7
%17 = phi <2 x double> [ undef, %7 ], [ %59, %37 ]
%18 = phi i64 [ 0, %7 ], [ %60, %37 ]
%19 = phi <2 x double> [ zeroinitializer, %7 ], [ %59, %37 ]
%20 = icmp eq i64 %12, 0
br i1 %20, label %31, label %21
21: ; preds = %16
%22 = getelementptr inbounds i32, i32* %1, i64 %18
%23 = load i32, i32* %22
%24 = mul nsw i32 %23, 10
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, double* %0, i64 %25
%27 = bitcast double* %26 to <2 x double>*
%28 = load <2 x double>, <2 x double>* %27
%29 = fdiv <2 x double> %28, %11
%30 = fadd <2 x double> %19, %29
br label %31
31: ; preds = %16, %21
%32 = phi <2 x double> [ %17, %16 ], [ %30, %21 ]
br i1 %6, label %33, label %86
33: ; preds = %31
%34 = zext i32 %2 to i64
%35 = extractelement <2 x double> %32, i64 0
%36 = extractelement <2 x double> %32, i64 1
br label %63
37: ; preds = %37, %14
%38 = phi i64 [ 0, %14 ], [ %60, %37 ]
%39 = phi <2 x double> [ zeroinitializer, %14 ], [ %59, %37 ]
%40 = phi i64 [ 0, %14 ], [ %61, %37 ]
%41 = getelementptr inbounds i32, i32* %1, i64 %38
%42 = load i32, i32* %41
%43 = mul nsw i32 %42, 10
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, double* %0, i64 %44
%46 = bitcast double* %45 to <2 x double>*
%47 = load <2 x double>, <2 x double>* %46
%48 = fdiv <2 x double> %47, %11
%49 = fadd <2 x double> %39, %48
%50 = or i64 %38, 1
%51 = getelementptr inbounds i32, i32* %1, i64 %50
%52 = load i32, i32* %51
%53 = mul nsw i32 %52, 10
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %0, i64 %54
%56 = bitcast double* %55 to <2 x double>*
%57 = load <2 x double>, <2 x double>* %56
%58 = fdiv <2 x double> %57, %11
%59 = fadd <2 x double> %49, %58
%60 = add nuw nsw i64 %38, 2
%61 = add i64 %40, 2
%62 = icmp eq i64 %61, %15
br i1 %62, label %16, label %37
63: ; preds = %33, %63
%64 = phi i64 [ 0, %33 ], [ %84, %63 ]
%65 = phi double [ 0.000000e+00, %33 ], [ %83, %63 ]
%66 = getelementptr inbounds i32, i32* %1, i64 %64
%67 = load i32, i32* %66
%68 = mul nsw i32 %67, 10
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, double* %0, i64 %69
%71 = load double, double* %70
%72 = fsub double %71, %35
%73 = or i32 %68, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, double* %0, i64 %74
%76 = load double, double* %75
%77 = fsub double %76, %36
%78 = fmul double %77, %77
%79 = tail call double @llvm.fmuladd.f64(double %72, double %72, double %78)
%80 = tail call i32 @sqrt(double %79)
%81 = sdiv i32 %80, %2
%82 = sitofp i32 %81 to double
%83 = fadd double %65, %82
%84 = add nuw nsw i64 %64, 1
%85 = icmp eq i64 %84, %34
br i1 %85, label %86, label %63
86: ; preds = %63, %5, %31
%87 = phi double [ 0.000000e+00, %31 ], [ 0.000000e+00, %5 ], [ %83, %63 ]
%88 = phi <2 x double> [ %32, %31 ], [ zeroinitializer, %5 ], [ %32, %63 ]
%89 = fdiv double %87, 0x3FF6A09E667F3BCC
store double %89, double* %4
%90 = getelementptr inbounds double, double* %4, i64 1
%91 = getelementptr inbounds double, double* %4, i64 4
%92 = bitcast double* %90 to i8*
store double %89, double* %91
%93 = getelementptr inbounds double, double* %4, i64 5
store double 0.000000e+00, double* %93
%94 = getelementptr inbounds double, double* %4, i64 6
%95 = bitcast double* %94 to <2 x double>*
store <2 x double> %88, <2 x double>* %95
%96 = getelementptr inbounds double, double* %4, i64 8
store double 1.000000e+00, double* %96
%97 = fdiv double 1.000000e+00, %89
store double %97, double* %3
%98 = getelementptr inbounds double, double* %3, i64 1
%99 = getelementptr inbounds double, double* %3, i64 4
%100 = bitcast double* %98 to i8*
store double %97, double* %99
%101 = getelementptr inbounds double, double* %3, i64 5
store double 0.000000e+00, double* %101
%102 = getelementptr inbounds double, double* %3, i64 6
%103 = fneg <2 x double> %88
%104 = insertelement <2 x double> poison, double %97, i64 0
%105 = shufflevector <2 x double> %104, <2 x double> poison, <2 x i32> zeroinitializer
%106 = fmul <2 x double> %105, %103
%107 = bitcast double* %102 to <2 x double>*
store <2 x double> %106, <2 x double>* %107
%108 = getelementptr inbounds double, double* %3, i64 8
store double 1.000000e+00, double* %108
ret void
}