#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*/ lstsq(double *, double *, int, int, double *);
double pt(double, int);
double sqrt(double);
int sreg(double x[], double y[], int n, double sx, double g, double *a,
         double *b, double *dyx, double *va, double *vb, double *al, double *au,
         double *bl, double *bu) {
  int nu, i;
  double c[2];
  double fn, fnu, qt, syx, xx, wx, yc, dy, t;
  double wa, wb, wdyx, wva, wvb, wat, wbt;
  if (n < 3 || g <= 0.0 || g >= 1.0)
    return 999;
  nu = n - 2;
  fn = n;
  fnu = nu;
  qt = 1.0 - g;
  syx = xx = 0.0;
  lstsq(x, y, n, 1, c);
  wa = c[0];
  wb = c[1];
  for (i = 0; i < n; i++) {
    wx = x[i];
    yc = wa + wb * wx;
    dy = y[i] - yc;
    syx += (dy * dy);
    xx += (wx * wx);
  }
  wdyx = syx / fnu;
  wva = xx * wdyx / (fn * sx);
  wvb = wdyx / sx;
  t = pt(qt, nu);
  wat = t * sqrt(wva);
  wbt = t * sqrt(wvb);
  *al = wa - wat;
  *au = wa + wat;
  *bl = wb - wbt;
  *bu = wb + wbt;
  *a = wa;
  *b = wb;
  *dyx = wdyx;
  *va = wva;
  *vb = wvb;
  return 0;
}


x86 assembly (clang, -O0):
<sreg>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
movsd  %xmm0,-0x28(%rbp)
movsd  %xmm1,-0x30(%rbp)
mov    %rcx,-0x38(%rbp)
mov    %r8,-0x40(%rbp)
mov    %r9,-0x48(%rbp)
cmpl   $0x3,-0x1c(%rbp)
jl     11a3 <sreg+0x73>
xorps  %xmm0,%xmm0
ucomisd -0x30(%rbp),%xmm0
jae    11a3 <sreg+0x73>
movsd  -0x30(%rbp),%xmm0
movsd  0xe67(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     11af <sreg+0x7f>
movl   $0x3e7,-0x4(%rbp)
jmp    146a <sreg+0x33a>
mov    -0x1c(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x4c(%rbp)
cvtsi2sdl -0x1c(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
cvtsi2sdl -0x4c(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xe2c(%rip),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x1c(%rbp),%edx
lea    -0x60(%rbp),%r8
mov    $0x1,%ecx
call   1040 <lstsq@plt>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12e9 <sreg+0x1b9>
mov    -0x10(%rbp),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0xb0(%rbp),%xmm1
ff
movsd  -0xb8(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x18(%rbp),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xa0(%rbp),%xmm2
ff
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    122b <sreg+0xfb>
movsd  -0x80(%rbp),%xmm0
divsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
mulsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x68(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
divsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
mov    -0x4c(%rbp),%edi
call   1030 <pt@plt>
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0xc8(%rbp),%xmm0
ff
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xf0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0xd0(%rbp),%xmm0
ff
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
subsd  -0xd8(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xb0(%rbp),%xmm0
ff
addsd  -0xd8(%rbp),%xmm0
ff
mov    0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xb8(%rbp),%xmm0
ff
subsd  -0xe0(%rbp),%xmm0
ff
mov    0x30(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xb8(%rbp),%xmm0
ff
addsd  -0xe0(%rbp),%xmm0
ff
mov    0x38(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xb0(%rbp),%xmm0
ff
mov    -0x38(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xb8(%rbp),%xmm0
ff
mov    -0x40(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xc0(%rbp),%xmm0
ff
mov    -0x48(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xc8(%rbp),%xmm0
ff
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xd0(%rbp),%xmm0
ff
mov    0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sreg>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
ucomisd 0xeb7(%rip),%xmm1
mov    $0x3e7,%eax
jae    13d2 <sreg+0x2a2>
mov    %edx,%r14d
cmp    $0x3,%edx
jl     13d2 <sreg+0x2a2>
xorpd  %xmm2,%xmm2
ucomisd %xmm1,%xmm2
jae    13d2 <sreg+0x2a2>
mov    %r8,%r15
mov    %rcx,%r12
mov    %rsi,%rbx
mov    %rdi,%rbp
movsd  %xmm0,0x10(%rsp)
mov    %r9,0x38(%rsp)
lea    -0x2(%r14),%r13d
xorps  %xmm0,%xmm0
cvtsi2sd %r14d,%xmm0
movsd  %xmm0,0x40(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %r13d,%xmm0
movsd  %xmm0,0x50(%rsp)
movsd  0xe53(%rip),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
lea    0x70(%rsp),%r8
mov    %r14d,%edx
mov    $0x1,%ecx
call   1040 <lstsq@plt>
movsd  0x70(%rsp),%xmm4
movsd  0x78(%rsp),%xmm5
mov    %r14d,%ecx
lea    0x0(,%rcx,8),%rdx
and    $0xfffffffffffffff0,%rdx
xorpd  %xmm6,%xmm6
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
movsd  0x0(%rbp,%rax,1),%xmm0
movsd  0x8(%rbp,%rax,1),%xmm1
movapd %xmm5,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm4,%xmm2
movsd  (%rbx,%rax,1),%xmm3
subsd  %xmm2,%xmm3
unpcklpd %xmm0,%xmm3
mulpd  %xmm3,%xmm3
addpd  %xmm6,%xmm3
movsd  0x8(%rbx,%rax,1),%xmm0
movapd %xmm5,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm4,%xmm2
subsd  %xmm2,%xmm0
unpcklpd %xmm1,%xmm0
mulpd  %xmm0,%xmm0
movapd %xmm0,%xmm6
addpd  %xmm3,%xmm6
add    $0x10,%rax
cmp    %rax,%rdx
jne    11f0 <sreg+0xc0>
test   $0x1,%cl
movsd  %xmm4,0x30(%rsp)
movsd  %xmm5,0x28(%rsp)
je     1284 <sreg+0x154>
movsd  0x0(%rbp,%rax,1),%xmm0
movapd %xmm5,%xmm1
mulsd  %xmm0,%xmm1
addsd  %xmm4,%xmm1
movsd  (%rbx,%rax,1),%xmm2
subsd  %xmm1,%xmm2
unpcklpd %xmm0,%xmm2
mulpd  %xmm2,%xmm2
addpd  %xmm2,%xmm6
movsd  0x10(%rsp),%xmm0
movapd %xmm6,%xmm2
divsd  0x50(%rsp),%xmm2
unpckhpd %xmm6,%xmm6
mulsd  %xmm2,%xmm6
movsd  0x40(%rsp),%xmm1
mulsd  %xmm0,%xmm1
divsd  %xmm1,%xmm6
movapd %xmm6,0x10(%rsp)
movapd %xmm2,0x50(%rsp)
divsd  %xmm0,%xmm2
movapd %xmm2,0x40(%rsp)
movsd  0x8(%rsp),%xmm0
mov    %r13d,%edi
call   1030 <pt@plt>
movapd 0x10(%rsp),%xmm1
movapd %xmm0,%xmm5
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm1
movsd  %xmm5,0x8(%rsp)
jb     12f1 <sreg+0x1c1>
xorps  %xmm6,%xmm6
sqrtsd %xmm1,%xmm6
jmp    1308 <sreg+0x1d8>
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  0x8(%rsp),%xmm5
movapd %xmm0,%xmm6
xorpd  %xmm0,%xmm0
mulsd  %xmm5,%xmm6
movapd 0x40(%rsp),%xmm4
ucomisd %xmm0,%xmm4
jb     1321 <sreg+0x1f1>
xorps  %xmm0,%xmm0
sqrtsd %xmm4,%xmm0
jmp    1342 <sreg+0x212>
movapd %xmm4,%xmm0
movsd  %xmm6,0x68(%rsp)
call   1050 <sqrt@plt>
movsd  0x68(%rsp),%xmm6
movsd  0x8(%rsp),%xmm5
movapd 0x40(%rsp),%xmm4
mov    0x38(%rsp),%rax
movsd  0x30(%rsp),%xmm1
movsd  0x28(%rsp),%xmm2
movaps 0x10(%rsp),%xmm3
mulsd  %xmm0,%xmm5
movapd %xmm1,%xmm0
subsd  %xmm6,%xmm0
mov    0xd0(%rsp),%rcx
movsd  %xmm0,(%rcx)
addsd  %xmm1,%xmm6
mov    0xd8(%rsp),%rcx
movsd  %xmm6,(%rcx)
movapd %xmm2,%xmm0
subsd  %xmm5,%xmm0
mov    0xe0(%rsp),%rcx
movsd  %xmm0,(%rcx)
addsd  %xmm2,%xmm5
mov    0xe8(%rsp),%rcx
movsd  %xmm5,(%rcx)
movsd  %xmm1,(%r12)
movsd  %xmm2,(%r15)
movaps 0x50(%rsp),%xmm0
movsd  %xmm0,(%rax)
mov    0xc0(%rsp),%rax
movsd  %xmm3,(%rax)
mov    0xc8(%rsp),%rax
movsd  %xmm4,(%rax)
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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