#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*/ _nonreg_x_construct(double *, double *, int *);
int /*<<< orphan*/ tridiff(double *, double *, double *, int *, int *, int,
                           double);
void _gen_nonreg_x(double val[], double f[], double x0[4], double x1[4],
                   double x2[4]) {
  double dx0gap, dx1gap, dx2gap;
  double dfdx0[32];
  double dfdx1[16];
  double dfdx2[8];
  double dfdx01[16];
  double dfdx12[8];
  double dfdx02[8];
  double dfdx012[8];
  dx0gap = x0[2] - x0[1];
  dx1gap = x1[2] - x1[1];
  dx2gap = x2[2] - x2[1];
  int in[3] = {4, 4, 4};
  _nonreg_x_construct(&val[0], &f[21], in);
  int out[3] = {2, 4, 4};
  tridiff(dfdx0, f, x0, out, in, 0, dx0gap);
  _nonreg_x_construct(&val[8], &dfdx0[10], out);
  out[1] = 2;
  tridiff(dfdx1, f, x1, out, in, 1, dx1gap);
  _nonreg_x_construct(&val[16], &dfdx1[4], out);
  in[0] = 2;
  tridiff(dfdx01, dfdx0, x1, out, in, 1, dx1gap);
  _nonreg_x_construct(&val[32], &dfdx01[4], out);
  out[2] = 2;
  in[0] = 4;
  tridiff(dfdx2, f, x2, out, in, 2, dx2gap);
  _nonreg_x_construct(&val[24], &dfdx2[0], out);
  in[0] = 2;
  tridiff(dfdx02, dfdx0, x2, out, in, 2, dx2gap);
  _nonreg_x_construct(&val[40], &dfdx02[0], out);
  in[1] = 2;
  tridiff(dfdx12, dfdx1, x2, out, in, 2, dx2gap);
  _nonreg_x_construct(&val[48], &dfdx12[0], out);
  tridiff(dfdx012, dfdx01, x2, out, in, 2, dx2gap);
  _nonreg_x_construct(&val[56], &dfdx012[0], out);
}


x86 assembly (clang, -O0):
<_gen_nonreg_x>:
push   %rbp
mov    %rsp,%rbp
sub    $0x360,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x18(%rbp),%rax
subsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
subsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x28(%rbp),%rax
subsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    0xe75(%rip),%rax
mov    %rax,-0x34c(%rbp)
mov    0xe70(%rip),%eax
mov    %eax,-0x344(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
add    $0xa8,%rsi
lea    -0x34c(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
mov    0xe4c(%rip),%rax
mov    %rax,-0x358(%rbp)
mov    0xe47(%rip),%eax
mov    %eax,-0x350(%rbp)
lea    -0x140(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
lea    -0x358(%rbp),%rcx
lea    -0x34c(%rbp),%r8
movsd  -0x30(%rbp),%xmm0
xor    %r9d,%r9d
call   1040 <tridiff@plt>
mov    -0x8(%rbp),%rdi
add    $0x40,%rdi
lea    -0x140(%rbp),%rsi
add    $0x50,%rsi
lea    -0x358(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,-0x354(%rbp)
lea    -0x1c0(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x20(%rbp),%rdx
lea    -0x358(%rbp),%rcx
lea    -0x34c(%rbp),%r8
movsd  -0x38(%rbp),%xmm0
mov    $0x1,%r9d
call   1040 <tridiff@plt>
mov    -0x8(%rbp),%rdi
add    $0x80,%rdi
lea    -0x1c0(%rbp),%rsi
add    $0x20,%rsi
lea    -0x358(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,-0x34c(%rbp)
lea    -0x280(%rbp),%rdi
lea    -0x140(%rbp),%rsi
mov    -0x20(%rbp),%rdx
lea    -0x358(%rbp),%rcx
lea    -0x34c(%rbp),%r8
movsd  -0x38(%rbp),%xmm0
mov    $0x1,%r9d
call   1040 <tridiff@plt>
mov    -0x8(%rbp),%rdi
add    $0x100,%rdi
lea    -0x280(%rbp),%rsi
add    $0x20,%rsi
lea    -0x358(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,-0x350(%rbp)
movl   $0x4,-0x34c(%rbp)
lea    -0x200(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x28(%rbp),%rdx
lea    -0x358(%rbp),%rcx
lea    -0x34c(%rbp),%r8
movsd  -0x40(%rbp),%xmm0
mov    $0x2,%r9d
call   1040 <tridiff@plt>
mov    -0x8(%rbp),%rdi
add    $0xc0,%rdi
lea    -0x200(%rbp),%rsi
lea    -0x358(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,-0x34c(%rbp)
lea    -0x300(%rbp),%rdi
lea    -0x140(%rbp),%rsi
mov    -0x28(%rbp),%rdx
lea    -0x358(%rbp),%rcx
lea    -0x34c(%rbp),%r8
movsd  -0x40(%rbp),%xmm0
mov    $0x2,%r9d
call   1040 <tridiff@plt>
mov    -0x8(%rbp),%rdi
add    $0x140,%rdi
lea    -0x300(%rbp),%rsi
lea    -0x358(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,-0x348(%rbp)
lea    -0x2c0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
mov    -0x28(%rbp),%rdx
lea    -0x358(%rbp),%rcx
lea    -0x34c(%rbp),%r8
movsd  -0x40(%rbp),%xmm0
mov    $0x2,%r9d
call   1040 <tridiff@plt>
mov    -0x8(%rbp),%rdi
add    $0x180,%rdi
lea    -0x2c0(%rbp),%rsi
lea    -0x358(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
lea    -0x340(%rbp),%rdi
lea    -0x280(%rbp),%rsi
mov    -0x28(%rbp),%rdx
lea    -0x358(%rbp),%rcx
lea    -0x34c(%rbp),%r8
movsd  -0x40(%rbp),%xmm0
mov    $0x2,%r9d
call   1040 <tridiff@plt>
mov    -0x8(%rbp),%rdi
add    $0x1c0,%rdi
lea    -0x340(%rbp),%rsi
lea    -0x358(%rbp),%rdx
call   1030 <_nonreg_x_construct@plt>
add    $0x360,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_gen_nonreg_x>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x348,%rsp
mov    %rdx,%r15
movsd  0x10(%rdx),%xmm0
subsd  0x8(%rdx),%xmm0
movsd  %xmm0,0x38(%rsp)
mov    %r8,%r14
mov    %rcx,%rbp
mov    %rsi,%r13
mov    %rdi,%rbx
movsd  0x10(%rcx),%xmm0
subsd  0x8(%rcx),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x10(%r8),%xmm0
subsd  0x8(%r8),%xmm0
movsd  %xmm0,0x18(%rsp)
mov    0xe90(%rip),%eax
mov    %eax,0x10(%rsp)
mov    0xe7d(%rip),%rax
mov    %rax,0x8(%rsp)
add    $0xa8,%rsi
lea    0x8(%rsp),%rdx
call   1030 <_nonreg_x_construct@plt>
mov    0xe75(%rip),%eax
mov    %eax,0x28(%rsp)
mov    0xe62(%rip),%rax
mov    %rax,0x20(%rsp)
lea    0x240(%rsp),%rdi
lea    0x20(%rsp),%r12
mov    %r13,%rsi
mov    %r15,%rdx
mov    %r12,%rcx
lea    0x8(%rsp),%r15
mov    %r15,%r8
xor    %r9d,%r9d
movsd  0x38(%rsp),%xmm0
call   1040 <tridiff@plt>
lea    0x40(%rbx),%rdi
lea    0x290(%rsp),%rsi
mov    %r12,%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,0x24(%rsp)
lea    0xc0(%rsp),%rdi
mov    %r13,%rsi
mov    %rbp,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    $0x1,%r9d
movsd  0x30(%rsp),%xmm0
call   1040 <tridiff@plt>
lea    0x80(%rbx),%rdi
lea    0xe0(%rsp),%rsi
mov    %r12,%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,0x8(%rsp)
lea    0x40(%rsp),%rdi
lea    0x240(%rsp),%rsi
mov    %rbp,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    $0x1,%r9d
movsd  0x30(%rsp),%xmm0
call   1040 <tridiff@plt>
lea    0x100(%rbx),%rdi
lea    0x60(%rsp),%rsi
mov    %r12,%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,0x28(%rsp)
movl   $0x4,0x8(%rsp)
lea    0x200(%rsp),%rbp
mov    %rbp,%rdi
mov    %r13,%rsi
mov    %r14,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    $0x2,%r9d
movsd  0x18(%rsp),%xmm0
call   1040 <tridiff@plt>
lea    0xc0(%rbx),%rdi
mov    %rbp,%rsi
mov    %r12,%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,0x8(%rsp)
lea    0x180(%rsp),%rbp
mov    %rbp,%rdi
lea    0x240(%rsp),%rsi
mov    %r14,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    $0x2,%r9d
movsd  0x18(%rsp),%xmm0
call   1040 <tridiff@plt>
lea    0x140(%rbx),%rdi
mov    %rbp,%rsi
mov    %r12,%rdx
call   1030 <_nonreg_x_construct@plt>
movl   $0x2,0xc(%rsp)
lea    0x1c0(%rsp),%rbp
mov    %rbp,%rdi
lea    0xc0(%rsp),%rsi
mov    %r14,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    $0x2,%r9d
movsd  0x18(%rsp),%xmm0
call   1040 <tridiff@plt>
lea    0x180(%rbx),%rdi
mov    %rbp,%rsi
mov    %r12,%rdx
call   1030 <_nonreg_x_construct@plt>
lea    0x140(%rsp),%rbp
mov    %rbp,%rdi
lea    0x40(%rsp),%rsi
mov    %r14,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    $0x2,%r9d
movsd  0x18(%rsp),%xmm0
call   1040 <tridiff@plt>
add    $0x1c0,%rbx
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r12,%rdx
call   1030 <_nonreg_x_construct@plt>
add    $0x348,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const._gen_nonreg_x.in = [3 x i32] [i32 4, i32 4, i32 4]
@__const._gen_nonreg_x.out = [3 x i32] [i32 2, i32 4, i32 4]
define void @_gen_nonreg_x(double* %0, double* %1, double* %2, double* %3, double* %4) {
%6 = alloca double*
%7 = alloca double*
%8 = alloca double*
%9 = alloca double*
%10 = alloca double*
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca [32 x double]
%15 = alloca [16 x double]
%16 = alloca [8 x double]
%17 = alloca [16 x double]
%18 = alloca [8 x double]
%19 = alloca [8 x double]
%20 = alloca [8 x double]
%21 = alloca [3 x i32]
%22 = alloca [3 x i32]
store double* %0, double** %6
store double* %1, double** %7
store double* %2, double** %8
store double* %3, double** %9
store double* %4, double** %10
%23 = load double*, double** %8
%24 = getelementptr inbounds double, double* %23, i64 2
%25 = load double, double* %24
%26 = load double*, double** %8
%27 = getelementptr inbounds double, double* %26, i64 1
%28 = load double, double* %27
%29 = fsub double %25, %28
store double %29, double* %11
%30 = load double*, double** %9
%31 = getelementptr inbounds double, double* %30, i64 2
%32 = load double, double* %31
%33 = load double*, double** %9
%34 = getelementptr inbounds double, double* %33, i64 1
%35 = load double, double* %34
%36 = fsub double %32, %35
store double %36, double* %12
%37 = load double*, double** %10
%38 = getelementptr inbounds double, double* %37, i64 2
%39 = load double, double* %38
%40 = load double*, double** %10
%41 = getelementptr inbounds double, double* %40, i64 1
%42 = load double, double* %41
%43 = fsub double %39, %42
store double %43, double* %13
%44 = bitcast [3 x i32]* %21 to i8*
%45 = load double*, double** %6
%46 = getelementptr inbounds double, double* %45, i64 0
%47 = load double*, double** %7
%48 = getelementptr inbounds double, double* %47, i64 21
%49 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%50 = call i32 @_nonreg_x_construct(double* %46, double* %48, i32* %49)
%51 = bitcast [3 x i32]* %22 to i8*
%52 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 0
%53 = load double*, double** %7
%54 = load double*, double** %8
%55 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%56 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%57 = load double, double* %11
%58 = call i32 @tridiff(double* %52, double* %53, double* %54, i32* %55, i32* %56, i32 0, double %57)
%59 = load double*, double** %6
%60 = getelementptr inbounds double, double* %59, i64 8
%61 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 10
%62 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%63 = call i32 @_nonreg_x_construct(double* %60, double* %61, i32* %62)
%64 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 1
store i32 2, i32* %64
%65 = getelementptr inbounds [16 x double], [16 x double]* %15, i64 0, i64 0
%66 = load double*, double** %7
%67 = load double*, double** %9
%68 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%69 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%70 = load double, double* %12
%71 = call i32 @tridiff(double* %65, double* %66, double* %67, i32* %68, i32* %69, i32 1, double %70)
%72 = load double*, double** %6
%73 = getelementptr inbounds double, double* %72, i64 16
%74 = getelementptr inbounds [16 x double], [16 x double]* %15, i64 0, i64 4
%75 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%76 = call i32 @_nonreg_x_construct(double* %73, double* %74, i32* %75)
%77 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
store i32 2, i32* %77
%78 = getelementptr inbounds [16 x double], [16 x double]* %17, i64 0, i64 0
%79 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 0
%80 = load double*, double** %9
%81 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%82 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%83 = load double, double* %12
%84 = call i32 @tridiff(double* %78, double* %79, double* %80, i32* %81, i32* %82, i32 1, double %83)
%85 = load double*, double** %6
%86 = getelementptr inbounds double, double* %85, i64 32
%87 = getelementptr inbounds [16 x double], [16 x double]* %17, i64 0, i64 4
%88 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%89 = call i32 @_nonreg_x_construct(double* %86, double* %87, i32* %88)
%90 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 2
store i32 2, i32* %90
%91 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
store i32 4, i32* %91
%92 = getelementptr inbounds [8 x double], [8 x double]* %16, i64 0, i64 0
%93 = load double*, double** %7
%94 = load double*, double** %10
%95 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%96 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%97 = load double, double* %13
%98 = call i32 @tridiff(double* %92, double* %93, double* %94, i32* %95, i32* %96, i32 2, double %97)
%99 = load double*, double** %6
%100 = getelementptr inbounds double, double* %99, i64 24
%101 = getelementptr inbounds [8 x double], [8 x double]* %16, i64 0, i64 0
%102 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%103 = call i32 @_nonreg_x_construct(double* %100, double* %101, i32* %102)
%104 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
store i32 2, i32* %104
%105 = getelementptr inbounds [8 x double], [8 x double]* %19, i64 0, i64 0
%106 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 0
%107 = load double*, double** %10
%108 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%109 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%110 = load double, double* %13
%111 = call i32 @tridiff(double* %105, double* %106, double* %107, i32* %108, i32* %109, i32 2, double %110)
%112 = load double*, double** %6
%113 = getelementptr inbounds double, double* %112, i64 40
%114 = getelementptr inbounds [8 x double], [8 x double]* %19, i64 0, i64 0
%115 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%116 = call i32 @_nonreg_x_construct(double* %113, double* %114, i32* %115)
%117 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 1
store i32 2, i32* %117
%118 = getelementptr inbounds [8 x double], [8 x double]* %18, i64 0, i64 0
%119 = getelementptr inbounds [16 x double], [16 x double]* %15, i64 0, i64 0
%120 = load double*, double** %10
%121 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%122 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%123 = load double, double* %13
%124 = call i32 @tridiff(double* %118, double* %119, double* %120, i32* %121, i32* %122, i32 2, double %123)
%125 = load double*, double** %6
%126 = getelementptr inbounds double, double* %125, i64 48
%127 = getelementptr inbounds [8 x double], [8 x double]* %18, i64 0, i64 0
%128 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%129 = call i32 @_nonreg_x_construct(double* %126, double* %127, i32* %128)
%130 = getelementptr inbounds [8 x double], [8 x double]* %20, i64 0, i64 0
%131 = getelementptr inbounds [16 x double], [16 x double]* %17, i64 0, i64 0
%132 = load double*, double** %10
%133 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%134 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%135 = load double, double* %13
%136 = call i32 @tridiff(double* %130, double* %131, double* %132, i32* %133, i32* %134, i32 2, double %135)
%137 = load double*, double** %6
%138 = getelementptr inbounds double, double* %137, i64 56
%139 = getelementptr inbounds [8 x double], [8 x double]* %20, i64 0, i64 0
%140 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%141 = call i32 @_nonreg_x_construct(double* %138, double* %139, i32* %140)
ret void
}

LLVM IR (-O2):
@__const._gen_nonreg_x.in = [3 x i32] [i32 4, i32 4, i32 4]
@__const._gen_nonreg_x.out = [3 x i32] [i32 2, i32 4, i32 4]
define void @_gen_nonreg_x(double* %0, double* %1, double* %2, double* %3, double* %4) {
%6 = alloca [32 x double]
%7 = alloca [16 x double]
%8 = alloca [8 x double]
%9 = alloca [16 x double]
%10 = alloca [8 x double]
%11 = alloca [8 x double]
%12 = alloca [8 x double]
%13 = alloca [3 x i32]
%14 = alloca [3 x i32]
%15 = bitcast [32 x double]* %6 to i8*
%16 = bitcast [16 x double]* %7 to i8*
%17 = bitcast [8 x double]* %8 to i8*
%18 = bitcast [16 x double]* %9 to i8*
%19 = bitcast [8 x double]* %10 to i8*
%20 = bitcast [8 x double]* %11 to i8*
%21 = bitcast [8 x double]* %12 to i8*
%22 = getelementptr inbounds double, double* %2, i64 2
%23 = load double, double* %22
%24 = getelementptr inbounds double, double* %2, i64 1
%25 = load double, double* %24
%26 = fsub double %23, %25
%27 = getelementptr inbounds double, double* %3, i64 2
%28 = load double, double* %27
%29 = getelementptr inbounds double, double* %3, i64 1
%30 = load double, double* %29
%31 = fsub double %28, %30
%32 = getelementptr inbounds double, double* %4, i64 2
%33 = load double, double* %32
%34 = getelementptr inbounds double, double* %4, i64 1
%35 = load double, double* %34
%36 = fsub double %33, %35
%37 = bitcast [3 x i32]* %13 to i8*
%38 = getelementptr inbounds double, double* %1, i64 21
%39 = getelementptr inbounds [3 x i32], [3 x i32]* %13, i64 0, i64 0
%40 = call i32 @_nonreg_x_construct(double* %0, double* %38, i32* %39)
%41 = bitcast [3 x i32]* %14 to i8*
%42 = getelementptr inbounds [32 x double], [32 x double]* %6, i64 0, i64 0
%43 = getelementptr inbounds [3 x i32], [3 x i32]* %14, i64 0, i64 0
%44 = call i32 @tridiff(double* %42, double* %1, double* %2, i32* %43, i32* %39, i32 0, double %26)
%45 = getelementptr inbounds double, double* %0, i64 8
%46 = getelementptr inbounds [32 x double], [32 x double]* %6, i64 0, i64 10
%47 = call i32 @_nonreg_x_construct(double* %45, double* %46, i32* %43)
%48 = getelementptr inbounds [3 x i32], [3 x i32]* %14, i64 0, i64 1
store i32 2, i32* %48
%49 = getelementptr inbounds [16 x double], [16 x double]* %7, i64 0, i64 0
%50 = call i32 @tridiff(double* %49, double* %1, double* %3, i32* %43, i32* %39, i32 1, double %31)
%51 = getelementptr inbounds double, double* %0, i64 16
%52 = getelementptr inbounds [16 x double], [16 x double]* %7, i64 0, i64 4
%53 = call i32 @_nonreg_x_construct(double* %51, double* %52, i32* %43)
store i32 2, i32* %39
%54 = getelementptr inbounds [16 x double], [16 x double]* %9, i64 0, i64 0
%55 = call i32 @tridiff(double* %54, double* %42, double* %3, i32* %43, i32* %39, i32 1, double %31)
%56 = getelementptr inbounds double, double* %0, i64 32
%57 = getelementptr inbounds [16 x double], [16 x double]* %9, i64 0, i64 4
%58 = call i32 @_nonreg_x_construct(double* %56, double* %57, i32* %43)
%59 = getelementptr inbounds [3 x i32], [3 x i32]* %14, i64 0, i64 2
store i32 2, i32* %59
store i32 4, i32* %39
%60 = getelementptr inbounds [8 x double], [8 x double]* %8, i64 0, i64 0
%61 = call i32 @tridiff(double* %60, double* %1, double* %4, i32* %43, i32* %39, i32 2, double %36)
%62 = getelementptr inbounds double, double* %0, i64 24
%63 = call i32 @_nonreg_x_construct(double* %62, double* %60, i32* %43)
store i32 2, i32* %39
%64 = getelementptr inbounds [8 x double], [8 x double]* %11, i64 0, i64 0
%65 = call i32 @tridiff(double* %64, double* %42, double* %4, i32* %43, i32* %39, i32 2, double %36)
%66 = getelementptr inbounds double, double* %0, i64 40
%67 = call i32 @_nonreg_x_construct(double* %66, double* %64, i32* %43)
%68 = getelementptr inbounds [3 x i32], [3 x i32]* %13, i64 0, i64 1
store i32 2, i32* %68
%69 = getelementptr inbounds [8 x double], [8 x double]* %10, i64 0, i64 0
%70 = call i32 @tridiff(double* %69, double* %49, double* %4, i32* %43, i32* %39, i32 2, double %36)
%71 = getelementptr inbounds double, double* %0, i64 48
%72 = call i32 @_nonreg_x_construct(double* %71, double* %69, i32* %43)
%73 = getelementptr inbounds [8 x double], [8 x double]* %12, i64 0, i64 0
%74 = call i32 @tridiff(double* %73, double* %54, double* %4, i32* %43, i32* %39, i32 2, double %36)
%75 = getelementptr inbounds double, double* %0, i64 56
%76 = call i32 @_nonreg_x_construct(double* %75, double* %73, i32* %43)
ret void
}