#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*/ convlv(float *, int, float *, int, int, float *);
int /*<<< orphan*/ free_vector(float *, int, int);
int /*<<< orphan*/ printf(char *, ...);
float *vector(int, int);
int main(void) {
  unsigned long i, j;
  int isign;
  float cmp, *data, *respns, *resp, *ans;
  data = vector(1, 16);
  respns = vector(1, 16);
  resp = vector(1, 16);
  ans = vector(1, (2 * 16));
  for (i = 1; i <= 16; i++)
    if ((i >= 16 / 2 - 16 / 8) && (i <= 16 / 2 + 16 / 8))
      data[i] = 1.0;
    else
      data[i] = 0.0;
  for (i = 1; i <= 9; i++) {
    if ((i > 2) && (i < 7))
      respns[i] = 1.0;
    else
      respns[i] = 0.0;
    resp[i] = respns[i];
  }
  isign = 1;
  convlv(data, 16, resp, 9, isign, ans);
  printf("%3s %14s %13s\n", "i", "CONVLV", "Expected");
  for (i = 1; i <= 16; i++) {
    cmp = 0.0;
    for (j = 1; j <= 9 / 2; j++) {
      cmp += data[((i - j - 1 + 16) % 16) + 1] * respns[j + 1];
      cmp += data[((i + j - 1) % 16) + 1] * respns[9 - j + 1];
    }
    cmp += data[i] * respns[1];
    printf("%3ld %15.6f %12.6f\n", i, ans[i], cmp);
  }
  free_vector(ans, 1, (2 * 16));
  free_vector(resp, 1, 16);
  free_vector(respns, 1, 16);
  free_vector(data, 1, 16);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edi
mov    $0x10,%esi
call   1050 <vector@plt>
mov    %rax,-0x28(%rbp)
mov    $0x1,%edi
mov    $0x10,%esi
call   1050 <vector@plt>
mov    %rax,-0x30(%rbp)
mov    $0x1,%edi
mov    $0x10,%esi
call   1050 <vector@plt>
mov    %rax,-0x38(%rbp)
mov    $0x1,%edi
mov    $0x20,%esi
call   1050 <vector@plt>
mov    %rax,-0x40(%rbp)
movq   $0x1,-0x10(%rbp)
cmpq   $0x10,-0x10(%rbp)
ja     1204 <main+0xc4>
cmpq   $0x6,-0x10(%rbp)
jb     11de <main+0x9e>
cmpq   $0xa,-0x10(%rbp)
ja     11de <main+0x9e>
mov    -0x28(%rbp),%rax
mov    -0x10(%rbp),%rcx
movss  0xe2c(%rip),%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    11ee <main+0xae>
mov    -0x28(%rbp),%rax
mov    -0x10(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    11f3 <main+0xb3>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    11a3 <main+0x63>
movq   $0x1,-0x10(%rbp)
cmpq   $0x9,-0x10(%rbp)
ja     1282 <main+0x142>
cmpq   $0x2,-0x10(%rbp)
jbe    1247 <main+0x107>
cmpq   $0x7,-0x10(%rbp)
jae    1247 <main+0x107>
mov    -0x30(%rbp),%rax
mov    -0x10(%rbp),%rcx
movss  0xdc3(%rip),%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    1257 <main+0x117>
mov    -0x30(%rbp),%rax
mov    -0x10(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x30(%rbp),%rax
mov    -0x10(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x38(%rbp),%rax
mov    -0x10(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    120c <main+0xcc>
movl   $0x1,-0x1c(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x38(%rbp),%rdx
mov    -0x1c(%rbp),%r8d
mov    -0x40(%rbp),%r9
mov    $0x10,%esi
mov    $0x9,%ecx
call   1060 <convlv@plt>
lea    0xd55(%rip),%rdi
lea    0xd5d(%rip),%rsi
lea    0xd58(%rip),%rdx
lea    0xd58(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
movq   $0x1,-0x10(%rbp)
cmpq   $0x10,-0x10(%rbp)
ja     13ec <main+0x2ac>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x20(%rbp)
movq   $0x1,-0x18(%rbp)
cmpq   $0x4,-0x18(%rbp)
ja     1387 <main+0x247>
mov    -0x28(%rbp),%rax
mov    -0x10(%rbp),%rcx
sub    -0x18(%rbp),%rcx
sub    $0x1,%rcx
add    $0x10,%rcx
and    $0xf,%rcx
movss  0x4(%rax,%rcx,4),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x18(%rbp),%rcx
movss  0x4(%rax,%rcx,4),%xmm2
movss  -0x20(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x20(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x10(%rbp),%rcx
add    -0x18(%rbp),%rcx
sub    $0x1,%rcx
and    $0xf,%rcx
movss  0x4(%rax,%rcx,4),%xmm0
mov    -0x30(%rbp),%rax
mov    $0x9,%ecx
sub    -0x18(%rbp),%rcx
movss  0x4(%rax,%rcx,4),%xmm2
movss  -0x20(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x20(%rbp)
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    12ee <main+0x1ae>
mov    -0x28(%rbp),%rax
mov    -0x10(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x30(%rbp),%rax
movss  0x4(%rax),%xmm2
movss  -0x20(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x20(%rbp)
mov    -0x10(%rbp),%rsi
mov    -0x40(%rbp),%rax
mov    -0x10(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x20(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xc51(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    12d3 <main+0x193>
mov    -0x40(%rbp),%rdi
mov    $0x1,%esi
mov    $0x20,%edx
call   1040 <free_vector@plt>
mov    -0x38(%rbp),%rdi
mov    $0x1,%esi
mov    $0x10,%edx
call   1040 <free_vector@plt>
mov    -0x30(%rbp),%rdi
mov    $0x1,%esi
mov    $0x10,%edx
call   1040 <free_vector@plt>
mov    -0x28(%rbp),%rdi
mov    $0x1,%esi
mov    $0x10,%edx
call   1040 <free_vector@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x1,%edi
mov    $0x10,%esi
call   1050 <vector@plt>
mov    %rax,%r14
mov    $0x1,%edi
mov    $0x10,%esi
call   1050 <vector@plt>
mov    %rax,%rbx
mov    $0x1,%edi
mov    $0x10,%esi
call   1050 <vector@plt>
mov    %rax,%r15
mov    $0x1,%edi
mov    $0x20,%esi
call   1050 <vector@plt>
mov    %rax,%r12
xorps  %xmm0,%xmm0
movups %xmm0,0x4(%r14)
movaps 0xe5e(%rip),%xmm1
movups %xmm1,0x14(%r14)
movaps 0xe62(%rip),%xmm1
movups %xmm1,0x24(%r14)
movups %xmm0,0x34(%r14)
movl   $0x0,0x4(%rbx)
movl   $0x0,0x4(%r15)
movl   $0x0,0x8(%rbx)
movl   $0x0,0x8(%r15)
movl   $0x3f800000,0xc(%rbx)
movl   $0x3f800000,0xc(%r15)
3f
movl   $0x3f800000,0x10(%rbx)
movl   $0x3f800000,0x10(%r15)
3f
movl   $0x3f800000,0x14(%rbx)
movl   $0x3f800000,0x14(%r15)
3f
movl   $0x3f800000,0x18(%rbx)
movl   $0x3f800000,0x18(%r15)
3f
movl   $0x0,0x1c(%rbx)
movl   $0x0,0x1c(%r15)
movl   $0x0,0x20(%rbx)
movl   $0x0,0x20(%r15)
movl   $0x0,0x24(%rbx)
movl   $0x0,0x24(%r15)
mov    %r14,%rdi
mov    $0x10,%esi
mov    %r15,%rdx
mov    $0x9,%ecx
mov    $0x1,%r8d
mov    %rax,%r9
call   1060 <convlv@plt>
lea    0xdc0(%rip),%rdi
lea    0xdc8(%rip),%rsi
lea    0xdc3(%rip),%rdx
lea    0xdc3(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0xf,%ebp
lea    0xdb9(%rip),%r13
nopl   0x0(%rax)
lea    -0xe(%rbp),%rsi
mov    %ebp,%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm0
mulss  0x8(%rbx),%xmm0
addss  0xd73(%rip),%xmm0
mov    %esi,%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm1
mulss  0x24(%rbx),%xmm1
addss  %xmm0,%xmm1
lea    -0x1(%rbp),%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm0
mulss  0xc(%rbx),%xmm0
addss  %xmm1,%xmm0
lea    -0xd(%rbp),%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm1
mulss  0x20(%rbx),%xmm1
addss  %xmm0,%xmm1
lea    -0x2(%rbp),%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm0
mulss  0x10(%rbx),%xmm0
addss  %xmm1,%xmm0
lea    -0xc(%rbp),%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm1
mulss  0x1c(%rbx),%xmm1
addss  %xmm0,%xmm1
lea    -0x3(%rbp),%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm0
mulss  0x14(%rbx),%xmm0
addss  %xmm1,%xmm0
lea    -0xb(%rbp),%eax
and    $0xf,%eax
movss  0x4(%r14,%rax,4),%xmm1
mulss  0x18(%rbx),%xmm1
addss  %xmm0,%xmm1
movss  -0x38(%r14,%rbp,4),%xmm2
mulss  0x4(%rbx),%xmm2
addss  %xmm1,%xmm2
movss  -0x38(%r12,%rbp,4),%xmm0
cvtss2sd %xmm0,%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm2,%xmm1
mov    %r13,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
add    $0x1,%rbp
cmp    $0x1f,%rbp
jne    1290 <main+0x150>
mov    %r12,%rdi
mov    $0x1,%esi
mov    $0x20,%edx
call   1040 <free_vector@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x10,%edx
call   1040 <free_vector@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x10,%edx
call   1040 <free_vector@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x10,%edx
call   1040 <free_vector@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [15 x i8] c"%3s %14s %13s\0A\00"
@.str.1 = [2 x i8] c"i\00"
@.str.2 = [7 x i8] c"CONVLV\00"
@.str.3 = [9 x i8] c"Expected\00"
@.str.4 = [20 x i8] c"%3ld %15.6f %12.6f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i32
%5 = alloca float
%6 = alloca float*
%7 = alloca float*
%8 = alloca float*
%9 = alloca float*
store i32 0, i32* %1
%10 = call float* @vector(i32 1, i32 16)
store float* %10, float** %6
%11 = call float* @vector(i32 1, i32 16)
store float* %11, float** %7
%12 = call float* @vector(i32 1, i32 16)
store float* %12, float** %8
%13 = call float* @vector(i32 1, i32 32)
store float* %13, float** %9
store i64 1, i64* %2
br label %14
14: ; preds = %32, %0
%15 = load i64, i64* %2
%16 = icmp ule i64 %15, 16
br i1 %16, label %17, label %35
17: ; preds = %14
%18 = load i64, i64* %2
%19 = icmp uge i64 %18, 6
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load i64, i64* %2
%22 = icmp ule i64 %21, 10
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load float*, float** %6
%25 = load i64, i64* %2
%26 = getelementptr inbounds float, float* %24, i64 %25
store float 1.000000e+00, float* %26
br label %31
27: ; preds = %20, %17
%28 = load float*, float** %6
%29 = load i64, i64* %2
%30 = getelementptr inbounds float, float* %28, i64 %29
store float 0.000000e+00, float* %30
br label %31
31: ; preds = %27, %23
br label %32
32: ; preds = %31
%33 = load i64, i64* %2
%34 = add i64 %33, 1
store i64 %34, i64* %2
br label %14
35: ; preds = %14
store i64 1, i64* %2
br label %36
36: ; preds = %61, %35
%37 = load i64, i64* %2
%38 = icmp ule i64 %37, 9
br i1 %38, label %39, label %64
39: ; preds = %36
%40 = load i64, i64* %2
%41 = icmp ugt i64 %40, 2
br i1 %41, label %42, label %49
42: ; preds = %39
%43 = load i64, i64* %2
%44 = icmp ult i64 %43, 7
br i1 %44, label %45, label %49
45: ; preds = %42
%46 = load float*, float** %7
%47 = load i64, i64* %2
%48 = getelementptr inbounds float, float* %46, i64 %47
store float 1.000000e+00, float* %48
br label %53
49: ; preds = %42, %39
%50 = load float*, float** %7
%51 = load i64, i64* %2
%52 = getelementptr inbounds float, float* %50, i64 %51
store float 0.000000e+00, float* %52
br label %53
53: ; preds = %49, %45
%54 = load float*, float** %7
%55 = load i64, i64* %2
%56 = getelementptr inbounds float, float* %54, i64 %55
%57 = load float, float* %56
%58 = load float*, float** %8
%59 = load i64, i64* %2
%60 = getelementptr inbounds float, float* %58, i64 %59
store float %57, float* %60
br label %61
61: ; preds = %53
%62 = load i64, i64* %2
%63 = add i64 %62, 1
store i64 %63, i64* %2
br label %36
64: ; preds = %36
store i32 1, i32* %4
%65 = load float*, float** %6
%66 = load float*, float** %8
%67 = load i32, i32* %4
%68 = load float*, float** %9
%69 = call i32 @convlv(float* %65, i32 16, float* %66, i32 9, i32 %67, float* %68)
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
store i64 1, i64* %2
br label %71
71: ; preds = %135, %64
%72 = load i64, i64* %2
%73 = icmp ule i64 %72, 16
br i1 %73, label %74, label %138
74: ; preds = %71
store float 0.000000e+00, float* %5
store i64 1, i64* %3
br label %75
75: ; preds = %113, %74
%76 = load i64, i64* %3
%77 = icmp ule i64 %76, 4
br i1 %77, label %78, label %116
78: ; preds = %75
%79 = load float*, float** %6
%80 = load i64, i64* %2
%81 = load i64, i64* %3
%82 = sub i64 %80, %81
%83 = sub i64 %82, 1
%84 = add i64 %83, 16
%85 = urem i64 %84, 16
%86 = add i64 %85, 1
%87 = getelementptr inbounds float, float* %79, i64 %86
%88 = load float, float* %87
%89 = load float*, float** %7
%90 = load i64, i64* %3
%91 = add i64 %90, 1
%92 = getelementptr inbounds float, float* %89, i64 %91
%93 = load float, float* %92
%94 = load float, float* %5
%95 = call float @llvm.fmuladd.f32(float %88, float %93, float %94)
store float %95, float* %5
%96 = load float*, float** %6
%97 = load i64, i64* %2
%98 = load i64, i64* %3
%99 = add i64 %97, %98
%100 = sub i64 %99, 1
%101 = urem i64 %100, 16
%102 = add i64 %101, 1
%103 = getelementptr inbounds float, float* %96, i64 %102
%104 = load float, float* %103
%105 = load float*, float** %7
%106 = load i64, i64* %3
%107 = sub i64 9, %106
%108 = add i64 %107, 1
%109 = getelementptr inbounds float, float* %105, i64 %108
%110 = load float, float* %109
%111 = load float, float* %5
%112 = call float @llvm.fmuladd.f32(float %104, float %110, float %111)
store float %112, float* %5
br label %113
113: ; preds = %78
%114 = load i64, i64* %3
%115 = add i64 %114, 1
store i64 %115, i64* %3
br label %75
116: ; preds = %75
%117 = load float*, float** %6
%118 = load i64, i64* %2
%119 = getelementptr inbounds float, float* %117, i64 %118
%120 = load float, float* %119
%121 = load float*, float** %7
%122 = getelementptr inbounds float, float* %121, i64 1
%123 = load float, float* %122
%124 = load float, float* %5
%125 = call float @llvm.fmuladd.f32(float %120, float %123, float %124)
store float %125, float* %5
%126 = load i64, i64* %2
%127 = load float*, float** %9
%128 = load i64, i64* %2
%129 = getelementptr inbounds float, float* %127, i64 %128
%130 = load float, float* %129
%131 = fpext float %130 to double
%132 = load float, float* %5
%133 = fpext float %132 to double
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i64 %126, double %131, double %133)
br label %135
135: ; preds = %116
%136 = load i64, i64* %2
%137 = add i64 %136, 1
store i64 %137, i64* %2
br label %71
138: ; preds = %71
%139 = load float*, float** %9
%140 = call i32 @free_vector(float* %139, i32 1, i32 32)
%141 = load float*, float** %8
%142 = call i32 @free_vector(float* %141, i32 1, i32 16)
%143 = load float*, float** %7
%144 = call i32 @free_vector(float* %143, i32 1, i32 16)
%145 = load float*, float** %6
%146 = call i32 @free_vector(float* %145, i32 1, i32 16)
ret i32 0
}

LLVM IR (-O2):
@.str = [15 x i8] c"%3s %14s %13s\0A\00"
@.str.1 = [2 x i8] c"i\00"
@.str.2 = [7 x i8] c"CONVLV\00"
@.str.3 = [9 x i8] c"Expected\00"
@.str.4 = [20 x i8] c"%3ld %15.6f %12.6f\0A\00"
define i32 @main() {
%1 = tail call float* @vector(i32 1, i32 16)
%2 = tail call float* @vector(i32 1, i32 16)
%3 = tail call float* @vector(i32 1, i32 16)
%4 = tail call float* @vector(i32 1, i32 32)
%5 = getelementptr inbounds float, float* %1, i64 1
store float 0.000000e+00, float* %5
%6 = getelementptr inbounds float, float* %1, i64 2
store float 0.000000e+00, float* %6
%7 = getelementptr inbounds float, float* %1, i64 3
store float 0.000000e+00, float* %7
%8 = getelementptr inbounds float, float* %1, i64 4
store float 0.000000e+00, float* %8
%9 = getelementptr inbounds float, float* %1, i64 5
store float 0.000000e+00, float* %9
%10 = getelementptr inbounds float, float* %1, i64 6
store float 1.000000e+00, float* %10
%11 = getelementptr inbounds float, float* %1, i64 7
store float 1.000000e+00, float* %11
%12 = getelementptr inbounds float, float* %1, i64 8
store float 1.000000e+00, float* %12
%13 = getelementptr inbounds float, float* %1, i64 9
store float 1.000000e+00, float* %13
%14 = getelementptr inbounds float, float* %1, i64 10
store float 1.000000e+00, float* %14
%15 = getelementptr inbounds float, float* %1, i64 11
store float 0.000000e+00, float* %15
%16 = getelementptr inbounds float, float* %1, i64 12
store float 0.000000e+00, float* %16
%17 = getelementptr inbounds float, float* %1, i64 13
store float 0.000000e+00, float* %17
%18 = getelementptr inbounds float, float* %1, i64 14
store float 0.000000e+00, float* %18
%19 = getelementptr inbounds float, float* %1, i64 15
store float 0.000000e+00, float* %19
%20 = getelementptr inbounds float, float* %1, i64 16
store float 0.000000e+00, float* %20
%21 = getelementptr inbounds float, float* %2, i64 1
store float 0.000000e+00, float* %21
%22 = getelementptr inbounds float, float* %3, i64 1
store float 0.000000e+00, float* %22
%23 = getelementptr inbounds float, float* %2, i64 2
store float 0.000000e+00, float* %23
%24 = getelementptr inbounds float, float* %3, i64 2
store float 0.000000e+00, float* %24
%25 = getelementptr inbounds float, float* %2, i64 3
store float 1.000000e+00, float* %25
%26 = getelementptr inbounds float, float* %3, i64 3
store float 1.000000e+00, float* %26
%27 = getelementptr inbounds float, float* %2, i64 4
store float 1.000000e+00, float* %27
%28 = getelementptr inbounds float, float* %3, i64 4
store float 1.000000e+00, float* %28
%29 = getelementptr inbounds float, float* %2, i64 5
store float 1.000000e+00, float* %29
%30 = getelementptr inbounds float, float* %3, i64 5
store float 1.000000e+00, float* %30
%31 = getelementptr inbounds float, float* %2, i64 6
store float 1.000000e+00, float* %31
%32 = getelementptr inbounds float, float* %3, i64 6
store float 1.000000e+00, float* %32
%33 = getelementptr inbounds float, float* %2, i64 7
store float 0.000000e+00, float* %33
%34 = getelementptr inbounds float, float* %3, i64 7
store float 0.000000e+00, float* %34
%35 = getelementptr inbounds float, float* %2, i64 8
store float 0.000000e+00, float* %35
%36 = getelementptr inbounds float, float* %3, i64 8
store float 0.000000e+00, float* %36
%37 = getelementptr inbounds float, float* %2, i64 9
store float 0.000000e+00, float* %37
%38 = getelementptr inbounds float, float* %3, i64 9
store float 0.000000e+00, float* %38
%39 = tail call i32 @convlv(float* %1, i32 16, float* %3, i32 9, i32 1, float* %4)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %41
41: ; preds = %0, %41
%42 = phi i64 [ 1, %0 ], [ %107, %41 ]
%43 = add nuw i64 %42, 14
%44 = and i64 %43, 15
%45 = add nuw nsw i64 %44, 1
%46 = getelementptr inbounds float, float* %1, i64 %45
%47 = load float, float* %46
%48 = load float, float* %23
%49 = tail call float @llvm.fmuladd.f32(float %47, float %48, float 0.000000e+00)
%50 = and i64 %42, 15
%51 = add nuw nsw i64 %50, 1
%52 = getelementptr inbounds float, float* %1, i64 %51
%53 = load float, float* %52
%54 = load float, float* %37
%55 = tail call float @llvm.fmuladd.f32(float %53, float %54, float %49)
%56 = add nuw i64 %42, 13
%57 = and i64 %56, 15
%58 = add nuw nsw i64 %57, 1
%59 = getelementptr inbounds float, float* %1, i64 %58
%60 = load float, float* %59
%61 = load float, float* %25
%62 = tail call float @llvm.fmuladd.f32(float %60, float %61, float %55)
%63 = add nuw i64 %42, 1
%64 = and i64 %63, 15
%65 = add nuw nsw i64 %64, 1
%66 = getelementptr inbounds float, float* %1, i64 %65
%67 = load float, float* %66
%68 = load float, float* %35
%69 = tail call float @llvm.fmuladd.f32(float %67, float %68, float %62)
%70 = add nuw i64 %42, 12
%71 = and i64 %70, 15
%72 = add nuw nsw i64 %71, 1
%73 = getelementptr inbounds float, float* %1, i64 %72
%74 = load float, float* %73
%75 = load float, float* %27
%76 = tail call float @llvm.fmuladd.f32(float %74, float %75, float %69)
%77 = add nuw i64 %42, 2
%78 = and i64 %77, 15
%79 = add nuw nsw i64 %78, 1
%80 = getelementptr inbounds float, float* %1, i64 %79
%81 = load float, float* %80
%82 = load float, float* %33
%83 = tail call float @llvm.fmuladd.f32(float %81, float %82, float %76)
%84 = add nuw i64 %42, 11
%85 = and i64 %84, 15
%86 = add nuw nsw i64 %85, 1
%87 = getelementptr inbounds float, float* %1, i64 %86
%88 = load float, float* %87
%89 = load float, float* %29
%90 = tail call float @llvm.fmuladd.f32(float %88, float %89, float %83)
%91 = add nuw i64 %42, 3
%92 = and i64 %91, 15
%93 = add nuw nsw i64 %92, 1
%94 = getelementptr inbounds float, float* %1, i64 %93
%95 = load float, float* %94
%96 = load float, float* %31
%97 = tail call float @llvm.fmuladd.f32(float %95, float %96, float %90)
%98 = getelementptr inbounds float, float* %1, i64 %42
%99 = load float, float* %98
%100 = load float, float* %21
%101 = tail call float @llvm.fmuladd.f32(float %99, float %100, float %97)
%102 = getelementptr inbounds float, float* %4, i64 %42
%103 = load float, float* %102
%104 = fpext float %103 to double
%105 = fpext float %101 to double
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i64 %42, double %104, double %105)
%107 = add nuw nsw i64 %42, 1
%108 = icmp eq i64 %107, 17
br i1 %108, label %109, label %41
109: ; preds = %41
%110 = tail call i32 @free_vector(float* %4, i32 1, i32 32)
%111 = tail call i32 @free_vector(float* %3, i32 1, i32 16)
%112 = tail call i32 @free_vector(float* %2, i32 1, i32 16)
%113 = tail call i32 @free_vector(float* %1, i32 1, i32 16)
ret i32 0
}