#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 DBL_EPSILON;
double fabs(double);
int Two_Consecutive_Small_Subdiagonal(double *H, int min_row, int max_row,
                                      int n, double trace, double det) {
  double x, y, z, s;
  double *pH;
  int i, k;
  for (k = max_row - 2, pH = H + k * n; k >= min_row; pH -= n, k--) {
    x = (pH[k] * (pH[k] - trace) + det) / pH[n + k] + pH[k + 1];
    y = pH[k] + pH[n + k + 1] - trace;
    z = pH[n + n + k + 1];
    s = fabs(x) + fabs(y) + fabs(z);
    x /= s;
    y /= s;
    z /= s;
    if (k == min_row)
      break;
    if ((fabs(pH[k - 1]) * (fabs(y) + fabs(z))) <=
        DBL_EPSILON * fabs(x) *
            (fabs(pH[k - 1 - n]) + fabs(pH[k]) + fabs(pH[n + k + 1])))
      break;
  }
  for (i = k + 2, pH = H + i * n; i <= max_row; pH += n, i++)
    pH[i - 2] = 0.0;
  for (i = k + 3, pH = H + i * n; i <= max_row; pH += n, i++)
    pH[i - 3] = 0.0;
  return k;
}


x86 assembly (clang, -O0):
<Two_Consecutive_Small_Subdiagonal>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
movsd  %xmm0,-0x20(%rbp)
movsd  %xmm1,-0x28(%rbp)
mov    -0x10(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x58(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x58(%rbp),%ecx
imul   -0x14(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x58(%rbp),%eax
cmp    -0xc(%rbp),%eax
jl     1372 <Two_Consecutive_Small_Subdiagonal+0x272>
mov    -0x50(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
subsd  -0x20(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x50(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    -0x58(%rbp),%ecx
movslq %ecx,%rcx
divsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
mov    -0x58(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x50(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x50(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    -0x58(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x50(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    -0x14(%rbp),%ecx
add    -0x58(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x30(%rbp),%xmm0
movaps 0xe0d(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x38(%rbp),%xmm1
movaps 0xdfd(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  -0x40(%rbp),%xmm1
movaps 0xde9(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x58(%rbp),%eax
cmp    -0xc(%rbp),%eax
jne    126e <Two_Consecutive_Small_Subdiagonal+0x16e>
jmp    1372 <Two_Consecutive_Small_Subdiagonal+0x272>
mov    -0x50(%rbp),%rax
mov    -0x58(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xd79(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
movaps 0xd69(%rip),%xmm2
pand   %xmm2,%xmm0
movsd  -0x40(%rbp),%xmm2
movaps 0xd59(%rip),%xmm3
pand   %xmm3,%xmm2
addsd  %xmm2,%xmm0
mulsd  %xmm0,%xmm1
mov    0x2d2e(%rip),%rax
movsd  (%rax),%xmm0
movsd  -0x30(%rbp),%xmm2
movaps 0xd36(%rip),%xmm3
pand   %xmm3,%xmm2
mulsd  %xmm2,%xmm0
mov    -0x50(%rbp),%rax
mov    -0x58(%rbp),%ecx
sub    $0x1,%ecx
sub    -0x14(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movaps 0xd12(%rip),%xmm3
pand   %xmm3,%xmm2
mov    -0x50(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
movaps 0xcfa(%rip),%xmm4
pand   %xmm4,%xmm3
addsd  %xmm3,%xmm2
mov    -0x50(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    -0x58(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm3
movaps 0xcd6(%rip),%xmm4
pand   %xmm4,%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jb     1345 <Two_Consecutive_Small_Subdiagonal+0x245>
jmp    1372 <Two_Consecutive_Small_Subdiagonal+0x272>
jmp    134a <Two_Consecutive_Small_Subdiagonal+0x24a>
mov    -0x14(%rbp),%ecx
mov    -0x50(%rbp),%rax
movslq %ecx,%rdx
xor    %ecx,%ecx
sub    %rdx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x58(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x58(%rbp)
jmp    113d <Two_Consecutive_Small_Subdiagonal+0x3d>
mov    -0x58(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x54(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x54(%rbp),%ecx
imul   -0x14(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x10(%rbp),%eax
jg     13d8 <Two_Consecutive_Small_Subdiagonal+0x2d8>
mov    -0x50(%rbp),%rax
mov    -0x54(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x14(%rbp),%ecx
mov    -0x50(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1394 <Two_Consecutive_Small_Subdiagonal+0x294>
mov    -0x58(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0x54(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x54(%rbp),%ecx
imul   -0x14(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x10(%rbp),%eax
jg     143e <Two_Consecutive_Small_Subdiagonal+0x33e>
mov    -0x50(%rbp),%rax
mov    -0x54(%rbp),%ecx
sub    $0x3,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x14(%rbp),%ecx
mov    -0x50(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    13fa <Two_Consecutive_Small_Subdiagonal+0x2fa>
mov    -0x58(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<Two_Consecutive_Small_Subdiagonal>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
lea    -0x2(%rdx),%eax
movslq %ecx,%r8
cmp    %esi,%eax
jl     12a9 <Two_Consecutive_Small_Subdiagonal+0x1a9>
mov    %ecx,-0xc(%rsp)
movslq %eax,%rcx
imul   %r8d,%eax
movslq %eax,%r9
mov    0x2ebb(%rip),%rax
movsd  (%rax),%xmm8
movslq %esi,%r10
mov    $0x2,%eax
sub    %edx,%eax
lea    (%rdx,%r8,2),%r11d
add    $0xffffffff,%r11d
sub    %rcx,%r10
lea    0x0(,%r9,8),%r14
lea    0x0(,%rcx,8),%rbx
lea    (%rbx,%r9,8),%rbx
lea    0x0(,%r8,8),%r15
mov    %r15,%r12
xor    $0xfffffffffffffff8,%r12
lea    (%r8,%r9,1),%rbp
add    %rcx,%rbp
lea    0x8(,%rbp,8),%r13
mov    %r8,-0x8(%rsp)
lea    (%r8,%rcx,1),%rbp
lea    (%r14,%rbp,8),%r8
add    %rcx,%r9
shl    $0x3,%r9
sub    %r15,%r9
add    $0xfffffffffffffff8,%r9
movapd 0xe63(%rip),%xmm9
movapd 0xe5a(%rip),%xmm10
test   %r10,%r10
je     129a <Two_Consecutive_Small_Subdiagonal+0x19a>
nop
movslq %r11d,%rbp
movsd  (%rdi,%rbx,1),%xmm2
movapd %xmm2,%xmm7
subsd  %xmm0,%xmm7
mulsd  %xmm2,%xmm7
addsd  %xmm1,%xmm7
divsd  (%rdi,%r8,1),%xmm7
addsd  0x8(%rdi,%rbx,1),%xmm7
movsd  (%rdi,%r13,1),%xmm11
movapd %xmm2,%xmm5
addsd  %xmm11,%xmm5
subsd  %xmm0,%xmm5
lea    (%rdi,%rbp,8),%rcx
movsd  (%r14,%rcx,1),%xmm3
movapd %xmm7,%xmm4
andpd  %xmm9,%xmm4
movapd %xmm5,%xmm6
andpd  %xmm9,%xmm6
addsd  %xmm4,%xmm6
unpcklpd %xmm3,%xmm5
andpd  %xmm9,%xmm3
addsd  %xmm6,%xmm3
divsd  %xmm3,%xmm7
unpcklpd %xmm3,%xmm3
divpd  %xmm3,%xmm5
andpd  %xmm10,%xmm5
pshufd $0xee,%xmm5,%xmm3
addpd  %xmm5,%xmm3
unpcklpd %xmm8,%xmm3
movsd  -0x8(%rdi,%rbx,1),%xmm4
unpcklpd %xmm7,%xmm4
andpd  %xmm10,%xmm4
mulpd  %xmm3,%xmm4
movsd  (%rdi,%r9,1),%xmm3
andpd  %xmm10,%xmm3
andpd  %xmm10,%xmm2
addsd  %xmm3,%xmm2
andpd  %xmm10,%xmm11
addsd  %xmm2,%xmm11
movapd %xmm4,%xmm2
unpckhpd %xmm4,%xmm2
mulsd  %xmm11,%xmm2
ucomisd %xmm4,%xmm2
jae    129e <Two_Consecutive_Small_Subdiagonal+0x19e>
add    $0x1,%eax
add    $0xffffffff,%r11d
add    $0x1,%r10
add    %r12,%rbx
add    %r12,%r13
add    %r12,%r8
add    %r12,%r9
sub    %r15,%r14
test   %r10,%r10
jne    11b0 <Two_Consecutive_Small_Subdiagonal+0xb0>
mov    %esi,%eax
jmp    12a0 <Two_Consecutive_Small_Subdiagonal+0x1a0>
neg    %eax
mov    -0x8(%rsp),%r8
mov    -0xc(%rsp),%ecx
lea    0x2(%rax),%esi
cmp    %edx,%esi
jg     13a2 <Two_Consecutive_Small_Subdiagonal+0x2a2>
movslq %esi,%r9
imul   %ecx,%esi
movslq %esi,%rsi
lea    (%rdi,%rsi,8),%r14
mov    %eax,%ebp
not    %ebp
add    %edx,%ebp
mov    %edx,%r10d
sub    %eax,%r10d
add    $0xfffffffe,%r10d
and    $0x3,%ebp
je     1318 <Two_Consecutive_Small_Subdiagonal+0x218>
add    %r9,%rsi
lea    (%rdi,%rsi,8),%rsi
add    $0xfffffffffffffff0,%rsi
lea    0x0(,%r8,8),%r11
lea    0x8(,%r8,8),%r15
neg    %ebp
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
add    %r11,%r14
movq   $0x0,(%rsi)
add    $0xffffffffffffffff,%rbx
add    %r15,%rsi
cmp    %ebx,%ebp
jne    1300 <Two_Consecutive_Small_Subdiagonal+0x200>
sub    %rbx,%r9
cmp    $0x3,%r10d
jb     13a2 <Two_Consecutive_Small_Subdiagonal+0x2a2>
mov    %edx,%r11d
sub    %r9d,%r11d
add    $0x1,%r11d
lea    0x0(,%r9,8),%r12
lea    0x0(,%r8,8),%rsi
lea    (%rsi,%r9,8),%r15
add    $0xfffffffffffffff8,%r15
mov    %r8,%r10
shl    $0x5,%r10
add    $0x20,%r10
mov    %r8,%rsi
shl    $0x4,%rsi
lea    (%rsi,%r9,8),%rbx
lea    -0x10(,%r9,8),%rsi
ff
lea    (%r8,%r8,2),%rbp
lea    (%r12,%rbp,8),%rbp
add    $0x8,%rbp
xchg   %ax,%ax
movq   $0x0,(%r14,%rsi,1)
movq   $0x0,(%r14,%r15,1)
movq   $0x0,(%r14,%rbx,1)
movq   $0x0,(%r14,%rbp,1)
add    %r10,%r15
add    %r10,%rbx
add    %r10,%rsi
add    %r10,%rbp
add    $0xfffffffc,%r11d
jne    1370 <Two_Consecutive_Small_Subdiagonal+0x270>
lea    0x3(%rax),%ebp
cmp    %edx,%ebp
jg     14a1 <Two_Consecutive_Small_Subdiagonal+0x3a1>
imul   %ebp,%ecx
movslq %ecx,%rsi
lea    (%rdi,%rsi,8),%rcx
movslq %ebp,%r9
mov    %edx,%r10d
sub    %eax,%r10d
lea    0x2(%r10),%r11d
add    $0xfffffffd,%r10d
and    $0x3,%r11d
je     1409 <Two_Consecutive_Small_Subdiagonal+0x309>
add    %r9,%rsi
lea    (%rdi,%rsi,8),%rsi
add    $0xffffffffffffffe8,%rsi
lea    0x0(,%r8,8),%rdi
lea    0x8(,%r8,8),%rbx
neg    %r11d
xor    %ebp,%ebp
xchg   %ax,%ax
add    %rdi,%rcx
movq   $0x0,(%rsi)
add    $0xffffffffffffffff,%rbp
add    %rbx,%rsi
cmp    %ebp,%r11d
jne    13f0 <Two_Consecutive_Small_Subdiagonal+0x2f0>
sub    %rbp,%r9
cmp    $0x3,%r10d
jb     14a1 <Two_Consecutive_Small_Subdiagonal+0x3a1>
sub    %r9d,%edx
add    $0x1,%edx
mov    %r8,%rsi
shl    $0x4,%rsi
lea    0x0(,%r9,8),%rbp
lea    (%rsi,%r9,8),%rdi
add    $0xfffffffffffffff8,%rdi
mov    %r8,%r10
shl    $0x5,%r10
add    $0x20,%r10
lea    0x0(,%r8,8),%rsi
lea    (%rsi,%r9,8),%rbx
add    $0xfffffffffffffff0,%rbx
lea    (%r8,%r8,2),%rsi
lea    0x0(,%rsi,8),%rsi
add    %rbp,%rsi
lea    -0x18(,%r9,8),%rbp
ff
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movq   $0x0,(%rcx,%rbp,1)
movq   $0x0,(%rcx,%rbx,1)
movq   $0x0,(%rcx,%rdi,1)
movq   $0x0,(%rcx,%rsi,1)
add    %r10,%rdi
add    %r10,%rbx
add    %r10,%rsi
add    %r10,%rbp
add    $0xfffffffc,%edx
jne    1470 <Two_Consecutive_Small_Subdiagonal+0x370>
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@DBL_EPSILON = global double 0.000000e+00
define i32 @Two_Consecutive_Small_Subdiagonal(double* %0, i32 %1, i32 %2, i32 %3, double %4, double %5) {
%7 = alloca double*
%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
%17 = alloca double*
%18 = alloca i32
%19 = alloca i32
store double* %0, double** %7
store i32 %1, i32* %8
store i32 %2, i32* %9
store i32 %3, i32* %10
store double %4, double* %11
store double %5, double* %12
%20 = load i32, i32* %9
%21 = sub nsw i32 %20, 2
store i32 %21, i32* %19
%22 = load double*, double** %7
%23 = load i32, i32* %19
%24 = load i32, i32* %10
%25 = mul nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, double* %22, i64 %26
store double* %27, double** %17
br label %28
28: ; preds = %157, %6
%29 = load i32, i32* %19
%30 = load i32, i32* %8
%31 = icmp sge i32 %29, %30
br i1 %31, label %32, label %165
32: ; preds = %28
%33 = load double*, double** %17
%34 = load i32, i32* %19
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, double* %33, i64 %35
%37 = load double, double* %36
%38 = load double*, double** %17
%39 = load i32, i32* %19
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, double* %38, i64 %40
%42 = load double, double* %41
%43 = load double, double* %11
%44 = fsub double %42, %43
%45 = load double, double* %12
%46 = call double @llvm.fmuladd.f64(double %37, double %44, double %45)
%47 = load double*, double** %17
%48 = load i32, i32* %10
%49 = load i32, i32* %19
%50 = add nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, double* %47, i64 %51
%53 = load double, double* %52
%54 = fdiv double %46, %53
%55 = load double*, double** %17
%56 = load i32, i32* %19
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, double* %55, i64 %58
%60 = load double, double* %59
%61 = fadd double %54, %60
store double %61, double* %13
%62 = load double*, double** %17
%63 = load i32, i32* %19
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, double* %62, i64 %64
%66 = load double, double* %65
%67 = load double*, double** %17
%68 = load i32, i32* %10
%69 = load i32, i32* %19
%70 = add nsw i32 %68, %69
%71 = add nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, double* %67, i64 %72
%74 = load double, double* %73
%75 = fadd double %66, %74
%76 = load double, double* %11
%77 = fsub double %75, %76
store double %77, double* %14
%78 = load double*, double** %17
%79 = load i32, i32* %10
%80 = load i32, i32* %10
%81 = add nsw i32 %79, %80
%82 = load i32, i32* %19
%83 = add nsw i32 %81, %82
%84 = add nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, double* %78, i64 %85
%87 = load double, double* %86
store double %87, double* %15
%88 = load double, double* %13
%89 = call double @llvm.fabs.f64(double %88)
%90 = load double, double* %14
%91 = call double @llvm.fabs.f64(double %90)
%92 = fadd double %89, %91
%93 = load double, double* %15
%94 = call double @llvm.fabs.f64(double %93)
%95 = fadd double %92, %94
store double %95, double* %16
%96 = load double, double* %16
%97 = load double, double* %13
%98 = fdiv double %97, %96
store double %98, double* %13
%99 = load double, double* %16
%100 = load double, double* %14
%101 = fdiv double %100, %99
store double %101, double* %14
%102 = load double, double* %16
%103 = load double, double* %15
%104 = fdiv double %103, %102
store double %104, double* %15
%105 = load i32, i32* %19
%106 = load i32, i32* %8
%107 = icmp eq i32 %105, %106
br i1 %107, label %108, label %109
108: ; preds = %32
br label %165
109: ; preds = %32
%110 = load double*, double** %17
%111 = load i32, i32* %19
%112 = sub nsw i32 %111, 1
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, double* %110, i64 %113
%115 = load double, double* %114
%116 = call double @llvm.fabs.f64(double %115)
%117 = load double, double* %14
%118 = call double @llvm.fabs.f64(double %117)
%119 = load double, double* %15
%120 = call double @llvm.fabs.f64(double %119)
%121 = fadd double %118, %120
%122 = fmul double %116, %121
%123 = load double, double* @DBL_EPSILON
%124 = load double, double* %13
%125 = call double @llvm.fabs.f64(double %124)
%126 = fmul double %123, %125
%127 = load double*, double** %17
%128 = load i32, i32* %19
%129 = sub nsw i32 %128, 1
%130 = load i32, i32* %10
%131 = sub nsw i32 %129, %130
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, double* %127, i64 %132
%134 = load double, double* %133
%135 = call double @llvm.fabs.f64(double %134)
%136 = load double*, double** %17
%137 = load i32, i32* %19
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, double* %136, i64 %138
%140 = load double, double* %139
%141 = call double @llvm.fabs.f64(double %140)
%142 = fadd double %135, %141
%143 = load double*, double** %17
%144 = load i32, i32* %10
%145 = load i32, i32* %19
%146 = add nsw i32 %144, %145
%147 = add nsw i32 %146, 1
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, double* %143, i64 %148
%150 = load double, double* %149
%151 = call double @llvm.fabs.f64(double %150)
%152 = fadd double %142, %151
%153 = fmul double %126, %152
%154 = fcmp ole double %122, %153
br i1 %154, label %155, label %156
155: ; preds = %109
br label %165
156: ; preds = %109
br label %157
157: ; preds = %156
%158 = load i32, i32* %10
%159 = load double*, double** %17
%160 = sext i32 %158 to i64
%161 = sub i64 0, %160
%162 = getelementptr inbounds double, double* %159, i64 %161
store double* %162, double** %17
%163 = load i32, i32* %19
%164 = add nsw i32 %163, -1
store i32 %164, i32* %19
br label %28
165: ; preds = %155, %108, %28
%166 = load i32, i32* %19
%167 = add nsw i32 %166, 2
store i32 %167, i32* %18
%168 = load double*, double** %7
%169 = load i32, i32* %18
%170 = load i32, i32* %10
%171 = mul nsw i32 %169, %170
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, double* %168, i64 %172
store double* %173, double** %17
br label %174
174: ; preds = %184, %165
%175 = load i32, i32* %18
%176 = load i32, i32* %9
%177 = icmp sle i32 %175, %176
br i1 %177, label %178, label %191
178: ; preds = %174
%179 = load double*, double** %17
%180 = load i32, i32* %18
%181 = sub nsw i32 %180, 2
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, double* %179, i64 %182
store double 0.000000e+00, double* %183
br label %184
184: ; preds = %178
%185 = load i32, i32* %10
%186 = load double*, double** %17
%187 = sext i32 %185 to i64
%188 = getelementptr inbounds double, double* %186, i64 %187
store double* %188, double** %17
%189 = load i32, i32* %18
%190 = add nsw i32 %189, 1
store i32 %190, i32* %18
br label %174
191: ; preds = %174
%192 = load i32, i32* %19
%193 = add nsw i32 %192, 3
store i32 %193, i32* %18
%194 = load double*, double** %7
%195 = load i32, i32* %18
%196 = load i32, i32* %10
%197 = mul nsw i32 %195, %196
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, double* %194, i64 %198
store double* %199, double** %17
br label %200
200: ; preds = %210, %191
%201 = load i32, i32* %18
%202 = load i32, i32* %9
%203 = icmp sle i32 %201, %202
br i1 %203, label %204, label %217
204: ; preds = %200
%205 = load double*, double** %17
%206 = load i32, i32* %18
%207 = sub nsw i32 %206, 3
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds double, double* %205, i64 %208
store double 0.000000e+00, double* %209
br label %210
210: ; preds = %204
%211 = load i32, i32* %10
%212 = load double*, double** %17
%213 = sext i32 %211 to i64
%214 = getelementptr inbounds double, double* %212, i64 %213
store double* %214, double** %17
%215 = load i32, i32* %18
%216 = add nsw i32 %215, 1
store i32 %216, i32* %18
br label %200
217: ; preds = %200
%218 = load i32, i32* %19
ret i32 %218
}

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