; LLVM IR from jgaeddert/liquid-dsp :: examples (resamp2_crcf_filter_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 [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.39 = 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 i32, align 4
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca { float, float }, align 4
  %13 = alloca { float, float }, align 4
  %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 ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 9, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 128, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store float 6.000000e+01, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = mul i32 4, %19
  %21 = add i32 %20, 1
  store i32 %21, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = load i32, ptr %5, align 4, !tbaa !5
  %24 = add i32 %22, %23
  store i32 %24, ptr %6, align 4, !tbaa !5
  %25 = load i32, ptr %6, align 4, !tbaa !5
  %26 = zext i32 %25 to i64
  %27 = call ptr @llvm.stacksave.p0()
  store ptr %27, ptr %7, align 8
  %28 = alloca { float, float }, i64 %26, align 16
  store i64 %26, ptr %8, align 8
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = zext i32 %29 to i64
  %31 = alloca { float, float }, i64 %30, align 16
  store i64 %30, ptr %9, align 8
  %32 = load i32, ptr %6, align 4, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = alloca { float, float }, i64 %33, align 16
  store i64 %33, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %98, %0
  %36 = load i32, ptr %11, align 4, !tbaa !5
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = icmp ult i32 %36, %37
  br i1 %38, label %39, label %101

39:                                               ; preds = %35
  %40 = load i32, ptr %11, align 4, !tbaa !5
  %41 = uitofp i32 %40 to double
  %42 = fmul double 0.000000e+00, %41
  %43 = fmul double 0x3FDCF3F25873CD57, %41
  %44 = fptrunc double %42 to float
  %45 = fptrunc double %43 to float
  %46 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %47 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  store float %44, ptr %46, align 4
  store float %45, ptr %47, align 4
  %48 = load <2 x float>, ptr %12, align 4
  %49 = call <2 x float> @cexpf(<2 x float> noundef %48) #5
  store <2 x float> %49, ptr %13, align 4
  %50 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 0
  %51 = load float, ptr %50, align 4
  %52 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 1
  %53 = load float, ptr %52, align 4
  %54 = load i32, ptr %11, align 4, !tbaa !5
  %55 = uitofp i32 %54 to double
  %56 = fmul double 0.000000e+00, %55
  %57 = fmul double 0x4002992584F0351A, %55
  %58 = fptrunc double %56 to float
  %59 = fptrunc double %57 to float
  %60 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %61 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float %58, ptr %60, align 4
  store float %59, ptr %61, align 4
  %62 = load <2 x float>, ptr %14, align 4
  %63 = call <2 x float> @cexpf(<2 x float> noundef %62) #5
  store <2 x float> %63, ptr %15, align 4
  %64 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 0
  %65 = load float, ptr %64, align 4
  %66 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 1
  %67 = load float, ptr %66, align 4
  %68 = fmul float 0x3FE3333340000000, %65
  %69 = fmul float 0x3FE3333340000000, %67
  %70 = fadd float %51, %68
  %71 = fadd float %53, %69
  %72 = load i32, ptr %11, align 4, !tbaa !5
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds { float, float }, ptr %28, i64 %73
  %75 = getelementptr inbounds { float, float }, ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds { float, float }, ptr %74, i32 0, i32 1
  store float %70, ptr %75, align 8
  store float %71, ptr %76, align 4
  %77 = load i32, ptr %11, align 4, !tbaa !5
  %78 = load i32, ptr %3, align 4, !tbaa !5
  %79 = icmp ult i32 %77, %78
  br i1 %79, label %80, label %84

80:                                               ; preds = %39
  %81 = load i32, ptr %11, align 4, !tbaa !5
  %82 = load i32, ptr %3, align 4, !tbaa !5
  %83 = call float @liquid_hamming(i32 noundef %81, i32 noundef %82)
  br label %85

84:                                               ; preds = %39
  br label %85

85:                                               ; preds = %84, %80
  %86 = phi float [ %83, %80 ], [ 0.000000e+00, %84 ]
  %87 = load i32, ptr %11, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds { float, float }, ptr %28, i64 %88
  %90 = getelementptr inbounds { float, float }, ptr %89, i32 0, i32 0
  %91 = load float, ptr %90, align 8
  %92 = getelementptr inbounds { float, float }, ptr %89, i32 0, i32 1
  %93 = load float, ptr %92, align 4
  %94 = fmul float %91, %86
  %95 = fmul float %93, %86
  %96 = getelementptr inbounds { float, float }, ptr %89, i32 0, i32 0
  %97 = getelementptr inbounds { float, float }, ptr %89, i32 0, i32 1
  store float %94, ptr %96, align 8
  store float %95, ptr %97, align 4
  br label %98

98:                                               ; preds = %85
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = add i32 %99, 1
  store i32 %100, ptr %11, align 4, !tbaa !5
  br label %35, !llvm.loop !11

101:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %102 = load i32, ptr %2, align 4, !tbaa !5
  %103 = load float, ptr %4, align 4, !tbaa !9
  %104 = call ptr @resamp2_crcf_create(i32 noundef %102, float noundef 0.000000e+00, float noundef %103)
  store ptr %104, ptr %16, align 8, !tbaa !13
  %105 = load ptr, ptr %16, align 8, !tbaa !13
  %106 = call i32 @resamp2_crcf_print(ptr noundef %105)
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %130, %101
  %108 = load i32, ptr %11, align 4, !tbaa !5
  %109 = load i32, ptr %6, align 4, !tbaa !5
  %110 = icmp ult i32 %108, %109
  br i1 %110, label %111, label %133

111:                                              ; preds = %107
  %112 = load ptr, ptr %16, align 8, !tbaa !13
  %113 = load i32, ptr %11, align 4, !tbaa !5
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds { float, float }, ptr %28, i64 %114
  %116 = getelementptr inbounds { float, float }, ptr %115, i32 0, i32 0
  %117 = load float, ptr %116, align 8
  %118 = getelementptr inbounds { float, float }, ptr %115, i32 0, i32 1
  %119 = load float, ptr %118, align 4
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds { float, float }, ptr %31, i64 %121
  %123 = load i32, ptr %11, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds { float, float }, ptr %34, i64 %124
  %126 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %127 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %117, ptr %126, align 4
  store float %119, ptr %127, align 4
  %128 = load <2 x float>, ptr %17, align 4
  %129 = call i32 @resamp2_crcf_filter_execute(ptr noundef %112, <2 x float> noundef %128, ptr noundef %122, ptr noundef %125)
  br label %130

130:                                              ; preds = %111
  %131 = load i32, ptr %11, align 4, !tbaa !5
  %132 = add i32 %131, 1
  store i32 %132, ptr %11, align 4, !tbaa !5
  br label %107, !llvm.loop !15

133:                                              ; preds = %107
  %134 = load ptr, ptr %16, align 8, !tbaa !13
  %135 = call i32 @resamp2_crcf_destroy(ptr noundef %134)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %136 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %136, ptr %18, align 8, !tbaa !13
  %137 = load ptr, ptr %18, align 8, !tbaa !13
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %137, ptr noundef @.str.2, ptr noundef @.str) #5
  %139 = load ptr, ptr %18, align 8, !tbaa !13
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef @.str.3) #5
  %141 = load ptr, ptr %18, align 8, !tbaa !13
  %142 = load i32, ptr %2, align 4, !tbaa !5
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef @.str.4, i32 noundef %142) #5
  %144 = load ptr, ptr %18, align 8, !tbaa !13
  %145 = load i32, ptr %3, align 4, !tbaa !5
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.5, i32 noundef %145) #5
  %147 = load ptr, ptr %18, align 8, !tbaa !13
  %148 = load i32, ptr %6, align 4, !tbaa !5
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %147, ptr noundef @.str.6, i32 noundef %148) #5
  %150 = load ptr, ptr %18, align 8, !tbaa !13
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %150, ptr noundef @.str.7) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %152

152:                                              ; preds = %217, %133
  %153 = load i32, ptr %11, align 4, !tbaa !5
  %154 = load i32, ptr %6, align 4, !tbaa !5
  %155 = icmp ult i32 %153, %154
  br i1 %155, label %156, label %220

156:                                              ; preds = %152
  %157 = load ptr, ptr %18, align 8, !tbaa !13
  %158 = load i32, ptr %11, align 4, !tbaa !5
  %159 = add i32 %158, 1
  %160 = load i32, ptr %11, align 4, !tbaa !5
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds { float, float }, ptr %28, 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 = fpext float %164 to double
  %168 = load i32, ptr %11, align 4, !tbaa !5
  %169 = zext i32 %168 to i64
  %170 = getelementptr inbounds { float, float }, ptr %28, i64 %169
  %171 = getelementptr inbounds { float, float }, ptr %170, i32 0, i32 0
  %172 = load float, ptr %171, align 8
  %173 = getelementptr inbounds { float, float }, ptr %170, i32 0, i32 1
  %174 = load float, ptr %173, align 4
  %175 = fpext float %174 to double
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.8, i32 noundef %159, double noundef %167, double noundef %175) #5
  %177 = load ptr, ptr %18, align 8, !tbaa !13
  %178 = load i32, ptr %11, align 4, !tbaa !5
  %179 = add i32 %178, 1
  %180 = load i32, ptr %11, align 4, !tbaa !5
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds { float, float }, ptr %31, i64 %181
  %183 = getelementptr inbounds { float, float }, ptr %182, i32 0, i32 0
  %184 = load float, ptr %183, align 8
  %185 = getelementptr inbounds { float, float }, ptr %182, i32 0, i32 1
  %186 = load float, ptr %185, align 4
  %187 = fpext float %184 to double
  %188 = load i32, ptr %11, align 4, !tbaa !5
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds { float, float }, ptr %31, i64 %189
  %191 = getelementptr inbounds { float, float }, ptr %190, i32 0, i32 0
  %192 = load float, ptr %191, align 8
  %193 = getelementptr inbounds { float, float }, ptr %190, i32 0, i32 1
  %194 = load float, ptr %193, align 4
  %195 = fpext float %194 to double
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str.9, i32 noundef %179, double noundef %187, double noundef %195) #5
  %197 = load ptr, ptr %18, align 8, !tbaa !13
  %198 = load i32, ptr %11, align 4, !tbaa !5
  %199 = add i32 %198, 1
  %200 = load i32, ptr %11, align 4, !tbaa !5
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds { float, float }, ptr %34, i64 %201
  %203 = getelementptr inbounds { float, float }, ptr %202, i32 0, i32 0
  %204 = load float, ptr %203, align 8
  %205 = getelementptr inbounds { float, float }, ptr %202, i32 0, i32 1
  %206 = load float, ptr %205, align 4
  %207 = fpext float %204 to double
  %208 = load i32, ptr %11, align 4, !tbaa !5
  %209 = zext i32 %208 to i64
  %210 = getelementptr inbounds { float, float }, ptr %34, i64 %209
  %211 = getelementptr inbounds { float, float }, ptr %210, i32 0, i32 0
  %212 = load float, ptr %211, align 8
  %213 = getelementptr inbounds { float, float }, ptr %210, i32 0, i32 1
  %214 = load float, ptr %213, align 4
  %215 = fpext float %214 to double
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.10, i32 noundef %199, double noundef %207, double noundef %215) #5
  br label %217

217:                                              ; preds = %156
  %218 = load i32, ptr %11, align 4, !tbaa !5
  %219 = add i32 %218, 1
  store i32 %219, ptr %11, align 4, !tbaa !5
  br label %152, !llvm.loop !16

220:                                              ; preds = %152
  %221 = load ptr, ptr %18, align 8, !tbaa !13
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str.11) #5
  %223 = load ptr, ptr %18, align 8, !tbaa !13
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %223, ptr noundef @.str.12) #5
  %225 = load ptr, ptr %18, align 8, !tbaa !13
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %225, ptr noundef @.str.13) #5
  %227 = load ptr, ptr %18, align 8, !tbaa !13
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.14) #5
  %229 = load ptr, ptr %18, align 8, !tbaa !13
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef @.str.15) #5
  %231 = load ptr, ptr %18, align 8, !tbaa !13
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.16) #5
  %233 = load ptr, ptr %18, align 8, !tbaa !13
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.17) #5
  %235 = load ptr, ptr %18, align 8, !tbaa !13
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.18) #5
  %237 = load ptr, ptr %18, align 8, !tbaa !13
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.19) #5
  %239 = load ptr, ptr %18, align 8, !tbaa !13
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.20) #5
  %241 = load ptr, ptr %18, align 8, !tbaa !13
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.21) #5
  %243 = load ptr, ptr %18, align 8, !tbaa !13
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.22) #5
  %245 = load ptr, ptr %18, align 8, !tbaa !13
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %245, ptr noundef @.str.16) #5
  %247 = load ptr, ptr %18, align 8, !tbaa !13
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str.23) #5
  %249 = load ptr, ptr %18, align 8, !tbaa !13
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.18) #5
  %251 = load ptr, ptr %18, align 8, !tbaa !13
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.24) #5
  %253 = load ptr, ptr %18, align 8, !tbaa !13
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.25) #5
  %255 = load ptr, ptr %18, align 8, !tbaa !13
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef @.str.26) #5
  %257 = load ptr, ptr %18, align 8, !tbaa !13
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.27) #5
  %259 = load ptr, ptr %18, align 8, !tbaa !13
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str.28) #5
  %261 = load ptr, ptr %18, align 8, !tbaa !13
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.29) #5
  %263 = load ptr, ptr %18, align 8, !tbaa !13
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.11) #5
  %265 = load ptr, ptr %18, align 8, !tbaa !13
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef @.str.30) #5
  %267 = load ptr, ptr %18, align 8, !tbaa !13
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.31) #5
  %269 = load ptr, ptr %18, align 8, !tbaa !13
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.32) #5
  %271 = load ptr, ptr %18, align 8, !tbaa !13
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.33) #5
  %273 = load ptr, ptr %18, align 8, !tbaa !13
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.34) #5
  %275 = load ptr, ptr %18, align 8, !tbaa !13
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.35) #5
  %277 = load ptr, ptr %18, align 8, !tbaa !13
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.36) #5
  %279 = load ptr, ptr %18, align 8, !tbaa !13
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.37) #5
  %281 = load ptr, ptr %18, align 8, !tbaa !13
  %282 = call i32 @fclose(ptr noundef %281)
  %283 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef @.str)
  %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %285 = load ptr, ptr %7, align 8
  call void @llvm.stackrestore.p0(ptr %285)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %286 = load i32, ptr %1, align 4
  ret i32 %286
}

; 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

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

declare float @liquid_hamming(i32 noundef, i32 noundef) #4

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

declare i32 @resamp2_crcf_print(ptr noundef) #4

declare i32 @resamp2_crcf_filter_execute(ptr noundef, <2 x float> noundef, ptr noundef, ptr noundef) #4

declare i32 @resamp2_crcf_destroy(ptr noundef) #4

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

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

declare i32 @fclose(ptr noundef) #4

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"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}


; 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 [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.39 = 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 [165 x { float, float }], align 16
  %2 = alloca [165 x { float, float }], align 16
  %3 = alloca [165 x { float, float }], align 16
  br label %4

4:                                                ; preds = %0, %19
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %19 ]
  %5 = trunc nuw nsw i64 %indvars.iv to i32
  %6 = uitofp nneg i32 %5 to double
  %7 = fmul double %6, 0x3FDCF3F25873CD57
  %8 = fptrunc double %7 to float
  %.sroa.048.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %8, i64 1
  %9 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.048.4.vec.insert) #4
  %10 = fmul double %6, 0x4002992584F0351A
  %11 = fptrunc double %10 to float
  %.sroa.045.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %11, i64 1
  %12 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.045.4.vec.insert) #4
  %13 = fmul <2 x float> %12, <float 0x3FE3333340000000, float 0x3FE3333340000000>
  %14 = fadd <2 x float> %9, %13
  %15 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  %16 = icmp ult i64 %indvars.iv, 128
  br i1 %16, label %17, label %19

17:                                               ; preds = %4
  %18 = tail call float @liquid_hamming(i32 noundef %5, i32 noundef 128) #4
  br label %19

19:                                               ; preds = %4, %17
  %20 = phi float [ %18, %17 ], [ 0.000000e+00, %4 ]
  %21 = insertelement <2 x float> poison, float %20, i64 0
  %22 = shufflevector <2 x float> %21, <2 x float> poison, <2 x i32> zeroinitializer
  %23 = fmul <2 x float> %22, %14
  store <2 x float> %23, ptr %15, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 165
  br i1 %exitcond.not, label %24, label %4, !llvm.loop !5

24:                                               ; preds = %19
  %25 = tail call ptr @resamp2_crcf_create(i32 noundef 9, float noundef 0.000000e+00, float noundef 6.000000e+01) #4
  %26 = tail call i32 @resamp2_crcf_print(ptr noundef %25) #4
  br label %27

27:                                               ; preds = %24, %27
  %indvars.iv95 = phi i64 [ 0, %24 ], [ %indvars.iv.next96, %27 ]
  %28 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv95
  %29 = load <2 x float>, ptr %28, align 8
  %30 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv95
  %31 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv95
  %32 = call i32 @resamp2_crcf_filter_execute(ptr noundef %25, <2 x float> noundef %29, ptr noundef nonnull %30, ptr noundef nonnull %31) #4
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next96, 165
  br i1 %exitcond98.not, label %33, label %27, !llvm.loop !7

33:                                               ; preds = %27
  %34 = call i32 @resamp2_crcf_destroy(ptr noundef %25) #4
  %35 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #4
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.3) #4
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.4, i32 noundef 9) #4
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.5, i32 noundef 128) #4
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.6, i32 noundef 165) #4
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.7) #4
  br label %42

42:                                               ; preds = %33, %42
  %indvars.iv99 = phi i64 [ 0, %33 ], [ %indvars.iv.next100, %42 ]
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %43 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv99
  %44 = load float, ptr %43, align 8
  %45 = getelementptr inbounds i8, ptr %43, i64 4
  %46 = fpext float %44 to double
  %47 = load float, ptr %45, align 4
  %48 = fpext float %47 to double
  %49 = trunc nuw nsw i64 %indvars.iv.next100 to i32
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.8, i32 noundef %49, double noundef %46, double noundef %48) #4
  %51 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv99
  %52 = load float, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %51, i64 4
  %54 = fpext float %52 to double
  %55 = load float, ptr %53, align 4
  %56 = fpext float %55 to double
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.9, i32 noundef %49, double noundef %54, double noundef %56) #4
  %58 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv99
  %59 = load float, ptr %58, align 8
  %60 = getelementptr inbounds i8, ptr %58, i64 4
  %61 = fpext float %59 to double
  %62 = load float, ptr %60, align 4
  %63 = fpext float %62 to double
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.10, i32 noundef %49, double noundef %61, double noundef %63) #4
  %exitcond102.not = icmp eq i64 %indvars.iv.next100, 165
  br i1 %exitcond102.not, label %65, label %42, !llvm.loop !8

65:                                               ; preds = %42
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.11) #4
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.12) #4
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.13) #4
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.14) #4
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.15) #4
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.16) #4
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.17) #4
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.18) #4
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.19) #4
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.20) #4
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.21) #4
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.22) #4
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.16) #4
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.23) #4
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.18) #4
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.24) #4
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.25) #4
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.26) #4
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.27) #4
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.28) #4
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.29) #4
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.11) #4
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.30) #4
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.31) #4
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.32) #4
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.33) #4
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.34) #4
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.35) #4
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.36) #4
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.37) #4
  %96 = call i32 @fclose(ptr noundef %35)
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef nonnull @.str)
  %98 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39)
  ret i32 0
}

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

declare float @liquid_hamming(i32 noundef, i32 noundef) local_unnamed_addr #2

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

declare i32 @resamp2_crcf_print(ptr noundef) local_unnamed_addr #2

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

declare i32 @resamp2_crcf_destroy(ptr noundef) local_unnamed_addr #2

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

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

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

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

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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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


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