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

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

%struct.rx_symbols = type { [2000 x { float, float }], [2000 x { float, float }], i32, i32 }

@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.48 = 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 float, align 4
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %struct.rx_symbols, align 4
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i64, align 8
  %32 = 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
  %33 = call i64 @time(ptr noundef null) #7
  %34 = trunc i64 %33 to i32
  call void @srand(i32 noundef %34) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 1200, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 60, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 50, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 20, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store float -1.200000e+02, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store float 3.000000e+01, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  br label %35

35:                                               ; preds = %57, %2
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = call i32 @getopt(i32 noundef %36, ptr noundef %37, ptr noundef @.str.6) #7
  store i32 %38, ptr %12, align 4, !tbaa !5
  %39 = icmp ne i32 %38, -1
  br i1 %39, label %40, label %58

40:                                               ; preds = %35
  %41 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %41, label %56 [
    i32 104, label %42
    i32 77, label %43
    i32 67, label %46
    i32 84, label %49
    i32 115, label %52
  ]

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

43:                                               ; preds = %40
  %44 = load ptr, ptr @optarg, align 8, !tbaa !9
  %45 = call i32 @atoi(ptr noundef %44) #8
  store i32 %45, ptr %6, align 4, !tbaa !5
  br label %57

46:                                               ; preds = %40
  %47 = load ptr, ptr @optarg, align 8, !tbaa !9
  %48 = call i32 @atoi(ptr noundef %47) #8
  store i32 %48, ptr %7, align 4, !tbaa !5
  br label %57

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

52:                                               ; preds = %40
  %53 = load ptr, ptr @optarg, align 8, !tbaa !9
  %54 = call double @atof(ptr noundef %53) #8
  %55 = fptrunc double %54 to float
  store float %55, ptr %11, align 4, !tbaa !11
  br label %57

56:                                               ; preds = %40
  call void @exit(i32 noundef 1) #9
  unreachable

57:                                               ; preds = %52, %49, %46, %43
  br label %35, !llvm.loop !13

58:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = add i32 %59, %60
  store i32 %61, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %62 = load i32, ptr %9, align 4, !tbaa !5
  %63 = add i32 3, %62
  %64 = load i32, ptr %15, align 4, !tbaa !5
  %65 = mul i32 %63, %64
  store i32 %65, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %66 = load float, ptr %10, align 4, !tbaa !11
  %67 = fdiv float %66, 2.000000e+01
  %68 = call float @powf(float noundef 1.000000e+01, float noundef %67) #7
  store float %68, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %69 = load float, ptr %11, align 4, !tbaa !11
  %70 = load float, ptr %10, align 4, !tbaa !11
  %71 = fadd float %69, %70
  %72 = fdiv float %71, 2.000000e+01
  %73 = call float @powf(float noundef 1.000000e+01, float noundef %72) #7
  store float %73, ptr %18, align 4, !tbaa !11
  %74 = load i32, ptr %6, align 4, !tbaa !5
  %75 = zext i32 %74 to i64
  %76 = call ptr @llvm.stacksave.p0()
  store ptr %76, ptr %19, align 8
  %77 = alloca i8, i64 %75, align 16
  store i64 %75, ptr %20, align 8
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = zext i32 %78 to i64
  %80 = alloca { float, float }, i64 %79, align 16
  store i64 %79, ptr %21, align 8
  %81 = load i32, ptr %16, align 4, !tbaa !5
  %82 = zext i32 %81 to i64
  %83 = alloca { float, float }, i64 %82, align 16
  store i64 %82, ptr %22, align 8
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = call i32 @ofdmframe_init_default_sctype(i32 noundef %84, ptr noundef %77)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = uitofp i32 %86 to double
  %88 = fmul double 1.300000e-01, %87
  %89 = fptoui double %88 to i32
  store i32 %89, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = uitofp i32 %90 to double
  %92 = fmul double 2.100000e-01, %91
  %93 = fptoui double %92 to i32
  store i32 %93, ptr %24, align 4, !tbaa !5
  %94 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %94, ptr %14, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %103, %58
  %96 = load i32, ptr %14, align 4, !tbaa !5
  %97 = load i32, ptr %24, align 4, !tbaa !5
  %98 = icmp ult i32 %96, %97
  br i1 %98, label %99, label %106

99:                                               ; preds = %95
  %100 = load i32, ptr %14, align 4, !tbaa !5
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds i8, ptr %77, i64 %101
  store i8 0, ptr %102, align 1, !tbaa !15
  br label %103

103:                                              ; preds = %99
  %104 = load i32, ptr %14, align 4, !tbaa !5
  %105 = add i32 %104, 1
  store i32 %105, ptr %14, align 4, !tbaa !5
  br label %95, !llvm.loop !16

106:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 32008, ptr %25) #7
  %107 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 2
  store i32 0, ptr %107, align 4, !tbaa !17
  %108 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 3
  store i32 0, ptr %108, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %109 = load i32, ptr %6, align 4, !tbaa !5
  %110 = load i32, ptr %7, align 4, !tbaa !5
  %111 = load i32, ptr %8, align 4, !tbaa !5
  %112 = call ptr @ofdmframegen_create(i32 noundef %109, i32 noundef %110, i32 noundef %111, ptr noundef %77)
  store ptr %112, ptr %26, align 8, !tbaa !9
  %113 = load ptr, ptr %26, align 8, !tbaa !9
  %114 = call i32 @ofdmframegen_print(ptr noundef %113)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = load i32, ptr %7, align 4, !tbaa !5
  %117 = load i32, ptr %8, align 4, !tbaa !5
  %118 = call ptr @ofdmframesync_create(i32 noundef %115, i32 noundef %116, i32 noundef %117, ptr noundef %77, ptr noundef @callback, ptr noundef %25)
  store ptr %118, ptr %27, align 8, !tbaa !9
  %119 = load ptr, ptr %27, align 8, !tbaa !9
  %120 = call i32 @ofdmframesync_print(ptr noundef %119)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  %121 = load ptr, ptr %26, align 8, !tbaa !9
  %122 = load i32, ptr %28, align 4, !tbaa !5
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds { float, float }, ptr %83, i64 %123
  %125 = call i32 @ofdmframegen_write_S0a(ptr noundef %121, ptr noundef %124)
  %126 = load i32, ptr %15, align 4, !tbaa !5
  %127 = load i32, ptr %28, align 4, !tbaa !5
  %128 = add i32 %127, %126
  store i32 %128, ptr %28, align 4, !tbaa !5
  %129 = load ptr, ptr %26, align 8, !tbaa !9
  %130 = load i32, ptr %28, align 4, !tbaa !5
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds { float, float }, ptr %83, i64 %131
  %133 = call i32 @ofdmframegen_write_S0b(ptr noundef %129, ptr noundef %132)
  %134 = load i32, ptr %15, align 4, !tbaa !5
  %135 = load i32, ptr %28, align 4, !tbaa !5
  %136 = add i32 %135, %134
  store i32 %136, ptr %28, align 4, !tbaa !5
  %137 = load ptr, ptr %26, align 8, !tbaa !9
  %138 = load i32, ptr %28, align 4, !tbaa !5
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds { float, float }, ptr %83, i64 %139
  %141 = call i32 @ofdmframegen_write_S1(ptr noundef %137, ptr noundef %140)
  %142 = load i32, ptr %15, align 4, !tbaa !5
  %143 = load i32, ptr %28, align 4, !tbaa !5
  %144 = add i32 %143, %142
  store i32 %144, ptr %28, align 4, !tbaa !5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %209, %106
  %146 = load i32, ptr %14, align 4, !tbaa !5
  %147 = load i32, ptr %9, align 4, !tbaa !5
  %148 = icmp ult i32 %146, %147
  br i1 %148, label %149, label %212

149:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %150

150:                                              ; preds = %197, %149
  %151 = load i32, ptr %29, align 4, !tbaa !5
  %152 = load i32, ptr %6, align 4, !tbaa !5
  %153 = icmp ult i32 %151, %152
  br i1 %153, label %154, label %200

154:                                              ; preds = %150
  %155 = load i32, ptr %29, align 4, !tbaa !5
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds i8, ptr %77, i64 %156
  %158 = load i8, ptr %157, align 1, !tbaa !15
  %159 = zext i8 %158 to i32
  %160 = icmp ne i32 %159, 2
  br i1 %160, label %161, label %162

161:                                              ; preds = %154
  br label %197

162:                                              ; preds = %154
  %163 = load i32, ptr %29, align 4, !tbaa !5
  %164 = urem i32 %163, 2
  %165 = icmp eq i32 %164, 0
  br i1 %165, label %166, label %177

166:                                              ; preds = %162
  %167 = call i32 @rand() #7
  %168 = srem i32 %167, 2
  %169 = icmp ne i32 %168, 0
  %170 = zext i1 %169 to i64
  %171 = select i1 %169, float -1.000000e+00, float 1.000000e+00
  %172 = load i32, ptr %29, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds { float, float }, ptr %80, i64 %173
  %175 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 1
  store float %171, ptr %175, align 8
  store float 0.000000e+00, ptr %176, align 4
  br label %196

177:                                              ; preds = %162
  %178 = call i32 @rand() #7
  %179 = srem i32 %178, 2
  %180 = icmp ne i32 %179, 0
  %181 = zext i1 %180 to i64
  %182 = select i1 %180, float 0xBFE69FBE80000000, float 0x3FE69FBE80000000
  %183 = call i32 @rand() #7
  %184 = srem i32 %183, 2
  %185 = icmp ne i32 %184, 0
  %186 = zext i1 %185 to i64
  %187 = select i1 %185, float 0xBFE69FBE80000000, float 0x3FE69FBE80000000
  %188 = fmul float %187, 0.000000e+00
  %189 = fmul float %187, 1.000000e+00
  %190 = fadd float %182, %188
  %191 = load i32, ptr %29, align 4, !tbaa !5
  %192 = zext i32 %191 to i64
  %193 = getelementptr inbounds { float, float }, ptr %80, i64 %192
  %194 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 0
  %195 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 1
  store float %190, ptr %194, align 8
  store float %189, ptr %195, align 4
  br label %196

196:                                              ; preds = %177, %166
  br label %197

197:                                              ; preds = %196, %161
  %198 = load i32, ptr %29, align 4, !tbaa !5
  %199 = add i32 %198, 1
  store i32 %199, ptr %29, align 4, !tbaa !5
  br label %150, !llvm.loop !20

200:                                              ; preds = %150
  %201 = load ptr, ptr %26, align 8, !tbaa !9
  %202 = load i32, ptr %28, align 4, !tbaa !5
  %203 = zext i32 %202 to i64
  %204 = getelementptr inbounds { float, float }, ptr %83, i64 %203
  %205 = call i32 @ofdmframegen_writesymbol(ptr noundef %201, ptr noundef %80, ptr noundef %204)
  %206 = load i32, ptr %15, align 4, !tbaa !5
  %207 = load i32, ptr %28, align 4, !tbaa !5
  %208 = add i32 %207, %206
  store i32 %208, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %209

209:                                              ; preds = %200
  %210 = load i32, ptr %14, align 4, !tbaa !5
  %211 = add i32 %210, 1
  store i32 %211, ptr %14, align 4, !tbaa !5
  br label %145, !llvm.loop !21

212:                                              ; preds = %145
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %213

213:                                              ; preds = %257, %212
  %214 = load i32, ptr %14, align 4, !tbaa !5
  %215 = load i32, ptr %16, align 4, !tbaa !5
  %216 = icmp ult i32 %214, %215
  br i1 %216, label %217, label %260

217:                                              ; preds = %213
  %218 = load float, ptr %18, align 4, !tbaa !11
  %219 = load i32, ptr %14, align 4, !tbaa !5
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds { float, float }, ptr %83, i64 %220
  %222 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 0
  %223 = load float, ptr %222, align 8
  %224 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 1
  %225 = load float, ptr %224, align 4
  %226 = fmul float %223, %218
  %227 = fmul float %225, %218
  %228 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 0
  %229 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 1
  store float %226, ptr %228, align 8
  store float %227, ptr %229, align 4
  %230 = load float, ptr %17, align 4, !tbaa !11
  %231 = call float (...) @randnf()
  %232 = call float (...) @randnf()
  %233 = fmul float 0.000000e+00, %232
  %234 = fmul float 1.000000e+00, %232
  %235 = fadd float %231, %233
  %236 = fmul float %230, %235
  %237 = fmul float %230, %234
  %238 = fpext float %236 to double
  %239 = fpext float %237 to double
  %240 = fmul double %238, 0x3FE6A09E667F3BCD
  %241 = fmul double %239, 0x3FE6A09E667F3BCD
  %242 = load i32, ptr %14, align 4, !tbaa !5
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds { float, float }, ptr %83, i64 %243
  %245 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 0
  %246 = load float, ptr %245, align 8
  %247 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 1
  %248 = load float, ptr %247, align 4
  %249 = fpext float %246 to double
  %250 = fpext float %248 to double
  %251 = fadd double %249, %240
  %252 = fadd double %250, %241
  %253 = fptrunc double %251 to float
  %254 = fptrunc double %252 to float
  %255 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 0
  %256 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 1
  store float %253, ptr %255, align 8
  store float %254, ptr %256, align 4
  br label %257

257:                                              ; preds = %217
  %258 = load i32, ptr %14, align 4, !tbaa !5
  %259 = add i32 %258, 1
  store i32 %259, ptr %14, align 4, !tbaa !5
  br label %213, !llvm.loop !22

260:                                              ; preds = %213
  %261 = load ptr, ptr %27, align 8, !tbaa !9
  %262 = load i32, ptr %16, align 4, !tbaa !5
  %263 = call i32 @ofdmframesync_execute(ptr noundef %261, ptr noundef %83, i32 noundef %262)
  %264 = load ptr, ptr %26, align 8, !tbaa !9
  %265 = call i32 @ofdmframegen_destroy(ptr noundef %264)
  %266 = load ptr, ptr %27, align 8, !tbaa !9
  %267 = call i32 @ofdmframesync_destroy(ptr noundef %266)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 1024, ptr %30, align 4, !tbaa !5
  %268 = load i32, ptr %30, align 4, !tbaa !5
  %269 = zext i32 %268 to i64
  %270 = alloca float, i64 %269, align 16
  store i64 %269, ptr %31, align 8
  %271 = load i32, ptr %30, align 4, !tbaa !5
  %272 = load i32, ptr %16, align 4, !tbaa !5
  %273 = call i32 @spgramcf_estimate_psd(i32 noundef %271, ptr noundef %83, i32 noundef %272, ptr noundef %270)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %274 = call noalias ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8)
  store ptr %274, ptr %32, align 8, !tbaa !9
  %275 = load ptr, ptr %32, align 8, !tbaa !9
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.9, ptr noundef @.str.7) #7
  %277 = load ptr, ptr %32, align 8, !tbaa !9
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.10) #7
  %279 = load ptr, ptr %32, align 8, !tbaa !9
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.11) #7
  %281 = load ptr, ptr %32, align 8, !tbaa !9
  %282 = load i32, ptr %6, align 4, !tbaa !5
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.12, i32 noundef %282) #7
  %284 = load ptr, ptr %32, align 8, !tbaa !9
  %285 = load float, ptr %10, align 4, !tbaa !11
  %286 = fpext float %285 to double
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef @.str.13, double noundef %286) #7
  %288 = load ptr, ptr %32, align 8, !tbaa !9
  %289 = load float, ptr %11, align 4, !tbaa !11
  %290 = fpext float %289 to double
  %291 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %288, ptr noundef @.str.14, double noundef %290) #7
  %292 = load ptr, ptr %32, align 8, !tbaa !9
  %293 = load i32, ptr %16, align 4, !tbaa !5
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef @.str.15, i32 noundef %293) #7
  %295 = load ptr, ptr %32, align 8, !tbaa !9
  %296 = load i32, ptr %30, align 4, !tbaa !5
  %297 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.16, i32 noundef %296) #7
  %298 = load ptr, ptr %32, align 8, !tbaa !9
  %299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %298, ptr noundef @.str.17) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %300

300:                                              ; preds = %325, %260
  %301 = load i32, ptr %14, align 4, !tbaa !5
  %302 = load i32, ptr %16, align 4, !tbaa !5
  %303 = icmp ult i32 %301, %302
  br i1 %303, label %304, label %328

304:                                              ; preds = %300
  %305 = load ptr, ptr %32, align 8, !tbaa !9
  %306 = load i32, ptr %14, align 4, !tbaa !5
  %307 = add i32 %306, 1
  %308 = load i32, ptr %14, align 4, !tbaa !5
  %309 = zext i32 %308 to i64
  %310 = getelementptr inbounds { float, float }, ptr %83, i64 %309
  %311 = getelementptr inbounds { float, float }, ptr %310, i32 0, i32 0
  %312 = load float, ptr %311, align 8
  %313 = getelementptr inbounds { float, float }, ptr %310, i32 0, i32 1
  %314 = load float, ptr %313, align 4
  %315 = fpext float %312 to double
  %316 = load i32, ptr %14, align 4, !tbaa !5
  %317 = zext i32 %316 to i64
  %318 = getelementptr inbounds { float, float }, ptr %83, i64 %317
  %319 = getelementptr inbounds { float, float }, ptr %318, i32 0, i32 0
  %320 = load float, ptr %319, align 8
  %321 = getelementptr inbounds { float, float }, ptr %318, i32 0, i32 1
  %322 = load float, ptr %321, align 4
  %323 = fpext float %322 to double
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.18, i32 noundef %307, double noundef %315, double noundef %323) #7
  br label %325

325:                                              ; preds = %304
  %326 = load i32, ptr %14, align 4, !tbaa !5
  %327 = add i32 %326, 1
  store i32 %327, ptr %14, align 4, !tbaa !5
  br label %300, !llvm.loop !23

328:                                              ; preds = %300
  %329 = load ptr, ptr %32, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.19) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %331

331:                                              ; preds = %345, %328
  %332 = load i32, ptr %14, align 4, !tbaa !5
  %333 = load i32, ptr %30, align 4, !tbaa !5
  %334 = icmp ult i32 %332, %333
  br i1 %334, label %335, label %348

335:                                              ; preds = %331
  %336 = load ptr, ptr %32, align 8, !tbaa !9
  %337 = load i32, ptr %14, align 4, !tbaa !5
  %338 = add i32 %337, 1
  %339 = load i32, ptr %14, align 4, !tbaa !5
  %340 = zext i32 %339 to i64
  %341 = getelementptr inbounds float, ptr %270, i64 %340
  %342 = load float, ptr %341, align 4, !tbaa !11
  %343 = fpext float %342 to double
  %344 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %336, ptr noundef @.str.20, i32 noundef %338, double noundef %343) #7
  br label %345

345:                                              ; preds = %335
  %346 = load i32, ptr %14, align 4, !tbaa !5
  %347 = add i32 %346, 1
  store i32 %347, ptr %14, align 4, !tbaa !5
  br label %331, !llvm.loop !24

348:                                              ; preds = %331
  %349 = load ptr, ptr %32, align 8, !tbaa !9
  %350 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %349, ptr noundef @.str.21) #7
  %351 = load ptr, ptr %32, align 8, !tbaa !9
  %352 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 2
  %353 = load i32, ptr %352, align 4, !tbaa !17
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %351, ptr noundef @.str.22, i32 noundef %353) #7
  %355 = load ptr, ptr %32, align 8, !tbaa !9
  %356 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 3
  %357 = load i32, ptr %356, align 4, !tbaa !19
  %358 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %355, ptr noundef @.str.23, i32 noundef %357) #7
  %359 = load ptr, ptr %32, align 8, !tbaa !9
  %360 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %359, ptr noundef @.str.24) #7
  %361 = load ptr, ptr %32, align 8, !tbaa !9
  %362 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %361, ptr noundef @.str.25) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %363

363:                                              ; preds = %391, %348
  %364 = load i32, ptr %14, align 4, !tbaa !5
  %365 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 2
  %366 = load i32, ptr %365, align 4, !tbaa !17
  %367 = icmp ult i32 %364, %366
  br i1 %367, label %368, label %394

368:                                              ; preds = %363
  %369 = load ptr, ptr %32, align 8, !tbaa !9
  %370 = load i32, ptr %14, align 4, !tbaa !5
  %371 = add i32 %370, 1
  %372 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 0
  %373 = load i32, ptr %14, align 4, !tbaa !5
  %374 = zext i32 %373 to i64
  %375 = getelementptr inbounds [2000 x { float, float }], ptr %372, i64 0, i64 %374
  %376 = getelementptr inbounds { float, float }, ptr %375, i32 0, i32 0
  %377 = load float, ptr %376, align 4
  %378 = getelementptr inbounds { float, float }, ptr %375, i32 0, i32 1
  %379 = load float, ptr %378, align 4
  %380 = fpext float %377 to double
  %381 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 0
  %382 = load i32, ptr %14, align 4, !tbaa !5
  %383 = zext i32 %382 to i64
  %384 = getelementptr inbounds [2000 x { float, float }], ptr %381, i64 0, i64 %383
  %385 = getelementptr inbounds { float, float }, ptr %384, i32 0, i32 0
  %386 = load float, ptr %385, align 4
  %387 = getelementptr inbounds { float, float }, ptr %384, i32 0, i32 1
  %388 = load float, ptr %387, align 4
  %389 = fpext float %388 to double
  %390 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %369, ptr noundef @.str.26, i32 noundef %371, double noundef %380, double noundef %389) #7
  br label %391

391:                                              ; preds = %368
  %392 = load i32, ptr %14, align 4, !tbaa !5
  %393 = add i32 %392, 1
  store i32 %393, ptr %14, align 4, !tbaa !5
  br label %363, !llvm.loop !25

394:                                              ; preds = %363
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %395

395:                                              ; preds = %423, %394
  %396 = load i32, ptr %14, align 4, !tbaa !5
  %397 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 3
  %398 = load i32, ptr %397, align 4, !tbaa !19
  %399 = icmp ult i32 %396, %398
  br i1 %399, label %400, label %426

400:                                              ; preds = %395
  %401 = load ptr, ptr %32, align 8, !tbaa !9
  %402 = load i32, ptr %14, align 4, !tbaa !5
  %403 = add i32 %402, 1
  %404 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 1
  %405 = load i32, ptr %14, align 4, !tbaa !5
  %406 = zext i32 %405 to i64
  %407 = getelementptr inbounds [2000 x { float, float }], ptr %404, i64 0, i64 %406
  %408 = getelementptr inbounds { float, float }, ptr %407, i32 0, i32 0
  %409 = load float, ptr %408, align 4
  %410 = getelementptr inbounds { float, float }, ptr %407, i32 0, i32 1
  %411 = load float, ptr %410, align 4
  %412 = fpext float %409 to double
  %413 = getelementptr inbounds %struct.rx_symbols, ptr %25, i32 0, i32 1
  %414 = load i32, ptr %14, align 4, !tbaa !5
  %415 = zext i32 %414 to i64
  %416 = getelementptr inbounds [2000 x { float, float }], ptr %413, i64 0, i64 %415
  %417 = getelementptr inbounds { float, float }, ptr %416, i32 0, i32 0
  %418 = load float, ptr %417, align 4
  %419 = getelementptr inbounds { float, float }, ptr %416, i32 0, i32 1
  %420 = load float, ptr %419, align 4
  %421 = fpext float %420 to double
  %422 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %401, ptr noundef @.str.27, i32 noundef %403, double noundef %412, double noundef %421) #7
  br label %423

423:                                              ; preds = %400
  %424 = load i32, ptr %14, align 4, !tbaa !5
  %425 = add i32 %424, 1
  store i32 %425, ptr %14, align 4, !tbaa !5
  br label %395, !llvm.loop !26

426:                                              ; preds = %395
  %427 = load ptr, ptr %32, align 8, !tbaa !9
  %428 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %427, ptr noundef @.str.28) #7
  %429 = load ptr, ptr %32, align 8, !tbaa !9
  %430 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %429, ptr noundef @.str.29) #7
  %431 = load ptr, ptr %32, align 8, !tbaa !9
  %432 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %431, ptr noundef @.str.30) #7
  %433 = load ptr, ptr %32, align 8, !tbaa !9
  %434 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %433, ptr noundef @.str.31) #7
  %435 = load ptr, ptr %32, align 8, !tbaa !9
  %436 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %435, ptr noundef @.str.32) #7
  %437 = load ptr, ptr %32, align 8, !tbaa !9
  %438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef @.str.33) #7
  %439 = load ptr, ptr %32, align 8, !tbaa !9
  %440 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %439, ptr noundef @.str.34) #7
  %441 = load ptr, ptr %32, align 8, !tbaa !9
  %442 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %441, ptr noundef @.str.35) #7
  %443 = load ptr, ptr %32, align 8, !tbaa !9
  %444 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef @.str.36) #7
  %445 = load ptr, ptr %32, align 8, !tbaa !9
  %446 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %445, ptr noundef @.str.37) #7
  %447 = load ptr, ptr %32, align 8, !tbaa !9
  %448 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %447, ptr noundef @.str.28) #7
  %449 = load ptr, ptr %32, align 8, !tbaa !9
  %450 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %449, ptr noundef @.str.30) #7
  %451 = load ptr, ptr %32, align 8, !tbaa !9
  %452 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %451, ptr noundef @.str.38) #7
  %453 = load ptr, ptr %32, align 8, !tbaa !9
  %454 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef @.str.39) #7
  %455 = load ptr, ptr %32, align 8, !tbaa !9
  %456 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %455, ptr noundef @.str.40) #7
  %457 = load ptr, ptr %32, align 8, !tbaa !9
  %458 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %457, ptr noundef @.str.41) #7
  %459 = load ptr, ptr %32, align 8, !tbaa !9
  %460 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %459, ptr noundef @.str.42) #7
  %461 = load ptr, ptr %32, align 8, !tbaa !9
  %462 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %461, ptr noundef @.str.43) #7
  %463 = load ptr, ptr %32, align 8, !tbaa !9
  %464 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %463, ptr noundef @.str.35) #7
  %465 = load ptr, ptr %32, align 8, !tbaa !9
  %466 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %465, ptr noundef @.str.44) #7
  %467 = load ptr, ptr %32, align 8, !tbaa !9
  %468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.45) #7
  %469 = load ptr, ptr %32, align 8, !tbaa !9
  %470 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %469, ptr noundef @.str.46) #7
  %471 = load ptr, ptr %32, align 8, !tbaa !9
  %472 = call i32 @fclose(ptr noundef %471)
  %473 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, ptr noundef @.str.7)
  %474 = call i32 (ptr, ...) @printf(ptr noundef @.str.48)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 32008, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  %475 = load ptr, ptr %19, align 8
  call void @llvm.stackrestore.p0(ptr %475)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %476

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

; 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: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #4

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

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

; 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 @ofdmframesync_create(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @callback(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

declare i32 @ofdmframesync_print(ptr noundef) #1

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

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

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

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

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

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

declare float @randnf(...) #1

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

declare i32 @ofdmframegen_destroy(ptr noundef) #1

declare i32 @ofdmframesync_destroy(ptr noundef) #1

declare i32 @spgramcf_estimate_psd(i32 noundef, ptr noundef, i32 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: 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 }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { 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 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
!17 = !{!18, !6, i64 32000}
!18 = !{!"rx_symbols", !7, i64 0, !7, i64 16000, !6, i64 32000, !6, i64 32004}
!19 = !{!18, !6, i64 32004}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !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"

%struct.rx_symbols = type { [2000 x { float, float }], [2000 x { float, float }], i32, i32 }

@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.48 = 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 %struct.rx_symbols, align 4
  %4 = tail call i64 @time(ptr noundef null) #11
  %5 = trunc i64 %4 to i32
  tail call void @srand(i32 noundef %5) #11
  br label %.outer

.outer:                                           ; preds = %18, %2
  %.0145.ph = phi float [ %21, %18 ], [ 3.000000e+01, %2 ]
  %.0143.ph = phi i32 [ %.0143.ph243, %18 ], [ 50, %2 ]
  %.0139.ph = phi i32 [ %.0139.ph247, %18 ], [ 60, %2 ]
  %.0138.ph = phi i32 [ %.0138, %18 ], [ 1200, %2 ]
  br label %.outer242

.outer242:                                        ; preds = %.outer, %15
  %.0143.ph243 = phi i32 [ %.0143.ph, %.outer ], [ %17, %15 ]
  %.0139.ph244 = phi i32 [ %.0139.ph, %.outer ], [ %.0139.ph247, %15 ]
  %.0138.ph245 = phi i32 [ %.0138.ph, %.outer ], [ %.0138, %15 ]
  br label %.outer246

.outer246:                                        ; preds = %.outer242, %12
  %.0139.ph247 = phi i32 [ %.0139.ph244, %.outer242 ], [ %14, %12 ]
  %.0138.ph248 = phi i32 [ %.0138.ph245, %.outer242 ], [ %.0138, %12 ]
  br label %6

6:                                                ; preds = %.outer246, %9
  %.0138 = phi i32 [ %11, %9 ], [ %.0138.ph248, %.outer246 ]
  %7 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.6) #11
  switch i32 %7, label %22 [
    i32 -1, label %23
    i32 104, label %8
    i32 77, label %9
    i32 67, label %12
    i32 84, label %15
    i32 115, label %18
  ]

8:                                                ; preds = %6
  tail call void @usage()
  br label %274

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

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

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

18:                                               ; preds = %6
  %19 = load ptr, ptr @optarg, align 8, !tbaa !5
  %20 = tail call double @atof(ptr noundef %19) #12
  %21 = fptrunc double %20 to float
  br label %.outer, !llvm.loop !9

22:                                               ; preds = %6
  tail call void @exit(i32 noundef 1) #13
  unreachable

23:                                               ; preds = %6
  %24 = add i32 %.0138, %.0139.ph247
  %25 = mul i32 %24, 23
  %26 = fadd float %.0145.ph, -1.200000e+02
  %27 = fdiv float %26, 2.000000e+01
  %28 = tail call float @powf(float noundef 1.000000e+01, float noundef %27) #11
  %29 = zext i32 %.0138 to i64
  %30 = tail call ptr @llvm.stacksave.p0()
  %31 = alloca i8, i64 %29, align 16
  %32 = alloca { float, float }, i64 %29, align 16
  %33 = zext i32 %25 to i64
  %34 = alloca { float, float }, i64 %33, align 16
  %35 = call i32 @ofdmframe_init_default_sctype(i32 noundef %.0138, ptr noundef nonnull %31) #11
  %36 = uitofp i32 %.0138 to double
  %37 = fmul double %36, 1.300000e-01
  %38 = fptoui double %37 to i32
  %39 = fmul double %36, 2.100000e-01
  %40 = fptoui double %39 to i32
  %41 = icmp ult i32 %38, %40
  br i1 %41, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %23
  %42 = zext i32 %38 to i64
  %scevgep = getelementptr i8, ptr %31, i64 %42
  %43 = xor i32 %38, -1
  %44 = add i32 %43, %40
  %45 = zext i32 %44 to i64
  %46 = add nuw nsw i64 %45, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %scevgep, i8 0, i64 %46, i1 false), !tbaa !11
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %23
  call void @llvm.lifetime.start.p0(i64 32008, ptr nonnull %3) #11
  %47 = getelementptr inbounds i8, ptr %3, i64 32000
  store i32 0, ptr %47, align 4, !tbaa !12
  %48 = getelementptr inbounds i8, ptr %3, i64 32004
  store i32 0, ptr %48, align 4, !tbaa !15
  %49 = call ptr @ofdmframegen_create(i32 noundef %.0138, i32 noundef %.0139.ph247, i32 noundef %.0143.ph243, ptr noundef nonnull %31) #11
  %50 = call i32 @ofdmframegen_print(ptr noundef %49) #11
  %51 = call ptr @ofdmframesync_create(i32 noundef %.0138, i32 noundef %.0139.ph247, i32 noundef %.0143.ph243, ptr noundef nonnull %31, ptr noundef nonnull @callback, ptr noundef nonnull %3) #11
  %52 = call i32 @ofdmframesync_print(ptr noundef %51) #11
  %53 = call i32 @ofdmframegen_write_S0a(ptr noundef %49, ptr noundef nonnull %34) #11
  %54 = zext i32 %24 to i64
  %55 = getelementptr inbounds { float, float }, ptr %34, i64 %54
  %56 = call i32 @ofdmframegen_write_S0b(ptr noundef %49, ptr noundef nonnull %55) #11
  %57 = shl i32 %24, 1
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds { float, float }, ptr %34, i64 %58
  %60 = call i32 @ofdmframegen_write_S1(ptr noundef %49, ptr noundef nonnull %59) #11
  %61 = mul i32 %24, 3
  %.not = icmp eq i32 %.0138, 0
  br i1 %.not, label %.preheader155.preheader, label %.preheader155.us

.preheader155.preheader:                          ; preds = %._crit_edge
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds { float, float }, ptr %34, i64 %62
  %64 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %63) #11
  %65 = shl i32 %.0139.ph247, 2
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds { float, float }, ptr %34, i64 %66
  %68 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %67) #11
  %69 = add i32 %65, %24
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds { float, float }, ptr %34, i64 %70
  %72 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %71) #11
  %73 = add i32 %69, %24
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds { float, float }, ptr %34, i64 %74
  %76 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %75) #11
  %77 = add i32 %73, %24
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds { float, float }, ptr %34, i64 %78
  %80 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %79) #11
  %81 = add i32 %77, %24
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds { float, float }, ptr %34, i64 %82
  %84 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %83) #11
  %85 = add i32 %81, %24
  %86 = zext i32 %85 to i64
  %87 = getelementptr inbounds { float, float }, ptr %34, i64 %86
  %88 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %87) #11
  %89 = add i32 %85, %24
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds { float, float }, ptr %34, i64 %90
  %92 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %91) #11
  %93 = add i32 %89, %24
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds { float, float }, ptr %34, i64 %94
  %96 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %95) #11
  %97 = add i32 %93, %24
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds { float, float }, ptr %34, i64 %98
  %100 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %99) #11
  %101 = add i32 %97, %24
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds { float, float }, ptr %34, i64 %102
  %104 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %103) #11
  %105 = add i32 %101, %24
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds { float, float }, ptr %34, i64 %106
  %108 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %107) #11
  %109 = add i32 %105, %24
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds { float, float }, ptr %34, i64 %110
  %112 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %111) #11
  %113 = add i32 %109, %24
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds { float, float }, ptr %34, i64 %114
  %116 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %115) #11
  %117 = add i32 %113, %24
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds { float, float }, ptr %34, i64 %118
  %120 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %119) #11
  %121 = add i32 %117, %24
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds { float, float }, ptr %34, i64 %122
  %124 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %123) #11
  %125 = add i32 %121, %24
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds { float, float }, ptr %34, i64 %126
  %128 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %127) #11
  %129 = add i32 %125, %24
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds { float, float }, ptr %34, i64 %130
  %132 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %131) #11
  %133 = add i32 %129, %24
  %134 = zext i32 %133 to i64
  %135 = getelementptr inbounds { float, float }, ptr %34, i64 %134
  %136 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %135) #11
  %137 = add i32 %133, %24
  %138 = zext i32 %137 to i64
  %139 = getelementptr inbounds { float, float }, ptr %34, i64 %138
  %140 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %139) #11
  br label %.preheader154

.preheader155.us:                                 ; preds = %._crit_edge, %._crit_edge167.us
  %.0142169.us = phi i32 [ %164, %._crit_edge167.us ], [ %61, %._crit_edge ]
  %.1148168.us = phi i32 [ %165, %._crit_edge167.us ], [ 0, %._crit_edge ]
  br label %141

141:                                              ; preds = %.preheader155.us, %160
  %indvars.iv = phi i64 [ 0, %.preheader155.us ], [ %indvars.iv.next, %160 ]
  %142 = getelementptr inbounds i8, ptr %31, i64 %indvars.iv
  %143 = load i8, ptr %142, align 1, !tbaa !11
  %.not150.us = icmp eq i8 %143, 2
  br i1 %.not150.us, label %144, label %160

144:                                              ; preds = %141
  %145 = and i64 %indvars.iv, 1
  %146 = icmp eq i64 %145, 0
  %147 = call i32 @rand() #11
  %148 = and i32 %147, 1
  %.not153.us = icmp eq i32 %148, 0
  br i1 %146, label %156, label %149

149:                                              ; preds = %144
  %150 = select i1 %.not153.us, float 0x3FE69FBE80000000, float 0xBFE69FBE80000000
  %151 = call i32 @rand() #11
  %152 = and i32 %151, 1
  %.not152.us = icmp eq i32 %152, 0
  %153 = select i1 %.not152.us, float 0x3FE69FBE80000000, float 0xBFE69FBE80000000
  %154 = call float @llvm.copysign.f32(float 0.000000e+00, float %153)
  %155 = fadd float %150, %154
  br label %.sink.split

156:                                              ; preds = %144
  %157 = select i1 %.not153.us, float 1.000000e+00, float -1.000000e+00
  br label %.sink.split

.sink.split:                                      ; preds = %149, %156
  %.sink231 = phi float [ %157, %156 ], [ %155, %149 ]
  %.sink = phi float [ 0.000000e+00, %156 ], [ %153, %149 ]
  %158 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv
  %159 = getelementptr inbounds i8, ptr %158, i64 4
  store float %.sink231, ptr %158, align 8
  store float %.sink, ptr %159, align 4
  br label %160

160:                                              ; preds = %.sink.split, %141
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %29
  br i1 %exitcond.not, label %._crit_edge167.us, label %141, !llvm.loop !16

._crit_edge167.us:                                ; preds = %160
  %161 = zext i32 %.0142169.us to i64
  %162 = getelementptr inbounds { float, float }, ptr %34, i64 %161
  %163 = call i32 @ofdmframegen_writesymbol(ptr noundef %49, ptr noundef nonnull %32, ptr noundef nonnull %162) #11
  %164 = add i32 %.0142169.us, %24
  %165 = add nuw nsw i32 %.1148168.us, 1
  %exitcond199.not = icmp eq i32 %165, 20
  br i1 %exitcond199.not, label %.preheader154, label %.preheader155.us, !llvm.loop !17

.preheader154:                                    ; preds = %._crit_edge167.us, %.preheader155.preheader
  %.not184 = icmp eq i32 %24, 0
  br i1 %.not184, label %._crit_edge172, label %.lr.ph171.preheader

.lr.ph171.preheader:                              ; preds = %.preheader154
  %umax = call i32 @llvm.umax.i32(i32 %25, i32 1)
  %wide.trip.count204 = zext i32 %umax to i64
  %166 = insertelement <2 x float> poison, float %28, i64 0
  %167 = shufflevector <2 x float> %166, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph171

.lr.ph171:                                        ; preds = %.lr.ph171.preheader, %.lr.ph171
  %indvars.iv201 = phi i64 [ 0, %.lr.ph171.preheader ], [ %indvars.iv.next202, %.lr.ph171 ]
  %168 = getelementptr inbounds { float, float }, ptr %34, i64 %indvars.iv201
  %169 = load <2 x float>, ptr %168, align 8
  %170 = fmul <2 x float> %167, %169
  store <2 x float> %170, ptr %168, align 8
  %171 = call float (...) @randnf() #11
  %172 = call float (...) @randnf() #11
  %173 = fmul float %172, 0.000000e+00
  %174 = fadd float %171, %173
  %175 = insertelement <2 x float> poison, float %174, i64 0
  %176 = insertelement <2 x float> %175, float %172, i64 1
  %177 = fmul <2 x float> %176, <float 0x3EB0C6F7A0000000, float 0x3EB0C6F7A0000000>
  %178 = fpext <2 x float> %177 to <2 x double>
  %179 = fmul <2 x double> %178, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %180 = load <2 x float>, ptr %168, align 8
  %181 = fpext <2 x float> %180 to <2 x double>
  %182 = fadd <2 x double> %179, %181
  %183 = fptrunc <2 x double> %182 to <2 x float>
  store <2 x float> %183, ptr %168, align 8
  %indvars.iv.next202 = add nuw nsw i64 %indvars.iv201, 1
  %exitcond205.not = icmp eq i64 %indvars.iv.next202, %wide.trip.count204
  br i1 %exitcond205.not, label %._crit_edge172, label %.lr.ph171, !llvm.loop !18

._crit_edge172:                                   ; preds = %.lr.ph171, %.preheader154
  %184 = call i32 @ofdmframesync_execute(ptr noundef %51, ptr noundef nonnull %34, i32 noundef %25) #11
  %185 = call i32 @ofdmframegen_destroy(ptr noundef %49) #11
  %186 = call i32 @ofdmframesync_destroy(ptr noundef %51) #11
  %187 = alloca [1024 x float], align 16
  %188 = call i32 @spgramcf_estimate_psd(i32 noundef 1024, ptr noundef nonnull %34, i32 noundef %25, ptr noundef nonnull %187) #11
  %189 = call noalias ptr @fopen(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8)
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.7) #11
  %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.10) #11
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.11) #11
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.12, i32 noundef %.0138) #11
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.13, double noundef -1.200000e+02) #11
  %195 = fpext float %.0145.ph to double
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.14, double noundef %195) #11
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.15, i32 noundef %25) #11
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.16, i32 noundef 1024) #11
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.17) #11
  br i1 %.not184, label %._crit_edge176, label %.lr.ph175.preheader

.lr.ph175.preheader:                              ; preds = %._crit_edge172
  %umax209 = call i32 @llvm.umax.i32(i32 %25, i32 1)
  %wide.trip.count210 = zext i32 %umax209 to i64
  br label %.lr.ph175

.lr.ph175:                                        ; preds = %.lr.ph175.preheader, %.lr.ph175
  %indvars.iv206 = phi i64 [ 0, %.lr.ph175.preheader ], [ %indvars.iv.next207, %.lr.ph175 ]
  %indvars.iv.next207 = add nuw nsw i64 %indvars.iv206, 1
  %200 = getelementptr inbounds { float, float }, ptr %34, i64 %indvars.iv206
  %201 = load float, ptr %200, align 8
  %202 = getelementptr inbounds i8, ptr %200, i64 4
  %203 = fpext float %201 to double
  %204 = load float, ptr %202, align 4
  %205 = fpext float %204 to double
  %206 = trunc nuw i64 %indvars.iv.next207 to i32
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.18, i32 noundef %206, double noundef %203, double noundef %205) #11
  %exitcond211.not = icmp eq i64 %indvars.iv.next207, %wide.trip.count210
  br i1 %exitcond211.not, label %._crit_edge176, label %.lr.ph175, !llvm.loop !19

._crit_edge176:                                   ; preds = %.lr.ph175, %._crit_edge172
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.19) #11
  br label %209

209:                                              ; preds = %._crit_edge176, %209
  %indvars.iv212 = phi i64 [ 0, %._crit_edge176 ], [ %indvars.iv.next213, %209 ]
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %210 = getelementptr inbounds float, ptr %187, i64 %indvars.iv212
  %211 = load float, ptr %210, align 4, !tbaa !20
  %212 = fpext float %211 to double
  %213 = trunc nuw nsw i64 %indvars.iv.next213 to i32
  %214 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.20, i32 noundef %213, double noundef %212) #11
  %exitcond215.not = icmp eq i64 %indvars.iv.next213, 1024
  br i1 %exitcond215.not, label %215, label %209, !llvm.loop !22

215:                                              ; preds = %209
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.21) #11
  %217 = load i32, ptr %47, align 4, !tbaa !12
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.22, i32 noundef %217) #11
  %219 = load i32, ptr %48, align 4, !tbaa !15
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.23, i32 noundef %219) #11
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.24) #11
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.25) #11
  %223 = load i32, ptr %47, align 4, !tbaa !12
  %.not186 = icmp eq i32 %223, 0
  br i1 %.not186, label %.preheader, label %.lr.ph180

.preheader:                                       ; preds = %.lr.ph180, %215
  %224 = load i32, ptr %48, align 4, !tbaa !15
  %.not187 = icmp eq i32 %224, 0
  br i1 %.not187, label %._crit_edge183, label %.lr.ph182

.lr.ph182:                                        ; preds = %.preheader
  %225 = getelementptr inbounds i8, ptr %3, i64 16000
  br label %237

.lr.ph180:                                        ; preds = %215, %.lr.ph180
  %indvars.iv216 = phi i64 [ %indvars.iv.next217, %.lr.ph180 ], [ 0, %215 ]
  %indvars.iv.next217 = add nuw nsw i64 %indvars.iv216, 1
  %226 = getelementptr inbounds [2000 x { float, float }], ptr %3, i64 0, i64 %indvars.iv216
  %227 = load float, ptr %226, align 4
  %228 = getelementptr inbounds i8, ptr %226, i64 4
  %229 = fpext float %227 to double
  %230 = load float, ptr %228, align 4
  %231 = fpext float %230 to double
  %232 = trunc nuw i64 %indvars.iv.next217 to i32
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.26, i32 noundef %232, double noundef %229, double noundef %231) #11
  %234 = load i32, ptr %47, align 4, !tbaa !12
  %235 = zext i32 %234 to i64
  %236 = icmp ult i64 %indvars.iv.next217, %235
  br i1 %236, label %.lr.ph180, label %.preheader, !llvm.loop !23

237:                                              ; preds = %.lr.ph182, %237
  %indvars.iv219 = phi i64 [ 0, %.lr.ph182 ], [ %indvars.iv.next220, %237 ]
  %indvars.iv.next220 = add nuw nsw i64 %indvars.iv219, 1
  %238 = getelementptr inbounds [2000 x { float, float }], ptr %225, i64 0, i64 %indvars.iv219
  %239 = load float, ptr %238, align 4
  %240 = getelementptr inbounds i8, ptr %238, i64 4
  %241 = fpext float %239 to double
  %242 = load float, ptr %240, align 4
  %243 = fpext float %242 to double
  %244 = trunc nuw i64 %indvars.iv.next220 to i32
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.27, i32 noundef %244, double noundef %241, double noundef %243) #11
  %246 = load i32, ptr %48, align 4, !tbaa !15
  %247 = zext i32 %246 to i64
  %248 = icmp ult i64 %indvars.iv.next220, %247
  br i1 %248, label %237, label %._crit_edge183, !llvm.loop !24

._crit_edge183:                                   ; preds = %237, %.preheader
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.28) #11
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.29) #11
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.30) #11
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.31) #11
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.32) #11
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.33) #11
  %255 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.34) #11
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.35) #11
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.36) #11
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.37) #11
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.28) #11
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.30) #11
  %261 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.38) #11
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.39) #11
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.40) #11
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.41) #11
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.42) #11
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.43) #11
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.35) #11
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.44) #11
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.45) #11
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.46) #11
  %271 = call i32 @fclose(ptr noundef %189)
  %272 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47, ptr noundef nonnull @.str.7)
  %273 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.48)
  call void @llvm.lifetime.end.p0(i64 32008, ptr nonnull %3) #11
  call void @llvm.stackrestore.p0(ptr %30)
  br label %274

274:                                              ; preds = %._crit_edge183, %8
  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: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

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

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

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

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

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

declare i32 @ofdmframegen_print(ptr noundef) local_unnamed_addr #8

declare ptr @ofdmframesync_create(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

; Function Attrs: nounwind uwtable
declare hidden i32 @callback(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

declare i32 @ofdmframesync_print(ptr noundef) local_unnamed_addr #8

declare i32 @ofdmframegen_write_S0a(ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @ofdmframegen_write_S0b(ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @ofdmframegen_write_S1(ptr noundef, ptr noundef) local_unnamed_addr #8

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

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

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

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

declare i32 @ofdmframesync_execute(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #8

declare i32 @ofdmframegen_destroy(ptr noundef) local_unnamed_addr #8

declare i32 @ofdmframesync_destroy(ptr noundef) local_unnamed_addr #8

declare i32 @spgramcf_estimate_psd(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #8

; 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 nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #7

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

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

; 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 "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 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 #7 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #8 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(read) }
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 = !{!7, !7, i64 0}
!12 = !{!13, !14, i64 32000}
!13 = !{!"rx_symbols", !7, i64 0, !7, i64 16000, !14, i64 32000, !14, i64 32004}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !14, i64 32004}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}


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