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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double amax(double, int /*<<< orphan*/);
int /*<<< orphan*/ fabs(double);
int /*<<< orphan*/ rhs(double, double *, double *, int);
void getjactrans(double *x, double *y, double *yp, double *xp, double eps,
                 double *dermat, int n) {
  int i, j, k;
  double r;
  rhs(0.0, x, y, n);
  for (i = 0; i < n; i++) {
    for (k = 0; k < n; k++)
      xp[k] = x[k];
    r = eps * amax(eps, fabs(x[i]));
    xp[i] = xp[i] + r;
    rhs(0.0, xp, yp, n);
    for (j = 0; j < n; j++) {
      dermat[j + n * i] = (yp[j] - y[j]) / r;
    }
  }
}


x86 assembly (clang, -O0):
<getjactrans>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movsd  %xmm0,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9d,-0x34(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x34(%rbp),%edx
xorps  %xmm0,%xmm0
call   1040 <rhs@plt>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1296 <getjactrans+0x166>
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    11b6 <getjactrans+0x86>
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1182 <getjactrans+0x52>
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1030 <fabs@plt>
movsd  -0x58(%rbp),%xmm0
mov    %eax,%edi
call   1050 <amax@plt>
movaps %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x34(%rbp),%edx
xorps  %xmm0,%xmm0
call   1040 <rhs@plt>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1283 <getjactrans+0x153>
mov    -0x18(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
divsd  -0x48(%rbp),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x3c(%rbp),%ecx
mov    -0x34(%rbp),%edx
imul   -0x38(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1232 <getjactrans+0x102>
jmp    1288 <getjactrans+0x158>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    116f <getjactrans+0x3f>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<getjactrans>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%rsp
mov    %r9d,%r14d
mov    %r8,0x10(%rsp)
movsd  %xmm0,0x48(%rsp)
mov    %rcx,%rbx
mov    %rdx,%r13
mov    %rsi,%r12
mov    %rdi,%rbp
xorpd  %xmm0,%xmm0
mov    %r9d,%edx
call   1040 <rhs@plt>
mov    %r14d,0xc(%rsp)
test   %r14d,%r14d
jle    166e <getjactrans+0x53e>
mov    0xc(%rsp),%esi
lea    0x0(,%rsi,8),%rax
add    %r13,%rax
mov    %rax,0xc0(%rsp)
lea    (%r12,%rsi,8),%rax
mov    %rax,0xb8(%rsp)
lea    (%rbx,%rsi,8),%r8
lea    0x0(,%rsi,8),%rax
add    %rbp,%rax
mov    %esi,%edx
and    $0xfffffffc,%edx
mov    %rdx,0xb0(%rsp)
add    $0xfffffffffffffffc,%rdx
mov    %rdx,0xa8(%rsp)
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %esi,%edi
and    $0xfffffffe,%edi
mov    %rdi,0x80(%rsp)
add    $0xfffffffffffffffe,%rdi
mov    %rdi,0x78(%rsp)
mov    %rdi,%rcx
shr    %rcx
add    $0x1,%rcx
cmp    %rbx,%rax
seta   %dil
cmp    %rbp,%r8
seta   %al
and    %dil,%al
mov    %al,0xb(%rsp)
mov    %edx,%r8d
and    $0x3,%r8d
and    $0xfffffffffffffffc,%rdx
mov    %rdx,0x88(%rsp)
mov    %esi,%r9d
and    $0x3,%r9d
mov    %rcx,%rax
mov    %rcx,0x70(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x68(%rsp)
mov    %rsi,%rax
neg    %rax
mov    %rax,0xc8(%rsp)
mov    %r8,0xa0(%rsp)
shl    $0x5,%r8
lea    0x10(%rbx),%rax
mov    %rax,0x98(%rsp)
lea    0x10(%rbp),%rax
mov    %rax,0x90(%rsp)
mov    0x10(%rsp),%rax
lea    0x10(%rax),%rdx
lea    0x0(,%rsi,8),%rcx
mov    %rcx,0xd0(%rsp)
lea    0x8(%rax),%r15
xor    %r14d,%r14d
mov    %r9,0x20(%rsp)
mov    %r8,0x18(%rsp)
mov    %rsi,0x38(%rsp)
jmp    12ab <getjactrans+0x17b>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r14
mov    0xd0(%rsp),%rax
add    %rax,%rdx
add    %rax,%r15
cmp    %rsi,%r14
je     166e <getjactrans+0x53e>
cmpl   $0x4,0xc(%rsp)
setb   %al
or     0xb(%rsp),%al
mov    %rdx,0x30(%rsp)
je     12d0 <getjactrans+0x1a0>
xor    %eax,%eax
jmp    13af <getjactrans+0x27f>
cs nopw 0x0(%rax,%rax,1)
nop
cmpq   $0xc,0xa8(%rsp)
jae    12e0 <getjactrans+0x1b0>
xor    %eax,%eax
jmp    134d <getjactrans+0x21d>
nop
mov    0x88(%rsp),%rcx
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
movups 0x0(%rbp,%rax,8),%xmm0
movups 0x10(%rbp,%rax,8),%xmm1
movups %xmm0,(%rbx,%rax,8)
movups %xmm1,0x10(%rbx,%rax,8)
movups 0x20(%rbp,%rax,8),%xmm0
movups 0x30(%rbp,%rax,8),%xmm1
movups %xmm0,0x20(%rbx,%rax,8)
movups %xmm1,0x30(%rbx,%rax,8)
movups 0x40(%rbp,%rax,8),%xmm0
movups 0x50(%rbp,%rax,8),%xmm1
movups %xmm0,0x40(%rbx,%rax,8)
movups %xmm1,0x50(%rbx,%rax,8)
movupd 0x60(%rbp,%rax,8),%xmm0
movupd 0x70(%rbp,%rax,8),%xmm1
movupd %xmm0,0x60(%rbx,%rax,8)
movupd %xmm1,0x70(%rbx,%rax,8)
add    $0x10,%rax
add    $0xfffffffffffffffc,%rcx
jne    12f0 <getjactrans+0x1c0>
cmpq   $0x0,0xa0(%rsp)
je     139f <getjactrans+0x26f>
mov    0x98(%rsp),%rcx
lea    (%rcx,%rax,8),%rcx
mov    0x90(%rsp),%rdx
lea    (%rdx,%rax,8),%rax
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd -0x10(%rax,%rdx,1),%xmm0
movupd (%rax,%rdx,1),%xmm1
movupd %xmm0,-0x10(%rcx,%rdx,1)
movupd %xmm1,(%rcx,%rdx,1)
add    $0x20,%rdx
cmp    %rdx,%r8
jne    1380 <getjactrans+0x250>
mov    0xb0(%rsp),%rcx
mov    %rcx,%rax
cmp    %rsi,%rcx
je     1418 <getjactrans+0x2e8>
mov    %rax,%rcx
not    %rcx
add    %rsi,%rcx
test   %r9,%r9
je     13d5 <getjactrans+0x2a5>
mov    %r9,%rdx
movsd  0x0(%rbp,%rax,8),%xmm0
movsd  %xmm0,(%rbx,%rax,8)
add    $0x1,%rax
add    $0xffffffffffffffff,%rdx
jne    13c0 <getjactrans+0x290>
cmp    $0x3,%rcx
jb     1418 <getjactrans+0x2e8>
nopl   0x0(%rax,%rax,1)
movsd  0x0(%rbp,%rax,8),%xmm0
movsd  %xmm0,(%rbx,%rax,8)
movsd  0x8(%rbp,%rax,8),%xmm0
movsd  %xmm0,0x8(%rbx,%rax,8)
movsd  0x10(%rbp,%rax,8),%xmm0
movsd  %xmm0,0x10(%rbx,%rax,8)
movsd  0x18(%rbp,%rax,8),%xmm0
movsd  %xmm0,0x18(%rbx,%rax,8)
add    $0x4,%rax
cmp    %rax,%rsi
jne    13e0 <getjactrans+0x2b0>
mov    %r14,%rax
imul   %rsi,%rax
mov    %rax,0x40(%rsp)
movsd  0x0(%rbp,%r14,8),%xmm0
call   1030 <fabs@plt>
movsd  0x48(%rsp),%xmm0
mov    %eax,%edi
call   1050 <amax@plt>
mulsd  0x48(%rsp),%xmm0
movsd  (%rbx,%r14,8),%xmm1
movapd %xmm0,0x50(%rsp)
addsd  %xmm0,%xmm1
mov    %r14,0x28(%rsp)
movsd  %xmm1,(%rbx,%r14,8)
xorpd  %xmm0,%xmm0
mov    %rbx,%rdi
mov    %r13,%rsi
mov    0xc(%rsp),%r14d
mov    %r14d,%edx
call   1040 <rhs@plt>
cmp    $0x2,%r14d
jae    1530 <getjactrans+0x400>
xor    %ecx,%ecx
mov    0x38(%rsp),%rsi
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x30(%rsp),%rdx
mov    0x28(%rsp),%r14
movapd 0x50(%rsp),%xmm3
mov    0x40(%rsp),%rdi
mov    %rcx,%rax
test   $0x1,%sil
je     14d3 <getjactrans+0x3a3>
movsd  0x0(%r13,%rcx,8),%xmm0
subsd  (%r12,%rcx,8),%xmm0
divsd  %xmm3,%xmm0
add    %rcx,%rdi
mov    0x10(%rsp),%rax
movsd  %xmm0,(%rax,%rdi,8)
mov    %rcx,%rax
or     $0x1,%rax
not    %rcx
cmp    0xc8(%rsp),%rcx
je     1290 <getjactrans+0x160>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  0x0(%r13,%rax,8),%xmm0
subsd  (%r12,%rax,8),%xmm0
divsd  %xmm3,%xmm0
movsd  %xmm0,-0x8(%r15,%rax,8)
movsd  0x8(%r13,%rax,8),%xmm0
subsd  0x8(%r12,%rax,8),%xmm0
divsd  %xmm3,%xmm0
movsd  %xmm0,(%r15,%rax,8)
add    $0x2,%rax
cmp    %rax,%rsi
jne    14f0 <getjactrans+0x3c0>
jmp    1290 <getjactrans+0x160>
xchg   %ax,%ax
mov    0x40(%rsp),%rdi
mov    0x38(%rsp),%rsi
lea    (%rdi,%rsi,1),%rax
mov    0x10(%rsp),%rdx
lea    (%rdx,%rdi,8),%rcx
lea    (%rdx,%rax,8),%rdx
cmp    0xc0(%rsp),%rcx
setb   %r9b
cmp    %r13,%rdx
seta   %r8b
cmp    0xb8(%rsp),%rcx
setb   %al
cmp    %r12,%rdx
seta   %dl
test   %r8b,%r9b
jne    1642 <getjactrans+0x512>
mov    $0x0,%ecx
and    %dl,%al
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x30(%rsp),%rdx
mov    0x28(%rsp),%r14
movapd 0x50(%rsp),%xmm3
jne    14a5 <getjactrans+0x375>
movapd %xmm3,%xmm0
unpcklpd %xmm3,%xmm0
cmpq   $0x0,0x78(%rsp)
je     1663 <getjactrans+0x533>
mov    0x68(%rsp),%rcx
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
movupd 0x0(%r13,%rax,8),%xmm1
movupd (%r12,%rax,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,-0x10(%rdx,%rax,8)
movupd 0x10(%r13,%rax,8),%xmm1
movupd 0x10(%r12,%rax,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%rdx,%rax,8)
add    $0x4,%rax
add    $0xfffffffffffffffe,%rcx
jne    15c0 <getjactrans+0x490>
testb  $0x1,0x70(%rsp)
je     1629 <getjactrans+0x4f9>
movupd 0x0(%r13,%rax,8),%xmm1
movupd (%r12,%rax,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
add    %rdi,%rax
mov    0x10(%rsp),%rcx
movupd %xmm1,(%rcx,%rax,8)
mov    0x80(%rsp),%rax
mov    %rax,%rcx
cmp    %rsi,%rax
je     1290 <getjactrans+0x160>
jmp    14a5 <getjactrans+0x375>
xor    %ecx,%ecx
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x30(%rsp),%rdx
mov    0x28(%rsp),%r14
movapd 0x50(%rsp),%xmm3
jmp    14a5 <getjactrans+0x375>
xor    %eax,%eax
testb  $0x1,0x70(%rsp)
jne    1607 <getjactrans+0x4d7>
jmp    1629 <getjactrans+0x4f9>
add    $0xd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @getjactrans(double* %0, double* %1, double* %2, double* %3, double %4, double* %5, i32 %6) {
%8 = alloca double*
%9 = alloca double*
%10 = alloca double*
%11 = alloca double*
%12 = alloca double
%13 = alloca double*
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca double
store double* %0, double** %8
store double* %1, double** %9
store double* %2, double** %10
store double* %3, double** %11
store double %4, double* %12
store double* %5, double** %13
store i32 %6, i32* %14
%19 = load double*, double** %8
%20 = load double*, double** %9
%21 = load i32, i32* %14
%22 = call i32 @rhs(double 0.000000e+00, double* %19, double* %20, i32 %21)
store i32 0, i32* %15
br label %23
23: ; preds = %101, %7
%24 = load i32, i32* %15
%25 = load i32, i32* %14
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %104
27: ; preds = %23
store i32 0, i32* %17
br label %28
28: ; preds = %42, %27
%29 = load i32, i32* %17
%30 = load i32, i32* %14
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %45
32: ; preds = %28
%33 = load double*, double** %8
%34 = load i32, i32* %17
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, double* %33, i64 %35
%37 = load double, double* %36
%38 = load double*, double** %11
%39 = load i32, i32* %17
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, double* %38, i64 %40
store double %37, double* %41
br label %42
42: ; preds = %32
%43 = load i32, i32* %17
%44 = add nsw i32 %43, 1
store i32 %44, i32* %17
br label %28
45: ; preds = %28
%46 = load double, double* %12
%47 = load double, double* %12
%48 = load double*, double** %8
%49 = load i32, i32* %15
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, double* %48, i64 %50
%52 = load double, double* %51
%53 = call i32 @fabs(double %52)
%54 = call double @amax(double %47, i32 %53)
%55 = fmul double %46, %54
store double %55, double* %18
%56 = load double*, double** %11
%57 = load i32, i32* %15
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, double* %56, i64 %58
%60 = load double, double* %59
%61 = load double, double* %18
%62 = fadd double %60, %61
%63 = load double*, double** %11
%64 = load i32, i32* %15
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, double* %63, i64 %65
store double %62, double* %66
%67 = load double*, double** %11
%68 = load double*, double** %10
%69 = load i32, i32* %14
%70 = call i32 @rhs(double 0.000000e+00, double* %67, double* %68, i32 %69)
store i32 0, i32* %16
br label %71
71: ; preds = %97, %45
%72 = load i32, i32* %16
%73 = load i32, i32* %14
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %100
75: ; preds = %71
%76 = load double*, double** %10
%77 = load i32, i32* %16
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, double* %76, i64 %78
%80 = load double, double* %79
%81 = load double*, double** %9
%82 = load i32, i32* %16
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, double* %81, i64 %83
%85 = load double, double* %84
%86 = fsub double %80, %85
%87 = load double, double* %18
%88 = fdiv double %86, %87
%89 = load double*, double** %13
%90 = load i32, i32* %16
%91 = load i32, i32* %14
%92 = load i32, i32* %15
%93 = mul nsw i32 %91, %92
%94 = add nsw i32 %90, %93
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, double* %89, i64 %95
store double %88, double* %96
br label %97
97: ; preds = %75
%98 = load i32, i32* %16
%99 = add nsw i32 %98, 1
store i32 %99, i32* %16
br label %71
100: ; preds = %71
br label %101
101: ; preds = %100
%102 = load i32, i32* %15
%103 = add nsw i32 %102, 1
store i32 %103, i32* %15
br label %23
104: ; preds = %23
ret void
}

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