#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*/ dallocvector(int, double **);
int /*<<< orphan*/ dbisect(double *, double *, double *, int, int, int, double,
                           double *, int *, double *);
int /*<<< orphan*/ printf(char *, double, int);
int /*<<< orphan*/ scanf(char *, ...);
int /*<<< orphan*/ test_matrix(int, double *, double *);
int main(int argc, char *argv[]) {
  int rep, n, k, i, j;
  double eps, eps2;
  double *D, *E, *beta, *S;
  scanf("%d", &rep);
  scanf("%d", &n);
  scanf("%lf", &eps);
  dallocvector(n, &D);
  dallocvector(n, &E);
  dallocvector(n, &beta);
  dallocvector(n, &S);
  for (j = 0; j < rep; j++) {
    test_matrix(n, D, E);
    for (i = 0; i < n; i++) {
      beta[i] = E[i] * E[i];
      S[i] = 0.0;
    }
    E[0] = beta[0] = 0;
    dbisect(D, E, beta, n, 1, n, eps, &eps2, &k, &S[-1]);
  }
  for (i = 1; i < n; i++)
    printf("%5d %.15e\n", i + 1, S[i]);
  printf("eps2 = %e,  k = %d\n", eps2, k);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe93(%rip),%rdi
lea    -0x14(%rbp),%rsi
mov    $0x0,%al
call   1060 <scanf@plt>
lea    0xe81(%rip),%rdi
lea    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1060 <scanf@plt>
lea    0xe72(%rip),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x0,%al
call   1060 <scanf@plt>
mov    -0x18(%rbp),%edi
lea    -0x40(%rbp),%rsi
call   1050 <dallocvector@plt>
mov    -0x18(%rbp),%edi
lea    -0x48(%rbp),%rsi
call   1050 <dallocvector@plt>
mov    -0x18(%rbp),%edi
lea    -0x50(%rbp),%rsi
call   1050 <dallocvector@plt>
mov    -0x18(%rbp),%edi
lea    -0x58(%rbp),%rsi
call   1050 <dallocvector@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12ac <main+0x15c>
mov    -0x18(%rbp),%edi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
call   1040 <test_matrix@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1247 <main+0xf7>
mov    -0x48(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x48(%rbp),%rax
movslq -0x20(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x58(%rbp),%rax
movslq -0x20(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11f6 <main+0xa6>
mov    -0x50(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x48(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%rdi
mov    -0x48(%rbp),%rsi
mov    -0x50(%rbp),%rdx
mov    -0x18(%rbp),%ecx
mov    -0x18(%rbp),%r9d
movsd  -0x30(%rbp),%xmm0
mov    -0x58(%rbp),%rax
add    $0xfffffffffffffff8,%rax
mov    $0x1,%r8d
lea    -0x38(%rbp),%r11
lea    -0x1c(%rbp),%r10
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %rax,0x10(%rsp)
call   1070 <dbisect@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11d3 <main+0x83>
movl   $0x1,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    12f0 <main+0x1a0>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
mov    -0x58(%rbp),%rax
movslq -0x20(%rbp),%rcx
cvttsd2si (%rax,%rcx,8),%esi
lea    0xd2a(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12b3 <main+0x163>
movsd  -0x38(%rbp),%xmm0
mov    -0x1c(%rbp),%esi
lea    0xd13(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x40,%rsp
lea    0xe9d(%rip),%r14
xor    %r12d,%r12d
lea    0x4(%rsp),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    %rsp,%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xe7a(%rip),%rdi
lea    0x38(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    (%rsp),%edi
lea    0x28(%rsp),%rsi
call   1050 <dallocvector@plt>
mov    (%rsp),%edi
lea    0x10(%rsp),%rsi
call   1050 <dallocvector@plt>
mov    (%rsp),%edi
lea    0x20(%rsp),%rsi
call   1050 <dallocvector@plt>
mov    (%rsp),%edi
lea    0x8(%rsp),%rsi
call   1050 <dallocvector@plt>
cmpl   $0x0,0x4(%rsp)
jle    1430 <main+0x2e0>
lea    0x1c(%rsp),%r14
lea    0x30(%rsp),%r15
jmp    1236 <main+0xe6>
mov    0x20(%rsp),%rdx
mov    0x10(%rsp),%rsi
mov    0x8(%rsp),%rax
movq   $0x0,(%rdx)
movq   $0x0,(%rsi)
mov    0x28(%rsp),%rdi
movsd  0x38(%rsp),%xmm0
add    $0xfffffffffffffff8,%rax
sub    $0x8,%rsp
mov    $0x1,%r8d
mov    %ecx,%r9d
push   %rax
push   %r14
push   %r15
call   1070 <dbisect@plt>
add    $0x20,%rsp
add    $0x1,%r12d
cmp    0x4(%rsp),%r12d
jge    1430 <main+0x2e0>
mov    (%rsp),%edi
mov    0x28(%rsp),%rsi
mov    0x10(%rsp),%rdx
call   1040 <test_matrix@plt>
mov    (%rsp),%ecx
test   %ecx,%ecx
jle    11e0 <main+0x90>
mov    0x10(%rsp),%rsi
mov    0x20(%rsp),%rdx
mov    0x8(%rsp),%rax
cmp    $0x4,%ecx
jae    1300 <main+0x1b0>
xor    %r9d,%r9d
mov    %r9,%rdi
test   $0x1,%cl
je     1291 <main+0x141>
movsd  (%rsi,%r9,8),%xmm0
mulsd  %xmm0,%xmm0
movsd  %xmm0,(%rdx,%r9,8)
movq   $0x0,(%rax,%r9,8)
mov    %r9,%rdi
or     $0x1,%rdi
not    %r9
mov    %rcx,%rbx
neg    %rbx
cmp    %rbx,%r9
je     11ef <main+0x9f>
add    $0x1,%rdi
nopw   0x0(%rax,%rax,1)
movsd  -0x8(%rsi,%rdi,8),%xmm0
mulsd  %xmm0,%xmm0
movsd  %xmm0,-0x8(%rdx,%rdi,8)
movq   $0x0,-0x8(%rax,%rdi,8)
movsd  (%rsi,%rdi,8),%xmm0
mulsd  %xmm0,%xmm0
movsd  %xmm0,(%rdx,%rdi,8)
movq   $0x0,(%rax,%rdi,8)
lea    (%rbx,%rdi,1),%rbp
add    $0x2,%rbp
add    $0x2,%rdi
cmp    $0x1,%rbp
jne    12b0 <main+0x160>
jmp    11ef <main+0x9f>
cs nopw 0x0(%rax,%rax,1)
lea    (%rdx,%rcx,8),%rdi
lea    (%rax,%rcx,8),%r8
lea    (%rsi,%rcx,8),%rbx
cmp    %r8,%rdx
setb   %r11b
cmp    %rdi,%rax
setb   %bpl
cmp    %rbx,%rdx
setb   %r10b
cmp    %rdi,%rsi
setb   %r9b
cmp    %rbx,%rax
setb   %dil
cmp    %r8,%rsi
setb   %r8b
test   %bpl,%r11b
jne    1267 <main+0x117>
and    %r9b,%r10b
xorps  %xmm2,%xmm2
jne    1267 <main+0x117>
mov    $0x0,%r9d
and    %r8b,%dil
jne    126a <main+0x11a>
mov    %ecx,%r9d
and    $0xfffffffc,%r9d
lea    -0x4(%r9),%rdi
mov    %rdi,%r8
shr    $0x2,%r8
add    $0x1,%r8
test   %rdi,%rdi
je     1426 <main+0x2d6>
mov    %r8,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd (%rsi,%rbx,8),%xmm0
movupd 0x10(%rsi,%rbx,8),%xmm1
mulpd  %xmm0,%xmm0
mulpd  %xmm1,%xmm1
movupd %xmm0,(%rdx,%rbx,8)
movupd %xmm1,0x10(%rdx,%rbx,8)
movups %xmm2,(%rax,%rbx,8)
movups %xmm2,0x10(%rax,%rbx,8)
movupd 0x20(%rsi,%rbx,8),%xmm0
movupd 0x30(%rsi,%rbx,8),%xmm1
mulpd  %xmm0,%xmm0
mulpd  %xmm1,%xmm1
movupd %xmm0,0x20(%rdx,%rbx,8)
movupd %xmm1,0x30(%rdx,%rbx,8)
movups %xmm2,0x20(%rax,%rbx,8)
movups %xmm2,0x30(%rax,%rbx,8)
add    $0x8,%rbx
add    $0xfffffffffffffffe,%rdi
jne    1390 <main+0x240>
test   $0x1,%r8b
je     1418 <main+0x2c8>
movupd (%rsi,%rbx,8),%xmm0
movupd 0x10(%rsi,%rbx,8),%xmm1
mulpd  %xmm0,%xmm0
mulpd  %xmm1,%xmm1
movupd %xmm0,(%rdx,%rbx,8)
movupd %xmm1,0x10(%rdx,%rbx,8)
movups %xmm2,(%rax,%rbx,8)
movups %xmm2,0x10(%rax,%rbx,8)
cmp    %rcx,%r9
je     11ef <main+0x9f>
jmp    126a <main+0x11a>
xor    %ebx,%ebx
test   $0x1,%r8b
jne    13f1 <main+0x2a1>
jmp    1418 <main+0x2c8>
cmpl   $0x2,(%rsp)
jl     1479 <main+0x329>
mov    $0x1,%eax
lea    0xbc5(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    0x1(%rax),%rbp
xorps  %xmm0,%xmm0
cvtsi2sd %ebp,%xmm0
mov    0x8(%rsp),%rcx
cvttsd2si (%rcx,%rax,8),%esi
mov    %rbx,%rdi
call   1030 <printf@plt>
movslq (%rsp),%rcx
mov    %rbp,%rax
cmp    %rcx,%rbp
jl     1450 <main+0x300>
movsd  0x30(%rsp),%xmm0
mov    0x1c(%rsp),%esi
lea    0xb88(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.2 = [11 x i8] c"%5d %.15e\0A\00"
@.str.3 = [20 x i8] c"eps2 = %e, k = %d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca double
%7 = alloca double
%8 = alloca double*
%9 = alloca double*
%10 = alloca double*
%11 = alloca double*
%12 = bitcast i32* %3 to i8*
%13 = bitcast i32* %4 to i8*
%14 = bitcast i32* %5 to i8*
%15 = bitcast double* %6 to i8*
%16 = bitcast double* %7 to i8*
%17 = bitcast double** %8 to i8*
%18 = bitcast double** %9 to i8*
%19 = bitcast double** %10 to i8*
%20 = bitcast double** %11 to i8*
%21 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %3)
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %6)
%24 = load i32, i32* %4
%25 = call i32 @dallocvector(i32 %24, double** %8)
%26 = load i32, i32* %4
%27 = call i32 @dallocvector(i32 %26, double** %9)
%28 = load i32, i32* %4
%29 = call i32 @dallocvector(i32 %28, double** %10)
%30 = load i32, i32* %4
%31 = call i32 @dallocvector(i32 %30, double** %11)
%32 = load i32, i32* %3
%33 = icmp sgt i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %171, %2
%35 = load i32, i32* %4
%36 = icmp sgt i32 %35, 1
br i1 %36, label %182, label %195
37: ; preds = %2, %171
%38 = phi i32 [ %179, %171 ], [ 0, %2 ]
%39 = load i32, i32* %4
%40 = load double*, double** %8
%41 = load double*, double** %9
%42 = call i32 @test_matrix(i32 %39, double* %40, double* %41)
%43 = load i32, i32* %4
%44 = icmp sgt i32 %43, 0
br i1 %44, label %49, label %45
45: ; preds = %37
%46 = load double*, double** %10
%47 = load double*, double** %9
%48 = load double*, double** %11
br label %171
49: ; preds = %37
%50 = load double*, double** %9
%51 = load double*, double** %10
%52 = load double*, double** %11
%53 = zext i32 %43 to i64
%54 = icmp ult i32 %43, 4
br i1 %54, label %140, label %55
55: ; preds = %49
%56 = getelementptr double, double* %51, i64 %53
%57 = getelementptr double, double* %52, i64 %53
%58 = getelementptr double, double* %50, i64 %53
%59 = icmp ult double* %51, %57
%60 = icmp ult double* %52, %56
%61 = and i1 %59, %60
%62 = icmp ult double* %51, %58
%63 = icmp ult double* %50, %56
%64 = and i1 %62, %63
%65 = or i1 %61, %64
%66 = icmp ult double* %52, %58
%67 = icmp ult double* %50, %57
%68 = and i1 %66, %67
%69 = or i1 %65, %68
br i1 %69, label %140, label %70
70: ; preds = %55
%71 = and i64 %53, 4294967292
%72 = add nsw i64 %71, -4
%73 = lshr exact i64 %72, 2
%74 = add nuw nsw i64 %73, 1
%75 = and i64 %74, 1
%76 = icmp eq i64 %72, 0
br i1 %76, label %118, label %77
77: ; preds = %70
%78 = and i64 %74, 9223372036854775806
br label %79
79: ; preds = %79, %77
%80 = phi i64 [ 0, %77 ], [ %115, %79 ]
%81 = phi i64 [ 0, %77 ], [ %116, %79 ]
%82 = getelementptr inbounds double, double* %50, i64 %80
%83 = bitcast double* %82 to <2 x double>*
%84 = load <2 x double>, <2 x double>* %83
%85 = getelementptr inbounds double, double* %82, i64 2
%86 = bitcast double* %85 to <2 x double>*
%87 = load <2 x double>, <2 x double>* %86
%88 = fmul <2 x double> %84, %84
%89 = fmul <2 x double> %87, %87
%90 = getelementptr inbounds double, double* %51, i64 %80
%91 = bitcast double* %90 to <2 x double>*
store <2 x double> %88, <2 x double>* %91
%92 = getelementptr inbounds double, double* %90, i64 2
%93 = bitcast double* %92 to <2 x double>*
store <2 x double> %89, <2 x double>* %93
%94 = getelementptr inbounds double, double* %52, i64 %80
%95 = bitcast double* %94 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %95
%96 = getelementptr inbounds double, double* %94, i64 2
%97 = bitcast double* %96 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %97
%98 = or i64 %80, 4
%99 = getelementptr inbounds double, double* %50, i64 %98
%100 = bitcast double* %99 to <2 x double>*
%101 = load <2 x double>, <2 x double>* %100
%102 = getelementptr inbounds double, double* %99, i64 2
%103 = bitcast double* %102 to <2 x double>*
%104 = load <2 x double>, <2 x double>* %103
%105 = fmul <2 x double> %101, %101
%106 = fmul <2 x double> %104, %104
%107 = getelementptr inbounds double, double* %51, i64 %98
%108 = bitcast double* %107 to <2 x double>*
store <2 x double> %105, <2 x double>* %108
%109 = getelementptr inbounds double, double* %107, i64 2
%110 = bitcast double* %109 to <2 x double>*
store <2 x double> %106, <2 x double>* %110
%111 = getelementptr inbounds double, double* %52, i64 %98
%112 = bitcast double* %111 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %112
%113 = getelementptr inbounds double, double* %111, i64 2
%114 = bitcast double* %113 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %114
%115 = add nuw i64 %80, 8
%116 = add i64 %81, 2
%117 = icmp eq i64 %116, %78
br i1 %117, label %118, label %79
118: ; preds = %79, %70
%119 = phi i64 [ 0, %70 ], [ %115, %79 ]
%120 = icmp eq i64 %75, 0
br i1 %120, label %138, label %121
121: ; preds = %118
%122 = getelementptr inbounds double, double* %50, i64 %119
%123 = bitcast double* %122 to <2 x double>*
%124 = load <2 x double>, <2 x double>* %123
%125 = getelementptr inbounds double, double* %122, i64 2
%126 = bitcast double* %125 to <2 x double>*
%127 = load <2 x double>, <2 x double>* %126
%128 = fmul <2 x double> %124, %124
%129 = fmul <2 x double> %127, %127
%130 = getelementptr inbounds double, double* %51, i64 %119
%131 = bitcast double* %130 to <2 x double>*
store <2 x double> %128, <2 x double>* %131
%132 = getelementptr inbounds double, double* %130, i64 2
%133 = bitcast double* %132 to <2 x double>*
store <2 x double> %129, <2 x double>* %133
%134 = getelementptr inbounds double, double* %52, i64 %119
%135 = bitcast double* %134 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %135
%136 = getelementptr inbounds double, double* %134, i64 2
%137 = bitcast double* %136 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %137
br label %138
138: ; preds = %118, %121
%139 = icmp eq i64 %71, %53
br i1 %139, label %171, label %140
140: ; preds = %55, %49, %138
%141 = phi i64 [ 0, %55 ], [ 0, %49 ], [ %71, %138 ]
%142 = xor i64 %141, -1
%143 = and i64 %53, 1
%144 = icmp eq i64 %143, 0
br i1 %144, label %152, label %145
145: ; preds = %140
%146 = getelementptr inbounds double, double* %50, i64 %141
%147 = load double, double* %146
%148 = fmul double %147, %147
%149 = getelementptr inbounds double, double* %51, i64 %141
store double %148, double* %149
%150 = getelementptr inbounds double, double* %52, i64 %141
store double 0.000000e+00, double* %150
%151 = or i64 %141, 1
br label %152
152: ; preds = %145, %140
%153 = phi i64 [ %141, %140 ], [ %151, %145 ]
%154 = sub nsw i64 0, %53
%155 = icmp eq i64 %142, %154
br i1 %155, label %171, label %156
156: ; preds = %152, %156
%157 = phi i64 [ %169, %156 ], [ %153, %152 ]
%158 = getelementptr inbounds double, double* %50, i64 %157
%159 = load double, double* %158
%160 = fmul double %159, %159
%161 = getelementptr inbounds double, double* %51, i64 %157
store double %160, double* %161
%162 = getelementptr inbounds double, double* %52, i64 %157
store double 0.000000e+00, double* %162
%163 = add nuw nsw i64 %157, 1
%164 = getelementptr inbounds double, double* %50, i64 %163
%165 = load double, double* %164
%166 = fmul double %165, %165
%167 = getelementptr inbounds double, double* %51, i64 %163
store double %166, double* %167
%168 = getelementptr inbounds double, double* %52, i64 %163
store double 0.000000e+00, double* %168
%169 = add nuw nsw i64 %157, 2
%170 = icmp eq i64 %169, %53
br i1 %170, label %171, label %156
171: ; preds = %152, %156, %138, %45
%172 = phi double* [ %48, %45 ], [ %52, %138 ], [ %52, %156 ], [ %52, %152 ]
%173 = phi double* [ %47, %45 ], [ %50, %138 ], [ %50, %156 ], [ %50, %152 ]
%174 = phi double* [ %46, %45 ], [ %51, %138 ], [ %51, %156 ], [ %51, %152 ]
store double 0.000000e+00, double* %174
store double 0.000000e+00, double* %173
%175 = load double*, double** %8
%176 = load double, double* %6
%177 = getelementptr inbounds double, double* %172, i64 -1
%178 = call i32 @dbisect(double* %175, double* %173, double* %174, i32 %43, i32 1, i32 %43, double %176, double* %7, i32* %5, double* %177)
%179 = add nuw nsw i32 %38, 1
%180 = load i32, i32* %3
%181 = icmp slt i32 %179, %180
br i1 %181, label %37, label %34
182: ; preds = %34, %182
%183 = phi i64 [ %184, %182 ], [ 1, %34 ]
%184 = add nuw nsw i64 %183, 1
%185 = trunc i64 %184 to i32
%186 = sitofp i32 %185 to double
%187 = load double*, double** %11
%188 = getelementptr inbounds double, double* %187, i64 %183
%189 = load double, double* %188
%190 = fptosi double %189 to i32
%191 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), double %186, i32 %190)
%192 = load i32, i32* %4
%193 = sext i32 %192 to i64
%194 = icmp slt i64 %184, %193
br i1 %194, label %182, label %195
195: ; preds = %182, %34
%196 = load double, double* %7
%197 = load i32, i32* %5
%198 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %196, i32 %197)
ret i32 0
}