#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*/ eval_AtA_times_u(int const, double *, double *);
int /*<<< orphan*/ printf(char *, double);
double sqrt(double);
int bench(int inputN) {
  int i;
  const int N = ((inputN > 0) ? inputN : 2000);
  double u[N], v[N], vBv, vv;
  for (i = 0; i < N; i++)
    u[i] = 1;
  for (i = 0; i < 10; i++) {
    eval_AtA_times_u(N, u, v);
    eval_AtA_times_u(N, v, u);
  }
  vBv = vv = 0;
  for (i = 0; i < N; i++) {
    vBv += u[i] * v[i];
    vv += v[i] * v[i];
  }
  printf("%0.9f\n", sqrt(vBv / vv));
  return 0;
}


x86 assembly (clang, -O0):
<bench>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
cmpl   $0x0,-0x4(%rbp)
jle    1150 <bench+0x20>
mov    -0x4(%rbp),%eax
mov    %eax,-0x3c(%rbp)
jmp    115d <bench+0x2d>
mov    $0x7d0,%eax
mov    %eax,-0x3c(%rbp)
jmp    115d <bench+0x2d>
mov    -0x3c(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x18(%rbp)
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x50(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x20(%rbp)
mov    -0xc(%rbp),%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11e0 <bench+0xb0>
mov    -0x50(%rbp),%rax
movslq -0x8(%rbp),%rcx
movsd  0xe33(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11b1 <bench+0x81>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    121f <bench+0xef>
mov    -0x50(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0xc(%rbp),%edi
call   1030 <eval_AtA_times_u@plt>
mov    -0x48(%rbp),%rsi
mov    -0x50(%rbp),%rdx
mov    -0xc(%rbp),%edi
call   1030 <eval_AtA_times_u@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11e7 <bench+0xb7>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12a0 <bench+0x170>
mov    -0x48(%rbp),%rax
mov    -0x50(%rbp),%rcx
movslq -0x8(%rbp),%rdx
movsd  (%rcx,%rdx,8),%xmm0
movslq -0x8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x30(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movslq -0x8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1236 <bench+0x106>
movsd  -0x30(%rbp),%xmm0
divsd  -0x38(%rbp),%xmm0
call   1050 <sqrt@plt>
lea    0xd52(%rip),%rdi
call   1040 <printf@plt>
mov    -0x18(%rbp),%rax
mov    %rax,%rsp
xor    %eax,%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<bench>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
push   %rax
test   %edi,%edi
mov    $0x7d0,%r14d
cmovg  %edi,%r14d
lea    0xf(,%r14,8),%rax
and    $0xfffffffffffffff0,%rax
mov    %rsp,%rbx
sub    %rax,%rbx
mov    %rbx,%rsp
mov    %rsp,%r15
sub    %rax,%r15
mov    %r15,%rsp
cmp    $0x4,%r14d
jae    1171 <bench+0x41>
xor    %eax,%eax
jmp    1269 <bench+0x139>
mov    %r14d,%eax
and    $0xfffffffc,%eax
lea    -0x4(%rax),%rsi
mov    %rsi,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %edx,%ecx
and    $0x7,%ecx
cmp    $0x1c,%rsi
jae    1198 <bench+0x68>
xor    %esi,%esi
jmp    1235 <bench+0x105>
and    $0xfffffffffffffff8,%rdx
xor    %esi,%esi
movapd 0xe5a(%rip),%xmm0
cs nopw 0x0(%rax,%rax,1)
movapd %xmm0,(%rbx,%rsi,8)
movapd %xmm0,0x10(%rbx,%rsi,8)
movapd %xmm0,0x20(%rbx,%rsi,8)
movapd %xmm0,0x30(%rbx,%rsi,8)
movapd %xmm0,0x40(%rbx,%rsi,8)
movapd %xmm0,0x50(%rbx,%rsi,8)
movapd %xmm0,0x60(%rbx,%rsi,8)
movapd %xmm0,0x70(%rbx,%rsi,8)
movapd %xmm0,0x80(%rbx,%rsi,8)
movapd %xmm0,0x90(%rbx,%rsi,8)
movapd %xmm0,0xa0(%rbx,%rsi,8)
movapd %xmm0,0xb0(%rbx,%rsi,8)
movapd %xmm0,0xc0(%rbx,%rsi,8)
movapd %xmm0,0xd0(%rbx,%rsi,8)
movapd %xmm0,0xe0(%rbx,%rsi,8)
movapd %xmm0,0xf0(%rbx,%rsi,8)
add    $0x20,%rsi
add    $0xfffffffffffffff8,%rdx
jne    11b0 <bench+0x80>
test   %rcx,%rcx
je     1264 <bench+0x134>
lea    (%rbx,%rsi,8),%rdx
add    $0x10,%rdx
shl    $0x5,%rcx
xor    %esi,%esi
movapd 0xdb0(%rip),%xmm0
movapd %xmm0,-0x10(%rdx,%rsi,1)
movapd %xmm0,(%rdx,%rsi,1)
add    $0x20,%rsi
cmp    %rsi,%rcx
jne    1250 <bench+0x120>
cmp    %r14,%rax
je     128d <bench+0x15d>
movabs $0x3ff0000000000000,%rcx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rcx,(%rbx,%rax,8)
add    $0x1,%rax
cmp    %rax,%r14
jne    1280 <bench+0x150>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <eval_AtA_times_u@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1030 <eval_AtA_times_u@plt>
cmp    $0x1,%r14d
jne    13b3 <bench+0x283>
xorpd  %xmm1,%xmm1
xor    %eax,%eax
jmp    1405 <bench+0x2d5>
mov    %r14d,%ecx
and    $0xfffffffe,%ecx
xorpd  %xmm0,%xmm0
xor    %eax,%eax
nop
movsd  (%r15,%rax,8),%xmm2
movsd  0x8(%r15,%rax,8),%xmm1
movapd %xmm2,%xmm3
movhpd (%rbx,%rax,8),%xmm3
unpcklpd %xmm2,%xmm2
mulpd  %xmm3,%xmm2
addpd  %xmm0,%xmm2
movapd %xmm1,%xmm0
movhpd 0x8(%rbx,%rax,8),%xmm0
unpcklpd %xmm1,%xmm1
mulpd  %xmm0,%xmm1
addpd  %xmm2,%xmm1
add    $0x2,%rax
movapd %xmm1,%xmm0
cmp    %rax,%rcx
jne    13c0 <bench+0x290>
test   $0x1,%r14b
je     1426 <bench+0x2f6>
movsd  (%r15,%rax,8),%xmm0
movapd %xmm0,%xmm2
movhpd (%rbx,%rax,8),%xmm2
unpcklpd %xmm0,%xmm0
mulpd  %xmm2,%xmm0
addpd  %xmm0,%xmm1
movapd %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
divsd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1442 <bench+0x312>
sqrtsd %xmm0,%xmm0
jmp    1447 <bench+0x317>
call   1050 <sqrt@plt>
lea    0xbc2(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
lea    -0x18(%rbp),%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"%0.9f\0A\00"
define i32 @bench(i32 %0) {
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i64
%7 = alloca i64
%8 = alloca double
%9 = alloca double
store i32 %0, i32* %2
%10 = load i32, i32* %2
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load i32, i32* %2
br label %15
14: ; preds = %1
br label %15
15: ; preds = %14, %12
%16 = phi i32 [ %13, %12 ], [ 2000, %14 ]
store i32 %16, i32* %4
%17 = load i32, i32* %4
%18 = zext i32 %17 to i64
%19 = call i8* @llvm.stacksave()
store i8* %19, i8** %5
%20 = alloca double, i64 %18
store i64 %18, i64* %6
%21 = load i32, i32* %4
%22 = zext i32 %21 to i64
%23 = alloca double, i64 %22
store i64 %22, i64* %7
store i32 0, i32* %3
br label %24
24: ; preds = %32, %15
%25 = load i32, i32* %3
%26 = load i32, i32* %4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %35
28: ; preds = %24
%29 = load i32, i32* %3
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, double* %20, i64 %30
store double 1.000000e+00, double* %31
br label %32
32: ; preds = %28
%33 = load i32, i32* %3
%34 = add nsw i32 %33, 1
store i32 %34, i32* %3
br label %24
35: ; preds = %24
store i32 0, i32* %3
br label %36
36: ; preds = %44, %35
%37 = load i32, i32* %3
%38 = icmp slt i32 %37, 10
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load i32, i32* %4
%41 = call i32 @eval_AtA_times_u(i32 %40, double* %20, double* %23)
%42 = load i32, i32* %4
%43 = call i32 @eval_AtA_times_u(i32 %42, double* %23, double* %20)
br label %44
44: ; preds = %39
%45 = load i32, i32* %3
%46 = add nsw i32 %45, 1
store i32 %46, i32* %3
br label %36
47: ; preds = %36
store double 0.000000e+00, double* %9
store double 0.000000e+00, double* %8
store i32 0, i32* %3
br label %48
48: ; preds = %73, %47
%49 = load i32, i32* %3
%50 = load i32, i32* %4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %76
52: ; preds = %48
%53 = load i32, i32* %3
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %20, i64 %54
%56 = load double, double* %55
%57 = load i32, i32* %3
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, double* %23, i64 %58
%60 = load double, double* %59
%61 = load double, double* %8
%62 = call double @llvm.fmuladd.f64(double %56, double %60, double %61)
store double %62, double* %8
%63 = load i32, i32* %3
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, double* %23, i64 %64
%66 = load double, double* %65
%67 = load i32, i32* %3
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, double* %23, i64 %68
%70 = load double, double* %69
%71 = load double, double* %9
%72 = call double @llvm.fmuladd.f64(double %66, double %70, double %71)
store double %72, double* %9
br label %73
73: ; preds = %52
%74 = load i32, i32* %3
%75 = add nsw i32 %74, 1
store i32 %75, i32* %3
br label %48
76: ; preds = %48
%77 = load double, double* %8
%78 = load double, double* %9
%79 = fdiv double %77, %78
%80 = call double @sqrt(double %79)
%81 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double %80)
%82 = load i8*, i8** %5
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"%0.9f\0A\00"
define i32 @bench(i32 %0) {
%2 = icmp sgt i32 %0, 0
%3 = select i1 %2, i32 %0, i32 2000
%4 = zext i32 %3 to i64
%5 = alloca double, i64 %4
%6 = alloca double, i64 %4
%7 = zext i32 %3 to i64
%8 = icmp ult i32 %3, 4
br i1 %8, label %78, label %9
9: ; preds = %1
%10 = and i64 %7, 4294967292
%11 = add nsw i64 %10, -4
%12 = lshr exact i64 %11, 2
%13 = add nuw nsw i64 %12, 1
%14 = and i64 %13, 7
%15 = icmp ult i64 %11, 28
br i1 %15, label %63, label %16
16: ; preds = %9
%17 = and i64 %13, 9223372036854775800
br label %18
18: ; preds = %18, %16
%19 = phi i64 [ 0, %16 ], [ %60, %18 ]
%20 = phi i64 [ 0, %16 ], [ %61, %18 ]
%21 = getelementptr inbounds double, double* %5, i64 %19
%22 = bitcast double* %21 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %22
%23 = getelementptr inbounds double, double* %21, i64 2
%24 = bitcast double* %23 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %24
%25 = or i64 %19, 4
%26 = getelementptr inbounds double, double* %5, i64 %25
%27 = bitcast double* %26 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %27
%28 = getelementptr inbounds double, double* %26, i64 2
%29 = bitcast double* %28 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %29
%30 = or i64 %19, 8
%31 = getelementptr inbounds double, double* %5, i64 %30
%32 = bitcast double* %31 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %32
%33 = getelementptr inbounds double, double* %31, i64 2
%34 = bitcast double* %33 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %34
%35 = or i64 %19, 12
%36 = getelementptr inbounds double, double* %5, i64 %35
%37 = bitcast double* %36 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %37
%38 = getelementptr inbounds double, double* %36, i64 2
%39 = bitcast double* %38 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %39
%40 = or i64 %19, 16
%41 = getelementptr inbounds double, double* %5, i64 %40
%42 = bitcast double* %41 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %42
%43 = getelementptr inbounds double, double* %41, i64 2
%44 = bitcast double* %43 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %44
%45 = or i64 %19, 20
%46 = getelementptr inbounds double, double* %5, i64 %45
%47 = bitcast double* %46 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %47
%48 = getelementptr inbounds double, double* %46, i64 2
%49 = bitcast double* %48 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %49
%50 = or i64 %19, 24
%51 = getelementptr inbounds double, double* %5, i64 %50
%52 = bitcast double* %51 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %52
%53 = getelementptr inbounds double, double* %51, i64 2
%54 = bitcast double* %53 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %54
%55 = or i64 %19, 28
%56 = getelementptr inbounds double, double* %5, i64 %55
%57 = bitcast double* %56 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %57
%58 = getelementptr inbounds double, double* %56, i64 2
%59 = bitcast double* %58 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %59
%60 = add nuw i64 %19, 32
%61 = add i64 %20, 8
%62 = icmp eq i64 %61, %17
br i1 %62, label %63, label %18
63: ; preds = %18, %9
%64 = phi i64 [ 0, %9 ], [ %60, %18 ]
%65 = icmp eq i64 %14, 0
br i1 %65, label %76, label %66
66: ; preds = %63, %66
%67 = phi i64 [ %73, %66 ], [ %64, %63 ]
%68 = phi i64 [ %74, %66 ], [ 0, %63 ]
%69 = getelementptr inbounds double, double* %5, i64 %67
%70 = bitcast double* %69 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %70
%71 = getelementptr inbounds double, double* %69, i64 2
%72 = bitcast double* %71 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %72
%73 = add nuw i64 %67, 4
%74 = add i64 %68, 1
%75 = icmp eq i64 %74, %14
br i1 %75, label %76, label %66
76: ; preds = %66, %63
%77 = icmp eq i64 %10, %7
br i1 %77, label %85, label %78
78: ; preds = %1, %76
%79 = phi i64 [ 0, %1 ], [ %10, %76 ]
br label %80
80: ; preds = %78, %80
%81 = phi i64 [ %83, %80 ], [ %79, %78 ]
%82 = getelementptr inbounds double, double* %5, i64 %81
store double 1.000000e+00, double* %82
%83 = add nuw nsw i64 %81, 1
%84 = icmp eq i64 %83, %7
br i1 %84, label %85, label %80
85: ; preds = %80, %76
%86 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%87 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%88 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%89 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%90 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%91 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%92 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%93 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%94 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%95 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%96 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%97 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%98 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%99 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%100 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%101 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%102 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%103 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%104 = call i32 @eval_AtA_times_u(i32 %3, double* %5, double* %6)
%105 = call i32 @eval_AtA_times_u(i32 %3, double* %6, double* %5)
%106 = and i64 %7, 1
%107 = icmp eq i32 %3, 1
br i1 %107, label %134, label %108
108: ; preds = %85
%109 = and i64 %7, 4294967294
br label %110
110: ; preds = %110, %108
%111 = phi i64 [ 0, %108 ], [ %131, %110 ]
%112 = phi <2 x double> [ zeroinitializer, %108 ], [ %130, %110 ]
%113 = phi i64 [ 0, %108 ], [ %132, %110 ]
%114 = getelementptr inbounds double, double* %5, i64 %111
%115 = load double, double* %114
%116 = getelementptr inbounds double, double* %6, i64 %111
%117 = load double, double* %116
%118 = insertelement <2 x double> poison, double %117, i64 0
%119 = insertelement <2 x double> %118, double %115, i64 1
%120 = shufflevector <2 x double> %118, <2 x double> poison, <2 x i32> zeroinitializer
%121 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %119, <2 x double> %120, <2 x double> %112)
%122 = or i64 %111, 1
%123 = getelementptr inbounds double, double* %5, i64 %122
%124 = load double, double* %123
%125 = getelementptr inbounds double, double* %6, i64 %122
%126 = load double, double* %125
%127 = insertelement <2 x double> poison, double %126, i64 0
%128 = insertelement <2 x double> %127, double %124, i64 1
%129 = shufflevector <2 x double> %127, <2 x double> poison, <2 x i32> zeroinitializer
%130 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %128, <2 x double> %129, <2 x double> %121)
%131 = add nuw nsw i64 %111, 2
%132 = add i64 %113, 2
%133 = icmp eq i64 %132, %109
br i1 %133, label %134, label %110
134: ; preds = %110, %85
%135 = phi <2 x double> [ undef, %85 ], [ %130, %110 ]
%136 = phi i64 [ 0, %85 ], [ %131, %110 ]
%137 = phi <2 x double> [ zeroinitializer, %85 ], [ %130, %110 ]
%138 = icmp eq i64 %106, 0
br i1 %138, label %148, label %139
139: ; preds = %134
%140 = getelementptr inbounds double, double* %5, i64 %136
%141 = load double, double* %140
%142 = getelementptr inbounds double, double* %6, i64 %136
%143 = load double, double* %142
%144 = insertelement <2 x double> poison, double %143, i64 0
%145 = insertelement <2 x double> %144, double %141, i64 1
%146 = shufflevector <2 x double> %144, <2 x double> poison, <2 x i32> zeroinitializer
%147 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %145, <2 x double> %146, <2 x double> %137)
br label %148
148: ; preds = %134, %139
%149 = phi <2 x double> [ %135, %134 ], [ %147, %139 ]
%150 = extractelement <2 x double> %149, i64 0
%151 = extractelement <2 x double> %149, i64 1
%152 = fdiv double %151, %150
%153 = call double @sqrt(double %152)
%154 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double %153)
ret i32 0
}