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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca { float, float }, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store float 0xBFC99999A0000000, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 3, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 64, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 6.000000e+01, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store float 2.500000e-01, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %18 = load i32, ptr %3, align 4, !tbaa !9
  %19 = shl i32 1, %18
  store i32 %19, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %20 = load i32, ptr %3, align 4, !tbaa !9
  %21 = load float, ptr %2, align 4, !tbaa !5
  %22 = load float, ptr %6, align 4, !tbaa !5
  %23 = load float, ptr %5, align 4, !tbaa !5
  %24 = call ptr @dds_cccf_create(i32 noundef %20, float noundef %21, float noundef %22, float noundef %23)
  store ptr %24, ptr %8, align 8, !tbaa !11
  %25 = load ptr, ptr %8, align 8, !tbaa !11
  %26 = call i32 @dds_cccf_print(ptr noundef %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %27 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %27, ptr %9, align 8, !tbaa !11
  %28 = load ptr, ptr %9, align 8, !tbaa !11
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.2, ptr noundef @.str) #5
  %30 = load ptr, ptr %9, align 8, !tbaa !11
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.3) #5
  %32 = load ptr, ptr %9, align 8, !tbaa !11
  %33 = load i32, ptr %4, align 4, !tbaa !9
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.4, i32 noundef %33) #5
  %35 = load ptr, ptr %9, align 8, !tbaa !11
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.5, i32 noundef %36) #5
  %38 = load i32, ptr %4, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = call ptr @llvm.stacksave.p0()
  store ptr %40, ptr %10, align 8
  %41 = alloca { float, float }, i64 %39, align 16
  store i64 %39, ptr %11, align 8
  %42 = load i32, ptr %7, align 4, !tbaa !9
  %43 = load i32, ptr %4, align 4, !tbaa !9
  %44 = mul i32 %42, %43
  %45 = zext i32 %44 to i64
  %46 = alloca { float, float }, i64 %45, align 16
  store i64 %45, ptr %12, align 8
  %47 = load i32, ptr %4, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = alloca { float, float }, i64 %48, align 16
  store i64 %48, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %50 = load i32, ptr %4, align 4, !tbaa !9
  %51 = udiv i32 %50, 2
  store i32 %51, ptr %15, align 4, !tbaa !9
  %52 = load i32, ptr %4, align 4, !tbaa !9
  %53 = urem i32 %52, 2
  %54 = icmp ne i32 %53, 0
  %55 = zext i1 %54 to i64
  %56 = select i1 %54, i32 0, i32 1
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = add i32 %57, %56
  store i32 %58, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %15, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = alloca float, i64 %60, align 16
  store i64 %60, ptr %16, align 8
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = load float, ptr %6, align 4, !tbaa !5
  %64 = call i32 @liquid_firdes_kaiser(i32 noundef %62, float noundef %63, float noundef 6.000000e+01, float noundef 0.000000e+00, ptr noundef %61)
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %89, %0
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = load i32, ptr %4, align 4, !tbaa !9
  %68 = icmp ult i32 %66, %67
  br i1 %68, label %69, label %92

69:                                               ; preds = %65
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = load i32, ptr %15, align 4, !tbaa !9
  %72 = icmp ult i32 %70, %71
  br i1 %72, label %73, label %81

73:                                               ; preds = %69
  %74 = load i32, ptr %14, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds float, ptr %61, i64 %75
  %77 = load float, ptr %76, align 4, !tbaa !5
  %78 = fmul float 2.000000e+00, %77
  %79 = load float, ptr %6, align 4, !tbaa !5
  %80 = fmul float %78, %79
  br label %82

81:                                               ; preds = %69
  br label %82

82:                                               ; preds = %81, %73
  %83 = phi float [ %80, %73 ], [ 0.000000e+00, %81 ]
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds { float, float }, ptr %41, i64 %85
  %87 = getelementptr inbounds { float, float }, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds { float, float }, ptr %86, i32 0, i32 1
  store float %83, ptr %87, align 8
  store float 0.000000e+00, ptr %88, align 4
  br label %89

89:                                               ; preds = %82
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = add i32 %90, 1
  store i32 %91, ptr %14, align 4, !tbaa !9
  br label %65, !llvm.loop !13

92:                                               ; preds = %65
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %115, %92
  %94 = load i32, ptr %14, align 4, !tbaa !9
  %95 = load i32, ptr %4, align 4, !tbaa !9
  %96 = icmp ult i32 %94, %95
  br i1 %96, label %97, label %118

97:                                               ; preds = %93
  %98 = load ptr, ptr %8, align 8, !tbaa !11
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds { float, float }, ptr %41, i64 %100
  %102 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 0
  %103 = load float, ptr %102, align 8
  %104 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 1
  %105 = load float, ptr %104, align 4
  %106 = load i32, ptr %7, align 4, !tbaa !9
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = mul i32 %106, %107
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds { float, float }, ptr %46, i64 %109
  %111 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %112 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %103, ptr %111, align 4
  store float %105, ptr %112, align 4
  %113 = load <2 x float>, ptr %17, align 4
  %114 = call i32 @dds_cccf_interp_execute(ptr noundef %98, <2 x float> noundef %113, ptr noundef %110)
  br label %115

115:                                              ; preds = %97
  %116 = load i32, ptr %14, align 4, !tbaa !9
  %117 = add i32 %116, 1
  store i32 %117, ptr %14, align 4, !tbaa !9
  br label %93, !llvm.loop !15

118:                                              ; preds = %93
  %119 = load ptr, ptr %8, align 8, !tbaa !11
  %120 = call i32 @dds_cccf_reset(ptr noundef %119)
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %136, %118
  %122 = load i32, ptr %14, align 4, !tbaa !9
  %123 = load i32, ptr %4, align 4, !tbaa !9
  %124 = icmp ult i32 %122, %123
  br i1 %124, label %125, label %139

125:                                              ; preds = %121
  %126 = load ptr, ptr %8, align 8, !tbaa !11
  %127 = load i32, ptr %7, align 4, !tbaa !9
  %128 = load i32, ptr %14, align 4, !tbaa !9
  %129 = mul i32 %127, %128
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds { float, float }, ptr %46, i64 %130
  %132 = load i32, ptr %14, align 4, !tbaa !9
  %133 = zext i32 %132 to i64
  %134 = getelementptr inbounds { float, float }, ptr %49, i64 %133
  %135 = call i32 @dds_cccf_decim_execute(ptr noundef %126, ptr noundef %131, ptr noundef %134)
  br label %136

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

139:                                              ; preds = %121
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %165, %139
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = load i32, ptr %4, align 4, !tbaa !9
  %143 = icmp ult i32 %141, %142
  br i1 %143, label %144, label %168

144:                                              ; preds = %140
  %145 = load ptr, ptr %9, align 8, !tbaa !11
  %146 = load i32, ptr %14, align 4, !tbaa !9
  %147 = add i32 %146, 1
  %148 = load i32, ptr %14, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = getelementptr inbounds { float, float }, ptr %41, i64 %149
  %151 = getelementptr inbounds { float, float }, ptr %150, i32 0, i32 0
  %152 = load float, ptr %151, align 8
  %153 = getelementptr inbounds { float, float }, ptr %150, i32 0, i32 1
  %154 = load float, ptr %153, align 4
  %155 = fpext float %152 to double
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = getelementptr inbounds { float, float }, ptr %41, i64 %157
  %159 = getelementptr inbounds { float, float }, ptr %158, i32 0, i32 0
  %160 = load float, ptr %159, align 8
  %161 = getelementptr inbounds { float, float }, ptr %158, i32 0, i32 1
  %162 = load float, ptr %161, align 4
  %163 = fpext float %162 to double
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str.6, i32 noundef %147, double noundef %155, double noundef %163) #5
  br label %165

165:                                              ; preds = %144
  %166 = load i32, ptr %14, align 4, !tbaa !9
  %167 = add i32 %166, 1
  store i32 %167, ptr %14, align 4, !tbaa !9
  br label %140, !llvm.loop !17

168:                                              ; preds = %140
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %169

169:                                              ; preds = %196, %168
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = load i32, ptr %7, align 4, !tbaa !9
  %172 = load i32, ptr %4, align 4, !tbaa !9
  %173 = mul i32 %171, %172
  %174 = icmp ult i32 %170, %173
  br i1 %174, label %175, label %199

175:                                              ; preds = %169
  %176 = load ptr, ptr %9, align 8, !tbaa !11
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = add i32 %177, 1
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds { float, float }, ptr %46, i64 %180
  %182 = getelementptr inbounds { float, float }, ptr %181, i32 0, i32 0
  %183 = load float, ptr %182, align 8
  %184 = getelementptr inbounds { float, float }, ptr %181, i32 0, i32 1
  %185 = load float, ptr %184, align 4
  %186 = fpext float %183 to double
  %187 = load i32, ptr %14, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds { float, float }, ptr %46, i64 %188
  %190 = getelementptr inbounds { float, float }, ptr %189, i32 0, i32 0
  %191 = load float, ptr %190, align 8
  %192 = getelementptr inbounds { float, float }, ptr %189, i32 0, i32 1
  %193 = load float, ptr %192, align 4
  %194 = fpext float %193 to double
  %195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.7, i32 noundef %178, double noundef %186, double noundef %194) #5
  br label %196

196:                                              ; preds = %175
  %197 = load i32, ptr %14, align 4, !tbaa !9
  %198 = add i32 %197, 1
  store i32 %198, ptr %14, align 4, !tbaa !9
  br label %169, !llvm.loop !18

199:                                              ; preds = %169
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %200

200:                                              ; preds = %225, %199
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = load i32, ptr %4, align 4, !tbaa !9
  %203 = icmp ult i32 %201, %202
  br i1 %203, label %204, label %228

204:                                              ; preds = %200
  %205 = load ptr, ptr %9, align 8, !tbaa !11
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = add i32 %206, 1
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = getelementptr inbounds { float, float }, ptr %49, 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 %212 to double
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds { float, float }, ptr %49, i64 %217
  %219 = getelementptr inbounds { float, float }, ptr %218, i32 0, i32 0
  %220 = load float, ptr %219, align 8
  %221 = getelementptr inbounds { float, float }, ptr %218, i32 0, i32 1
  %222 = load float, ptr %221, align 4
  %223 = fpext float %222 to double
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef @.str.8, i32 noundef %207, double noundef %215, double noundef %223) #5
  br label %225

225:                                              ; preds = %204
  %226 = load i32, ptr %14, align 4, !tbaa !9
  %227 = add i32 %226, 1
  store i32 %227, ptr %14, align 4, !tbaa !9
  br label %200, !llvm.loop !19

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

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

declare ptr @dds_cccf_create(i32 noundef, float noundef, float noundef, float noundef) #2

declare i32 @dds_cccf_print(ptr noundef) #2

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

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

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

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

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

declare i32 @dds_cccf_reset(ptr noundef) #2

declare i32 @dds_cccf_decim_execute(ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @fclose(ptr noundef) #2

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

declare i32 @dds_cccf_destroy(ptr noundef) #2

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

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

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

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


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

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.35 = 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 = tail call ptr @dds_cccf_create(i32 noundef 3, float noundef 0xBFC99999A0000000, float noundef 2.500000e-01, float noundef 6.000000e+01) #3
  %2 = tail call i32 @dds_cccf_print(ptr noundef %1) #3
  %3 = tail call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #3
  %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.3) #3
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.4, i32 noundef 64) #3
  %7 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.5, i32 noundef 8) #3
  %8 = alloca [64 x { float, float }], align 16
  %9 = alloca [512 x { float, float }], align 16
  %10 = alloca [64 x { float, float }], align 16
  %11 = alloca [33 x float], align 16
  %12 = call i32 @liquid_firdes_kaiser(i32 noundef 33, float noundef 2.500000e-01, float noundef 6.000000e+01, float noundef 0.000000e+00, ptr noundef nonnull %11) #3
  br label %13

13:                                               ; preds = %30, %0
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next.1, %30 ]
  %14 = icmp ult i64 %indvars.iv, 33
  br i1 %14, label %15, label %20

15:                                               ; preds = %13
  %16 = getelementptr inbounds float, ptr %11, i64 %indvars.iv
  %17 = load float, ptr %16, align 8, !tbaa !5
  %18 = fmul float %17, 2.000000e+00
  %19 = fmul float %18, 2.500000e-01
  br label %20

20:                                               ; preds = %13, %15
  %21 = phi float [ %19, %15 ], [ 0.000000e+00, %13 ]
  %22 = getelementptr inbounds { float, float }, ptr %8, i64 %indvars.iv
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  store float %21, ptr %22, align 16
  store float 0.000000e+00, ptr %23, align 4
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %24 = icmp ult i64 %indvars.iv.next, 33
  br i1 %24, label %25, label %30

25:                                               ; preds = %20
  %26 = getelementptr inbounds float, ptr %11, i64 %indvars.iv.next
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = fmul float %27, 2.000000e+00
  %29 = fmul float %28, 2.500000e-01
  br label %30

30:                                               ; preds = %25, %20
  %31 = phi float [ %29, %25 ], [ 0.000000e+00, %20 ]
  %32 = getelementptr inbounds { float, float }, ptr %8, i64 %indvars.iv.next
  %33 = getelementptr inbounds i8, ptr %32, i64 4
  store float %31, ptr %32, align 8
  store float 0.000000e+00, ptr %33, align 4
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 64
  br i1 %exitcond.not.1, label %.preheader100, label %13, !llvm.loop !9

.preheader100:                                    ; preds = %30, %.preheader100
  %indvars.iv108 = phi i64 [ %indvars.iv.next109, %.preheader100 ], [ 0, %30 ]
  %34 = getelementptr inbounds { float, float }, ptr %8, i64 %indvars.iv108
  %35 = load <2 x float>, ptr %34, align 8
  %.idx = shl nsw i64 %indvars.iv108, 6
  %36 = getelementptr inbounds i8, ptr %9, i64 %.idx
  %37 = call i32 @dds_cccf_interp_execute(ptr noundef %1, <2 x float> noundef %35, ptr noundef nonnull %36) #3
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond111.not = icmp eq i64 %indvars.iv.next109, 64
  br i1 %exitcond111.not, label %38, label %.preheader100, !llvm.loop !11

38:                                               ; preds = %.preheader100
  %39 = call i32 @dds_cccf_reset(ptr noundef %1) #3
  br label %40

40:                                               ; preds = %38, %40
  %indvars.iv112 = phi i64 [ 0, %38 ], [ %indvars.iv.next113, %40 ]
  %.idx128 = shl nsw i64 %indvars.iv112, 6
  %41 = getelementptr inbounds i8, ptr %9, i64 %.idx128
  %42 = getelementptr inbounds { float, float }, ptr %10, i64 %indvars.iv112
  %43 = call i32 @dds_cccf_decim_execute(ptr noundef %1, ptr noundef nonnull %41, ptr noundef nonnull %42) #3
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %exitcond115.not = icmp eq i64 %indvars.iv.next113, 64
  br i1 %exitcond115.not, label %.preheader99, label %40, !llvm.loop !12

.preheader99:                                     ; preds = %40, %.preheader99
  %indvars.iv116 = phi i64 [ %indvars.iv.next117, %.preheader99 ], [ 0, %40 ]
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %44 = getelementptr inbounds { float, float }, ptr %8, i64 %indvars.iv116
  %45 = load float, ptr %44, align 8
  %46 = getelementptr inbounds i8, ptr %44, i64 4
  %47 = fpext float %45 to double
  %48 = load float, ptr %46, align 4
  %49 = fpext float %48 to double
  %50 = trunc nuw nsw i64 %indvars.iv.next117 to i32
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.6, i32 noundef %50, double noundef %47, double noundef %49) #3
  %exitcond119.not = icmp eq i64 %indvars.iv.next117, 64
  br i1 %exitcond119.not, label %.preheader98, label %.preheader99, !llvm.loop !13

.preheader98:                                     ; preds = %.preheader99, %.preheader98
  %indvars.iv120 = phi i64 [ %indvars.iv.next121, %.preheader98 ], [ 0, %.preheader99 ]
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %52 = getelementptr inbounds { float, float }, ptr %9, i64 %indvars.iv120
  %53 = load float, ptr %52, align 8
  %54 = getelementptr inbounds i8, ptr %52, i64 4
  %55 = fpext float %53 to double
  %56 = load float, ptr %54, align 4
  %57 = fpext float %56 to double
  %58 = trunc nuw nsw i64 %indvars.iv.next121 to i32
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.7, i32 noundef %58, double noundef %55, double noundef %57) #3
  %exitcond123.not = icmp eq i64 %indvars.iv.next121, 512
  br i1 %exitcond123.not, label %.preheader, label %.preheader98, !llvm.loop !14

.preheader:                                       ; preds = %.preheader98, %.preheader
  %indvars.iv124 = phi i64 [ %indvars.iv.next125, %.preheader ], [ 0, %.preheader98 ]
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %60 = getelementptr inbounds { float, float }, ptr %10, i64 %indvars.iv124
  %61 = load float, ptr %60, align 8
  %62 = getelementptr inbounds i8, ptr %60, i64 4
  %63 = fpext float %61 to double
  %64 = load float, ptr %62, align 4
  %65 = fpext float %64 to double
  %66 = trunc nuw nsw i64 %indvars.iv.next125 to i32
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.8, i32 noundef %66, double noundef %63, double noundef %65) #3
  %exitcond127.not = icmp eq i64 %indvars.iv.next125, 64
  br i1 %exitcond127.not, label %68, label %.preheader, !llvm.loop !15

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

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

declare i32 @dds_cccf_print(ptr noundef) local_unnamed_addr #1

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

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

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

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

declare i32 @dds_cccf_reset(ptr noundef) local_unnamed_addr #1

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

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

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

declare i32 @dds_cccf_destroy(ptr noundef) local_unnamed_addr #1

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 = { 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 #3 = { 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,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass