#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 */
scalar_t__ calloc(int, int);
int /*<<< orphan*/ free(double *);
void atou1(double *a, int m, int n) {
  double *p0, *p, *q, *w;
  int i, j, k, mm;
  double s, h;
  w = (double *)calloc(m, sizeof(double));
  p0 = a + n * n - 1;
  i = n - 1;
  mm = m - n;
  if (mm == 0) {
    *p0 = 1.;
    p0 -= n + 1;
    --i;
    ++mm;
  }
  for (; i >= 0; --i, ++mm, p0 -= n + 1) {
    if (*p0 != 0.) {
      for (j = 0, p = p0 + n; j < mm; p += n)
        w[j++] = *p;
      h = *p0;
      *p0 = 1. - h;
      for (j = 0, p = p0 + n; j < mm; p += n)
        *p = -h * w[j++];
      for (k = i + 1, q = p0 + 1; k < n; ++k) {
        for (j = 0, p = q + n, s = 0.; j < mm; p += n)
          s += w[j++] * *p;
        s *= h;
        for (j = 0, p = q + n; j < mm; p += n)
          *p -= s * w[j++];
        *q++ = -s;
      }
    } else {
      *p0 = 1.;
      for (j = 0, p = p0 + n, q = p0 + 1; j < mm; ++j, p += n)
        *p = *q++ = 0.;
    }
  }
  free(w);
}


x86 assembly (clang, -O0):
<atou1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    -0xc(%rbp),%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%ecx
imul   -0x10(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
add    $0xfffffffffffffff8,%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0xc(%rbp),%eax
sub    -0x10(%rbp),%eax
mov    %eax,-0x40(%rbp)
cmpl   $0x0,-0x40(%rbp)
jne    11bb <atou1+0x9b>
mov    -0x18(%rbp),%rax
movsd  0xe78(%rip),%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%ecx
add    $0x1,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rdx
xor    %ecx,%ecx
sub    %rdx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x34(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x34(%rbp)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    11c0 <atou1+0xa0>
cmpl   $0x0,-0x34(%rbp)
jl     151c <atou1+0x3fc>
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    11ea <atou1+0xca>
jp     11ea <atou1+0xca>
jmp    1458 <atou1+0x338>
movl   $0x0,-0x38(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x10(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    1249 <atou1+0x129>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x38(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x38(%rbp)
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
jmp    1204 <atou1+0xe4>
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xda2(%rip),%xmm0
subsd  -0x50(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x0,-0x38(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x10(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    12e6 <atou1+0x1c6>
movsd  -0x50(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x30(%rbp),%rax
mov    -0x38(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x38(%rbp)
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
jmp    1285 <atou1+0x165>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x18(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x28(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1453 <atou1+0x333>
movl   $0x0,-0x38(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x10(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    1380 <atou1+0x260>
mov    -0x30(%rbp),%rax
mov    -0x38(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x38(%rbp)
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
jmp    1329 <atou1+0x209>
movsd  -0x50(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x10(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    1416 <atou1+0x2f6>
movsd  -0x48(%rbp),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x38(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x38(%rbp)
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
movq   %xmm0,%rcx
movabs $0x8000000000000000,%rdx
xor    %rdx,%rcx
movq   %rcx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
jmp    13a9 <atou1+0x289>
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x28(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x28(%rbp)
movsd  %xmm0,(%rax)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    12fb <atou1+0x1db>
jmp    14e3 <atou1+0x3c3>
mov    -0x18(%rbp),%rax
movsd  0xb9c(%rip),%xmm0
movsd  %xmm0,(%rax)
movl   $0x0,-0x38(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x10(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x28(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    14de <atou1+0x3be>
mov    -0x28(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x28(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
jmp    148e <atou1+0x36e>
jmp    14e3 <atou1+0x3c3>
jmp    14e8 <atou1+0x3c8>
mov    -0x34(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x34(%rbp)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%ecx
add    $0x1,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rdx
xor    %ecx,%ecx
sub    %rdx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
jmp    11c0 <atou1+0xa0>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<atou1>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %edx,%ebx
mov    %esi,%r12d
mov    %rdi,%r15
mov    %esi,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rbx,%r10
mov    %r10d,%ecx
imul   %ecx,%ecx
lea    (%r15,%rcx,8),%r14
add    $0xfffffffffffffff8,%r14
movabs $0x3ff0000000000000,%rdx
mov    %r10d,%ecx
not    %ecx
sub    %r10d,%r12d
je     1178 <atou1+0x58>
lea    -0x1(%r10),%r9d
test   %r9d,%r9d
jns    1195 <atou1+0x75>
jmp    1794 <atou1+0x674>
mov    %rdx,(%r14)
movslq %ecx,%rdx
lea    (%r14,%rdx,8),%r14
lea    -0x2(%r10),%r9d
mov    $0x1,%r12d
test   %r9d,%r9d
js     1794 <atou1+0x674>
movslq %r10d,%rsi
movslq %ecx,%rcx
lea    -0x1(%r12),%edx
mov    %rdx,0x70(%rsp)
mov    %rcx,0x80(%rsp)
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0x78(%rsp)
mov    %rsi,%r15
shl    $0x5,%r15
lea    0x0(,%rsi,8),%rdx
lea    (%rdx,%rdx,2),%rcx
mov    %rcx,0x58(%rsp)
mov    %rsi,%rcx
shl    $0x4,%rcx
mov    %rcx,0x50(%rsp)
lea    0x0(,%rsi,4),%rcx
mov    %rcx,0x68(%rsp)
lea    (%r14,%rsi,8),%r13
lea    (%r14,%rsi,8),%rcx
add    $0x8,%rcx
mov    %rcx,0x60(%rsp)
xor    %ecx,%ecx
mov    %rcx,0x48(%rsp)
xorpd  %xmm0,%xmm0
movsd  0xdf1(%rip),%xmm1
movapd 0xdf9(%rip),%xmm2
mov    %rsi,0x28(%rsp)
mov    %rsi,0x40(%rsp)
mov    %r15,0x38(%rsp)
xor    %ecx,%ecx
mov    %rcx,0x30(%rsp)
xor    %ecx,%ecx
mov    %rcx,0x20(%rsp)
mov    %r14,%rsi
mov    %r15,0x18(%rsp)
jmp    12b0 <atou1+0x190>
xchg   %ax,%ax
mov    0x90(%rsp),%rbx
lea    -0x1(%rbx),%ecx
lea    0x1(%r11),%r12d
mov    0x80(%rsp),%rdi
mov    0x10(%rsp),%rsi
lea    (%rsi,%rdi,8),%rsi
mov    0x20(%rsp),%rbp
add    $0x1,%ebp
mov    %rbp,0x20(%rsp)
mov    0x78(%rsp),%rbp
sub    %rbp,0x30(%rsp)
add    %rbp,0x38(%rsp)
add    %rbp,0x58(%rsp)
add    %rbp,0x50(%rsp)
add    %rdi,0x40(%rsp)
add    %rbp,0x48(%rsp)
mov    0x88(%rsp),%r13
add    %rbp,%r13
add    %rbp,0x60(%rsp)
test   %ebx,%ebx
mov    %ecx,%r9d
mov    0x18(%rsp),%r15
jle    1794 <atou1+0x674>
mov    %r12d,%ebx
and    $0x3,%ebx
mov    %r12d,%r11d
movsd  (%rsi),%xmm3
ucomisd %xmm0,%xmm3
mov    %rsi,0x10(%rsp)
mov    %r9,0x90(%rsp)
mov    %r13,0x88(%rsp)
jne    12da <atou1+0x1ba>
jnp    1320 <atou1+0x200>
mov    %r11d,%ebp
and    $0xfffffffc,%ebp
lea    -0x1(%r11),%rdi
test   %r11d,%r11d
mov    %rdi,0x8(%rsp)
jle    1420 <atou1+0x300>
mov    0x28(%rsp),%rcx
lea    (%rsi,%rcx,8),%r8
cmp    $0x3,%rdi
jae    1434 <atou1+0x314>
xor    %ecx,%ecx
mov    %r8,%rdi
test   $0x3,%r11b
jne    148b <atou1+0x36b>
jmp    14b5 <atou1+0x395>
nopl   0x0(%rax)
movabs $0x3ff0000000000000,%rcx
mov    %rcx,(%rsi)
test   %r11d,%r11d
jle    1240 <atou1+0x120>
mov    0x70(%rsp),%rcx
mov    0x20(%rsp),%rsi
lea    (%rcx,%rsi,1),%edi
mov    0x10(%rsp),%rsi
mov    %rsi,%rcx
cmp    $0x3,%edi
jb     13e6 <atou1+0x2c6>
and    $0xfffffffc,%r12d
mov    0x48(%rsp),%rsi
mov    0x40(%rsp),%r9
mov    0x50(%rsp),%rbp
mov    0x58(%rsp),%rcx
mov    0x38(%rsp),%rdi
mov    0x30(%rsp),%r8
mov    0x18(%rsp),%r15
mov    0x68(%rsp),%r13
movq   $0x0,0x8(%r14,%rsi,1)
movq   $0x0,(%r14,%r9,8)
movq   $0x0,0x10(%r14,%rsi,1)
movq   $0x0,(%r14,%rbp,1)
movq   $0x0,0x18(%r14,%rsi,1)
movq   $0x0,(%r14,%rcx,1)
movq   $0x0,0x20(%r14,%rsi,1)
movq   $0x0,(%r14,%rdi,1)
sub    %r15,%r8
add    %r15,%rdi
add    %r15,%rcx
add    %r15,%rbp
add    %r13,%r9
add    $0x20,%rsi
add    $0xfffffffc,%r12d
jne    1380 <atou1+0x260>
mov    %r14,%rcx
sub    %r8,%rcx
add    %r14,%rsi
test   $0x3,%r11b
je     1240 <atou1+0x120>
mov    0x28(%rsp),%rdi
lea    (%rcx,%rdi,8),%rcx
xor    %edi,%edi
nopl   0x0(%rax,%rax,1)
movq   $0x0,0x8(%rsi,%rdi,8)
movq   $0x0,(%rcx)
add    %rdx,%rcx
add    $0x1,%rdi
cmp    %edi,%ebx
jne    1400 <atou1+0x2e0>
jmp    1240 <atou1+0x120>
movapd %xmm1,%xmm4
subsd  %xmm3,%xmm4
movsd  %xmm4,(%rsi)
mov    %rdi,%r15
jmp    158a <atou1+0x46a>
mov    %r13,%rsi
xor    %ecx,%ecx
nopl   0x0(%rax)
mov    %rsi,%rdi
movsd  (%rsi),%xmm3
movsd  %xmm3,(%rax,%rcx,8)
add    %rdx,%rsi
movsd  (%rdi,%rdx,1),%xmm3
movsd  %xmm3,0x8(%rax,%rcx,8)
movsd  (%rdx,%rsi,1),%xmm3
add    %rdx,%rsi
movsd  %xmm3,0x10(%rax,%rcx,8)
movsd  (%rdx,%rsi,1),%xmm3
add    %rdx,%rsi
movsd  %xmm3,0x18(%rax,%rcx,8)
add    $0x4,%rcx
add    %rdx,%rsi
cmp    %rcx,%rbp
jne    1440 <atou1+0x320>
add    %r15,%rdi
test   $0x3,%r11b
je     14b5 <atou1+0x395>
lea    (%rax,%rcx,8),%rcx
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rdi),%xmm3
movsd  %xmm3,(%rcx,%rsi,8)
add    $0x1,%rsi
add    %rdx,%rdi
cmp    %rsi,%rbx
jne    14a0 <atou1+0x380>
mov    0x10(%rsp),%rcx
movsd  (%rcx),%xmm3
movapd %xmm1,%xmm4
subsd  %xmm3,%xmm4
movsd  %xmm4,(%rcx)
test   %r11d,%r11d
jle    14e3 <atou1+0x3c3>
movapd %xmm3,%xmm4
xorpd  %xmm2,%xmm4
cmpq   $0x3,0x8(%rsp)
jae    14ed <atou1+0x3cd>
xor    %esi,%esi
jmp    1556 <atou1+0x436>
mov    0x8(%rsp),%r15
jmp    158a <atou1+0x46a>
mov    %r13,%rcx
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %rcx,%r8
movsd  (%rax,%rsi,8),%xmm5
mulsd  %xmm4,%xmm5
movsd  %xmm5,(%rcx)
movsd  0x8(%rax,%rsi,8),%xmm5
mulsd  %xmm4,%xmm5
add    %rdx,%rcx
movsd  %xmm5,(%r8,%rdx,1)
movsd  0x10(%rax,%rsi,8),%xmm5
mulsd  %xmm4,%xmm5
movsd  %xmm5,(%rdx,%rcx,1)
add    %rdx,%rcx
movsd  0x18(%rax,%rsi,8),%xmm5
mulsd  %xmm4,%xmm5
add    $0x4,%rsi
movsd  %xmm5,(%rdx,%rcx,1)
add    %rdx,%rcx
add    %rdx,%rcx
cmp    %rsi,%rbp
jne    1500 <atou1+0x3e0>
add    %r15,%r8
test   $0x3,%r11b
mov    0x8(%rsp),%r15
je     158a <atou1+0x46a>
lea    (%rax,%rsi,8),%rcx
xor    %esi,%esi
nopw   0x0(%rax,%rax,1)
movsd  (%rcx,%rsi,8),%xmm5
mulsd  %xmm4,%xmm5
movsd  %xmm5,(%r8)
add    $0x1,%rsi
add    %rdx,%r8
cmp    %rsi,%rbx
jne    1570 <atou1+0x450>
lea    0x1(%r9),%r12d
cmp    %r10d,%r12d
jge    1240 <atou1+0x120>
movapd %xmm3,%xmm4
mulsd  %xmm0,%xmm4
mov    0x60(%rsp),%r9
mov    0x10(%rsp),%r13
jmp    15d3 <atou1+0x4b3>
nopl   0x0(%rax,%rax,1)
mov    %rsi,%r10
mov    0x8(%rsp),%r15
xorpd  %xmm2,%xmm5
movsd  %xmm5,0x0(%r13)
add    $0x1,%r12d
add    $0x8,%r9
cmp    %r10d,%r12d
jge    1240 <atou1+0x120>
mov    %r13,%rcx
add    $0x8,%r13
movapd %xmm4,%xmm5
test   %r11d,%r11d
jle    15b8 <atou1+0x498>
mov    %r10,%rsi
mov    0x28(%rsp),%rdi
lea    (%rcx,%rdi,8),%r8
add    $0x8,%r8
xorpd  %xmm5,%xmm5
cmp    $0x3,%r15
jae    1610 <atou1+0x4f0>
xor    %r10d,%r10d
mov    %r8,%r15
test   $0x3,%r11b
jne    1682 <atou1+0x562>
jmp    16aa <atou1+0x58a>
xchg   %ax,%ax
mov    %r9,%rcx
xor    %r10d,%r10d
cs nopw 0x0(%rax,%rax,1)
mov    %rcx,%r15
movsd  (%rax,%r10,8),%xmm6
movsd  0x8(%rax,%r10,8),%xmm7
mulsd  (%rcx),%xmm6
addsd  %xmm5,%xmm6
add    %rdx,%rcx
mulsd  (%r15,%rdx,1),%xmm7
addsd  %xmm6,%xmm7
movsd  0x10(%rax,%r10,8),%xmm6
mulsd  (%rdx,%rcx,1),%xmm6
add    %rdx,%rcx
addsd  %xmm7,%xmm6
movsd  0x18(%rax,%r10,8),%xmm5
add    $0x4,%r10
mulsd  (%rdx,%rcx,1),%xmm5
add    %rdx,%rcx
addsd  %xmm6,%xmm5
add    %rdx,%rcx
cmp    %r10,%rbp
jne    1620 <atou1+0x500>
add    0x18(%rsp),%r15
test   $0x3,%r11b
je     16aa <atou1+0x58a>
lea    (%rax,%r10,8),%rcx
xor    %edi,%edi
nopl   0x0(%rax,%rax,1)
movsd  (%rcx,%rdi,8),%xmm6
mulsd  (%r15),%xmm6
addsd  %xmm6,%xmm5
add    $0x1,%rdi
add    %rdx,%r15
cmp    %rdi,%rbx
jne    1690 <atou1+0x570>
mulsd  %xmm3,%xmm5
test   %r11d,%r11d
jle    15b0 <atou1+0x490>
xorpd  %xmm2,%xmm5
mov    0x8(%rsp),%r15
cmp    $0x3,%r15
jae    16da <atou1+0x5ba>
xor    %edi,%edi
mov    %rsi,%r10
test   $0x3,%r11b
jne    1768 <atou1+0x648>
jmp    15bc <atou1+0x49c>
mov    %r9,%rcx
xor    %edi,%edi
mov    %rsi,%r10
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %rcx,%r8
movsd  (%rax,%rdi,8),%xmm6
mulsd  %xmm5,%xmm6
addsd  (%rcx),%xmm6
movsd  %xmm6,(%rcx)
add    %rdx,%rcx
movsd  0x8(%rax,%rdi,8),%xmm6
mulsd  %xmm5,%xmm6
addsd  (%r8,%rdx,1),%xmm6
movsd  %xmm6,(%r8,%rdx,1)
lea    (%rcx,%rdx,1),%rsi
movsd  0x10(%rax,%rdi,8),%xmm6
mulsd  %xmm5,%xmm6
addsd  (%rdx,%rcx,1),%xmm6
movsd  %xmm6,(%rdx,%rcx,1)
lea    (%rsi,%rdx,1),%rcx
movsd  0x18(%rax,%rdi,8),%xmm6
mulsd  %xmm5,%xmm6
addsd  (%rdx,%rsi,1),%xmm6
add    $0x4,%rdi
movsd  %xmm6,(%rdx,%rsi,1)
add    %rdx,%rcx
cmp    %rdi,%rbp
jne    16f0 <atou1+0x5d0>
add    0x18(%rsp),%r8
test   $0x3,%r11b
je     15bc <atou1+0x49c>
lea    (%rax,%rdi,8),%rcx
xor    %edi,%edi
xchg   %ax,%ax
movsd  (%rcx,%rdi,8),%xmm6
mulsd  %xmm5,%xmm6
addsd  (%r8),%xmm6
movsd  %xmm6,(%r8)
add    $0x1,%rdi
add    %rdx,%r8
cmp    %rdi,%rbx
jne    1770 <atou1+0x650>
jmp    15bc <atou1+0x49c>
mov    %rax,%rdi
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

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

LLVM IR (-O2):
define void @atou1(double* nocapture %0, i32 %1, i32 %2) {
%4 = tail call i64 @calloc(i32 %1, i32 8)
%5 = inttoptr i64 %4 to double*
%6 = mul nsw i32 %2, %2
%7 = zext i32 %6 to i64
%8 = getelementptr inbounds double, double* %0, i64 %7
%9 = getelementptr inbounds double, double* %8, i64 -1
%10 = add nsw i32 %2, -1
%11 = sub nsw i32 %1, %2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %3
store double 1.000000e+00, double* %9
%14 = xor i32 %2, -1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, double* %9, i64 %15
%17 = add nsw i32 %2, -2
br label %18
18: ; preds = %13, %3
%19 = phi i32 [ %17, %13 ], [ %10, %3 ]
%20 = phi i32 [ 1, %13 ], [ %11, %3 ]
%21 = phi double* [ %16, %13 ], [ %9, %3 ]
%22 = icmp sgt i32 %19, -1
br i1 %22, label %23, label %305
23: ; preds = %18
%24 = sext i32 %2 to i64
%25 = xor i32 %2, -1
%26 = sext i32 %25 to i64
%27 = add i32 %20, -1
br label %28
28: ; preds = %23, %299
%29 = phi i32 [ 0, %23 ], [ %304, %299 ]
%30 = phi double* [ %21, %23 ], [ %302, %299 ]
%31 = phi i32 [ %20, %23 ], [ %301, %299 ]
%32 = phi i32 [ %19, %23 ], [ %300, %299 ]
%33 = zext i32 %31 to i64
%34 = add nsw i64 %33, -1
%35 = zext i32 %31 to i64
%36 = add nsw i64 %35, -1
%37 = zext i32 %31 to i64
%38 = add nsw i64 %37, -1
%39 = zext i32 %31 to i64
%40 = add nsw i64 %39, -1
%41 = add i32 %27, %29
%42 = load double, double* %30
%43 = fcmp une double %42, 0.000000e+00
br i1 %43, label %44, label %266
44: ; preds = %28
%45 = getelementptr inbounds double, double* %30, i64 %24
%46 = icmp sgt i32 %31, 0
br i1 %46, label %49, label %47
47: ; preds = %44
%48 = fsub double 1.000000e+00, %42
store double %48, double* %30
br label %114
49: ; preds = %44
%50 = and i64 %39, 3
%51 = icmp ult i64 %40, 3
br i1 %51, label %76, label %52
52: ; preds = %49
%53 = and i64 %39, 4294967292
br label %54
54: ; preds = %54, %52
%55 = phi i64 [ 0, %52 ], [ %71, %54 ]
%56 = phi double* [ %45, %52 ], [ %73, %54 ]
%57 = phi i64 [ 0, %52 ], [ %74, %54 ]
%58 = load double, double* %56
%59 = or i64 %55, 1
%60 = getelementptr inbounds double, double* %5, i64 %55
store double %58, double* %60
%61 = getelementptr inbounds double, double* %56, i64 %24
%62 = load double, double* %61
%63 = or i64 %55, 2
%64 = getelementptr inbounds double, double* %5, i64 %59
store double %62, double* %64
%65 = getelementptr inbounds double, double* %61, i64 %24
%66 = load double, double* %65
%67 = or i64 %55, 3
%68 = getelementptr inbounds double, double* %5, i64 %63
store double %66, double* %68
%69 = getelementptr inbounds double, double* %65, i64 %24
%70 = load double, double* %69
%71 = add nuw nsw i64 %55, 4
%72 = getelementptr inbounds double, double* %5, i64 %67
store double %70, double* %72
%73 = getelementptr inbounds double, double* %69, i64 %24
%74 = add i64 %57, 4
%75 = icmp eq i64 %74, %53
br i1 %75, label %76, label %54
76: ; preds = %54, %49
%77 = phi i64 [ 0, %49 ], [ %71, %54 ]
%78 = phi double* [ %45, %49 ], [ %73, %54 ]
%79 = icmp eq i64 %50, 0
br i1 %79, label %90, label %80
80: ; preds = %76, %80
%81 = phi i64 [ %85, %80 ], [ %77, %76 ]
%82 = phi double* [ %87, %80 ], [ %78, %76 ]
%83 = phi i64 [ %88, %80 ], [ 0, %76 ]
%84 = load double, double* %82
%85 = add nuw nsw i64 %81, 1
%86 = getelementptr inbounds double, double* %5, i64 %81
store double %84, double* %86
%87 = getelementptr inbounds double, double* %82, i64 %24
%88 = add i64 %83, 1
%89 = icmp eq i64 %88, %50
br i1 %89, label %90, label %80
90: ; preds = %80, %76
%91 = load double, double* %30
%92 = fsub double 1.000000e+00, %91
store double %92, double* %30
br i1 %46, label %93, label %114
93: ; preds = %90
%94 = fneg double %91
%95 = and i64 %37, 3
%96 = icmp ult i64 %38, 3
br i1 %96, label %99, label %97
97: ; preds = %93
%98 = and i64 %37, 4294967292
br label %128
99: ; preds = %128, %93
%100 = phi i64 [ 0, %93 ], [ %147, %128 ]
%101 = phi double* [ %45, %93 ], [ %151, %128 ]
%102 = icmp eq i64 %95, 0
br i1 %102, label %114, label %103
103: ; preds = %99, %103
%104 = phi i64 [ %107, %103 ], [ %100, %99 ]
%105 = phi double* [ %111, %103 ], [ %101, %99 ]
%106 = phi i64 [ %112, %103 ], [ 0, %99 ]
%107 = add nuw nsw i64 %104, 1
%108 = getelementptr inbounds double, double* %5, i64 %104
%109 = load double, double* %108
%110 = fmul double %109, %94
store double %110, double* %105
%111 = getelementptr inbounds double, double* %105, i64 %24
%112 = add i64 %106, 1
%113 = icmp eq i64 %112, %95
br i1 %113, label %114, label %103
114: ; preds = %99, %103, %47, %90
%115 = phi double [ %42, %47 ], [ %91, %90 ], [ %91, %103 ], [ %91, %99 ]
%116 = add nsw i32 %32, 1
%117 = icmp slt i32 %116, %2
br i1 %117, label %118, label %299
118: ; preds = %114
%119 = fmul double %115, 0.000000e+00
%120 = and i64 %35, 3
%121 = icmp ult i64 %36, 3
%122 = and i64 %35, 4294967292
%123 = icmp eq i64 %120, 0
%124 = and i64 %33, 3
%125 = icmp ult i64 %34, 3
%126 = and i64 %33, 4294967292
%127 = icmp eq i64 %124, 0
br label %154
128: ; preds = %128, %97
%129 = phi i64 [ 0, %97 ], [ %147, %128 ]
%130 = phi double* [ %45, %97 ], [ %151, %128 ]
%131 = phi i64 [ 0, %97 ], [ %152, %128 ]
%132 = or i64 %129, 1
%133 = getelementptr inbounds double, double* %5, i64 %129
%134 = load double, double* %133
%135 = fmul double %134, %94
store double %135, double* %130
%136 = getelementptr inbounds double, double* %130, i64 %24
%137 = or i64 %129, 2
%138 = getelementptr inbounds double, double* %5, i64 %132
%139 = load double, double* %138
%140 = fmul double %139, %94
store double %140, double* %136
%141 = getelementptr inbounds double, double* %136, i64 %24
%142 = or i64 %129, 3
%143 = getelementptr inbounds double, double* %5, i64 %137
%144 = load double, double* %143
%145 = fmul double %144, %94
store double %145, double* %141
%146 = getelementptr inbounds double, double* %141, i64 %24
%147 = add nuw nsw i64 %129, 4
%148 = getelementptr inbounds double, double* %5, i64 %142
%149 = load double, double* %148
%150 = fmul double %149, %94
store double %150, double* %146
%151 = getelementptr inbounds double, double* %146, i64 %24
%152 = add i64 %131, 4
%153 = icmp eq i64 %152, %98
br i1 %153, label %99, label %128
154: ; preds = %118, %262
%155 = phi i32 [ %116, %118 ], [ %264, %262 ]
%156 = phi double* [ %30, %118 ], [ %157, %262 ]
%157 = getelementptr inbounds double, double* %156, i64 1
%158 = getelementptr inbounds double, double* %157, i64 %24
br i1 %46, label %159, label %212
159: ; preds = %154
br i1 %121, label %191, label %160
160: ; preds = %159, %160
%161 = phi i64 [ %183, %160 ], [ 0, %159 ]
%162 = phi double [ %187, %160 ], [ 0.000000e+00, %159 ]
%163 = phi double* [ %188, %160 ], [ %158, %159 ]
%164 = phi i64 [ %189, %160 ], [ 0, %159 ]
%165 = or i64 %161, 1
%166 = getelementptr inbounds double, double* %5, i64 %161
%167 = load double, double* %166
%168 = load double, double* %163
%169 = tail call double @llvm.fmuladd.f64(double %167, double %168, double %162)
%170 = getelementptr inbounds double, double* %163, i64 %24
%171 = or i64 %161, 2
%172 = getelementptr inbounds double, double* %5, i64 %165
%173 = load double, double* %172
%174 = load double, double* %170
%175 = tail call double @llvm.fmuladd.f64(double %173, double %174, double %169)
%176 = getelementptr inbounds double, double* %170, i64 %24
%177 = or i64 %161, 3
%178 = getelementptr inbounds double, double* %5, i64 %171
%179 = load double, double* %178
%180 = load double, double* %176
%181 = tail call double @llvm.fmuladd.f64(double %179, double %180, double %175)
%182 = getelementptr inbounds double, double* %176, i64 %24
%183 = add nuw nsw i64 %161, 4
%184 = getelementptr inbounds double, double* %5, i64 %177
%185 = load double, double* %184
%186 = load double, double* %182
%187 = tail call double @llvm.fmuladd.f64(double %185, double %186, double %181)
%188 = getelementptr inbounds double, double* %182, i64 %24
%189 = add i64 %164, 4
%190 = icmp eq i64 %189, %122
br i1 %190, label %191, label %160
191: ; preds = %160, %159
%192 = phi double [ undef, %159 ], [ %187, %160 ]
%193 = phi i64 [ 0, %159 ], [ %183, %160 ]
%194 = phi double [ 0.000000e+00, %159 ], [ %187, %160 ]
%195 = phi double* [ %158, %159 ], [ %188, %160 ]
br i1 %123, label %209, label %196
196: ; preds = %191, %196
%197 = phi i64 [ %201, %196 ], [ %193, %191 ]
%198 = phi double [ %205, %196 ], [ %194, %191 ]
%199 = phi double* [ %206, %196 ], [ %195, %191 ]
%200 = phi i64 [ %207, %196 ], [ 0, %191 ]
%201 = add nuw nsw i64 %197, 1
%202 = getelementptr inbounds double, double* %5, i64 %197
%203 = load double, double* %202
%204 = load double, double* %199
%205 = tail call double @llvm.fmuladd.f64(double %203, double %204, double %198)
%206 = getelementptr inbounds double, double* %199, i64 %24
%207 = add i64 %200, 1
%208 = icmp eq i64 %207, %120
br i1 %208, label %209, label %196
209: ; preds = %196, %191
%210 = phi double [ %192, %191 ], [ %205, %196 ]
%211 = fmul double %115, %210
br i1 %46, label %215, label %212
212: ; preds = %154, %209
%213 = phi double [ %211, %209 ], [ %119, %154 ]
%214 = fneg double %213
br label %262
215: ; preds = %209
%216 = fneg double %211
br i1 %125, label %247, label %217
217: ; preds = %215, %217
%218 = phi i64 [ %239, %217 ], [ 0, %215 ]
%219 = phi double* [ %244, %217 ], [ %158, %215 ]
%220 = phi i64 [ %245, %217 ], [ 0, %215 ]
%221 = or i64 %218, 1
%222 = getelementptr inbounds double, double* %5, i64 %218
%223 = load double, double* %222
%224 = load double, double* %219
%225 = tail call double @llvm.fmuladd.f64(double %216, double %223, double %224)
store double %225, double* %219
%226 = getelementptr inbounds double, double* %219, i64 %24
%227 = or i64 %218, 2
%228 = getelementptr inbounds double, double* %5, i64 %221
%229 = load double, double* %228
%230 = load double, double* %226
%231 = tail call double @llvm.fmuladd.f64(double %216, double %229, double %230)
store double %231, double* %226
%232 = getelementptr inbounds double, double* %226, i64 %24
%233 = or i64 %218, 3
%234 = getelementptr inbounds double, double* %5, i64 %227
%235 = load double, double* %234
%236 = load double, double* %232
%237 = tail call double @llvm.fmuladd.f64(double %216, double %235, double %236)
store double %237, double* %232
%238 = getelementptr inbounds double, double* %232, i64 %24
%239 = add nuw nsw i64 %218, 4
%240 = getelementptr inbounds double, double* %5, i64 %233
%241 = load double, double* %240
%242 = load double, double* %238
%243 = tail call double @llvm.fmuladd.f64(double %216, double %241, double %242)
store double %243, double* %238
%244 = getelementptr inbounds double, double* %238, i64 %24
%245 = add i64 %220, 4
%246 = icmp eq i64 %245, %126
br i1 %246, label %247, label %217
247: ; preds = %217, %215
%248 = phi i64 [ 0, %215 ], [ %239, %217 ]
%249 = phi double* [ %158, %215 ], [ %244, %217 ]
br i1 %127, label %262, label %250
250: ; preds = %247, %250
%251 = phi i64 [ %254, %250 ], [ %248, %247 ]
%252 = phi double* [ %259, %250 ], [ %249, %247 ]
%253 = phi i64 [ %260, %250 ], [ 0, %247 ]
%254 = add nuw nsw i64 %251, 1
%255 = getelementptr inbounds double, double* %5, i64 %251
%256 = load double, double* %255
%257 = load double, double* %252
%258 = tail call double @llvm.fmuladd.f64(double %216, double %256, double %257)
store double %258, double* %252
%259 = getelementptr inbounds double, double* %252, i64 %24
%260 = add i64 %253, 1
%261 = icmp eq i64 %260, %124
br i1 %261, label %262, label %250
262: ; preds = %247, %250, %212
%263 = phi double [ %214, %212 ], [ %216, %250 ], [ %216, %247 ]
store double %263, double* %157
%264 = add nsw i32 %155, 1
%265 = icmp slt i32 %264, %2
br i1 %265, label %154, label %299
266: ; preds = %28
store double 1.000000e+00, double* %30
%267 = icmp sgt i32 %31, 0
br i1 %267, label %268, label %299
268: ; preds = %266
%269 = and i32 %31, 3
%270 = icmp ult i32 %41, 3
br i1 %270, label %287, label %271
271: ; preds = %268
%272 = and i32 %31, -4
br label %273
273: ; preds = %273, %271
%274 = phi double* [ %30, %271 ], [ %284, %273 ]
%275 = phi double* [ %30, %271 ], [ %283, %273 ]
%276 = phi i32 [ 0, %271 ], [ %285, %273 ]
%277 = getelementptr inbounds double, double* %275, i64 1
%278 = getelementptr inbounds double, double* %274, i64 %24
store double 0.000000e+00, double* %277
store double 0.000000e+00, double* %278
%279 = getelementptr inbounds double, double* %275, i64 2
%280 = getelementptr inbounds double, double* %278, i64 %24
store double 0.000000e+00, double* %279
store double 0.000000e+00, double* %280
%281 = getelementptr inbounds double, double* %275, i64 3
%282 = getelementptr inbounds double, double* %280, i64 %24
store double 0.000000e+00, double* %281
store double 0.000000e+00, double* %282
%283 = getelementptr inbounds double, double* %275, i64 4
%284 = getelementptr inbounds double, double* %282, i64 %24
store double 0.000000e+00, double* %283
store double 0.000000e+00, double* %284
%285 = add i32 %276, 4
%286 = icmp eq i32 %285, %272
br i1 %286, label %287, label %273
287: ; preds = %273, %268
%288 = phi double* [ %30, %268 ], [ %284, %273 ]
%289 = phi double* [ %30, %268 ], [ %283, %273 ]
%290 = icmp eq i32 %269, 0
br i1 %290, label %299, label %291
291: ; preds = %287, %291
%292 = phi double* [ %296, %291 ], [ %288, %287 ]
%293 = phi double* [ %295, %291 ], [ %289, %287 ]
%294 = phi i32 [ %297, %291 ], [ 0, %287 ]
%295 = getelementptr inbounds double, double* %293, i64 1
%296 = getelementptr inbounds double, double* %292, i64 %24
store double 0.000000e+00, double* %295
store double 0.000000e+00, double* %296
%297 = add i32 %294, 1
%298 = icmp eq i32 %297, %269
br i1 %298, label %299, label %291
299: ; preds = %287, %291, %262, %266, %114
%300 = add nsw i32 %32, -1
%301 = add nsw i32 %31, 1
%302 = getelementptr inbounds double, double* %30, i64 %26
%303 = icmp sgt i32 %32, 0
%304 = add i32 %29, 1
br i1 %303, label %28, label %305
305: ; preds = %299, %18
%306 = tail call i32 @free(double* %5)
ret void
}