int build_level(image, level_x_size, level_y_size, lo_filter, hi_filter,
                filter_size, result_block)
int level_x_size, level_y_size, filter_size;
float *image, *result_block, *lo_filter, *hi_filter;
{
  float *hi_imagetemp, *lo_imagetemp, *filtertemp;
  int total_size = level_x_size * level_y_size, i;
  float *tresult_block = result_block;
  filtertemp = (float *)check_malloc(filter_size * sizeof(float));
  hi_imagetemp = (float *)check_malloc(total_size * sizeof(float) / 2);
  lo_imagetemp = (float *)check_malloc(total_size * sizeof(float) / 2);
  internal_filter(image, level_x_size, level_y_size, lo_filter, filtertemp,
                  filter_size, 1, 0, 2, 0, 1, lo_imagetemp, "reflect1");
  internal_filter(image, level_x_size, level_y_size, hi_filter, filtertemp,
                  filter_size, 1, 1, 2, 0, 1, hi_imagetemp, "reflect1");
  level_x_size /= 2;
  internal_filter(lo_imagetemp, level_x_size, level_y_size, lo_filter,
                  filtertemp, 1, filter_size, 0, 1, 0, 2, result_block,
                  "reflect1");
  internal_filter(lo_imagetemp, level_x_size, level_y_size, hi_filter,
                  filtertemp, 1, filter_size, 0, 1, 1, 2,
                  (tresult_block += (total_size / 4)), "reflect1");
  internal_filter(hi_imagetemp, level_x_size, level_y_size, lo_filter,
                  filtertemp, 1, filter_size, 0, 1, 0, 2,
                  (tresult_block += (total_size / 4)), "reflect1");
  internal_transpose(result_block, level_y_size / 2, level_x_size);
  internal_filter(hi_imagetemp, level_x_size, level_y_size, hi_filter,
                  filtertemp, 1, filter_size, 0, 1, 1, 2,
                  (tresult_block += (total_size / 4)), "reflect1");
  check_free((char *)filtertemp);
  check_free((char *)hi_imagetemp);
  check_free((char *)lo_imagetemp);
  return 1;
}


x86 assembly (clang, -O0):
<build_level>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
mov    -0xc(%rbp),%eax
imul   -0x10(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    0x10(%rbp),%rax
mov    %rax,-0x50(%rbp)
movslq -0x24(%rbp),%rdi
shl    $0x2,%rdi
mov    $0x0,%al
call   1050 <check_malloc@plt>
cltq
mov    %rax,-0x40(%rbp)
movslq -0x44(%rbp),%rdi
shl    $0x2,%rdi
shr    $0x1,%rdi
mov    $0x0,%al
call   1050 <check_malloc@plt>
cltq
mov    %rax,-0x30(%rbp)
movslq -0x44(%rbp),%rdi
shl    $0x2,%rdi
shr    $0x1,%rdi
mov    $0x0,%al
call   1050 <check_malloc@plt>
cltq
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x18(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x24(%rbp),%r9d
mov    -0x38(%rbp),%r10
xor    %eax,%eax
lea    0xe1f(%rip),%rax
movl   $0x1,(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x2,0x10(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0x1,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
mov    $0x0,%al
call   1060 <internal_filter@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x24(%rbp),%r9d
mov    -0x30(%rbp),%r10
xor    %eax,%eax
lea    0xdc4(%rip),%rax
movl   $0x1,(%rsp)
movl   $0x1,0x8(%rsp)
movl   $0x2,0x10(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0x1,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
mov    $0x0,%al
call   1060 <internal_filter@plt>
mov    -0xc(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x18(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x24(%rbp),%r11d
mov    0x10(%rbp),%r10
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xd55(%rip),%rax
mov    %r11d,(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x1,0x10(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0x2,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
mov    $0x0,%al
call   1060 <internal_filter@plt>
mov    -0x38(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x20(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x24(%rbp),%r11d
mov    -0x44(%rbp),%eax
mov    $0x4,%r9d
cltd
idiv   %r9d
mov    -0x5c(%rbp),%edx
mov    -0x50(%rbp),%r10
cltq
shl    $0x2,%rax
add    %rax,%r10
mov    %r10,-0x50(%rbp)
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xcd7(%rip),%rax
mov    %r11d,(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x1,0x10(%rsp)
movl   $0x1,0x18(%rsp)
movl   $0x2,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
mov    $0x0,%al
call   1060 <internal_filter@plt>
mov    -0x30(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x18(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x24(%rbp),%r11d
mov    -0x44(%rbp),%eax
mov    $0x4,%r9d
cltd
idiv   %r9d
mov    -0x58(%rbp),%edx
mov    -0x50(%rbp),%r10
cltq
shl    $0x2,%rax
add    %rax,%r10
mov    %r10,-0x50(%rbp)
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xc59(%rip),%rax
mov    %r11d,(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x1,0x10(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0x2,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
mov    $0x0,%al
call   1060 <internal_filter@plt>
mov    0x10(%rbp),%rdi
mov    -0x10(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
mov    -0xc(%rbp),%edx
mov    $0x0,%al
call   1040 <internal_transpose@plt>
mov    -0x30(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x20(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x24(%rbp),%r11d
mov    -0x44(%rbp),%eax
mov    $0x4,%r9d
cltd
idiv   %r9d
mov    -0x54(%rbp),%edx
mov    -0x50(%rbp),%r10
cltq
shl    $0x2,%rax
add    %rax,%r10
mov    %r10,-0x50(%rbp)
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xbc0(%rip),%rax
mov    %r11d,(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x1,0x10(%rsp)
movl   $0x1,0x18(%rsp)
movl   $0x2,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
mov    $0x0,%al
call   1060 <internal_filter@plt>
mov    -0x40(%rbp),%rdi
mov    $0x0,%al
call   1030 <check_free@plt>
mov    -0x30(%rbp),%rdi
mov    $0x0,%al
call   1030 <check_free@plt>
mov    -0x38(%rbp),%rdi
mov    $0x0,%al
call   1030 <check_free@plt>
mov    $0x1,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<build_level>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %r8,0x10(%rsp)
mov    %rcx,0x28(%rsp)
mov    %edx,%r13d
mov    %esi,%r12d
mov    %rdi,%r14
mov    %rdi,0x38(%rsp)
mov    %edx,%ebx
imul   %esi,%ebx
movslq %r9d,%rax
mov    %rax,0x20(%rsp)
lea    0x0(,%rax,4),%rdi
xor    %eax,%eax
call   1050 <check_malloc@plt>
movslq %eax,%r15
movslq %ebx,%rax
mov    %rax,(%rsp)
add    %rax,%rax
movabs $0x7ffffffffffffffe,%rbx
ff ff 7f
and    %rax,%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <check_malloc@plt>
cltq
mov    %rax,0x8(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <check_malloc@plt>
movslq %eax,%rbp
mov    %rbp,0x30(%rsp)
sub    $0x8,%rsp
lea    0xe36(%rip),%r10
mov    %r14,%rdi
mov    %r12d,%esi
mov    %r13d,%edx
mov    0x30(%rsp),%r14
mov    %r14,%rcx
mov    %r15,%r8
mov    0x28(%rsp),%rbx
mov    %ebx,%r9d
xor    %eax,%eax
push   %r10
push   %rbp
push   $0x1
push   $0x0
push   $0x2
push   $0x0
push   $0x1
call   1060 <internal_filter@plt>
add    $0x38,%rsp
mov    0x40(%rsp),%rdi
mov    %r12d,%esi
mov    %r13d,%edx
mov    %r13d,0x24(%rsp)
mov    0x18(%rsp),%rcx
mov    %r15,%rbp
mov    %r15,%r8
mov    %ebx,%r9d
xor    %eax,%eax
lea    0xddb(%rip),%rbx
push   %rbx
push   0x18(%rsp)
push   $0x1
push   $0x0
push   $0x2
push   $0x1
push   $0x1
call   1060 <internal_filter@plt>
add    $0x40,%rsp
mov    %r12d,%r15d
shr    $0x1f,%r15d
add    %r12d,%r15d
sar    %r15d
sub    $0x8,%rsp
mov    0x38(%rsp),%rbx
mov    %rbx,%rdi
mov    %r15d,%esi
mov    %r13d,%edx
mov    %r14,%rcx
mov    %rbp,%r8
mov    %rbp,%r14
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xd8c(%rip),%rbp
push   %rbp
mov    0x90(%rsp),%rbp
push   %rbp
push   $0x2
push   $0x0
push   $0x1
push   $0x0
mov    0x58(%rsp),%r12
push   %r12
call   1060 <internal_filter@plt>
add    $0x40,%rsp
mov    (%rsp),%rcx
lea    0x3(%rcx),%eax
test   %ecx,%ecx
cmovns %ecx,%eax
sar    $0x2,%eax
cltq
mov    %rax,(%rsp)
lea    0x0(%rbp,%rax,4),%rbp
sub    $0x8,%rsp
mov    %rbx,%rdi
mov    %r15d,%esi
mov    0x24(%rsp),%r13d
mov    %r13d,%edx
mov    0x18(%rsp),%rcx
mov    %r14,0x48(%rsp)
mov    %r14,%r8
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xd22(%rip),%rbx
push   %rbx
push   %rbp
push   $0x2
push   $0x1
push   $0x1
push   $0x0
push   %r12
call   1060 <internal_filter@plt>
add    $0x40,%rsp
mov    (%rsp),%rax
lea    0x0(,%rax,4),%rbx
add    %rbp,%rbx
sub    $0x8,%rsp
mov    0x10(%rsp),%rdi
mov    %r15d,%esi
mov    %r13d,%edx
mov    0x30(%rsp),%rcx
mov    %r14,%r8
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xcd8(%rip),%rbp
push   %rbp
push   %rbx
push   $0x2
push   $0x0
push   $0x1
push   $0x0
push   %r12
call   1060 <internal_filter@plt>
add    $0x40,%rsp
mov    %r13d,%esi
shr    $0x1f,%esi
add    %r13d,%esi
sar    %esi
mov    0x80(%rsp),%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   1040 <internal_transpose@plt>
mov    (%rsp),%rax
lea    (%rbx,%rax,4),%r10
sub    $0x8,%rsp
mov    0x10(%rsp),%r14
mov    %r14,%rdi
mov    %r15d,%esi
mov    %r13d,%edx
mov    0x18(%rsp),%rcx
mov    0x48(%rsp),%rbp
mov    %rbp,%r8
mov    $0x1,%r9d
xor    %eax,%eax
lea    0xc70(%rip),%rbx
push   %rbx
push   %r10
push   $0x2
push   $0x1
push   $0x1
push   $0x0
push   %r12
call   1060 <internal_filter@plt>
add    $0x40,%rsp
mov    %rbp,%rdi
xor    %eax,%eax
call   1030 <check_free@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <check_free@plt>
mov    0x30(%rsp),%rdi
xor    %eax,%eax
call   1030 <check_free@plt>
mov    $0x1,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"reflect1\00"
define i32 @build_level(float* %0, i32 %1, i32 %2, float* %3, float* %4, i32 %5, float* %6) {
%8 = alloca float*
%9 = alloca i32
%10 = alloca i32
%11 = alloca float*
%12 = alloca float*
%13 = alloca i32
%14 = alloca float*
%15 = alloca float*
%16 = alloca float*
%17 = alloca float*
%18 = alloca i32
%19 = alloca i32
%20 = alloca float*
store float* %0, float** %8
store i32 %1, i32* %9
store i32 %2, i32* %10
store float* %3, float** %11
store float* %4, float** %12
store i32 %5, i32* %13
store float* %6, float** %14
%21 = load i32, i32* %9
%22 = load i32, i32* %10
%23 = mul nsw i32 %21, %22
store i32 %23, i32* %18
%24 = load float*, float** %14
store float* %24, float** %20
%25 = load i32, i32* %13
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 4
%28 = call i32 (i64, ...) bitcast (i32 (...)* @check_malloc to i32 (i64, ...)*)(i64 %27)
%29 = sext i32 %28 to i64
%30 = inttoptr i64 %29 to float*
store float* %30, float** %17
%31 = load i32, i32* %18
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 4
%34 = udiv i64 %33, 2
%35 = call i32 (i64, ...) bitcast (i32 (...)* @check_malloc to i32 (i64, ...)*)(i64 %34)
%36 = sext i32 %35 to i64
%37 = inttoptr i64 %36 to float*
store float* %37, float** %15
%38 = load i32, i32* %18
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 4
%41 = udiv i64 %40, 2
%42 = call i32 (i64, ...) bitcast (i32 (...)* @check_malloc to i32 (i64, ...)*)(i64 %41)
%43 = sext i32 %42 to i64
%44 = inttoptr i64 %43 to float*
store float* %44, float** %16
%45 = load float*, float** %8
%46 = load i32, i32* %9
%47 = load i32, i32* %10
%48 = load float*, float** %11
%49 = load float*, float** %17
%50 = load i32, i32* %13
%51 = load float*, float** %16
%52 = call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %45, i32 %46, i32 %47, float* %48, float* %49, i32 %50, i32 1, i32 0, i32 2, i32 0, i32 1, float* %51, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%53 = load float*, float** %8
%54 = load i32, i32* %9
%55 = load i32, i32* %10
%56 = load float*, float** %12
%57 = load float*, float** %17
%58 = load i32, i32* %13
%59 = load float*, float** %15
%60 = call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %53, i32 %54, i32 %55, float* %56, float* %57, i32 %58, i32 1, i32 1, i32 2, i32 0, i32 1, float* %59, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%61 = load i32, i32* %9
%62 = sdiv i32 %61, 2
store i32 %62, i32* %9
%63 = load float*, float** %16
%64 = load i32, i32* %9
%65 = load i32, i32* %10
%66 = load float*, float** %11
%67 = load float*, float** %17
%68 = load i32, i32* %13
%69 = load float*, float** %14
%70 = call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %63, i32 %64, i32 %65, float* %66, float* %67, i32 1, i32 %68, i32 0, i32 1, i32 0, i32 2, float* %69, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%71 = load float*, float** %16
%72 = load i32, i32* %9
%73 = load i32, i32* %10
%74 = load float*, float** %12
%75 = load float*, float** %17
%76 = load i32, i32* %13
%77 = load i32, i32* %18
%78 = sdiv i32 %77, 4
%79 = load float*, float** %20
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds float, float* %79, i64 %80
store float* %81, float** %20
%82 = call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %71, i32 %72, i32 %73, float* %74, float* %75, i32 1, i32 %76, i32 0, i32 1, i32 1, i32 2, float* %81, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%83 = load float*, float** %15
%84 = load i32, i32* %9
%85 = load i32, i32* %10
%86 = load float*, float** %11
%87 = load float*, float** %17
%88 = load i32, i32* %13
%89 = load i32, i32* %18
%90 = sdiv i32 %89, 4
%91 = load float*, float** %20
%92 = sext i32 %90 to i64
%93 = getelementptr inbounds float, float* %91, i64 %92
store float* %93, float** %20
%94 = call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %83, i32 %84, i32 %85, float* %86, float* %87, i32 1, i32 %88, i32 0, i32 1, i32 0, i32 2, float* %93, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%95 = load float*, float** %14
%96 = load i32, i32* %10
%97 = sdiv i32 %96, 2
%98 = load i32, i32* %9
%99 = call i32 (float*, i32, i32, ...) bitcast (i32 (...)* @internal_transpose to i32 (float*, i32, i32, ...)*)(float* %95, i32 %97, i32 %98)
%100 = load float*, float** %15
%101 = load i32, i32* %9
%102 = load i32, i32* %10
%103 = load float*, float** %12
%104 = load float*, float** %17
%105 = load i32, i32* %13
%106 = load i32, i32* %18
%107 = sdiv i32 %106, 4
%108 = load float*, float** %20
%109 = sext i32 %107 to i64
%110 = getelementptr inbounds float, float* %108, i64 %109
store float* %110, float** %20
%111 = call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %100, i32 %101, i32 %102, float* %103, float* %104, i32 1, i32 %105, i32 0, i32 1, i32 1, i32 2, float* %110, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%112 = load float*, float** %17
%113 = bitcast float* %112 to i8*
%114 = call i32 (i8*, ...) bitcast (i32 (...)* @check_free to i32 (i8*, ...)*)(i8* %113)
%115 = load float*, float** %15
%116 = bitcast float* %115 to i8*
%117 = call i32 (i8*, ...) bitcast (i32 (...)* @check_free to i32 (i8*, ...)*)(i8* %116)
%118 = load float*, float** %16
%119 = bitcast float* %118 to i8*
%120 = call i32 (i8*, ...) bitcast (i32 (...)* @check_free to i32 (i8*, ...)*)(i8* %119)
ret i32 1
}

LLVM IR (-O2):
@.str = [9 x i8] c"reflect1\00"
define i32 @build_level(float* %0, i32 %1, i32 %2, float* %3, float* %4, i32 %5, float* %6) {
%8 = mul nsw i32 %2, %1
%9 = sext i32 %5 to i64
%10 = shl nsw i64 %9, 2
%11 = tail call i32 (i64, ...) bitcast (i32 (...)* @check_malloc to i32 (i64, ...)*)(i64 %10)
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to float*
%14 = sext i32 %8 to i64
%15 = shl nsw i64 %14, 1
%16 = and i64 %15, 9223372036854775806
%17 = tail call i32 (i64, ...) bitcast (i32 (...)* @check_malloc to i32 (i64, ...)*)(i64 %16)
%18 = sext i32 %17 to i64
%19 = inttoptr i64 %18 to float*
%20 = tail call i32 (i64, ...) bitcast (i32 (...)* @check_malloc to i32 (i64, ...)*)(i64 %16)
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to float*
%23 = tail call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %0, i32 %1, i32 %2, float* %3, float* %13, i32 %5, i32 1, i32 0, i32 2, i32 0, i32 1, float* %22, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%24 = tail call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %0, i32 %1, i32 %2, float* %4, float* %13, i32 %5, i32 1, i32 1, i32 2, i32 0, i32 1, float* %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%25 = sdiv i32 %1, 2
%26 = tail call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %22, i32 %25, i32 %2, float* %3, float* %13, i32 1, i32 %5, i32 0, i32 1, i32 0, i32 2, float* %6, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%27 = sdiv i32 %8, 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, float* %6, i64 %28
%30 = tail call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %22, i32 %25, i32 %2, float* %4, float* %13, i32 1, i32 %5, i32 0, i32 1, i32 1, i32 2, float* %29, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%31 = getelementptr inbounds float, float* %29, i64 %28
%32 = tail call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %19, i32 %25, i32 %2, float* %3, float* %13, i32 1, i32 %5, i32 0, i32 1, i32 0, i32 2, float* %31, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%33 = sdiv i32 %2, 2
%34 = tail call i32 (float*, i32, i32, ...) bitcast (i32 (...)* @internal_transpose to i32 (float*, i32, i32, ...)*)(float* %6, i32 %33, i32 %25)
%35 = getelementptr inbounds float, float* %31, i64 %28
%36 = tail call i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...) bitcast (i32 (...)* @internal_filter to i32 (float*, i32, i32, float*, float*, i32, i32, i32, i32, i32, i32, float*, i8*, ...)*)(float* %19, i32 %25, i32 %2, float* %4, float* %13, i32 1, i32 %5, i32 0, i32 1, i32 1, i32 2, float* %35, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%37 = inttoptr i64 %12 to i8*
%38 = tail call i32 (i8*, ...) bitcast (i32 (...)* @check_free to i32 (i8*, ...)*)(i8* %37)
%39 = inttoptr i64 %18 to i8*
%40 = tail call i32 (i8*, ...) bitcast (i32 (...)* @check_free to i32 (i8*, ...)*)(i8* %39)
%41 = inttoptr i64 %21 to i8*
%42 = tail call i32 (i8*, ...) bitcast (i32 (...)* @check_free to i32 (i8*, ...)*)(i8* %41)
ret i32 1
}