#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 */
typedef int j;
typedef int i;

/* Variables and functions */
int /*<<< orphan*/ fx(double *, double **, int, int, int);
int /*<<< orphan*/ fy(double *, double **, int, int, int);
void laxf_scheme_2d(double *Q, double **ffx, double **ffy, double **nFx,
                    double **nFy, int m, int n, double dx, double dy,
                    double dt) {
  int i, j, k;
  for (i = 1; i < n; i++) {
    fx(Q, ffx, m, n, i);
    for (j = 1; j < m; j++)
      for (k = 0; k < 3; k++)
        nFx[k][j] = 0.5 * ((ffx[k][j - 1] + ffx[k][j]) -
                           dx / dt *
                               (Q[((i) + n * ((j) + m * (k)))] -
                                Q[((i) + n * ((j - 1) + m * (k)))]));
    for (j = 1; j < m - 1; j++)
      for (k = 0; k < 3; k++)
        Q[((i) + n * ((j) + m * (k)))] =
            Q[((i) + n * ((j) + m * (k)))] -
            dt / dx * ((nFx[k][j + 1] - nFx[k][j]));
  }
  for (i = 1; i < m; i++) {
    fy(Q, ffy, m, n, i);
    for (j = 1; j < n; j++)
      for (k = 0; k < 3; k++)
        nFy[k][j] = 0.5 * ((ffy[k][j - 1] + ffy[k][j]) -
                           dy / dt *
                               (Q[((j) + n * ((i) + m * (k)))] -
                                Q[((j - 1) + n * ((i) + m * (k)))]));
    for (j = 1; j < n - 1; j++)
      for (k = 0; k < 3; k++)
        Q[((j) + n * ((i) + m * (k)))] =
            Q[((j) + n * ((i) + m * (k)))] -
            dt / dy * ((nFy[k][j + 1] - nFy[k][j]));
  }
}


x86 assembly (clang, -O0):
<laxf_scheme_2d>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
movsd  %xmm0,-0x38(%rbp)
movsd  %xmm1,-0x40(%rbp)
movsd  %xmm2,-0x48(%rbp)
movl   $0x1,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    0x10(%rbp),%eax
jge    137e <laxf_scheme_2d+0x25e>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x2c(%rbp),%edx
mov    0x10(%rbp),%ecx
mov    -0x4c(%rbp),%r8d
call   1030 <fx@plt>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1283 <laxf_scheme_2d+0x163>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    1270 <laxf_scheme_2d+0x150>
mov    -0x10(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x50(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  -0x38(%rbp),%xmm1
divsd  -0x48(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0x4c(%rbp),%ecx
mov    0x10(%rbp),%edx
mov    -0x50(%rbp),%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x8(%rbp),%rax
mov    -0x4c(%rbp),%ecx
mov    0x10(%rbp),%edx
mov    -0x50(%rbp),%esi
sub    $0x1,%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xdb7(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1196 <laxf_scheme_2d+0x76>
jmp    1275 <laxf_scheme_2d+0x155>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1183 <laxf_scheme_2d+0x63>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    136b <laxf_scheme_2d+0x24b>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    1358 <laxf_scheme_2d+0x238>
mov    -0x8(%rbp),%rax
mov    -0x4c(%rbp),%ecx
mov    0x10(%rbp),%edx
mov    -0x50(%rbp),%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x48(%rbp),%xmm0
divsd  -0x38(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x50(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x20(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x4c(%rbp),%ecx
mov    0x10(%rbp),%edx
mov    -0x50(%rbp),%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    12a2 <laxf_scheme_2d+0x182>
jmp    135d <laxf_scheme_2d+0x23d>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    128a <laxf_scheme_2d+0x16a>
jmp    1370 <laxf_scheme_2d+0x250>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1159 <laxf_scheme_2d+0x39>
movl   $0x1,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    15aa <laxf_scheme_2d+0x48a>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x2c(%rbp),%edx
mov    0x10(%rbp),%ecx
mov    -0x4c(%rbp),%r8d
call   1040 <fy@plt>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    0x10(%rbp),%eax
jge    14af <laxf_scheme_2d+0x38f>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    149c <laxf_scheme_2d+0x37c>
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x50(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  -0x40(%rbp),%xmm1
divsd  -0x48(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0x50(%rbp),%ecx
mov    0x10(%rbp),%edx
mov    -0x4c(%rbp),%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x8(%rbp),%rax
mov    -0x50(%rbp),%ecx
sub    $0x1,%ecx
mov    0x10(%rbp),%edx
mov    -0x4c(%rbp),%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xb8b(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x28(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    13c2 <laxf_scheme_2d+0x2a2>
jmp    14a1 <laxf_scheme_2d+0x381>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    13af <laxf_scheme_2d+0x28f>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
mov    0x10(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1597 <laxf_scheme_2d+0x477>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    1584 <laxf_scheme_2d+0x464>
mov    -0x8(%rbp),%rax
mov    -0x50(%rbp),%ecx
mov    0x10(%rbp),%edx
mov    -0x4c(%rbp),%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x48(%rbp),%xmm0
divsd  -0x40(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x50(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x28(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x50(%rbp),%ecx
mov    0x10(%rbp),%edx
mov    -0x4c(%rbp),%esi
mov    -0x2c(%rbp),%edi
imul   -0x54(%rbp),%edi
add    %edi,%esi
imul   %esi,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    14ce <laxf_scheme_2d+0x3ae>
jmp    1589 <laxf_scheme_2d+0x469>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    14b6 <laxf_scheme_2d+0x396>
jmp    159c <laxf_scheme_2d+0x47c>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1385 <laxf_scheme_2d+0x265>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<laxf_scheme_2d>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%rsp
movapd %xmm2,0x50(%rsp)
movapd %xmm1,0xa0(%rsp)
mov    %r8,0x30(%rsp)
mov    %rcx,0x28(%rsp)
mov    %rdx,0x48(%rsp)
mov    %rsi,0x40(%rsp)
mov    %rdi,0x8(%rsp)
mov    0x110(%rsp),%eax
mov    %eax,%r10d
mov    %r9,(%rsp)
mov    %r9d,%ecx
mov    %rcx,0x10(%rsp)
cmp    $0x2,%eax
jl     1447 <laxf_scheme_2d+0x327>
movapd 0xe80(%rip),%xmm2
movapd %xmm0,%xmm3
xorpd  %xmm2,%xmm3
movapd 0x50(%rsp),%xmm1
divsd  %xmm1,%xmm3
mov    (%rsp),%rcx
lea    -0x1(%rcx),%eax
xorpd  %xmm1,%xmm2
divsd  %xmm0,%xmm2
movslq %ecx,%rcx
lea    0x1(%rcx),%rsi
imul   %r10,%rsi
lea    0x0(,%r10,8),%rbx
lea    (%rcx,%rcx,1),%rdx
add    $0x1,%rdx
imul   %r10,%rdx
imul   %r10,%rcx
mov    %rcx,0x18(%rsp)
shl    $0x4,%rcx
mov    %rcx,0x78(%rsp)
mov    0x10(%rsp),%rcx
lea    -0x8(,%rcx,8),%r14
ff
mov    0x8(%rsp),%rcx
mov    %rsi,0x98(%rsp)
lea    0x8(%rcx,%rsi,8),%r12
mov    %rdx,0x80(%rsp)
lea    0x8(%rcx,%rdx,8),%r13
lea    0x8(%rcx,%r10,8),%r15
lea    -0x8(,%rax,8),%rbp
ff
mov    $0x1,%r8d
mov    %rcx,0x38(%rsp)
mov    %r10,0x88(%rsp)
movapd %xmm2,0xc0(%rsp)
movapd %xmm3,0xb0(%rsp)
mov    %rbp,0x70(%rsp)
jmp    1267 <laxf_scheme_2d+0x147>
nopw   0x0(%rax,%rax,1)
mov    0x90(%rsp),%r8
add    $0x1,%r8
addq   $0x8,0x38(%rsp)
add    $0x8,%r12
add    $0x8,%r13
add    $0x8,%r15
cmp    %r10,%r8
je     1447 <laxf_scheme_2d+0x327>
mov    0x8(%rsp),%rdi
mov    0x40(%rsp),%rsi
mov    (%rsp),%rbp
mov    %ebp,%edx
mov    0x110(%rsp),%ecx
mov    %r8,0x90(%rsp)
call   1030 <fx@plt>
movsd  0xd7d(%rip),%xmm2
movapd 0xb0(%rsp),%xmm3
cmp    $0x2,%ebp
mov    0x80(%rsp),%r11
mov    0x78(%rsp),%rax
jl     13a4 <laxf_scheme_2d+0x284>
mov    0x40(%rsp),%rsi
mov    (%rsi),%r8
mov    0x8(%rsi),%r9
mov    0x28(%rsp),%rdx
mov    (%rdx),%rcx
mov    %rcx,0x20(%rsp)
mov    0x8(%rdx),%rcx
mov    %rcx,0x60(%rsp)
mov    0x10(%rsi),%rdi
mov    0x10(%rdx),%r10
xor    %esi,%esi
mov    0x38(%rsp),%rdx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  (%r8,%rsi,1),%xmm0
addsd  0x8(%r8,%rsi,1),%xmm0
movsd  0x8(%rdx,%rbx,1),%xmm1
subsd  0x8(%rdx),%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
mov    0x20(%rsp),%rcx
movsd  %xmm1,0x8(%rcx,%rsi,1)
movsd  (%r9,%rsi,1),%xmm0
addsd  0x8(%r9,%rsi,1),%xmm0
mov    %rbx,%rbp
mov    0x98(%rsp),%rbx
movsd  0x8(%rdx,%rbx,8),%xmm1
mov    %rbp,%rbx
mov    %r14,%rbp
mov    0x18(%rsp),%r14
subsd  0x8(%rdx,%r14,8),%xmm1
mov    %rbp,%r14
mulsd  %xmm3,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
mov    0x60(%rsp),%rcx
movsd  %xmm1,0x8(%rcx,%rsi,1)
movsd  0x8(%rdx,%r11,8),%xmm0
subsd  0x8(%rdx,%rax,1),%xmm0
add    %rbx,%rdx
movsd  (%rdi,%rsi,1),%xmm1
addsd  0x8(%rdi,%rsi,1),%xmm1
mulsd  %xmm3,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movsd  %xmm0,0x8(%r10,%rsi,1)
add    $0x8,%rsi
cmp    %rsi,%rbp
jne    12f0 <laxf_scheme_2d+0x1d0>
cmpl   $0x3,(%rsp)
mov    0x88(%rsp),%r10
movapd 0xc0(%rsp),%xmm2
mov    0x70(%rsp),%rbp
jl     1240 <laxf_scheme_2d+0x120>
mov    0x28(%rsp),%rdx
mov    (%rdx),%rax
mov    0x8(%rdx),%rcx
mov    0x10(%rdx),%rdx
xor    %esi,%esi
xor    %edi,%edi
nopl   0x0(%rax,%rax,1)
movsd  0x10(%rax,%rsi,1),%xmm0
subsd  0x8(%rax,%rsi,1),%xmm0
mulsd  %xmm2,%xmm0
addsd  (%r15,%rdi,8),%xmm0
movsd  %xmm0,(%r15,%rdi,8)
movsd  0x10(%rcx,%rsi,1),%xmm0
subsd  0x8(%rcx,%rsi,1),%xmm0
mulsd  %xmm2,%xmm0
addsd  (%r12,%rdi,8),%xmm0
movsd  %xmm0,(%r12,%rdi,8)
movsd  0x10(%rdx,%rsi,1),%xmm0
subsd  0x8(%rdx,%rsi,1),%xmm0
mulsd  %xmm2,%xmm0
addsd  0x0(%r13,%rdi,8),%xmm0
movsd  %xmm0,0x0(%r13,%rdi,8)
add    %r10,%rdi
add    $0x8,%rsi
cmp    %rsi,%rbp
jne    13e0 <laxf_scheme_2d+0x2c0>
jmp    1240 <laxf_scheme_2d+0x120>
cmpl   $0x2,(%rsp)
jl     1690 <laxf_scheme_2d+0x570>
movapd 0xba7(%rip),%xmm0
movapd 0xa0(%rsp),%xmm2
movapd %xmm2,%xmm3
xorpd  %xmm0,%xmm3
movapd 0x50(%rsp),%xmm1
divsd  %xmm1,%xmm3
mov    0x110(%rsp),%eax
mov    %rax,%rcx
add    $0xffffffff,%eax
xorpd  %xmm0,%xmm1
divsd  %xmm2,%xmm1
movapd %xmm1,0x50(%rsp)
movslq %ecx,%rcx
mov    0x8(%rsp),%rsi
lea    0x8(%rsi,%rcx,8),%r12
lea    0x0(,%rcx,8),%rdx
mov    %rdx,0x18(%rsp)
mov    0x10(%rsp),%rdi
lea    0x1(%rdi),%rdx
imul   %rcx,%rdx
lea    (%rsi,%rdx,8),%rbp
add    $0x8,%rbp
lea    (%rdi,%rdi,1),%rdx
add    $0x1,%rdx
imul   %rcx,%rdx
lea    (%rsi,%rdx,8),%rbx
add    $0x8,%rbx
lea    -0x8(,%r10,8),%r13
ff
lea    -0x8(,%rax,8),%r14
ff
mov    $0x1,%r8d
movapd %xmm3,0x60(%rsp)
jmp    1512 <laxf_scheme_2d+0x3f2>
mov    0x20(%rsp),%r8
add    $0x1,%r8
mov    0x18(%rsp),%rax
add    %rax,%r12
add    %rax,%rbp
add    %rax,%rbx
cmp    0x10(%rsp),%r8
je     1690 <laxf_scheme_2d+0x570>
mov    0x8(%rsp),%rdi
mov    0x48(%rsp),%rsi
mov    (%rsp),%rdx
mov    0x110(%rsp),%r15d
mov    %r15d,%ecx
mov    %r8,0x20(%rsp)
call   1040 <fy@plt>
movsd  0xad3(%rip),%xmm2
movapd 0x60(%rsp),%xmm3
cmp    $0x2,%r15d
jl     15fa <laxf_scheme_2d+0x4da>
mov    0x48(%rsp),%rsi
mov    (%rsi),%rax
mov    0x8(%rsi),%rcx
mov    0x30(%rsp),%rdx
mov    (%rdx),%r8
mov    0x8(%rdx),%r9
mov    0x10(%rsi),%rdi
mov    0x10(%rdx),%rdx
xor    %esi,%esi
nop
movsd  (%rax,%rsi,1),%xmm0
addsd  0x8(%rax,%rsi,1),%xmm0
movsd  (%r12,%rsi,1),%xmm1
subsd  -0x8(%r12,%rsi,1),%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%r8,%rsi,1)
movsd  (%rcx,%rsi,1),%xmm0
addsd  0x8(%rcx,%rsi,1),%xmm0
movsd  0x0(%rbp,%rsi,1),%xmm1
subsd  -0x8(%rbp,%rsi,1),%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%r9,%rsi,1)
movsd  (%rdi,%rsi,1),%xmm0
addsd  0x8(%rdi,%rsi,1),%xmm0
movsd  (%rbx,%rsi,1),%xmm1
subsd  -0x8(%rbx,%rsi,1),%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%rdx,%rsi,1)
add    $0x8,%rsi
cmp    %rsi,%r13
jne    1570 <laxf_scheme_2d+0x450>
mov    0x110(%rsp),%eax
cmp    $0x3,%eax
movapd 0x50(%rsp),%xmm1
jl     14f0 <laxf_scheme_2d+0x3d0>
mov    0x30(%rsp),%rdx
mov    (%rdx),%rax
mov    0x8(%rdx),%rcx
mov    0x10(%rdx),%rdx
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x10(%rax,%rsi,1),%xmm0
subsd  0x8(%rax,%rsi,1),%xmm0
mulsd  %xmm1,%xmm0
addsd  (%r12,%rsi,1),%xmm0
movsd  %xmm0,(%r12,%rsi,1)
movsd  0x10(%rcx,%rsi,1),%xmm0
subsd  0x8(%rcx,%rsi,1),%xmm0
mulsd  %xmm1,%xmm0
addsd  0x0(%rbp,%rsi,1),%xmm0
movsd  %xmm0,0x0(%rbp,%rsi,1)
movsd  0x10(%rdx,%rsi,1),%xmm0
subsd  0x8(%rdx,%rsi,1),%xmm0
mulsd  %xmm1,%xmm0
addsd  (%rbx,%rsi,1),%xmm0
movsd  %xmm0,(%rbx,%rsi,1)
add    $0x8,%rsi
cmp    %rsi,%r14
jne    1630 <laxf_scheme_2d+0x510>
jmp    14f0 <laxf_scheme_2d+0x3d0>
add    $0xd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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