#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 */
int /*<<< orphan*/ g2_c_newton(int, double *, double *, int, double *,
                               double *);
int /*<<< orphan*/ g2_split(int, double const *, double *, double *);
double sqrt(double);
void g2_c_para_3(int n, const double *points, int m, double *sxy) {
  int i, j;
  double x1t, y1t;
  double o, step;
  double X[(40 * 2)];
  double Y[(40 * 2)];
  double t[(3 + 1)];
  double Xpts[(3 + 1)];
  double Ypts[(3 + 1)];
  double s[(40 * 2)];
  m = m;
  g2_split((3 + 1), points, Xpts, Ypts);
  t[0] = 0.;
  for (i = 1; i < (3 + 1); i++) {
    x1t = Xpts[i] - Xpts[i - 1];
    y1t = Ypts[i] - Ypts[i - 1];
    t[i] = t[i - 1] + sqrt(x1t * x1t + y1t * y1t);
  }
  step = t[2] / (40 * 2);
  for (i = 0; i < (40 * 2); i++)
    s[i] = i * step;
  g2_c_newton((3 + 1), t, Xpts, (40 * 2), s, X);
  g2_c_newton((3 + 1), t, Ypts, (40 * 2), s, Y);
  for (i = 0; i < (40 * 2); i++) {
    sxy[i + i] = X[i];
    sxy[i + i + 1] = Y[i];
  }
  for (j = 1; j < n - (3 + 1) + 1; j++) {
    g2_split((3 + 1), points + j + j, Xpts, Ypts);
    for (i = 1; i < (3 + 1); i++) {
      x1t = Xpts[i] - Xpts[i - 1];
      y1t = Ypts[i] - Ypts[i - 1];
      t[i] = t[i - 1] + sqrt(x1t * x1t + y1t * y1t);
    }
    o = t[1];
    step = (t[2] - o) / 40;
    for (i = 0; i < 40; i++)
      s[i] = i * step + o;
    g2_c_newton((3 + 1), t, Xpts, 40, s, X);
    g2_c_newton((3 + 1), t, Ypts, 40, s, Y);
    for (i = 0; i < 40; i++) {
      sxy[(j + 1) * (40 * 2) + i + i] = X[i];
      sxy[(j + 1) * (40 * 2) + i + i + 1] = Y[i];
    }
  }
  o = t[2];
  step = (t[3] - o) / 40;
  for (i = 0; i < 40; i++)
    s[i] = i * step + o;
  g2_c_newton((3 + 1), t, Xpts, 40, s, X);
  g2_c_newton((3 + 1), t, Ypts, 40, s, Y);
  for (i = 0; i < 40; i++) {
    sxy[(n - (3 + 1) + 2) * (40 * 2) + i + i] = X[i];
    sxy[(n - (3 + 1) + 2) * (40 * 2) + i + i + 1] = Y[i];
  }
  sxy[(n - 1) * (40 * 2)] = points[n + n - 2];
  sxy[(n - 1) * (40 * 2) + 1] = points[n + n - 1];
}


x86 assembly (clang, -O0):
<g2_c_para_3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x840,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rsi
lea    -0x590(%rbp),%rdx
lea    -0x5b0(%rbp),%rcx
mov    $0x4,%edi
call   1050 <g2_split@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x570(%rbp)
ff
movl   $0x1,-0x24(%rbp)
cmpl   $0x4,-0x24(%rbp)
jge    1231 <g2_c_para_3+0x101>
movslq -0x24(%rbp),%rax
movsd  -0x590(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x590(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x30(%rbp)
movslq -0x24(%rbp),%rax
movsd  -0x5b0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x5b0(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x38(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x570(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x838(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x838(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x570(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    117d <g2_c_para_3+0x4d>
movsd  -0x560(%rbp),%xmm0
ff
movsd  0xdbf(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x50,-0x24(%rbp)
jge    1280 <g2_c_para_3+0x150>
cvtsi2sdl -0x24(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x830(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1251 <g2_c_para_3+0x121>
lea    -0x570(%rbp),%rsi
lea    -0x590(%rbp),%rdx
lea    -0x830(%rbp),%r8
lea    -0x2d0(%rbp),%r9
mov    $0x4,%edi
mov    $0x50,%ecx
call   1030 <g2_c_newton@plt>
lea    -0x570(%rbp),%rsi
lea    -0x5b0(%rbp),%rdx
lea    -0x830(%rbp),%r8
lea    -0x550(%rbp),%r9
mov    $0x4,%edi
mov    $0x50,%ecx
call   1030 <g2_c_newton@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x50,-0x24(%rbp)
jge    1336 <g2_c_para_3+0x206>
movslq -0x24(%rbp),%rax
movsd  -0x2d0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movslq -0x24(%rbp),%rax
movsd  -0x550(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12dd <g2_c_para_3+0x1ad>
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x4,%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    1587 <g2_c_para_3+0x457>
mov    -0x10(%rbp),%rsi
movslq -0x28(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rsi
movslq -0x28(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rsi
lea    -0x590(%rbp),%rdx
lea    -0x5b0(%rbp),%rcx
mov    $0x4,%edi
call   1050 <g2_split@plt>
movl   $0x1,-0x24(%rbp)
cmpl   $0x4,-0x24(%rbp)
jge    143e <g2_c_para_3+0x30e>
movslq -0x24(%rbp),%rax
movsd  -0x590(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x590(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x30(%rbp)
movslq -0x24(%rbp),%rax
movsd  -0x5b0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x5b0(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x38(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x570(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x840(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x840(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x570(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    138a <g2_c_para_3+0x25a>
movsd  -0x568(%rbp),%xmm0
ff
movsd  %xmm0,-0x40(%rbp)
movsd  -0x560(%rbp),%xmm0
ff
subsd  -0x40(%rbp),%xmm0
movsd  0xba8(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x28,-0x24(%rbp)
jge    14ac <g2_c_para_3+0x37c>
cvtsi2sdl -0x24(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x830(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1470 <g2_c_para_3+0x340>
lea    -0x570(%rbp),%rsi
lea    -0x590(%rbp),%rdx
lea    -0x830(%rbp),%r8
lea    -0x2d0(%rbp),%r9
mov    $0x4,%edi
mov    $0x28,%ecx
call   1030 <g2_c_newton@plt>
lea    -0x570(%rbp),%rsi
lea    -0x5b0(%rbp),%rdx
lea    -0x830(%rbp),%r8
lea    -0x550(%rbp),%r9
mov    $0x4,%edi
mov    $0x28,%ecx
call   1030 <g2_c_newton@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x28,-0x24(%rbp)
jge    1574 <g2_c_para_3+0x444>
movslq -0x24(%rbp),%rax
movsd  -0x2d0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
imul   $0x50,%ecx,%ecx
add    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movslq -0x24(%rbp),%rax
movsd  -0x550(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
imul   $0x50,%ecx,%ecx
add    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1509 <g2_c_para_3+0x3d9>
jmp    1579 <g2_c_para_3+0x449>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    133d <g2_c_para_3+0x20d>
movsd  -0x560(%rbp),%xmm0
ff
movsd  %xmm0,-0x40(%rbp)
movsd  -0x558(%rbp),%xmm0
ff
subsd  -0x40(%rbp),%xmm0
movsd  0xa5f(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x28,-0x24(%rbp)
jge    15f5 <g2_c_para_3+0x4c5>
cvtsi2sdl -0x24(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x830(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    15b9 <g2_c_para_3+0x489>
lea    -0x570(%rbp),%rsi
lea    -0x590(%rbp),%rdx
lea    -0x830(%rbp),%r8
lea    -0x2d0(%rbp),%r9
mov    $0x4,%edi
mov    $0x28,%ecx
call   1030 <g2_c_newton@plt>
lea    -0x570(%rbp),%rsi
lea    -0x5b0(%rbp),%rdx
lea    -0x830(%rbp),%r8
lea    -0x550(%rbp),%r9
mov    $0x4,%edi
mov    $0x28,%ecx
call   1030 <g2_c_newton@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x28,-0x24(%rbp)
jge    16c3 <g2_c_para_3+0x593>
movslq -0x24(%rbp),%rax
movsd  -0x2d0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x4,%ecx
add    $0x2,%ecx
imul   $0x50,%ecx,%ecx
add    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movslq -0x24(%rbp),%rax
movsd  -0x550(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x4,%ecx
add    $0x2,%ecx
imul   $0x50,%ecx,%ecx
add    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1652 <g2_c_para_3+0x522>
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
imul   $0x50,%ecx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    -0x4(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
imul   $0x50,%ecx,%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
add    $0x840,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<g2_c_para_3>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x838,%rsp
mov    %rcx,%rbx
mov    %edi,%r15d
lea    0x30(%rsp),%rdx
lea    0x10(%rsp),%rcx
mov    $0x4,%edi
mov    %rsi,0x80(%rsp)
call   1050 <g2_split@plt>
movq   $0x0,0x50(%rsp)
movsd  0x38(%rsp),%xmm0
subsd  0x30(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
subsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm0
jb     11a0 <g2_c_para_3+0x70>
sqrtsd %xmm0,%xmm2
jmp    11ad <g2_c_para_3+0x7d>
call   1040 <sqrt@plt>
xorpd  %xmm3,%xmm3
movapd %xmm0,%xmm2
addsd  %xmm3,%xmm2
movsd  %xmm2,0x58(%rsp)
movsd  0x40(%rsp),%xmm0
subsd  0x38(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
subsd  0x18(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd %xmm3,%xmm0
jb     11e7 <g2_c_para_3+0xb7>
sqrtsd %xmm0,%xmm0
jmp    11f6 <g2_c_para_3+0xc6>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x60(%rsp)
movsd  0x48(%rsp),%xmm0
subsd  0x40(%rsp),%xmm0
movsd  0x28(%rsp),%xmm1
subsd  0x20(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1234 <g2_c_para_3+0x104>
sqrtsd %xmm0,%xmm0
jmp    1243 <g2_c_para_3+0x113>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x68(%rsp)
movsd  0x60(%rsp),%xmm0
divsd  0xda5(%rip),%xmm0
unpcklpd %xmm0,%xmm0
movdqa 0xdb9(%rip),%xmm2
mov    $0x8,%eax
movdqa 0xdbb(%rip),%xmm8
movdqa 0xdc3(%rip),%xmm3
movdqa 0xdcb(%rip),%xmm4
movdqa 0xdd3(%rip),%xmm5
movdqa 0xddb(%rip),%xmm6
cs nopw 0x0(%rax,%rax,1)
nop
cvtdq2pd %xmm2,%xmm7
mulpd  %xmm0,%xmm7
movapd %xmm7,0x70(%rsp,%rax,8)
movdqa %xmm2,%xmm7
paddd  %xmm8,%xmm7
cvtdq2pd %xmm7,%xmm7
mulpd  %xmm0,%xmm7
movdqa %xmm2,%xmm1
paddd  %xmm3,%xmm1
cvtdq2pd %xmm1,%xmm1
movapd %xmm7,0x80(%rsp,%rax,8)
mulpd  %xmm0,%xmm1
movapd %xmm1,0x90(%rsp,%rax,8)
movdqa %xmm2,%xmm1
paddd  %xmm4,%xmm1
cvtdq2pd %xmm1,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm1,0xa0(%rsp,%rax,8)
movdqa %xmm2,%xmm1
paddd  %xmm5,%xmm1
cvtdq2pd %xmm1,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm1,0xb0(%rsp,%rax,8)
paddd  %xmm6,%xmm2
add    $0xa,%rax
cmp    $0x58,%rax
jne    12a0 <g2_c_para_3+0x170>
lea    0x50(%rsp),%rbp
lea    0x30(%rsp),%rdx
lea    0xb0(%rsp),%r14
lea    0x5b0(%rsp),%r9
mov    $0x4,%edi
mov    %rbp,%rsi
mov    $0x50,%ecx
mov    %r14,%r8
call   1030 <g2_c_newton@plt>
lea    0x10(%rsp),%rdx
lea    0x330(%rsp),%r9
mov    $0x4,%edi
mov    %rbp,%rsi
mov    $0x50,%ecx
mov    %r14,%r8
call   1030 <g2_c_newton@plt>
mov    $0x10,%eax
nopl   0x0(%rax,%rax,1)
movaps 0x5a0(%rsp,%rax,1),%xmm0
movaps 0x320(%rsp,%rax,1),%xmm1
movaps %xmm0,%xmm2
movlhps %xmm1,%xmm2
unpckhpd %xmm1,%xmm0
movups %xmm0,-0x10(%rbx,%rax,2)
movups %xmm2,-0x20(%rbx,%rax,2)
movapd 0x5b0(%rsp,%rax,1),%xmm0
movapd 0x330(%rsp,%rax,1),%xmm1
movapd %xmm0,%xmm2
unpcklpd %xmm1,%xmm2
unpckhpd %xmm1,%xmm0
movupd %xmm0,0x10(%rbx,%rax,2)
movupd %xmm2,(%rbx,%rax,2)
add    $0x20,%rax
cmp    $0x290,%rax
jne    1380 <g2_c_para_3+0x250>
mov    %r15,0x78(%rsp)
cmp    $0x5,%r15d
jl     1957 <g2_c_para_3+0x827>
mov    0x78(%rsp),%rax
add    $0xfffffffd,%eax
mov    %rax,0x98(%rsp)
lea    0x8(%rbx),%rax
mov    %rax,0x90(%rsp)
mov    $0x1,%edx
xor    %r12d,%r12d
xorpd  %xmm0,%xmm0
movhpd 0xbf8(%rip),%xmm0
movapd %xmm0,0xa0(%rsp)
xor    %ebp,%ebp
jmp    1449 <g2_c_para_3+0x319>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rdx
add    $0x1,%ebp
add    $0x50,%r12
cmp    0x98(%rsp),%rdx
je     1957 <g2_c_para_3+0x827>
mov    0x80(%rsp),%rax
lea    (%rax,%rdx,8),%rax
mov    %rdx,0x88(%rsp)
lea    (%rax,%rdx,8),%rsi
mov    $0x4,%edi
lea    0x30(%rsp),%rdx
lea    0x10(%rsp),%rcx
call   1050 <g2_split@plt>
movsd  0x38(%rsp),%xmm0
subsd  0x30(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
subsd  0x10(%rsp),%xmm1
movsd  0x50(%rsp),%xmm2
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0xb71(%rip),%xmm0
jb     14b0 <g2_c_para_3+0x380>
sqrtsd %xmm0,%xmm0
jmp    14bf <g2_c_para_3+0x38f>
nop
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x58(%rsp)
movsd  0x40(%rsp),%xmm0
subsd  0x38(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
subsd  0x18(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0xb23(%rip),%xmm0
jb     1500 <g2_c_para_3+0x3d0>
sqrtsd %xmm0,%xmm0
jmp    150f <g2_c_para_3+0x3df>
nopl   (%rax)
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
mov    %ebp,0xc(%rsp)
shl    $0x4,%ebp
addsd  %xmm0,%xmm2
movsd  %xmm2,0x60(%rsp)
movsd  0x48(%rsp),%xmm0
subsd  0x40(%rsp),%xmm0
movsd  0x28(%rsp),%xmm1
subsd  0x20(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0xacc(%rip),%xmm0
jb     1560 <g2_c_para_3+0x430>
sqrtsd %xmm0,%xmm0
jmp    156f <g2_c_para_3+0x43f>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x68(%rsp)
movsd  0x58(%rsp),%xmm1
movsd  0x60(%rsp),%xmm0
subsd  %xmm1,%xmm0
divsd  0xa77(%rip),%xmm0
unpcklpd %xmm0,%xmm0
unpcklpd %xmm1,%xmm1
movapd %xmm0,%xmm2
mulpd  0xa0(%rsp),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xb0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xac1(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xc0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xab8(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xd0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xaaf(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xe0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xaa6(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xf0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa9d(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x100(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa94(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x110(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa8b(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x120(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa82(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x130(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa79(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x140(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa70(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x150(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa67(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x160(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa5e(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x170(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa55(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x180(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa4c(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x190(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa43(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1a0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa3a(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1b0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa31(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1c0(%rsp)
movapd %xmm0,%xmm2
mulpd  0xa28(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1d0(%rsp)
mulpd  0xa23(%rip),%xmm0
addpd  %xmm1,%xmm0
movapd %xmm0,0x1e0(%rsp)
lea    0x0(%rbp,%rbp,4),%r15d
lea    0xa0(%rbp,%rbp,4),%ebp
mov    $0x4,%edi
lea    0x50(%rsp),%r13
mov    %r13,%rsi
lea    0x30(%rsp),%rdx
mov    $0x28,%ecx
lea    0xb0(%rsp),%r14
mov    %r14,%r8
lea    0x5b0(%rsp),%r9
call   1030 <g2_c_newton@plt>
mov    $0x4,%edi
mov    %r13,%rsi
lea    0x10(%rsp),%rdx
mov    $0x28,%ecx
mov    %r14,%r8
lea    0x330(%rsp),%r9
call   1030 <g2_c_newton@plt>
lea    0xee(%r15),%eax
cmp    %ebp,%eax
jl     18d0 <g2_c_para_3+0x7a0>
lea    0xa1(%r15),%eax
add    $0xef,%r15d
cmp    %eax,%r15d
jl     18d0 <g2_c_para_3+0x7a0>
movslq %ebp,%rax
lea    (%rbx,%rax,8),%rcx
lea    0x270(%rcx),%rdx
cmp    %rcx,%rdx
jb     18d0 <g2_c_para_3+0x7a0>
mov    0x90(%rsp),%rcx
lea    (%rcx,%rax,8),%rax
lea    0x270(%rax),%rcx
cmp    %rax,%rcx
jb     18d0 <g2_c_para_3+0x7a0>
xor    %eax,%eax
mov    0x88(%rsp),%rdx
mov    0xc(%rsp),%ebp
xchg   %ax,%ax
movaps 0x5b0(%rsp,%rax,4),%xmm0
movaps 0x330(%rsp,%rax,4),%xmm1
lea    (%r12,%rax,1),%ecx
add    $0xa1,%ecx
movslq %ecx,%rcx
movaps %xmm0,%xmm2
movlhps %xmm1,%xmm2
unpckhpd %xmm1,%xmm0
movups %xmm0,0x8(%rbx,%rcx,8)
movups %xmm2,-0x8(%rbx,%rcx,8)
movapd 0x5c0(%rsp,%rax,4),%xmm0
movapd 0x340(%rsp,%rax,4),%xmm1
lea    0xa5(%r12,%rax,1),%ecx
movslq %ecx,%rcx
movapd %xmm0,%xmm2
unpcklpd %xmm1,%xmm2
unpckhpd %xmm1,%xmm0
movupd %xmm0,0x8(%rbx,%rcx,8)
movupd %xmm2,-0x8(%rbx,%rcx,8)
add    $0x8,%rax
cmp    $0x50,%rax
jne    1850 <g2_c_para_3+0x720>
jmp    1430 <g2_c_para_3+0x300>
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
mov    0x88(%rsp),%rdx
mov    0xc(%rsp),%ebp
xchg   %ax,%ax
movsd  0x5b0(%rsp,%rax,4),%xmm0
lea    (%r12,%rax,1),%ecx
add    $0xa0,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
movsd  0x330(%rsp,%rax,4),%xmm0
lea    0xa1(%r12,%rax,1),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
movsd  0x5b8(%rsp,%rax,4),%xmm0
lea    0xa2(%r12,%rax,1),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
movsd  0x338(%rsp,%rax,4),%xmm0
lea    (%r12,%rax,1),%ecx
add    $0xa3,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
add    $0x4,%rax
cmp    $0x50,%rax
jne    18e0 <g2_c_para_3+0x7b0>
jmp    1430 <g2_c_para_3+0x300>
movsd  0x60(%rsp),%xmm1
movsd  0x68(%rsp),%xmm0
subsd  %xmm1,%xmm0
divsd  0x699(%rip),%xmm0
unpcklpd %xmm0,%xmm0
pxor   %xmm2,%xmm2
movhpd 0x691(%rip),%xmm2
unpcklpd %xmm1,%xmm1
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xb0(%rsp)
movapd 0x6e4(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xc0(%rsp)
movapd 0x6db(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xd0(%rsp)
movapd 0x6d2(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xe0(%rsp)
movapd 0x6c9(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xf0(%rsp)
movapd 0x6c0(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x100(%rsp)
movapd 0x6b7(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x110(%rsp)
movapd 0x6ae(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x120(%rsp)
movapd 0x6a5(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x130(%rsp)
movapd 0x69c(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x140(%rsp)
movapd 0x693(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x150(%rsp)
movapd 0x68a(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x160(%rsp)
movapd 0x681(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x170(%rsp)
movapd 0x678(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x180(%rsp)
movapd 0x66f(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x190(%rsp)
movapd 0x666(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1a0(%rsp)
movapd 0x65d(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1b0(%rsp)
movapd 0x654(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1c0(%rsp)
movapd 0x64b(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1d0(%rsp)
mulpd  0x642(%rip),%xmm0
addpd  %xmm1,%xmm0
movapd %xmm0,0x1e0(%rsp)
lea    0x50(%rsp),%rbp
lea    0x30(%rsp),%rdx
lea    0xb0(%rsp),%r14
lea    0x5b0(%rsp),%r9
mov    $0x4,%edi
mov    %rbp,%rsi
mov    $0x28,%ecx
mov    %r14,%r8
call   1030 <g2_c_newton@plt>
lea    0x10(%rsp),%rdx
lea    0x330(%rsp),%r9
mov    $0x4,%edi
mov    %rbp,%rsi
mov    $0x28,%ecx
mov    %r14,%r8
call   1030 <g2_c_newton@plt>
mov    0x78(%rsp),%rbp
mov    %ebp,%edx
shl    $0x4,%edx
lea    (%rdx,%rdx,4),%eax
lea    (%rdx,%rdx,4),%ecx
add    $0xffffff60,%ecx
lea    (%rdx,%rdx,4),%esi
add    $0xffffffae,%esi
cmp    %ecx,%esi
jl     1ca6 <g2_c_para_3+0xb76>
lea    (%rdx,%rdx,4),%esi
add    $0xffffff61,%esi
lea    (%rdx,%rdx,4),%edx
add    $0xffffffaf,%edx
cmp    %esi,%edx
jl     1ca6 <g2_c_para_3+0xb76>
movslq %ecx,%rdx
lea    (%rbx,%rdx,8),%rsi
lea    (%rbx,%rdx,8),%rdi
add    $0x270,%rdi
cmp    %rsi,%rdi
jb     1ca6 <g2_c_para_3+0xb76>
lea    (%rbx,%rdx,8),%rsi
add    $0x8,%rsi
lea    (%rbx,%rdx,8),%rdx
add    $0x278,%rdx
cmp    %rsi,%rdx
jb     1ca6 <g2_c_para_3+0xb76>
mov    %ecx,%ecx
lea    0x5(%rcx),%rdx
add    $0x1,%rcx
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
movaps 0x5b0(%rsp,%rsi,4),%xmm0
movaps 0x330(%rsp,%rsi,4),%xmm1
lea    (%rcx,%rsi,1),%edi
movslq %edi,%rdi
movaps %xmm0,%xmm2
movlhps %xmm1,%xmm2
unpckhpd %xmm1,%xmm0
movups %xmm0,0x8(%rbx,%rdi,8)
movups %xmm2,-0x8(%rbx,%rdi,8)
movapd 0x5c0(%rsp,%rsi,4),%xmm0
movapd 0x340(%rsp,%rsi,4),%xmm1
lea    (%rdx,%rsi,1),%edi
movslq %edi,%rdi
movapd %xmm0,%xmm2
unpcklpd %xmm1,%xmm2
unpckhpd %xmm1,%xmm0
movupd %xmm0,0x8(%rbx,%rdi,8)
movupd %xmm2,-0x8(%rbx,%rdi,8)
add    $0x8,%rsi
cmp    $0x50,%rsi
jne    1c40 <g2_c_para_3+0xb10>
jmp    1d1b <g2_c_para_3+0xbeb>
lea    -0xa0(%rax),%ecx
add    $0x1,%rcx
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x5b0(%rsp,%rdx,4),%xmm0
lea    (%rcx,%rdx,1),%rsi
lea    -0x1(%rsi),%edi
movslq %edi,%rdi
movsd  %xmm0,(%rbx,%rdi,8)
movsd  0x330(%rsp,%rdx,4),%xmm0
movslq %esi,%rsi
movsd  %xmm0,(%rbx,%rsi,8)
movsd  0x5b8(%rsp,%rdx,4),%xmm0
lea    0x1(%rsi),%edi
movslq %edi,%rdi
movsd  %xmm0,(%rbx,%rdi,8)
movsd  0x338(%rsp,%rdx,4),%xmm0
add    $0x2,%esi
movslq %esi,%rsi
movsd  %xmm0,(%rbx,%rsi,8)
add    $0x4,%rdx
cmp    $0x50,%rdx
jne    1cc0 <g2_c_para_3+0xb90>
add    %ebp,%ebp
movslq %ebp,%rcx
mov    0x80(%rsp),%rsi
movsd  -0x10(%rsi,%rcx,8),%xmm0
lea    -0x50(%rax),%edx
movslq %edx,%rdx
movsd  %xmm0,(%rbx,%rdx,8)
movsd  -0x8(%rsi,%rcx,8),%xmm0
add    $0xffffffb1,%eax
cltq
movsd  %xmm0,(%rbx,%rax,8)
add    $0x838,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @g2_c_para_3(i32 %0, double* %1, i32 %2, double* nocapture writeonly %3) {
%5 = alloca [80 x double]
%6 = alloca [80 x double]
%7 = alloca [4 x double]
%8 = alloca [4 x double]
%9 = alloca [4 x double]
%10 = alloca [80 x double]
%11 = bitcast [80 x double]* %5 to i8*
%12 = bitcast [80 x double]* %6 to i8*
%13 = bitcast [4 x double]* %7 to i8*
%14 = bitcast [4 x double]* %8 to i8*
%15 = bitcast [4 x double]* %9 to i8*
%16 = bitcast [80 x double]* %10 to i8*
%17 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 0
%18 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 0
%19 = call i32 @g2_split(i32 4, double* %1, double* %17, double* %18)
%20 = getelementptr inbounds [4 x double], [4 x double]* %7, i64 0, i64 0
store double 0.000000e+00, double* %20
%21 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 1
%22 = load double, double* %21
%23 = load double, double* %17
%24 = fsub double %22, %23
%25 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 1
%26 = load double, double* %25
%27 = load double, double* %18
%28 = fsub double %26, %27
%29 = fmul double %28, %28
%30 = call double @llvm.fmuladd.f64(double %24, double %24, double %29)
%31 = call double @sqrt(double %30)
%32 = fadd double %31, 0.000000e+00
%33 = getelementptr inbounds [4 x double], [4 x double]* %7, i64 0, i64 1
store double %32, double* %33
%34 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 2
%35 = load double, double* %34
%36 = load double, double* %21
%37 = fsub double %35, %36
%38 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 2
%39 = load double, double* %38
%40 = load double, double* %25
%41 = fsub double %39, %40
%42 = fmul double %41, %41
%43 = call double @llvm.fmuladd.f64(double %37, double %37, double %42)
%44 = call double @sqrt(double %43)
%45 = fadd double %32, %44
%46 = getelementptr inbounds [4 x double], [4 x double]* %7, i64 0, i64 2
store double %45, double* %46
%47 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 3
%48 = load double, double* %47
%49 = load double, double* %34
%50 = fsub double %48, %49
%51 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 3
%52 = load double, double* %51
%53 = load double, double* %38
%54 = fsub double %52, %53
%55 = fmul double %54, %54
%56 = call double @llvm.fmuladd.f64(double %50, double %50, double %55)
%57 = call double @sqrt(double %56)
%58 = fadd double %45, %57
%59 = getelementptr inbounds [4 x double], [4 x double]* %7, i64 0, i64 3
store double %58, double* %59
%60 = load double, double* %46
%61 = fdiv double %60, 8.000000e+01
%62 = insertelement <2 x double> poison, double %61, i64 0
%63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> zeroinitializer
br label %64
64: ; preds = %64, %4
%65 = phi i64 [ 0, %4 ], [ %95, %64 ]
%66 = phi <2 x i32> [ <i32 0, i32 1>, %4 ], [ %96, %64 ]
%67 = sitofp <2 x i32> %66 to <2 x double>
%68 = fmul <2 x double> %63, %67
%69 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 %65
%70 = bitcast double* %69 to <2 x double>*
store <2 x double> %68, <2 x double>* %70
%71 = add nuw nsw i64 %65, 2
%72 = add <2 x i32> %66, <i32 2, i32 2>
%73 = sitofp <2 x i32> %72 to <2 x double>
%74 = fmul <2 x double> %63, %73
%75 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 %71
%76 = bitcast double* %75 to <2 x double>*
store <2 x double> %74, <2 x double>* %76
%77 = add nuw nsw i64 %65, 4
%78 = add <2 x i32> %66, <i32 4, i32 4>
%79 = sitofp <2 x i32> %78 to <2 x double>
%80 = fmul <2 x double> %63, %79
%81 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 %77
%82 = bitcast double* %81 to <2 x double>*
store <2 x double> %80, <2 x double>* %82
%83 = add nuw nsw i64 %65, 6
%84 = add <2 x i32> %66, <i32 6, i32 6>
%85 = sitofp <2 x i32> %84 to <2 x double>
%86 = fmul <2 x double> %63, %85
%87 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 %83
%88 = bitcast double* %87 to <2 x double>*
store <2 x double> %86, <2 x double>* %88
%89 = add nuw nsw i64 %65, 8
%90 = add <2 x i32> %66, <i32 8, i32 8>
%91 = sitofp <2 x i32> %90 to <2 x double>
%92 = fmul <2 x double> %63, %91
%93 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 %89
%94 = bitcast double* %93 to <2 x double>*
store <2 x double> %92, <2 x double>* %94
%95 = add nuw nsw i64 %65, 10
%96 = add <2 x i32> %66, <i32 10, i32 10>
%97 = icmp eq i64 %95, 80
br i1 %97, label %98, label %64
98: ; preds = %64
%99 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 0
%100 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 0
%101 = call i32 @g2_c_newton(i32 4, double* %20, double* %17, i32 80, double* %99, double* %100)
%102 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 0
%103 = call i32 @g2_c_newton(i32 4, double* %20, double* %18, i32 80, double* %99, double* %102)
%104 = getelementptr inbounds double, double* %3, i64 -1
%105 = getelementptr inbounds double, double* %3, i64 -1
br label %106
106: ; preds = %106, %98
%107 = phi i64 [ 0, %98 ], [ %131, %106 ]
%108 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %107
%109 = bitcast double* %108 to <2 x double>*
%110 = load <2 x double>, <2 x double>* %109
%111 = shl nuw nsw i64 %107, 1
%112 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %107
%113 = bitcast double* %112 to <2 x double>*
%114 = load <2 x double>, <2 x double>* %113
%115 = or i64 %111, 1
%116 = getelementptr inbounds double, double* %104, i64 %115
%117 = bitcast double* %116 to <4 x double>*
%118 = shufflevector <2 x double> %110, <2 x double> %114, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %118, <4 x double>* %117
%119 = or i64 %107, 2
%120 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %119
%121 = bitcast double* %120 to <2 x double>*
%122 = load <2 x double>, <2 x double>* %121
%123 = shl nuw nsw i64 %119, 1
%124 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %119
%125 = bitcast double* %124 to <2 x double>*
%126 = load <2 x double>, <2 x double>* %125
%127 = or i64 %123, 1
%128 = getelementptr inbounds double, double* %105, i64 %127
%129 = bitcast double* %128 to <4 x double>*
%130 = shufflevector <2 x double> %122, <2 x double> %126, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %130, <4 x double>* %129
%131 = add nuw nsw i64 %107, 4
%132 = icmp eq i64 %131, 80
br i1 %132, label %133, label %106
133: ; preds = %106
%134 = icmp sgt i32 %0, 4
br i1 %134, label %135, label %333
135: ; preds = %133
%136 = add nsw i32 %0, -3
%137 = zext i32 %136 to i64
%138 = getelementptr double, double* %3, i64 1
%139 = bitcast [80 x double]* %10 to <2 x double>*
%140 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 2
%141 = bitcast double* %140 to <2 x double>*
%142 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 4
%143 = bitcast double* %142 to <2 x double>*
%144 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 6
%145 = bitcast double* %144 to <2 x double>*
%146 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 8
%147 = bitcast double* %146 to <2 x double>*
%148 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 10
%149 = bitcast double* %148 to <2 x double>*
%150 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 12
%151 = bitcast double* %150 to <2 x double>*
%152 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 14
%153 = bitcast double* %152 to <2 x double>*
%154 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 16
%155 = bitcast double* %154 to <2 x double>*
%156 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 18
%157 = bitcast double* %156 to <2 x double>*
%158 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 20
%159 = bitcast double* %158 to <2 x double>*
%160 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 22
%161 = bitcast double* %160 to <2 x double>*
%162 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 24
%163 = bitcast double* %162 to <2 x double>*
%164 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 26
%165 = bitcast double* %164 to <2 x double>*
%166 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 28
%167 = bitcast double* %166 to <2 x double>*
%168 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 30
%169 = bitcast double* %168 to <2 x double>*
%170 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 32
%171 = bitcast double* %170 to <2 x double>*
%172 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 34
%173 = bitcast double* %172 to <2 x double>*
%174 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 36
%175 = bitcast double* %174 to <2 x double>*
%176 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 38
%177 = bitcast double* %176 to <2 x double>*
%178 = getelementptr inbounds double, double* %3, i64 -1
%179 = getelementptr inbounds double, double* %3, i64 -1
br label %180
180: ; preds = %135, %329
%181 = phi i32 [ 0, %135 ], [ %332, %329 ]
%182 = phi i64 [ 1, %135 ], [ %330, %329 ]
%183 = mul i32 %181, 80
%184 = add i32 %183, 160
%185 = sext i32 %184 to i64
%186 = getelementptr double, double* %3, i64 %185
%187 = getelementptr double, double* %138, i64 %185
%188 = getelementptr inbounds double, double* %1, i64 %182
%189 = getelementptr inbounds double, double* %188, i64 %182
%190 = call i32 @g2_split(i32 4, double* %189, double* %17, double* %18)
%191 = load double, double* %21
%192 = load double, double* %17
%193 = fsub double %191, %192
%194 = load double, double* %25
%195 = load double, double* %18
%196 = fsub double %194, %195
%197 = load double, double* %20
%198 = fmul double %196, %196
%199 = call double @llvm.fmuladd.f64(double %193, double %193, double %198)
%200 = call double @sqrt(double %199)
%201 = fadd double %197, %200
store double %201, double* %33
%202 = load double, double* %34
%203 = load double, double* %21
%204 = fsub double %202, %203
%205 = load double, double* %38
%206 = load double, double* %25
%207 = fsub double %205, %206
%208 = fmul double %207, %207
%209 = call double @llvm.fmuladd.f64(double %204, double %204, double %208)
%210 = call double @sqrt(double %209)
%211 = fadd double %201, %210
store double %211, double* %46
%212 = load double, double* %47
%213 = load double, double* %34
%214 = fsub double %212, %213
%215 = load double, double* %51
%216 = load double, double* %38
%217 = fsub double %215, %216
%218 = fmul double %217, %217
%219 = call double @llvm.fmuladd.f64(double %214, double %214, double %218)
%220 = call double @sqrt(double %219)
%221 = fadd double %211, %220
store double %221, double* %59
%222 = load double, double* %33
%223 = load double, double* %46
%224 = fsub double %223, %222
%225 = fdiv double %224, 4.000000e+01
%226 = insertelement <2 x double> poison, double %225, i64 0
%227 = shufflevector <2 x double> %226, <2 x double> poison, <2 x i32> zeroinitializer
%228 = insertelement <2 x double> poison, double %222, i64 0
%229 = shufflevector <2 x double> %228, <2 x double> poison, <2 x i32> zeroinitializer
%230 = add i32 %183, 161
%231 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 0.000000e+00, double 1.000000e+00>, <2 x double> %229)
store <2 x double> %231, <2 x double>* %139
%232 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 2.000000e+00, double 3.000000e+00>, <2 x double> %229)
store <2 x double> %232, <2 x double>* %141
%233 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 4.000000e+00, double 5.000000e+00>, <2 x double> %229)
store <2 x double> %233, <2 x double>* %143
%234 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 6.000000e+00, double 7.000000e+00>, <2 x double> %229)
store <2 x double> %234, <2 x double>* %145
%235 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 8.000000e+00, double 9.000000e+00>, <2 x double> %229)
store <2 x double> %235, <2 x double>* %147
%236 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 1.000000e+01, double 1.100000e+01>, <2 x double> %229)
store <2 x double> %236, <2 x double>* %149
%237 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 1.200000e+01, double 1.300000e+01>, <2 x double> %229)
store <2 x double> %237, <2 x double>* %151
%238 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 1.400000e+01, double 1.500000e+01>, <2 x double> %229)
store <2 x double> %238, <2 x double>* %153
%239 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 1.600000e+01, double 1.700000e+01>, <2 x double> %229)
store <2 x double> %239, <2 x double>* %155
%240 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 1.800000e+01, double 1.900000e+01>, <2 x double> %229)
store <2 x double> %240, <2 x double>* %157
%241 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 2.000000e+01, double 2.100000e+01>, <2 x double> %229)
store <2 x double> %241, <2 x double>* %159
%242 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 2.200000e+01, double 2.300000e+01>, <2 x double> %229)
store <2 x double> %242, <2 x double>* %161
%243 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 2.400000e+01, double 2.500000e+01>, <2 x double> %229)
store <2 x double> %243, <2 x double>* %163
%244 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 2.600000e+01, double 2.700000e+01>, <2 x double> %229)
store <2 x double> %244, <2 x double>* %165
%245 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 2.800000e+01, double 2.900000e+01>, <2 x double> %229)
store <2 x double> %245, <2 x double>* %167
%246 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 3.000000e+01, double 3.100000e+01>, <2 x double> %229)
store <2 x double> %246, <2 x double>* %169
%247 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 3.200000e+01, double 3.300000e+01>, <2 x double> %229)
store <2 x double> %247, <2 x double>* %171
%248 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 3.400000e+01, double 3.500000e+01>, <2 x double> %229)
store <2 x double> %248, <2 x double>* %173
%249 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 3.600000e+01, double 3.700000e+01>, <2 x double> %229)
store <2 x double> %249, <2 x double>* %175
%250 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> <double 3.800000e+01, double 3.900000e+01>, <2 x double> %229)
store <2 x double> %250, <2 x double>* %177
%251 = call i32 @g2_c_newton(i32 4, double* %20, double* %17, i32 40, double* %99, double* %100)
%252 = call i32 @g2_c_newton(i32 4, double* %20, double* %18, i32 40, double* %99, double* %102)
%253 = trunc i64 %182 to i32
%254 = mul i32 %253, 80
%255 = add i32 %254, 80
%256 = add i32 %183, 238
%257 = icmp slt i32 %256, %184
%258 = add i32 %183, 239
%259 = icmp slt i32 %258, %230
%260 = getelementptr double, double* %186, i64 78
%261 = icmp ult double* %260, %186
%262 = getelementptr double, double* %187, i64 78
%263 = icmp ult double* %262, %187
%264 = or i1 %257, %259
%265 = or i1 %264, %261
%266 = or i1 %265, %263
br i1 %266, label %300, label %267
267: ; preds = %180, %267
%268 = phi i64 [ %298, %267 ], [ 0, %180 ]
%269 = trunc i64 %268 to i32
%270 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %268
%271 = bitcast double* %270 to <2 x double>*
%272 = load <2 x double>, <2 x double>* %271
%273 = shl i32 %269, 1
%274 = add i32 %255, %273
%275 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %268
%276 = bitcast double* %275 to <2 x double>*
%277 = load <2 x double>, <2 x double>* %276
%278 = or i32 %274, 1
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds double, double* %178, i64 %279
%281 = bitcast double* %280 to <4 x double>*
%282 = shufflevector <2 x double> %272, <2 x double> %277, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %282, <4 x double>* %281
%283 = or i64 %268, 2
%284 = trunc i64 %283 to i32
%285 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %283
%286 = bitcast double* %285 to <2 x double>*
%287 = load <2 x double>, <2 x double>* %286
%288 = shl i32 %284, 1
%289 = add i32 %255, %288
%290 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %283
%291 = bitcast double* %290 to <2 x double>*
%292 = load <2 x double>, <2 x double>* %291
%293 = or i32 %289, 1
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds double, double* %179, i64 %294
%296 = bitcast double* %295 to <4 x double>*
%297 = shufflevector <2 x double> %287, <2 x double> %292, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %297, <4 x double>* %296
%298 = add nuw nsw i64 %268, 4
%299 = icmp eq i64 %298, 40
br i1 %299, label %329, label %267
300: ; preds = %180, %300
%301 = phi i64 [ %327, %300 ], [ 0, %180 ]
%302 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %301
%303 = load double, double* %302
%304 = trunc i64 %301 to i32
%305 = shl i32 %304, 1
%306 = add i32 %255, %305
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds double, double* %3, i64 %307
store double %303, double* %308
%309 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %301
%310 = load double, double* %309
%311 = or i32 %306, 1
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, double* %3, i64 %312
store double %310, double* %313
%314 = or i64 %301, 1
%315 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %314
%316 = load double, double* %315
%317 = trunc i64 %314 to i32
%318 = shl i32 %317, 1
%319 = add i32 %255, %318
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds double, double* %3, i64 %320
store double %316, double* %321
%322 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %314
%323 = load double, double* %322
%324 = or i32 %319, 1
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds double, double* %3, i64 %325
store double %323, double* %326
%327 = add nuw nsw i64 %301, 2
%328 = icmp eq i64 %327, 40
br i1 %328, label %329, label %300
329: ; preds = %267, %300
%330 = add nuw nsw i64 %182, 1
%331 = icmp eq i64 %330, %137
%332 = add i32 %181, 1
br i1 %331, label %333, label %180
333: ; preds = %329, %133
%334 = load double, double* %46
%335 = load double, double* %59
%336 = fsub double %335, %334
%337 = fdiv double %336, 4.000000e+01
%338 = insertelement <2 x double> poison, double %337, i64 0
%339 = shufflevector <2 x double> %338, <2 x double> poison, <2 x i32> zeroinitializer
%340 = insertelement <2 x double> poison, double %334, i64 0
%341 = shufflevector <2 x double> %340, <2 x double> poison, <2 x i32> zeroinitializer
%342 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 0.000000e+00, double 1.000000e+00>, <2 x double> %341)
%343 = bitcast [80 x double]* %10 to <2 x double>*
store <2 x double> %342, <2 x double>* %343
%344 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 2.000000e+00, double 3.000000e+00>, <2 x double> %341)
%345 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 2
%346 = bitcast double* %345 to <2 x double>*
store <2 x double> %344, <2 x double>* %346
%347 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 4.000000e+00, double 5.000000e+00>, <2 x double> %341)
%348 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 4
%349 = bitcast double* %348 to <2 x double>*
store <2 x double> %347, <2 x double>* %349
%350 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 6.000000e+00, double 7.000000e+00>, <2 x double> %341)
%351 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 6
%352 = bitcast double* %351 to <2 x double>*
store <2 x double> %350, <2 x double>* %352
%353 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 8.000000e+00, double 9.000000e+00>, <2 x double> %341)
%354 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 8
%355 = bitcast double* %354 to <2 x double>*
store <2 x double> %353, <2 x double>* %355
%356 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 1.000000e+01, double 1.100000e+01>, <2 x double> %341)
%357 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 10
%358 = bitcast double* %357 to <2 x double>*
store <2 x double> %356, <2 x double>* %358
%359 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 1.200000e+01, double 1.300000e+01>, <2 x double> %341)
%360 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 12
%361 = bitcast double* %360 to <2 x double>*
store <2 x double> %359, <2 x double>* %361
%362 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 1.400000e+01, double 1.500000e+01>, <2 x double> %341)
%363 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 14
%364 = bitcast double* %363 to <2 x double>*
store <2 x double> %362, <2 x double>* %364
%365 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 1.600000e+01, double 1.700000e+01>, <2 x double> %341)
%366 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 16
%367 = bitcast double* %366 to <2 x double>*
store <2 x double> %365, <2 x double>* %367
%368 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 1.800000e+01, double 1.900000e+01>, <2 x double> %341)
%369 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 18
%370 = bitcast double* %369 to <2 x double>*
store <2 x double> %368, <2 x double>* %370
%371 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 2.000000e+01, double 2.100000e+01>, <2 x double> %341)
%372 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 20
%373 = bitcast double* %372 to <2 x double>*
store <2 x double> %371, <2 x double>* %373
%374 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 2.200000e+01, double 2.300000e+01>, <2 x double> %341)
%375 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 22
%376 = bitcast double* %375 to <2 x double>*
store <2 x double> %374, <2 x double>* %376
%377 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 2.400000e+01, double 2.500000e+01>, <2 x double> %341)
%378 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 24
%379 = bitcast double* %378 to <2 x double>*
store <2 x double> %377, <2 x double>* %379
%380 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 2.600000e+01, double 2.700000e+01>, <2 x double> %341)
%381 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 26
%382 = bitcast double* %381 to <2 x double>*
store <2 x double> %380, <2 x double>* %382
%383 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 2.800000e+01, double 2.900000e+01>, <2 x double> %341)
%384 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 28
%385 = bitcast double* %384 to <2 x double>*
store <2 x double> %383, <2 x double>* %385
%386 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 3.000000e+01, double 3.100000e+01>, <2 x double> %341)
%387 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 30
%388 = bitcast double* %387 to <2 x double>*
store <2 x double> %386, <2 x double>* %388
%389 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 3.200000e+01, double 3.300000e+01>, <2 x double> %341)
%390 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 32
%391 = bitcast double* %390 to <2 x double>*
store <2 x double> %389, <2 x double>* %391
%392 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 3.400000e+01, double 3.500000e+01>, <2 x double> %341)
%393 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 34
%394 = bitcast double* %393 to <2 x double>*
store <2 x double> %392, <2 x double>* %394
%395 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 3.600000e+01, double 3.700000e+01>, <2 x double> %341)
%396 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 36
%397 = bitcast double* %396 to <2 x double>*
store <2 x double> %395, <2 x double>* %397
%398 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %339, <2 x double> <double 3.800000e+01, double 3.900000e+01>, <2 x double> %341)
%399 = getelementptr inbounds [80 x double], [80 x double]* %10, i64 0, i64 38
%400 = bitcast double* %399 to <2 x double>*
store <2 x double> %398, <2 x double>* %400
%401 = call i32 @g2_c_newton(i32 4, double* %20, double* %17, i32 40, double* %99, double* %100)
%402 = call i32 @g2_c_newton(i32 4, double* %20, double* %18, i32 40, double* %99, double* %102)
%403 = mul i32 %0, 80
%404 = add i32 %403, -160
%405 = add i32 %403, -160
%406 = add i32 %403, -82
%407 = icmp slt i32 %406, %405
%408 = add i32 %403, -159
%409 = add i32 %403, -81
%410 = icmp slt i32 %409, %408
%411 = sext i32 %405 to i64
%412 = getelementptr double, double* %3, i64 %411
%413 = getelementptr double, double* %412, i64 78
%414 = icmp ult double* %413, %412
%415 = or i64 %411, 1
%416 = getelementptr double, double* %3, i64 %415
%417 = getelementptr double, double* %416, i64 78
%418 = icmp ult double* %417, %416
%419 = or i1 %407, %410
%420 = or i1 %419, %414
%421 = or i1 %420, %418
br i1 %421, label %458, label %422
422: ; preds = %333
%423 = getelementptr inbounds double, double* %3, i64 -1
%424 = getelementptr inbounds double, double* %3, i64 -1
br label %425
425: ; preds = %425, %422
%426 = phi i64 [ 0, %422 ], [ %456, %425 ]
%427 = trunc i64 %426 to i32
%428 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %426
%429 = bitcast double* %428 to <2 x double>*
%430 = load <2 x double>, <2 x double>* %429
%431 = shl i32 %427, 1
%432 = add i32 %404, %431
%433 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %426
%434 = bitcast double* %433 to <2 x double>*
%435 = load <2 x double>, <2 x double>* %434
%436 = or i32 %432, 1
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds double, double* %423, i64 %437
%439 = bitcast double* %438 to <4 x double>*
%440 = shufflevector <2 x double> %430, <2 x double> %435, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %440, <4 x double>* %439
%441 = or i64 %426, 2
%442 = trunc i64 %441 to i32
%443 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %441
%444 = bitcast double* %443 to <2 x double>*
%445 = load <2 x double>, <2 x double>* %444
%446 = shl i32 %442, 1
%447 = add i32 %404, %446
%448 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %441
%449 = bitcast double* %448 to <2 x double>*
%450 = load <2 x double>, <2 x double>* %449
%451 = or i32 %447, 1
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds double, double* %424, i64 %452
%454 = bitcast double* %453 to <4 x double>*
%455 = shufflevector <2 x double> %445, <2 x double> %450, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %455, <4 x double>* %454
%456 = add nuw nsw i64 %426, 4
%457 = icmp eq i64 %456, 40
br i1 %457, label %487, label %425
458: ; preds = %333, %458
%459 = phi i64 [ %485, %458 ], [ 0, %333 ]
%460 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %459
%461 = load double, double* %460
%462 = trunc i64 %459 to i32
%463 = shl i32 %462, 1
%464 = add i32 %404, %463
%465 = sext i32 %464 to i64
%466 = getelementptr inbounds double, double* %3, i64 %465
store double %461, double* %466
%467 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %459
%468 = load double, double* %467
%469 = or i32 %464, 1
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds double, double* %3, i64 %470
store double %468, double* %471
%472 = or i64 %459, 1
%473 = getelementptr inbounds [80 x double], [80 x double]* %5, i64 0, i64 %472
%474 = load double, double* %473
%475 = trunc i64 %472 to i32
%476 = shl i32 %475, 1
%477 = add i32 %404, %476
%478 = sext i32 %477 to i64
%479 = getelementptr inbounds double, double* %3, i64 %478
store double %474, double* %479
%480 = getelementptr inbounds [80 x double], [80 x double]* %6, i64 0, i64 %472
%481 = load double, double* %480
%482 = or i32 %477, 1
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds double, double* %3, i64 %483
store double %481, double* %484
%485 = add nuw nsw i64 %459, 2
%486 = icmp eq i64 %485, 40
br i1 %486, label %487, label %458
487: ; preds = %425, %458
%488 = shl nsw i32 %0, 1
%489 = add nsw i32 %488, -2
%490 = sext i32 %489 to i64
%491 = getelementptr inbounds double, double* %1, i64 %490
%492 = load double, double* %491
%493 = add i32 %403, -80
%494 = sext i32 %493 to i64
%495 = getelementptr inbounds double, double* %3, i64 %494
store double %492, double* %495
%496 = add nsw i32 %488, -1
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds double, double* %1, i64 %497
%499 = load double, double* %498
%500 = add i32 %403, -79
%501 = sext i32 %500 to i64
%502 = getelementptr inbounds double, double* %3, i64 %501
store double %499, double* %502
ret void
}