; LLVM IR from jgaeddert/liquid-dsp :: sandbox (ofdmframe_papr_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.6 = external hidden unnamed_addr constant [10 x i8], align 1
@optarg = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.37 = 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) #0 {
  %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 i32, 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 ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca i32, align 4
  %33 = alloca float, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %41 = call i64 @time(ptr noundef null) #10
  %42 = trunc i64 %41 to i32
  call void @srand(i32 noundef %42) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  store i32 64, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  store i32 16, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  store i32 1000, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  store i32 40, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  br label %43

43:                                               ; preds = %64, %2
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = call i32 @getopt(i32 noundef %44, ptr noundef %45, ptr noundef @.str.6) #10
  store i32 %46, ptr %11, align 4, !tbaa !5
  %47 = icmp ne i32 %46, -1
  br i1 %47, label %48, label %65

48:                                               ; preds = %43
  %49 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %49, label %63 [
    i32 104, label %50
    i32 77, label %51
    i32 67, label %54
    i32 84, label %57
    i32 78, label %60
  ]

50:                                               ; preds = %48
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %397

51:                                               ; preds = %48
  %52 = load ptr, ptr @optarg, align 8, !tbaa !9
  %53 = call i32 @atoi(ptr noundef %52) #11
  store i32 %53, ptr %6, align 4, !tbaa !5
  br label %64

54:                                               ; preds = %48
  %55 = load ptr, ptr @optarg, align 8, !tbaa !9
  %56 = call i32 @atoi(ptr noundef %55) #11
  store i32 %56, ptr %7, align 4, !tbaa !5
  br label %64

57:                                               ; preds = %48
  %58 = load ptr, ptr @optarg, align 8, !tbaa !9
  %59 = call i32 @atoi(ptr noundef %58) #11
  store i32 %59, ptr %8, align 4, !tbaa !5
  br label %64

60:                                               ; preds = %48
  %61 = load ptr, ptr @optarg, align 8, !tbaa !9
  %62 = call i32 @atoi(ptr noundef %61) #11
  store i32 %62, ptr %9, align 4, !tbaa !5
  br label %64

63:                                               ; preds = %48
  call void @exit(i32 noundef 1) #12
  unreachable

64:                                               ; preds = %60, %57, %54, %51
  br label %43, !llvm.loop !11

65:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = add i32 %66, %67
  store i32 %68, ptr %14, align 4, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = zext i32 %69 to i64
  %71 = call ptr @llvm.stacksave.p0()
  store ptr %71, ptr %15, align 8
  %72 = alloca i8, i64 %70, align 16
  store i64 %70, ptr %16, align 8
  %73 = load i32, ptr %6, align 4, !tbaa !5
  %74 = call i32 @ofdmframe_init_default_sctype(i32 noundef %73, ptr noundef %72)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = load i32, ptr %7, align 4, !tbaa !5
  %77 = load i32, ptr %8, align 4, !tbaa !5
  %78 = call ptr @ofdmframegen_create(i32 noundef %75, i32 noundef %76, i32 noundef %77, ptr noundef %72)
  store ptr %78, ptr %17, align 8, !tbaa !9
  %79 = load ptr, ptr %17, align 8, !tbaa !9
  %80 = call i32 @ofdmframegen_print(ptr noundef %79)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %81 = load i32, ptr %10, align 4, !tbaa !5
  %82 = call ptr @modemcf_create(i32 noundef %81)
  store ptr %82, ptr %18, align 8, !tbaa !9
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = zext i32 %83 to i64
  %85 = alloca { float, float }, i64 %84, align 16
  store i64 %84, ptr %19, align 8
  %86 = load i32, ptr %14, align 4, !tbaa !5
  %87 = zext i32 %86 to i64
  %88 = alloca { float, float }, i64 %87, align 16
  store i64 %87, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %89 = load i32, ptr %9, align 4, !tbaa !5
  %90 = zext i32 %89 to i64
  %91 = mul i64 %90, 4
  %92 = call noalias ptr @malloc(i64 noundef %91) #13
  store ptr %92, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  %93 = load i32, ptr %6, align 4, !tbaa !5
  %94 = uitofp i32 %93 to float
  %95 = call float @log2f(float noundef %94) #10
  %96 = call float @llvm.fmuladd.f32(float 0x3FE6666660000000, float %95, float 0xBFF4A3D700000000)
  store float %96, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  %97 = load i32, ptr %6, align 4, !tbaa !5
  %98 = uitofp i32 %97 to float
  %99 = call float @log2f(float noundef %98) #10
  %100 = call float @llvm.fmuladd.f32(float 0x3FD5C28F60000000, float %99, float 0x4021F0A3E0000000)
  store float %100, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  store i32 30, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  %101 = load float, ptr %23, align 4, !tbaa !13
  %102 = load float, ptr %22, align 4, !tbaa !13
  %103 = fsub float %101, %102
  %104 = load i32, ptr %24, align 4, !tbaa !5
  %105 = uitofp i32 %104 to float
  %106 = fdiv float %103, %105
  store float %106, ptr %25, align 4, !tbaa !13
  %107 = load i32, ptr %24, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = alloca i32, i64 %108, align 16
  store i64 %108, ptr %26, align 8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %118, %65
  %111 = load i32, ptr %13, align 4, !tbaa !5
  %112 = load i32, ptr %24, align 4, !tbaa !5
  %113 = icmp ult i32 %111, %112
  br i1 %113, label %114, label %121

114:                                              ; preds = %110
  %115 = load i32, ptr %13, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %109, i64 %116
  store i32 0, ptr %117, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %114
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = add i32 %119, 1
  store i32 %120, ptr %13, align 4, !tbaa !5
  br label %110, !llvm.loop !15

121:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  store float 0.000000e+00, ptr %29, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  store float 0.000000e+00, ptr %30, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  store float 0.000000e+00, ptr %31, align 4, !tbaa !13
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %226, %121
  %123 = load i32, ptr %13, align 4, !tbaa !5
  %124 = load i32, ptr %9, align 4, !tbaa !5
  %125 = icmp ult i32 %123, %124
  br i1 %125, label %126, label %229

126:                                              ; preds = %122
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %127

127:                                              ; preds = %140, %126
  %128 = load i32, ptr %27, align 4, !tbaa !5
  %129 = load i32, ptr %6, align 4, !tbaa !5
  %130 = icmp ult i32 %128, %129
  br i1 %130, label %131, label %143

131:                                              ; preds = %127
  %132 = load ptr, ptr %18, align 8, !tbaa !9
  %133 = call i32 @modemcf_gen_rand_sym(ptr noundef %132)
  store i32 %133, ptr %28, align 4, !tbaa !5
  %134 = load ptr, ptr %18, align 8, !tbaa !9
  %135 = load i32, ptr %28, align 4, !tbaa !5
  %136 = load i32, ptr %27, align 4, !tbaa !5
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds { float, float }, ptr %85, i64 %137
  %139 = call i32 @modemcf_modulate(ptr noundef %134, i32 noundef %135, ptr noundef %138)
  br label %140

140:                                              ; preds = %131
  %141 = load i32, ptr %27, align 4, !tbaa !5
  %142 = add i32 %141, 1
  store i32 %142, ptr %27, align 4, !tbaa !5
  br label %127, !llvm.loop !16

143:                                              ; preds = %127
  %144 = load ptr, ptr %17, align 8, !tbaa !9
  %145 = call i32 @ofdmframegen_writesymbol(ptr noundef %144, ptr noundef %85, ptr noundef %88)
  %146 = load i32, ptr %14, align 4, !tbaa !5
  %147 = call float @ofdmframe_PAPR(ptr noundef %88, i32 noundef %146)
  %148 = load ptr, ptr %21, align 8, !tbaa !9
  %149 = load i32, ptr %13, align 4, !tbaa !5
  %150 = zext i32 %149 to i64
  %151 = getelementptr inbounds float, ptr %148, i64 %150
  store float %147, ptr %151, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  %152 = load i32, ptr %24, align 4, !tbaa !5
  %153 = uitofp i32 %152 to float
  %154 = load ptr, ptr %21, align 8, !tbaa !9
  %155 = load i32, ptr %13, align 4, !tbaa !5
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds float, ptr %154, i64 %156
  %158 = load float, ptr %157, align 4, !tbaa !13
  %159 = load float, ptr %22, align 4, !tbaa !13
  %160 = fsub float %158, %159
  %161 = fmul float %153, %160
  %162 = load float, ptr %23, align 4, !tbaa !13
  %163 = load float, ptr %22, align 4, !tbaa !13
  %164 = fsub float %162, %163
  %165 = fdiv float %161, %164
  store float %165, ptr %33, align 4, !tbaa !13
  %166 = load float, ptr %33, align 4, !tbaa !13
  %167 = fcmp olt float %166, 0.000000e+00
  br i1 %167, label %168, label %169

168:                                              ; preds = %143
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %172

169:                                              ; preds = %143
  %170 = load float, ptr %33, align 4, !tbaa !13
  %171 = fptoui float %170 to i32
  store i32 %171, ptr %32, align 4, !tbaa !5
  br label %172

172:                                              ; preds = %169, %168
  %173 = load i32, ptr %32, align 4, !tbaa !5
  %174 = load i32, ptr %24, align 4, !tbaa !5
  %175 = icmp uge i32 %173, %174
  br i1 %175, label %176, label %179

176:                                              ; preds = %172
  %177 = load i32, ptr %24, align 4, !tbaa !5
  %178 = sub i32 %177, 1
  store i32 %178, ptr %32, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %176, %172
  %180 = load i32, ptr %32, align 4, !tbaa !5
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds i32, ptr %109, i64 %181
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = add i32 %183, 1
  store i32 %184, ptr %182, align 4, !tbaa !5
  %185 = load i32, ptr %13, align 4, !tbaa !5
  %186 = icmp eq i32 %185, 0
  br i1 %186, label %195, label %187

187:                                              ; preds = %179
  %188 = load ptr, ptr %21, align 8, !tbaa !9
  %189 = load i32, ptr %13, align 4, !tbaa !5
  %190 = zext i32 %189 to i64
  %191 = getelementptr inbounds float, ptr %188, i64 %190
  %192 = load float, ptr %191, align 4, !tbaa !13
  %193 = load float, ptr %29, align 4, !tbaa !13
  %194 = fcmp olt float %192, %193
  br i1 %194, label %195, label %201

195:                                              ; preds = %187, %179
  %196 = load ptr, ptr %21, align 8, !tbaa !9
  %197 = load i32, ptr %13, align 4, !tbaa !5
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds float, ptr %196, i64 %198
  %200 = load float, ptr %199, align 4, !tbaa !13
  store float %200, ptr %29, align 4, !tbaa !13
  br label %201

201:                                              ; preds = %195, %187
  %202 = load i32, ptr %13, align 4, !tbaa !5
  %203 = icmp eq i32 %202, 0
  br i1 %203, label %212, label %204

204:                                              ; preds = %201
  %205 = load ptr, ptr %21, align 8, !tbaa !9
  %206 = load i32, ptr %13, align 4, !tbaa !5
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds float, ptr %205, i64 %207
  %209 = load float, ptr %208, align 4, !tbaa !13
  %210 = load float, ptr %30, align 4, !tbaa !13
  %211 = fcmp ogt float %209, %210
  br i1 %211, label %212, label %218

212:                                              ; preds = %204, %201
  %213 = load ptr, ptr %21, align 8, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !5
  %215 = zext i32 %214 to i64
  %216 = getelementptr inbounds float, ptr %213, i64 %215
  %217 = load float, ptr %216, align 4, !tbaa !13
  store float %217, ptr %30, align 4, !tbaa !13
  br label %218

218:                                              ; preds = %212, %204
  %219 = load ptr, ptr %21, align 8, !tbaa !9
  %220 = load i32, ptr %13, align 4, !tbaa !5
  %221 = zext i32 %220 to i64
  %222 = getelementptr inbounds float, ptr %219, i64 %221
  %223 = load float, ptr %222, align 4, !tbaa !13
  %224 = load float, ptr %31, align 4, !tbaa !13
  %225 = fadd float %224, %223
  store float %225, ptr %31, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  br label %226

226:                                              ; preds = %218
  %227 = load i32, ptr %13, align 4, !tbaa !5
  %228 = add i32 %227, 1
  store i32 %228, ptr %13, align 4, !tbaa !5
  br label %122, !llvm.loop !17

229:                                              ; preds = %122
  %230 = load i32, ptr %9, align 4, !tbaa !5
  %231 = uitofp i32 %230 to float
  %232 = load float, ptr %31, align 4, !tbaa !13
  %233 = fdiv float %232, %231
  store float %233, ptr %31, align 4, !tbaa !13
  %234 = load ptr, ptr %17, align 8, !tbaa !9
  %235 = call i32 @ofdmframegen_destroy(ptr noundef %234)
  %236 = load ptr, ptr %18, align 8, !tbaa !9
  %237 = call i32 @modemcf_destroy(ptr noundef %236)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  store i32 0, ptr %34, align 4, !tbaa !5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %238

238:                                              ; preds = %258, %229
  %239 = load i32, ptr %13, align 4, !tbaa !5
  %240 = load i32, ptr %24, align 4, !tbaa !5
  %241 = icmp ult i32 %239, %240
  br i1 %241, label %242, label %261

242:                                              ; preds = %238
  %243 = load i32, ptr %13, align 4, !tbaa !5
  %244 = zext i32 %243 to i64
  %245 = getelementptr inbounds i32, ptr %109, i64 %244
  %246 = load i32, ptr %245, align 4, !tbaa !5
  %247 = load i32, ptr %34, align 4, !tbaa !5
  %248 = icmp ugt i32 %246, %247
  br i1 %248, label %249, label %254

249:                                              ; preds = %242
  %250 = load i32, ptr %13, align 4, !tbaa !5
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds i32, ptr %109, i64 %251
  %253 = load i32, ptr %252, align 4, !tbaa !5
  br label %256

254:                                              ; preds = %242
  %255 = load i32, ptr %34, align 4, !tbaa !5
  br label %256

256:                                              ; preds = %254, %249
  %257 = phi i32 [ %253, %249 ], [ %255, %254 ]
  store i32 %257, ptr %34, align 4, !tbaa !5
  br label %258

258:                                              ; preds = %256
  %259 = load i32, ptr %13, align 4, !tbaa !5
  %260 = add i32 %259, 1
  store i32 %260, ptr %13, align 4, !tbaa !5
  br label %238, !llvm.loop !18

261:                                              ; preds = %238
  %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10)
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %263

263:                                              ; preds = %311, %261
  %264 = load i32, ptr %13, align 4, !tbaa !5
  %265 = load i32, ptr %24, align 4, !tbaa !5
  %266 = icmp ult i32 %264, %265
  br i1 %266, label %267, label %314

267:                                              ; preds = %263
  %268 = load float, ptr %22, align 4, !tbaa !13
  %269 = load i32, ptr %13, align 4, !tbaa !5
  %270 = uitofp i32 %269 to float
  %271 = load float, ptr %25, align 4, !tbaa !13
  %272 = call float @llvm.fmuladd.f32(float %270, float %271, float %268)
  %273 = fpext float %272 to double
  %274 = load i32, ptr %13, align 4, !tbaa !5
  %275 = zext i32 %274 to i64
  %276 = getelementptr inbounds i32, ptr %109, i64 %275
  %277 = load i32, ptr %276, align 4, !tbaa !5
  %278 = load i32, ptr %13, align 4, !tbaa !5
  %279 = zext i32 %278 to i64
  %280 = getelementptr inbounds i32, ptr %109, i64 %279
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %282 = uitofp i32 %281 to float
  %283 = load i32, ptr %9, align 4, !tbaa !5
  %284 = uitofp i32 %283 to float
  %285 = fdiv float %282, %284
  %286 = fpext float %285 to double
  %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %273, i32 noundef %277, double noundef %286)
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  %288 = load i32, ptr %13, align 4, !tbaa !5
  %289 = zext i32 %288 to i64
  %290 = getelementptr inbounds i32, ptr %109, i64 %289
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = uitofp i32 %291 to float
  %293 = fmul float 6.000000e+01, %292
  %294 = load i32, ptr %34, align 4, !tbaa !5
  %295 = uitofp i32 %294 to float
  %296 = fdiv float %293, %295
  %297 = fpext float %296 to double
  %298 = call double @llvm.round.f64(double %297)
  %299 = fptoui double %298 to i32
  store i32 %299, ptr %36, align 4, !tbaa !5
  store i32 0, ptr %35, align 4, !tbaa !5
  br label %300

300:                                              ; preds = %306, %267
  %301 = load i32, ptr %35, align 4, !tbaa !5
  %302 = load i32, ptr %36, align 4, !tbaa !5
  %303 = icmp ult i32 %301, %302
  br i1 %303, label %304, label %309

304:                                              ; preds = %300
  %305 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  br label %306

306:                                              ; preds = %304
  %307 = load i32, ptr %35, align 4, !tbaa !5
  %308 = add i32 %307, 1
  store i32 %308, ptr %35, align 4, !tbaa !5
  br label %300, !llvm.loop !19

309:                                              ; preds = %300
  %310 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  br label %311

311:                                              ; preds = %309
  %312 = load i32, ptr %13, align 4, !tbaa !5
  %313 = add i32 %312, 1
  store i32 %313, ptr %13, align 4, !tbaa !5
  br label %263, !llvm.loop !20

314:                                              ; preds = %263
  %315 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %316 = load float, ptr %29, align 4, !tbaa !13
  %317 = fpext float %316 to double
  %318 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %317)
  %319 = load float, ptr %30, align 4, !tbaa !13
  %320 = fpext float %319 to double
  %321 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %320)
  %322 = load float, ptr %31, align 4, !tbaa !13
  %323 = fpext float %322 to double
  %324 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %323)
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  store i32 0, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  store i32 0, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  store i32 0, ptr %39, align 4, !tbaa !5
  %325 = load i32, ptr %6, align 4, !tbaa !5
  %326 = call i32 @ofdmframe_validate_sctype(ptr noundef %72, i32 noundef %325, ptr noundef %39, ptr noundef %38, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %327 = call noalias ptr @fopen(ptr noundef @.str.17, ptr noundef @.str.18)
  store ptr %327, ptr %40, align 8, !tbaa !9
  %328 = load ptr, ptr %40, align 8, !tbaa !9
  %329 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %328, ptr noundef @.str.19, ptr noundef @.str.17) #10
  %330 = load ptr, ptr %40, align 8, !tbaa !9
  %331 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %330, ptr noundef @.str.20) #10
  %332 = load ptr, ptr %40, align 8, !tbaa !9
  %333 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %332, ptr noundef @.str.21) #10
  %334 = load ptr, ptr %40, align 8, !tbaa !9
  %335 = load i32, ptr %6, align 4, !tbaa !5
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %334, ptr noundef @.str.22, i32 noundef %335) #10
  %337 = load ptr, ptr %40, align 8, !tbaa !9
  %338 = load i32, ptr %37, align 4, !tbaa !5
  %339 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.23, i32 noundef %338) #10
  %340 = load ptr, ptr %40, align 8, !tbaa !9
  %341 = load i32, ptr %38, align 4, !tbaa !5
  %342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %340, ptr noundef @.str.24, i32 noundef %341) #10
  %343 = load ptr, ptr %40, align 8, !tbaa !9
  %344 = load i32, ptr %39, align 4, !tbaa !5
  %345 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %343, ptr noundef @.str.25, i32 noundef %344) #10
  %346 = load ptr, ptr %40, align 8, !tbaa !9
  %347 = load i32, ptr %7, align 4, !tbaa !5
  %348 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %346, ptr noundef @.str.26, i32 noundef %347) #10
  %349 = load ptr, ptr %40, align 8, !tbaa !9
  %350 = load i32, ptr %9, align 4, !tbaa !5
  %351 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %349, ptr noundef @.str.27, i32 noundef %350) #10
  %352 = load ptr, ptr %40, align 8, !tbaa !9
  %353 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %352, ptr noundef @.str.28) #10
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %354

354:                                              ; preds = %369, %314
  %355 = load i32, ptr %13, align 4, !tbaa !5
  %356 = load i32, ptr %9, align 4, !tbaa !5
  %357 = icmp ult i32 %355, %356
  br i1 %357, label %358, label %372

358:                                              ; preds = %354
  %359 = load ptr, ptr %40, align 8, !tbaa !9
  %360 = load i32, ptr %13, align 4, !tbaa !5
  %361 = add i32 %360, 1
  %362 = load ptr, ptr %21, align 8, !tbaa !9
  %363 = load i32, ptr %13, align 4, !tbaa !5
  %364 = zext i32 %363 to i64
  %365 = getelementptr inbounds float, ptr %362, i64 %364
  %366 = load float, ptr %365, align 4, !tbaa !13
  %367 = fpext float %366 to double
  %368 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %359, ptr noundef @.str.29, i32 noundef %361, double noundef %367) #10
  br label %369

369:                                              ; preds = %358
  %370 = load i32, ptr %13, align 4, !tbaa !5
  %371 = add i32 %370, 1
  store i32 %371, ptr %13, align 4, !tbaa !5
  br label %354, !llvm.loop !21

372:                                              ; preds = %354
  %373 = load ptr, ptr %40, align 8, !tbaa !9
  %374 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %373, ptr noundef @.str.13) #10
  %375 = load ptr, ptr %40, align 8, !tbaa !9
  %376 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %375, ptr noundef @.str.30) #10
  %377 = load ptr, ptr %40, align 8, !tbaa !9
  %378 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %377, ptr noundef @.str.31) #10
  %379 = load ptr, ptr %40, align 8, !tbaa !9
  %380 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %379, ptr noundef @.str.13) #10
  %381 = load ptr, ptr %40, align 8, !tbaa !9
  %382 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %381, ptr noundef @.str.30) #10
  %383 = load ptr, ptr %40, align 8, !tbaa !9
  %384 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %383, ptr noundef @.str.32) #10
  %385 = load ptr, ptr %40, align 8, !tbaa !9
  %386 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %385, ptr noundef @.str.33) #10
  %387 = load ptr, ptr %40, align 8, !tbaa !9
  %388 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %387, ptr noundef @.str.34) #10
  %389 = load ptr, ptr %40, align 8, !tbaa !9
  %390 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %389, ptr noundef @.str.35) #10
  %391 = load ptr, ptr %40, align 8, !tbaa !9
  %392 = call i32 @fclose(ptr noundef %391)
  %393 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, ptr noundef @.str.17)
  %394 = load ptr, ptr %21, align 8, !tbaa !9
  call void @free(ptr noundef %394) #10
  %395 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  %396 = load ptr, ptr %15, align 8
  call void @llvm.stackrestore.p0(ptr %396)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  br label %397

397:                                              ; preds = %372, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  %398 = load i32, ptr %3, align 4
  ret i32 %398
}

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

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

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

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

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

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

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

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

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

declare i32 @ofdmframegen_print(ptr noundef) #1

declare ptr @modemcf_create(i32 noundef) #1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #7

; Function Attrs: nounwind
declare float @log2f(float noundef) #2

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

declare i32 @modemcf_gen_rand_sym(ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local float @ofdmframe_PAPR(ptr noundef, i32 noundef) #9

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

declare i32 @ofdmframegen_destroy(ptr noundef) #1

declare i32 @modemcf_destroy(ptr noundef) #1

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

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

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

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

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

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

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

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !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.6 = external hidden unnamed_addr constant [10 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.37 = 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 #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = tail call i64 @time(ptr noundef null) #15
  %7 = trunc i64 %6 to i32
  tail call void @srand(i32 noundef %7) #15
  br label %.outer

.outer:                                           ; preds = %20, %2
  %.0142.ph = phi i32 [ %22, %20 ], [ 1000, %2 ]
  %.0139.ph = phi i32 [ %.0139.ph289, %20 ], [ 0, %2 ]
  %.0130.ph = phi i32 [ %.0130.ph293, %20 ], [ 16, %2 ]
  %.0127.ph = phi i32 [ %.0127, %20 ], [ 64, %2 ]
  br label %.outer288

.outer288:                                        ; preds = %.outer, %17
  %.0139.ph289 = phi i32 [ %.0139.ph, %.outer ], [ %19, %17 ]
  %.0130.ph290 = phi i32 [ %.0130.ph, %.outer ], [ %.0130.ph293, %17 ]
  %.0127.ph291 = phi i32 [ %.0127.ph, %.outer ], [ %.0127, %17 ]
  br label %.outer292

.outer292:                                        ; preds = %.outer288, %14
  %.0130.ph293 = phi i32 [ %.0130.ph290, %.outer288 ], [ %16, %14 ]
  %.0127.ph294 = phi i32 [ %.0127.ph291, %.outer288 ], [ %.0127, %14 ]
  br label %8

8:                                                ; preds = %.outer292, %11
  %.0127 = phi i32 [ %13, %11 ], [ %.0127.ph294, %.outer292 ]
  %9 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.6) #15
  switch i32 %9, label %23 [
    i32 -1, label %.preheader154
    i32 104, label %10
    i32 77, label %11
    i32 67, label %14
    i32 84, label %17
    i32 78, label %20
  ]

10:                                               ; preds = %8
  tail call void @usage()
  br label %159

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

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

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

20:                                               ; preds = %8
  %21 = load ptr, ptr @optarg, align 8, !tbaa !5
  %22 = tail call i32 @atoi(ptr nocapture noundef %21) #16
  br label %.outer, !llvm.loop !9

23:                                               ; preds = %8
  tail call void @exit(i32 noundef 1) #17
  unreachable

.preheader154:                                    ; preds = %8
  %24 = add i32 %.0127, %.0130.ph293
  %25 = zext i32 %.0127 to i64
  %26 = tail call ptr @llvm.stacksave.p0()
  %27 = alloca i8, i64 %25, align 16
  %28 = call i32 @ofdmframe_init_default_sctype(i32 noundef %.0127, ptr noundef nonnull %27) #15
  %29 = call ptr @ofdmframegen_create(i32 noundef %.0127, i32 noundef %.0130.ph293, i32 noundef %.0139.ph289, ptr noundef nonnull %27) #15
  %30 = call i32 @ofdmframegen_print(ptr noundef %29) #15
  %31 = call ptr @modemcf_create(i32 noundef 40) #15
  %32 = alloca { float, float }, i64 %25, align 16
  %33 = zext i32 %24 to i64
  %34 = alloca { float, float }, i64 %33, align 16
  %35 = zext i32 %.0142.ph to i64
  %36 = shl nuw nsw i64 %35, 2
  %37 = call noalias ptr @malloc(i64 noundef %36) #18
  %38 = uitofp i32 %.0127 to float
  %39 = call float @log2f(float noundef %38) #15
  %40 = call float @llvm.fmuladd.f32(float %39, float 0x3FE6666660000000, float 0xBFF4A3D700000000)
  %41 = call float @log2f(float noundef %38) #15
  %42 = call float @llvm.fmuladd.f32(float %41, float 0x3FD5C28F60000000, float 0x4021F0A3E0000000)
  %43 = fsub float %42, %40
  %44 = alloca [30 x i32], align 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(120) %44, i8 0, i64 120, i1 false), !tbaa !11
  %45 = fdiv float %43, 3.000000e+01
  %.not = icmp eq i32 %.0142.ph, 0
  br i1 %.not, label %._crit_edge169, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader154
  %.not183 = icmp eq i32 %.0127, 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %.thread152
  %indvars.iv196 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next197, %.thread152 ]
  %.0134168 = phi float [ 0.000000e+00, %.preheader.lr.ph ], [ %64, %.thread152 ]
  %.0135167 = phi float [ 0.000000e+00, %.preheader.lr.ph ], [ %.1136, %.thread152 ]
  %.0137166 = phi float [ 0.000000e+00, %.preheader.lr.ph ], [ %.1138149, %.thread152 ]
  br i1 %.not183, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader ]
  %46 = call i32 @modemcf_gen_rand_sym(ptr noundef %31) #15
  %47 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv
  %48 = call i32 @modemcf_modulate(ptr noundef %31, i32 noundef %46, ptr noundef nonnull %47) #15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %25
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %49 = call i32 @ofdmframegen_writesymbol(ptr noundef %29, ptr noundef nonnull %32, ptr noundef nonnull %34) #15
  %50 = call float @ofdmframe_PAPR(ptr noundef nonnull %34, i32 noundef %24)
  %51 = getelementptr inbounds float, ptr %37, i64 %indvars.iv196
  store float %50, ptr %51, align 4, !tbaa !14
  %52 = fsub float %50, %40
  %53 = fmul float %52, 3.000000e+01
  %54 = fdiv float %53, %43
  %.inv = fcmp ole float %54, 0.000000e+00
  %.0132153 = select i1 %.inv, float 0.000000e+00, float %54
  %.0132 = fptoui float %.0132153 to i32
  %.1133 = call i32 @llvm.umin.i32(i32 %.0132, i32 29)
  %55 = zext nneg i32 %.1133 to i64
  %56 = getelementptr inbounds i32, ptr %44, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !11
  %58 = add i32 %57, 1
  store i32 %58, ptr %56, align 4, !tbaa !11
  %59 = icmp eq i64 %indvars.iv196, 0
  br i1 %59, label %.thread152, label %60

60:                                               ; preds = %._crit_edge
  %61 = fcmp olt float %50, %.0137166
  %.1138151 = select i1 %61, float %50, float %.0137166
  %62 = fcmp ogt float %50, %.0135167
  br i1 %62, label %63, label %.thread152

63:                                               ; preds = %60
  br label %.thread152

.thread152:                                       ; preds = %._crit_edge, %63, %60
  %.1138149 = phi float [ %.1138151, %60 ], [ %.1138151, %63 ], [ %50, %._crit_edge ]
  %.1136 = phi float [ %.0135167, %60 ], [ %50, %63 ], [ %50, %._crit_edge ]
  %64 = fadd float %.0134168, %50
  %indvars.iv.next197 = add nuw nsw i64 %indvars.iv196, 1
  %exitcond200.not = icmp eq i64 %indvars.iv.next197, %35
  br i1 %exitcond200.not, label %._crit_edge169.loopexit, label %.preheader, !llvm.loop !16

._crit_edge169.loopexit:                          ; preds = %.thread152
  %.pre = load i32, ptr %44, align 16, !tbaa !11
  %.phi.trans.insert = getelementptr inbounds i8, ptr %44, i64 4
  %.pre215 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !11
  %.phi.trans.insert216 = getelementptr inbounds i8, ptr %44, i64 8
  %.pre217 = load i32, ptr %.phi.trans.insert216, align 8, !tbaa !11
  %.phi.trans.insert218 = getelementptr inbounds i8, ptr %44, i64 12
  %.pre219 = load i32, ptr %.phi.trans.insert218, align 4, !tbaa !11
  %.phi.trans.insert220 = getelementptr inbounds i8, ptr %44, i64 16
  %.pre221 = load i32, ptr %.phi.trans.insert220, align 16, !tbaa !11
  %.phi.trans.insert222 = getelementptr inbounds i8, ptr %44, i64 20
  %.pre223 = load i32, ptr %.phi.trans.insert222, align 4, !tbaa !11
  %.phi.trans.insert224 = getelementptr inbounds i8, ptr %44, i64 24
  %.pre225 = load i32, ptr %.phi.trans.insert224, align 8, !tbaa !11
  %.phi.trans.insert226 = getelementptr inbounds i8, ptr %44, i64 28
  %.pre227 = load i32, ptr %.phi.trans.insert226, align 4, !tbaa !11
  %.phi.trans.insert228 = getelementptr inbounds i8, ptr %44, i64 32
  %.pre229 = load i32, ptr %.phi.trans.insert228, align 16, !tbaa !11
  %.phi.trans.insert230 = getelementptr inbounds i8, ptr %44, i64 36
  %.pre231 = load i32, ptr %.phi.trans.insert230, align 4, !tbaa !11
  %.phi.trans.insert232 = getelementptr inbounds i8, ptr %44, i64 40
  %.pre233 = load i32, ptr %.phi.trans.insert232, align 8, !tbaa !11
  %.phi.trans.insert234 = getelementptr inbounds i8, ptr %44, i64 44
  %.pre235 = load i32, ptr %.phi.trans.insert234, align 4, !tbaa !11
  %.phi.trans.insert236 = getelementptr inbounds i8, ptr %44, i64 48
  %.pre237 = load i32, ptr %.phi.trans.insert236, align 16, !tbaa !11
  %.phi.trans.insert238 = getelementptr inbounds i8, ptr %44, i64 52
  %.pre239 = load i32, ptr %.phi.trans.insert238, align 4, !tbaa !11
  %.phi.trans.insert240 = getelementptr inbounds i8, ptr %44, i64 56
  %.pre241 = load i32, ptr %.phi.trans.insert240, align 8, !tbaa !11
  %.phi.trans.insert242 = getelementptr inbounds i8, ptr %44, i64 60
  %.pre243 = load i32, ptr %.phi.trans.insert242, align 4, !tbaa !11
  %.phi.trans.insert244 = getelementptr inbounds i8, ptr %44, i64 64
  %.pre245 = load i32, ptr %.phi.trans.insert244, align 16, !tbaa !11
  %.phi.trans.insert246 = getelementptr inbounds i8, ptr %44, i64 68
  %.pre247 = load i32, ptr %.phi.trans.insert246, align 4, !tbaa !11
  %.phi.trans.insert248 = getelementptr inbounds i8, ptr %44, i64 72
  %.pre249 = load i32, ptr %.phi.trans.insert248, align 8, !tbaa !11
  %.phi.trans.insert250 = getelementptr inbounds i8, ptr %44, i64 76
  %.pre251 = load i32, ptr %.phi.trans.insert250, align 4, !tbaa !11
  %.phi.trans.insert252 = getelementptr inbounds i8, ptr %44, i64 80
  %.pre253 = load i32, ptr %.phi.trans.insert252, align 16, !tbaa !11
  %.phi.trans.insert254 = getelementptr inbounds i8, ptr %44, i64 84
  %.pre255 = load i32, ptr %.phi.trans.insert254, align 4, !tbaa !11
  %.phi.trans.insert256 = getelementptr inbounds i8, ptr %44, i64 88
  %.pre257 = load i32, ptr %.phi.trans.insert256, align 8, !tbaa !11
  %.phi.trans.insert258 = getelementptr inbounds i8, ptr %44, i64 92
  %.pre259 = load i32, ptr %.phi.trans.insert258, align 4, !tbaa !11
  %.phi.trans.insert260 = getelementptr inbounds i8, ptr %44, i64 96
  %.pre261 = load i32, ptr %.phi.trans.insert260, align 16, !tbaa !11
  %.phi.trans.insert262 = getelementptr inbounds i8, ptr %44, i64 100
  %.pre263 = load i32, ptr %.phi.trans.insert262, align 4, !tbaa !11
  %.phi.trans.insert264 = getelementptr inbounds i8, ptr %44, i64 104
  %.pre265 = load i32, ptr %.phi.trans.insert264, align 8, !tbaa !11
  %.phi.trans.insert266 = getelementptr inbounds i8, ptr %44, i64 108
  %.pre267 = load i32, ptr %.phi.trans.insert266, align 4, !tbaa !11
  %.phi.trans.insert268 = getelementptr inbounds i8, ptr %44, i64 112
  %.pre269 = load i32, ptr %.phi.trans.insert268, align 16, !tbaa !11
  %.phi.trans.insert270 = getelementptr inbounds i8, ptr %44, i64 116
  %.pre271 = load i32, ptr %.phi.trans.insert270, align 4, !tbaa !11
  %65 = fpext float %.1138149 to double
  %66 = fpext float %.1136 to double
  br label %._crit_edge169

._crit_edge169:                                   ; preds = %._crit_edge169.loopexit, %.preheader154
  %67 = phi i32 [ 0, %.preheader154 ], [ %.pre271, %._crit_edge169.loopexit ]
  %68 = phi i32 [ 0, %.preheader154 ], [ %.pre269, %._crit_edge169.loopexit ]
  %69 = phi i32 [ 0, %.preheader154 ], [ %.pre267, %._crit_edge169.loopexit ]
  %70 = phi i32 [ 0, %.preheader154 ], [ %.pre265, %._crit_edge169.loopexit ]
  %71 = phi i32 [ 0, %.preheader154 ], [ %.pre263, %._crit_edge169.loopexit ]
  %72 = phi i32 [ 0, %.preheader154 ], [ %.pre261, %._crit_edge169.loopexit ]
  %73 = phi i32 [ 0, %.preheader154 ], [ %.pre259, %._crit_edge169.loopexit ]
  %74 = phi i32 [ 0, %.preheader154 ], [ %.pre257, %._crit_edge169.loopexit ]
  %75 = phi i32 [ 0, %.preheader154 ], [ %.pre255, %._crit_edge169.loopexit ]
  %76 = phi i32 [ 0, %.preheader154 ], [ %.pre253, %._crit_edge169.loopexit ]
  %77 = phi i32 [ 0, %.preheader154 ], [ %.pre251, %._crit_edge169.loopexit ]
  %78 = phi i32 [ 0, %.preheader154 ], [ %.pre249, %._crit_edge169.loopexit ]
  %79 = phi i32 [ 0, %.preheader154 ], [ %.pre247, %._crit_edge169.loopexit ]
  %80 = phi i32 [ 0, %.preheader154 ], [ %.pre245, %._crit_edge169.loopexit ]
  %81 = phi i32 [ 0, %.preheader154 ], [ %.pre243, %._crit_edge169.loopexit ]
  %82 = phi i32 [ 0, %.preheader154 ], [ %.pre241, %._crit_edge169.loopexit ]
  %83 = phi i32 [ 0, %.preheader154 ], [ %.pre239, %._crit_edge169.loopexit ]
  %84 = phi i32 [ 0, %.preheader154 ], [ %.pre237, %._crit_edge169.loopexit ]
  %85 = phi i32 [ 0, %.preheader154 ], [ %.pre235, %._crit_edge169.loopexit ]
  %86 = phi i32 [ 0, %.preheader154 ], [ %.pre233, %._crit_edge169.loopexit ]
  %87 = phi i32 [ 0, %.preheader154 ], [ %.pre231, %._crit_edge169.loopexit ]
  %88 = phi i32 [ 0, %.preheader154 ], [ %.pre229, %._crit_edge169.loopexit ]
  %89 = phi i32 [ 0, %.preheader154 ], [ %.pre227, %._crit_edge169.loopexit ]
  %90 = phi i32 [ 0, %.preheader154 ], [ %.pre225, %._crit_edge169.loopexit ]
  %91 = phi i32 [ 0, %.preheader154 ], [ %.pre223, %._crit_edge169.loopexit ]
  %92 = phi i32 [ 0, %.preheader154 ], [ %.pre221, %._crit_edge169.loopexit ]
  %93 = phi i32 [ 0, %.preheader154 ], [ %.pre219, %._crit_edge169.loopexit ]
  %94 = phi i32 [ 0, %.preheader154 ], [ %.pre217, %._crit_edge169.loopexit ]
  %95 = phi i32 [ 0, %.preheader154 ], [ %.pre215, %._crit_edge169.loopexit ]
  %96 = phi i32 [ 0, %.preheader154 ], [ %.pre, %._crit_edge169.loopexit ]
  %.0137.lcssa = phi double [ 0.000000e+00, %.preheader154 ], [ %65, %._crit_edge169.loopexit ]
  %.0135.lcssa = phi double [ 0.000000e+00, %.preheader154 ], [ %66, %._crit_edge169.loopexit ]
  %.0134.lcssa = phi float [ 0.000000e+00, %.preheader154 ], [ %64, %._crit_edge169.loopexit ]
  %97 = uitofp i32 %.0142.ph to float
  %98 = call i32 @ofdmframegen_destroy(ptr noundef %29) #15
  %99 = call i32 @modemcf_destroy(ptr noundef %31) #15
  %..0129.1 = call i32 @llvm.umax.i32(i32 %95, i32 %96)
  %..0129.2 = call i32 @llvm.umax.i32(i32 %94, i32 %..0129.1)
  %..0129.3 = call i32 @llvm.umax.i32(i32 %93, i32 %..0129.2)
  %..0129.4 = call i32 @llvm.umax.i32(i32 %92, i32 %..0129.3)
  %..0129.5 = call i32 @llvm.umax.i32(i32 %91, i32 %..0129.4)
  %..0129.6 = call i32 @llvm.umax.i32(i32 %90, i32 %..0129.5)
  %..0129.7 = call i32 @llvm.umax.i32(i32 %89, i32 %..0129.6)
  %..0129.8 = call i32 @llvm.umax.i32(i32 %88, i32 %..0129.7)
  %..0129.9 = call i32 @llvm.umax.i32(i32 %87, i32 %..0129.8)
  %..0129.10 = call i32 @llvm.umax.i32(i32 %86, i32 %..0129.9)
  %..0129.11 = call i32 @llvm.umax.i32(i32 %85, i32 %..0129.10)
  %..0129.12 = call i32 @llvm.umax.i32(i32 %84, i32 %..0129.11)
  %..0129.13 = call i32 @llvm.umax.i32(i32 %83, i32 %..0129.12)
  %..0129.14 = call i32 @llvm.umax.i32(i32 %82, i32 %..0129.13)
  %..0129.15 = call i32 @llvm.umax.i32(i32 %81, i32 %..0129.14)
  %..0129.16 = call i32 @llvm.umax.i32(i32 %80, i32 %..0129.15)
  %..0129.17 = call i32 @llvm.umax.i32(i32 %79, i32 %..0129.16)
  %..0129.18 = call i32 @llvm.umax.i32(i32 %78, i32 %..0129.17)
  %..0129.19 = call i32 @llvm.umax.i32(i32 %77, i32 %..0129.18)
  %..0129.20 = call i32 @llvm.umax.i32(i32 %76, i32 %..0129.19)
  %..0129.21 = call i32 @llvm.umax.i32(i32 %75, i32 %..0129.20)
  %..0129.22 = call i32 @llvm.umax.i32(i32 %74, i32 %..0129.21)
  %..0129.23 = call i32 @llvm.umax.i32(i32 %73, i32 %..0129.22)
  %..0129.24 = call i32 @llvm.umax.i32(i32 %72, i32 %..0129.23)
  %..0129.25 = call i32 @llvm.umax.i32(i32 %71, i32 %..0129.24)
  %..0129.26 = call i32 @llvm.umax.i32(i32 %70, i32 %..0129.25)
  %..0129.27 = call i32 @llvm.umax.i32(i32 %69, i32 %..0129.26)
  %..0129.28 = call i32 @llvm.umax.i32(i32 %68, i32 %..0129.27)
  %..0129.29 = call i32 @llvm.umax.i32(i32 %67, i32 %..0129.28)
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10)
  %101 = uitofp i32 %..0129.29 to float
  br label %102

102:                                              ; preds = %._crit_edge169, %._crit_edge177
  %indvars.iv206 = phi i64 [ 0, %._crit_edge169 ], [ %indvars.iv.next207, %._crit_edge177 ]
  %103 = trunc nuw nsw i64 %indvars.iv206 to i32
  %104 = uitofp nneg i32 %103 to float
  %105 = call float @llvm.fmuladd.f32(float %104, float %45, float %40)
  %106 = fpext float %105 to double
  %107 = getelementptr inbounds i32, ptr %44, i64 %indvars.iv206
  %108 = load i32, ptr %107, align 4, !tbaa !11
  %109 = uitofp i32 %108 to float
  %110 = fdiv float %109, %97
  %111 = fpext float %110 to double
  %112 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, double noundef %106, i32 noundef %108, double noundef %111)
  %113 = fmul float %109, 6.000000e+01
  %114 = fdiv float %113, %101
  %115 = call float @llvm.round.f32(float %114)
  %116 = fptoui float %115 to i32
  %.not184 = icmp eq i32 %116, 0
  br i1 %.not184, label %._crit_edge177, label %.lr.ph176

.lr.ph176:                                        ; preds = %102, %.lr.ph176
  %.0128174 = phi i32 [ %118, %.lr.ph176 ], [ 0, %102 ]
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %118 = add nuw i32 %.0128174, 1
  %exitcond205.not = icmp eq i32 %118, %116
  br i1 %exitcond205.not, label %._crit_edge177, label %.lr.ph176, !llvm.loop !17

._crit_edge177:                                   ; preds = %.lr.ph176, %102
  %119 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %indvars.iv.next207 = add nuw nsw i64 %indvars.iv206, 1
  %exitcond209.not = icmp eq i64 %indvars.iv.next207, 30
  br i1 %exitcond209.not, label %120, label %102, !llvm.loop !18

120:                                              ; preds = %._crit_edge177
  %121 = fdiv float %.0134.lcssa, %97
  %122 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %123 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef %.0137.lcssa)
  %124 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %.0135.lcssa)
  %125 = fpext float %121 to double
  %126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef %125)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #15
  store i32 0, ptr %3, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #15
  store i32 0, ptr %4, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #15
  store i32 0, ptr %5, align 4, !tbaa !11
  %127 = call i32 @ofdmframe_validate_sctype(ptr noundef nonnull %27, i32 noundef %.0127, ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %3) #15
  %128 = call noalias ptr @fopen(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.18)
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.17) #15
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.20) #15
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.21) #15
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.22, i32 noundef %.0127) #15
  %133 = load i32, ptr %3, align 4, !tbaa !11
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.23, i32 noundef %133) #15
  %135 = load i32, ptr %4, align 4, !tbaa !11
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.24, i32 noundef %135) #15
  %137 = load i32, ptr %5, align 4, !tbaa !11
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.25, i32 noundef %137) #15
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.26, i32 noundef %.0130.ph293) #15
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.27, i32 noundef %.0142.ph) #15
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.28) #15
  br i1 %.not, label %._crit_edge182, label %.lr.ph181

.lr.ph181:                                        ; preds = %120, %.lr.ph181
  %indvars.iv210 = phi i64 [ %indvars.iv.next211, %.lr.ph181 ], [ 0, %120 ]
  %indvars.iv.next211 = add nuw nsw i64 %indvars.iv210, 1
  %142 = getelementptr inbounds float, ptr %37, i64 %indvars.iv210
  %143 = load float, ptr %142, align 4, !tbaa !14
  %144 = fpext float %143 to double
  %145 = trunc nuw i64 %indvars.iv.next211 to i32
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.29, i32 noundef %145, double noundef %144) #15
  %exitcond214.not = icmp eq i64 %indvars.iv.next211, %35
  br i1 %exitcond214.not, label %._crit_edge182, label %.lr.ph181, !llvm.loop !19

._crit_edge182:                                   ; preds = %.lr.ph181, %120
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.13) #15
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.30) #15
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.31) #15
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.13) #15
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.30) #15
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.32) #15
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.33) #15
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.34) #15
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.35) #15
  %156 = call i32 @fclose(ptr noundef %128)
  %157 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.36, ptr noundef nonnull @.str.17)
  call void @free(ptr noundef %37) #15
  %158 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.37)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #15
  call void @llvm.stackrestore.p0(ptr %26)
  br label %159

159:                                              ; preds = %._crit_edge182, %10
  ret i32 0
}

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

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

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

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

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

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

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

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

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

declare i32 @ofdmframegen_print(ptr noundef) local_unnamed_addr #7

declare ptr @modemcf_create(i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #8

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

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

declare i32 @modemcf_gen_rand_sym(ptr noundef) local_unnamed_addr #7

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

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

; Function Attrs: nounwind uwtable
declare dso_local float @ofdmframe_PAPR(ptr noundef, i32 noundef) local_unnamed_addr #11

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

declare i32 @ofdmframegen_destroy(ptr noundef) local_unnamed_addr #7

declare i32 @modemcf_destroy(ptr noundef) local_unnamed_addr #7

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

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

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

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #12

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

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

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

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

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

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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { 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 #12 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #13 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #14 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #15 = { nounwind }
attributes #16 = { nounwind willreturn memory(read) }
attributes #17 = { noreturn nounwind }
attributes #18 = { nounwind allocsize(0) }

!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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass