void compute_lpc_coefs(const double *autoc, int max_order, double *ref,
                       double lpc[][32]) {
  int i, j, i2;
  double r, err, tmp;
  double lpc_tmp[32] = {
      0,
  };
  err = 1.0;
  if (autoc) {
    err = autoc[0];
  }
  for (i = 0; i < max_order; i++) {
    if (ref) {
      r = ref[i];
    } else {
      r = -autoc[i + 1];
      for (j = 0; j < i; j++) {
        r -= lpc_tmp[j] * autoc[i - j];
      }
      r /= err;
      err *= 1.0 - (r * r);
    }
    i2 = (i >> 1);
    lpc_tmp[i] = r;
    for (j = 0; j < i2; j++) {
      tmp = lpc_tmp[j];
      lpc_tmp[j] += r * lpc_tmp[i - 1 - j];
      lpc_tmp[i - 1 - j] += r * tmp;
    }
    if (i & 1) {
      lpc_tmp[j] += lpc_tmp[j] * r;
    }
    for (j = 0; j <= i; j++) {
      lpc[i][j] = -lpc_tmp[j];
    }
  }
}


x86 assembly (clang, -O0):
<compute_lpc_coefs>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
lea    -0x150(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1030 <memset@plt>
movsd  0xebb(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
cmpq   $0x0,-0x8(%rbp)
je     1162 <compute_lpc_coefs+0x52>
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    13df <compute_lpc_coefs+0x2cf>
cmpq   $0x0,-0x18(%rbp)
je     1197 <compute_lpc_coefs+0x87>
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    127c <compute_lpc_coefs+0x16c>
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x38(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    122e <compute_lpc_coefs+0x11e>
movslq -0x28(%rbp),%rax
movsd  -0x150(%rbp,%rax,8),%xmm0
ff ff
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    -0x28(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x38(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11cc <compute_lpc_coefs+0xbc>
movsd  -0x40(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm1,%xmm0
movsd  0xd92(%rip),%xmm1
addsd  %xmm1,%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x24(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x2c(%rbp)
movsd  -0x38(%rbp),%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x150(%rbp,%rax,8)
ff ff
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1330 <compute_lpc_coefs+0x220>
movslq -0x28(%rbp),%rax
movsd  -0x150(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x48(%rbp)
movsd  -0x38(%rbp),%xmm0
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
sub    -0x28(%rbp),%eax
cltq
movsd  -0x150(%rbp,%rax,8),%xmm2
ff ff
movslq -0x28(%rbp),%rax
movsd  -0x150(%rbp,%rax,8),%xmm1
ff ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x150(%rbp,%rax,8)
ff ff
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
sub    -0x28(%rbp),%eax
cltq
movsd  -0x150(%rbp,%rax,8),%xmm1
ff ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x150(%rbp,%rax,8)
ff ff
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    129e <compute_lpc_coefs+0x18e>
mov    -0x24(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     136f <compute_lpc_coefs+0x25f>
movslq -0x28(%rbp),%rax
movsd  -0x150(%rbp,%rax,8),%xmm0
ff ff
movsd  -0x38(%rbp),%xmm2
movslq -0x28(%rbp),%rax
movsd  -0x150(%rbp,%rax,8),%xmm1
ff ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x150(%rbp,%rax,8)
ff ff
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     13cc <compute_lpc_coefs+0x2bc>
movslq -0x28(%rbp),%rax
movsd  -0x150(%rbp,%rax,8),%xmm0
ff ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
shl    $0x8,%rcx
add    %rcx,%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1376 <compute_lpc_coefs+0x266>
jmp    13d1 <compute_lpc_coefs+0x2c1>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1169 <compute_lpc_coefs+0x59>
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<compute_lpc_coefs>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rcx,-0x78(%rsp)
mov    %rdi,%r15
xorps  %xmm0,%xmm0
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movaps %xmm0,-0x10(%rsp)
movaps %xmm0,-0x20(%rsp)
movaps %xmm0,-0x30(%rsp)
movaps %xmm0,-0x40(%rsp)
movaps %xmm0,-0x50(%rsp)
movaps %xmm0,-0x60(%rsp)
movaps %xmm0,-0x70(%rsp)
test   %rdi,%rdi
je     1181 <compute_lpc_coefs+0x81>
movsd  (%r15),%xmm0
test   %esi,%esi
jg     1191 <compute_lpc_coefs+0x91>
jmp    1469 <compute_lpc_coefs+0x369>
movsd  0xe77(%rip),%xmm0
test   %esi,%esi
jle    1469 <compute_lpc_coefs+0x369>
mov    %esi,%r10d
lea    -0x78(%rsp),%rax
mov    -0x78(%rsp),%rbp
lea    0x30(%rbp),%rsi
mov    $0x1,%r14d
xor    %r12d,%r12d
mov    $0x1,%r9d
movapd 0xe57(%rip),%xmm1
movsd  0xe3f(%rip),%xmm2
mov    %r15,%r8
jmp    11f7 <compute_lpc_coefs+0xf7>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%r12
add    $0x1,%r14
add    $0x8,%r8
add    $0x8,%rax
add    $0x100,%rsi
add    $0x100,%rbp
cmp    %r10,%r12
je     1469 <compute_lpc_coefs+0x369>
mov    %r12d,%r13d
shr    %r13d
cmp    $0x2,%r13d
cmovb  %r9d,%r13d
test   %rdx,%rdx
je     1220 <compute_lpc_coefs+0x120>
movsd  (%rdx,%r12,8),%xmm3
jmp    12c2 <compute_lpc_coefs+0x1c2>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  0x8(%r15,%r12,8),%xmm3
xorpd  %xmm1,%xmm3
test   %r12,%r12
je     12aa <compute_lpc_coefs+0x1aa>
cmp    $0x1,%r12
jne    1240 <compute_lpc_coefs+0x140>
xor    %ebx,%ebx
test   $0x1,%r12b
jne    1294 <compute_lpc_coefs+0x194>
jmp    12aa <compute_lpc_coefs+0x1aa>
mov    %r12,%rdi
and    $0xfffffffffffffffe,%rdi
neg    %rdi
xor    %ebx,%ebx
lea    -0x68(%rsp),%rcx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  -0x8(%rcx),%xmm4
mulsd  (%r8,%rbx,8),%xmm4
movsd  (%rcx),%xmm5
subsd  %xmm4,%xmm3
mulsd  -0x8(%r8,%rbx,8),%xmm5
subsd  %xmm5,%xmm3
add    $0x10,%rcx
add    $0xfffffffffffffffe,%rbx
cmp    %rbx,%rdi
jne    1260 <compute_lpc_coefs+0x160>
neg    %rbx
test   $0x1,%r12b
je     12aa <compute_lpc_coefs+0x1aa>
movsd  -0x70(%rsp,%rbx,8),%xmm4
mov    %r12,%rcx
sub    %rbx,%rcx
mulsd  (%r15,%rcx,8),%xmm4
subsd  %xmm4,%xmm3
divsd  %xmm0,%xmm3
movapd %xmm3,%xmm4
mulsd  %xmm3,%xmm4
movapd %xmm2,%xmm5
subsd  %xmm4,%xmm5
mulsd  %xmm5,%xmm0
movsd  %xmm3,-0x70(%rsp,%r12,8)
xor    %ecx,%ecx
cmp    $0x2,%r12
jae    12f0 <compute_lpc_coefs+0x1f0>
test   $0x1,%r12b
jne    1339 <compute_lpc_coefs+0x239>
cmp    $0x4,%r14
jae    1355 <compute_lpc_coefs+0x255>
xor    %ebx,%ebx
jmp    1440 <compute_lpc_coefs+0x340>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r13,%rdi
neg    %rdi
xor    %ecx,%ecx
lea    -0x70(%rsp),%rbx
nopl   (%rax)
movsd  (%rbx),%xmm4
movsd  (%rax,%rcx,8),%xmm5
mulsd  %xmm3,%xmm5
addsd  %xmm4,%xmm5
movsd  %xmm5,(%rbx)
mulsd  %xmm3,%xmm4
addsd  (%rax,%rcx,8),%xmm4
movsd  %xmm4,(%rax,%rcx,8)
add    $0x8,%rbx
add    $0xffffffffffffffff,%rcx
cmp    %rcx,%rdi
jne    1300 <compute_lpc_coefs+0x200>
mov    %r13d,%ecx
test   $0x1,%r12b
je     12d7 <compute_lpc_coefs+0x1d7>
mov    %ecx,%ecx
movsd  -0x70(%rsp,%rcx,8),%xmm4
mulsd  %xmm4,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,-0x70(%rsp,%rcx,8)
cmp    $0x4,%r14
jb     12dd <compute_lpc_coefs+0x1dd>
mov    %r14,%rbx
movabs $0x7ffffffffffffffc,%rcx
ff ff 7f
and    %rcx,%rbx
lea    -0x4(%rbx),%rcx
mov    %rcx,%r13
shr    $0x2,%r13
add    $0x1,%r13
test   %rcx,%rcx
je     145e <compute_lpc_coefs+0x35e>
mov    %r14,%r11
and    $0xfffffffffffffffc,%r11
add    $0xfffffffffffffffc,%r11
shr    $0x2,%r11
add    $0x1,%r11
and    $0xfffffffffffffffe,%r11
xor    %r9d,%r9d
nopw   0x0(%rax,%rax,1)
movapd -0x70(%rsp,%r9,8),%xmm3
xorpd  %xmm1,%xmm3
movapd -0x60(%rsp,%r9,8),%xmm4
xorpd  %xmm1,%xmm4
movupd %xmm3,-0x30(%rsi,%r9,8)
movupd %xmm4,-0x20(%rsi,%r9,8)
movapd -0x50(%rsp,%r9,8),%xmm3
xorpd  %xmm1,%xmm3
movapd -0x40(%rsp,%r9,8),%xmm4
xorpd  %xmm1,%xmm4
movupd %xmm3,-0x10(%rsi,%r9,8)
movupd %xmm4,(%rsi,%r9,8)
add    $0x8,%r9
add    $0xfffffffffffffffe,%r11
jne    13a0 <compute_lpc_coefs+0x2a0>
test   $0x1,%r13b
je     1426 <compute_lpc_coefs+0x326>
movapd -0x70(%rsp,%r9,8),%xmm3
xorpd  %xmm1,%xmm3
movapd -0x60(%rsp,%r9,8),%xmm4
xorpd  %xmm1,%xmm4
mov    %r12,%rcx
shl    $0x8,%rcx
add    -0x78(%rsp),%rcx
movupd %xmm3,(%rcx,%r9,8)
movupd %xmm4,0x10(%rcx,%r9,8)
cmp    %rbx,%r14
mov    $0x1,%r9d
je     11d0 <compute_lpc_coefs+0xd0>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  -0x70(%rsp,%rbx,8),%xmm3
xorpd  %xmm1,%xmm3
movlpd %xmm3,0x0(%rbp,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%r14
jne    1440 <compute_lpc_coefs+0x340>
jmp    11d0 <compute_lpc_coefs+0xd0>
xor    %r9d,%r9d
test   $0x1,%r13b
jne    13f7 <compute_lpc_coefs+0x2f7>
jmp    1426 <compute_lpc_coefs+0x326>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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