; LLVM IR from jgaeddert/liquid-dsp :: sandbox (pll_design_test)

; 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 [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca [3 x float], align 4
  %14 = alloca [3 x float], align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca { float, float }, align 4
  %26 = alloca float, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca { float, float }, align 4
  %29 = alloca float, align 4
  %30 = alloca { float, float }, align 4
  %31 = alloca { float, float }, align 4
  %32 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store float 0x3FE99999A0000000, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store float 0x3F847AE140000000, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store float 0x3FA99999A0000000, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 0x3FE69FBE80000000, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 256, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = udiv i32 %33, 32
  store i32 %34, ptr %7, align 4, !tbaa !9
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = call ptr @llvm.stacksave.p0()
  store ptr %37, ptr %8, align 8
  %38 = alloca float, i64 %36, align 16
  store i64 %36, ptr %9, align 8
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = alloca { float, float }, i64 %40, align 16
  store i64 %40, ptr %10, align 8
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = alloca float, i64 %43, align 16
  store i64 %43, ptr %11, align 8
  %45 = load i32, ptr %6, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = alloca { float, float }, i64 %46, align 16
  store i64 %46, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %48 = load float, ptr %4, align 4, !tbaa !5
  store float %48, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %49 = load float, ptr %5, align 4, !tbaa !5
  store float %49, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store float 1.000000e+01, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %50 = load float, ptr %17, align 4, !tbaa !5
  %51 = load float, ptr %15, align 4, !tbaa !5
  %52 = load float, ptr %15, align 4, !tbaa !5
  %53 = fmul float %51, %52
  %54 = fdiv float %50, %53
  store float %54, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %55 = load float, ptr %16, align 4, !tbaa !5
  %56 = fmul float 2.000000e+00, %55
  %57 = load float, ptr %15, align 4, !tbaa !5
  %58 = fdiv float %56, %57
  store float %58, ptr %19, align 4, !tbaa !5
  %59 = load float, ptr %17, align 4, !tbaa !5
  %60 = fmul float 2.000000e+00, %59
  %61 = fpext float %60 to double
  %62 = load float, ptr %19, align 4, !tbaa !5
  %63 = fdiv float %62, 2.000000e+00
  %64 = fpext float %63 to double
  %65 = fadd double 1.000000e+00, %64
  %66 = fmul double %61, %65
  %67 = fptrunc double %66 to float
  %68 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
  store float %67, ptr %68, align 4, !tbaa !5
  %69 = load float, ptr %17, align 4, !tbaa !5
  %70 = fmul float 2.000000e+00, %69
  %71 = fpext float %70 to double
  %72 = fmul double %71, 2.000000e+00
  %73 = fptrunc double %72 to float
  %74 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 1
  store float %73, ptr %74, align 4, !tbaa !5
  %75 = load float, ptr %17, align 4, !tbaa !5
  %76 = fmul float 2.000000e+00, %75
  %77 = fpext float %76 to double
  %78 = load float, ptr %19, align 4, !tbaa !5
  %79 = fdiv float %78, 2.000000e+00
  %80 = fpext float %79 to double
  %81 = fsub double 1.000000e+00, %80
  %82 = fmul double %77, %81
  %83 = fptrunc double %82 to float
  %84 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 2
  store float %83, ptr %84, align 4, !tbaa !5
  %85 = load float, ptr %18, align 4, !tbaa !5
  %86 = fdiv float %85, 2.000000e+00
  %87 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0
  store float %86, ptr %87, align 4, !tbaa !5
  %88 = load float, ptr %18, align 4, !tbaa !5
  %89 = fneg float %88
  %90 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1
  store float %89, ptr %90, align 4, !tbaa !5
  %91 = load float, ptr %18, align 4, !tbaa !5
  %92 = fdiv float %91, 2.000000e+00
  %93 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2
  store float %92, ptr %93, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %94 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
  %95 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0
  %96 = call ptr @iirfilt_rrrf_create(ptr noundef %94, i32 noundef 3, ptr noundef %95, i32 noundef 3)
  store ptr %96, ptr %20, align 8, !tbaa !11
  %97 = load ptr, ptr %20, align 8, !tbaa !11
  %98 = call i32 @iirfilt_rrrf_print(ptr noundef %97)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %99 = load float, ptr %2, align 4, !tbaa !5
  store float %99, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %100 = load float, ptr %3, align 4, !tbaa !5
  store float %100, ptr %23, align 4, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %132, %0
  %102 = load i32, ptr %21, align 4, !tbaa !9
  %103 = load i32, ptr %6, align 4, !tbaa !9
  %104 = icmp ult i32 %102, %103
  br i1 %104, label %105, label %135

105:                                              ; preds = %101
  %106 = load float, ptr %22, align 4, !tbaa !5
  %107 = load i32, ptr %21, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds float, ptr %38, i64 %108
  store float %106, ptr %109, align 4, !tbaa !5
  %110 = load i32, ptr %21, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds float, ptr %38, i64 %111
  %113 = load float, ptr %112, align 4, !tbaa !5
  %114 = fmul float 0.000000e+00, %113
  %115 = fmul float 1.000000e+00, %113
  %116 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %117 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %114, ptr %116, align 4
  store float %115, ptr %117, align 4
  %118 = load <2 x float>, ptr %24, align 4
  %119 = call <2 x float> @cexpf(<2 x float> noundef %118) #5
  store <2 x float> %119, ptr %25, align 4
  %120 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %121 = load float, ptr %120, align 4
  %122 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  %123 = load float, ptr %122, align 4
  %124 = load i32, ptr %21, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds { float, float }, ptr %41, i64 %125
  %127 = getelementptr inbounds { float, float }, ptr %126, i32 0, i32 0
  %128 = getelementptr inbounds { float, float }, ptr %126, i32 0, i32 1
  store float %121, ptr %127, align 8
  store float %123, ptr %128, align 4
  %129 = load float, ptr %23, align 4, !tbaa !5
  %130 = load float, ptr %22, align 4, !tbaa !5
  %131 = fadd float %130, %129
  store float %131, ptr %22, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %105
  %133 = load i32, ptr %21, align 4, !tbaa !9
  %134 = add i32 %133, 1
  store i32 %134, ptr %21, align 4, !tbaa !9
  br label %101, !llvm.loop !13

135:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store float 0.000000e+00, ptr %26, align 4, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %211, %135
  %137 = load i32, ptr %21, align 4, !tbaa !9
  %138 = load i32, ptr %6, align 4, !tbaa !9
  %139 = icmp ult i32 %137, %138
  br i1 %139, label %140, label %214

140:                                              ; preds = %136
  %141 = load float, ptr %26, align 4, !tbaa !5
  %142 = fmul float 0.000000e+00, %141
  %143 = fmul float 1.000000e+00, %141
  %144 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %145 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float %142, ptr %144, align 4
  store float %143, ptr %145, align 4
  %146 = load <2 x float>, ptr %27, align 4
  %147 = call <2 x float> @cexpf(<2 x float> noundef %146) #5
  store <2 x float> %147, ptr %28, align 4
  %148 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %149 = load float, ptr %148, align 4
  %150 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %151 = load float, ptr %150, align 4
  %152 = load i32, ptr %21, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = getelementptr inbounds { float, float }, ptr %47, i64 %153
  %155 = getelementptr inbounds { float, float }, ptr %154, i32 0, i32 0
  %156 = getelementptr inbounds { float, float }, ptr %154, i32 0, i32 1
  store float %149, ptr %155, align 8
  store float %151, ptr %156, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %157 = load i32, ptr %21, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds { float, float }, ptr %41, i64 %158
  %160 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 0
  %161 = load float, ptr %160, align 8
  %162 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 1
  %163 = load float, ptr %162, align 4
  %164 = load i32, ptr %21, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = getelementptr inbounds { float, float }, ptr %47, i64 %165
  %167 = getelementptr inbounds { float, float }, ptr %166, i32 0, i32 0
  %168 = load float, ptr %167, align 8
  %169 = getelementptr inbounds { float, float }, ptr %166, i32 0, i32 1
  %170 = load float, ptr %169, align 4
  %171 = fneg float %170
  %172 = fmul float %161, %168
  %173 = fmul float %163, %171
  %174 = fmul float %161, %171
  %175 = fmul float %163, %168
  %176 = fsub float %172, %173
  %177 = fadd float %174, %175
  %178 = fcmp uno float %176, %176
  br i1 %178, label %179, label %187, !prof !15

179:                                              ; preds = %140
  %180 = fcmp uno float %177, %177
  br i1 %180, label %181, label %187, !prof !15

181:                                              ; preds = %179
  %182 = call <2 x float> @__mulsc3(float noundef %161, float noundef %163, float noundef %168, float noundef %171) #5
  store <2 x float> %182, ptr %30, align 4
  %183 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 0
  %184 = load float, ptr %183, align 4
  %185 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 1
  %186 = load float, ptr %185, align 4
  br label %187

187:                                              ; preds = %181, %179, %140
  %188 = phi float [ %176, %140 ], [ %176, %179 ], [ %184, %181 ]
  %189 = phi float [ %177, %140 ], [ %177, %179 ], [ %186, %181 ]
  %190 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 0
  %191 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 1
  store float %188, ptr %190, align 4
  store float %189, ptr %191, align 4
  %192 = load <2 x float>, ptr %31, align 4
  %193 = call float @cargf(<2 x float> noundef %192) #5
  store float %193, ptr %29, align 4, !tbaa !5
  %194 = load i32, ptr %21, align 4, !tbaa !9
  %195 = load i32, ptr %7, align 4, !tbaa !9
  %196 = urem i32 %194, %195
  %197 = icmp eq i32 %196, 0
  br i1 %197, label %198, label %203

198:                                              ; preds = %187
  %199 = load i32, ptr %21, align 4, !tbaa !9
  %200 = load float, ptr %29, align 4, !tbaa !5
  %201 = fpext float %200 to double
  %202 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %199, double noundef %201)
  br label %203

203:                                              ; preds = %198, %187
  %204 = load ptr, ptr %20, align 8, !tbaa !11
  %205 = load float, ptr %29, align 4, !tbaa !5
  %206 = call i32 @iirfilt_rrrf_execute(ptr noundef %204, float noundef %205, ptr noundef %26)
  %207 = load float, ptr %26, align 4, !tbaa !5
  %208 = load i32, ptr %21, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = getelementptr inbounds float, ptr %44, i64 %209
  store float %207, ptr %210, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %211

211:                                              ; preds = %203
  %212 = load i32, ptr %21, align 4, !tbaa !9
  %213 = add i32 %212, 1
  store i32 %213, ptr %21, align 4, !tbaa !9
  br label %136, !llvm.loop !16

214:                                              ; preds = %136
  %215 = load ptr, ptr %20, align 8, !tbaa !11
  %216 = call i32 @iirfilt_rrrf_destroy(ptr noundef %215)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %217 = call noalias ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
  store ptr %217, ptr %32, align 8, !tbaa !11
  %218 = load ptr, ptr %32, align 8, !tbaa !11
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.3) #5
  %220 = load ptr, ptr %32, align 8, !tbaa !11
  %221 = load i32, ptr %6, align 4, !tbaa !9
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %220, ptr noundef @.str.4, i32 noundef %221) #5
  %223 = load ptr, ptr %32, align 8, !tbaa !11
  %224 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0
  %225 = load float, ptr %224, align 4, !tbaa !5
  %226 = fpext float %225 to double
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %223, ptr noundef @.str.5, double noundef %226) #5
  %228 = load ptr, ptr %32, align 8, !tbaa !11
  %229 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 1
  %230 = load float, ptr %229, align 4, !tbaa !5
  %231 = fpext float %230 to double
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %228, ptr noundef @.str.6, double noundef %231) #5
  %233 = load ptr, ptr %32, align 8, !tbaa !11
  %234 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 2
  %235 = load float, ptr %234, align 4, !tbaa !5
  %236 = fpext float %235 to double
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.7, double noundef %236) #5
  %238 = load ptr, ptr %32, align 8, !tbaa !11
  %239 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
  %240 = load float, ptr %239, align 4, !tbaa !5
  %241 = fpext float %240 to double
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.8, double noundef %241) #5
  %243 = load ptr, ptr %32, align 8, !tbaa !11
  %244 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 1
  %245 = load float, ptr %244, align 4, !tbaa !5
  %246 = fpext float %245 to double
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.9, double noundef %246) #5
  %248 = load ptr, ptr %32, align 8, !tbaa !11
  %249 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 2
  %250 = load float, ptr %249, align 4, !tbaa !5
  %251 = fpext float %250 to double
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %248, ptr noundef @.str.10, double noundef %251) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %253

253:                                              ; preds = %276, %214
  %254 = load i32, ptr %21, align 4, !tbaa !9
  %255 = load i32, ptr %6, align 4, !tbaa !9
  %256 = icmp ult i32 %254, %255
  br i1 %256, label %257, label %279

257:                                              ; preds = %253
  %258 = load ptr, ptr %32, align 8, !tbaa !11
  %259 = load i32, ptr %21, align 4, !tbaa !9
  %260 = add i32 %259, 1
  %261 = load i32, ptr %21, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  %263 = getelementptr inbounds float, ptr %38, i64 %262
  %264 = load float, ptr %263, align 4, !tbaa !5
  %265 = fpext float %264 to double
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef @.str.11, i32 noundef %260, double noundef %265) #5
  %267 = load ptr, ptr %32, align 8, !tbaa !11
  %268 = load i32, ptr %21, align 4, !tbaa !9
  %269 = add i32 %268, 1
  %270 = load i32, ptr %21, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds float, ptr %44, i64 %271
  %273 = load float, ptr %272, align 4, !tbaa !5
  %274 = fpext float %273 to double
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.12, i32 noundef %269, double noundef %274) #5
  br label %276

276:                                              ; preds = %257
  %277 = load i32, ptr %21, align 4, !tbaa !9
  %278 = add i32 %277, 1
  store i32 %278, ptr %21, align 4, !tbaa !9
  br label %253, !llvm.loop !17

279:                                              ; preds = %253
  %280 = load ptr, ptr %32, align 8, !tbaa !11
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.13) #5
  %282 = load ptr, ptr %32, align 8, !tbaa !11
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %282, ptr noundef @.str.14) #5
  %284 = load ptr, ptr %32, align 8, !tbaa !11
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef @.str.15) #5
  %286 = load ptr, ptr %32, align 8, !tbaa !11
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef @.str.16) #5
  %288 = load ptr, ptr %32, align 8, !tbaa !11
  %289 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %288, ptr noundef @.str.17) #5
  %290 = load ptr, ptr %32, align 8, !tbaa !11
  %291 = call i32 @fclose(ptr noundef %290)
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef @.str.1)
  %293 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  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 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #5
  %294 = load ptr, ptr %8, align 8
  call void @llvm.stackrestore.p0(ptr %294)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  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
  %295 = load i32, ptr %1, align 4
  ret i32 %295
}

; 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 @iirfilt_rrrf_create(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3

declare i32 @iirfilt_rrrf_print(ptr noundef) #3

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #4

; Function Attrs: nounwind
declare float @cargf(<2 x float> noundef) #4

declare <2 x float> @__mulsc3(float, float, float, float)

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

declare i32 @iirfilt_rrrf_execute(ptr noundef, float noundef, ptr noundef) #3

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

declare i32 @iirfilt_rrrf_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
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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"branch_weights", i32 1, i32 1048575}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; 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 [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [3 x float], align 8
  %2 = alloca [3 x float], align 8
  %3 = alloca float, align 4
  %4 = alloca [256 x float], align 16
  %5 = alloca [256 x { float, float }], align 16
  %6 = alloca [256 x float], align 16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #5
  %7 = getelementptr inbounds i8, ptr %2, i64 4
  store <2 x float> <float 0x4072ECCCE0000000, float 4.000000e+01>, ptr %2, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %2, i64 8
  store float 0xC0706CCCE0000000, ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 4
  store <2 x float> <float 0x409F3FFFE0000000, float 0xC0AF3FFFE0000000>, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  store float 0x409F3FFFE0000000, ptr %10, align 8, !tbaa !5
  %11 = call ptr @iirfilt_rrrf_create(ptr noundef nonnull %2, i32 noundef 3, ptr noundef nonnull %1, i32 noundef 3) #5
  %12 = call i32 @iirfilt_rrrf_print(ptr noundef %11) #5
  br label %13

13:                                               ; preds = %0, %13
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %13 ]
  %.07980 = phi float [ 0x3FE99999A0000000, %0 ], [ %18, %13 ]
  %14 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  store float %.07980, ptr %14, align 4, !tbaa !5
  %15 = fmul float %.07980, 0.000000e+00
  %.sroa.024.0.vec.insert = insertelement <2 x float> poison, float %15, i64 0
  %.sroa.024.4.vec.insert = insertelement <2 x float> %.sroa.024.0.vec.insert, float %.07980, i64 1
  %16 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.024.4.vec.insert) #5
  %17 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv
  store <2 x float> %16, ptr %17, align 8
  %18 = fadd float %.07980, 0x3F847AE140000000
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 256
  br i1 %exitcond.not, label %19, label %13, !llvm.loop !9

19:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store float 0.000000e+00, ptr %3, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %19, %53
  %21 = phi float [ 0.000000e+00, %19 ], [ %55, %53 ]
  %indvars.iv85 = phi i64 [ 0, %19 ], [ %indvars.iv.next86, %53 ]
  %22 = fmul float %21, 0.000000e+00
  %.sroa.021.0.vec.insert = insertelement <2 x float> poison, float %22, i64 0
  %.sroa.021.4.vec.insert = insertelement <2 x float> %.sroa.021.0.vec.insert, float %21, i64 1
  %23 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.021.4.vec.insert) #5
  %24 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv85
  %25 = extractelement <2 x float> %23, i64 1
  %26 = fneg float %25
  %27 = load <2 x float>, ptr %24, align 8
  %28 = shufflevector <2 x float> %27, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %29 = fmul <2 x float> %27, %23
  %shift = shufflevector <2 x float> %29, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %30 = fadd <2 x float> %29, %shift
  %31 = extractelement <2 x float> %30, i64 0
  %32 = fmul <2 x float> %23, %28
  %shift93 = shufflevector <2 x float> %32, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %33 = fsub <2 x float> %32, %shift93
  %34 = extractelement <2 x float> %33, i64 0
  %35 = fcmp uno float %31, 0.000000e+00
  br i1 %35, label %36, label %43, !prof !11

36:                                               ; preds = %20
  %37 = fcmp uno float %34, 0.000000e+00
  br i1 %37, label %38, label %43, !prof !11

38:                                               ; preds = %36
  %39 = extractelement <2 x float> %27, i64 0
  %40 = extractelement <2 x float> %27, i64 1
  %41 = extractelement <2 x float> %23, i64 0
  %42 = call <2 x float> @__mulsc3(float noundef %39, float noundef %40, float noundef %41, float noundef %26) #5
  %.sroa.017.0.vec.extract = extractelement <2 x float> %42, i64 0
  %.sroa.017.4.vec.extract = extractelement <2 x float> %42, i64 1
  br label %43

43:                                               ; preds = %38, %36, %20
  %44 = phi float [ %31, %20 ], [ %31, %36 ], [ %.sroa.017.0.vec.extract, %38 ]
  %45 = phi float [ %34, %20 ], [ %34, %36 ], [ %.sroa.017.4.vec.extract, %38 ]
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %44, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %45, i64 1
  %46 = call float @cargf(<2 x float> noundef %.sroa.0.4.vec.insert) #5
  %47 = trunc nuw nsw i64 %indvars.iv85 to i32
  %48 = and i32 %47, 7
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %53

50:                                               ; preds = %43
  %51 = fpext float %46 to double
  %52 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %47, double noundef %51)
  br label %53

53:                                               ; preds = %50, %43
  %54 = call i32 @iirfilt_rrrf_execute(ptr noundef %11, float noundef %46, ptr noundef nonnull %3) #5
  %55 = load float, ptr %3, align 4, !tbaa !5
  %56 = getelementptr inbounds float, ptr %6, i64 %indvars.iv85
  store float %55, ptr %56, align 4, !tbaa !5
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %exitcond88.not = icmp eq i64 %indvars.iv.next86, 256
  br i1 %exitcond88.not, label %57, label %20, !llvm.loop !12

57:                                               ; preds = %53
  %58 = call i32 @iirfilt_rrrf_destroy(ptr noundef %11) #5
  %59 = call noalias ptr @fopen(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2)
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.3) #5
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.4, i32 noundef 256) #5
  %62 = load float, ptr %1, align 8, !tbaa !5
  %63 = fpext float %62 to double
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.5, double noundef %63) #5
  %65 = load float, ptr %9, align 4, !tbaa !5
  %66 = fpext float %65 to double
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.6, double noundef %66) #5
  %68 = load float, ptr %10, align 8, !tbaa !5
  %69 = fpext float %68 to double
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.7, double noundef %69) #5
  %71 = load float, ptr %2, align 8, !tbaa !5
  %72 = fpext float %71 to double
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.8, double noundef %72) #5
  %74 = load float, ptr %7, align 4, !tbaa !5
  %75 = fpext float %74 to double
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.9, double noundef %75) #5
  %77 = load float, ptr %8, align 8, !tbaa !5
  %78 = fpext float %77 to double
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.10, double noundef %78) #5
  br label %80

80:                                               ; preds = %57, %80
  %indvars.iv89 = phi i64 [ 0, %57 ], [ %indvars.iv.next90, %80 ]
  %indvars.iv.next90 = add nuw nsw i64 %indvars.iv89, 1
  %81 = getelementptr inbounds float, ptr %4, i64 %indvars.iv89
  %82 = load float, ptr %81, align 4, !tbaa !5
  %83 = fpext float %82 to double
  %84 = trunc nuw nsw i64 %indvars.iv.next90 to i32
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.11, i32 noundef %84, double noundef %83) #5
  %86 = getelementptr inbounds float, ptr %6, i64 %indvars.iv89
  %87 = load float, ptr %86, align 4, !tbaa !5
  %88 = fpext float %87 to double
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.12, i32 noundef %84, double noundef %88) #5
  %exitcond92.not = icmp eq i64 %indvars.iv.next90, 256
  br i1 %exitcond92.not, label %90, label %80, !llvm.loop !13

90:                                               ; preds = %80
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.13) #5
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.14) #5
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.15) #5
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.16) #5
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.17) #5
  %96 = call i32 @fclose(ptr noundef %59)
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, ptr noundef nonnull @.str.1)
  %98 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #5
  ret i32 0
}

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

declare ptr @iirfilt_rrrf_create(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @iirfilt_rrrf_print(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare float @cargf(<2 x float> noundef) local_unnamed_addr #3

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

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

declare i32 @iirfilt_rrrf_execute(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #2

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

declare i32 @iirfilt_rrrf_destroy(ptr noundef) local_unnamed_addr #2

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

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

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 = { 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 #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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass