#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_5(int n, const double *points, int m, double *sxy) {
  int i, j;
  double x1t, y1t;
  double o, step;
  double X[(40 * 3)];
  double Y[(40 * 3)];
  double t[(5 + 1)];
  double Xpts[(5 + 1)];
  double Ypts[(5 + 1)];
  double s[(40 * 3)];
  m = m;
  g2_split((5 + 1), points, Xpts, Ypts);
  t[0] = 0.;
  for (i = 1; i < (5 + 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[3] / (40 * 3);
  for (i = 0; i < (40 * 3); i++)
    s[i] = i * step;
  g2_c_newton((5 + 1), t, Xpts, (40 * 3), s, X);
  g2_c_newton((5 + 1), t, Ypts, (40 * 3), s, Y);
  for (i = 0; i < (40 * 3); i++) {
    sxy[i + i] = X[i];
    sxy[i + i + 1] = Y[i];
  }
  for (j = 1; j < n - (5 + 1) + 1; j++) {
    g2_split((5 + 1), points + j + j, Xpts, Ypts);
    for (i = 1; i < (5 + 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[2];
    step = (t[3] - o) / 40;
    for (i = 0; i < 40; i++)
      s[i] = i * step + o;
    g2_c_newton((5 + 1), t, Xpts, 40, s, X);
    g2_c_newton((5 + 1), t, Ypts, 40, s, Y);
    for (i = 0; i < 40; i++) {
      sxy[(j + 2) * (40 * 2) + i + i] = X[i];
      sxy[(j + 2) * (40 * 2) + i + i + 1] = Y[i];
    }
  }
  o = t[3];
  step = (t[5] - o) / (40 * 2);
  for (i = 0; i < (40 * 2); i++)
    s[i] = i * step + o;
  g2_c_newton((5 + 1), t, Xpts, (40 * 2), s, X);
  g2_c_newton((5 + 1), t, Ypts, (40 * 2), s, Y);
  for (i = 0; i < (40 * 2); i++) {
    sxy[(n - (5 + 1) + 3) * (40 * 2) + i + i] = X[i];
    sxy[(n - (5 + 1) + 3) * (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_5>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc30,%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    -0x830(%rbp),%rdx
lea    -0x860(%rbp),%rcx
mov    $0x6,%edi
call   1050 <g2_split@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x800(%rbp)
ff
movl   $0x1,-0x24(%rbp)
cmpl   $0x6,-0x24(%rbp)
jge    1231 <g2_c_para_5+0x101>
movslq -0x24(%rbp),%rax
movsd  -0x830(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x830(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x30(%rbp)
movslq -0x24(%rbp),%rax
movsd  -0x860(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x860(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x38(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x800(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0xc28(%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  -0xc28(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x800(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    117d <g2_c_para_5+0x4d>
movsd  -0x7e8(%rbp),%xmm0
ff
movsd  0xdbf(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x78,-0x24(%rbp)
jge    1280 <g2_c_para_5+0x150>
cvtsi2sdl -0x24(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0xc20(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1251 <g2_c_para_5+0x121>
lea    -0x800(%rbp),%rsi
lea    -0x830(%rbp),%rdx
lea    -0xc20(%rbp),%r8
lea    -0x410(%rbp),%r9
mov    $0x6,%edi
mov    $0x78,%ecx
call   1030 <g2_c_newton@plt>
lea    -0x800(%rbp),%rsi
lea    -0x860(%rbp),%rdx
lea    -0xc20(%rbp),%r8
lea    -0x7d0(%rbp),%r9
mov    $0x6,%edi
mov    $0x78,%ecx
call   1030 <g2_c_newton@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x78,-0x24(%rbp)
jge    1336 <g2_c_para_5+0x206>
movslq -0x24(%rbp),%rax
movsd  -0x410(%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  -0x7d0(%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_5+0x1ad>
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x6,%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    1587 <g2_c_para_5+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    -0x830(%rbp),%rdx
lea    -0x860(%rbp),%rcx
mov    $0x6,%edi
call   1050 <g2_split@plt>
movl   $0x1,-0x24(%rbp)
cmpl   $0x6,-0x24(%rbp)
jge    143e <g2_c_para_5+0x30e>
movslq -0x24(%rbp),%rax
movsd  -0x830(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x830(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x30(%rbp)
movslq -0x24(%rbp),%rax
movsd  -0x860(%rbp,%rax,8),%xmm0
ff ff
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0x860(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x38(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x800(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0xc30(%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  -0xc30(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0x800(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    138a <g2_c_para_5+0x25a>
movsd  -0x7f0(%rbp),%xmm0
ff
movsd  %xmm0,-0x40(%rbp)
movsd  -0x7e8(%rbp),%xmm0
ff
subsd  -0x40(%rbp),%xmm0
movsd  0xbb0(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x28,-0x24(%rbp)
jge    14ac <g2_c_para_5+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,-0xc20(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1470 <g2_c_para_5+0x340>
lea    -0x800(%rbp),%rsi
lea    -0x830(%rbp),%rdx
lea    -0xc20(%rbp),%r8
lea    -0x410(%rbp),%r9
mov    $0x6,%edi
mov    $0x28,%ecx
call   1030 <g2_c_newton@plt>
lea    -0x800(%rbp),%rsi
lea    -0x860(%rbp),%rdx
lea    -0xc20(%rbp),%r8
lea    -0x7d0(%rbp),%r9
mov    $0x6,%edi
mov    $0x28,%ecx
call   1030 <g2_c_newton@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x28,-0x24(%rbp)
jge    1574 <g2_c_para_5+0x444>
movslq -0x24(%rbp),%rax
movsd  -0x410(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%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  -0x7d0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%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    1509 <g2_c_para_5+0x3d9>
jmp    1579 <g2_c_para_5+0x449>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    133d <g2_c_para_5+0x20d>
movsd  -0x7e8(%rbp),%xmm0
ff
movsd  %xmm0,-0x40(%rbp)
movsd  -0x7d8(%rbp),%xmm0
ff
subsd  -0x40(%rbp),%xmm0
movsd  0xa5f(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x50,-0x24(%rbp)
jge    15f5 <g2_c_para_5+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,-0xc20(%rbp,%rax,8)
ff ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    15b9 <g2_c_para_5+0x489>
lea    -0x800(%rbp),%rsi
lea    -0x830(%rbp),%rdx
lea    -0xc20(%rbp),%r8
lea    -0x410(%rbp),%r9
mov    $0x6,%edi
mov    $0x50,%ecx
call   1030 <g2_c_newton@plt>
lea    -0x800(%rbp),%rsi
lea    -0x860(%rbp),%rdx
lea    -0xc20(%rbp),%r8
lea    -0x7d0(%rbp),%r9
mov    $0x6,%edi
mov    $0x50,%ecx
call   1030 <g2_c_newton@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x50,-0x24(%rbp)
jge    16c3 <g2_c_para_5+0x593>
movslq -0x24(%rbp),%rax
movsd  -0x410(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x6,%ecx
add    $0x3,%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  -0x7d0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x6,%ecx
add    $0x3,%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_5+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    $0xc30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<g2_c_para_5>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc28,%rsp
mov    %rcx,%rbx
mov    %edi,%r14d
lea    0x40(%rsp),%rdx
lea    0x10(%rsp),%rcx
mov    $0x6,%edi
mov    %rsi,0xb0(%rsp)
call   1050 <g2_split@plt>
movq   $0x0,0x70(%rsp)
movsd  0x48(%rsp),%xmm0
subsd  0x40(%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_5+0x70>
sqrtsd %xmm0,%xmm2
jmp    11ad <g2_c_para_5+0x7d>
call   1040 <sqrt@plt>
xorpd  %xmm3,%xmm3
movapd %xmm0,%xmm2
addsd  %xmm3,%xmm2
movsd  %xmm2,0x78(%rsp)
movsd  0x50(%rsp),%xmm0
subsd  0x48(%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_5+0xb7>
sqrtsd %xmm0,%xmm0
jmp    11f6 <g2_c_para_5+0xc6>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x80(%rsp)
movsd  0x58(%rsp),%xmm0
subsd  0x50(%rsp),%xmm0
movsd  0x28(%rsp),%xmm1
subsd  0x20(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm0
jb     1237 <g2_c_para_5+0x107>
sqrtsd %xmm0,%xmm0
jmp    124a <g2_c_para_5+0x11a>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x88(%rsp)
movsd  0x60(%rsp),%xmm0
subsd  0x58(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
subsd  0x28(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd %xmm3,%xmm0
jb     1287 <g2_c_para_5+0x157>
sqrtsd %xmm0,%xmm0
jmp    1296 <g2_c_para_5+0x166>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x90(%rsp)
movsd  0x68(%rsp),%xmm0
subsd  0x60(%rsp),%xmm0
movsd  0x38(%rsp),%xmm1
subsd  0x30(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     12d7 <g2_c_para_5+0x1a7>
sqrtsd %xmm0,%xmm0
jmp    12e6 <g2_c_para_5+0x1b6>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x98(%rsp)
movsd  0x88(%rsp),%xmm0
divsd  0xcfc(%rip),%xmm0
unpcklpd %xmm0,%xmm0
movdqa 0xd20(%rip),%xmm1
mov    $0x8,%eax
movdqa 0xd63(%rip),%xmm2
nopl   (%rax)
cvtdq2pd %xmm1,%xmm3
mulpd  %xmm0,%xmm3
movapd %xmm3,0xa0(%rsp,%rax,8)
movdqa %xmm1,%xmm3
paddd  0xd03(%rip),%xmm3
cvtdq2pd %xmm3,%xmm3
mulpd  %xmm0,%xmm3
movdqa %xmm1,%xmm4
paddd  0xcff(%rip),%xmm4
cvtdq2pd %xmm4,%xmm4
movapd %xmm3,0xb0(%rsp,%rax,8)
mulpd  %xmm0,%xmm4
movapd %xmm4,0xc0(%rsp,%rax,8)
movdqa %xmm1,%xmm3
paddd  0xce9(%rip),%xmm3
cvtdq2pd %xmm3,%xmm3
mulpd  %xmm0,%xmm3
movapd %xmm3,0xd0(%rsp,%rax,8)
movdqa %xmm1,%xmm3
paddd  0xcdc(%rip),%xmm3
cvtdq2pd %xmm3,%xmm3
mulpd  %xmm0,%xmm3
movapd %xmm3,0xe0(%rsp,%rax,8)
paddd  %xmm2,%xmm1
add    $0xa,%rax
cmp    $0x80,%rax
jne    1320 <g2_c_para_5+0x1f0>
lea    0x70(%rsp),%rbp
lea    0x40(%rsp),%rdx
lea    0xe0(%rsp),%r15
lea    0x860(%rsp),%r9
mov    $0x6,%edi
mov    %rbp,%rsi
mov    $0x78,%ecx
mov    %r15,%r8
call   1030 <g2_c_newton@plt>
lea    0x10(%rsp),%rdx
lea    0x4a0(%rsp),%r9
mov    $0x6,%edi
mov    %rbp,%rsi
mov    $0x78,%ecx
mov    %r15,%r8
call   1030 <g2_c_newton@plt>
mov    $0x20,%eax
nop
movaps 0x840(%rsp,%rax,1),%xmm0
movaps 0x480(%rsp,%rax,1),%xmm1
movaps %xmm0,%xmm2
movlhps %xmm1,%xmm2
unpckhpd %xmm1,%xmm0
movups %xmm0,-0x30(%rbx,%rax,2)
movups %xmm2,-0x40(%rbx,%rax,2)
movaps 0x850(%rsp,%rax,1),%xmm0
movaps 0x490(%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 0x860(%rsp,%rax,1),%xmm0
movapd 0x4a0(%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    $0x30,%rax
cmp    $0x3e0,%rax
jne    1410 <g2_c_para_5+0x2e0>
mov    %r14,0xa8(%rsp)
cmp    $0x7,%r14d
movdqa 0xb9f(%rip),%xmm4
movdqa 0xba7(%rip),%xmm5
movdqa 0xbaf(%rip),%xmm6
movdqa 0xbb7(%rip),%xmm7
jl     1b17 <g2_c_para_5+0x9e7>
mov    0xa8(%rsp),%rax
add    $0xfffffffb,%eax
mov    %rax,0xc8(%rsp)
lea    0x8(%rbx),%rax
mov    %rax,0xc0(%rsp)
mov    $0x1,%edx
xor    %r12d,%r12d
xorpd  %xmm0,%xmm0
movhpd 0xb1e(%rip),%xmm0
movapd %xmm0,0xd0(%rsp)
xor    %ebp,%ebp
jmp    1519 <g2_c_para_5+0x3e9>
nop
add    $0x1,%rdx
add    $0x1,%ebp
add    $0x50,%r12
cmp    0xc8(%rsp),%rdx
je     1b17 <g2_c_para_5+0x9e7>
mov    0xb0(%rsp),%rax
lea    (%rax,%rdx,8),%rax
mov    %rdx,0xb8(%rsp)
lea    (%rax,%rdx,8),%rsi
mov    $0x6,%edi
lea    0x40(%rsp),%rdx
lea    0x10(%rsp),%rcx
call   1050 <g2_split@plt>
movsd  0x48(%rsp),%xmm0
subsd  0x40(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
subsd  0x10(%rsp),%xmm1
movsd  0x70(%rsp),%xmm2
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0xaa9(%rip),%xmm0
jb     1580 <g2_c_para_5+0x450>
sqrtsd %xmm0,%xmm0
jmp    158f <g2_c_para_5+0x45f>
nop
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x78(%rsp)
movsd  0x50(%rsp),%xmm0
subsd  0x48(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
subsd  0x18(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0xa5b(%rip),%xmm0
jb     15d0 <g2_c_para_5+0x4a0>
sqrtsd %xmm0,%xmm0
jmp    15df <g2_c_para_5+0x4af>
nopl   (%rax)
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x80(%rsp)
movsd  0x58(%rsp),%xmm0
subsd  0x50(%rsp),%xmm0
movsd  0x28(%rsp),%xmm1
subsd  0x20(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0xa08(%rip),%xmm0
jb     1620 <g2_c_para_5+0x4f0>
sqrtsd %xmm0,%xmm0
jmp    162f <g2_c_para_5+0x4ff>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x88(%rsp)
movsd  0x60(%rsp),%xmm0
subsd  0x58(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
subsd  0x28(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0x9b8(%rip),%xmm0
jb     1670 <g2_c_para_5+0x540>
sqrtsd %xmm0,%xmm0
jmp    167f <g2_c_para_5+0x54f>
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
mov    %ebp,0xc(%rsp)
shl    $0x4,%ebp
addsd  %xmm0,%xmm2
movsd  %xmm2,0x90(%rsp)
movsd  0x68(%rsp),%xmm0
subsd  0x60(%rsp),%xmm0
movsd  0x38(%rsp),%xmm1
subsd  0x30(%rsp),%xmm1
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0x961(%rip),%xmm0
jb     16d0 <g2_c_para_5+0x5a0>
sqrtsd %xmm0,%xmm0
jmp    16df <g2_c_para_5+0x5af>
nopw   0x0(%rax,%rax,1)
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x98(%rsp)
movsd  0x80(%rsp),%xmm1
movsd  0x88(%rsp),%xmm0
subsd  %xmm1,%xmm0
divsd  0x8fe(%rip),%xmm0
unpcklpd %xmm0,%xmm0
unpcklpd %xmm1,%xmm1
movapd %xmm0,%xmm2
mulpd  0xd0(%rsp),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xe0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x958(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0xf0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x94f(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x100(%rsp)
movapd %xmm0,%xmm2
mulpd  0x946(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x110(%rsp)
movapd %xmm0,%xmm2
mulpd  0x93d(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x120(%rsp)
movapd %xmm0,%xmm2
mulpd  0x934(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x130(%rsp)
movapd %xmm0,%xmm2
mulpd  0x92b(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x140(%rsp)
movapd %xmm0,%xmm2
mulpd  0x922(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x150(%rsp)
movapd %xmm0,%xmm2
mulpd  0x919(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x160(%rsp)
movapd %xmm0,%xmm2
mulpd  0x910(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x170(%rsp)
movapd %xmm0,%xmm2
mulpd  0x907(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x180(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8fe(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x190(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8f5(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1a0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8ec(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1b0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8e3(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1c0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8da(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1d0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8d1(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1e0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8c8(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x1f0(%rsp)
movapd %xmm0,%xmm2
mulpd  0x8bf(%rip),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x200(%rsp)
mulpd  0x8ba(%rip),%xmm0
addpd  %xmm1,%xmm0
movapd %xmm0,0x210(%rsp)
lea    0x0(%rbp,%rbp,4),%r15d
lea    0xf0(%rbp,%rbp,4),%ebp
mov    $0x6,%edi
lea    0x70(%rsp),%r13
mov    %r13,%rsi
lea    0x40(%rsp),%rdx
mov    $0x28,%ecx
lea    0xe0(%rsp),%r14
mov    %r14,%r8
lea    0x860(%rsp),%r9
call   1030 <g2_c_newton@plt>
mov    $0x6,%edi
mov    %r13,%rsi
lea    0x10(%rsp),%rdx
mov    $0x28,%ecx
mov    %r14,%r8
lea    0x4a0(%rsp),%r9
call   1030 <g2_c_newton@plt>
lea    0x13e(%r15),%eax
cmp    %ebp,%eax
jl     1a70 <g2_c_para_5+0x940>
lea    0xf1(%r15),%eax
add    $0x13f,%r15d
cmp    %eax,%r15d
jl     1a70 <g2_c_para_5+0x940>
movslq %ebp,%rax
lea    (%rbx,%rax,8),%rcx
lea    0x270(%rcx),%rdx
cmp    %rcx,%rdx
jb     1a70 <g2_c_para_5+0x940>
mov    0xc0(%rsp),%rcx
lea    (%rcx,%rax,8),%rax
lea    0x270(%rax),%rcx
cmp    %rax,%rcx
jb     1a70 <g2_c_para_5+0x940>
xor    %eax,%eax
movdqa 0x67d(%rip),%xmm4
movdqa 0x685(%rip),%xmm5
movdqa 0x68d(%rip),%xmm6
movdqa 0x695(%rip),%xmm7
mov    0xb8(%rsp),%rdx
mov    0xc(%rsp),%ebp
nopw   0x0(%rax,%rax,1)
movaps 0x860(%rsp,%rax,4),%xmm0
movaps 0x4a0(%rsp,%rax,4),%xmm1
lea    (%r12,%rax,1),%ecx
add    $0xf1,%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 0x870(%rsp,%rax,4),%xmm0
movapd 0x4b0(%rsp,%rax,4),%xmm1
lea    0xf5(%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    19f0 <g2_c_para_5+0x8c0>
jmp    1500 <g2_c_para_5+0x3d0>
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
movdqa 0x5c6(%rip),%xmm4
movdqa 0x5ce(%rip),%xmm5
movdqa 0x5d6(%rip),%xmm6
movdqa 0x5de(%rip),%xmm7
mov    0xb8(%rsp),%rdx
mov    0xc(%rsp),%ebp
xchg   %ax,%ax
movsd  0x860(%rsp,%rax,4),%xmm0
lea    (%r12,%rax,1),%ecx
add    $0xf0,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
movsd  0x4a0(%rsp,%rax,4),%xmm0
lea    0xf1(%r12,%rax,1),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
movsd  0x868(%rsp,%rax,4),%xmm0
lea    0xf2(%r12,%rax,1),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
movsd  0x4a8(%rsp,%rax,4),%xmm0
lea    (%r12,%rax,1),%ecx
add    $0xf3,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rbx,%rcx,8)
add    $0x4,%rax
cmp    $0x50,%rax
jne    1aa0 <g2_c_para_5+0x970>
jmp    1500 <g2_c_para_5+0x3d0>
movsd  0x88(%rsp),%xmm0
movsd  0x98(%rsp),%xmm1
subsd  %xmm0,%xmm1
divsd  0x4e3(%rip),%xmm1
unpcklpd %xmm1,%xmm1
unpcklpd %xmm0,%xmm0
movdqa 0x4eb(%rip),%xmm2
mov    $0x6,%eax
nopw   0x0(%rax,%rax,1)
cvtdq2pd %xmm2,%xmm3
mulpd  %xmm1,%xmm3
addpd  %xmm0,%xmm3
movapd %xmm3,0xb0(%rsp,%rax,8)
movdqa %xmm2,%xmm3
paddd  %xmm4,%xmm3
cvtdq2pd %xmm3,%xmm3
mulpd  %xmm1,%xmm3
addpd  %xmm0,%xmm3
movapd %xmm3,0xc0(%rsp,%rax,8)
movdqa %xmm2,%xmm3
paddd  %xmm5,%xmm3
cvtdq2pd %xmm3,%xmm3
mulpd  %xmm1,%xmm3
addpd  %xmm0,%xmm3
movapd %xmm3,0xd0(%rsp,%rax,8)
movdqa %xmm2,%xmm3
paddd  %xmm6,%xmm3
cvtdq2pd %xmm3,%xmm3
mulpd  %xmm1,%xmm3
addpd  %xmm0,%xmm3
movapd %xmm3,0xe0(%rsp,%rax,8)
paddd  %xmm7,%xmm2
add    $0x8,%rax
cmp    $0x56,%rax
jne    1b50 <g2_c_para_5+0xa20>
lea    0x70(%rsp),%rbp
lea    0x40(%rsp),%rdx
lea    0xe0(%rsp),%r15
lea    0x860(%rsp),%r9
mov    $0x6,%edi
mov    %rbp,%rsi
mov    $0x50,%ecx
mov    %r15,%r8
call   1030 <g2_c_newton@plt>
lea    0x10(%rsp),%rdx
lea    0x4a0(%rsp),%r9
mov    $0x6,%edi
mov    %rbp,%rsi
mov    $0x50,%ecx
mov    %r15,%r8
call   1030 <g2_c_newton@plt>
mov    0xa8(%rsp),%rbp
mov    %ebp,%edx
shl    $0x4,%edx
lea    (%rdx,%rdx,4),%eax
lea    (%rdx,%rdx,4),%ecx
add    $0xffffff10,%ecx
lea    (%rdx,%rdx,4),%esi
add    $0xffffffae,%esi
cmp    %ecx,%esi
jl     1d09 <g2_c_para_5+0xbd9>
lea    (%rdx,%rdx,4),%esi
add    $0xffffff11,%esi
lea    (%rdx,%rdx,4),%edx
add    $0xffffffaf,%edx
cmp    %esi,%edx
jl     1d09 <g2_c_para_5+0xbd9>
movslq %ecx,%rdx
lea    (%rbx,%rdx,8),%rsi
lea    (%rbx,%rdx,8),%rdi
add    $0x4f0,%rdi
cmp    %rsi,%rdi
jb     1d09 <g2_c_para_5+0xbd9>
lea    (%rbx,%rdx,8),%rsi
add    $0x8,%rsi
lea    (%rbx,%rdx,8),%rdx
add    $0x4f8,%rdx
cmp    %rsi,%rdx
jb     1d09 <g2_c_para_5+0xbd9>
mov    %ecx,%ecx
lea    0x5(%rcx),%rdx
add    $0x1,%rcx
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
movaps 0x860(%rsp,%rsi,4),%xmm0
movaps 0x4a0(%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 0x870(%rsp,%rsi,4),%xmm0
movapd 0x4b0(%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    $0xa0,%rsi
jne    1ca0 <g2_c_para_5+0xb70>
jmp    1d7e <g2_c_para_5+0xc4e>
lea    -0xf0(%rax),%ecx
add    $0x1,%rcx
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nop
movsd  0x860(%rsp,%rdx,4),%xmm0
lea    (%rcx,%rdx,1),%rsi
lea    -0x1(%rsi),%edi
movslq %edi,%rdi
movsd  %xmm0,(%rbx,%rdi,8)
movsd  0x4a0(%rsp,%rdx,4),%xmm0
movslq %esi,%rsi
movsd  %xmm0,(%rbx,%rsi,8)
movsd  0x868(%rsp,%rdx,4),%xmm0
lea    0x1(%rsi),%edi
movslq %edi,%rdi
movsd  %xmm0,(%rbx,%rdi,8)
movsd  0x4a8(%rsp,%rdx,4),%xmm0
add    $0x2,%esi
movslq %esi,%rsi
movsd  %xmm0,(%rbx,%rsi,8)
add    $0x4,%rdx
cmp    $0xa0,%rdx
jne    1d20 <g2_c_para_5+0xbf0>
add    %ebp,%ebp
movslq %ebp,%rcx
mov    0xb0(%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    $0xc28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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