#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);
int stub1(void *, int, double *, double *, int);
int stub2(void *, int, double *, double *, int);
int dfdjc1(void *fdata,
           int (*fcn)(void *fdata, int n, double *x, double *fvec, int iflag),
           int n, double x[], double fvec[], double fjac[], int ldfjac, int ml,
           int mu, double epsfcn, double *wa1, double *wa2) {
  int iflag = 0;
  double temp;
  int msum;
  double h;
  int i, j, k;
  double eps;
  int nm1 = n - 1;
  eps = sqrt((((epsfcn) >= (2.22e-15) ? (epsfcn) : (2.22e-15))));
  msum = ml + mu + 1;
  if (msum >= n) {
    for (j = 0; j < n; ++j) {
      temp = x[j];
      h = eps * ((temp) >= 0.0 ? (temp) : -(temp));
      if (h == 0.0)
        h = eps;
      x[j] = temp + h;
      if ((iflag = (*fcn)(fdata, n, &x[0], &wa1[0], 1)) < 0)
        break;
      x[j] = temp;
      for (i = 0; i < n; ++i)
        fjac[i + j * ldfjac] = (wa1[i] - fvec[i]) / h;
    }
  } else {
    for (k = 0; k < msum; ++k) {
      for (j = k; msum < 0 ? j >= nm1 : j <= nm1; j += msum) {
        wa2[j] = x[j];
        h = eps * ((wa2[j]) >= 0.0 ? (wa2[j]) : -(wa2[j]));
        if (h == 0.0)
          h = eps;
        x[j] = wa2[j] + h;
      }
      if ((iflag = (*fcn)(fdata, n, &x[0], &wa1[0], 1)) < 0)
        break;
      for (j = k; msum < 0 ? j >= nm1 : j <= nm1; j += msum) {
        x[j] = wa2[j];
        h = eps * ((wa2[j]) >= 0.0 ? (wa2[j]) : -(wa2[j]));
        if (h == 0.0)
          h = eps;
        for (i = 0; i < n; ++i) {
          fjac[i + j * ldfjac] = 0.0;
          if (i >= j - mu && i <= j + ml)
            fjac[i + j * ldfjac] = (wa1[i] - fvec[i]) / h;
        }
      }
    }
  }
  return iflag;
}


x86 assembly (clang, -O0):
<dfdjc1>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  %xmm0,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x74(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  0xe9b(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     117e <dfdjc1+0x6e>
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
jmp    1190 <dfdjc1+0x80>
movsd  0xe7a(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
jmp    1190 <dfdjc1+0x80>
movsd  -0x80(%rbp),%xmm0
call   1030 <sqrt@plt>
movsd  %xmm0,-0x70(%rbp)
mov    0x18(%rbp),%eax
add    0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jl     1331 <dfdjc1+0x221>
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    132c <dfdjc1+0x21c>
mov    -0x20(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     120d <dfdjc1+0xfd>
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
jmp    1231 <dfdjc1+0x121>
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    126c <dfdjc1+0x15c>
jp     126c <dfdjc1+0x15c>
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x48(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x20(%rbp),%rdx
mov    0x28(%rbp),%rcx
mov    $0x1,%r8d
call   *%rax
mov    %eax,-0x3c(%rbp)
cmp    $0x0,%eax
jge    12af <dfdjc1+0x19f>
jmp    132c <dfdjc1+0x21c>
movsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1319 <dfdjc1+0x209>
mov    0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
divsd  -0x58(%rbp),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x5c(%rbp),%ecx
mov    -0x60(%rbp),%edx
imul   0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    12c8 <dfdjc1+0x1b8>
jmp    131e <dfdjc1+0x20e>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    11be <dfdjc1+0xae>
jmp    167e <dfdjc1+0x56e>
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x4c(%rbp),%eax
jge    1679 <dfdjc1+0x569>
mov    -0x64(%rbp),%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x0,-0x4c(%rbp)
jge    136d <dfdjc1+0x25d>
mov    -0x60(%rbp),%eax
cmp    -0x74(%rbp),%eax
setge  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x94(%rbp)
jmp    1381 <dfdjc1+0x271>
mov    -0x60(%rbp),%eax
cmp    -0x74(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x94(%rbp)
mov    -0x94(%rbp),%eax
cmp    $0x0,%eax
je     147f <dfdjc1+0x36f>
mov    -0x20(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     13eb <dfdjc1+0x2db>
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
jmp    1417 <dfdjc1+0x307>
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1452 <dfdjc1+0x342>
jp     1452 <dfdjc1+0x342>
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x58(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    -0x60(%rbp),%eax
mov    %eax,-0x60(%rbp)
jmp    134a <dfdjc1+0x23a>
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x20(%rbp),%rdx
mov    0x28(%rbp),%rcx
mov    $0x1,%r8d
call   *%rax
mov    %eax,-0x3c(%rbp)
cmp    $0x0,%eax
jge    14ab <dfdjc1+0x39b>
jmp    1679 <dfdjc1+0x569>
mov    -0x64(%rbp),%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x0,-0x4c(%rbp)
jge    14d4 <dfdjc1+0x3c4>
mov    -0x60(%rbp),%eax
cmp    -0x74(%rbp),%eax
setge  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xac(%rbp)
jmp    14e8 <dfdjc1+0x3d8>
mov    -0x60(%rbp),%eax
cmp    -0x74(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xac(%rbp)
mov    -0xac(%rbp),%eax
cmp    $0x0,%eax
je     1666 <dfdjc1+0x556>
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1552 <dfdjc1+0x442>
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
jmp    157e <dfdjc1+0x46e>
mov    0x30(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm1
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    15b9 <dfdjc1+0x4a9>
jp     15b9 <dfdjc1+0x4a9>
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1653 <dfdjc1+0x543>
mov    -0x30(%rbp),%rax
mov    -0x5c(%rbp),%ecx
mov    -0x60(%rbp),%edx
imul   0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x5c(%rbp),%eax
mov    -0x60(%rbp),%ecx
sub    0x20(%rbp),%ecx
cmp    %ecx,%eax
jl     1640 <dfdjc1+0x530>
mov    -0x5c(%rbp),%eax
mov    -0x60(%rbp),%ecx
add    0x18(%rbp),%ecx
cmp    %ecx,%eax
jg     1640 <dfdjc1+0x530>
mov    0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
divsd  -0x58(%rbp),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x5c(%rbp),%ecx
mov    -0x60(%rbp),%edx
imul   0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    1645 <dfdjc1+0x535>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    15c0 <dfdjc1+0x4b0>
jmp    1658 <dfdjc1+0x548>
mov    -0x4c(%rbp),%eax
add    -0x60(%rbp),%eax
mov    %eax,-0x60(%rbp)
jmp    14b1 <dfdjc1+0x3a1>
jmp    166b <dfdjc1+0x55b>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1338 <dfdjc1+0x228>
jmp    167e <dfdjc1+0x56e>
mov    -0x3c(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dfdjc1>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    %r9,0x8(%rsp)
mov    %r8,%rbx
mov    %edx,%r11d
mov    %rsi,0x48(%rsp)
mov    %rdi,0x40(%rsp)
mov    0xf0(%rsp),%r15d
maxsd  0xeba(%rip),%xmm0
mov    0xe8(%rsp),%r14d
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
mov    %rcx,(%rsp)
jb     1165 <dfdjc1+0x55>
mov    %rcx,%r10
sqrtsd %xmm0,%xmm4
jmp    1178 <dfdjc1+0x68>
mov    %r11d,%ebp
call   1030 <sqrt@plt>
mov    %ebp,%r11d
mov    (%rsp),%r10
movapd %xmm0,%xmm4
mov    0xf8(%rsp),%r12
mov    0xe0(%rsp),%eax
lea    (%r15,%r14,1),%ecx
add    $0x1,%ecx
cmp    %r11d,%ecx
movapd %xmm4,0x50(%rsp)
jge    142a <dfdjc1+0x31a>
mov    %r15d,%edx
add    %r14d,%edx
js     175f <dfdjc1+0x64f>
mov    0x100(%rsp),%r8
movslq %ecx,%r13
mov    %r15,%rsi
movslq %r11d,%r15
movslq %r14d,%rdx
mov    %rdx,0x30(%rsp)
movslq %esi,%rdx
mov    %rdx,0x10(%rsp)
cltq
mov    %ecx,%ecx
mov    %rcx,0x38(%rsp)
mov    %r11d,%r14d
lea    0x0(,%rax,8),%rcx
mov    %rcx,0x18(%rsp)
imul   %r13,%rax
shl    $0x3,%rax
mov    %rax,0x60(%rsp)
xor    %edx,%edx
movapd 0xe16(%rip),%xmm5
xorpd  %xmm6,%xmm6
jmp    1262 <dfdjc1+0x152>
mov    0x40(%rsp),%rdi
mov    %r11d,%esi
mov    %r10,%rdx
mov    %r12,%rcx
mov    $0x1,%r8d
mov    %r11d,%ebp
call   *0x48(%rsp)
xorpd  %xmm6,%xmm6
movapd 0xde9(%rip),%xmm5
mov    0x20(%rsp),%rdx
mov    0x100(%rsp),%r8
movapd 0x50(%rsp),%xmm4
mov    %ebp,%r11d
mov    (%rsp),%r10
test   %eax,%eax
js     1761 <dfdjc1+0x651>
add    $0x1,%rdx
mov    0x18(%rsp),%rcx
add    %rcx,0x8(%rsp)
cmp    0x38(%rsp),%rdx
je     1761 <dfdjc1+0x651>
cmp    %r11d,%edx
mov    %rdx,0x20(%rsp)
jge    1200 <dfdjc1+0xf0>
mov    %rdx,%rax
nop
movsd  (%r10,%rax,8),%xmm0
movsd  %xmm0,(%r8,%rax,8)
movapd %xmm0,%xmm1
xorpd  %xmm5,%xmm1
xorpd  %xmm2,%xmm2
cmpnlesd %xmm0,%xmm2
andpd  %xmm2,%xmm1
andnpd %xmm0,%xmm2
orpd   %xmm1,%xmm2
mulsd  %xmm4,%xmm2
movapd %xmm2,%xmm1
cmpeqsd %xmm6,%xmm1
movapd %xmm1,%xmm3
andnpd %xmm2,%xmm3
andpd  %xmm4,%xmm1
orpd   %xmm3,%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r10,%rax,8)
add    %r13,%rax
cmp    %r15,%rax
jl     1270 <dfdjc1+0x160>
mov    0x40(%rsp),%rdi
mov    %r11d,%esi
mov    %r10,%rdx
mov    %r12,%rcx
mov    $0x1,%r8d
mov    %r11d,%ebp
call   *0x48(%rsp)
test   %eax,%eax
js     1761 <dfdjc1+0x651>
mov    0x20(%rsp),%rdx
cmp    %ebp,%edx
mov    %ebp,%r11d
jge    13f0 <dfdjc1+0x2e0>
mov    0x8(%rsp),%rcx
mov    (%rsp),%r10
movapd 0x50(%rsp),%xmm4
mov    0x100(%rsp),%r8
mov    0x30(%rsp),%r9
movapd 0xcf1(%rip),%xmm5
xorpd  %xmm6,%xmm6
jmp    1341 <dfdjc1+0x231>
cs nopw 0x0(%rax,%rax,1)
nop
add    %r13,%rdx
add    0x60(%rsp),%rcx
cmp    %r15,%rdx
jge    1420 <dfdjc1+0x310>
movsd  (%r8,%rdx,8),%xmm0
movsd  %xmm0,(%r10,%rdx,8)
test   %r11d,%r11d
jle    1330 <dfdjc1+0x220>
movsd  (%r8,%rdx,8),%xmm0
movapd %xmm0,%xmm1
xorpd  %xmm5,%xmm1
xorpd  %xmm2,%xmm2
cmpnlesd %xmm0,%xmm2
andpd  %xmm2,%xmm1
andnpd %xmm0,%xmm2
orpd   %xmm1,%xmm2
mulsd  %xmm4,%xmm2
movapd %xmm2,%xmm0
cmpeqsd %xmm6,%xmm0
movapd %xmm0,%xmm1
andnpd %xmm2,%xmm1
andpd  %xmm4,%xmm0
orpd   %xmm1,%xmm0
mov    %rdx,%rsi
sub    0x10(%rsp),%rsi
lea    (%rdx,%r9,1),%rdi
xor    %ebp,%ebp
jmp    13bd <dfdjc1+0x2ad>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rbp
cmp    %rbp,%r14
je     1330 <dfdjc1+0x220>
movq   $0x0,(%rcx,%rbp,8)
cmp    %rsi,%rbp
jl     13b0 <dfdjc1+0x2a0>
cmp    %rdi,%rbp
jg     13b0 <dfdjc1+0x2a0>
movsd  (%r12,%rbp,8),%xmm1
subsd  (%rbx,%rbp,8),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,(%rcx,%rbp,8)
jmp    13b0 <dfdjc1+0x2a0>
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%rsp),%r10
movapd 0x50(%rsp),%xmm4
mov    0x100(%rsp),%r8
movapd 0xc06(%rip),%xmm5
xorpd  %xmm6,%xmm6
jmp    1249 <dfdjc1+0x139>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x20(%rsp),%rdx
jmp    1249 <dfdjc1+0x139>
test   %r11d,%r11d
jle    175f <dfdjc1+0x64f>
movslq %eax,%rdx
mov    %r11d,%ecx
lea    (%r12,%rcx,8),%rax
mov    %rax,0xa0(%rsp)
lea    (%rbx,%rcx,8),%rax
mov    %rax,0x98(%rsp)
mov    %ecx,%eax
and    $0xfffffffe,%eax
mov    %rax,0x90(%rsp)
add    $0xfffffffffffffffe,%rax
mov    %rax,0x88(%rsp)
mov    %rax,%rsi
shr    %rsi
add    $0x1,%rsi
mov    %rsi,%rax
mov    %rsi,0x80(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0x78(%rsp)
mov    %rcx,%rax
neg    %rax
mov    %rax,0x30(%rsp)
mov    0x8(%rsp),%rax
lea    0x10(%rax),%rdi
mov    %rdx,(%rsp)
lea    0x0(,%rdx,8),%rdx
mov    %rdx,0x38(%rsp)
lea    0x8(%rax),%rbp
xor    %r14d,%r14d
mov    %rcx,0x18(%rsp)
jmp    14d8 <dfdjc1+0x3c8>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14
mov    0x38(%rsp),%rdx
add    %rdx,%rdi
add    %rdx,%rbp
cmp    %rcx,%r14
je     1761 <dfdjc1+0x651>
mov    %rdi,0x10(%rsp)
movsd  (%r10,%r14,8),%xmm3
movapd %xmm3,%xmm0
xorpd  0xb21(%rip),%xmm0
xorpd  %xmm1,%xmm1
cmplesd %xmm3,%xmm1
movapd %xmm1,%xmm2
andpd  %xmm3,%xmm2
andnpd %xmm0,%xmm1
orpd   %xmm2,%xmm1
mulsd  %xmm4,%xmm1
movapd %xmm1,%xmm2
cmpeqsd 0xaef(%rip),%xmm2
movapd %xmm2,%xmm0
andnpd %xmm1,%xmm0
andpd  %xmm4,%xmm2
orpd   %xmm0,%xmm2
movapd %xmm3,0x60(%rsp)
movapd %xmm3,%xmm0
movapd %xmm2,0x20(%rsp)
addsd  %xmm2,%xmm0
movsd  %xmm0,(%r10,%r14,8)
mov    0x40(%rsp),%rdi
mov    %r11d,%esi
mov    %r10,%rdx
mov    %r12,%rcx
mov    $0x1,%r8d
mov    %r10,%r15
mov    %r11d,%r13d
call   *0x48(%rsp)
test   %eax,%eax
js     1761 <dfdjc1+0x651>
mov    %r14,%r8
imul   (%rsp),%r8
movapd 0x60(%rsp),%xmm0
movsd  %xmm0,(%r15,%r14,8)
cmp    $0x2,%r13d
mov    %r15,%r10
mov    %r13d,%r11d
jae    15a0 <dfdjc1+0x490>
xor    %esi,%esi
movapd 0x50(%rsp),%xmm4
mov    0x18(%rsp),%rcx
jmp    16c0 <dfdjc1+0x5b0>
nopl   0x0(%rax,%rax,1)
mov    0x8(%rsp),%rdi
lea    (%rdi,%r8,8),%rdx
mov    0x18(%rsp),%rcx
lea    (%r8,%rcx,1),%rsi
lea    (%rdi,%rsi,8),%rsi
cmp    0xa0(%rsp),%rdx
setb   %r15b
cmp    %r12,%rsi
seta   %r9b
cmp    0x98(%rsp),%rdx
setb   %dl
cmp    %rbx,%rsi
seta   %dil
test   %r9b,%r15b
jne    16ad <dfdjc1+0x59d>
mov    $0x0,%esi
and    %dil,%dl
movapd 0x50(%rsp),%xmm4
mov    0x10(%rsp),%rdi
movapd 0x20(%rsp),%xmm3
jne    16cb <dfdjc1+0x5bb>
movapd %xmm3,%xmm0
unpcklpd %xmm3,%xmm0
cmpq   $0x0,0x88(%rsp)
je     174a <dfdjc1+0x63a>
mov    0x78(%rsp),%rsi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movupd (%r12,%rdx,8),%xmm1
movupd (%rbx,%rdx,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,-0x10(%rdi,%rdx,8)
movupd 0x10(%r12,%rdx,8),%xmm1
movupd 0x10(%rbx,%rdx,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%rdi,%rdx,8)
add    $0x4,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1630 <dfdjc1+0x520>
testb  $0x1,0x80(%rsp)
01
je     1697 <dfdjc1+0x587>
movupd (%r12,%rdx,8),%xmm1
movupd (%rbx,%rdx,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
add    %r8,%rdx
mov    0x8(%rsp),%rsi
movupd %xmm1,(%rsi,%rdx,8)
mov    0x90(%rsp),%rdx
mov    %rdx,%rsi
cmp    %rcx,%rdx
je     14c0 <dfdjc1+0x3b0>
jmp    16cb <dfdjc1+0x5bb>
xor    %esi,%esi
movapd 0x50(%rsp),%xmm4
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x10(%rsp),%rdi
movapd 0x20(%rsp),%xmm3
mov    %rsi,%rdx
test   $0x1,%cl
je     16f7 <dfdjc1+0x5e7>
movsd  (%r12,%rsi,8),%xmm0
subsd  (%rbx,%rsi,8),%xmm0
divsd  %xmm3,%xmm0
add    %rsi,%r8
mov    0x8(%rsp),%rdx
movsd  %xmm0,(%rdx,%r8,8)
mov    %rsi,%rdx
or     $0x1,%rdx
not    %rsi
cmp    0x30(%rsp),%rsi
je     14c0 <dfdjc1+0x3b0>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r12,%rdx,8),%xmm0
subsd  (%rbx,%rdx,8),%xmm0
divsd  %xmm3,%xmm0
movsd  %xmm0,-0x8(%rbp,%rdx,8)
movsd  0x8(%r12,%rdx,8),%xmm0
subsd  0x8(%rbx,%rdx,8),%xmm0
divsd  %xmm3,%xmm0
movsd  %xmm0,0x0(%rbp,%rdx,8)
add    $0x2,%rdx
cmp    %rdx,%rcx
jne    1710 <dfdjc1+0x600>
jmp    14c0 <dfdjc1+0x3b0>
xor    %edx,%edx
testb  $0x1,0x80(%rsp)
01
jne    1677 <dfdjc1+0x567>
jmp    1697 <dfdjc1+0x587>
xor    %eax,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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