#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double ddu_dxx(double **, int, int, double);
double ddu_dyy(double **, int, int, double);
double ddv_dxx(double **, int, int, double);
double ddv_dyy(double **, int, int, double);
double duu_dx(double **, int, int, double, double);
double duv_dx(double **, double **, int, int, double, double);
double duv_dy(double **, double **, int, int, double, double);
double dvv_dy(double **, int, int, double, double);
void compute_f_g(double **F, double **G, double **U, double **V, double **P,
                 double re, int nx, int ny, double dx, double dy, double gx,
                 double gy, double dt, double gamma) {
  int i, j;
  for (i = 1; i < nx; i++)
    for (j = 1; j <= ny; j++)
      F[i][j] = U[i][j] +
                dt * (1.0 / re * (ddu_dxx(U, i, j, dx) + ddu_dyy(U, i, j, dy)) -
                      duu_dx(U, i, j, dx, gamma) -
                      duv_dy(U, V, i, j, dy, gamma) + gx);
  for (i = 1; i <= nx; i++)
    for (j = 1; j < ny; j++)
      G[i][j] = V[i][j] +
                dt * (1.0 / re * (ddv_dxx(V, i, j, dx) + ddv_dyy(V, i, j, dy)) -
                      duv_dx(U, V, i, j, dx, gamma) -
                      dvv_dy(V, i, j, dy, gamma) + gy);
  for (j = 1; j <= ny; j++) {
    F[0][j] = U[0][j];
    F[nx][j] = U[nx][j];
  }
  for (i = 1; i <= nx; i++) {
    G[i][0] = V[i][0];
    G[i][ny] = V[i][ny];
  }
}


x86 assembly (clang, -O0):
<compute_f_g>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%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)
movsd  %xmm0,-0x30(%rbp)
mov    %r9d,-0x34(%rbp)
movsd  %xmm1,-0x40(%rbp)
movsd  %xmm2,-0x48(%rbp)
movsd  %xmm3,-0x50(%rbp)
movsd  %xmm4,-0x58(%rbp)
movsd  %xmm5,-0x60(%rbp)
movsd  %xmm6,-0x68(%rbp)
movl   $0x1,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    133b <compute_f_g+0x1bb>
movl   $0x1,-0x70(%rbp)
mov    -0x70(%rbp),%eax
cmp    0x10(%rbp),%eax
jg     1328 <compute_f_g+0x1a8>
mov    -0x18(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x70(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xde5(%rip),%xmm0
divsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x18(%rbp),%rdi
mov    -0x6c(%rbp),%esi
mov    -0x70(%rbp),%edx
movsd  -0x40(%rbp),%xmm0
call   1060 <ddu_dxx@plt>
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x18(%rbp),%rdi
mov    -0x6c(%rbp),%esi
mov    -0x70(%rbp),%edx
movsd  -0x48(%rbp),%xmm0
call   1080 <ddu_dyy@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x18(%rbp),%rdi
mov    -0x6c(%rbp),%esi
mov    -0x70(%rbp),%edx
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
call   10a0 <duu_dx@plt>
movsd  -0x98(%rbp),%xmm2
ff
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x6c(%rbp),%edx
mov    -0x70(%rbp),%ecx
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
call   1040 <duv_dy@plt>
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x80(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x78(%rbp),%xmm0
subsd  %xmm3,%xmm2
addsd  -0x50(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x70(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    11e3 <compute_f_g+0x63>
jmp    132d <compute_f_g+0x1ad>
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    11d0 <compute_f_g+0x50>
movl   $0x1,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jg     14b9 <compute_f_g+0x339>
movl   $0x1,-0x70(%rbp)
mov    -0x70(%rbp),%eax
cmp    0x10(%rbp),%eax
jge    14a6 <compute_f_g+0x326>
mov    -0x20(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x70(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0xc6d(%rip),%xmm0
divsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x20(%rbp),%rdi
mov    -0x6c(%rbp),%esi
mov    -0x70(%rbp),%edx
movsd  -0x40(%rbp),%xmm0
call   1050 <ddv_dxx@plt>
movsd  %xmm0,-0xd0(%rbp)
ff
mov    -0x20(%rbp),%rdi
mov    -0x6c(%rbp),%esi
mov    -0x70(%rbp),%edx
movsd  -0x48(%rbp),%xmm0
call   1070 <ddv_dyy@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x6c(%rbp),%edx
mov    -0x70(%rbp),%ecx
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
call   1090 <duv_dx@plt>
movsd  -0xc8(%rbp),%xmm2
ff
movaps %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x20(%rbp),%rdi
mov    -0x6c(%rbp),%esi
mov    -0x70(%rbp),%edx
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
call   1030 <dvv_dy@plt>
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0xb0(%rbp),%xmm1
ff
movaps %xmm0,%xmm3
movsd  -0xa8(%rbp),%xmm0
ff
subsd  %xmm3,%xmm2
addsd  -0x58(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x70(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    1355 <compute_f_g+0x1d5>
jmp    14ab <compute_f_g+0x32b>
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    1342 <compute_f_g+0x1c2>
movl   $0x1,-0x70(%rbp)
mov    -0x70(%rbp),%eax
cmp    0x10(%rbp),%eax
jg     1524 <compute_f_g+0x3a4>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movslq -0x70(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movslq -0x70(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x70(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x70(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    14c0 <compute_f_g+0x340>
movl   $0x1,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jg     158f <compute_f_g+0x40f>
mov    -0x20(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsd  %xmm0,(%rax)
mov    -0x20(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq 0x10(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq 0x10(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    152b <compute_f_g+0x3ab>
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<compute_f_g>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
movsd  %xmm6,0x20(%rsp)
movsd  %xmm5,0x38(%rsp)
movsd  %xmm4,0x70(%rsp)
movsd  %xmm2,0x18(%rsp)
movsd  %xmm0,0x58(%rsp)
mov    %rcx,%r12
mov    %rdx,%r14
mov    %rsi,0x60(%rsp)
mov    %rdi,%r13
mov    %r9d,%eax
mov    %rax,0x40(%rsp)
mov    %r9,0x28(%rsp)
cmp    $0x2,%r9d
movsd  %xmm1,0x10(%rsp)
jl     1303 <compute_f_g+0x183>
movsd  0xe21(%rip),%xmm0
divsd  0x58(%rsp),%xmm0
movsd  %xmm0,0x48(%rsp)
mov    0xb0(%rsp),%eax
lea    0x1(%rax),%ebx
mov    $0x1,%ebp
movsd  %xmm3,0x50(%rsp)
jmp    121f <compute_f_g+0x9f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rbp
cmp    0x40(%rsp),%rbp
je     1303 <compute_f_g+0x183>
mov    0xb0(%rsp),%eax
test   %eax,%eax
jle    1210 <compute_f_g+0x90>
mov    $0x1,%r15d
mov    (%r14,%rbp,8),%rax
movsd  (%rax,%r15,8),%xmm0
movsd  %xmm0,0x30(%rsp)
mov    %r14,%rdi
mov    %ebp,%esi
mov    %r15d,%edx
movaps %xmm1,%xmm0
call   1060 <ddu_dxx@plt>
movsd  %xmm0,0x8(%rsp)
mov    %r14,%rdi
mov    %ebp,%esi
mov    %r15d,%edx
movsd  0x18(%rsp),%xmm0
call   1080 <ddu_dyy@plt>
addsd  0x8(%rsp),%xmm0
mulsd  0x48(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    %r14,%rdi
mov    %ebp,%esi
mov    %r15d,%edx
movsd  0x10(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
call   10a0 <duu_dx@plt>
movsd  0x8(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
mov    %r14,%rdi
mov    %r12,%rsi
mov    %ebp,%edx
mov    %r15d,%ecx
movsd  0x18(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
call   1040 <duv_dy@plt>
movsd  0x50(%rsp),%xmm3
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm2
subsd  %xmm0,%xmm2
addsd  %xmm3,%xmm2
mulsd  0x38(%rsp),%xmm2
addsd  0x30(%rsp),%xmm2
mov    0x0(%r13,%rbp,8),%rax
movsd  %xmm2,(%rax,%r15,8)
add    $0x1,%r15
cmp    %r15,%rbx
jne    1230 <compute_f_g+0xb0>
jmp    1210 <compute_f_g+0x90>
mov    %r13,0x68(%rsp)
mov    0xb0(%rsp),%eax
mov    %eax,%r13d
cmpl   $0x0,0x28(%rsp)
jle    1438 <compute_f_g+0x2b8>
movsd  0xcdb(%rip),%xmm0
divsd  0x58(%rsp),%xmm0
movsd  %xmm0,0x50(%rsp)
mov    0x28(%rsp),%rax
add    $0x1,%eax
mov    %rax,0x48(%rsp)
mov    $0x1,%ebp
mov    0x60(%rsp),%r15
jmp    135f <compute_f_g+0x1df>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbp
cmp    0x48(%rsp),%rbp
je     1438 <compute_f_g+0x2b8>
mov    0xb0(%rsp),%eax
cmp    $0x2,%eax
jl     1350 <compute_f_g+0x1d0>
mov    $0x1,%ebx
mov    (%r12,%rbp,8),%rax
movsd  (%rax,%rbx,8),%xmm0
movsd  %xmm0,0x30(%rsp)
mov    %r12,%rdi
mov    %ebp,%esi
mov    %ebx,%edx
movaps %xmm1,%xmm0
call   1050 <ddv_dxx@plt>
movsd  %xmm0,0x8(%rsp)
mov    %r12,%rdi
mov    %ebp,%esi
mov    %ebx,%edx
movsd  0x18(%rsp),%xmm0
call   1070 <ddv_dyy@plt>
addsd  0x8(%rsp),%xmm0
mulsd  0x50(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    %r14,%rdi
mov    %r12,%rsi
mov    %ebp,%edx
mov    %ebx,%ecx
movsd  0x10(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
call   1090 <duv_dx@plt>
movsd  0x8(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
mov    %r12,%rdi
mov    %ebp,%esi
mov    %ebx,%edx
movsd  0x18(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
call   1030 <dvv_dy@plt>
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm2
subsd  %xmm0,%xmm2
addsd  0x70(%rsp),%xmm2
mulsd  0x38(%rsp),%xmm2
addsd  0x30(%rsp),%xmm2
mov    (%r15,%rbp,8),%rax
movsd  %xmm2,(%rax,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%r13
jne    1370 <compute_f_g+0x1f0>
jmp    1350 <compute_f_g+0x1d0>
mov    0xb0(%rsp),%eax
test   %eax,%eax
mov    0x28(%rsp),%r11
jle    1663 <compute_f_g+0x4e3>
mov    (%r14),%rax
mov    0x68(%rsp),%rdi
mov    (%rdi),%r15
movslq %r11d,%rsi
mov    (%r14,%rsi,8),%rdx
mov    (%rdi,%rsi,8),%rsi
lea    0x1(%r13),%r9
mov    $0x1,%ebp
mov    0xb0(%rsp),%edi
cmp    $0x4,%edi
jae    14ec <compute_f_g+0x36c>
mov    %rbp,%rdi
not    %rdi
test   $0x1,%r9b
jne    149c <compute_f_g+0x31c>
movsd  (%rax,%rbp,8),%xmm0
movsd  %xmm0,(%r15,%rbp,8)
movsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,(%rsi,%rbp,8)
add    $0x1,%rbp
add    %r9,%rdi
je     1663 <compute_f_g+0x4e3>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%rax,%rbp,8),%xmm0
movsd  %xmm0,(%r15,%rbp,8)
movsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,(%rsi,%rbp,8)
movsd  0x8(%rax,%rbp,8),%xmm0
movsd  %xmm0,0x8(%r15,%rbp,8)
movsd  0x8(%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x8(%rsi,%rbp,8)
add    $0x2,%rbp
cmp    %rbp,%r9
jne    14b0 <compute_f_g+0x330>
jmp    1663 <compute_f_g+0x4e3>
mov    %r13,0x30(%rsp)
lea    0x8(%r15),%rdi
lea    (%r15,%r9,8),%rbx
lea    0x8(%rsi),%r10
lea    (%rsi,%r9,8),%r14
lea    0x8(%rax),%r11
lea    (%rax,%r9,8),%r8
lea    0x8(%rdx),%rcx
lea    (%rdx,%r9,8),%r13
cmp    %r14,%rdi
setb   0x20(%rsp)
cmp    %rbx,%r10
setb   0x18(%rsp)
cmp    %r8,%rdi
setb   0x10(%rsp)
cmp    %rbx,%r11
setb   0x8(%rsp)
cmp    %r13,%rdi
setb   %dil
cmp    %rbx,%rcx
setb   0x38(%rsp)
cmp    %r8,%r10
setb   %r8b
cmp    %r14,%r11
setb   %bl
cmp    %r13,%r10
setb   %r10b
cmp    %r14,%rcx
setb   %r14b
mov    0x18(%rsp),%cl
test   %cl,0x20(%rsp)
jne    1737 <compute_f_g+0x5b7>
mov    0x8(%rsp),%cl
and    %cl,0x10(%rsp)
mov    0x28(%rsp),%r11
jne    1477 <compute_f_g+0x2f7>
and    0x38(%rsp),%dil
jne    1477 <compute_f_g+0x2f7>
and    %bl,%r8b
jne    1477 <compute_f_g+0x2f7>
and    %r14b,%r10b
jne    1477 <compute_f_g+0x2f7>
mov    0x30(%rsp),%r10
mov    %r10d,%ebp
and    $0xfffffffc,%ebp
lea    -0x4(%rbp),%rdi
mov    %rdi,%r8
shr    $0x2,%r8
add    $0x1,%r8
test   %rdi,%rdi
je     1723 <compute_f_g+0x5a3>
mov    %r8,%rdi
and    $0xfffffffffffffffe,%rdi
mov    $0x1,%ebx
nopl   0x0(%rax,%rax,1)
movups (%rax,%rbx,8),%xmm0
movups 0x10(%rax,%rbx,8),%xmm1
movups %xmm0,(%r15,%rbx,8)
movups %xmm1,0x10(%r15,%rbx,8)
movups (%rdx,%rbx,8),%xmm0
movups 0x10(%rdx,%rbx,8),%xmm1
movups %xmm0,(%rsi,%rbx,8)
movups %xmm1,0x10(%rsi,%rbx,8)
movups 0x20(%rax,%rbx,8),%xmm0
movups 0x30(%rax,%rbx,8),%xmm1
movups %xmm0,0x20(%r15,%rbx,8)
movups %xmm1,0x30(%r15,%rbx,8)
movupd 0x20(%rdx,%rbx,8),%xmm0
movups 0x30(%rdx,%rbx,8),%xmm1
movupd %xmm0,0x20(%rsi,%rbx,8)
movups %xmm1,0x30(%rsi,%rbx,8)
add    $0x8,%rbx
add    $0xfffffffffffffffe,%rdi
jne    15d0 <compute_f_g+0x450>
test   $0x1,%r8b
je     165a <compute_f_g+0x4da>
movups (%rax,%rbx,8),%xmm0
movups 0x10(%rax,%rbx,8),%xmm1
movups %xmm0,(%r15,%rbx,8)
movups %xmm1,0x10(%r15,%rbx,8)
movupd (%rdx,%rbx,8),%xmm0
movups 0x10(%rdx,%rbx,8),%xmm1
movupd %xmm0,(%rsi,%rbx,8)
movups %xmm1,0x10(%rsi,%rbx,8)
cmp    %rbp,%r10
jne    171a <compute_f_g+0x59a>
test   %r11d,%r11d
mov    0x60(%rsp),%rbp
jle    170b <compute_f_g+0x58b>
mov    0xb0(%rsp),%eax
cltq
mov    $0x1,%ecx
cmp    $0x1,%r11d
je     16e9 <compute_f_g+0x569>
mov    0x40(%rsp),%rdx
and    $0xfffffffe,%edx
neg    %rdx
mov    $0x1,%ecx
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%r12,%rcx,8),%rsi
movsd  (%rsi),%xmm0
mov    0x0(%rbp,%rcx,8),%rdi
movsd  %xmm0,(%rdi)
movsd  (%rsi,%rax,8),%xmm0
movsd  %xmm0,(%rdi,%rax,8)
mov    0x8(%r12,%rcx,8),%rsi
movsd  (%rsi),%xmm0
mov    0x8(%rbp,%rcx,8),%rdi
movsd  %xmm0,(%rdi)
movsd  (%rsi,%rax,8),%xmm0
movsd  %xmm0,(%rdi,%rax,8)
lea    (%rdx,%rcx,1),%rsi
add    $0x2,%rsi
add    $0x2,%rcx
cmp    $0x1,%rsi
jne    16a0 <compute_f_g+0x520>
testb  $0x1,0x40(%rsp)
je     170b <compute_f_g+0x58b>
mov    (%r12,%rcx,8),%rdx
movsd  (%rdx),%xmm0
mov    0x0(%rbp,%rcx,8),%rcx
movsd  %xmm0,(%rcx)
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,(%rcx,%rax,8)
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
or     $0x1,%rbp
jmp    1477 <compute_f_g+0x2f7>
mov    $0x1,%ebx
test   $0x1,%r8b
jne    1632 <compute_f_g+0x4b2>
jmp    165a <compute_f_g+0x4da>
mov    0x28(%rsp),%r11
jmp    1477 <compute_f_g+0x2f7>

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

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