#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 sqrt(double);
double tanh(double);
void calculateSubgridError_ADR_tau_p(int nElements_global,
                                     int nQuadraturePoints_element, int nSpace,
                                     double *elementDiameter, double *dmt,
                                     double *df, double *a, double *da,
                                     double *grad_phi, double *dphi, double *dr,
                                     double *pe, double *cfl, double *tau) {
  int eN, k, I, J, nSpace2 = nSpace * nSpace;
  double h, Vlin, Alin, A_II, num, den, cfl1, cfl2, vlin[3], alpha, beta;
  for (eN = 0; eN < nElements_global; eN++) {
    h = elementDiameter[eN];
    for (k = 0; k < nQuadraturePoints_element; k++) {
      Vlin = 0.0;
      Alin = 0.0;
      for (I = 0; I < nSpace; I++) {
        vlin[I] = df[eN * nQuadraturePoints_element * nSpace + k * nSpace + I];
        for (J = 0; J < nSpace; J++)
          vlin[I] -= da[eN * nQuadraturePoints_element * nSpace2 + k * nSpace2 +
                        I * nSpace + J] *
                     grad_phi[eN * nQuadraturePoints_element * nSpace +
                              k * nSpace + J];
      }
      for (I = 0; I < nSpace; I++)
        Vlin += vlin[I] * vlin[I];
      Vlin = sqrt(Vlin);
      for (I = 0; I < nSpace; I++) {
        A_II = a[eN * nQuadraturePoints_element * nSpace2 + k * nSpace2 +
                 I * nSpace + I];
        Alin = (A_II > Alin) ? A_II : Alin;
      }
      Alin *= dphi[eN * nQuadraturePoints_element + k];
      cfl1 = Vlin / h;
      cfl2 = Alin / (h * h);
      if (cfl1 > cfl2)
        cfl[eN * nQuadraturePoints_element + k] = cfl1;
      else
        cfl[eN * nQuadraturePoints_element + k] = cfl2;
      num = 0.5 * Vlin * h + 1.0e-8;
      den = Alin + num * 1.0e-8;
      pe[eN * nQuadraturePoints_element + k] = num / den;
      tau[eN * nQuadraturePoints_element + k] =
          0.5 * h *
          (1.0 / tanh(pe[eN * nQuadraturePoints_element + k]) -
           1.0 / pe[eN * nQuadraturePoints_element + k]) /
          (Vlin + 1.0e-8);
    }
  }
}


x86 assembly (clang, -O0):
<calculateSubgridError_ADR_tau_p>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
mov    -0xc(%rbp),%eax
imul   -0xc(%rbp),%eax
mov    %eax,-0x3c(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1544 <calculateSubgridError_ADR_tau_p+0x424>
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1531 <calculateSubgridError_ADR_tau_p+0x411>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12ad <calculateSubgridError_ADR_tau_p+0x18d>
mov    -0x28(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
mov    -0x30(%rbp),%edx
imul   -0xc(%rbp),%edx
add    %edx,%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x34(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    129a <calculateSubgridError_ADR_tau_p+0x17a>
mov    0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
imul   -0x3c(%rbp),%ecx
mov    -0x30(%rbp),%edx
imul   -0x3c(%rbp),%edx
add    %edx,%ecx
mov    -0x34(%rbp),%edx
imul   -0xc(%rbp),%edx
add    %edx,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x20(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
mov    -0x30(%rbp),%edx
imul   -0xc(%rbp),%edx
add    %edx,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movslq -0x34(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm1
ff ff
movq   %xmm0,%rcx
movabs $0x8000000000000000,%rdx
xor    %rdx,%rcx
movq   %rcx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11fc <calculateSubgridError_ADR_tau_p+0xdc>
jmp    129f <calculateSubgridError_ADR_tau_p+0x17f>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11b9 <calculateSubgridError_ADR_tau_p+0x99>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12fa <calculateSubgridError_ADR_tau_p+0x1da>
movslq -0x34(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm0
ff ff
movslq -0x34(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm2
ff ff
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12b4 <calculateSubgridError_ADR_tau_p+0x194>
movsd  -0x50(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x50(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1397 <calculateSubgridError_ADR_tau_p+0x277>
mov    0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
imul   -0x3c(%rbp),%ecx
mov    -0x30(%rbp),%edx
imul   -0x3c(%rbp),%edx
add    %edx,%ecx
mov    -0x34(%rbp),%edx
imul   -0xc(%rbp),%edx
add    %edx,%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
ucomisd -0x58(%rbp),%xmm0
jbe    136f <calculateSubgridError_ADR_tau_p+0x24f>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
jmp    137c <calculateSubgridError_ADR_tau_p+0x25c>
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0x58(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1310 <calculateSubgridError_ADR_tau_p+0x1f0>
mov    0x28(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x50(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x78(%rbp),%xmm0
ucomisd -0x80(%rbp),%xmm0
jbe    140e <calculateSubgridError_ADR_tau_p+0x2ee>
movsd  -0x78(%rbp),%xmm0
mov    0x40(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    1429 <calculateSubgridError_ADR_tau_p+0x309>
movsd  -0x80(%rbp),%xmm0
mov    0x40(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xbdf(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbb9(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x58(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  0xb9e(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x68(%rbp),%xmm0
divsd  -0x70(%rbp),%xmm0
mov    0x38(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xb79(%rip),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    0x38(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1030 <tanh@plt>
movaps %xmm0,%xmm2
movsd  -0xc0(%rbp),%xmm0
ff
movsd  0xb36(%rip),%xmm1
divsd  %xmm2,%xmm1
mov    0x38(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  0xb19(%rip),%xmm2
divsd  (%rax,%rcx,8),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xafc(%rip),%xmm1
addsd  -0x50(%rbp),%xmm1
divsd  %xmm1,%xmm0
mov    0x48(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1196 <calculateSubgridError_ADR_tau_p+0x76>
jmp    1536 <calculateSubgridError_ADR_tau_p+0x416>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1171 <calculateSubgridError_ADR_tau_p+0x51>
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<calculateSubgridError_ADR_tau_p>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %rcx,0x80(%rsp)
mov    %esi,0x14(%rsp)
test   %edi,%edi
jle    1631 <calculateSubgridError_ADR_tau_p+0x511>
mov    %edx,%ebx
mov    0x150(%rsp),%rcx
mov    0x148(%rsp),%rdx
mov    %ebx,%eax
imul   %ebx,%eax
movslq %ebx,%rsi
mov    %edi,%edi
mov    %rdi,0x88(%rsp)
mov    %esi,%r14d
mov    %r14d,%r15d
and    $0xfffffffe,%r15d
mov    %r14d,%edi
and    $0x3,%edi
mov    %rdi,0x58(%rsp)
mov    %r14d,%edi
and    $0xfffffffc,%edi
mov    %rdi,0x90(%rsp)
mov    %eax,0xc(%rsp)
mov    %eax,%edi
mov    0x14(%rsp),%eax
imul   %eax,%edi
mov    %edi,0x4c(%rsp)
mov    %ebx,%edi
imul   %eax,%edi
mov    %edi,0x48(%rsp)
cltq
mov    %rax,0x78(%rsp)
mov    %eax,%eax
mov    %rax,0xa8(%rsp)
lea    -0x1(%r14),%r13
lea    0x8(%rdx),%rax
mov    %rax,0xa0(%rsp)
lea    0x0(,%rsi,8),%r12
lea    0x8(%rcx),%rax
mov    %rax,0x98(%rsp)
lea    0x1(%rsi),%eax
mov    %eax,0x1c(%rsp)
mov    %rsi,0xb8(%rsp)
lea    (%rsi,%rsi,1),%eax
add    $0x2,%eax
mov    %eax,0x20(%rsp)
xor    %eax,%eax
mov    %rax,0x38(%rsp)
movl   $0x0,0x18(%rsp)
xor    %eax,%eax
mov    %rax,0x30(%rsp)
mov    %r9,0xb0(%rsp)
mov    %ebx,0x50(%rsp)
jmp    1259 <calculateSubgridError_ADR_tau_p+0x139>
nopl   0x0(%rax,%rax,1)
mov    0x30(%rsp),%rdx
add    $0x1,%rdx
mov    0x4c(%rsp),%eax
add    %eax,0x18(%rsp)
mov    0x38(%rsp),%rcx
add    0x48(%rsp),%ecx
mov    %rcx,0x38(%rsp)
add    %eax,0x1c(%rsp)
mov    %rdx,%rax
mov    %rdx,0x30(%rsp)
cmp    0x88(%rsp),%rdx
je     1631 <calculateSubgridError_ADR_tau_p+0x511>
cmpl   $0x0,0x14(%rsp)
jle    1220 <calculateSubgridError_ADR_tau_p+0x100>
mov    0x80(%rsp),%rax
mov    0x30(%rsp),%rcx
movsd  (%rax,%rcx,8),%xmm1
imul   0x78(%rsp),%rcx
mov    %rcx,0x40(%rsp)
movapd %xmm1,%xmm0
mulsd  %xmm1,%xmm0
movapd %xmm1,%xmm2
mulsd  0xd6f(%rip),%xmm2
movapd %xmm2,0xd0(%rsp)
movapd %xmm1,0xe0(%rsp)
unpcklpd %xmm0,%xmm1
movapd %xmm1,0xc0(%rsp)
mov    0x1c(%rsp),%eax
mov    %eax,0x24(%rsp)
mov    0x38(%rsp),%rax
mov    %eax,%edx
mov    0x18(%rsp),%ecx
xor    %eax,%eax
mov    %rax,0x28(%rsp)
jmp    13eb <calculateSubgridError_ADR_tau_p+0x2cb>
nop
xorpd  %xmm1,%xmm1
movapd %xmm0,0xf0(%rsp)
mov    0x40(%rsp),%rax
mov    0x28(%rsp),%rbp
lea    (%rax,%rbp,1),%rbx
mov    0x158(%rsp),%rax
mulsd  (%rax,%rbx,8),%xmm1
movapd %xmm0,%xmm3
unpcklpd %xmm1,%xmm3
divpd  0xc0(%rsp),%xmm3
movapd %xmm3,%xmm2
unpckhpd %xmm3,%xmm2
maxsd  %xmm2,%xmm3
mov    0x170(%rsp),%rax
movsd  %xmm3,(%rax,%rbx,8)
mulsd  0xcd6(%rip),%xmm0
mulsd  0xe0(%rsp),%xmm0
movsd  0xccd(%rip),%xmm4
addsd  %xmm4,%xmm0
movapd %xmm0,%xmm2
mulsd  %xmm4,%xmm2
addsd  %xmm1,%xmm2
divsd  %xmm2,%xmm0
mov    0x168(%rsp),%rax
movsd  %xmm0,(%rax,%rbx,8)
call   1030 <tanh@plt>
mov    0xb0(%rsp),%r9
movsd  0xc9f(%rip),%xmm2
movapd %xmm2,%xmm1
divsd  %xmm0,%xmm1
movapd %xmm2,%xmm0
mov    0x168(%rsp),%rax
divsd  (%rax,%rbx,8),%xmm0
subsd  %xmm0,%xmm1
mulsd  0xd0(%rsp),%xmm1
movapd 0xf0(%rsp),%xmm0
addsd  0xc60(%rip),%xmm0
divsd  %xmm0,%xmm1
mov    0x178(%rsp),%rax
movsd  %xmm1,(%rax,%rbx,8)
mov    0x50(%rsp),%ebx
add    $0x1,%rbp
mov    0xc(%rsp),%eax
mov    0x10(%rsp),%ecx
add    %eax,%ecx
mov    0x54(%rsp),%edx
add    %ebx,%edx
add    %eax,0x24(%rsp)
mov    %rbp,%rax
mov    %rbp,0x28(%rsp)
cmp    0xa8(%rsp),%rbp
je     1220 <calculateSubgridError_ADR_tau_p+0x100>
xorpd  %xmm0,%xmm0
test   %ebx,%ebx
mov    %edx,0x54(%rsp)
mov    %ecx,0x10(%rsp)
jle    12d0 <calculateSubgridError_ADR_tau_p+0x1b0>
movslq %ecx,%rax
mov    0xa0(%rsp),%rcx
lea    (%rcx,%rax,8),%rax
movslq %edx,%rcx
mov    0x98(%rsp),%rdx
lea    (%rdx,%rcx,8),%rcx
mov    0x40(%rsp),%rdx
mov    0x28(%rsp),%rsi
add    %edx,%esi
mov    %esi,%edx
mov    %ebx,%r8d
imul   %ebx,%edx
imul   0xc(%rsp),%esi
movslq %edx,%rdx
movslq %esi,%rsi
xor    %ebp,%ebp
mov    0x150(%rsp),%r10
mov    0x148(%rsp),%r11
jmp    1462 <calculateSubgridError_ADR_tau_p+0x342>
movsd  %xmm3,0x60(%rsp,%rbp,8)
add    $0x1,%rbp
add    %r12,%rax
cmp    %r14,%rbp
je     14e0 <calculateSubgridError_ADR_tau_p+0x3c0>
lea    (%rdx,%rbp,1),%rbx
movsd  (%r9,%rbx,8),%xmm3
xor    %ebx,%ebx
test   %r13,%r13
je     14a7 <calculateSubgridError_ADR_tau_p+0x387>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  -0x8(%rax,%rbx,8),%xmm1
movsd  (%rax,%rbx,8),%xmm2
mulsd  -0x8(%rcx,%rbx,8),%xmm1
mulsd  (%rcx,%rbx,8),%xmm2
subsd  %xmm1,%xmm3
subsd  %xmm2,%xmm3
add    $0x2,%rbx
cmp    %rbx,%r15
jne    1480 <calculateSubgridError_ADR_tau_p+0x360>
test   $0x1,%r14b
je     1450 <calculateSubgridError_ADR_tau_p+0x330>
mov    %rbp,%rdi
imul   0xb8(%rsp),%rdi
add    %rsi,%rdi
add    %rbx,%rdi
movsd  (%r11,%rdi,8),%xmm1
add    %rdx,%rbx
mulsd  (%r10,%rbx,8),%xmm1
subsd  %xmm1,%xmm3
jmp    1450 <calculateSubgridError_ADR_tau_p+0x330>
nopw   0x0(%rax,%rax,1)
xorpd  %xmm1,%xmm1
test   %r8d,%r8d
jle    12d4 <calculateSubgridError_ADR_tau_p+0x1b4>
mov    %r8d,%ebx
xorpd  %xmm0,%xmm0
xor    %eax,%eax
cmp    $0x3,%r13
jae    1503 <calculateSubgridError_ADR_tau_p+0x3e3>
mov    0x58(%rsp),%rdx
jmp    1551 <calculateSubgridError_ADR_tau_p+0x431>
mov    0x58(%rsp),%rdx
mov    0x90(%rsp),%rcx
movsd  0x60(%rsp,%rax,8),%xmm1
movsd  0x68(%rsp,%rax,8),%xmm2
mulsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm2
addsd  %xmm1,%xmm2
movsd  0x70(%rsp,%rax,8),%xmm1
mulsd  %xmm1,%xmm1
addsd  %xmm2,%xmm1
movsd  0x78(%rsp,%rax,8),%xmm0
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
add    $0x4,%rax
cmp    %rax,%rcx
jne    1510 <calculateSubgridError_ADR_tau_p+0x3f0>
test   %rdx,%rdx
je     1576 <calculateSubgridError_ADR_tau_p+0x456>
lea    (%rsp,%rax,8),%rax
add    $0x60,%rax
xor    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm1,%xmm1
addsd  %xmm1,%xmm0
add    $0x1,%rcx
cmp    %rcx,%rdx
jne    1560 <calculateSubgridError_ADR_tau_p+0x440>
ucomisd 0xa9a(%rip),%xmm0
jb     1586 <calculateSubgridError_ADR_tau_p+0x466>
sqrtsd %xmm0,%xmm0
jmp    158b <calculateSubgridError_ADR_tau_p+0x46b>
call   1040 <sqrt@plt>
mov    0x20(%rsp),%edi
mov    0x10(%rsp),%eax
xorpd  %xmm1,%xmm1
test   %ebx,%ebx
jle    12d4 <calculateSubgridError_ADR_tau_p+0x1b4>
test   %r13,%r13
je     15f1 <calculateSubgridError_ADR_tau_p+0x4d1>
mov    %eax,%ecx
mov    0x24(%rsp),%eax
mov    %eax,%edx
xor    %eax,%eax
mov    0x140(%rsp),%rsi
cs nopw 0x0(%rax,%rax,1)
movslq %ecx,%rcx
movsd  (%rsi,%rcx,8),%xmm2
maxsd  %xmm1,%xmm2
movslq %edx,%rdx
movsd  (%rsi,%rdx,8),%xmm1
maxsd  %xmm2,%xmm1
add    $0x2,%rax
add    %edi,%edx
add    %edi,%ecx
cmp    %rax,%r15
jne    15c0 <calculateSubgridError_ADR_tau_p+0x4a0>
test   $0x1,%r14b
je     12d4 <calculateSubgridError_ADR_tau_p+0x1b4>
jmp    1605 <calculateSubgridError_ADR_tau_p+0x4e5>
xor    %eax,%eax
mov    0x140(%rsp),%rsi
test   $0x1,%r14b
je     12d4 <calculateSubgridError_ADR_tau_p+0x1b4>
mov    0x40(%rsp),%rcx
mov    0x28(%rsp),%rdx
add    %edx,%ecx
imul   0xc(%rsp),%ecx
add    %eax,%ecx
imul   %ebx,%eax
add    %ecx,%eax
cltq
movsd  (%rsi,%rax,8),%xmm2
maxsd  %xmm1,%xmm2
movapd %xmm2,%xmm1
jmp    12d4 <calculateSubgridError_ADR_tau_p+0x1b4>
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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