; LLVM IR from jgaeddert/liquid-dsp :: examples (eqrls_cccf_example)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca { float, float }, align 4
  %16 = alloca ptr, align 8
  %17 = alloca { float, float }, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 512, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 256, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 6, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 12, ptr %5, align 4, !tbaa !5
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = zext i32 %21 to i64
  %23 = call ptr @llvm.stacksave.p0()
  store ptr %23, ptr %6, align 8
  %24 = alloca { float, float }, i64 %22, align 16
  store i64 %22, ptr %7, align 8
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = zext i32 %25 to i64
  %27 = alloca { float, float }, i64 %26, align 16
  store i64 %26, ptr %8, align 8
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = zext i32 %28 to i64
  %30 = alloca { float, float }, i64 %29, align 16
  store i64 %29, ptr %9, align 8
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = zext i32 %31 to i64
  %33 = alloca { float, float }, i64 %32, align 16
  store i64 %32, ptr %10, align 8
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = zext i32 %34 to i64
  %36 = alloca { float, float }, i64 %35, align 16
  store i64 %35, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %37 = load i32, ptr %5, align 4, !tbaa !5
  %38 = call ptr @eqrls_cccf_create(ptr noundef null, i32 noundef %37)
  store ptr %38, ptr %13, align 8, !tbaa !9
  %39 = getelementptr inbounds { float, float }, ptr %33, i64 0
  %40 = getelementptr inbounds { float, float }, ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds { float, float }, ptr %39, i32 0, i32 1
  store float 1.000000e+00, ptr %40, align 16
  store float 0.000000e+00, ptr %41, align 4
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %59, %0
  %43 = load i32, ptr %12, align 4, !tbaa !5
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = icmp ult i32 %43, %44
  br i1 %45, label %46, label %62

46:                                               ; preds = %42
  %47 = call float (...) @randnf()
  %48 = call float (...) @randnf()
  %49 = fmul float %48, 0.000000e+00
  %50 = fmul float %48, 1.000000e+00
  %51 = fadd float %47, %49
  %52 = fmul float %51, 0x3FB99999A0000000
  %53 = fmul float %50, 0x3FB99999A0000000
  %54 = load i32, ptr %12, align 4, !tbaa !5
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds { float, float }, ptr %33, i64 %55
  %57 = getelementptr inbounds { float, float }, ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds { float, float }, ptr %56, i32 0, i32 1
  store float %52, ptr %57, align 8
  store float %53, ptr %58, align 4
  br label %59

59:                                               ; preds = %46
  %60 = load i32, ptr %12, align 4, !tbaa !5
  %61 = add i32 %60, 1
  store i32 %61, ptr %12, align 4, !tbaa !5
  br label %42, !llvm.loop !11

62:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = call ptr @firfilt_cccf_create(ptr noundef %33, i32 noundef %63)
  store ptr %64, ptr %14, align 8, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %88, %62
  %66 = load i32, ptr %12, align 4, !tbaa !5
  %67 = load i32, ptr %2, align 4, !tbaa !5
  %68 = icmp ult i32 %66, %67
  br i1 %68, label %69, label %91

69:                                               ; preds = %65
  %70 = call i32 @rand() #5
  %71 = srem i32 %70, 2
  %72 = icmp ne i32 %71, 0
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, float 1.000000e+00, float -1.000000e+00
  %75 = call i32 @rand() #5
  %76 = srem i32 %75, 2
  %77 = icmp ne i32 %76, 0
  %78 = zext i1 %77 to i64
  %79 = select i1 %77, float 1.000000e+00, float -1.000000e+00
  %80 = fmul float %79, 0.000000e+00
  %81 = fmul float %79, 1.000000e+00
  %82 = fadd float %74, %80
  %83 = load i32, ptr %12, align 4, !tbaa !5
  %84 = zext i32 %83 to i64
  %85 = getelementptr inbounds { float, float }, ptr %24, i64 %84
  %86 = getelementptr inbounds { float, float }, ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds { float, float }, ptr %85, i32 0, i32 1
  store float %82, ptr %86, align 8
  store float %81, ptr %87, align 4
  br label %88

88:                                               ; preds = %69
  %89 = load i32, ptr %12, align 4, !tbaa !5
  %90 = add i32 %89, 1
  store i32 %90, ptr %12, align 4, !tbaa !5
  br label %65, !llvm.loop !13

91:                                               ; preds = %65
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %114, %91
  %93 = load i32, ptr %12, align 4, !tbaa !5
  %94 = load i32, ptr %2, align 4, !tbaa !5
  %95 = icmp ult i32 %93, %94
  br i1 %95, label %96, label %117

96:                                               ; preds = %92
  %97 = load ptr, ptr %14, align 8, !tbaa !9
  %98 = load i32, ptr %12, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds { float, float }, ptr %24, i64 %99
  %101 = getelementptr inbounds { float, float }, ptr %100, i32 0, i32 0
  %102 = load float, ptr %101, align 8
  %103 = getelementptr inbounds { float, float }, ptr %100, i32 0, i32 1
  %104 = load float, ptr %103, align 4
  %105 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 0
  %106 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 1
  store float %102, ptr %105, align 4
  store float %104, ptr %106, align 4
  %107 = load <2 x float>, ptr %15, align 4
  %108 = call i32 @firfilt_cccf_push(ptr noundef %97, <2 x float> noundef %107)
  %109 = load ptr, ptr %14, align 8, !tbaa !9
  %110 = load i32, ptr %12, align 4, !tbaa !5
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds { float, float }, ptr %27, i64 %111
  %113 = call i32 @firfilt_cccf_execute(ptr noundef %109, ptr noundef %112)
  br label %114

114:                                              ; preds = %96
  %115 = load i32, ptr %12, align 4, !tbaa !5
  %116 = add i32 %115, 1
  store i32 %116, ptr %12, align 4, !tbaa !5
  br label %92, !llvm.loop !14

117:                                              ; preds = %92
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %128, %117
  %119 = load i32, ptr %12, align 4, !tbaa !5
  %120 = load i32, ptr %5, align 4, !tbaa !5
  %121 = icmp ult i32 %119, %120
  br i1 %121, label %122, label %131

122:                                              ; preds = %118
  %123 = load i32, ptr %12, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds { float, float }, ptr %36, i64 %124
  %126 = getelementptr inbounds { float, float }, ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds { float, float }, ptr %125, i32 0, i32 1
  store float 0.000000e+00, ptr %126, align 8
  store float 0.000000e+00, ptr %127, align 4
  br label %128

128:                                              ; preds = %122
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = add i32 %129, 1
  store i32 %130, ptr %12, align 4, !tbaa !5
  br label %118, !llvm.loop !15

131:                                              ; preds = %118
  %132 = load ptr, ptr %13, align 8, !tbaa !9
  %133 = load i32, ptr %3, align 4, !tbaa !5
  %134 = call i32 @eqrls_cccf_train(ptr noundef %132, ptr noundef %36, ptr noundef %27, ptr noundef %24, i32 noundef %133)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %135 = load i32, ptr %5, align 4, !tbaa !5
  %136 = call ptr @firfilt_cccf_create(ptr noundef %36, i32 noundef %135)
  store ptr %136, ptr %16, align 8, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %137

137:                                              ; preds = %159, %131
  %138 = load i32, ptr %12, align 4, !tbaa !5
  %139 = load i32, ptr %2, align 4, !tbaa !5
  %140 = icmp ult i32 %138, %139
  br i1 %140, label %141, label %162

141:                                              ; preds = %137
  %142 = load ptr, ptr %16, align 8, !tbaa !9
  %143 = load i32, ptr %12, align 4, !tbaa !5
  %144 = zext i32 %143 to i64
  %145 = getelementptr inbounds { float, float }, ptr %27, i64 %144
  %146 = getelementptr inbounds { float, float }, ptr %145, i32 0, i32 0
  %147 = load float, ptr %146, align 8
  %148 = getelementptr inbounds { float, float }, ptr %145, i32 0, i32 1
  %149 = load float, ptr %148, align 4
  %150 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %151 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %147, ptr %150, align 4
  store float %149, ptr %151, align 4
  %152 = load <2 x float>, ptr %17, align 4
  %153 = call i32 @firfilt_cccf_push(ptr noundef %142, <2 x float> noundef %152)
  %154 = load ptr, ptr %16, align 8, !tbaa !9
  %155 = load i32, ptr %12, align 4, !tbaa !5
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds { float, float }, ptr %30, i64 %156
  %158 = call i32 @firfilt_cccf_execute(ptr noundef %154, ptr noundef %157)
  br label %159

159:                                              ; preds = %141
  %160 = load i32, ptr %12, align 4, !tbaa !5
  %161 = add i32 %160, 1
  store i32 %161, ptr %12, align 4, !tbaa !5
  br label %137, !llvm.loop !16

162:                                              ; preds = %137
  %163 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %164

164:                                              ; preds = %187, %162
  %165 = load i32, ptr %12, align 4, !tbaa !5
  %166 = load i32, ptr %4, align 4, !tbaa !5
  %167 = icmp ult i32 %165, %166
  br i1 %167, label %168, label %190

168:                                              ; preds = %164
  %169 = load i32, ptr %12, align 4, !tbaa !5
  %170 = load i32, ptr %12, align 4, !tbaa !5
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds { float, float }, ptr %33, i64 %171
  %173 = getelementptr inbounds { float, float }, ptr %172, i32 0, i32 0
  %174 = load float, ptr %173, align 8
  %175 = getelementptr inbounds { float, float }, ptr %172, i32 0, i32 1
  %176 = load float, ptr %175, align 4
  %177 = fpext float %174 to double
  %178 = load i32, ptr %12, align 4, !tbaa !5
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds { float, float }, ptr %33, i64 %179
  %181 = getelementptr inbounds { float, float }, ptr %180, i32 0, i32 0
  %182 = load float, ptr %181, align 8
  %183 = getelementptr inbounds { float, float }, ptr %180, i32 0, i32 1
  %184 = load float, ptr %183, align 4
  %185 = fpext float %184 to double
  %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %169, double noundef %177, double noundef %185)
  br label %187

187:                                              ; preds = %168
  %188 = load i32, ptr %12, align 4, !tbaa !5
  %189 = add i32 %188, 1
  store i32 %189, ptr %12, align 4, !tbaa !5
  br label %164, !llvm.loop !17

190:                                              ; preds = %164
  %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %192

192:                                              ; preds = %215, %190
  %193 = load i32, ptr %12, align 4, !tbaa !5
  %194 = load i32, ptr %5, align 4, !tbaa !5
  %195 = icmp ult i32 %193, %194
  br i1 %195, label %196, label %218

196:                                              ; preds = %192
  %197 = load i32, ptr %12, align 4, !tbaa !5
  %198 = load i32, ptr %12, align 4, !tbaa !5
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds { float, float }, ptr %36, i64 %199
  %201 = getelementptr inbounds { float, float }, ptr %200, i32 0, i32 0
  %202 = load float, ptr %201, align 8
  %203 = getelementptr inbounds { float, float }, ptr %200, i32 0, i32 1
  %204 = load float, ptr %203, align 4
  %205 = fpext float %202 to double
  %206 = load i32, ptr %12, align 4, !tbaa !5
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds { float, float }, ptr %36, i64 %207
  %209 = getelementptr inbounds { float, float }, ptr %208, i32 0, i32 0
  %210 = load float, ptr %209, align 8
  %211 = getelementptr inbounds { float, float }, ptr %208, i32 0, i32 1
  %212 = load float, ptr %211, align 4
  %213 = fpext float %212 to double
  %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %197, double noundef %205, double noundef %213)
  br label %215

215:                                              ; preds = %196
  %216 = load i32, ptr %12, align 4, !tbaa !5
  %217 = add i32 %216, 1
  store i32 %217, ptr %12, align 4, !tbaa !5
  br label %192, !llvm.loop !18

218:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store float 0.000000e+00, ptr %19, align 4, !tbaa !19
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %219

219:                                              ; preds = %275, %218
  %220 = load i32, ptr %12, align 4, !tbaa !5
  %221 = load i32, ptr %2, align 4, !tbaa !5
  %222 = icmp ult i32 %220, %221
  br i1 %222, label %223, label %278

223:                                              ; preds = %219
  %224 = load i32, ptr %12, align 4, !tbaa !5
  %225 = zext i32 %224 to i64
  %226 = getelementptr inbounds { float, float }, ptr %24, i64 %225
  %227 = getelementptr inbounds { float, float }, ptr %226, i32 0, i32 0
  %228 = load float, ptr %227, align 8
  %229 = getelementptr inbounds { float, float }, ptr %226, i32 0, i32 1
  %230 = load float, ptr %229, align 4
  %231 = load i32, ptr %12, align 4, !tbaa !5
  %232 = zext i32 %231 to i64
  %233 = getelementptr inbounds { float, float }, ptr %30, i64 %232
  %234 = getelementptr inbounds { float, float }, ptr %233, i32 0, i32 0
  %235 = load float, ptr %234, align 8
  %236 = getelementptr inbounds { float, float }, ptr %233, i32 0, i32 1
  %237 = load float, ptr %236, align 4
  %238 = fsub float %228, %235
  %239 = fsub float %230, %237
  %240 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %241 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  store float %238, ptr %240, align 4
  store float %239, ptr %241, align 4
  %242 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %243 = load float, ptr %242, align 4
  %244 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  %245 = load float, ptr %244, align 4
  %246 = fpext float %243 to double
  %247 = fpext float %245 to double
  %248 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %249 = load float, ptr %248, align 4
  %250 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  %251 = load float, ptr %250, align 4
  %252 = fpext float %249 to double
  %253 = fpext float %251 to double
  %254 = fneg double %253
  %255 = fmul double %246, %252
  %256 = fmul double %247, %254
  %257 = fmul double %246, %254
  %258 = fmul double %247, %252
  %259 = fsub double %255, %256
  %260 = fadd double %257, %258
  %261 = fcmp uno double %259, %259
  br i1 %261, label %262, label %268, !prof !21

262:                                              ; preds = %223
  %263 = fcmp uno double %260, %260
  br i1 %263, label %264, label %268, !prof !21

264:                                              ; preds = %262
  %265 = call { double, double } @__muldc3(double noundef %246, double noundef %247, double noundef %252, double noundef %254) #5
  %266 = extractvalue { double, double } %265, 0
  %267 = extractvalue { double, double } %265, 1
  br label %268

268:                                              ; preds = %264, %262, %223
  %269 = phi double [ %259, %223 ], [ %259, %262 ], [ %266, %264 ]
  %270 = phi double [ %260, %223 ], [ %260, %262 ], [ %267, %264 ]
  %271 = fptrunc double %269 to float
  %272 = fptrunc double %270 to float
  %273 = load float, ptr %19, align 4, !tbaa !19
  %274 = fadd float %273, %271
  store float %274, ptr %19, align 4, !tbaa !19
  br label %275

275:                                              ; preds = %268
  %276 = load i32, ptr %12, align 4, !tbaa !5
  %277 = add i32 %276, 1
  store i32 %277, ptr %12, align 4, !tbaa !5
  br label %219, !llvm.loop !22

278:                                              ; preds = %219
  %279 = load i32, ptr %2, align 4, !tbaa !5
  %280 = uitofp i32 %279 to float
  %281 = load float, ptr %19, align 4, !tbaa !19
  %282 = fdiv float %281, %280
  store float %282, ptr %19, align 4, !tbaa !19
  %283 = load float, ptr %19, align 4, !tbaa !19
  %284 = fpext float %283 to double
  %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %284)
  %286 = load ptr, ptr %14, align 8, !tbaa !9
  %287 = call i32 @firfilt_cccf_destroy(ptr noundef %286)
  %288 = load ptr, ptr %13, align 8, !tbaa !9
  %289 = call i32 @eqrls_cccf_destroy(ptr noundef %288)
  %290 = load ptr, ptr %16, align 8, !tbaa !9
  %291 = call i32 @firfilt_cccf_destroy(ptr noundef %290)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %292 = call noalias ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6)
  store ptr %292, ptr %20, align 8, !tbaa !9
  %293 = load ptr, ptr %20, align 8, !tbaa !9
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.7, ptr noundef @.str.5) #5
  %295 = load ptr, ptr %20, align 8, !tbaa !9
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.8) #5
  %297 = load ptr, ptr %20, align 8, !tbaa !9
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef @.str.9) #5
  %299 = load ptr, ptr %20, align 8, !tbaa !9
  %300 = load i32, ptr %2, align 4, !tbaa !5
  %301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %299, ptr noundef @.str.10, i32 noundef %300) #5
  %302 = load ptr, ptr %20, align 8, !tbaa !9
  %303 = load i32, ptr %3, align 4, !tbaa !5
  %304 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %302, ptr noundef @.str.11, i32 noundef %303) #5
  %305 = load ptr, ptr %20, align 8, !tbaa !9
  %306 = load i32, ptr %5, align 4, !tbaa !5
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.12, i32 noundef %306) #5
  %308 = load ptr, ptr %20, align 8, !tbaa !9
  %309 = load i32, ptr %4, align 4, !tbaa !5
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %308, ptr noundef @.str.13, i32 noundef %309) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %311

311:                                              ; preds = %336, %278
  %312 = load i32, ptr %12, align 4, !tbaa !5
  %313 = load i32, ptr %4, align 4, !tbaa !5
  %314 = icmp ult i32 %312, %313
  br i1 %314, label %315, label %339

315:                                              ; preds = %311
  %316 = load ptr, ptr %20, align 8, !tbaa !9
  %317 = load i32, ptr %12, align 4, !tbaa !5
  %318 = add i32 %317, 1
  %319 = load i32, ptr %12, align 4, !tbaa !5
  %320 = zext i32 %319 to i64
  %321 = getelementptr inbounds { float, float }, ptr %33, i64 %320
  %322 = getelementptr inbounds { float, float }, ptr %321, i32 0, i32 0
  %323 = load float, ptr %322, align 8
  %324 = getelementptr inbounds { float, float }, ptr %321, i32 0, i32 1
  %325 = load float, ptr %324, align 4
  %326 = fpext float %323 to double
  %327 = load i32, ptr %12, align 4, !tbaa !5
  %328 = zext i32 %327 to i64
  %329 = getelementptr inbounds { float, float }, ptr %33, i64 %328
  %330 = getelementptr inbounds { float, float }, ptr %329, i32 0, i32 0
  %331 = load float, ptr %330, align 8
  %332 = getelementptr inbounds { float, float }, ptr %329, i32 0, i32 1
  %333 = load float, ptr %332, align 4
  %334 = fpext float %333 to double
  %335 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %316, ptr noundef @.str.14, i32 noundef %318, double noundef %326, double noundef %334) #5
  br label %336

336:                                              ; preds = %315
  %337 = load i32, ptr %12, align 4, !tbaa !5
  %338 = add i32 %337, 1
  store i32 %338, ptr %12, align 4, !tbaa !5
  br label %311, !llvm.loop !23

339:                                              ; preds = %311
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %340

340:                                              ; preds = %365, %339
  %341 = load i32, ptr %12, align 4, !tbaa !5
  %342 = load i32, ptr %5, align 4, !tbaa !5
  %343 = icmp ult i32 %341, %342
  br i1 %343, label %344, label %368

344:                                              ; preds = %340
  %345 = load ptr, ptr %20, align 8, !tbaa !9
  %346 = load i32, ptr %12, align 4, !tbaa !5
  %347 = add i32 %346, 1
  %348 = load i32, ptr %12, align 4, !tbaa !5
  %349 = zext i32 %348 to i64
  %350 = getelementptr inbounds { float, float }, ptr %36, i64 %349
  %351 = getelementptr inbounds { float, float }, ptr %350, i32 0, i32 0
  %352 = load float, ptr %351, align 8
  %353 = getelementptr inbounds { float, float }, ptr %350, i32 0, i32 1
  %354 = load float, ptr %353, align 4
  %355 = fpext float %352 to double
  %356 = load i32, ptr %12, align 4, !tbaa !5
  %357 = zext i32 %356 to i64
  %358 = getelementptr inbounds { float, float }, ptr %36, i64 %357
  %359 = getelementptr inbounds { float, float }, ptr %358, i32 0, i32 0
  %360 = load float, ptr %359, align 8
  %361 = getelementptr inbounds { float, float }, ptr %358, i32 0, i32 1
  %362 = load float, ptr %361, align 4
  %363 = fpext float %362 to double
  %364 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef @.str.15, i32 noundef %347, double noundef %355, double noundef %363) #5
  br label %365

365:                                              ; preds = %344
  %366 = load i32, ptr %12, align 4, !tbaa !5
  %367 = add i32 %366, 1
  store i32 %367, ptr %12, align 4, !tbaa !5
  br label %340, !llvm.loop !24

368:                                              ; preds = %340
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %369

369:                                              ; preds = %434, %368
  %370 = load i32, ptr %12, align 4, !tbaa !5
  %371 = load i32, ptr %2, align 4, !tbaa !5
  %372 = icmp ult i32 %370, %371
  br i1 %372, label %373, label %437

373:                                              ; preds = %369
  %374 = load ptr, ptr %20, align 8, !tbaa !9
  %375 = load i32, ptr %12, align 4, !tbaa !5
  %376 = add i32 %375, 1
  %377 = load i32, ptr %12, align 4, !tbaa !5
  %378 = zext i32 %377 to i64
  %379 = getelementptr inbounds { float, float }, ptr %24, i64 %378
  %380 = getelementptr inbounds { float, float }, ptr %379, i32 0, i32 0
  %381 = load float, ptr %380, align 8
  %382 = getelementptr inbounds { float, float }, ptr %379, i32 0, i32 1
  %383 = load float, ptr %382, align 4
  %384 = fpext float %381 to double
  %385 = load i32, ptr %12, align 4, !tbaa !5
  %386 = zext i32 %385 to i64
  %387 = getelementptr inbounds { float, float }, ptr %24, i64 %386
  %388 = getelementptr inbounds { float, float }, ptr %387, i32 0, i32 0
  %389 = load float, ptr %388, align 8
  %390 = getelementptr inbounds { float, float }, ptr %387, i32 0, i32 1
  %391 = load float, ptr %390, align 4
  %392 = fpext float %391 to double
  %393 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %374, ptr noundef @.str.16, i32 noundef %376, double noundef %384, double noundef %392) #5
  %394 = load ptr, ptr %20, align 8, !tbaa !9
  %395 = load i32, ptr %12, align 4, !tbaa !5
  %396 = add i32 %395, 1
  %397 = load i32, ptr %12, align 4, !tbaa !5
  %398 = zext i32 %397 to i64
  %399 = getelementptr inbounds { float, float }, ptr %27, i64 %398
  %400 = getelementptr inbounds { float, float }, ptr %399, i32 0, i32 0
  %401 = load float, ptr %400, align 8
  %402 = getelementptr inbounds { float, float }, ptr %399, i32 0, i32 1
  %403 = load float, ptr %402, align 4
  %404 = fpext float %401 to double
  %405 = load i32, ptr %12, align 4, !tbaa !5
  %406 = zext i32 %405 to i64
  %407 = getelementptr inbounds { float, float }, ptr %27, i64 %406
  %408 = getelementptr inbounds { float, float }, ptr %407, i32 0, i32 0
  %409 = load float, ptr %408, align 8
  %410 = getelementptr inbounds { float, float }, ptr %407, i32 0, i32 1
  %411 = load float, ptr %410, align 4
  %412 = fpext float %411 to double
  %413 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %394, ptr noundef @.str.17, i32 noundef %396, double noundef %404, double noundef %412) #5
  %414 = load ptr, ptr %20, align 8, !tbaa !9
  %415 = load i32, ptr %12, align 4, !tbaa !5
  %416 = add i32 %415, 1
  %417 = load i32, ptr %12, align 4, !tbaa !5
  %418 = zext i32 %417 to i64
  %419 = getelementptr inbounds { float, float }, ptr %30, i64 %418
  %420 = getelementptr inbounds { float, float }, ptr %419, i32 0, i32 0
  %421 = load float, ptr %420, align 8
  %422 = getelementptr inbounds { float, float }, ptr %419, i32 0, i32 1
  %423 = load float, ptr %422, align 4
  %424 = fpext float %421 to double
  %425 = load i32, ptr %12, align 4, !tbaa !5
  %426 = zext i32 %425 to i64
  %427 = getelementptr inbounds { float, float }, ptr %30, i64 %426
  %428 = getelementptr inbounds { float, float }, ptr %427, i32 0, i32 0
  %429 = load float, ptr %428, align 8
  %430 = getelementptr inbounds { float, float }, ptr %427, i32 0, i32 1
  %431 = load float, ptr %430, align 4
  %432 = fpext float %431 to double
  %433 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %414, ptr noundef @.str.18, i32 noundef %416, double noundef %424, double noundef %432) #5
  br label %434

434:                                              ; preds = %373
  %435 = load i32, ptr %12, align 4, !tbaa !5
  %436 = add i32 %435, 1
  store i32 %436, ptr %12, align 4, !tbaa !5
  br label %369, !llvm.loop !25

437:                                              ; preds = %369
  %438 = load ptr, ptr %20, align 8, !tbaa !9
  %439 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %438, ptr noundef @.str.19) #5
  %440 = load ptr, ptr %20, align 8, !tbaa !9
  %441 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %440, ptr noundef @.str.20) #5
  %442 = load ptr, ptr %20, align 8, !tbaa !9
  %443 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %442, ptr noundef @.str.21) #5
  %444 = load ptr, ptr %20, align 8, !tbaa !9
  %445 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %444, ptr noundef @.str.22) #5
  %446 = load ptr, ptr %20, align 8, !tbaa !9
  %447 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %446, ptr noundef @.str.23) #5
  %448 = load ptr, ptr %20, align 8, !tbaa !9
  %449 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %448, ptr noundef @.str.24) #5
  %450 = load ptr, ptr %20, align 8, !tbaa !9
  %451 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %450, ptr noundef @.str.25) #5
  %452 = load ptr, ptr %20, align 8, !tbaa !9
  %453 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %452, ptr noundef @.str.26) #5
  %454 = load ptr, ptr %20, align 8, !tbaa !9
  %455 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %454, ptr noundef @.str.27) #5
  %456 = load ptr, ptr %20, align 8, !tbaa !9
  %457 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %456, ptr noundef @.str.28) #5
  %458 = load ptr, ptr %20, align 8, !tbaa !9
  %459 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %458, ptr noundef @.str.29) #5
  %460 = load ptr, ptr %20, align 8, !tbaa !9
  %461 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %460, ptr noundef @.str.24) #5
  %462 = load ptr, ptr %20, align 8, !tbaa !9
  %463 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %462, ptr noundef @.str.30) #5
  %464 = load ptr, ptr %20, align 8, !tbaa !9
  %465 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %464, ptr noundef @.str.31) #5
  %466 = load ptr, ptr %20, align 8, !tbaa !9
  %467 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %466, ptr noundef @.str.32) #5
  %468 = load ptr, ptr %20, align 8, !tbaa !9
  %469 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %468, ptr noundef @.str.33) #5
  %470 = load ptr, ptr %20, align 8, !tbaa !9
  %471 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %470, ptr noundef @.str.34) #5
  %472 = load ptr, ptr %20, align 8, !tbaa !9
  %473 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %472, ptr noundef @.str.35) #5
  %474 = load ptr, ptr %20, align 8, !tbaa !9
  %475 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %474, ptr noundef @.str.36) #5
  %476 = load ptr, ptr %20, align 8, !tbaa !9
  %477 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %476, ptr noundef @.str.37) #5
  %478 = load ptr, ptr %20, align 8, !tbaa !9
  %479 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %478, ptr noundef @.str.38) #5
  %480 = load ptr, ptr %20, align 8, !tbaa !9
  %481 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %480, ptr noundef @.str.31) #5
  %482 = load ptr, ptr %20, align 8, !tbaa !9
  %483 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %482, ptr noundef @.str.39) #5
  %484 = load ptr, ptr %20, align 8, !tbaa !9
  %485 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %484, ptr noundef @.str.40) #5
  %486 = load ptr, ptr %20, align 8, !tbaa !9
  %487 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %486, ptr noundef @.str.34) #5
  %488 = load ptr, ptr %20, align 8, !tbaa !9
  %489 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %488, ptr noundef @.str.41) #5
  %490 = load ptr, ptr %20, align 8, !tbaa !9
  %491 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %490, ptr noundef @.str.36) #5
  %492 = load ptr, ptr %20, align 8, !tbaa !9
  %493 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %492, ptr noundef @.str.37) #5
  %494 = load ptr, ptr %20, align 8, !tbaa !9
  %495 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %494, ptr noundef @.str.24) #5
  %496 = load ptr, ptr %20, align 8, !tbaa !9
  %497 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %496, ptr noundef @.str.42) #5
  %498 = load ptr, ptr %20, align 8, !tbaa !9
  %499 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %498, ptr noundef @.str.43) #5
  %500 = load ptr, ptr %20, align 8, !tbaa !9
  %501 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %500, ptr noundef @.str.44) #5
  %502 = load ptr, ptr %20, align 8, !tbaa !9
  %503 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %502, ptr noundef @.str.45) #5
  %504 = load ptr, ptr %20, align 8, !tbaa !9
  %505 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %504, ptr noundef @.str.46) #5
  %506 = load ptr, ptr %20, align 8, !tbaa !9
  %507 = call i32 @fclose(ptr noundef %506)
  %508 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, ptr noundef @.str.5)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %509 = load ptr, ptr %6, align 8
  call void @llvm.stackrestore.p0(ptr %509)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %510 = load i32, ptr %1, align 4
  ret i32 %510
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

declare ptr @eqrls_cccf_create(ptr noundef, i32 noundef) #3

declare float @randnf(...) #3

declare ptr @firfilt_cccf_create(ptr noundef, i32 noundef) #3

; Function Attrs: nounwind
declare i32 @rand() #4

declare i32 @firfilt_cccf_push(ptr noundef, <2 x float> noundef) #3

declare i32 @firfilt_cccf_execute(ptr noundef, ptr noundef) #3

declare i32 @eqrls_cccf_train(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3

declare i32 @printf(ptr noundef, ...) #3

declare { double, double } @__muldc3(double, double, double, double)

declare i32 @firfilt_cccf_destroy(ptr noundef) #3

declare i32 @eqrls_cccf_destroy(ptr noundef) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

declare i32 @fclose(ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !7, i64 0}
!21 = !{!"branch_weights", i32 1, i32 1048575}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [512 x { float, float }], align 16
  %2 = alloca [512 x { float, float }], align 16
  %3 = alloca [512 x { float, float }], align 16
  %4 = alloca [6 x { float, float }], align 16
  %5 = alloca [12 x { float, float }], align 16
  %6 = tail call ptr @eqrls_cccf_create(ptr noundef null, i32 noundef 12) #6
  %7 = getelementptr inbounds i8, ptr %4, i64 4
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %4, align 16
  %8 = tail call float (...) @randnf() #6
  %9 = tail call float (...) @randnf() #6
  %10 = fmul float %9, 0.000000e+00
  %11 = fadd float %8, %10
  %12 = getelementptr inbounds i8, ptr %4, i64 8
  %13 = getelementptr inbounds i8, ptr %4, i64 12
  %14 = tail call float (...) @randnf() #6
  %15 = tail call float (...) @randnf() #6
  %16 = fmul float %15, 0.000000e+00
  %17 = fadd float %14, %16
  %18 = getelementptr inbounds i8, ptr %4, i64 16
  %19 = getelementptr inbounds i8, ptr %4, i64 20
  %20 = insertelement <4 x float> poison, float %11, i64 0
  %21 = insertelement <4 x float> %20, float %9, i64 1
  %22 = insertelement <4 x float> %21, float %17, i64 2
  %23 = insertelement <4 x float> %22, float %15, i64 3
  %24 = fmul <4 x float> %23, <float 0x3FB99999A0000000, float 0x3FB99999A0000000, float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  store <4 x float> %24, ptr %12, align 8
  %25 = tail call float (...) @randnf() #6
  %26 = tail call float (...) @randnf() #6
  %27 = fmul float %26, 0.000000e+00
  %28 = fadd float %25, %27
  %29 = getelementptr inbounds i8, ptr %4, i64 24
  %30 = getelementptr inbounds i8, ptr %4, i64 28
  %31 = tail call float (...) @randnf() #6
  %32 = tail call float (...) @randnf() #6
  %33 = fmul float %32, 0.000000e+00
  %34 = fadd float %31, %33
  %35 = getelementptr inbounds i8, ptr %4, i64 32
  %36 = getelementptr inbounds i8, ptr %4, i64 36
  %37 = insertelement <4 x float> poison, float %28, i64 0
  %38 = insertelement <4 x float> %37, float %26, i64 1
  %39 = insertelement <4 x float> %38, float %34, i64 2
  %40 = insertelement <4 x float> %39, float %32, i64 3
  %41 = fmul <4 x float> %40, <float 0x3FB99999A0000000, float 0x3FB99999A0000000, float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  store <4 x float> %41, ptr %29, align 8
  %42 = tail call float (...) @randnf() #6
  %43 = tail call float (...) @randnf() #6
  %44 = fmul float %43, 0.000000e+00
  %45 = fadd float %42, %44
  %46 = getelementptr inbounds i8, ptr %4, i64 40
  %47 = getelementptr inbounds i8, ptr %4, i64 44
  %48 = insertelement <2 x float> poison, float %45, i64 0
  %49 = insertelement <2 x float> %48, float %43, i64 1
  %50 = fmul <2 x float> %49, <float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  store <2 x float> %50, ptr %46, align 8
  %51 = call ptr @firfilt_cccf_create(ptr noundef nonnull %4, i32 noundef 6) #6
  br label %52

52:                                               ; preds = %0, %52
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %52 ]
  %53 = call i32 @rand() #6
  %54 = and i32 %53, 1
  %.not = icmp eq i32 %54, 0
  %55 = select i1 %.not, float -1.000000e+00, float 1.000000e+00
  %56 = call i32 @rand() #6
  %57 = and i32 %56, 1
  %.not143 = icmp eq i32 %57, 0
  %58 = select i1 %.not143, float -1.000000e+00, float 1.000000e+00
  %59 = call float @llvm.copysign.f32(float 0.000000e+00, float %58)
  %60 = fadd float %55, %59
  %61 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  %62 = getelementptr inbounds i8, ptr %61, i64 4
  store float %60, ptr %61, align 8
  store float %58, ptr %62, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 512
  br i1 %exitcond.not, label %.preheader147, label %52, !llvm.loop !5

.preheader147:                                    ; preds = %52, %.preheader147
  %indvars.iv162 = phi i64 [ %indvars.iv.next163, %.preheader147 ], [ 0, %52 ]
  %63 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv162
  %64 = load <2 x float>, ptr %63, align 8
  %65 = call i32 @firfilt_cccf_push(ptr noundef %51, <2 x float> noundef %64) #6
  %66 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv162
  %67 = call i32 @firfilt_cccf_execute(ptr noundef %51, ptr noundef nonnull %66) #6
  %indvars.iv.next163 = add nuw nsw i64 %indvars.iv162, 1
  %exitcond165.not = icmp eq i64 %indvars.iv.next163, 512
  br i1 %exitcond165.not, label %.preheader146.preheader, label %.preheader147, !llvm.loop !7

.preheader146.preheader:                          ; preds = %.preheader147
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %5, i8 0, i64 96, i1 false)
  %68 = call i32 @eqrls_cccf_train(ptr noundef %6, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %1, i32 noundef 256) #6
  %69 = call ptr @firfilt_cccf_create(ptr noundef nonnull %5, i32 noundef 12) #6
  br label %70

70:                                               ; preds = %.preheader146.preheader, %70
  %indvars.iv169 = phi i64 [ 0, %.preheader146.preheader ], [ %indvars.iv.next170, %70 ]
  %71 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv169
  %72 = load <2 x float>, ptr %71, align 8
  %73 = call i32 @firfilt_cccf_push(ptr noundef %69, <2 x float> noundef %72) #6
  %74 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv169
  %75 = call i32 @firfilt_cccf_execute(ptr noundef %69, ptr noundef nonnull %74) #6
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %exitcond172.not = icmp eq i64 %indvars.iv.next170, 512
  br i1 %exitcond172.not, label %.preheader145.preheader, label %70, !llvm.loop !8

.preheader145.preheader:                          ; preds = %70
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %77 = load float, ptr %4, align 16
  %78 = fpext float %77 to double
  %79 = load float, ptr %7, align 4
  %80 = fpext float %79 to double
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 0, double noundef %78, double noundef %80)
  %82 = load float, ptr %12, align 8
  %83 = fpext float %82 to double
  %84 = load float, ptr %13, align 4
  %85 = fpext float %84 to double
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 1, double noundef %83, double noundef %85)
  %87 = load float, ptr %18, align 16
  %88 = fpext float %87 to double
  %89 = load float, ptr %19, align 4
  %90 = fpext float %89 to double
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 2, double noundef %88, double noundef %90)
  %92 = load float, ptr %29, align 8
  %93 = fpext float %92 to double
  %94 = load float, ptr %30, align 4
  %95 = fpext float %94 to double
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 3, double noundef %93, double noundef %95)
  %97 = load float, ptr %35, align 16
  %98 = fpext float %97 to double
  %99 = load float, ptr %36, align 4
  %100 = fpext float %99 to double
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 4, double noundef %98, double noundef %100)
  %102 = load float, ptr %46, align 8
  %103 = fpext float %102 to double
  %104 = load float, ptr %47, align 4
  %105 = fpext float %104 to double
  %106 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 5, double noundef %103, double noundef %105)
  %107 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %108 = load float, ptr %5, align 16
  %109 = getelementptr inbounds i8, ptr %5, i64 4
  %110 = fpext float %108 to double
  %111 = load float, ptr %109, align 4
  %112 = fpext float %111 to double
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 0, double noundef %110, double noundef %112)
  %114 = getelementptr inbounds i8, ptr %5, i64 8
  %115 = load float, ptr %114, align 8
  %116 = getelementptr inbounds i8, ptr %5, i64 12
  %117 = fpext float %115 to double
  %118 = load float, ptr %116, align 4
  %119 = fpext float %118 to double
  %120 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 1, double noundef %117, double noundef %119)
  %121 = getelementptr inbounds i8, ptr %5, i64 16
  %122 = load float, ptr %121, align 16
  %123 = getelementptr inbounds i8, ptr %5, i64 20
  %124 = fpext float %122 to double
  %125 = load float, ptr %123, align 4
  %126 = fpext float %125 to double
  %127 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 2, double noundef %124, double noundef %126)
  %128 = getelementptr inbounds i8, ptr %5, i64 24
  %129 = load float, ptr %128, align 8
  %130 = getelementptr inbounds i8, ptr %5, i64 28
  %131 = fpext float %129 to double
  %132 = load float, ptr %130, align 4
  %133 = fpext float %132 to double
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 3, double noundef %131, double noundef %133)
  %135 = getelementptr inbounds i8, ptr %5, i64 32
  %136 = load float, ptr %135, align 16
  %137 = getelementptr inbounds i8, ptr %5, i64 36
  %138 = fpext float %136 to double
  %139 = load float, ptr %137, align 4
  %140 = fpext float %139 to double
  %141 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 4, double noundef %138, double noundef %140)
  %142 = getelementptr inbounds i8, ptr %5, i64 40
  %143 = load float, ptr %142, align 8
  %144 = getelementptr inbounds i8, ptr %5, i64 44
  %145 = fpext float %143 to double
  %146 = load float, ptr %144, align 4
  %147 = fpext float %146 to double
  %148 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 5, double noundef %145, double noundef %147)
  %149 = getelementptr inbounds i8, ptr %5, i64 48
  %150 = load float, ptr %149, align 16
  %151 = getelementptr inbounds i8, ptr %5, i64 52
  %152 = fpext float %150 to double
  %153 = load float, ptr %151, align 4
  %154 = fpext float %153 to double
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 6, double noundef %152, double noundef %154)
  %156 = getelementptr inbounds i8, ptr %5, i64 56
  %157 = load float, ptr %156, align 8
  %158 = getelementptr inbounds i8, ptr %5, i64 60
  %159 = fpext float %157 to double
  %160 = load float, ptr %158, align 4
  %161 = fpext float %160 to double
  %162 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 7, double noundef %159, double noundef %161)
  %163 = getelementptr inbounds i8, ptr %5, i64 64
  %164 = load float, ptr %163, align 16
  %165 = getelementptr inbounds i8, ptr %5, i64 68
  %166 = fpext float %164 to double
  %167 = load float, ptr %165, align 4
  %168 = fpext float %167 to double
  %169 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 8, double noundef %166, double noundef %168)
  %170 = getelementptr inbounds i8, ptr %5, i64 72
  %171 = load float, ptr %170, align 8
  %172 = getelementptr inbounds i8, ptr %5, i64 76
  %173 = fpext float %171 to double
  %174 = load float, ptr %172, align 4
  %175 = fpext float %174 to double
  %176 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 9, double noundef %173, double noundef %175)
  %177 = getelementptr inbounds i8, ptr %5, i64 80
  %178 = load float, ptr %177, align 16
  %179 = getelementptr inbounds i8, ptr %5, i64 84
  %180 = fpext float %178 to double
  %181 = load float, ptr %179, align 4
  %182 = fpext float %181 to double
  %183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 10, double noundef %180, double noundef %182)
  %184 = getelementptr inbounds i8, ptr %5, i64 88
  %185 = load float, ptr %184, align 8
  %186 = getelementptr inbounds i8, ptr %5, i64 92
  %187 = fpext float %185 to double
  %188 = load float, ptr %186, align 4
  %189 = fpext float %188 to double
  %190 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 11, double noundef %187, double noundef %189)
  br label %.preheader145

.preheader145:                                    ; preds = %.preheader145.preheader, %211
  %indvars.iv181 = phi i64 [ 0, %.preheader145.preheader ], [ %indvars.iv.next182, %211 ]
  %.0156 = phi float [ 0.000000e+00, %.preheader145.preheader ], [ %214, %211 ]
  %191 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv181
  %192 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv181
  %193 = load <2 x float>, ptr %191, align 8
  %194 = load <2 x float>, ptr %192, align 8
  %195 = fsub <2 x float> %193, %194
  %196 = fpext <2 x float> %195 to <2 x double>
  %197 = extractelement <2 x double> %196, i64 1
  %198 = fneg double %197
  %199 = fmul <2 x double> %196, %196
  %shift = shufflevector <2 x double> %199, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %200 = fadd <2 x double> %199, %shift
  %201 = extractelement <2 x double> %200, i64 0
  %202 = fcmp uno double %201, 0.000000e+00
  br i1 %202, label %203, label %211, !prof !9

203:                                              ; preds = %.preheader145
  %204 = extractelement <2 x double> %196, i64 0
  %205 = fmul double %204, %197
  %206 = fsub double %205, %205
  %207 = fcmp uno double %206, 0.000000e+00
  br i1 %207, label %208, label %211, !prof !9

208:                                              ; preds = %203
  %209 = call { double, double } @__muldc3(double noundef %204, double noundef %197, double noundef %204, double noundef %198) #6
  %210 = extractvalue { double, double } %209, 0
  br label %211

211:                                              ; preds = %208, %203, %.preheader145
  %212 = phi double [ %201, %.preheader145 ], [ %201, %203 ], [ %210, %208 ]
  %213 = fptrunc double %212 to float
  %214 = fadd float %.0156, %213
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  %exitcond184.not = icmp eq i64 %indvars.iv.next182, 512
  br i1 %exitcond184.not, label %.preheader144.preheader, label %.preheader145, !llvm.loop !10

.preheader144.preheader:                          ; preds = %211
  %215 = fmul float %214, 0x3F60000000000000
  %216 = fpext float %215 to double
  %217 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %216)
  %218 = call i32 @firfilt_cccf_destroy(ptr noundef %51) #6
  %219 = call i32 @eqrls_cccf_destroy(ptr noundef %6) #6
  %220 = call i32 @firfilt_cccf_destroy(ptr noundef %69) #6
  %221 = call noalias ptr @fopen(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6)
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.5) #6
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.8) #6
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.9) #6
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.10, i32 noundef 512) #6
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.11, i32 noundef 256) #6
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.12, i32 noundef 12) #6
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.13, i32 noundef 6) #6
  %229 = load float, ptr %4, align 16
  %230 = fpext float %229 to double
  %231 = load float, ptr %7, align 4
  %232 = fpext float %231 to double
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.14, i32 noundef 1, double noundef %230, double noundef %232) #6
  %234 = load float, ptr %12, align 8
  %235 = fpext float %234 to double
  %236 = load float, ptr %13, align 4
  %237 = fpext float %236 to double
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.14, i32 noundef 2, double noundef %235, double noundef %237) #6
  %239 = load float, ptr %18, align 16
  %240 = fpext float %239 to double
  %241 = load float, ptr %19, align 4
  %242 = fpext float %241 to double
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.14, i32 noundef 3, double noundef %240, double noundef %242) #6
  %244 = load float, ptr %29, align 8
  %245 = fpext float %244 to double
  %246 = load float, ptr %30, align 4
  %247 = fpext float %246 to double
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.14, i32 noundef 4, double noundef %245, double noundef %247) #6
  %249 = load float, ptr %35, align 16
  %250 = fpext float %249 to double
  %251 = load float, ptr %36, align 4
  %252 = fpext float %251 to double
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.14, i32 noundef 5, double noundef %250, double noundef %252) #6
  %254 = load float, ptr %46, align 8
  %255 = fpext float %254 to double
  %256 = load float, ptr %47, align 4
  %257 = fpext float %256 to double
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.14, i32 noundef 6, double noundef %255, double noundef %257) #6
  %259 = load float, ptr %5, align 16
  %260 = fpext float %259 to double
  %261 = load float, ptr %109, align 4
  %262 = fpext float %261 to double
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 1, double noundef %260, double noundef %262) #6
  %264 = load float, ptr %114, align 8
  %265 = fpext float %264 to double
  %266 = load float, ptr %116, align 4
  %267 = fpext float %266 to double
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 2, double noundef %265, double noundef %267) #6
  %269 = load float, ptr %121, align 16
  %270 = fpext float %269 to double
  %271 = load float, ptr %123, align 4
  %272 = fpext float %271 to double
  %273 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 3, double noundef %270, double noundef %272) #6
  %274 = load float, ptr %128, align 8
  %275 = fpext float %274 to double
  %276 = load float, ptr %130, align 4
  %277 = fpext float %276 to double
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 4, double noundef %275, double noundef %277) #6
  %279 = load float, ptr %135, align 16
  %280 = fpext float %279 to double
  %281 = load float, ptr %137, align 4
  %282 = fpext float %281 to double
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 5, double noundef %280, double noundef %282) #6
  %284 = load float, ptr %142, align 8
  %285 = fpext float %284 to double
  %286 = load float, ptr %144, align 4
  %287 = fpext float %286 to double
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 6, double noundef %285, double noundef %287) #6
  %289 = load float, ptr %149, align 16
  %290 = fpext float %289 to double
  %291 = load float, ptr %151, align 4
  %292 = fpext float %291 to double
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 7, double noundef %290, double noundef %292) #6
  %294 = load float, ptr %156, align 8
  %295 = fpext float %294 to double
  %296 = load float, ptr %158, align 4
  %297 = fpext float %296 to double
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 8, double noundef %295, double noundef %297) #6
  %299 = load float, ptr %163, align 16
  %300 = fpext float %299 to double
  %301 = load float, ptr %165, align 4
  %302 = fpext float %301 to double
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 9, double noundef %300, double noundef %302) #6
  %304 = load float, ptr %170, align 8
  %305 = fpext float %304 to double
  %306 = load float, ptr %172, align 4
  %307 = fpext float %306 to double
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 10, double noundef %305, double noundef %307) #6
  %309 = load float, ptr %177, align 16
  %310 = fpext float %309 to double
  %311 = load float, ptr %179, align 4
  %312 = fpext float %311 to double
  %313 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 11, double noundef %310, double noundef %312) #6
  %314 = load float, ptr %184, align 8
  %315 = fpext float %314 to double
  %316 = load float, ptr %186, align 4
  %317 = fpext float %316 to double
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.15, i32 noundef 12, double noundef %315, double noundef %317) #6
  br label %.preheader

.preheader:                                       ; preds = %.preheader144.preheader, %.preheader
  %indvars.iv193 = phi i64 [ 0, %.preheader144.preheader ], [ %indvars.iv.next194, %.preheader ]
  %indvars.iv.next194 = add nuw nsw i64 %indvars.iv193, 1
  %319 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv193
  %320 = load float, ptr %319, align 8
  %321 = getelementptr inbounds i8, ptr %319, i64 4
  %322 = fpext float %320 to double
  %323 = load float, ptr %321, align 4
  %324 = fpext float %323 to double
  %325 = trunc nuw nsw i64 %indvars.iv.next194 to i32
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.16, i32 noundef %325, double noundef %322, double noundef %324) #6
  %327 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv193
  %328 = load float, ptr %327, align 8
  %329 = getelementptr inbounds i8, ptr %327, i64 4
  %330 = fpext float %328 to double
  %331 = load float, ptr %329, align 4
  %332 = fpext float %331 to double
  %333 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.17, i32 noundef %325, double noundef %330, double noundef %332) #6
  %334 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv193
  %335 = load float, ptr %334, align 8
  %336 = getelementptr inbounds i8, ptr %334, i64 4
  %337 = fpext float %335 to double
  %338 = load float, ptr %336, align 4
  %339 = fpext float %338 to double
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.18, i32 noundef %325, double noundef %337, double noundef %339) #6
  %exitcond196.not = icmp eq i64 %indvars.iv.next194, 512
  br i1 %exitcond196.not, label %341, label %.preheader, !llvm.loop !11

341:                                              ; preds = %.preheader
  %342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.19) #6
  %343 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.20) #6
  %344 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.21) #6
  %345 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.22) #6
  %346 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.23) #6
  %347 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.24) #6
  %348 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.25) #6
  %349 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.26) #6
  %350 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.27) #6
  %351 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.28) #6
  %352 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.29) #6
  %353 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.24) #6
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.30) #6
  %355 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.31) #6
  %356 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.32) #6
  %357 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.33) #6
  %358 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.34) #6
  %359 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.35) #6
  %360 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.36) #6
  %361 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.37) #6
  %362 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.38) #6
  %363 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.31) #6
  %364 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.39) #6
  %365 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.40) #6
  %366 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.34) #6
  %367 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.41) #6
  %368 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.36) #6
  %369 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.37) #6
  %370 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.24) #6
  %371 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.42) #6
  %372 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.43) #6
  %373 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.44) #6
  %374 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.45) #6
  %375 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.46) #6
  %376 = call i32 @fclose(ptr noundef %221)
  %377 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47, ptr noundef nonnull @.str.5)
  ret i32 0
}

declare ptr @eqrls_cccf_create(ptr noundef, i32 noundef) local_unnamed_addr #1

declare float @randnf(...) local_unnamed_addr #1

declare ptr @firfilt_cccf_create(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

declare i32 @firfilt_cccf_push(ptr noundef, <2 x float> noundef) local_unnamed_addr #1

declare i32 @firfilt_cccf_execute(ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @eqrls_cccf_train(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare { double, double } @__muldc3(double, double, double, double) local_unnamed_addr

declare i32 @firfilt_cccf_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @eqrls_cccf_destroy(ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.copysign.f32(float, float) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = !{!"branch_weights", i32 1, i32 1048575}
!10 = distinct !{!10, !6}
!11 = distinct !{!11, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass