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

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

@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@optarg = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.32 = 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 i32, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca { float, float }, align 4
  %18 = alloca float, align 4
  %19 = alloca { float, float }, align 4
  %20 = alloca { float, float }, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  %25 = 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 256, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store float 1.000000e+01, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  br label %26

26:                                               ; preds = %43, %2
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str.4) #8
  store i32 %29, ptr %8, align 4, !tbaa !5
  %30 = icmp ne i32 %29, -1
  br i1 %30, label %31, label %44

31:                                               ; preds = %26
  %32 = load i32, ptr %8, align 4, !tbaa !5
  switch i32 %32, label %42 [
    i32 104, label %33
    i32 110, label %34
    i32 115, label %38
  ]

33:                                               ; preds = %31
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %350

34:                                               ; preds = %31
  %35 = load ptr, ptr @optarg, align 8, !tbaa !9
  %36 = call double @atof(ptr noundef %35) #9
  %37 = fptoui double %36 to i32
  store i32 %37, ptr %6, align 4, !tbaa !5
  br label %43

38:                                               ; preds = %31
  %39 = load ptr, ptr @optarg, align 8, !tbaa !9
  %40 = call i32 @atoi(ptr noundef %39) #9
  %41 = sitofp i32 %40 to float
  store float %41, ptr %7, align 4, !tbaa !11
  br label %43

42:                                               ; preds = %31
  call void @usage()
  call void @exit(i32 noundef -1) #10
  unreachable

43:                                               ; preds = %38, %34
  br label %26, !llvm.loop !13

44:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %45 = load i32, ptr %6, align 4, !tbaa !5
  %46 = mul i32 3, %45
  store i32 %46, ptr %11, align 4, !tbaa !5
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = zext i32 %47 to i64
  %49 = call ptr @llvm.stacksave.p0()
  store ptr %49, ptr %12, align 8
  %50 = alloca { float, float }, i64 %48, align 16
  store i64 %48, ptr %13, align 8
  %51 = load i32, ptr %11, align 4, !tbaa !5
  %52 = zext i32 %51 to i64
  %53 = alloca { float, float }, i64 %52, align 16
  store i64 %52, ptr %14, align 8
  %54 = load i32, ptr %11, align 4, !tbaa !5
  %55 = zext i32 %54 to i64
  %56 = alloca { float, float }, i64 %55, align 16
  store i64 %55, ptr %15, align 8
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %82, %44
  %58 = load i32, ptr %10, align 4, !tbaa !5
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = icmp ult i32 %58, %59
  br i1 %60, label %61, label %85

61:                                               ; preds = %57
  %62 = call i32 @rand() #8
  %63 = srem i32 %62, 2
  %64 = icmp ne i32 %63, 0
  %65 = zext i1 %64 to i64
  %66 = select i1 %64, double 0x3FE6A09E667F3BCD, double 0xBFE6A09E667F3BCD
  %67 = call i32 @rand() #8
  %68 = srem i32 %67, 2
  %69 = icmp ne i32 %68, 0
  %70 = zext i1 %69 to i64
  %71 = select i1 %69, double 0x3FE6A09E667F3BCD, double 0xBFE6A09E667F3BCD
  %72 = fmul double %71, 0.000000e+00
  %73 = fmul double %71, 1.000000e+00
  %74 = fadd double %66, %72
  %75 = fptrunc double %74 to float
  %76 = fptrunc double %73 to float
  %77 = load i32, ptr %10, align 4, !tbaa !5
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds { float, float }, ptr %50, i64 %78
  %80 = getelementptr inbounds { float, float }, ptr %79, i32 0, i32 0
  %81 = getelementptr inbounds { float, float }, ptr %79, i32 0, i32 1
  store float %75, ptr %80, align 8
  store float %76, ptr %81, align 4
  br label %82

82:                                               ; preds = %61
  %83 = load i32, ptr %10, align 4, !tbaa !5
  %84 = add i32 %83, 1
  store i32 %84, ptr %10, align 4, !tbaa !5
  br label %57, !llvm.loop !15

85:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = call ptr @firfilt_cccf_create(ptr noundef %50, i32 noundef %86)
  store ptr %87, ptr %16, align 8, !tbaa !9
  %88 = load ptr, ptr %16, align 8, !tbaa !9
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = uitofp i32 %89 to float
  %91 = fdiv float 1.000000e+00, %90
  %92 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %93 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %91, ptr %92, align 4
  store float 0.000000e+00, ptr %93, align 4
  %94 = load <2 x float>, ptr %17, align 4
  %95 = call i32 @firfilt_cccf_set_scale(ptr noundef %88, <2 x float> noundef %94)
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %106, %85
  %97 = load i32, ptr %10, align 4, !tbaa !5
  %98 = load i32, ptr %11, align 4, !tbaa !5
  %99 = icmp ult i32 %97, %98
  br i1 %99, label %100, label %109

100:                                              ; preds = %96
  %101 = load i32, ptr %10, align 4, !tbaa !5
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds { float, float }, ptr %53, i64 %102
  %104 = getelementptr inbounds { float, float }, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds { float, float }, ptr %103, i32 0, i32 1
  store float 0.000000e+00, ptr %104, align 8
  store float 0.000000e+00, ptr %105, align 4
  br label %106

106:                                              ; preds = %100
  %107 = load i32, ptr %10, align 4, !tbaa !5
  %108 = add i32 %107, 1
  store i32 %108, ptr %10, align 4, !tbaa !5
  br label %96, !llvm.loop !16

109:                                              ; preds = %96
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %133, %109
  %111 = load i32, ptr %10, align 4, !tbaa !5
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = icmp ult i32 %111, %112
  br i1 %113, label %114, label %136

114:                                              ; preds = %110
  %115 = load i32, ptr %10, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds { float, float }, ptr %50, i64 %116
  %118 = getelementptr inbounds { float, float }, ptr %117, i32 0, i32 0
  %119 = load float, ptr %118, align 8
  %120 = getelementptr inbounds { float, float }, ptr %117, i32 0, i32 1
  %121 = load float, ptr %120, align 4
  %122 = fneg float %121
  %123 = load i32, ptr %6, align 4, !tbaa !5
  %124 = load i32, ptr %6, align 4, !tbaa !5
  %125 = load i32, ptr %10, align 4, !tbaa !5
  %126 = sub i32 %124, %125
  %127 = sub i32 %126, 1
  %128 = add i32 %123, %127
  %129 = zext i32 %128 to i64
  %130 = getelementptr inbounds { float, float }, ptr %53, i64 %129
  %131 = getelementptr inbounds { float, float }, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds { float, float }, ptr %130, i32 0, i32 1
  store float %119, ptr %131, align 8
  store float %122, ptr %132, align 4
  br label %133

133:                                              ; preds = %114
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = add i32 %134, 1
  store i32 %135, ptr %10, align 4, !tbaa !5
  br label %110, !llvm.loop !17

136:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %137 = load float, ptr %7, align 4, !tbaa !11
  %138 = fneg float %137
  %139 = fdiv float %138, 2.000000e+01
  %140 = call float @powf(float noundef 1.000000e+01, float noundef %139) #8
  store float %140, ptr %18, align 4, !tbaa !11
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %141

141:                                              ; preds = %150, %136
  %142 = load i32, ptr %10, align 4, !tbaa !5
  %143 = load i32, ptr %11, align 4, !tbaa !5
  %144 = icmp ult i32 %142, %143
  br i1 %144, label %145, label %153

145:                                              ; preds = %141
  %146 = load i32, ptr %10, align 4, !tbaa !5
  %147 = zext i32 %146 to i64
  %148 = getelementptr inbounds { float, float }, ptr %53, i64 %147
  %149 = load float, ptr %18, align 4, !tbaa !11
  call void @cawgn(ptr noundef %148, float noundef %149)
  br label %150

150:                                              ; preds = %145
  %151 = load i32, ptr %10, align 4, !tbaa !5
  %152 = add i32 %151, 1
  store i32 %152, ptr %10, align 4, !tbaa !5
  br label %141, !llvm.loop !18

153:                                              ; preds = %141
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %154

154:                                              ; preds = %176, %153
  %155 = load i32, ptr %10, align 4, !tbaa !5
  %156 = load i32, ptr %11, align 4, !tbaa !5
  %157 = icmp ult i32 %155, %156
  br i1 %157, label %158, label %179

158:                                              ; preds = %154
  %159 = load ptr, ptr %16, align 8, !tbaa !9
  %160 = load i32, ptr %10, align 4, !tbaa !5
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds { float, float }, ptr %53, i64 %161
  %163 = getelementptr inbounds { float, float }, ptr %162, i32 0, i32 0
  %164 = load float, ptr %163, align 8
  %165 = getelementptr inbounds { float, float }, ptr %162, i32 0, i32 1
  %166 = load float, ptr %165, align 4
  %167 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %168 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float %164, ptr %167, align 4
  store float %166, ptr %168, align 4
  %169 = load <2 x float>, ptr %19, align 4
  %170 = call i32 @firfilt_cccf_push(ptr noundef %159, <2 x float> noundef %169)
  %171 = load ptr, ptr %16, align 8, !tbaa !9
  %172 = load i32, ptr %10, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds { float, float }, ptr %56, i64 %173
  %175 = call i32 @firfilt_cccf_execute(ptr noundef %171, ptr noundef %174)
  br label %176

176:                                              ; preds = %158
  %177 = load i32, ptr %10, align 4, !tbaa !5
  %178 = add i32 %177, 1
  store i32 %178, ptr %10, align 4, !tbaa !5
  br label %154, !llvm.loop !19

179:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %180 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %181 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  store float 0.000000e+00, ptr %180, align 4
  store float 0.000000e+00, ptr %181, align 4
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %182

182:                                              ; preds = %221, %179
  %183 = load i32, ptr %10, align 4, !tbaa !5
  %184 = load i32, ptr %11, align 4, !tbaa !5
  %185 = icmp ult i32 %183, %184
  br i1 %185, label %186, label %224

186:                                              ; preds = %182
  %187 = load i32, ptr %10, align 4, !tbaa !5
  %188 = icmp eq i32 %187, 0
  br i1 %188, label %210, label %189

189:                                              ; preds = %186
  %190 = load i32, ptr %10, align 4, !tbaa !5
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds { float, float }, ptr %56, i64 %191
  %193 = getelementptr inbounds { float, float }, ptr %192, i32 0, i32 0
  %194 = load float, ptr %193, align 8
  %195 = getelementptr inbounds { float, float }, ptr %192, i32 0, i32 1
  %196 = load float, ptr %195, align 4
  %197 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %198 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  store float %194, ptr %197, align 4
  store float %196, ptr %198, align 4
  %199 = load <2 x float>, ptr %21, align 4
  %200 = call float @cabsf(<2 x float> noundef %199) #8
  %201 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %202 = load float, ptr %201, align 4
  %203 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %204 = load float, ptr %203, align 4
  %205 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %206 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  store float %202, ptr %205, align 4
  store float %204, ptr %206, align 4
  %207 = load <2 x float>, ptr %22, align 4
  %208 = call float @cabsf(<2 x float> noundef %207) #8
  %209 = fcmp ogt float %200, %208
  br i1 %209, label %210, label %220

210:                                              ; preds = %189, %186
  %211 = load i32, ptr %10, align 4, !tbaa !5
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds { float, float }, ptr %56, i64 %212
  %214 = getelementptr inbounds { float, float }, ptr %213, i32 0, i32 0
  %215 = load float, ptr %214, align 8
  %216 = getelementptr inbounds { float, float }, ptr %213, i32 0, i32 1
  %217 = load float, ptr %216, align 4
  %218 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %219 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  store float %215, ptr %218, align 4
  store float %217, ptr %219, align 4
  br label %220

220:                                              ; preds = %210, %189
  br label %221

221:                                              ; preds = %220
  %222 = load i32, ptr %10, align 4, !tbaa !5
  %223 = add i32 %222, 1
  store i32 %223, ptr %10, align 4, !tbaa !5
  br label %182, !llvm.loop !20

224:                                              ; preds = %182
  %225 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %226 = load float, ptr %225, align 4
  %227 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %228 = load float, ptr %227, align 4
  %229 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %230 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  store float %226, ptr %229, align 4
  store float %228, ptr %230, align 4
  %231 = load <2 x float>, ptr %23, align 4
  %232 = call float @cabsf(<2 x float> noundef %231) #8
  %233 = fpext float %232 to double
  %234 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %235 = load float, ptr %234, align 4
  %236 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %237 = load float, ptr %236, align 4
  %238 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %239 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %235, ptr %238, align 4
  store float %237, ptr %239, align 4
  %240 = load <2 x float>, ptr %24, align 4
  %241 = call float @cargf(<2 x float> noundef %240) #8
  %242 = fpext float %241 to double
  %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %233, double noundef %242)
  %244 = load ptr, ptr %16, align 8, !tbaa !9
  %245 = call i32 @firfilt_cccf_destroy(ptr noundef %244)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %246 = call noalias ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
  store ptr %246, ptr %25, align 8, !tbaa !9
  %247 = load ptr, ptr %25, align 8, !tbaa !9
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str.8, ptr noundef @.str.6) #8
  %249 = load ptr, ptr %25, align 8, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.9) #8
  %251 = load ptr, ptr %25, align 8, !tbaa !9
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.10) #8
  %253 = load ptr, ptr %25, align 8, !tbaa !9
  %254 = load i32, ptr %11, align 4, !tbaa !5
  %255 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.11, i32 noundef %254) #8
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %256

256:                                              ; preds = %301, %224
  %257 = load i32, ptr %10, align 4, !tbaa !5
  %258 = load i32, ptr %11, align 4, !tbaa !5
  %259 = icmp ult i32 %257, %258
  br i1 %259, label %260, label %304

260:                                              ; preds = %256
  %261 = load ptr, ptr %25, align 8, !tbaa !9
  %262 = load i32, ptr %10, align 4, !tbaa !5
  %263 = add i32 %262, 1
  %264 = load i32, ptr %10, align 4, !tbaa !5
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds { float, float }, ptr %53, i64 %265
  %267 = getelementptr inbounds { float, float }, ptr %266, i32 0, i32 0
  %268 = load float, ptr %267, align 8
  %269 = getelementptr inbounds { float, float }, ptr %266, i32 0, i32 1
  %270 = load float, ptr %269, align 4
  %271 = fpext float %268 to double
  %272 = load i32, ptr %10, align 4, !tbaa !5
  %273 = zext i32 %272 to i64
  %274 = getelementptr inbounds { float, float }, ptr %53, i64 %273
  %275 = getelementptr inbounds { float, float }, ptr %274, i32 0, i32 0
  %276 = load float, ptr %275, align 8
  %277 = getelementptr inbounds { float, float }, ptr %274, i32 0, i32 1
  %278 = load float, ptr %277, align 4
  %279 = fpext float %278 to double
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.12, i32 noundef %263, double noundef %271, double noundef %279) #8
  %281 = load ptr, ptr %25, align 8, !tbaa !9
  %282 = load i32, ptr %10, align 4, !tbaa !5
  %283 = add i32 %282, 1
  %284 = load i32, ptr %10, align 4, !tbaa !5
  %285 = zext i32 %284 to i64
  %286 = getelementptr inbounds { float, float }, ptr %56, i64 %285
  %287 = getelementptr inbounds { float, float }, ptr %286, i32 0, i32 0
  %288 = load float, ptr %287, align 8
  %289 = getelementptr inbounds { float, float }, ptr %286, i32 0, i32 1
  %290 = load float, ptr %289, align 4
  %291 = fpext float %288 to double
  %292 = load i32, ptr %10, align 4, !tbaa !5
  %293 = zext i32 %292 to i64
  %294 = getelementptr inbounds { float, float }, ptr %56, i64 %293
  %295 = getelementptr inbounds { float, float }, ptr %294, i32 0, i32 0
  %296 = load float, ptr %295, align 8
  %297 = getelementptr inbounds { float, float }, ptr %294, i32 0, i32 1
  %298 = load float, ptr %297, align 4
  %299 = fpext float %298 to double
  %300 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.13, i32 noundef %283, double noundef %291, double noundef %299) #8
  br label %301

301:                                              ; preds = %260
  %302 = load i32, ptr %10, align 4, !tbaa !5
  %303 = add i32 %302, 1
  store i32 %303, ptr %10, align 4, !tbaa !5
  br label %256, !llvm.loop !21

304:                                              ; preds = %256
  %305 = load ptr, ptr %25, align 8, !tbaa !9
  %306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.14) #8
  %307 = load ptr, ptr %25, align 8, !tbaa !9
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef @.str.15) #8
  %309 = load ptr, ptr %25, align 8, !tbaa !9
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %309, ptr noundef @.str.16) #8
  %311 = load ptr, ptr %25, align 8, !tbaa !9
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %311, ptr noundef @.str.17) #8
  %313 = load ptr, ptr %25, align 8, !tbaa !9
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.18) #8
  %315 = load ptr, ptr %25, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.19) #8
  %317 = load ptr, ptr %25, align 8, !tbaa !9
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.20) #8
  %319 = load ptr, ptr %25, align 8, !tbaa !9
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef @.str.21) #8
  %321 = load ptr, ptr %25, align 8, !tbaa !9
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.22) #8
  %323 = load ptr, ptr %25, align 8, !tbaa !9
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.23) #8
  %325 = load ptr, ptr %25, align 8, !tbaa !9
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.24) #8
  %327 = load ptr, ptr %25, align 8, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.25) #8
  %329 = load ptr, ptr %25, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.26) #8
  %331 = load ptr, ptr %25, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.27) #8
  %333 = load ptr, ptr %25, align 8, !tbaa !9
  %334 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef @.str.28) #8
  %335 = load ptr, ptr %25, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.22) #8
  %337 = load ptr, ptr %25, align 8, !tbaa !9
  %338 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.29) #8
  %339 = load ptr, ptr %25, align 8, !tbaa !9
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %339, ptr noundef @.str.30) #8
  %341 = load ptr, ptr %25, align 8, !tbaa !9
  %342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %341, ptr noundef @.str.26) #8
  %343 = load ptr, ptr %25, align 8, !tbaa !9
  %344 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %343, ptr noundef @.str.14) #8
  %345 = load ptr, ptr %25, align 8, !tbaa !9
  %346 = call i32 @fclose(ptr noundef %345)
  %347 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef @.str.6)
  %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %349 = load ptr, ptr %12, align 8
  call void @llvm.stackrestore.p0(ptr %349)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %350

350:                                              ; preds = %304, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %351 = load i32, ptr %3, align 4
  ret i32 %351
}

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

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

; 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: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #7

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

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

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

; Function Attrs: nounwind
declare float @powf(float noundef, float noundef) #4

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

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

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

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

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

declare i32 @firfilt_cccf_destroy(ptr noundef) #1

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

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

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) #3

; 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { 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 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !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.4 = external hidden unnamed_addr constant [6 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.32 = 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 {
  br label %.outer

.outer:                                           ; preds = %10, %2
  %.0100.ph = phi float [ %13, %10 ], [ 1.000000e+01, %2 ]
  %.099.ph = phi i32 [ %.099, %10 ], [ 256, %2 ]
  br label %3

3:                                                ; preds = %.outer, %6
  %.099 = phi i32 [ %9, %6 ], [ %.099.ph, %.outer ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.4) #11
  switch i32 %4, label %14 [
    i32 -1, label %15
    i32 104, label %5
    i32 110, label %6
    i32 115, label %10
  ]

5:                                                ; preds = %3
  tail call void @usage()
  br label %170

6:                                                ; preds = %3
  %7 = load ptr, ptr @optarg, align 8, !tbaa !5
  %8 = tail call double @atof(ptr noundef %7) #12
  %9 = fptoui double %8 to i32
  br label %3, !llvm.loop !9

10:                                               ; preds = %3
  %11 = load ptr, ptr @optarg, align 8, !tbaa !5
  %12 = tail call i32 @atoi(ptr nocapture noundef %11) #12
  %13 = sitofp i32 %12 to float
  br label %.outer, !llvm.loop !9

14:                                               ; preds = %3
  tail call void @usage()
  tail call void @exit(i32 noundef -1) #13
  unreachable

15:                                               ; preds = %3
  %16 = mul i32 %.099, 3
  %17 = zext i32 %.099 to i64
  %18 = tail call ptr @llvm.stacksave.p0()
  %19 = alloca { float, float }, i64 %17, align 16
  %20 = zext i32 %16 to i64
  %21 = alloca { float, float }, i64 %20, align 16
  %22 = alloca { float, float }, i64 %20, align 16
  %.not = icmp eq i32 %.099, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %15, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %15 ]
  %23 = tail call i32 @rand() #11
  %24 = and i32 %23, 1
  %.not105 = icmp eq i32 %24, 0
  %25 = select i1 %.not105, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %26 = tail call i32 @rand() #11
  %27 = and i32 %26, 1
  %.not106 = icmp eq i32 %27, 0
  %28 = select i1 %.not106, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %29 = tail call double @llvm.copysign.f64(double 0.000000e+00, double %28)
  %30 = fadd double %25, %29
  %31 = getelementptr inbounds { float, float }, ptr %19, i64 %indvars.iv
  %32 = insertelement <2 x double> poison, double %30, i64 0
  %33 = insertelement <2 x double> %32, double %28, i64 1
  %34 = fptrunc <2 x double> %33 to <2 x float>
  store <2 x float> %34, ptr %31, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %17
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %15
  %35 = call ptr @firfilt_cccf_create(ptr noundef nonnull %19, i32 noundef %.099) #11
  %36 = uitofp i32 %.099 to float
  %37 = fdiv float 1.000000e+00, %36
  %.sroa.042.4.vec.insert = insertelement <2 x float> <float poison, float 0.000000e+00>, float %37, i64 0
  %38 = call i32 @firfilt_cccf_set_scale(ptr noundef %35, <2 x float> noundef %.sroa.042.4.vec.insert) #11
  br i1 %.not, label %._crit_edge119.thread, label %.lr.ph118

._crit_edge119.thread:                            ; preds = %._crit_edge
  %39 = fdiv float %.0100.ph, -2.000000e+01
  %40 = call float @powf(float noundef 1.000000e+01, float noundef %39) #11
  br label %._crit_edge129

.lr.ph118:                                        ; preds = %._crit_edge
  %umax = call i64 @llvm.umax.i64(i64 %20, i64 1)
  %41 = shl nuw nsw i64 %umax, 3
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %21, i8 0, i64 %41, i1 false)
  %reass.add = shl i32 %.099, 1
  %min.iters.check = icmp ult i32 %.099, 26
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.scevcheck

vector.scevcheck:                                 ; preds = %.lr.ph118
  %42 = add nsw i64 %17, -1
  %43 = add i32 %reass.add, -1
  %44 = trunc i64 %42 to i32
  %45 = icmp ult i32 %43, %44
  %46 = icmp ugt i64 %42, 4294967295
  %47 = or i1 %45, %46
  %scevgep = getelementptr i8, ptr %21, i64 8
  %48 = add i32 %reass.add, -2
  %49 = zext i32 %48 to i64
  %50 = shl nuw nsw i64 %49, 3
  %scevgep190 = getelementptr i8, ptr %scevgep, i64 %50
  %mul.result192.neg = mul nsw i64 %42, -8
  %51 = getelementptr i8, ptr %scevgep190, i64 %mul.result192.neg
  %52 = icmp ugt ptr %51, %scevgep190
  %scevgep194 = getelementptr i8, ptr %21, i64 12
  %scevgep195 = getelementptr i8, ptr %scevgep194, i64 %50
  %mul.result197.neg = mul nsw i64 %42, -8
  %53 = getelementptr i8, ptr %scevgep195, i64 %mul.result197.neg
  %54 = icmp ugt ptr %53, %scevgep195
  %55 = or i1 %52, %47
  %56 = or i1 %54, %55
  br i1 %56, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.scevcheck
  %n.vec = and i64 %17, 4294967294
  %invariant.gep = getelementptr i8, ptr %21, i64 -12
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %57 = trunc i64 %index to i32
  %58 = getelementptr inbounds { float, float }, ptr %19, i64 %index
  %wide.vec = load <4 x float>, ptr %58, align 16
  %strided.vec = shufflevector <4 x float> %wide.vec, <4 x float> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec199 = shufflevector <4 x float> %wide.vec, <4 x float> poison, <2 x i32> <i32 1, i32 3>
  %59 = xor i32 %57, -1
  %60 = add i32 %reass.add, %59
  %61 = zext i32 %60 to i64
  %gep = getelementptr { float, float }, ptr %invariant.gep, i64 %61, i32 1
  %reverse = shufflevector <2 x float> %strided.vec, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %62 = shufflevector <2 x float> %strided.vec199, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %reverse200 = fneg <2 x float> %62
  %interleaved.vec = shufflevector <2 x float> %reverse, <2 x float> %reverse200, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec, ptr %gep, align 8
  %index.next = add nuw i64 %index, 2
  %63 = icmp eq i64 %index.next, %n.vec
  br i1 %63, label %middle.block, label %vector.body, !llvm.loop !12

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %17
  br i1 %cmp.n, label %._crit_edge119, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.scevcheck, %.lr.ph118
  %indvars.iv149.ph = phi i64 [ 0, %vector.scevcheck ], [ 0, %.lr.ph118 ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %17, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %64 = getelementptr inbounds { float, float }, ptr %19, i64 %indvars.iv149.ph
  %65 = load float, ptr %64, align 16
  %66 = getelementptr inbounds i8, ptr %64, i64 4
  %67 = load float, ptr %66, align 4
  %68 = fneg float %67
  %69 = trunc nuw i64 %indvars.iv149.ph to i32
  %70 = xor i32 %69, -1
  %71 = add i32 %reass.add, %70
  %72 = zext i32 %71 to i64
  %73 = getelementptr inbounds { float, float }, ptr %21, i64 %72
  %74 = getelementptr inbounds i8, ptr %73, i64 4
  store float %65, ptr %73, align 8
  store float %68, ptr %74, align 4
  %indvars.iv.next150.prol = or disjoint i64 %indvars.iv149.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv149.unr = phi i64 [ %indvars.iv149.ph, %scalar.ph.preheader ], [ %indvars.iv.next150.prol, %scalar.ph.prol ]
  %75 = add nsw i64 %17, -1
  %76 = icmp eq i64 %indvars.iv149.ph, %75
  br i1 %76, label %._crit_edge119, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv149 = phi i64 [ %indvars.iv.next150.1, %scalar.ph ], [ %indvars.iv149.unr, %scalar.ph.prol.loopexit ]
  %77 = getelementptr inbounds { float, float }, ptr %19, i64 %indvars.iv149
  %78 = load float, ptr %77, align 8
  %79 = getelementptr inbounds i8, ptr %77, i64 4
  %80 = load float, ptr %79, align 4
  %81 = fneg float %80
  %82 = trunc nuw i64 %indvars.iv149 to i32
  %83 = xor i32 %82, -1
  %84 = add i32 %reass.add, %83
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds { float, float }, ptr %21, i64 %85
  %87 = getelementptr inbounds i8, ptr %86, i64 4
  store float %78, ptr %86, align 8
  store float %81, ptr %87, align 4
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %88 = getelementptr inbounds { float, float }, ptr %19, i64 %indvars.iv.next150
  %89 = load float, ptr %88, align 8
  %90 = getelementptr inbounds i8, ptr %88, i64 4
  %91 = load float, ptr %90, align 4
  %92 = fneg float %91
  %93 = trunc nuw i64 %indvars.iv.next150 to i32
  %94 = xor i32 %93, -1
  %95 = add i32 %reass.add, %94
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds { float, float }, ptr %21, i64 %96
  %98 = getelementptr inbounds i8, ptr %97, i64 4
  store float %89, ptr %97, align 8
  store float %92, ptr %98, align 4
  %indvars.iv.next150.1 = add nuw nsw i64 %indvars.iv149, 2
  %exitcond153.not.1 = icmp eq i64 %indvars.iv.next150.1, %17
  br i1 %exitcond153.not.1, label %._crit_edge119, label %scalar.ph, !llvm.loop !15

._crit_edge119:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %99 = fdiv float %.0100.ph, -2.000000e+01
  %100 = call float @powf(float noundef 1.000000e+01, float noundef %99) #11
  br i1 %.not, label %._crit_edge129, label %.lr.ph122.preheader

.lr.ph122.preheader:                              ; preds = %._crit_edge119
  %umax157 = call i32 @llvm.umax.i32(i32 %16, i32 1)
  %wide.trip.count158 = zext i32 %umax157 to i64
  br label %.lr.ph122

.preheader107:                                    ; preds = %.lr.ph122
  br i1 %.not, label %._crit_edge129, label %.lr.ph124.preheader

.lr.ph124.preheader:                              ; preds = %.preheader107
  %umax163 = call i32 @llvm.umax.i32(i32 %16, i32 1)
  %wide.trip.count164 = zext i32 %umax163 to i64
  br label %.lr.ph124

.lr.ph122:                                        ; preds = %.lr.ph122.preheader, %.lr.ph122
  %indvars.iv154 = phi i64 [ 0, %.lr.ph122.preheader ], [ %indvars.iv.next155, %.lr.ph122 ]
  %101 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv154
  call void @cawgn(ptr noundef nonnull %101, float noundef %100) #11
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %exitcond159.not = icmp eq i64 %indvars.iv.next155, %wide.trip.count158
  br i1 %exitcond159.not, label %.preheader107, label %.lr.ph122, !llvm.loop !16

.preheader:                                       ; preds = %.lr.ph124
  br i1 %.not, label %._crit_edge129, label %102

102:                                              ; preds = %.preheader
  %umax169 = call i32 @llvm.umax.i32(i32 %16, i32 1)
  %wide.trip.count170 = zext i32 %umax169 to i64
  %103 = load <2 x float>, ptr %22, align 16
  %exitcond171.peel.not = icmp ult i32 %16, 2
  br i1 %exitcond171.peel.not, label %._crit_edge129, label %.lr.ph128.peel.next

.lr.ph124:                                        ; preds = %.lr.ph124.preheader, %.lr.ph124
  %indvars.iv160 = phi i64 [ 0, %.lr.ph124.preheader ], [ %indvars.iv.next161, %.lr.ph124 ]
  %104 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv160
  %105 = load <2 x float>, ptr %104, align 8
  %106 = call i32 @firfilt_cccf_push(ptr noundef %35, <2 x float> noundef %105) #11
  %107 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv160
  %108 = call i32 @firfilt_cccf_execute(ptr noundef %35, ptr noundef nonnull %107) #11
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %exitcond165.not = icmp eq i64 %indvars.iv.next161, %wide.trip.count164
  br i1 %exitcond165.not, label %.preheader, label %.lr.ph124, !llvm.loop !17

.lr.ph128.peel.next:                              ; preds = %102, %118
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %118 ], [ 1, %102 ]
  %109 = phi <2 x float> [ %119, %118 ], [ %103, %102 ]
  %110 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv166
  %111 = load <2 x float>, ptr %110, align 8
  %112 = call float @cabsf(<2 x float> noundef %111) #11
  %113 = call float @cabsf(<2 x float> noundef %109) #11
  %114 = fcmp ogt float %112, %113
  br i1 %114, label %115, label %118

115:                                              ; preds = %.lr.ph128.peel.next
  %116 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv166
  %117 = load <2 x float>, ptr %116, align 8
  br label %118

118:                                              ; preds = %.lr.ph128.peel.next, %115
  %119 = phi <2 x float> [ %117, %115 ], [ %109, %.lr.ph128.peel.next ]
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %exitcond171.not = icmp eq i64 %indvars.iv.next167, %wide.trip.count170
  br i1 %exitcond171.not, label %._crit_edge129, label %.lr.ph128.peel.next, !llvm.loop !18

._crit_edge129:                                   ; preds = %118, %._crit_edge119, %._crit_edge119.thread, %.preheader107, %102, %.preheader
  %120 = phi <2 x float> [ zeroinitializer, %.preheader ], [ %103, %102 ], [ zeroinitializer, %.preheader107 ], [ zeroinitializer, %._crit_edge119.thread ], [ zeroinitializer, %._crit_edge119 ], [ %119, %118 ]
  %121 = call float @cabsf(<2 x float> noundef %120) #11
  %122 = fpext float %121 to double
  %123 = call float @cargf(<2 x float> noundef %120) #11
  %124 = fpext float %123 to double
  %125 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %122, double noundef %124)
  %126 = call i32 @firfilt_cccf_destroy(ptr noundef %35) #11
  %127 = call noalias ptr @fopen(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7)
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.6) #11
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.9) #11
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.10) #11
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.11, i32 noundef %16) #11
  br i1 %.not, label %._crit_edge134, label %.lr.ph133.preheader

.lr.ph133.preheader:                              ; preds = %._crit_edge129
  %umax176 = call i32 @llvm.umax.i32(i32 %16, i32 1)
  %wide.trip.count177 = zext i32 %umax176 to i64
  br label %.lr.ph133

.lr.ph133:                                        ; preds = %.lr.ph133.preheader, %.lr.ph133
  %indvars.iv173 = phi i64 [ 0, %.lr.ph133.preheader ], [ %indvars.iv.next174, %.lr.ph133 ]
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %132 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv173
  %133 = load float, ptr %132, align 8
  %134 = getelementptr inbounds i8, ptr %132, i64 4
  %135 = fpext float %133 to double
  %136 = load float, ptr %134, align 4
  %137 = fpext float %136 to double
  %138 = trunc nuw i64 %indvars.iv.next174 to i32
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.12, i32 noundef %138, double noundef %135, double noundef %137) #11
  %140 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv173
  %141 = load float, ptr %140, align 8
  %142 = getelementptr inbounds i8, ptr %140, i64 4
  %143 = fpext float %141 to double
  %144 = load float, ptr %142, align 4
  %145 = fpext float %144 to double
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.13, i32 noundef %138, double noundef %143, double noundef %145) #11
  %exitcond178.not = icmp eq i64 %indvars.iv.next174, %wide.trip.count177
  br i1 %exitcond178.not, label %._crit_edge134, label %.lr.ph133, !llvm.loop !20

._crit_edge134:                                   ; preds = %.lr.ph133, %._crit_edge129
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.14) #11
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.15) #11
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.16) #11
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.17) #11
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.18) #11
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.19) #11
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.20) #11
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.21) #11
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.22) #11
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.23) #11
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.24) #11
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.25) #11
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.26) #11
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.27) #11
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.28) #11
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.22) #11
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.29) #11
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.30) #11
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.26) #11
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.14) #11
  %167 = call i32 @fclose(ptr noundef %127)
  %168 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, ptr noundef nonnull @.str.6)
  %169 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32)
  call void @llvm.stackrestore.p0(ptr %18)
  br label %170

170:                                              ; preds = %._crit_edge134, %5
  ret i32 0
}

; 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 #4

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

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

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

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

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

declare i32 @firfilt_cccf_set_scale(ptr noundef, <2 x float> noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @powf(float noundef, float noundef) local_unnamed_addr #8

declare void @cawgn(ptr noundef, float noundef) local_unnamed_addr #7

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

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

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

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

declare i32 @firfilt_cccf_destroy(ptr noundef) local_unnamed_addr #7

; 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 @fprintf(ptr nocapture noundef, 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
declare void @llvm.stackrestore.p0(ptr) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.copysign.f64(double, double) #9

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #9

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #9

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 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { "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 #8 = { mustprogress nofree nounwind willreturn memory(write) "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { 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 = !{!"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 = distinct !{!11, !10}
!12 = distinct !{!12, !10, !13, !14}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !10, !13}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10, !19}
!19 = !{!"llvm.loop.peeled.count", i32 1}
!20 = distinct !{!20, !10}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass