#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*/ iklt(double *, double *, double *, int);
int /*<<< orphan*/ ilap_2d(double **, double **, int const *);
void b_synthesis_2d(
    double *_out, int _out_stride_i, int _out_stride_j, const double *_in,
    int _in_stride_i, int _in_stride_j, const int *_f,
    double _klt[(1 << (4)) * (1 << (4))][(1 << (4)) * (1 << (4))]) {
  double temp[(1 << (4))][(1 << (4))];
  double work[(1 << (4))][(1 << (4))];
  double lap[((1 << (4)) * 2)][((1 << (4)) * 2)];
  int i, j;
  for (i = 0; i < (1 << (4)); i++)
    for (j = 0; j < (1 << (4)); j++)
      temp[i][j] = *(_in + i * _in_stride_i + j * _in_stride_j);
  iklt(&work[0][0], &temp[0][0], &_klt[0][0], (1 << (4)) * (1 << (4)));
  ilap_2d(lap, work, _f);
  for (i = 0; i < ((1 << (4)) * 2); i++)
    for (j = 0; j < ((1 << (4)) * 2); j++)
      *(_out + i * _out_stride_i + j * _out_stride_j) = lap[i][j];
}


x86 assembly (clang, -O0):
<b_synthesis_2d>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3030,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9d,-0x20(%rbp)
movl   $0x0,-0x3024(%rbp)
cmpl   $0x10,-0x3024(%rbp)
jge    11ef <b_synthesis_2d+0xcf>
movl   $0x0,-0x3028(%rbp)
cmpl   $0x10,-0x3028(%rbp)
jge    11d6 <b_synthesis_2d+0xb6>
mov    -0x18(%rbp),%rax
mov    -0x3024(%rbp),%ecx
imul   -0x1c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    -0x3028(%rbp),%ecx
imul   -0x20(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x3024(%rbp),%rcx
lea    -0x820(%rbp),%rax
shl    $0x7,%rcx
add    %rcx,%rax
movslq -0x3028(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3028(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3028(%rbp)
jmp    116a <b_synthesis_2d+0x4a>
jmp    11db <b_synthesis_2d+0xbb>
mov    -0x3024(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3024(%rbp)
jmp    1153 <b_synthesis_2d+0x33>
lea    -0x1020(%rbp),%rdi
lea    -0x820(%rbp),%rsi
mov    0x18(%rbp),%rdx
mov    $0x100,%ecx
call   1040 <iklt@plt>
lea    -0x3020(%rbp),%rdi
lea    -0x1020(%rbp),%rsi
mov    0x10(%rbp),%rdx
call   1030 <ilap_2d@plt>
movl   $0x0,-0x3024(%rbp)
cmpl   $0x20,-0x3024(%rbp)
jge    12c8 <b_synthesis_2d+0x1a8>
movl   $0x0,-0x3028(%rbp)
cmpl   $0x20,-0x3028(%rbp)
jge    12af <b_synthesis_2d+0x18f>
movslq -0x3024(%rbp),%rcx
lea    -0x3020(%rbp),%rax
shl    $0x8,%rcx
add    %rcx,%rax
movslq -0x3028(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x3024(%rbp),%ecx
imul   -0xc(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    -0x3028(%rbp),%ecx
imul   -0x10(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3028(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3028(%rbp)
jmp    1243 <b_synthesis_2d+0x123>
jmp    12b4 <b_synthesis_2d+0x194>
mov    -0x3024(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3024(%rbp)
jmp    122c <b_synthesis_2d+0x10c>
add    $0x3030,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<b_synthesis_2d>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x3068,%rsp
mov    %edx,%r13d
mov    %esi,%r12d
mov    %rdi,(%rsp)
mov    0x30a8(%rsp),%rdx
mov    0x30a0(%rsp),%r15
movslq %r9d,%rax
movslq %r8d,%rsi
lea    0x0(,%rax,8),%rdi
shl    $0x3,%rsi
xor    %ebp,%ebp
nop
movsd  (%rcx),%xmm0
movsd  %xmm0,0x60(%rsp,%rbp,1)
lea    (%rcx,%rdi,1),%rbx
movsd  (%rcx,%rax,8),%xmm0
movsd  %xmm0,0x68(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0x70(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0x78(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0x80(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0x88(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0x90(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0x98(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0xa0(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0xa8(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0xb0(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0xb8(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0xc0(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0xc8(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
add    %rdi,%rbx
movsd  %xmm0,0xd0(%rsp,%rbp,1)
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,0xd8(%rsp,%rbp,1)
add    %rsi,%rcx
sub    $0xffffffffffffff80,%rbp
cmp    $0x800,%rbp
jne    1160 <b_synthesis_2d+0x40>
lea    0x2860(%rsp),%rbp
lea    0x60(%rsp),%rsi
mov    %rbp,%rdi
mov    $0x100,%ecx
call   1040 <iklt@plt>
lea    0x860(%rsp),%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
call   1030 <ilap_2d@plt>
movslq %r13d,%r14
movslq %r12d,%r9
lea    (%r14,%r14,1),%rsi
lea    0x0(,%r14,4),%rbx
lea    (%rsi,%rsi,2),%rax
mov    %rax,0x40(%rsp)
lea    0x0(,%r14,8),%rbp
lea    (%rsi,%rsi,4),%rax
mov    %rax,0x30(%rsp)
lea    (%rbx,%rbx,2),%rax
mov    %rax,0x28(%rsp)
mov    %r14,%rax
shl    $0x4,%rax
mov    %rax,%rcx
sub    %r14,%rcx
sub    %r14,%rcx
lea    (%r14,%r14,4),%rdx
lea    (%r14,%rdx,4),%rdi
add    %r14,%rdi
mov    %rdi,0x20(%rsp)
lea    (%rdx,%rdx,4),%rdx
add    %r14,%rdx
mov    %rdx,0x18(%rsp)
lea    (%r14,%r14,8),%rdx
lea    (%rdx,%rdx,2),%rdx
add    %r14,%rdx
mov    %r14,%rdi
shl    $0x5,%rdi
mov    %rdi,%r8
sub    %r14,%r8
sub    %r14,%r8
mov    %rsi,0x58(%rsp)
lea    (%rsi,%rsi,8),%rsi
mov    %rsi,0x10(%rsp)
mov    %rbx,0x48(%rsp)
lea    (%rbx,%rbx,4),%rsi
mov    %rsi,0x8(%rsp)
mov    %rbp,0x38(%rsp)
lea    0x0(%rbp,%rbp,2),%r11
lea    0x878(%rsp),%r15
mov    %r9,0x50(%rsp)
lea    0x0(,%r9,8),%r12
xor    %r9d,%r9d
mov    (%rsp),%r10
jmp    14b6 <b_synthesis_2d+0x396>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r9,%rbx
imul   0x50(%rsp),%rbx
mov    (%rsp),%rbp
lea    0x0(%rbp,%rbx,8),%rbp
mov    %r13d,%ebx
mov    %r9,%r13
shl    $0x8,%r13
movaps 0x860(%rsp,%r13,1),%xmm0
movups %xmm0,0x0(%rbp)
movaps 0x870(%rsp,%r13,1),%xmm0
mov    0x58(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x880(%rsp,%r13,1),%xmm0
mov    0x48(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x890(%rsp,%r13,1),%xmm0
mov    0x40(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x8a0(%rsp,%r13,1),%xmm0
mov    0x38(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x8b0(%rsp,%r13,1),%xmm0
mov    0x30(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x8c0(%rsp,%r13,1),%xmm0
mov    0x28(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x8d0(%rsp,%r13,1),%xmm0
movups %xmm0,0x0(%rbp,%rcx,8)
movaps 0x8e0(%rsp,%r13,1),%xmm0
movups %xmm0,0x0(%rbp,%rax,8)
movaps 0x8f0(%rsp,%r13,1),%xmm0
mov    0x10(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x900(%rsp,%r13,1),%xmm0
mov    0x8(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x910(%rsp,%r13,1),%xmm0
mov    0x20(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x920(%rsp,%r13,1),%xmm0
movups %xmm0,0x0(%rbp,%r11,8)
movaps 0x930(%rsp,%r13,1),%xmm0
mov    0x18(%rsp),%rsi
movups %xmm0,0x0(%rbp,%rsi,8)
movaps 0x940(%rsp,%r13,1),%xmm0
movups %xmm0,0x0(%rbp,%rdx,8)
movaps 0x950(%rsp,%r13,1),%xmm0
mov    %ebx,%r13d
movups %xmm0,0x0(%rbp,%r8,8)
add    $0x1,%r9
add    $0x100,%r15
add    %r12,%r10
cmp    $0x20,%r9
je     150f <b_synthesis_2d+0x3ef>
cmp    $0x1,%r13d
je     1370 <b_synthesis_2d+0x250>
mov    %r10,%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
movsd  -0x18(%r15,%rbp,8),%xmm0
movsd  %xmm0,(%rbx)
movsd  -0x10(%r15,%rbp,8),%xmm0
movsd  %xmm0,(%rbx,%r14,8)
movsd  -0x8(%r15,%rbp,8),%xmm0
movsd  %xmm0,(%rbx,%rax,1)
movsd  (%r15,%rbp,8),%xmm0
movsd  %xmm0,(%rbx,%r11,1)
add    $0x4,%rbp
add    %rdi,%rbx
cmp    $0x20,%rbp
jne    14d0 <b_synthesis_2d+0x3b0>
jmp    14a2 <b_synthesis_2d+0x382>
add    $0x3068,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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