; LLVM IR from jgaeddert/liquid-dsp :: sandbox (ofdm_ber_test)

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

@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca { float, float }, align 4
  %32 = alloca { float, float }, align 4
  %33 = alloca i32, align 4
  %34 = alloca float, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %35 = call i64 @time(ptr noundef null) #8
  %36 = trunc i64 %35 to i32
  call void @srand(i32 noundef %36) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 64, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 16, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 39, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store float 6.500000e+00, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 1, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 40, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  br label %37

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

42:                                               ; preds = %37
  %43 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %43, label %74 [
    i32 104, label %44
    i32 115, label %45
    i32 77, label %49
    i32 67, label %52
    i32 109, label %55
    i32 110, label %68
    i32 99, label %71
  ]

44:                                               ; preds = %42
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %352

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

49:                                               ; preds = %42
  %50 = load ptr, ptr @optarg, align 8, !tbaa !9
  %51 = call i32 @atoi(ptr noundef %50) #9
  store i32 %51, ptr %6, align 4, !tbaa !5
  br label %75

52:                                               ; preds = %42
  %53 = load ptr, ptr @optarg, align 8, !tbaa !9
  %54 = call i32 @atoi(ptr noundef %53) #9
  store i32 %54, ptr %7, align 4, !tbaa !5
  br label %75

55:                                               ; preds = %42
  %56 = load ptr, ptr @optarg, align 8, !tbaa !9
  %57 = call i32 @liquid_getopt_str2mod(ptr noundef %56)
  store i32 %57, ptr %8, align 4, !tbaa !5
  %58 = load i32, ptr %8, align 4, !tbaa !5
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %67

60:                                               ; preds = %55
  %61 = load ptr, ptr @stderr, align 8, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !9
  %63 = getelementptr inbounds ptr, ptr %62, i64 0
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = load ptr, ptr @optarg, align 8, !tbaa !9
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.9, ptr noundef %64, ptr noundef %65) #8
  call void @exit(i32 noundef -1) #10
  unreachable

67:                                               ; preds = %55
  br label %75

68:                                               ; preds = %42
  %69 = load ptr, ptr @optarg, align 8, !tbaa !9
  %70 = call i32 @atoi(ptr noundef %69) #9
  store i32 %70, ptr %11, align 4, !tbaa !5
  br label %75

71:                                               ; preds = %42
  %72 = load ptr, ptr @optarg, align 8, !tbaa !9
  %73 = call i32 @atoi(ptr noundef %72) #9
  store i32 %73, ptr %10, align 4, !tbaa !5
  br label %75

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

75:                                               ; preds = %71, %68, %67, %52, %49, %45
  br label %37, !llvm.loop !13

76:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = icmp ult i32 %77, 4
  br i1 %78, label %79, label %85

79:                                               ; preds = %76
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  %82 = getelementptr inbounds ptr, ptr %81, i64 0
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.10, ptr noundef %83) #8
  call void @exit(i32 noundef 1) #10
  unreachable

85:                                               ; preds = %76
  %86 = load i32, ptr %10, align 4, !tbaa !5
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %88, label %94

88:                                               ; preds = %85
  %89 = load ptr, ptr @stderr, align 8, !tbaa !9
  %90 = load ptr, ptr %5, align 8, !tbaa !9
  %91 = getelementptr inbounds ptr, ptr %90, i64 0
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.11, ptr noundef %92) #8
  call void @exit(i32 noundef 1) #10
  unreachable

94:                                               ; preds = %85
  br label %95

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %96 = load i32, ptr %6, align 4, !tbaa !5
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = add i32 %96, %97
  store i32 %98, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %99 = load float, ptr %9, align 4, !tbaa !11
  %100 = fneg float %99
  %101 = fdiv float %100, 2.000000e+01
  %102 = call float @powf(float noundef 1.000000e+01, float noundef %101) #8
  store float %102, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %103 = load i32, ptr %6, align 4, !tbaa !5
  %104 = uitofp i32 %103 to float
  %105 = call float @sqrtf(float noundef %104) #8
  %106 = fdiv float 1.000000e+00, %105
  store float %106, ptr %17, align 4, !tbaa !11
  %107 = load i32, ptr %6, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = call ptr @llvm.stacksave.p0()
  store ptr %109, ptr %18, align 8
  %110 = alloca i32, i64 %108, align 16
  store i64 %108, ptr %19, align 8
  %111 = load i32, ptr %6, align 4, !tbaa !5
  %112 = zext i32 %111 to i64
  %113 = alloca i32, i64 %112, align 16
  store i64 %112, ptr %20, align 8
  %114 = load i32, ptr %6, align 4, !tbaa !5
  %115 = zext i32 %114 to i64
  %116 = alloca { float, float }, i64 %115, align 16
  store i64 %115, ptr %21, align 8
  %117 = load i32, ptr %6, align 4, !tbaa !5
  %118 = zext i32 %117 to i64
  %119 = alloca { float, float }, i64 %118, align 16
  store i64 %118, ptr %22, align 8
  %120 = load i32, ptr %15, align 4, !tbaa !5
  %121 = zext i32 %120 to i64
  %122 = alloca { float, float }, i64 %121, align 16
  store i64 %121, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %123 = load i32, ptr %8, align 4, !tbaa !5
  %124 = call ptr @modemcf_create(i32 noundef %123)
  store ptr %124, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %125 = load i32, ptr %8, align 4, !tbaa !5
  %126 = call ptr @modemcf_create(i32 noundef %125)
  store ptr %126, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %127 = load ptr, ptr %24, align 8, !tbaa !9
  %128 = call i32 @modemcf_get_bps(ptr noundef %127)
  store i32 %128, ptr %26, align 4, !tbaa !5
  %129 = load i32, ptr %10, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = alloca { float, float }, i64 %130, align 16
  store i64 %130, ptr %27, align 8
  %132 = getelementptr inbounds { float, float }, ptr %131, i64 0
  %133 = getelementptr inbounds { float, float }, ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds { float, float }, ptr %132, i32 0, i32 1
  store float 1.000000e+00, ptr %133, align 16
  store float 0.000000e+00, ptr %134, align 4
  store i32 1, ptr %14, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %152, %95
  %136 = load i32, ptr %14, align 4, !tbaa !5
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = icmp ult i32 %136, %137
  br i1 %138, label %139, label %155

139:                                              ; preds = %135
  %140 = call float (...) @randnf()
  %141 = call float (...) @randnf()
  %142 = fmul float 0.000000e+00, %141
  %143 = fmul float 1.000000e+00, %141
  %144 = fadd float %140, %142
  %145 = fmul float 0x3FB99999A0000000, %144
  %146 = fmul float 0x3FB99999A0000000, %143
  %147 = load i32, ptr %14, align 4, !tbaa !5
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds { float, float }, ptr %131, i64 %148
  %150 = getelementptr inbounds { float, float }, ptr %149, i32 0, i32 0
  %151 = getelementptr inbounds { float, float }, ptr %149, i32 0, i32 1
  store float %145, ptr %150, align 8
  store float %146, ptr %151, align 4
  br label %152

152:                                              ; preds = %139
  %153 = load i32, ptr %14, align 4, !tbaa !5
  %154 = add i32 %153, 1
  store i32 %154, ptr %14, align 4, !tbaa !5
  br label %135, !llvm.loop !15

155:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %156 = load i32, ptr %10, align 4, !tbaa !5
  %157 = call ptr @firfilt_cccf_create(ptr noundef %131, i32 noundef %156)
  store ptr %157, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 0, ptr %30, align 4, !tbaa !5
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %325, %155
  %159 = load i32, ptr %29, align 4, !tbaa !5
  %160 = load i32, ptr %11, align 4, !tbaa !5
  %161 = icmp ult i32 %159, %160
  br i1 %161, label %162, label %328

162:                                              ; preds = %158
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %184, %162
  %164 = load i32, ptr %14, align 4, !tbaa !5
  %165 = load i32, ptr %6, align 4, !tbaa !5
  %166 = icmp ult i32 %164, %165
  br i1 %166, label %167, label %187

167:                                              ; preds = %163
  %168 = call i32 @rand() #8
  %169 = load i32, ptr %26, align 4, !tbaa !5
  %170 = shl i32 1, %169
  %171 = srem i32 %168, %170
  %172 = load i32, ptr %14, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds i32, ptr %110, i64 %173
  store i32 %171, ptr %174, align 4, !tbaa !5
  %175 = load ptr, ptr %24, align 8, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !5
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds i32, ptr %110, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = load i32, ptr %14, align 4, !tbaa !5
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds { float, float }, ptr %119, i64 %181
  %183 = call i32 @modemcf_modulate(ptr noundef %175, i32 noundef %179, ptr noundef %182)
  br label %184

184:                                              ; preds = %167
  %185 = load i32, ptr %14, align 4, !tbaa !5
  %186 = add i32 %185, 1
  store i32 %186, ptr %14, align 4, !tbaa !5
  br label %163, !llvm.loop !16

187:                                              ; preds = %163
  %188 = load i32, ptr %6, align 4, !tbaa !5
  %189 = call i32 @fft_run(i32 noundef %188, ptr noundef %119, ptr noundef %116, i32 noundef -1, i32 noundef 0)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %190

190:                                              ; preds = %207, %187
  %191 = load i32, ptr %14, align 4, !tbaa !5
  %192 = load i32, ptr %6, align 4, !tbaa !5
  %193 = icmp ult i32 %191, %192
  br i1 %193, label %194, label %210

194:                                              ; preds = %190
  %195 = load float, ptr %17, align 4, !tbaa !11
  %196 = load i32, ptr %14, align 4, !tbaa !5
  %197 = zext i32 %196 to i64
  %198 = getelementptr inbounds { float, float }, ptr %116, i64 %197
  %199 = getelementptr inbounds { float, float }, ptr %198, i32 0, i32 0
  %200 = load float, ptr %199, align 8
  %201 = getelementptr inbounds { float, float }, ptr %198, i32 0, i32 1
  %202 = load float, ptr %201, align 4
  %203 = fmul float %200, %195
  %204 = fmul float %202, %195
  %205 = getelementptr inbounds { float, float }, ptr %198, i32 0, i32 0
  %206 = getelementptr inbounds { float, float }, ptr %198, i32 0, i32 1
  store float %203, ptr %205, align 8
  store float %204, ptr %206, align 4
  br label %207

207:                                              ; preds = %194
  %208 = load i32, ptr %14, align 4, !tbaa !5
  %209 = add i32 %208, 1
  store i32 %209, ptr %14, align 4, !tbaa !5
  br label %190, !llvm.loop !17

210:                                              ; preds = %190
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %211

211:                                              ; preds = %268, %210
  %212 = load i32, ptr %14, align 4, !tbaa !5
  %213 = load i32, ptr %6, align 4, !tbaa !5
  %214 = load i32, ptr %7, align 4, !tbaa !5
  %215 = add i32 %213, %214
  %216 = icmp ult i32 %212, %215
  br i1 %216, label %217, label %271

217:                                              ; preds = %211
  %218 = load ptr, ptr %28, align 8, !tbaa !9
  %219 = load i32, ptr %6, align 4, !tbaa !5
  %220 = load i32, ptr %7, align 4, !tbaa !5
  %221 = sub i32 %219, %220
  %222 = load i32, ptr %14, align 4, !tbaa !5
  %223 = add i32 %221, %222
  %224 = load i32, ptr %6, align 4, !tbaa !5
  %225 = urem i32 %223, %224
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds { float, float }, ptr %116, i64 %226
  %228 = getelementptr inbounds { float, float }, ptr %227, i32 0, i32 0
  %229 = load float, ptr %228, align 8
  %230 = getelementptr inbounds { float, float }, ptr %227, i32 0, i32 1
  %231 = load float, ptr %230, align 4
  %232 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 0
  %233 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 1
  store float %229, ptr %232, align 4
  store float %231, ptr %233, align 4
  %234 = load <2 x float>, ptr %31, align 4
  %235 = call i32 @firfilt_cccf_push(ptr noundef %218, <2 x float> noundef %234)
  %236 = load ptr, ptr %28, align 8, !tbaa !9
  %237 = load i32, ptr %14, align 4, !tbaa !5
  %238 = zext i32 %237 to i64
  %239 = getelementptr inbounds { float, float }, ptr %122, i64 %238
  %240 = call i32 @firfilt_cccf_execute(ptr noundef %236, ptr noundef %239)
  %241 = load float, ptr %16, align 4, !tbaa !11
  %242 = call float (...) @randnf()
  %243 = call float (...) @randnf()
  %244 = fmul float 0.000000e+00, %243
  %245 = fmul float 1.000000e+00, %243
  %246 = fadd float %242, %244
  %247 = fmul float %241, %246
  %248 = fmul float %241, %245
  %249 = fpext float %247 to double
  %250 = fpext float %248 to double
  %251 = fmul double %249, 0x3FE6A09E667F3BCD
  %252 = fmul double %250, 0x3FE6A09E667F3BCD
  %253 = load i32, ptr %14, align 4, !tbaa !5
  %254 = zext i32 %253 to i64
  %255 = getelementptr inbounds { float, float }, ptr %122, i64 %254
  %256 = getelementptr inbounds { float, float }, ptr %255, i32 0, i32 0
  %257 = load float, ptr %256, align 8
  %258 = getelementptr inbounds { float, float }, ptr %255, i32 0, i32 1
  %259 = load float, ptr %258, align 4
  %260 = fpext float %257 to double
  %261 = fpext float %259 to double
  %262 = fadd double %260, %251
  %263 = fadd double %261, %252
  %264 = fptrunc double %262 to float
  %265 = fptrunc double %263 to float
  %266 = getelementptr inbounds { float, float }, ptr %255, i32 0, i32 0
  %267 = getelementptr inbounds { float, float }, ptr %255, i32 0, i32 1
  store float %264, ptr %266, align 8
  store float %265, ptr %267, align 4
  br label %268

268:                                              ; preds = %217
  %269 = load i32, ptr %14, align 4, !tbaa !5
  %270 = add i32 %269, 1
  store i32 %270, ptr %14, align 4, !tbaa !5
  br label %211, !llvm.loop !18

271:                                              ; preds = %211
  %272 = load i32, ptr %6, align 4, !tbaa !5
  %273 = load i32, ptr %7, align 4, !tbaa !5
  %274 = zext i32 %273 to i64
  %275 = getelementptr inbounds { float, float }, ptr %122, i64 %274
  %276 = call i32 @fft_run(i32 noundef %272, ptr noundef %275, ptr noundef %119, i32 noundef 1, i32 noundef 0)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %277

277:                                              ; preds = %321, %271
  %278 = load i32, ptr %14, align 4, !tbaa !5
  %279 = load i32, ptr %6, align 4, !tbaa !5
  %280 = icmp ult i32 %278, %279
  br i1 %280, label %281, label %324

281:                                              ; preds = %277
  %282 = load float, ptr %17, align 4, !tbaa !11
  %283 = load i32, ptr %14, align 4, !tbaa !5
  %284 = zext i32 %283 to i64
  %285 = getelementptr inbounds { float, float }, ptr %119, i64 %284
  %286 = getelementptr inbounds { float, float }, ptr %285, i32 0, i32 0
  %287 = load float, ptr %286, align 8
  %288 = getelementptr inbounds { float, float }, ptr %285, i32 0, i32 1
  %289 = load float, ptr %288, align 4
  %290 = fmul float %287, %282
  %291 = fmul float %289, %282
  %292 = getelementptr inbounds { float, float }, ptr %285, i32 0, i32 0
  %293 = getelementptr inbounds { float, float }, ptr %285, i32 0, i32 1
  store float %290, ptr %292, align 8
  store float %291, ptr %293, align 4
  %294 = load ptr, ptr %25, align 8, !tbaa !9
  %295 = load i32, ptr %14, align 4, !tbaa !5
  %296 = zext i32 %295 to i64
  %297 = getelementptr inbounds { float, float }, ptr %119, i64 %296
  %298 = getelementptr inbounds { float, float }, ptr %297, i32 0, i32 0
  %299 = load float, ptr %298, align 8
  %300 = getelementptr inbounds { float, float }, ptr %297, i32 0, i32 1
  %301 = load float, ptr %300, align 4
  %302 = load i32, ptr %14, align 4, !tbaa !5
  %303 = zext i32 %302 to i64
  %304 = getelementptr inbounds i32, ptr %113, i64 %303
  %305 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 0
  %306 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 1
  store float %299, ptr %305, align 4
  store float %301, ptr %306, align 4
  %307 = load <2 x float>, ptr %32, align 4
  %308 = call i32 @modemcf_demodulate(ptr noundef %294, <2 x float> noundef %307, ptr noundef %304)
  %309 = load i32, ptr %14, align 4, !tbaa !5
  %310 = zext i32 %309 to i64
  %311 = getelementptr inbounds i32, ptr %110, i64 %310
  %312 = load i32, ptr %311, align 4, !tbaa !5
  %313 = load i32, ptr %14, align 4, !tbaa !5
  %314 = zext i32 %313 to i64
  %315 = getelementptr inbounds i32, ptr %113, i64 %314
  %316 = load i32, ptr %315, align 4, !tbaa !5
  %317 = xor i32 %312, %316
  %318 = call i32 @liquid_count_ones(i32 noundef %317)
  %319 = load i32, ptr %30, align 4, !tbaa !5
  %320 = add i32 %319, %318
  store i32 %320, ptr %30, align 4, !tbaa !5
  br label %321

321:                                              ; preds = %281
  %322 = load i32, ptr %14, align 4, !tbaa !5
  %323 = add i32 %322, 1
  store i32 %323, ptr %14, align 4, !tbaa !5
  br label %277, !llvm.loop !19

324:                                              ; preds = %277
  br label %325

325:                                              ; preds = %324
  %326 = load i32, ptr %29, align 4, !tbaa !5
  %327 = add i32 %326, 1
  store i32 %327, ptr %29, align 4, !tbaa !5
  br label %158, !llvm.loop !20

328:                                              ; preds = %158
  %329 = load ptr, ptr %24, align 8, !tbaa !9
  %330 = call i32 @modemcf_destroy(ptr noundef %329)
  %331 = load ptr, ptr %25, align 8, !tbaa !9
  %332 = call i32 @modemcf_destroy(ptr noundef %331)
  %333 = load ptr, ptr %28, align 8, !tbaa !9
  %334 = call i32 @firfilt_cccf_destroy(ptr noundef %333)
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %335 = load i32, ptr %6, align 4, !tbaa !5
  %336 = load i32, ptr %26, align 4, !tbaa !5
  %337 = mul i32 %335, %336
  %338 = load i32, ptr %11, align 4, !tbaa !5
  %339 = mul i32 %337, %338
  store i32 %339, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %340 = load i32, ptr %30, align 4, !tbaa !5
  %341 = uitofp i32 %340 to float
  %342 = load i32, ptr %33, align 4, !tbaa !5
  %343 = uitofp i32 %342 to float
  %344 = fdiv float %341, %343
  store float %344, ptr %34, align 4, !tbaa !11
  %345 = load i32, ptr %30, align 4, !tbaa !5
  %346 = load i32, ptr %33, align 4, !tbaa !5
  %347 = load float, ptr %34, align 4, !tbaa !11
  %348 = fpext float %347 to double
  %349 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %345, i32 noundef %346, double noundef %348)
  %350 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  %351 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %351)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %352

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

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

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

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

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

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

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

declare i32 @liquid_getopt_str2mod(ptr noundef) #1

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

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

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

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

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

declare ptr @modemcf_create(i32 noundef) #1

declare i32 @modemcf_get_bps(ptr noundef) #1

declare float @randnf(...) #1

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

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

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

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

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

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

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

declare i32 @liquid_count_ones(i32 noundef) #1

declare i32 @modemcf_destroy(ptr noundef) #1

declare i32 @firfilt_cccf_destroy(ptr noundef) #1

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

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

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

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

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


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

@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

.outer:                                           ; preds = %27, %2
  %.097.ph = phi i32 [ %29, %27 ], [ 40, %2 ]
  %.095.ph = phi i32 [ %.095.ph212, %27 ], [ 1, %2 ]
  %.093.ph = phi float [ %.093.ph218, %27 ], [ 6.500000e+00, %2 ]
  %.091.ph = phi i32 [ %.091.ph223, %27 ], [ 39, %2 ]
  %.089.ph = phi i32 [ %.089.ph227, %27 ], [ 16, %2 ]
  %.085.ph = phi i32 [ %.085, %27 ], [ 64, %2 ]
  br label %.outer211

.outer211:                                        ; preds = %.outer, %30
  %.095.ph212 = phi i32 [ %.095.ph, %.outer ], [ %32, %30 ]
  %.093.ph213 = phi float [ %.093.ph, %.outer ], [ %.093.ph218, %30 ]
  %.091.ph214 = phi i32 [ %.091.ph, %.outer ], [ %.091.ph223, %30 ]
  %.089.ph215 = phi i32 [ %.089.ph, %.outer ], [ %.089.ph227, %30 ]
  %.085.ph216 = phi i32 [ %.085.ph, %.outer ], [ %.085, %30 ]
  br label %.outer217

.outer217:                                        ; preds = %.outer211, %8
  %.093.ph218 = phi float [ %.093.ph213, %.outer211 ], [ %11, %8 ]
  %.091.ph219 = phi i32 [ %.091.ph214, %.outer211 ], [ %.091.ph223, %8 ]
  %.089.ph220 = phi i32 [ %.089.ph215, %.outer211 ], [ %.089.ph227, %8 ]
  %.085.ph221 = phi i32 [ %.085.ph216, %.outer211 ], [ %.085, %8 ]
  br label %.outer222

.outer222:                                        ; preds = %.outer217, %18
  %.091.ph223 = phi i32 [ %.091.ph219, %.outer217 ], [ %20, %18 ]
  %.089.ph224 = phi i32 [ %.089.ph220, %.outer217 ], [ %.089.ph227, %18 ]
  %.085.ph225 = phi i32 [ %.085.ph221, %.outer217 ], [ %.085, %18 ]
  br label %.outer226

.outer226:                                        ; preds = %.outer222, %15
  %.089.ph227 = phi i32 [ %.089.ph224, %.outer222 ], [ %17, %15 ]
  %.085.ph228 = phi i32 [ %.085.ph225, %.outer222 ], [ %.085, %15 ]
  br label %5

5:                                                ; preds = %.outer226, %12
  %.085 = phi i32 [ %14, %12 ], [ %.085.ph228, %.outer226 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.8) #10
  switch i32 %6, label %33 [
    i32 -1, label %34
    i32 104, label %7
    i32 115, label %8
    i32 77, label %12
    i32 67, label %15
    i32 109, label %18
    i32 110, label %27
    i32 99, label %30
  ]

7:                                                ; preds = %5
  tail call void @usage()
  br label %146

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

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

15:                                               ; preds = %5
  %16 = load ptr, ptr @optarg, align 8, !tbaa !5
  %17 = tail call i32 @atoi(ptr nocapture noundef %16) #11
  br label %.outer226, !llvm.loop !9

18:                                               ; preds = %5
  %19 = load ptr, ptr @optarg, align 8, !tbaa !5
  %20 = tail call i32 @liquid_getopt_str2mod(ptr noundef %19) #10
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %.outer222, !llvm.loop !9

22:                                               ; preds = %18
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = load ptr, ptr @optarg, align 8, !tbaa !5
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.9, ptr noundef %24, ptr noundef %25) #12
  tail call void @exit(i32 noundef -1) #13
  unreachable

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

30:                                               ; preds = %5
  %31 = load ptr, ptr @optarg, align 8, !tbaa !5
  %32 = tail call i32 @atoi(ptr nocapture noundef %31) #11
  br label %.outer211, !llvm.loop !9

33:                                               ; preds = %5
  tail call void @exit(i32 noundef -1) #13
  unreachable

34:                                               ; preds = %5
  %35 = icmp ult i32 %.085, 4
  br i1 %35, label %36, label %40

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

40:                                               ; preds = %34
  %41 = icmp eq i32 %.095.ph212, 0
  br i1 %41, label %42, label %46

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

46:                                               ; preds = %40
  %47 = add i32 %.085, %.089.ph227
  %48 = fdiv float %.093.ph218, -2.000000e+01
  %49 = tail call float @powf(float noundef 1.000000e+01, float noundef %48) #10
  %50 = uitofp i32 %.085 to float
  %sqrt = tail call float @llvm.sqrt.f32(float %50)
  %51 = fdiv float 1.000000e+00, %sqrt
  %52 = zext i32 %.085 to i64
  %53 = tail call ptr @llvm.stacksave.p0()
  %54 = alloca i32, i64 %52, align 16
  %55 = alloca i32, i64 %52, align 16
  %56 = alloca { float, float }, i64 %52, align 16
  %57 = alloca { float, float }, i64 %52, align 16
  %58 = zext i32 %47 to i64
  %59 = alloca { float, float }, i64 %58, align 16
  %60 = tail call ptr @modemcf_create(i32 noundef %.091.ph223) #10
  %61 = tail call ptr @modemcf_create(i32 noundef %.091.ph223) #10
  %62 = tail call i32 @modemcf_get_bps(ptr noundef %60) #10
  %63 = zext i32 %.095.ph212 to i64
  %64 = alloca { float, float }, i64 %63, align 16
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %64, align 16
  %.not = icmp eq i32 %.095.ph212, 1
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %46, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %46 ]
  %65 = tail call float (...) @randnf() #10
  %66 = tail call float (...) @randnf() #10
  %67 = fmul float %66, 0.000000e+00
  %68 = fadd float %65, %67
  %69 = getelementptr inbounds { float, float }, ptr %64, i64 %indvars.iv
  %70 = insertelement <2 x float> poison, float %68, i64 0
  %71 = insertelement <2 x float> %70, float %66, i64 1
  %72 = fmul <2 x float> %71, <float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  store <2 x float> %72, ptr %69, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %63
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %46
  %73 = call ptr @firfilt_cccf_create(ptr noundef nonnull %64, i32 noundef %.095.ph212) #10
  %.not132 = icmp eq i32 %.097.ph, 0
  br i1 %.not132, label %._crit_edge131, label %.preheader102.lr.ph

.preheader102.lr.ph:                              ; preds = %._crit_edge
  %74 = shl nuw i32 1, %62
  %.not133 = icmp eq i32 %47, 0
  %75 = sub i32 %.085, %.089.ph227
  %76 = zext i32 %.089.ph227 to i64
  %77 = getelementptr inbounds { float, float }, ptr %59, i64 %76
  %umax = call i32 @llvm.umax.i32(i32 %.085, i32 1)
  %wide.trip.count156 = zext i32 %umax to i64
  %n.vec = and i64 %wide.trip.count156, 4294967294
  %broadcast.splatinsert = insertelement <2 x float> poison, float %51, i64 0
  %78 = shufflevector <2 x float> %broadcast.splatinsert, <2 x float> poison, <4 x i32> zeroinitializer
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count156
  %79 = insertelement <2 x float> poison, float %51, i64 0
  %80 = shufflevector <2 x float> %79, <2 x float> poison, <2 x i32> zeroinitializer
  %81 = insertelement <2 x float> poison, float %49, i64 0
  %82 = shufflevector <2 x float> %81, <2 x float> poison, <2 x i32> zeroinitializer
  %83 = insertelement <2 x float> poison, float %51, i64 0
  %84 = shufflevector <2 x float> %83, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.preheader102

.preheader102:                                    ; preds = %.preheader102.lr.ph, %133
  %.086130 = phi i32 [ 0, %.preheader102.lr.ph ], [ %132, %133 ]
  %.088129 = phi i32 [ 0, %.preheader102.lr.ph ], [ %134, %133 ]
  br label %85

85:                                               ; preds = %.preheader102, %85
  %indvars.iv153 = phi i64 [ 0, %.preheader102 ], [ %indvars.iv.next154, %85 ]
  %86 = call i32 @rand() #10
  %87 = srem i32 %86, %74
  %88 = getelementptr inbounds i32, ptr %54, i64 %indvars.iv153
  store i32 %87, ptr %88, align 4, !tbaa !12
  %89 = getelementptr inbounds { float, float }, ptr %57, i64 %indvars.iv153
  %90 = call i32 @modemcf_modulate(ptr noundef %60, i32 noundef %87, ptr noundef nonnull %89) #10
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %exitcond157.not = icmp eq i64 %indvars.iv.next154, %wide.trip.count156
  br i1 %exitcond157.not, label %vector.ph, label %85, !llvm.loop !14

vector.ph:                                        ; preds = %85
  %91 = call i32 @fft_run(i32 noundef %.085, ptr noundef nonnull %57, ptr noundef nonnull %56, i32 noundef -1, i32 noundef 0) #10
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %92 = getelementptr inbounds { float, float }, ptr %56, i64 %index
  %93 = load <4 x float>, ptr %92, align 16
  %interleaved.vec = fmul <4 x float> %78, %93
  store <4 x float> %interleaved.vec, ptr %92, align 16
  %index.next = add nuw i64 %index, 2
  %94 = icmp eq i64 %index.next, %n.vec
  br i1 %94, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %.preheader, label %scalar.ph

.preheader:                                       ; preds = %scalar.ph, %middle.block
  br i1 %.not133, label %._crit_edge126, label %.lr.ph125

scalar.ph:                                        ; preds = %middle.block, %scalar.ph
  %indvars.iv158 = phi i64 [ %indvars.iv.next159, %scalar.ph ], [ %n.vec, %middle.block ]
  %95 = getelementptr inbounds { float, float }, ptr %56, i64 %indvars.iv158
  %96 = load <2 x float>, ptr %95, align 8
  %97 = fmul <2 x float> %80, %96
  store <2 x float> %97, ptr %95, align 8
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %exitcond162.not = icmp eq i64 %indvars.iv.next159, %wide.trip.count156
  br i1 %exitcond162.not, label %.preheader, label %scalar.ph, !llvm.loop !18

.lr.ph125:                                        ; preds = %.preheader, %.lr.ph125
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %.lr.ph125 ], [ 0, %.preheader ]
  %98 = trunc nuw i64 %indvars.iv163 to i32
  %99 = add i32 %75, %98
  %100 = urem i32 %99, %.085
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds { float, float }, ptr %56, i64 %101
  %103 = load <2 x float>, ptr %102, align 8
  %104 = call i32 @firfilt_cccf_push(ptr noundef %73, <2 x float> noundef %103) #10
  %105 = getelementptr inbounds { float, float }, ptr %59, i64 %indvars.iv163
  %106 = call i32 @firfilt_cccf_execute(ptr noundef %73, ptr noundef nonnull %105) #10
  %107 = call float (...) @randnf() #10
  %108 = call float (...) @randnf() #10
  %109 = fmul float %108, 0.000000e+00
  %110 = fadd float %107, %109
  %111 = insertelement <2 x float> poison, float %110, i64 0
  %112 = insertelement <2 x float> %111, float %108, i64 1
  %113 = fmul <2 x float> %82, %112
  %114 = fpext <2 x float> %113 to <2 x double>
  %115 = fmul <2 x double> %114, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %116 = load <2 x float>, ptr %105, align 8
  %117 = fpext <2 x float> %116 to <2 x double>
  %118 = fadd <2 x double> %115, %117
  %119 = fptrunc <2 x double> %118 to <2 x float>
  store <2 x float> %119, ptr %105, align 8
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %exitcond167.not = icmp eq i64 %indvars.iv.next164, %58
  br i1 %exitcond167.not, label %._crit_edge126, label %.lr.ph125, !llvm.loop !19

._crit_edge126:                                   ; preds = %.lr.ph125, %.preheader
  %120 = call i32 @fft_run(i32 noundef %.085, ptr noundef nonnull %77, ptr noundef nonnull %57, i32 noundef 1, i32 noundef 0) #10
  br label %121

121:                                              ; preds = %._crit_edge126, %121
  %indvars.iv168 = phi i64 [ 0, %._crit_edge126 ], [ %indvars.iv.next169, %121 ]
  %.187128 = phi i32 [ %.086130, %._crit_edge126 ], [ %132, %121 ]
  %122 = getelementptr inbounds { float, float }, ptr %57, i64 %indvars.iv168
  %123 = load <2 x float>, ptr %122, align 8
  %124 = fmul <2 x float> %84, %123
  store <2 x float> %124, ptr %122, align 8
  %125 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv168
  %126 = call i32 @modemcf_demodulate(ptr noundef %61, <2 x float> noundef %124, ptr noundef nonnull %125) #10
  %127 = getelementptr inbounds i32, ptr %54, i64 %indvars.iv168
  %128 = load i32, ptr %127, align 4, !tbaa !12
  %129 = load i32, ptr %125, align 4, !tbaa !12
  %130 = xor i32 %129, %128
  %131 = call i32 @liquid_count_ones(i32 noundef %130) #10
  %132 = add i32 %131, %.187128
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %exitcond172.not = icmp eq i64 %indvars.iv.next169, %wide.trip.count156
  br i1 %exitcond172.not, label %133, label %121, !llvm.loop !20

133:                                              ; preds = %121
  %134 = add nuw i32 %.088129, 1
  %exitcond173.not = icmp eq i32 %134, %.097.ph
  br i1 %exitcond173.not, label %._crit_edge131, label %.preheader102, !llvm.loop !21

._crit_edge131:                                   ; preds = %133, %._crit_edge
  %.086.lcssa = phi i32 [ 0, %._crit_edge ], [ %132, %133 ]
  %135 = call i32 @modemcf_destroy(ptr noundef %60) #10
  %136 = call i32 @modemcf_destroy(ptr noundef %61) #10
  %137 = call i32 @firfilt_cccf_destroy(ptr noundef %73) #10
  %138 = mul i32 %.085, %.097.ph
  %139 = mul i32 %138, %62
  %140 = uitofp i32 %.086.lcssa to float
  %141 = uitofp i32 %139 to float
  %142 = fdiv float %140, %141
  %143 = fpext float %142 to double
  %144 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %.086.lcssa, i32 noundef %139, double noundef %143)
  %145 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  call void @llvm.stackrestore.p0(ptr %53)
  br label %146

146:                                              ; preds = %._crit_edge131, %7
  ret i32 0
}

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

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

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

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

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

declare i32 @liquid_getopt_str2mod(ptr noundef) local_unnamed_addr #5

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

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

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

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

declare ptr @modemcf_create(i32 noundef) local_unnamed_addr #5

declare i32 @modemcf_get_bps(ptr noundef) local_unnamed_addr #5

declare float @randnf(...) local_unnamed_addr #5

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

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

declare i32 @modemcf_modulate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

declare i32 @fft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

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

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

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

declare i32 @liquid_count_ones(i32 noundef) local_unnamed_addr #5

declare i32 @modemcf_destroy(ptr noundef) local_unnamed_addr #5

declare i32 @firfilt_cccf_destroy(ptr noundef) local_unnamed_addr #5

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

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

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

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

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

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


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