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

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

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

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

44:                                               ; preds = %83, %0
  %45 = load i32, ptr %7, align 4, !tbaa !5
  %46 = load i32, ptr %8, align 4, !tbaa !5
  %47 = icmp ult i32 %45, %46
  br i1 %47, label %48, label %86

48:                                               ; preds = %44
  %49 = load i32, ptr %7, align 4, !tbaa !5
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = icmp ult i32 %49, %50
  br i1 %51, label %52, label %74

52:                                               ; preds = %48
  %53 = load i32, ptr %7, align 4, !tbaa !5
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds float, ptr %40, i64 %54
  %56 = load float, ptr %55, align 4, !tbaa !9
  %57 = load float, ptr %4, align 4, !tbaa !9
  %58 = fmul float 0.000000e+00, %57
  %59 = fmul float 1.000000e+00, %57
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = uitofp i32 %60 to float
  %62 = fmul float %58, %61
  %63 = fmul float %59, %61
  %64 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %65 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float %62, ptr %64, align 4
  store float %63, ptr %65, align 4
  %66 = load <2 x float>, ptr %14, align 4
  %67 = call <2 x float> @cexpf(<2 x float> noundef %66) #6
  store <2 x float> %67, ptr %15, align 4
  %68 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 0
  %69 = load float, ptr %68, align 4
  %70 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 1
  %71 = load float, ptr %70, align 4
  %72 = fmul float %56, %69
  %73 = fmul float %56, %71
  br label %75

74:                                               ; preds = %48
  br label %75

75:                                               ; preds = %74, %52
  %76 = phi float [ %72, %52 ], [ 0.000000e+00, %74 ]
  %77 = phi float [ %73, %52 ], [ 0.000000e+00, %74 ]
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds { float, float }, ptr %30, i64 %79
  %81 = getelementptr inbounds { float, float }, ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds { float, float }, ptr %80, i32 0, i32 1
  store float %76, ptr %81, align 8
  store float %77, ptr %82, align 4
  br label %83

83:                                               ; preds = %75
  %84 = load i32, ptr %7, align 4, !tbaa !5
  %85 = add i32 %84, 1
  store i32 %85, ptr %7, align 4, !tbaa !5
  br label %44, !llvm.loop !11

86:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %87 = load i32, ptr %2, align 4, !tbaa !5
  %88 = load float, ptr %6, align 4, !tbaa !9
  %89 = call ptr @resamp2_crcf_create(i32 noundef %87, float noundef 0.000000e+00, float noundef %88)
  store ptr %89, ptr %16, align 8, !tbaa !13
  %90 = load ptr, ptr %16, align 8, !tbaa !13
  %91 = call i32 @resamp2_crcf_print(ptr noundef %90)
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %113, %86
  %93 = load i32, ptr %7, align 4, !tbaa !5
  %94 = load i32, ptr %8, align 4, !tbaa !5
  %95 = icmp ult i32 %93, %94
  br i1 %95, label %96, label %116

96:                                               ; preds = %92
  %97 = load ptr, ptr %16, align 8, !tbaa !13
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds { float, float }, ptr %30, i64 %99
  %101 = getelementptr inbounds { float, float }, ptr %100, i32 0, i32 0
  %102 = load float, ptr %101, align 8
  %103 = getelementptr inbounds { float, float }, ptr %100, i32 0, i32 1
  %104 = load float, ptr %103, align 4
  %105 = load i32, ptr %7, align 4, !tbaa !5
  %106 = mul i32 2, %105
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds { float, float }, ptr %34, i64 %107
  %109 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %110 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %102, ptr %109, align 4
  store float %104, ptr %110, align 4
  %111 = load <2 x float>, ptr %17, align 4
  %112 = call i32 @resamp2_crcf_interp_execute(ptr noundef %97, <2 x float> noundef %111, ptr noundef %108)
  br label %113

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

116:                                              ; preds = %92
  %117 = load ptr, ptr %16, align 8, !tbaa !13
  %118 = call i32 @resamp2_crcf_reset(ptr noundef %117)
  %119 = load ptr, ptr %16, align 8, !tbaa !13
  %120 = call i32 @resamp2_crcf_set_scale(ptr noundef %119, float noundef 5.000000e-01)
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %135, %116
  %122 = load i32, ptr %7, align 4, !tbaa !5
  %123 = load i32, ptr %8, align 4, !tbaa !5
  %124 = icmp ult i32 %122, %123
  br i1 %124, label %125, label %138

125:                                              ; preds = %121
  %126 = load ptr, ptr %16, align 8, !tbaa !13
  %127 = load i32, ptr %7, align 4, !tbaa !5
  %128 = mul i32 2, %127
  %129 = zext i32 %128 to i64
  %130 = getelementptr inbounds { float, float }, ptr %34, i64 %129
  %131 = load i32, ptr %7, align 4, !tbaa !5
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds { float, float }, ptr %37, i64 %132
  %134 = call i32 @resamp2_crcf_decim_execute(ptr noundef %126, ptr noundef %130, ptr noundef %133)
  br label %135

135:                                              ; preds = %125
  %136 = load i32, ptr %7, align 4, !tbaa !5
  %137 = add i32 %136, 1
  store i32 %137, ptr %7, align 4, !tbaa !5
  br label %121, !llvm.loop !16

138:                                              ; preds = %121
  %139 = load ptr, ptr %16, align 8, !tbaa !13
  %140 = call i32 @resamp2_crcf_destroy(ptr noundef %139)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store float 0.000000e+00, ptr %18, align 4, !tbaa !9
  %141 = load i32, ptr %2, align 4, !tbaa !5
  %142 = mul i32 2, %141
  store i32 %142, ptr %7, align 4, !tbaa !5
  br label %143

143:                                              ; preds = %175, %138
  %144 = load i32, ptr %7, align 4, !tbaa !5
  %145 = load i32, ptr %8, align 4, !tbaa !5
  %146 = icmp ult i32 %144, %145
  br i1 %146, label %147, label %178

147:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %148 = load i32, ptr %7, align 4, !tbaa !5
  %149 = load i32, ptr %2, align 4, !tbaa !5
  %150 = mul i32 2, %149
  %151 = sub i32 %148, %150
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds { float, float }, ptr %30, i64 %152
  %154 = getelementptr inbounds { float, float }, ptr %153, i32 0, i32 0
  %155 = load float, ptr %154, align 8
  %156 = getelementptr inbounds { float, float }, ptr %153, i32 0, i32 1
  %157 = load float, ptr %156, align 4
  %158 = load i32, ptr %7, align 4, !tbaa !5
  %159 = zext i32 %158 to i64
  %160 = getelementptr inbounds { float, float }, ptr %37, i64 %159
  %161 = getelementptr inbounds { float, float }, ptr %160, i32 0, i32 0
  %162 = load float, ptr %161, align 8
  %163 = getelementptr inbounds { float, float }, ptr %160, i32 0, i32 1
  %164 = load float, ptr %163, align 4
  %165 = fsub float %155, %162
  %166 = fsub float %157, %164
  %167 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %168 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  store float %165, ptr %167, align 4
  store float %166, ptr %168, align 4
  %169 = load <2 x float>, ptr %20, align 4
  %170 = call float @cabsf(<2 x float> noundef %169) #6
  store float %170, ptr %19, align 4, !tbaa !9
  %171 = load float, ptr %19, align 4, !tbaa !9
  %172 = load float, ptr %19, align 4, !tbaa !9
  %173 = load float, ptr %18, align 4, !tbaa !9
  %174 = call float @llvm.fmuladd.f32(float %171, float %172, float %173)
  store float %174, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %175

175:                                              ; preds = %147
  %176 = load i32, ptr %7, align 4, !tbaa !5
  %177 = add i32 %176, 1
  store i32 %177, ptr %7, align 4, !tbaa !5
  br label %143, !llvm.loop !17

178:                                              ; preds = %143
  %179 = load float, ptr %18, align 4, !tbaa !9
  %180 = load i32, ptr %8, align 4, !tbaa !5
  %181 = load i32, ptr %2, align 4, !tbaa !5
  %182 = mul i32 2, %181
  %183 = sub i32 %180, %182
  %184 = uitofp i32 %183 to float
  %185 = fdiv float %179, %184
  %186 = call float @sqrtf(float noundef %185) #6
  store float %186, ptr %18, align 4, !tbaa !9
  %187 = load float, ptr %18, align 4, !tbaa !9
  %188 = fpext float %187 to double
  %189 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %188)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %190 = call noalias ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
  store ptr %190, ptr %21, align 8, !tbaa !13
  %191 = load ptr, ptr %21, align 8, !tbaa !13
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.3, ptr noundef @.str.1) #6
  %193 = load ptr, ptr %21, align 8, !tbaa !13
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.4) #6
  %195 = load ptr, ptr %21, align 8, !tbaa !13
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.5) #6
  %197 = load ptr, ptr %21, align 8, !tbaa !13
  %198 = load float, ptr %3, align 4, !tbaa !9
  %199 = fpext float %198 to double
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.6, double noundef %199) #6
  %201 = load ptr, ptr %21, align 8, !tbaa !13
  %202 = load i32, ptr %8, align 4, !tbaa !5
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.7, i32 noundef %202) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %204

204:                                              ; preds = %229, %178
  %205 = load i32, ptr %7, align 4, !tbaa !5
  %206 = load i32, ptr %8, align 4, !tbaa !5
  %207 = icmp ult i32 %205, %206
  br i1 %207, label %208, label %232

208:                                              ; preds = %204
  %209 = load ptr, ptr %21, align 8, !tbaa !13
  %210 = load i32, ptr %7, align 4, !tbaa !5
  %211 = add i32 %210, 1
  %212 = load i32, ptr %7, align 4, !tbaa !5
  %213 = zext i32 %212 to i64
  %214 = getelementptr inbounds { float, float }, ptr %30, i64 %213
  %215 = getelementptr inbounds { float, float }, ptr %214, i32 0, i32 0
  %216 = load float, ptr %215, align 8
  %217 = getelementptr inbounds { float, float }, ptr %214, i32 0, i32 1
  %218 = load float, ptr %217, align 4
  %219 = fpext float %216 to double
  %220 = load i32, ptr %7, align 4, !tbaa !5
  %221 = zext i32 %220 to i64
  %222 = getelementptr inbounds { float, float }, ptr %30, i64 %221
  %223 = getelementptr inbounds { float, float }, ptr %222, i32 0, i32 0
  %224 = load float, ptr %223, align 8
  %225 = getelementptr inbounds { float, float }, ptr %222, i32 0, i32 1
  %226 = load float, ptr %225, align 4
  %227 = fpext float %226 to double
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.8, i32 noundef %211, double noundef %219, double noundef %227) #6
  br label %229

229:                                              ; preds = %208
  %230 = load i32, ptr %7, align 4, !tbaa !5
  %231 = add i32 %230, 1
  store i32 %231, ptr %7, align 4, !tbaa !5
  br label %204, !llvm.loop !18

232:                                              ; preds = %204
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %233

233:                                              ; preds = %259, %232
  %234 = load i32, ptr %7, align 4, !tbaa !5
  %235 = load i32, ptr %8, align 4, !tbaa !5
  %236 = mul i32 2, %235
  %237 = icmp ult i32 %234, %236
  br i1 %237, label %238, label %262

238:                                              ; preds = %233
  %239 = load ptr, ptr %21, align 8, !tbaa !13
  %240 = load i32, ptr %7, align 4, !tbaa !5
  %241 = add i32 %240, 1
  %242 = load i32, ptr %7, align 4, !tbaa !5
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds { float, float }, ptr %34, i64 %243
  %245 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 0
  %246 = load float, ptr %245, align 8
  %247 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 1
  %248 = load float, ptr %247, align 4
  %249 = fpext float %246 to double
  %250 = load i32, ptr %7, align 4, !tbaa !5
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds { float, float }, ptr %34, i64 %251
  %253 = getelementptr inbounds { float, float }, ptr %252, i32 0, i32 0
  %254 = load float, ptr %253, align 8
  %255 = getelementptr inbounds { float, float }, ptr %252, i32 0, i32 1
  %256 = load float, ptr %255, align 4
  %257 = fpext float %256 to double
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.9, i32 noundef %241, double noundef %249, double noundef %257) #6
  br label %259

259:                                              ; preds = %238
  %260 = load i32, ptr %7, align 4, !tbaa !5
  %261 = add i32 %260, 1
  store i32 %261, ptr %7, align 4, !tbaa !5
  br label %233, !llvm.loop !19

262:                                              ; preds = %233
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %263

263:                                              ; preds = %288, %262
  %264 = load i32, ptr %7, align 4, !tbaa !5
  %265 = load i32, ptr %8, align 4, !tbaa !5
  %266 = icmp ult i32 %264, %265
  br i1 %266, label %267, label %291

267:                                              ; preds = %263
  %268 = load ptr, ptr %21, align 8, !tbaa !13
  %269 = load i32, ptr %7, align 4, !tbaa !5
  %270 = add i32 %269, 1
  %271 = load i32, ptr %7, align 4, !tbaa !5
  %272 = zext i32 %271 to i64
  %273 = getelementptr inbounds { float, float }, ptr %37, i64 %272
  %274 = getelementptr inbounds { float, float }, ptr %273, i32 0, i32 0
  %275 = load float, ptr %274, align 8
  %276 = getelementptr inbounds { float, float }, ptr %273, i32 0, i32 1
  %277 = load float, ptr %276, align 4
  %278 = fpext float %275 to double
  %279 = load i32, ptr %7, align 4, !tbaa !5
  %280 = zext i32 %279 to i64
  %281 = getelementptr inbounds { float, float }, ptr %37, i64 %280
  %282 = getelementptr inbounds { float, float }, ptr %281, i32 0, i32 0
  %283 = load float, ptr %282, align 8
  %284 = getelementptr inbounds { float, float }, ptr %281, i32 0, i32 1
  %285 = load float, ptr %284, align 4
  %286 = fpext float %285 to double
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef @.str.10, i32 noundef %270, double noundef %278, double noundef %286) #6
  br label %288

288:                                              ; preds = %267
  %289 = load i32, ptr %7, align 4, !tbaa !5
  %290 = add i32 %289, 1
  store i32 %290, ptr %7, align 4, !tbaa !5
  br label %263, !llvm.loop !20

291:                                              ; preds = %263
  %292 = load ptr, ptr %21, align 8, !tbaa !13
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef @.str.11) #6
  %294 = load ptr, ptr %21, align 8, !tbaa !13
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %294, ptr noundef @.str.12) #6
  %296 = load ptr, ptr %21, align 8, !tbaa !13
  %297 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %296, ptr noundef @.str.13) #6
  %298 = load ptr, ptr %21, align 8, !tbaa !13
  %299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %298, ptr noundef @.str.14) #6
  %300 = load ptr, ptr %21, align 8, !tbaa !13
  %301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %300, ptr noundef @.str.15) #6
  %302 = load ptr, ptr %21, align 8, !tbaa !13
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %302, ptr noundef @.str.16) #6
  %304 = load ptr, ptr %21, align 8, !tbaa !13
  %305 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %304, ptr noundef @.str.17) #6
  %306 = load ptr, ptr %21, align 8, !tbaa !13
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %306, ptr noundef @.str.18) #6
  %308 = load ptr, ptr %21, align 8, !tbaa !13
  %309 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %308, ptr noundef @.str.19) #6
  %310 = load ptr, ptr %21, align 8, !tbaa !13
  %311 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %310, ptr noundef @.str.20) #6
  %312 = load ptr, ptr %21, align 8, !tbaa !13
  %313 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %312, ptr noundef @.str.21) #6
  %314 = load ptr, ptr %21, align 8, !tbaa !13
  %315 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %314, ptr noundef @.str.22) #6
  %316 = load ptr, ptr %21, align 8, !tbaa !13
  %317 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %316, ptr noundef @.str.11) #6
  %318 = load ptr, ptr %21, align 8, !tbaa !13
  %319 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %318, ptr noundef @.str.23) #6
  %320 = load ptr, ptr %21, align 8, !tbaa !13
  %321 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %320, ptr noundef @.str.24) #6
  %322 = load ptr, ptr %21, align 8, !tbaa !13
  %323 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %322, ptr noundef @.str.25) #6
  %324 = load ptr, ptr %21, align 8, !tbaa !13
  %325 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %324, ptr noundef @.str.26) #6
  %326 = load ptr, ptr %21, align 8, !tbaa !13
  %327 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %326, ptr noundef @.str.27) #6
  %328 = load ptr, ptr %21, align 8, !tbaa !13
  %329 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %328, ptr noundef @.str.28) #6
  %330 = load ptr, ptr %21, align 8, !tbaa !13
  %331 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %330, ptr noundef @.str.29) #6
  %332 = load ptr, ptr %21, align 8, !tbaa !13
  %333 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %332, ptr noundef @.str.30) #6
  %334 = load ptr, ptr %21, align 8, !tbaa !13
  %335 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %334, ptr noundef @.str.31) #6
  %336 = load ptr, ptr %21, align 8, !tbaa !13
  %337 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %336, ptr noundef @.str.32) #6
  %338 = load ptr, ptr %21, align 8, !tbaa !13
  %339 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %338, ptr noundef @.str.33) #6
  %340 = load ptr, ptr %21, align 8, !tbaa !13
  %341 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %340, ptr noundef @.str.34) #6
  %342 = load ptr, ptr %21, align 8, !tbaa !13
  %343 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %342, ptr noundef @.str.35) #6
  %344 = load ptr, ptr %21, align 8, !tbaa !13
  %345 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %344, ptr noundef @.str.28) #6
  %346 = load ptr, ptr %21, align 8, !tbaa !13
  %347 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %346, ptr noundef @.str.36) #6
  %348 = load ptr, ptr %21, align 8, !tbaa !13
  %349 = call i32 @fclose(ptr noundef %348)
  %350 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef @.str.1)
  %351 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %352 = load ptr, ptr %9, align 8
  call void @llvm.stackrestore.p0(ptr %352)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %353 = load i32, ptr %1, align 4
  ret i32 %353
}

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

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

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

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

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

declare i32 @resamp2_crcf_print(ptr noundef) #3

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

declare i32 @resamp2_crcf_reset(ptr noundef) #3

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

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

declare i32 @resamp2_crcf_destroy(ptr noundef) #3

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

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

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

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

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

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

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

declare i32 @fclose(ptr noundef) #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [48 x { float, float }], align 16
  %2 = alloca [96 x { float, float }], align 16
  %3 = alloca [48 x { float, float }], align 16
  %4 = alloca [37 x float], align 16
  %5 = call i32 @liquid_firdes_kaiser(i32 noundef 37, float noundef 0x3FC0A3D700000000, float noundef 6.000000e+01, float noundef 0.000000e+00, ptr noundef nonnull %4) #6
  br label %6

6:                                                ; preds = %0, %18
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %18 ]
  %7 = icmp ult i64 %indvars.iv, 37
  br i1 %7, label %8, label %18

8:                                                ; preds = %6
  %9 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  %10 = load float, ptr %9, align 4, !tbaa !5
  %11 = trunc nuw nsw i64 %indvars.iv to i32
  %12 = uitofp nneg i32 %11 to float
  %13 = fmul float %12, 0xBFE31A9FC0000000
  %.sroa.052.4.vec.insert = insertelement <2 x float> <float -0.000000e+00, float poison>, float %13, i64 1
  %14 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.052.4.vec.insert) #6
  %15 = insertelement <2 x float> poison, float %10, i64 0
  %16 = shufflevector <2 x float> %15, <2 x float> poison, <2 x i32> zeroinitializer
  %17 = fmul <2 x float> %16, %14
  br label %18

18:                                               ; preds = %6, %8
  %19 = phi <2 x float> [ %17, %8 ], [ zeroinitializer, %6 ]
  %20 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  store <2 x float> %19, ptr %20, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 48
  br i1 %exitcond.not, label %21, label %6, !llvm.loop !9

21:                                               ; preds = %18
  %22 = call ptr @resamp2_crcf_create(i32 noundef 5, float noundef 0.000000e+00, float noundef 6.000000e+01) #6
  %23 = call i32 @resamp2_crcf_print(ptr noundef %22) #6
  br label %24

24:                                               ; preds = %21, %24
  %indvars.iv124 = phi i64 [ 0, %21 ], [ %indvars.iv.next125, %24 ]
  %25 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv124
  %26 = load <2 x float>, ptr %25, align 8
  %.idx = shl nsw i64 %indvars.iv124, 4
  %27 = getelementptr inbounds i8, ptr %2, i64 %.idx
  %28 = call i32 @resamp2_crcf_interp_execute(ptr noundef %22, <2 x float> noundef %26, ptr noundef nonnull %27) #6
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %exitcond127.not = icmp eq i64 %indvars.iv.next125, 48
  br i1 %exitcond127.not, label %29, label %24, !llvm.loop !11

29:                                               ; preds = %24
  %30 = call i32 @resamp2_crcf_reset(ptr noundef %22) #6
  %31 = call i32 @resamp2_crcf_set_scale(ptr noundef %22, float noundef 5.000000e-01) #6
  %32 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %2, ptr noundef nonnull %3) #6
  %33 = getelementptr inbounds i8, ptr %2, i64 16
  %34 = getelementptr inbounds i8, ptr %3, i64 8
  %35 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %33, ptr noundef nonnull %34) #6
  %36 = getelementptr inbounds i8, ptr %2, i64 32
  %37 = getelementptr inbounds i8, ptr %3, i64 16
  %38 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %36, ptr noundef nonnull %37) #6
  %39 = getelementptr inbounds i8, ptr %2, i64 48
  %40 = getelementptr inbounds i8, ptr %3, i64 24
  %41 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %39, ptr noundef nonnull %40) #6
  %42 = getelementptr inbounds i8, ptr %2, i64 64
  %43 = getelementptr inbounds i8, ptr %3, i64 32
  %44 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %42, ptr noundef nonnull %43) #6
  %45 = getelementptr inbounds i8, ptr %2, i64 80
  %46 = getelementptr inbounds i8, ptr %3, i64 40
  %47 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %45, ptr noundef nonnull %46) #6
  %48 = getelementptr inbounds i8, ptr %2, i64 96
  %49 = getelementptr inbounds i8, ptr %3, i64 48
  %50 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %48, ptr noundef nonnull %49) #6
  %51 = getelementptr inbounds i8, ptr %2, i64 112
  %52 = getelementptr inbounds i8, ptr %3, i64 56
  %53 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %51, ptr noundef nonnull %52) #6
  %54 = getelementptr inbounds i8, ptr %2, i64 128
  %55 = getelementptr inbounds i8, ptr %3, i64 64
  %56 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %54, ptr noundef nonnull %55) #6
  %57 = getelementptr inbounds i8, ptr %2, i64 144
  %58 = getelementptr inbounds i8, ptr %3, i64 72
  %59 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %57, ptr noundef nonnull %58) #6
  %60 = getelementptr inbounds i8, ptr %2, i64 160
  %61 = getelementptr inbounds i8, ptr %3, i64 80
  %62 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %60, ptr noundef nonnull %61) #6
  %63 = getelementptr inbounds i8, ptr %2, i64 176
  %64 = getelementptr inbounds i8, ptr %3, i64 88
  %65 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %63, ptr noundef nonnull %64) #6
  %66 = getelementptr inbounds i8, ptr %2, i64 192
  %67 = getelementptr inbounds i8, ptr %3, i64 96
  %68 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %66, ptr noundef nonnull %67) #6
  %69 = getelementptr inbounds i8, ptr %2, i64 208
  %70 = getelementptr inbounds i8, ptr %3, i64 104
  %71 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %69, ptr noundef nonnull %70) #6
  %72 = getelementptr inbounds i8, ptr %2, i64 224
  %73 = getelementptr inbounds i8, ptr %3, i64 112
  %74 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %72, ptr noundef nonnull %73) #6
  %75 = getelementptr inbounds i8, ptr %2, i64 240
  %76 = getelementptr inbounds i8, ptr %3, i64 120
  %77 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %75, ptr noundef nonnull %76) #6
  %78 = getelementptr inbounds i8, ptr %2, i64 256
  %79 = getelementptr inbounds i8, ptr %3, i64 128
  %80 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %78, ptr noundef nonnull %79) #6
  %81 = getelementptr inbounds i8, ptr %2, i64 272
  %82 = getelementptr inbounds i8, ptr %3, i64 136
  %83 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %81, ptr noundef nonnull %82) #6
  %84 = getelementptr inbounds i8, ptr %2, i64 288
  %85 = getelementptr inbounds i8, ptr %3, i64 144
  %86 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %84, ptr noundef nonnull %85) #6
  %87 = getelementptr inbounds i8, ptr %2, i64 304
  %88 = getelementptr inbounds i8, ptr %3, i64 152
  %89 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %87, ptr noundef nonnull %88) #6
  %90 = getelementptr inbounds i8, ptr %2, i64 320
  %91 = getelementptr inbounds i8, ptr %3, i64 160
  %92 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %90, ptr noundef nonnull %91) #6
  %93 = getelementptr inbounds i8, ptr %2, i64 336
  %94 = getelementptr inbounds i8, ptr %3, i64 168
  %95 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %93, ptr noundef nonnull %94) #6
  %96 = getelementptr inbounds i8, ptr %2, i64 352
  %97 = getelementptr inbounds i8, ptr %3, i64 176
  %98 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %96, ptr noundef nonnull %97) #6
  %99 = getelementptr inbounds i8, ptr %2, i64 368
  %100 = getelementptr inbounds i8, ptr %3, i64 184
  %101 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %99, ptr noundef nonnull %100) #6
  %102 = getelementptr inbounds i8, ptr %2, i64 384
  %103 = getelementptr inbounds i8, ptr %3, i64 192
  %104 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %102, ptr noundef nonnull %103) #6
  %105 = getelementptr inbounds i8, ptr %2, i64 400
  %106 = getelementptr inbounds i8, ptr %3, i64 200
  %107 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %105, ptr noundef nonnull %106) #6
  %108 = getelementptr inbounds i8, ptr %2, i64 416
  %109 = getelementptr inbounds i8, ptr %3, i64 208
  %110 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %108, ptr noundef nonnull %109) #6
  %111 = getelementptr inbounds i8, ptr %2, i64 432
  %112 = getelementptr inbounds i8, ptr %3, i64 216
  %113 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %111, ptr noundef nonnull %112) #6
  %114 = getelementptr inbounds i8, ptr %2, i64 448
  %115 = getelementptr inbounds i8, ptr %3, i64 224
  %116 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %114, ptr noundef nonnull %115) #6
  %117 = getelementptr inbounds i8, ptr %2, i64 464
  %118 = getelementptr inbounds i8, ptr %3, i64 232
  %119 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %117, ptr noundef nonnull %118) #6
  %120 = getelementptr inbounds i8, ptr %2, i64 480
  %121 = getelementptr inbounds i8, ptr %3, i64 240
  %122 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %120, ptr noundef nonnull %121) #6
  %123 = getelementptr inbounds i8, ptr %2, i64 496
  %124 = getelementptr inbounds i8, ptr %3, i64 248
  %125 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %123, ptr noundef nonnull %124) #6
  %126 = getelementptr inbounds i8, ptr %2, i64 512
  %127 = getelementptr inbounds i8, ptr %3, i64 256
  %128 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %126, ptr noundef nonnull %127) #6
  %129 = getelementptr inbounds i8, ptr %2, i64 528
  %130 = getelementptr inbounds i8, ptr %3, i64 264
  %131 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %129, ptr noundef nonnull %130) #6
  %132 = getelementptr inbounds i8, ptr %2, i64 544
  %133 = getelementptr inbounds i8, ptr %3, i64 272
  %134 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %132, ptr noundef nonnull %133) #6
  %135 = getelementptr inbounds i8, ptr %2, i64 560
  %136 = getelementptr inbounds i8, ptr %3, i64 280
  %137 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %135, ptr noundef nonnull %136) #6
  %138 = getelementptr inbounds i8, ptr %2, i64 576
  %139 = getelementptr inbounds i8, ptr %3, i64 288
  %140 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %138, ptr noundef nonnull %139) #6
  %141 = getelementptr inbounds i8, ptr %2, i64 592
  %142 = getelementptr inbounds i8, ptr %3, i64 296
  %143 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %141, ptr noundef nonnull %142) #6
  %144 = getelementptr inbounds i8, ptr %2, i64 608
  %145 = getelementptr inbounds i8, ptr %3, i64 304
  %146 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %144, ptr noundef nonnull %145) #6
  %147 = getelementptr inbounds i8, ptr %2, i64 624
  %148 = getelementptr inbounds i8, ptr %3, i64 312
  %149 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %147, ptr noundef nonnull %148) #6
  %150 = getelementptr inbounds i8, ptr %2, i64 640
  %151 = getelementptr inbounds i8, ptr %3, i64 320
  %152 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %150, ptr noundef nonnull %151) #6
  %153 = getelementptr inbounds i8, ptr %2, i64 656
  %154 = getelementptr inbounds i8, ptr %3, i64 328
  %155 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %153, ptr noundef nonnull %154) #6
  %156 = getelementptr inbounds i8, ptr %2, i64 672
  %157 = getelementptr inbounds i8, ptr %3, i64 336
  %158 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %156, ptr noundef nonnull %157) #6
  %159 = getelementptr inbounds i8, ptr %2, i64 688
  %160 = getelementptr inbounds i8, ptr %3, i64 344
  %161 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %159, ptr noundef nonnull %160) #6
  %162 = getelementptr inbounds i8, ptr %2, i64 704
  %163 = getelementptr inbounds i8, ptr %3, i64 352
  %164 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %162, ptr noundef nonnull %163) #6
  %165 = getelementptr inbounds i8, ptr %2, i64 720
  %166 = getelementptr inbounds i8, ptr %3, i64 360
  %167 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %165, ptr noundef nonnull %166) #6
  %168 = getelementptr inbounds i8, ptr %2, i64 736
  %169 = getelementptr inbounds i8, ptr %3, i64 368
  %170 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %168, ptr noundef nonnull %169) #6
  %171 = getelementptr inbounds i8, ptr %2, i64 752
  %172 = getelementptr inbounds i8, ptr %3, i64 376
  %173 = call i32 @resamp2_crcf_decim_execute(ptr noundef %22, ptr noundef nonnull %171, ptr noundef nonnull %172) #6
  %174 = call i32 @resamp2_crcf_destroy(ptr noundef %22) #6
  %invariant.gep = getelementptr i8, ptr %1, i64 -80
  br label %175

175:                                              ; preds = %29, %175
  %indvars.iv132 = phi i64 [ 10, %29 ], [ %indvars.iv.next133, %175 ]
  %.0113118 = phi float [ 0.000000e+00, %29 ], [ %181, %175 ]
  %gep = getelementptr { float, float }, ptr %invariant.gep, i64 %indvars.iv132
  %176 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv132
  %177 = load <2 x float>, ptr %gep, align 8
  %178 = load <2 x float>, ptr %176, align 8
  %179 = fsub <2 x float> %177, %178
  %180 = call float @cabsf(<2 x float> noundef %179) #6
  %181 = call float @llvm.fmuladd.f32(float %180, float %180, float %.0113118)
  %indvars.iv.next133 = add nuw nsw i64 %indvars.iv132, 1
  %exitcond135.not = icmp eq i64 %indvars.iv.next133, 48
  br i1 %exitcond135.not, label %182, label %175, !llvm.loop !12

182:                                              ; preds = %175
  %183 = fdiv float %181, 3.800000e+01
  %184 = call float @sqrtf(float noundef %183) #6
  %185 = fpext float %184 to double
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %185)
  %187 = call noalias ptr @fopen(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2)
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1) #6
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.4) #6
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.5) #6
  %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.6, double noundef 0x3FC0A3D700000000) #6
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.7, i32 noundef 48) #6
  br label %193

193:                                              ; preds = %182, %193
  %indvars.iv136 = phi i64 [ 0, %182 ], [ %indvars.iv.next137, %193 ]
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %194 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv136
  %195 = load float, ptr %194, align 8
  %196 = getelementptr inbounds i8, ptr %194, i64 4
  %197 = fpext float %195 to double
  %198 = load float, ptr %196, align 4
  %199 = fpext float %198 to double
  %200 = trunc nuw nsw i64 %indvars.iv.next137 to i32
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.8, i32 noundef %200, double noundef %197, double noundef %199) #6
  %exitcond139.not = icmp eq i64 %indvars.iv.next137, 48
  br i1 %exitcond139.not, label %.preheader114, label %193, !llvm.loop !13

.preheader114:                                    ; preds = %193, %.preheader114
  %indvars.iv140 = phi i64 [ %indvars.iv.next141, %.preheader114 ], [ 0, %193 ]
  %indvars.iv.next141 = add nuw nsw i64 %indvars.iv140, 1
  %202 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv140
  %203 = load float, ptr %202, align 8
  %204 = getelementptr inbounds i8, ptr %202, i64 4
  %205 = fpext float %203 to double
  %206 = load float, ptr %204, align 4
  %207 = fpext float %206 to double
  %208 = trunc nuw nsw i64 %indvars.iv.next141 to i32
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.9, i32 noundef %208, double noundef %205, double noundef %207) #6
  %exitcond143.not = icmp eq i64 %indvars.iv.next141, 96
  br i1 %exitcond143.not, label %.preheader, label %.preheader114, !llvm.loop !14

.preheader:                                       ; preds = %.preheader114, %.preheader
  %indvars.iv144 = phi i64 [ %indvars.iv.next145, %.preheader ], [ 0, %.preheader114 ]
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %210 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv144
  %211 = load float, ptr %210, align 8
  %212 = getelementptr inbounds i8, ptr %210, i64 4
  %213 = fpext float %211 to double
  %214 = load float, ptr %212, align 4
  %215 = fpext float %214 to double
  %216 = trunc nuw nsw i64 %indvars.iv.next145 to i32
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.10, i32 noundef %216, double noundef %213, double noundef %215) #6
  %exitcond147.not = icmp eq i64 %indvars.iv.next145, 48
  br i1 %exitcond147.not, label %218, label %.preheader, !llvm.loop !15

218:                                              ; preds = %.preheader
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.11) #6
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.12) #6
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.13) #6
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.14) #6
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.15) #6
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.16) #6
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.17) #6
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.18) #6
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.19) #6
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.20) #6
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.21) #6
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.22) #6
  %231 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.11) #6
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.23) #6
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.24) #6
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.25) #6
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.26) #6
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.27) #6
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.28) #6
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.29) #6
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.30) #6
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.31) #6
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.32) #6
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.33) #6
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.34) #6
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.35) #6
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.28) #6
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.36) #6
  %247 = call i32 @fclose(ptr noundef %187)
  %248 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.37, ptr noundef nonnull @.str.1)
  %249 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38)
  ret i32 0
}

declare i32 @liquid_firdes_kaiser(i32 noundef, float noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #1

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

declare ptr @resamp2_crcf_create(i32 noundef, float noundef, float noundef) local_unnamed_addr #1

declare i32 @resamp2_crcf_print(ptr noundef) local_unnamed_addr #1

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

declare i32 @resamp2_crcf_reset(ptr noundef) local_unnamed_addr #1

declare i32 @resamp2_crcf_set_scale(ptr noundef, float noundef) local_unnamed_addr #1

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

declare i32 @resamp2_crcf_destroy(ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sqrtf(float noundef) local_unnamed_addr #4

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass