; LLVM IR from jgaeddert/liquid-dsp :: examples (iirdes_pll_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.8 = external hidden unnamed_addr constant [15 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca [3 x float], align 4
  %20 = alloca [3 x float], align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, 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, float }, align 4
  %30 = alloca { float, float }, align 4
  %31 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %32 = call i64 @time(ptr noundef null) #9
  %33 = trunc i64 %32 to i32
  call void @srand(i32 noundef %33) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store float 0x3FE921FB60000000, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store float 0x3FD3333340000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store float 0x3F847AE140000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %34 = call float @sqrtf(float noundef 2.000000e+00) #9
  %35 = fdiv float 1.000000e+00, %34
  store float %35, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store float 1.000000e+03, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store i32 512, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  br label %36

36:                                               ; preds = %68, %2
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = load ptr, ptr %5, align 8, !tbaa !9
  %39 = call i32 @getopt(i32 noundef %37, ptr noundef %38, ptr noundef @.str.8) #9
  store i32 %39, ptr %12, align 4, !tbaa !5
  %40 = icmp ne i32 %39, -1
  br i1 %40, label %41, label %69

41:                                               ; preds = %36
  %42 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %42, label %67 [
    i32 117, label %43
    i32 104, label %43
    i32 98, label %44
    i32 122, label %48
    i32 75, label %52
    i32 110, label %56
    i32 112, label %59
    i32 102, label %63
  ]

43:                                               ; preds = %41, %41
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %346

44:                                               ; preds = %41
  %45 = load ptr, ptr @optarg, align 8, !tbaa !9
  %46 = call double @atof(ptr noundef %45) #10
  %47 = fptrunc double %46 to float
  store float %47, ptr %8, align 4, !tbaa !11
  br label %68

48:                                               ; preds = %41
  %49 = load ptr, ptr @optarg, align 8, !tbaa !9
  %50 = call double @atof(ptr noundef %49) #10
  %51 = fptrunc double %50 to float
  store float %51, ptr %9, align 4, !tbaa !11
  br label %68

52:                                               ; preds = %41
  %53 = load ptr, ptr @optarg, align 8, !tbaa !9
  %54 = call double @atof(ptr noundef %53) #10
  %55 = fptrunc double %54 to float
  store float %55, ptr %10, align 4, !tbaa !11
  br label %68

56:                                               ; preds = %41
  %57 = load ptr, ptr @optarg, align 8, !tbaa !9
  %58 = call i32 @atoi(ptr noundef %57) #10
  store i32 %58, ptr %11, align 4, !tbaa !5
  br label %68

59:                                               ; preds = %41
  %60 = load ptr, ptr @optarg, align 8, !tbaa !9
  %61 = call double @atof(ptr noundef %60) #10
  %62 = fptrunc double %61 to float
  store float %62, ptr %6, align 4, !tbaa !11
  br label %68

63:                                               ; preds = %41
  %64 = load ptr, ptr @optarg, align 8, !tbaa !9
  %65 = call double @atof(ptr noundef %64) #10
  %66 = fptrunc double %65 to float
  store float %66, ptr %7, align 4, !tbaa !11
  br label %68

67:                                               ; preds = %41
  call void @exit(i32 noundef 1) #11
  unreachable

68:                                               ; preds = %63, %59, %56, %52, %48, %44
  br label %36, !llvm.loop !13

69:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  %70 = load i32, ptr %11, align 4, !tbaa !5
  %71 = udiv i32 %70, 32
  store i32 %71, ptr %14, align 4, !tbaa !5
  %72 = load float, ptr %8, align 4, !tbaa !11
  %73 = fcmp ole float %72, 0.000000e+00
  br i1 %73, label %74, label %77

74:                                               ; preds = %69
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.9) #9
  call void @exit(i32 noundef 1) #11
  unreachable

77:                                               ; preds = %69
  %78 = load float, ptr %9, align 4, !tbaa !11
  %79 = fcmp ole float %78, 0.000000e+00
  br i1 %79, label %80, label %83

80:                                               ; preds = %77
  %81 = load ptr, ptr @stderr, align 8, !tbaa !9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.10) #9
  call void @exit(i32 noundef 1) #11
  unreachable

83:                                               ; preds = %77
  %84 = load float, ptr %10, align 4, !tbaa !11
  %85 = fcmp ole float %84, 0.000000e+00
  br i1 %85, label %86, label %89

86:                                               ; preds = %83
  %87 = load ptr, ptr @stderr, align 8, !tbaa !9
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.11) #9
  call void @exit(i32 noundef 1) #11
  unreachable

89:                                               ; preds = %83
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  %92 = load i32, ptr %11, align 4, !tbaa !5
  %93 = zext i32 %92 to i64
  %94 = call ptr @llvm.stacksave.p0()
  store ptr %94, ptr %15, align 8
  %95 = alloca { float, float }, i64 %93, align 16
  store i64 %93, ptr %16, align 8
  %96 = load i32, ptr %11, align 4, !tbaa !5
  %97 = zext i32 %96 to i64
  %98 = alloca { float, float }, i64 %97, align 16
  store i64 %97, ptr %17, align 8
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = alloca float, i64 %100, align 16
  store i64 %100, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #9
  %102 = load float, ptr %8, align 4, !tbaa !11
  %103 = load float, ptr %9, align 4, !tbaa !11
  %104 = load float, ptr %10, align 4, !tbaa !11
  %105 = getelementptr inbounds [3 x float], ptr %19, i64 0, i64 0
  %106 = getelementptr inbounds [3 x float], ptr %20, i64 0, i64 0
  call void @iirdes_pll_active_lag(float noundef %102, float noundef %103, float noundef %104, ptr noundef %105, ptr noundef %106)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %107 = getelementptr inbounds [3 x float], ptr %19, i64 0, i64 0
  %108 = getelementptr inbounds [3 x float], ptr %20, i64 0, i64 0
  %109 = call ptr @iirfilt_rrrf_create(ptr noundef %107, i32 noundef 3, ptr noundef %108, i32 noundef 3)
  store ptr %109, ptr %21, align 8, !tbaa !9
  %110 = load ptr, ptr %21, align 8, !tbaa !9
  %111 = call i32 @iirfilt_rrrf_print(ptr noundef %110)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %112

112:                                              ; preds = %138, %91
  %113 = load i32, ptr %22, align 4, !tbaa !5
  %114 = load i32, ptr %11, align 4, !tbaa !5
  %115 = icmp ult i32 %113, %114
  br i1 %115, label %116, label %141

116:                                              ; preds = %112
  %117 = load float, ptr %6, align 4, !tbaa !11
  %118 = load i32, ptr %22, align 4, !tbaa !5
  %119 = uitofp i32 %118 to float
  %120 = load float, ptr %7, align 4, !tbaa !11
  %121 = call float @llvm.fmuladd.f32(float %119, float %120, float %117)
  store float %121, ptr %23, align 4, !tbaa !11
  %122 = load float, ptr %23, align 4, !tbaa !11
  %123 = fmul float 0.000000e+00, %122
  %124 = fmul float 1.000000e+00, %122
  %125 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %126 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %123, ptr %125, align 4
  store float %124, ptr %126, align 4
  %127 = load <2 x float>, ptr %24, align 4
  %128 = call <2 x float> @cexpf(<2 x float> noundef %127) #9
  store <2 x float> %128, ptr %25, align 4
  %129 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %130 = load float, ptr %129, align 4
  %131 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  %132 = load float, ptr %131, align 4
  %133 = load i32, ptr %22, align 4, !tbaa !5
  %134 = zext i32 %133 to i64
  %135 = getelementptr inbounds { float, float }, ptr %95, i64 %134
  %136 = getelementptr inbounds { float, float }, ptr %135, i32 0, i32 0
  %137 = getelementptr inbounds { float, float }, ptr %135, i32 0, i32 1
  store float %130, ptr %136, align 8
  store float %132, ptr %137, align 4
  br label %138

138:                                              ; preds = %116
  %139 = load i32, ptr %22, align 4, !tbaa !5
  %140 = add i32 %139, 1
  store i32 %140, ptr %22, align 4, !tbaa !5
  br label %112, !llvm.loop !15

141:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store float 0.000000e+00, ptr %26, align 4, !tbaa !11
  %142 = getelementptr inbounds { float, float }, ptr %98, i64 0
  %143 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 0
  %144 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 1
  store float 1.000000e+00, ptr %143, align 16
  store float 0.000000e+00, ptr %144, align 4
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %233, %141
  %146 = load i32, ptr %22, align 4, !tbaa !5
  %147 = load i32, ptr %11, align 4, !tbaa !5
  %148 = icmp ult i32 %146, %147
  br i1 %148, label %149, label %236

149:                                              ; preds = %145
  %150 = load float, ptr %26, align 4, !tbaa !11
  %151 = fmul float 0.000000e+00, %150
  %152 = fmul float 1.000000e+00, %150
  %153 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %154 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float %151, ptr %153, align 4
  store float %152, ptr %154, align 4
  %155 = load <2 x float>, ptr %27, align 4
  %156 = call <2 x float> @cexpf(<2 x float> noundef %155) #9
  store <2 x float> %156, ptr %28, align 4
  %157 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %158 = load float, ptr %157, align 4
  %159 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %160 = load float, ptr %159, align 4
  %161 = load i32, ptr %22, align 4, !tbaa !5
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds { float, float }, ptr %98, i64 %162
  %164 = getelementptr inbounds { float, float }, ptr %163, i32 0, i32 0
  %165 = getelementptr inbounds { float, float }, ptr %163, i32 0, i32 1
  store float %158, ptr %164, align 8
  store float %160, ptr %165, align 4
  %166 = load i32, ptr %22, align 4, !tbaa !5
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds { float, float }, ptr %95, i64 %167
  %169 = getelementptr inbounds { float, float }, ptr %168, i32 0, i32 0
  %170 = load float, ptr %169, align 8
  %171 = getelementptr inbounds { float, float }, ptr %168, i32 0, i32 1
  %172 = load float, ptr %171, align 4
  %173 = load i32, ptr %22, align 4, !tbaa !5
  %174 = zext i32 %173 to i64
  %175 = getelementptr inbounds { float, float }, ptr %98, i64 %174
  %176 = getelementptr inbounds { float, float }, ptr %175, i32 0, i32 0
  %177 = load float, ptr %176, align 8
  %178 = getelementptr inbounds { float, float }, ptr %175, i32 0, i32 1
  %179 = load float, ptr %178, align 4
  %180 = fneg float %179
  %181 = fmul float %170, %177
  %182 = fmul float %172, %180
  %183 = fmul float %170, %180
  %184 = fmul float %172, %177
  %185 = fsub float %181, %182
  %186 = fadd float %183, %184
  %187 = fcmp uno float %185, %185
  br i1 %187, label %188, label %196, !prof !16

188:                                              ; preds = %149
  %189 = fcmp uno float %186, %186
  br i1 %189, label %190, label %196, !prof !16

190:                                              ; preds = %188
  %191 = call <2 x float> @__mulsc3(float noundef %170, float noundef %172, float noundef %177, float noundef %180) #9
  store <2 x float> %191, ptr %29, align 4
  %192 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %193 = load float, ptr %192, align 4
  %194 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  %195 = load float, ptr %194, align 4
  br label %196

196:                                              ; preds = %190, %188, %149
  %197 = phi float [ %185, %149 ], [ %185, %188 ], [ %193, %190 ]
  %198 = phi float [ %186, %149 ], [ %186, %188 ], [ %195, %190 ]
  %199 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 0
  %200 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 1
  store float %197, ptr %199, align 4
  store float %198, ptr %200, align 4
  %201 = load <2 x float>, ptr %30, align 4
  %202 = call float @cargf(<2 x float> noundef %201) #9
  %203 = load i32, ptr %22, align 4, !tbaa !5
  %204 = zext i32 %203 to i64
  %205 = getelementptr inbounds float, ptr %101, i64 %204
  store float %202, ptr %205, align 4, !tbaa !11
  %206 = load ptr, ptr %21, align 8, !tbaa !9
  %207 = load i32, ptr %22, align 4, !tbaa !5
  %208 = zext i32 %207 to i64
  %209 = getelementptr inbounds float, ptr %101, i64 %208
  %210 = load float, ptr %209, align 4, !tbaa !11
  %211 = call i32 @iirfilt_rrrf_execute(ptr noundef %206, float noundef %210, ptr noundef %26)
  %212 = load i32, ptr %22, align 4, !tbaa !5
  %213 = load i32, ptr %14, align 4, !tbaa !5
  %214 = urem i32 %212, %213
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %224, label %216

216:                                              ; preds = %196
  %217 = load i32, ptr %22, align 4, !tbaa !5
  %218 = load i32, ptr %11, align 4, !tbaa !5
  %219 = sub i32 %218, 1
  %220 = icmp eq i32 %217, %219
  br i1 %220, label %224, label %221

221:                                              ; preds = %216
  %222 = load i32, ptr %22, align 4, !tbaa !5
  %223 = icmp eq i32 %222, 0
  br i1 %223, label %224, label %232

224:                                              ; preds = %221, %216, %196
  %225 = load i32, ptr %22, align 4, !tbaa !5
  %226 = load i32, ptr %22, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds float, ptr %101, i64 %227
  %229 = load float, ptr %228, align 4, !tbaa !11
  %230 = fpext float %229 to double
  %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %225, double noundef %230)
  br label %232

232:                                              ; preds = %224, %221
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %22, align 4, !tbaa !5
  %235 = add i32 %234, 1
  store i32 %235, ptr %22, align 4, !tbaa !5
  br label %145, !llvm.loop !17

236:                                              ; preds = %145
  %237 = load ptr, ptr %21, align 8, !tbaa !9
  %238 = call i32 @iirfilt_rrrf_destroy(ptr noundef %237)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %239 = call noalias ptr @fopen(ptr noundef @.str.13, ptr noundef @.str.14)
  store ptr %239, ptr %31, align 8, !tbaa !9
  %240 = load ptr, ptr %31, align 8, !tbaa !9
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %240, ptr noundef @.str.15, ptr noundef @.str.13) #9
  %242 = load ptr, ptr %31, align 8, !tbaa !9
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str.16) #9
  %244 = load ptr, ptr %31, align 8, !tbaa !9
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef @.str.17) #9
  %246 = load ptr, ptr %31, align 8, !tbaa !9
  %247 = load i32, ptr %11, align 4, !tbaa !5
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.18, i32 noundef %247) #9
  %249 = load ptr, ptr %31, align 8, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.19) #9
  %251 = load ptr, ptr %31, align 8, !tbaa !9
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.20) #9
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %253

253:                                              ; preds = %307, %236
  %254 = load i32, ptr %22, align 4, !tbaa !5
  %255 = load i32, ptr %11, align 4, !tbaa !5
  %256 = icmp ult i32 %254, %255
  br i1 %256, label %257, label %310

257:                                              ; preds = %253
  %258 = load ptr, ptr %31, align 8, !tbaa !9
  %259 = load i32, ptr %22, align 4, !tbaa !5
  %260 = add i32 %259, 1
  %261 = load i32, ptr %22, align 4, !tbaa !5
  %262 = zext i32 %261 to i64
  %263 = getelementptr inbounds { float, float }, ptr %95, i64 %262
  %264 = getelementptr inbounds { float, float }, ptr %263, i32 0, i32 0
  %265 = load float, ptr %264, align 8
  %266 = getelementptr inbounds { float, float }, ptr %263, i32 0, i32 1
  %267 = load float, ptr %266, align 4
  %268 = fpext float %265 to double
  %269 = load i32, ptr %22, align 4, !tbaa !5
  %270 = zext i32 %269 to i64
  %271 = getelementptr inbounds { float, float }, ptr %95, i64 %270
  %272 = getelementptr inbounds { float, float }, ptr %271, i32 0, i32 0
  %273 = load float, ptr %272, align 8
  %274 = getelementptr inbounds { float, float }, ptr %271, i32 0, i32 1
  %275 = load float, ptr %274, align 4
  %276 = fpext float %275 to double
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef @.str.21, i32 noundef %260, double noundef %268, double noundef %276) #9
  %278 = load ptr, ptr %31, align 8, !tbaa !9
  %279 = load i32, ptr %22, align 4, !tbaa !5
  %280 = add i32 %279, 1
  %281 = load i32, ptr %22, align 4, !tbaa !5
  %282 = zext i32 %281 to i64
  %283 = getelementptr inbounds { float, float }, ptr %98, i64 %282
  %284 = getelementptr inbounds { float, float }, ptr %283, i32 0, i32 0
  %285 = load float, ptr %284, align 8
  %286 = getelementptr inbounds { float, float }, ptr %283, i32 0, i32 1
  %287 = load float, ptr %286, align 4
  %288 = fpext float %285 to double
  %289 = load i32, ptr %22, align 4, !tbaa !5
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds { float, float }, ptr %98, i64 %290
  %292 = getelementptr inbounds { float, float }, ptr %291, i32 0, i32 0
  %293 = load float, ptr %292, align 8
  %294 = getelementptr inbounds { float, float }, ptr %291, i32 0, i32 1
  %295 = load float, ptr %294, align 4
  %296 = fpext float %295 to double
  %297 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef @.str.22, i32 noundef %280, double noundef %288, double noundef %296) #9
  %298 = load ptr, ptr %31, align 8, !tbaa !9
  %299 = load i32, ptr %22, align 4, !tbaa !5
  %300 = add i32 %299, 1
  %301 = load i32, ptr %22, align 4, !tbaa !5
  %302 = zext i32 %301 to i64
  %303 = getelementptr inbounds float, ptr %101, i64 %302
  %304 = load float, ptr %303, align 4, !tbaa !11
  %305 = fpext float %304 to double
  %306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %298, ptr noundef @.str.23, i32 noundef %300, double noundef %305) #9
  br label %307

307:                                              ; preds = %257
  %308 = load i32, ptr %22, align 4, !tbaa !5
  %309 = add i32 %308, 1
  store i32 %309, ptr %22, align 4, !tbaa !5
  br label %253, !llvm.loop !18

310:                                              ; preds = %253
  %311 = load ptr, ptr %31, align 8, !tbaa !9
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %311, ptr noundef @.str.24) #9
  %313 = load ptr, ptr %31, align 8, !tbaa !9
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.25) #9
  %315 = load ptr, ptr %31, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.26) #9
  %317 = load ptr, ptr %31, align 8, !tbaa !9
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.27) #9
  %319 = load ptr, ptr %31, align 8, !tbaa !9
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef @.str.28) #9
  %321 = load ptr, ptr %31, align 8, !tbaa !9
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.29) #9
  %323 = load ptr, ptr %31, align 8, !tbaa !9
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.30) #9
  %325 = load ptr, ptr %31, align 8, !tbaa !9
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.31) #9
  %327 = load ptr, ptr %31, align 8, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.28) #9
  %329 = load ptr, ptr %31, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.32) #9
  %331 = load ptr, ptr %31, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.25) #9
  %333 = load ptr, ptr %31, align 8, !tbaa !9
  %334 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef @.str.33) #9
  %335 = load ptr, ptr %31, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.34) #9
  %337 = load ptr, ptr %31, align 8, !tbaa !9
  %338 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.35) #9
  %339 = load ptr, ptr %31, align 8, !tbaa !9
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %339, ptr noundef @.str.36) #9
  %341 = load ptr, ptr %31, align 8, !tbaa !9
  %342 = call i32 @fclose(ptr noundef %341)
  %343 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef @.str.13)
  %344 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #9
  %345 = load ptr, ptr %15, align 8
  call void @llvm.stackrestore.p0(ptr %345)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %346

346:                                              ; preds = %310, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %347 = load i32, ptr %3, align 4
  ret i32 %347
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #3

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #3

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

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #3

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #5

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

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

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

declare void @iirdes_pll_active_lag(float noundef, float noundef, float noundef, ptr noundef, ptr noundef) #1

declare ptr @iirfilt_rrrf_create(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1

declare i32 @iirfilt_rrrf_print(ptr noundef) #1

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

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

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

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

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

declare i32 @iirfilt_rrrf_destroy(ptr noundef) #1

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

declare i32 @fclose(ptr noundef) #1

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "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 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "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 #6 = { noreturn 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 #7 = { nocallback nofree nosync nounwind willreturn }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn 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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!"branch_weights", i32 1, i32 1048575}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !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.8 = external hidden unnamed_addr constant [15 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca [3 x float], align 4
  %4 = alloca [3 x float], align 4
  %5 = alloca float, align 4
  %6 = tail call i64 @time(ptr noundef null) #10
  %7 = trunc i64 %6 to i32
  tail call void @srand(i32 noundef %7) #10
  br label %.outer

.outer:                                           ; preds = %23, %2
  %.097.ph = phi i32 [ %25, %23 ], [ 512, %2 ]
  %.095.ph = phi float [ %.095.ph172, %23 ], [ 1.000000e+03, %2 ]
  %.091.ph = phi float [ %.091.ph178, %23 ], [ 0x3FE6A09E60000000, %2 ]
  %.089.ph = phi float [ %.089.ph183, %23 ], [ 0x3F847AE140000000, %2 ]
  %.087.ph = phi float [ %.087.ph187, %23 ], [ 0x3FD3333340000000, %2 ]
  %.086.ph = phi float [ %.086, %23 ], [ 0x3FE921FB60000000, %2 ]
  br label %.outer171

.outer171:                                        ; preds = %.outer, %19
  %.095.ph172 = phi float [ %.095.ph, %.outer ], [ %22, %19 ]
  %.091.ph173 = phi float [ %.091.ph, %.outer ], [ %.091.ph178, %19 ]
  %.089.ph174 = phi float [ %.089.ph, %.outer ], [ %.089.ph183, %19 ]
  %.087.ph175 = phi float [ %.087.ph, %.outer ], [ %.087.ph187, %19 ]
  %.086.ph176 = phi float [ %.086.ph, %.outer ], [ %.086, %19 ]
  br label %.outer177

.outer177:                                        ; preds = %.outer171, %15
  %.091.ph178 = phi float [ %.091.ph173, %.outer171 ], [ %18, %15 ]
  %.089.ph179 = phi float [ %.089.ph174, %.outer171 ], [ %.089.ph183, %15 ]
  %.087.ph180 = phi float [ %.087.ph175, %.outer171 ], [ %.087.ph187, %15 ]
  %.086.ph181 = phi float [ %.086.ph176, %.outer171 ], [ %.086, %15 ]
  br label %.outer182

.outer182:                                        ; preds = %.outer177, %11
  %.089.ph183 = phi float [ %.089.ph179, %.outer177 ], [ %14, %11 ]
  %.087.ph184 = phi float [ %.087.ph180, %.outer177 ], [ %.087.ph187, %11 ]
  %.086.ph185 = phi float [ %.086.ph181, %.outer177 ], [ %.086, %11 ]
  br label %.outer186

.outer186:                                        ; preds = %.outer182, %30
  %.087.ph187 = phi float [ %.087.ph184, %.outer182 ], [ %33, %30 ]
  %.086.ph188 = phi float [ %.086.ph185, %.outer182 ], [ %.086, %30 ]
  br label %8

8:                                                ; preds = %.outer186, %26
  %.086 = phi float [ %29, %26 ], [ %.086.ph188, %.outer186 ]
  %9 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.8) #10
  switch i32 %9, label %34 [
    i32 -1, label %35
    i32 117, label %10
    i32 104, label %10
    i32 98, label %11
    i32 122, label %15
    i32 75, label %19
    i32 110, label %23
    i32 112, label %26
    i32 102, label %30
  ]

10:                                               ; preds = %8, %8
  tail call void @usage()
  br label %150

11:                                               ; preds = %8
  %12 = load ptr, ptr @optarg, align 8, !tbaa !5
  %13 = tail call double @atof(ptr noundef %12) #11
  %14 = fptrunc double %13 to float
  br label %.outer182, !llvm.loop !9

15:                                               ; preds = %8
  %16 = load ptr, ptr @optarg, align 8, !tbaa !5
  %17 = tail call double @atof(ptr noundef %16) #11
  %18 = fptrunc double %17 to float
  br label %.outer177, !llvm.loop !9

19:                                               ; preds = %8
  %20 = load ptr, ptr @optarg, align 8, !tbaa !5
  %21 = tail call double @atof(ptr noundef %20) #11
  %22 = fptrunc double %21 to float
  br label %.outer171, !llvm.loop !9

23:                                               ; preds = %8
  %24 = load ptr, ptr @optarg, align 8, !tbaa !5
  %25 = tail call i32 @atoi(ptr nocapture noundef %24) #11
  br label %.outer, !llvm.loop !9

26:                                               ; preds = %8
  %27 = load ptr, ptr @optarg, align 8, !tbaa !5
  %28 = tail call double @atof(ptr noundef %27) #11
  %29 = fptrunc double %28 to float
  br label %8, !llvm.loop !9

30:                                               ; preds = %8
  %31 = load ptr, ptr @optarg, align 8, !tbaa !5
  %32 = tail call double @atof(ptr noundef %31) #11
  %33 = fptrunc double %32 to float
  br label %.outer186, !llvm.loop !9

34:                                               ; preds = %8
  tail call void @exit(i32 noundef 1) #12
  unreachable

35:                                               ; preds = %8
  %36 = lshr i32 %.097.ph, 5
  %37 = fcmp ugt float %.089.ph183, 0.000000e+00
  br i1 %37, label %41, label %38

38:                                               ; preds = %35
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.9) #13
  tail call void @exit(i32 noundef 1) #12
  unreachable

41:                                               ; preds = %35
  %42 = fcmp ugt float %.091.ph178, 0.000000e+00
  br i1 %42, label %46, label %43

43:                                               ; preds = %41
  %44 = load ptr, ptr @stderr, align 8, !tbaa !5
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.10) #13
  tail call void @exit(i32 noundef 1) #12
  unreachable

46:                                               ; preds = %41
  %47 = fcmp ugt float %.095.ph172, 0.000000e+00
  br i1 %47, label %51, label %48

48:                                               ; preds = %46
  %49 = load ptr, ptr @stderr, align 8, !tbaa !5
  %50 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str.11) #13
  tail call void @exit(i32 noundef 1) #12
  unreachable

51:                                               ; preds = %46
  %52 = zext i32 %.097.ph to i64
  %53 = tail call ptr @llvm.stacksave.p0()
  %54 = alloca { float, float }, i64 %52, align 16
  %55 = alloca { float, float }, i64 %52, align 16
  %56 = alloca float, i64 %52, align 16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #10
  call void @iirdes_pll_active_lag(float noundef %.089.ph183, float noundef %.091.ph178, float noundef %.095.ph172, ptr noundef nonnull %3, ptr noundef nonnull %4) #10
  %57 = call ptr @iirfilt_rrrf_create(ptr noundef nonnull %3, i32 noundef 3, ptr noundef nonnull %4, i32 noundef 3) #10
  %58 = call i32 @iirfilt_rrrf_print(ptr noundef %57) #10
  %.not = icmp eq i32 %.097.ph, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph

._crit_edge.thread:                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #10
  store float 0.000000e+00, ptr %5, align 4, !tbaa !11
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %55, align 16
  br label %._crit_edge116

.lr.ph:                                           ; preds = %51, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %51 ]
  %59 = trunc nuw i64 %indvars.iv to i32
  %60 = uitofp i32 %59 to float
  %61 = call float @llvm.fmuladd.f32(float %60, float %.087.ph187, float %.086)
  %62 = fmul float %61, 0.000000e+00
  %.sroa.032.0.vec.insert = insertelement <2 x float> poison, float %62, i64 0
  %.sroa.032.4.vec.insert = insertelement <2 x float> %.sroa.032.0.vec.insert, float %61, i64 1
  %63 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.032.4.vec.insert) #10
  %64 = getelementptr inbounds { float, float }, ptr %54, i64 %indvars.iv
  store <2 x float> %63, ptr %64, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %52
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #10
  store float 0.000000e+00, ptr %5, align 4, !tbaa !11
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %55, align 16
  br i1 %.not, label %._crit_edge116, label %.lr.ph115

.lr.ph115:                                        ; preds = %._crit_edge
  %65 = add i32 %.097.ph, -1
  %66 = zext i32 %65 to i64
  br label %67

67:                                               ; preds = %.lr.ph115, %104
  %indvars.iv136 = phi i64 [ 0, %.lr.ph115 ], [ %indvars.iv.next137, %104 ]
  %68 = load float, ptr %5, align 4, !tbaa !11
  %69 = fmul float %68, 0.000000e+00
  %.sroa.029.0.vec.insert = insertelement <2 x float> poison, float %69, i64 0
  %.sroa.029.4.vec.insert = insertelement <2 x float> %.sroa.029.0.vec.insert, float %68, i64 1
  %70 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.029.4.vec.insert) #10
  %71 = getelementptr inbounds { float, float }, ptr %55, i64 %indvars.iv136
  store <2 x float> %70, ptr %71, align 8
  %72 = getelementptr inbounds { float, float }, ptr %54, i64 %indvars.iv136
  %73 = extractelement <2 x float> %70, i64 1
  %74 = fneg float %73
  %75 = load <2 x float>, ptr %72, align 8
  %76 = shufflevector <2 x float> %75, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %77 = fmul <2 x float> %70, %75
  %shift = shufflevector <2 x float> %77, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %78 = fadd <2 x float> %77, %shift
  %79 = extractelement <2 x float> %78, i64 0
  %80 = fmul <2 x float> %70, %76
  %shift170 = shufflevector <2 x float> %80, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %81 = fsub <2 x float> %80, %shift170
  %82 = extractelement <2 x float> %81, i64 0
  %83 = fcmp uno float %79, 0.000000e+00
  br i1 %83, label %84, label %91, !prof !14

84:                                               ; preds = %67
  %85 = fcmp uno float %82, 0.000000e+00
  br i1 %85, label %86, label %91, !prof !14

86:                                               ; preds = %84
  %87 = extractelement <2 x float> %70, i64 0
  %88 = extractelement <2 x float> %75, i64 0
  %89 = extractelement <2 x float> %75, i64 1
  %90 = call <2 x float> @__mulsc3(float noundef %88, float noundef %89, float noundef %87, float noundef %74) #10
  %.sroa.027.0.vec.extract = extractelement <2 x float> %90, i64 0
  %.sroa.027.4.vec.extract = extractelement <2 x float> %90, i64 1
  br label %91

91:                                               ; preds = %86, %84, %67
  %92 = phi float [ %79, %67 ], [ %79, %84 ], [ %.sroa.027.0.vec.extract, %86 ]
  %93 = phi float [ %82, %67 ], [ %82, %84 ], [ %.sroa.027.4.vec.extract, %86 ]
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %92, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %93, i64 1
  %94 = call float @cargf(<2 x float> noundef %.sroa.0.4.vec.insert) #10
  %95 = getelementptr inbounds float, ptr %56, i64 %indvars.iv136
  store float %94, ptr %95, align 4, !tbaa !11
  %96 = call i32 @iirfilt_rrrf_execute(ptr noundef %57, float noundef %94, ptr noundef nonnull %5) #10
  %97 = trunc nuw i64 %indvars.iv136 to i32
  %98 = urem i32 %97, %36
  %99 = icmp eq i32 %98, 0
  %100 = icmp eq i64 %indvars.iv136, %66
  %or.cond = select i1 %99, i1 true, i1 %100
  br i1 %or.cond, label %101, label %104

101:                                              ; preds = %91
  %102 = fpext float %94 to double
  %103 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %97, double noundef %102)
  br label %104

104:                                              ; preds = %91, %101
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %exitcond140.not = icmp eq i64 %indvars.iv.next137, %52
  br i1 %exitcond140.not, label %._crit_edge116, label %67, !llvm.loop !15

._crit_edge116:                                   ; preds = %104, %._crit_edge.thread, %._crit_edge
  %105 = call i32 @iirfilt_rrrf_destroy(ptr noundef %57) #10
  %106 = call noalias ptr @fopen(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14)
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.13) #10
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.16) #10
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.17) #10
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.18, i32 noundef %.097.ph) #10
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.19) #10
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.20) #10
  br i1 %.not, label %._crit_edge120, label %.lr.ph119

.lr.ph119:                                        ; preds = %._crit_edge116, %.lr.ph119
  %indvars.iv141 = phi i64 [ %indvars.iv.next142, %.lr.ph119 ], [ 0, %._crit_edge116 ]
  %indvars.iv.next142 = add nuw nsw i64 %indvars.iv141, 1
  %113 = getelementptr inbounds { float, float }, ptr %54, i64 %indvars.iv141
  %114 = load float, ptr %113, align 8
  %115 = getelementptr inbounds i8, ptr %113, i64 4
  %116 = fpext float %114 to double
  %117 = load float, ptr %115, align 4
  %118 = fpext float %117 to double
  %119 = trunc nuw i64 %indvars.iv.next142 to i32
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.21, i32 noundef %119, double noundef %116, double noundef %118) #10
  %121 = getelementptr inbounds { float, float }, ptr %55, i64 %indvars.iv141
  %122 = load float, ptr %121, align 8
  %123 = getelementptr inbounds i8, ptr %121, i64 4
  %124 = fpext float %122 to double
  %125 = load float, ptr %123, align 4
  %126 = fpext float %125 to double
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.22, i32 noundef %119, double noundef %124, double noundef %126) #10
  %128 = getelementptr inbounds float, ptr %56, i64 %indvars.iv141
  %129 = load float, ptr %128, align 4, !tbaa !11
  %130 = fpext float %129 to double
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.23, i32 noundef %119, double noundef %130) #10
  %exitcond145.not = icmp eq i64 %indvars.iv.next142, %52
  br i1 %exitcond145.not, label %._crit_edge120, label %.lr.ph119, !llvm.loop !16

._crit_edge120:                                   ; preds = %.lr.ph119, %._crit_edge116
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.24) #10
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.25) #10
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.26) #10
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.27) #10
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.28) #10
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.29) #10
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.30) #10
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.31) #10
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.28) #10
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.32) #10
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.25) #10
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.33) #10
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.34) #10
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.35) #10
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.36) #10
  %147 = call i32 @fclose(ptr noundef %106)
  %148 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.37, ptr noundef nonnull @.str.13)
  %149 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #10
  call void @llvm.stackrestore.p0(ptr %53)
  br label %150

150:                                              ; preds = %._crit_edge120, %10
  ret i32 0
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #6

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

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

declare void @iirdes_pll_active_lag(float noundef, float noundef, float noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

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

declare i32 @iirfilt_rrrf_print(ptr noundef) local_unnamed_addr #8

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

; 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

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

declare i32 @iirfilt_rrrf_destroy(ptr noundef) local_unnamed_addr #8

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

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "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 = { 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 #2 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "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 #6 = { noreturn 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 #7 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #8 = { "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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { noreturn nounwind }
attributes #13 = { cold 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!"branch_weights", i32 1, i32 1048575}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}


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