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

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

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

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

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

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

50:                                               ; preds = %78, %2
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !9
  %53 = call i32 @getopt(i32 noundef %51, ptr noundef %52, ptr noundef @.str.8) #9
  store i32 %53, ptr %13, align 4, !tbaa !5
  %54 = icmp ne i32 %53, -1
  br i1 %54, label %55, label %79

55:                                               ; preds = %50
  %56 = load i32, ptr %13, align 4, !tbaa !5
  switch i32 %56, label %77 [
    i32 104, label %57
    i32 77, label %58
    i32 67, label %61
    i32 84, label %64
    i32 83, label %67
    i32 116, label %71
    i32 115, label %74
  ]

57:                                               ; preds = %55
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %14, align 4
  br label %398

58:                                               ; preds = %55
  %59 = load ptr, ptr @optarg, align 8, !tbaa !9
  %60 = call i32 @atoi(ptr noundef %59) #10
  store i32 %60, ptr %6, align 4, !tbaa !5
  br label %78

61:                                               ; preds = %55
  %62 = load ptr, ptr @optarg, align 8, !tbaa !9
  %63 = call i32 @atoi(ptr noundef %62) #10
  store i32 %63, ptr %7, align 4, !tbaa !5
  br label %78

64:                                               ; preds = %55
  %65 = load ptr, ptr @optarg, align 8, !tbaa !9
  %66 = call i32 @atoi(ptr noundef %65) #10
  store i32 %66, ptr %8, align 4, !tbaa !5
  br label %78

67:                                               ; preds = %55
  %68 = load ptr, ptr @optarg, align 8, !tbaa !9
  %69 = call double @atof(ptr noundef %68) #10
  %70 = fptrunc double %69 to float
  store float %70, ptr %10, align 4, !tbaa !11
  br label %78

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

74:                                               ; preds = %55
  %75 = load ptr, ptr @optarg, align 8, !tbaa !9
  %76 = call i32 @atoi(ptr noundef %75) #10
  store i32 %76, ptr %12, align 4, !tbaa !5
  br label %78

77:                                               ; preds = %55
  call void @exit(i32 noundef 1) #11
  unreachable

78:                                               ; preds = %74, %71, %67, %64, %61, %58
  br label %50, !llvm.loop !13

79:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 1, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %80 = load i32, ptr %6, align 4, !tbaa !5
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = add i32 %80, %81
  store i32 %82, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %83 = load i32, ptr %16, align 4, !tbaa !5
  %84 = add i32 3, %83
  %85 = load i32, ptr %17, align 4, !tbaa !5
  %86 = mul i32 %84, %85
  store i32 %86, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %87 = load float, ptr %9, align 4, !tbaa !11
  %88 = fdiv float %87, 2.000000e+01
  %89 = call float @powf(float noundef 1.000000e+01, float noundef %88) #9
  store float %89, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %90 = load float, ptr %10, align 4, !tbaa !11
  %91 = load float, ptr %9, align 4, !tbaa !11
  %92 = fadd float %90, %91
  %93 = fdiv float %92, 2.000000e+01
  %94 = call float @powf(float noundef 1.000000e+01, float noundef %93) #9
  store float %94, ptr %20, align 4, !tbaa !11
  %95 = load float, ptr %20, align 4, !tbaa !11
  %96 = fpext float %95 to double
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %96)
  %98 = load i32, ptr %6, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = call ptr @llvm.stacksave.p0()
  store ptr %100, ptr %21, align 8
  %101 = alloca i8, i64 %99, align 16
  store i64 %99, ptr %22, align 8
  %102 = load i32, ptr %6, align 4, !tbaa !5
  %103 = call i32 @ofdmframe_init_default_sctype(i32 noundef %102, ptr noundef %101)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %104 = load i32, ptr %6, align 4, !tbaa !5
  %105 = load i32, ptr %7, align 4, !tbaa !5
  %106 = load i32, ptr %8, align 4, !tbaa !5
  %107 = call ptr @ofdmframegen_create(i32 noundef %104, i32 noundef %105, i32 noundef %106, ptr noundef %101)
  store ptr %107, ptr %23, align 8, !tbaa !9
  %108 = load ptr, ptr %23, align 8, !tbaa !9
  %109 = call i32 @ofdmframegen_print(ptr noundef %108)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = load i32, ptr %7, align 4, !tbaa !5
  %112 = load i32, ptr %8, align 4, !tbaa !5
  %113 = call ptr @ofdmframesync_create(i32 noundef %110, i32 noundef %111, i32 noundef %112, ptr noundef %101, ptr noundef @callback, ptr noundef %24)
  store ptr %113, ptr %25, align 8, !tbaa !9
  %114 = load ptr, ptr %25, align 8, !tbaa !9
  %115 = call i32 @ofdmframesync_print(ptr noundef %114)
  %116 = load i32, ptr %6, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = alloca { float, float }, i64 %117, align 16
  store i64 %117, ptr %26, align 8
  %119 = load i32, ptr %18, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = alloca { float, float }, i64 %120, align 16
  store i64 %120, ptr %27, align 8
  %122 = load i32, ptr %18, align 4, !tbaa !5
  %123 = zext i32 %122 to i64
  %124 = alloca { float, float }, i64 %123, align 16
  store i64 %123, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  store i32 0, ptr %29, align 4, !tbaa !5
  %125 = load ptr, ptr %23, align 8, !tbaa !9
  %126 = load i32, ptr %29, align 4, !tbaa !5
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds { float, float }, ptr %121, i64 %127
  %129 = call i32 @ofdmframegen_write_S0a(ptr noundef %125, ptr noundef %128)
  %130 = load i32, ptr %17, align 4, !tbaa !5
  %131 = load i32, ptr %29, align 4, !tbaa !5
  %132 = add i32 %131, %130
  store i32 %132, ptr %29, align 4, !tbaa !5
  %133 = load ptr, ptr %23, align 8, !tbaa !9
  %134 = load i32, ptr %29, align 4, !tbaa !5
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds { float, float }, ptr %121, i64 %135
  %137 = call i32 @ofdmframegen_write_S0b(ptr noundef %133, ptr noundef %136)
  %138 = load i32, ptr %17, align 4, !tbaa !5
  %139 = load i32, ptr %29, align 4, !tbaa !5
  %140 = add i32 %139, %138
  store i32 %140, ptr %29, align 4, !tbaa !5
  %141 = load ptr, ptr %23, align 8, !tbaa !9
  %142 = load i32, ptr %29, align 4, !tbaa !5
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds { float, float }, ptr %121, i64 %143
  %145 = call i32 @ofdmframegen_write_S1(ptr noundef %141, ptr noundef %144)
  %146 = load i32, ptr %17, align 4, !tbaa !5
  %147 = load i32, ptr %29, align 4, !tbaa !5
  %148 = add i32 %147, %146
  store i32 %148, ptr %29, align 4, !tbaa !5
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %149

149:                                              ; preds = %164, %79
  %150 = load i32, ptr %15, align 4, !tbaa !5
  %151 = load i32, ptr %6, align 4, !tbaa !5
  %152 = icmp ult i32 %150, %151
  br i1 %152, label %153, label %167

153:                                              ; preds = %149
  %154 = call i32 @rand() #9
  %155 = srem i32 %154, 2
  %156 = icmp ne i32 %155, 0
  %157 = zext i1 %156 to i64
  %158 = select i1 %156, float 1.000000e+00, float -1.000000e+00
  %159 = load i32, ptr %15, align 4, !tbaa !5
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds { float, float }, ptr %118, i64 %160
  %162 = getelementptr inbounds { float, float }, ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds { float, float }, ptr %161, i32 0, i32 1
  store float %158, ptr %162, align 8
  store float 0.000000e+00, ptr %163, align 4
  br label %164

164:                                              ; preds = %153
  %165 = load i32, ptr %15, align 4, !tbaa !5
  %166 = add i32 %165, 1
  store i32 %166, ptr %15, align 4, !tbaa !5
  br label %149, !llvm.loop !15

167:                                              ; preds = %149
  %168 = load ptr, ptr %23, align 8, !tbaa !9
  %169 = load i32, ptr %29, align 4, !tbaa !5
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds { float, float }, ptr %121, i64 %170
  %172 = call i32 @ofdmframegen_writesymbol(ptr noundef %168, ptr noundef %118, ptr noundef %171)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  store float 0.000000e+00, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %173 = load i32, ptr %6, align 4, !tbaa !5
  %174 = uitofp i32 %173 to float
  %175 = fpext float %174 to double
  %176 = fdiv double 0x40069E955B62F741, %175
  %177 = fptrunc double %176 to float
  store float %177, ptr %31, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  %178 = load float, ptr %31, align 4, !tbaa !11
  %179 = load float, ptr %30, align 4, !tbaa !11
  %180 = fsub float %178, %179
  %181 = load i32, ptr %12, align 4, !tbaa !5
  %182 = sub i32 %181, 1
  %183 = uitofp i32 %182 to float
  %184 = fdiv float %180, %183
  store float %184, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  store i32 0, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  store i32 0, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  store i32 0, ptr %35, align 4, !tbaa !5
  %185 = load i32, ptr %6, align 4, !tbaa !5
  %186 = call i32 @ofdmframe_validate_sctype(ptr noundef %101, i32 noundef %185, ptr noundef %35, ptr noundef %34, ptr noundef %33)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %187 = call noalias ptr @fopen(ptr noundef @.str.10, ptr noundef @.str.11)
  store ptr %187, ptr %36, align 8, !tbaa !9
  %188 = load ptr, ptr %36, align 8, !tbaa !9
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %188, ptr noundef @.str.12, ptr noundef @.str.10) #9
  %190 = load ptr, ptr %36, align 8, !tbaa !9
  %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.13) #9
  %192 = load ptr, ptr %36, align 8, !tbaa !9
  %193 = load i32, ptr %6, align 4, !tbaa !5
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef @.str.14, i32 noundef %193) #9
  %195 = load ptr, ptr %36, align 8, !tbaa !9
  %196 = load i32, ptr %33, align 4, !tbaa !5
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.15, i32 noundef %196) #9
  %198 = load ptr, ptr %36, align 8, !tbaa !9
  %199 = load i32, ptr %34, align 4, !tbaa !5
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %198, ptr noundef @.str.16, i32 noundef %199) #9
  %201 = load ptr, ptr %36, align 8, !tbaa !9
  %202 = load i32, ptr %35, align 4, !tbaa !5
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.17, i32 noundef %202) #9
  %204 = load ptr, ptr %36, align 8, !tbaa !9
  %205 = load i32, ptr %7, align 4, !tbaa !5
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %204, ptr noundef @.str.18, i32 noundef %205) #9
  %207 = load ptr, ptr %36, align 8, !tbaa !9
  %208 = load i32, ptr %18, align 4, !tbaa !5
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef @.str.19, i32 noundef %208) #9
  %210 = load ptr, ptr %36, align 8, !tbaa !9
  %211 = load float, ptr %9, align 4, !tbaa !11
  %212 = fpext float %211 to double
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %210, ptr noundef @.str.20, double noundef %212) #9
  %214 = load ptr, ptr %36, align 8, !tbaa !9
  %215 = load float, ptr %10, align 4, !tbaa !11
  %216 = fpext float %215 to double
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef @.str.21, double noundef %216) #9
  %218 = load ptr, ptr %36, align 8, !tbaa !9
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.13) #9
  %220 = load ptr, ptr %36, align 8, !tbaa !9
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %220, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef @.str.25, ptr noundef @.str.26, ptr noundef @.str.27, ptr noundef @.str.28) #9
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %222

222:                                              ; preds = %385, %167
  %223 = load i32, ptr %29, align 4, !tbaa !5
  %224 = load i32, ptr %12, align 4, !tbaa !5
  %225 = icmp ult i32 %223, %224
  br i1 %225, label %226, label %388

226:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %227 = load float, ptr %30, align 4, !tbaa !11
  %228 = load float, ptr %32, align 4, !tbaa !11
  %229 = load i32, ptr %29, align 4, !tbaa !5
  %230 = uitofp i32 %229 to float
  %231 = call float @llvm.fmuladd.f32(float %228, float %230, float %227)
  store float %231, ptr %37, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 0, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  store float 0.000000e+00, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  store float 0.000000e+00, ptr %41, align 4, !tbaa !11
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %232

232:                                              ; preds = %346, %226
  %233 = load i32, ptr %38, align 4, !tbaa !5
  %234 = load i32, ptr %11, align 4, !tbaa !5
  %235 = icmp ult i32 %233, %234
  br i1 %235, label %236, label %349

236:                                              ; preds = %232
  %237 = load ptr, ptr %25, align 8, !tbaa !9
  %238 = call i32 @ofdmframesync_reset(ptr noundef %237)
  store i32 0, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  %239 = call float (...) @randf()
  %240 = fmul float %239, 2.000000e+00
  %241 = fpext float %240 to double
  %242 = fmul double %241, 0x400921FB54442D18
  %243 = fptrunc double %242 to float
  store float %243, ptr %42, align 4, !tbaa !11
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %244

244:                                              ; preds = %324, %236
  %245 = load i32, ptr %15, align 4, !tbaa !5
  %246 = load i32, ptr %18, align 4, !tbaa !5
  %247 = icmp ult i32 %245, %246
  br i1 %247, label %248, label %327

248:                                              ; preds = %244
  %249 = load float, ptr %20, align 4, !tbaa !11
  %250 = load i32, ptr %15, align 4, !tbaa !5
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds { float, float }, ptr %121, i64 %251
  %253 = getelementptr inbounds { float, float }, ptr %252, i32 0, i32 0
  %254 = load float, ptr %253, align 8
  %255 = getelementptr inbounds { float, float }, ptr %252, i32 0, i32 1
  %256 = load float, ptr %255, align 4
  %257 = fmul float %249, %254
  %258 = fmul float %249, %256
  %259 = load float, ptr %42, align 4, !tbaa !11
  %260 = load float, ptr %37, align 4, !tbaa !11
  %261 = load i32, ptr %15, align 4, !tbaa !5
  %262 = uitofp i32 %261 to float
  %263 = call float @llvm.fmuladd.f32(float %260, float %262, float %259)
  %264 = fmul float 0.000000e+00, %263
  %265 = fmul float 1.000000e+00, %263
  %266 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 0
  %267 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 1
  store float %264, ptr %266, align 4
  store float %265, ptr %267, align 4
  %268 = load <2 x float>, ptr %43, align 4
  %269 = call <2 x float> @cexpf(<2 x float> noundef %268) #9
  store <2 x float> %269, ptr %44, align 4
  %270 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 0
  %271 = load float, ptr %270, align 4
  %272 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 1
  %273 = load float, ptr %272, align 4
  %274 = fmul float %257, %271
  %275 = fmul float %258, %273
  %276 = fmul float %257, %273
  %277 = fmul float %258, %271
  %278 = fsub float %274, %275
  %279 = fadd float %276, %277
  %280 = fcmp uno float %278, %278
  br i1 %280, label %281, label %289, !prof !16

281:                                              ; preds = %248
  %282 = fcmp uno float %279, %279
  br i1 %282, label %283, label %289, !prof !16

283:                                              ; preds = %281
  %284 = call <2 x float> @__mulsc3(float noundef %257, float noundef %258, float noundef %271, float noundef %273) #9
  store <2 x float> %284, ptr %45, align 4
  %285 = getelementptr inbounds { float, float }, ptr %45, i32 0, i32 0
  %286 = load float, ptr %285, align 4
  %287 = getelementptr inbounds { float, float }, ptr %45, i32 0, i32 1
  %288 = load float, ptr %287, align 4
  br label %289

289:                                              ; preds = %283, %281, %248
  %290 = phi float [ %278, %248 ], [ %278, %281 ], [ %286, %283 ]
  %291 = phi float [ %279, %248 ], [ %279, %281 ], [ %288, %283 ]
  %292 = load i32, ptr %15, align 4, !tbaa !5
  %293 = zext i32 %292 to i64
  %294 = getelementptr inbounds { float, float }, ptr %124, i64 %293
  %295 = getelementptr inbounds { float, float }, ptr %294, i32 0, i32 0
  %296 = getelementptr inbounds { float, float }, ptr %294, i32 0, i32 1
  store float %290, ptr %295, align 8
  store float %291, ptr %296, align 4
  %297 = load float, ptr %19, align 4, !tbaa !11
  %298 = call float (...) @randnf()
  %299 = call float (...) @randnf()
  %300 = fmul float 0.000000e+00, %299
  %301 = fmul float 1.000000e+00, %299
  %302 = fadd float %298, %300
  %303 = fmul float %297, %302
  %304 = fmul float %297, %301
  %305 = fpext float %303 to double
  %306 = fpext float %304 to double
  %307 = fmul double %305, 0x3FE6A09E667F3BCD
  %308 = fmul double %306, 0x3FE6A09E667F3BCD
  %309 = load i32, ptr %15, align 4, !tbaa !5
  %310 = zext i32 %309 to i64
  %311 = getelementptr inbounds { float, float }, ptr %124, i64 %310
  %312 = getelementptr inbounds { float, float }, ptr %311, i32 0, i32 0
  %313 = load float, ptr %312, align 8
  %314 = getelementptr inbounds { float, float }, ptr %311, i32 0, i32 1
  %315 = load float, ptr %314, align 4
  %316 = fpext float %313 to double
  %317 = fpext float %315 to double
  %318 = fadd double %316, %307
  %319 = fadd double %317, %308
  %320 = fptrunc double %318 to float
  %321 = fptrunc double %319 to float
  %322 = getelementptr inbounds { float, float }, ptr %311, i32 0, i32 0
  %323 = getelementptr inbounds { float, float }, ptr %311, i32 0, i32 1
  store float %320, ptr %322, align 8
  store float %321, ptr %323, align 4
  br label %324

324:                                              ; preds = %289
  %325 = load i32, ptr %15, align 4, !tbaa !5
  %326 = add i32 %325, 1
  store i32 %326, ptr %15, align 4, !tbaa !5
  br label %244, !llvm.loop !17

327:                                              ; preds = %244
  %328 = load ptr, ptr %25, align 8, !tbaa !9
  %329 = load i32, ptr %18, align 4, !tbaa !5
  %330 = call i32 @ofdmframesync_execute(ptr noundef %328, ptr noundef %124, i32 noundef %329)
  %331 = load i32, ptr %24, align 4, !tbaa !5
  %332 = load i32, ptr %39, align 4, !tbaa !5
  %333 = add i32 %332, %331
  store i32 %333, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  %334 = load ptr, ptr %25, align 8, !tbaa !9
  %335 = call float @ofdmframesync_get_cfo(ptr noundef %334)
  store float %335, ptr %46, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  %336 = load float, ptr %37, align 4, !tbaa !11
  %337 = load float, ptr %46, align 4, !tbaa !11
  %338 = fsub float %336, %337
  store float %338, ptr %47, align 4, !tbaa !11
  %339 = load float, ptr %47, align 4, !tbaa !11
  %340 = load float, ptr %40, align 4, !tbaa !11
  %341 = fadd float %340, %339
  store float %341, ptr %40, align 4, !tbaa !11
  %342 = load float, ptr %47, align 4, !tbaa !11
  %343 = load float, ptr %47, align 4, !tbaa !11
  %344 = load float, ptr %41, align 4, !tbaa !11
  %345 = call float @llvm.fmuladd.f32(float %342, float %343, float %344)
  store float %345, ptr %41, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %346

346:                                              ; preds = %327
  %347 = load i32, ptr %38, align 4, !tbaa !5
  %348 = add i32 %347, 1
  store i32 %348, ptr %38, align 4, !tbaa !5
  br label %232, !llvm.loop !18

349:                                              ; preds = %232
  %350 = load i32, ptr %11, align 4, !tbaa !5
  %351 = uitofp i32 %350 to float
  %352 = load float, ptr %40, align 4, !tbaa !11
  %353 = fdiv float %352, %351
  store float %353, ptr %40, align 4, !tbaa !11
  %354 = load i32, ptr %11, align 4, !tbaa !5
  %355 = uitofp i32 %354 to float
  %356 = load float, ptr %41, align 4, !tbaa !11
  %357 = fdiv float %356, %355
  store float %357, ptr %41, align 4, !tbaa !11
  %358 = load float, ptr %41, align 4, !tbaa !11
  %359 = call float @sqrtf(float noundef %358) #9
  store float %359, ptr %41, align 4, !tbaa !11
  %360 = load i32, ptr %29, align 4, !tbaa !5
  %361 = load float, ptr %37, align 4, !tbaa !11
  %362 = fpext float %361 to double
  %363 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i32 noundef %360, double noundef %362)
  %364 = load i32, ptr %39, align 4, !tbaa !5
  %365 = load i32, ptr %11, align 4, !tbaa !5
  %366 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i32 noundef %364, i32 noundef %365)
  %367 = load float, ptr %40, align 4, !tbaa !11
  %368 = fpext float %367 to double
  %369 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %368)
  %370 = load float, ptr %41, align 4, !tbaa !11
  %371 = fpext float %370 to double
  %372 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, double noundef %371)
  %373 = call i32 (ptr, ...) @printf(ptr noundef @.str.33)
  %374 = load ptr, ptr %36, align 8, !tbaa !9
  %375 = load i32, ptr %29, align 4, !tbaa !5
  %376 = load float, ptr %37, align 4, !tbaa !11
  %377 = fpext float %376 to double
  %378 = load i32, ptr %39, align 4, !tbaa !5
  %379 = load i32, ptr %11, align 4, !tbaa !5
  %380 = load float, ptr %40, align 4, !tbaa !11
  %381 = fpext float %380 to double
  %382 = load float, ptr %41, align 4, !tbaa !11
  %383 = fpext float %382 to double
  %384 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %374, ptr noundef @.str.34, i32 noundef %375, double noundef %377, i32 noundef %378, i32 noundef %379, double noundef %381, double noundef %383) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  br label %385

385:                                              ; preds = %349
  %386 = load i32, ptr %29, align 4, !tbaa !5
  %387 = add i32 %386, 1
  store i32 %387, ptr %29, align 4, !tbaa !5
  br label %222, !llvm.loop !19

388:                                              ; preds = %222
  %389 = load ptr, ptr %23, align 8, !tbaa !9
  %390 = call i32 @ofdmframegen_destroy(ptr noundef %389)
  %391 = load ptr, ptr %25, align 8, !tbaa !9
  %392 = call i32 @ofdmframesync_destroy(ptr noundef %391)
  %393 = load ptr, ptr %36, align 8, !tbaa !9
  %394 = call i32 @fclose(ptr noundef %393)
  %395 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef @.str.10)
  %396 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  %397 = load ptr, ptr %21, align 8
  call void @llvm.stackrestore.p0(ptr %397)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %398

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

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

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

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

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

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

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

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

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

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

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() #3

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

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, ...) #3

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

declare i32 @ofdmframesync_reset(ptr noundef) #1

declare float @randf(...) #1

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

declare <2 x float> @__mulsc3(float, float, float, float)

declare float @randnf(...) #1

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

declare float @ofdmframesync_get_cfo(ptr noundef) #1

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

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

declare i32 @ofdmframegen_destroy(ptr noundef) #1

declare i32 @ofdmframesync_destroy(ptr noundef) #1

declare i32 @fclose(ptr noundef) #1

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

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

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

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


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

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

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

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

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

.outer:                                           ; preds = %28, %2
  %.0134.ph = phi i32 [ %30, %28 ], [ 21, %2 ]
  %.0132.ph = phi i32 [ %.0132.ph267, %28 ], [ 500, %2 ]
  %.0126.ph = phi float [ %.0126.ph273, %28 ], [ 2.000000e+01, %2 ]
  %.0124.ph = phi i32 [ %.0124.ph278, %28 ], [ 4, %2 ]
  %.0122.ph = phi i32 [ %.0122.ph282, %28 ], [ 16, %2 ]
  %.0121.ph = phi i32 [ %.0121, %28 ], [ 64, %2 ]
  br label %.outer266

.outer266:                                        ; preds = %.outer, %25
  %.0132.ph267 = phi i32 [ %.0132.ph, %.outer ], [ %27, %25 ]
  %.0126.ph268 = phi float [ %.0126.ph, %.outer ], [ %.0126.ph273, %25 ]
  %.0124.ph269 = phi i32 [ %.0124.ph, %.outer ], [ %.0124.ph278, %25 ]
  %.0122.ph270 = phi i32 [ %.0122.ph, %.outer ], [ %.0122.ph282, %25 ]
  %.0121.ph271 = phi i32 [ %.0121.ph, %.outer ], [ %.0121, %25 ]
  br label %.outer272

.outer272:                                        ; preds = %.outer266, %21
  %.0126.ph273 = phi float [ %.0126.ph268, %.outer266 ], [ %24, %21 ]
  %.0124.ph274 = phi i32 [ %.0124.ph269, %.outer266 ], [ %.0124.ph278, %21 ]
  %.0122.ph275 = phi i32 [ %.0122.ph270, %.outer266 ], [ %.0122.ph282, %21 ]
  %.0121.ph276 = phi i32 [ %.0121.ph271, %.outer266 ], [ %.0121, %21 ]
  br label %.outer277

.outer277:                                        ; preds = %.outer272, %18
  %.0124.ph278 = phi i32 [ %.0124.ph274, %.outer272 ], [ %20, %18 ]
  %.0122.ph279 = phi i32 [ %.0122.ph275, %.outer272 ], [ %.0122.ph282, %18 ]
  %.0121.ph280 = phi i32 [ %.0121.ph276, %.outer272 ], [ %.0121, %18 ]
  br label %.outer281

.outer281:                                        ; preds = %.outer277, %15
  %.0122.ph282 = phi i32 [ %.0122.ph279, %.outer277 ], [ %17, %15 ]
  %.0121.ph283 = phi i32 [ %.0121.ph280, %.outer277 ], [ %.0121, %15 ]
  br label %9

9:                                                ; preds = %.outer281, %12
  %.0121 = phi i32 [ %14, %12 ], [ %.0121.ph283, %.outer281 ]
  %10 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.8) #11
  switch i32 %10, label %31 [
    i32 -1, label %32
    i32 104, label %11
    i32 77, label %12
    i32 67, label %15
    i32 84, label %18
    i32 83, label %21
    i32 116, label %25
    i32 115, label %28
  ]

11:                                               ; preds = %9
  tail call void @usage()
  br label %199

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

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

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

21:                                               ; preds = %9
  %22 = load ptr, ptr @optarg, align 8, !tbaa !5
  %23 = tail call double @atof(ptr noundef %22) #12
  %24 = fptrunc double %23 to float
  br label %.outer272, !llvm.loop !9

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

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

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

32:                                               ; preds = %9
  %33 = add i32 %.0121, %.0122.ph282
  %.fr = freeze i32 %33
  %34 = shl i32 %.fr, 2
  %35 = fadd float %.0126.ph273, -3.000000e+01
  %36 = fdiv float %35, 2.000000e+01
  %37 = tail call float @powf(float noundef 1.000000e+01, float noundef %36) #11
  %38 = fpext float %37 to double
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %38)
  %40 = zext i32 %.0121 to i64
  %41 = tail call ptr @llvm.stacksave.p0()
  %42 = alloca i8, i64 %40, align 16
  %43 = call i32 @ofdmframe_init_default_sctype(i32 noundef %.0121, ptr noundef nonnull %42) #11
  %44 = call ptr @ofdmframegen_create(i32 noundef %.0121, i32 noundef %.0122.ph282, i32 noundef %.0124.ph278, ptr noundef nonnull %42) #11
  %45 = call i32 @ofdmframegen_print(ptr noundef %44) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  %46 = call ptr @ofdmframesync_create(i32 noundef %.0121, i32 noundef %.0122.ph282, i32 noundef %.0124.ph278, ptr noundef nonnull %42, ptr noundef nonnull @callback, ptr noundef nonnull %3) #11
  %47 = call i32 @ofdmframesync_print(ptr noundef %46) #11
  %48 = alloca { float, float }, i64 %40, align 16
  %49 = zext i32 %34 to i64
  %50 = alloca { float, float }, i64 %49, align 16
  %51 = alloca { float, float }, i64 %49, align 16
  %52 = call i32 @ofdmframegen_write_S0a(ptr noundef %44, ptr noundef nonnull %50) #11
  %53 = zext i32 %.fr to i64
  %54 = getelementptr inbounds { float, float }, ptr %50, i64 %53
  %55 = call i32 @ofdmframegen_write_S0b(ptr noundef %44, ptr noundef nonnull %54) #11
  %56 = shl i32 %.fr, 1
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds { float, float }, ptr %50, i64 %57
  %59 = call i32 @ofdmframegen_write_S1(ptr noundef %44, ptr noundef nonnull %58) #11
  %60 = mul i32 %.fr, 3
  %.not = icmp eq i32 %.0121, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %32, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %32 ]
  %61 = call i32 @rand() #11
  %62 = and i32 %61, 1
  %.not140 = icmp eq i32 %62, 0
  %63 = select i1 %.not140, float -1.000000e+00, float 1.000000e+00
  %64 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv
  %65 = getelementptr inbounds i8, ptr %64, i64 4
  store float %63, ptr %64, align 8
  store float 0.000000e+00, ptr %65, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %40
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %32
  %66 = zext i32 %60 to i64
  %67 = getelementptr inbounds { float, float }, ptr %50, i64 %66
  %68 = call i32 @ofdmframegen_writesymbol(ptr noundef %44, ptr noundef nonnull %48, ptr noundef nonnull %67) #11
  %69 = uitofp i32 %.0121 to float
  %70 = fpext float %69 to double
  %71 = fdiv double 0x40069E955B62F741, %70
  %72 = fptrunc double %71 to float
  %73 = add i32 %.0134.ph, -1
  %74 = uitofp i32 %73 to float
  %75 = fdiv float %72, %74
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #11
  store i32 0, ptr %4, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #11
  store i32 0, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #11
  store i32 0, ptr %6, align 4, !tbaa !12
  %76 = call i32 @ofdmframe_validate_sctype(ptr noundef nonnull %42, i32 noundef %.0121, ptr noundef nonnull %6, ptr noundef nonnull %5, ptr noundef nonnull %4) #11
  %77 = call noalias ptr @fopen(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11)
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.10) #11
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.13) #11
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.14, i32 noundef %.0121) #11
  %81 = load i32, ptr %4, align 4, !tbaa !12
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.15, i32 noundef %81) #11
  %83 = load i32, ptr %5, align 4, !tbaa !12
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.16, i32 noundef %83) #11
  %85 = load i32, ptr %6, align 4, !tbaa !12
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.17, i32 noundef %85) #11
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.18, i32 noundef %.0122.ph282) #11
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.19, i32 noundef %34) #11
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.20, double noundef -3.000000e+01) #11
  %90 = fpext float %.0126.ph273 to double
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.21, double noundef %90) #11
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.13) #11
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.28) #11
  %.not187 = icmp eq i32 %.0134.ph, 0
  br i1 %.not187, label %._crit_edge177, label %.lr.ph176

.lr.ph176:                                        ; preds = %._crit_edge
  %.not188 = icmp eq i32 %.0132.ph267, 0
  %.not190 = icmp eq i32 %34, 0
  %94 = uitofp i32 %.0132.ph267 to float
  br i1 %.not188, label %.lr.ph176.split, label %.lr.ph164.us.preheader

.lr.ph164.us.preheader:                           ; preds = %.lr.ph176
  %95 = insertelement <2 x float> poison, float %37, i64 0
  %96 = shufflevector <2 x float> %95, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph164.us

.lr.ph164.us:                                     ; preds = %.lr.ph164.us.preheader, %._crit_edge165.us
  %.0138173.us = phi i32 [ %121, %._crit_edge165.us ], [ 0, %.lr.ph164.us.preheader ]
  %97 = uitofp i32 %.0138173.us to float
  %98 = call float @llvm.fmuladd.f32(float %75, float %97, float 0.000000e+00)
  br i1 %.not190, label %.lr.ph164.split.us186, label %.lr.ph156.us.us

.lr.ph164.split.us186:                            ; preds = %.lr.ph164.us, %.lr.ph164.split.us186
  %.0128161.us178 = phi float [ %107, %.lr.ph164.split.us186 ], [ 0.000000e+00, %.lr.ph164.us ]
  %.0129160.us179 = phi float [ %106, %.lr.ph164.split.us186 ], [ 0.000000e+00, %.lr.ph164.us ]
  %.0130159.us180 = phi i32 [ %103, %.lr.ph164.split.us186 ], [ 0, %.lr.ph164.us ]
  %.0131158.us181 = phi i32 [ %108, %.lr.ph164.split.us186 ], [ 0, %.lr.ph164.us ]
  %99 = call i32 @ofdmframesync_reset(ptr noundef %46) #11
  store i32 0, ptr %3, align 4, !tbaa !12
  %100 = call float (...) @randf() #11
  %101 = call i32 @ofdmframesync_execute(ptr noundef %46, ptr noundef nonnull %51, i32 noundef 0) #11
  %102 = load i32, ptr %3, align 4, !tbaa !12
  %103 = add i32 %102, %.0130159.us180
  %104 = call float @ofdmframesync_get_cfo(ptr noundef %46) #11
  %105 = fsub float %98, %104
  %106 = fadd float %.0129160.us179, %105
  %107 = call float @llvm.fmuladd.f32(float %105, float %105, float %.0128161.us178)
  %108 = add nuw i32 %.0131158.us181, 1
  %exitcond217.not = icmp eq i32 %108, %.0132.ph267
  br i1 %exitcond217.not, label %._crit_edge165.us, label %.lr.ph164.split.us186, !llvm.loop !14

._crit_edge165.us:                                ; preds = %._crit_edge157.us.us, %.lr.ph164.split.us186
  %.us-phi.us = phi i32 [ %103, %.lr.ph164.split.us186 ], [ %173, %._crit_edge157.us.us ]
  %.us-phi170.us = phi float [ %106, %.lr.ph164.split.us186 ], [ %176, %._crit_edge157.us.us ]
  %.us-phi171.us = phi float [ %107, %.lr.ph164.split.us186 ], [ %177, %._crit_edge157.us.us ]
  %109 = fdiv float %.us-phi170.us, %94
  %110 = fdiv float %.us-phi171.us, %94
  %111 = call float @sqrtf(float noundef %110) #11
  %112 = fpext float %98 to double
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29, i32 noundef %.0138173.us, double noundef %112)
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, i32 noundef %.us-phi.us, i32 noundef %.0132.ph267)
  %115 = fpext float %109 to double
  %116 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %115)
  %117 = fpext float %111 to double
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, double noundef %117)
  %119 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.33)
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.34, i32 noundef %.0138173.us, double noundef %112, i32 noundef %.us-phi.us, i32 noundef %.0132.ph267, double noundef %115, double noundef %117) #11
  %121 = add nuw i32 %.0138173.us, 1
  %exitcond218.not = icmp eq i32 %121, %.0134.ph
  br i1 %exitcond218.not, label %._crit_edge177, label %.lr.ph164.us, !llvm.loop !15

.lr.ph156.us.us:                                  ; preds = %.lr.ph164.us, %._crit_edge157.us.us
  %.0128161.us.us = phi float [ %177, %._crit_edge157.us.us ], [ 0.000000e+00, %.lr.ph164.us ]
  %.0129160.us.us = phi float [ %176, %._crit_edge157.us.us ], [ 0.000000e+00, %.lr.ph164.us ]
  %.0130159.us.us = phi i32 [ %173, %._crit_edge157.us.us ], [ 0, %.lr.ph164.us ]
  %.0131158.us.us = phi i32 [ %178, %._crit_edge157.us.us ], [ 0, %.lr.ph164.us ]
  %122 = call i32 @ofdmframesync_reset(ptr noundef %46) #11
  store i32 0, ptr %3, align 4, !tbaa !12
  %123 = call float (...) @randf() #11
  %124 = fmul float %123, 2.000000e+00
  %125 = fpext float %124 to double
  %126 = fmul double %125, 0x400921FB54442D18
  %127 = fptrunc double %126 to float
  br label %128

128:                                              ; preds = %153, %.lr.ph156.us.us
  %indvars.iv211 = phi i64 [ %indvars.iv.next212, %153 ], [ 0, %.lr.ph156.us.us ]
  %129 = getelementptr inbounds { float, float }, ptr %50, i64 %indvars.iv211
  %130 = trunc nuw i64 %indvars.iv211 to i32
  %131 = uitofp i32 %130 to float
  %132 = call float @llvm.fmuladd.f32(float %98, float %131, float %127)
  %133 = fmul float %132, 0.000000e+00
  %.sroa.05.0.vec.insert.us.us = insertelement <2 x float> poison, float %133, i64 0
  %.sroa.05.4.vec.insert.us.us = insertelement <2 x float> %.sroa.05.0.vec.insert.us.us, float %132, i64 1
  %134 = load <2 x float>, ptr %129, align 8
  %135 = fmul <2 x float> %96, %134
  %136 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.05.4.vec.insert.us.us) #11
  %137 = fmul <2 x float> %135, %136
  %138 = shufflevector <2 x float> %136, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %139 = fmul <2 x float> %135, %138
  %shift = shufflevector <2 x float> %137, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %140 = fsub <2 x float> %137, %shift
  %141 = extractelement <2 x float> %140, i64 0
  %shift258 = shufflevector <2 x float> %139, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %142 = fadd <2 x float> %139, %shift258
  %143 = extractelement <2 x float> %142, i64 0
  %144 = fcmp uno float %141, 0.000000e+00
  br i1 %144, label %145, label %153, !prof !16

145:                                              ; preds = %128
  %146 = fcmp uno float %143, 0.000000e+00
  br i1 %146, label %147, label %153, !prof !16

147:                                              ; preds = %145
  %148 = extractelement <2 x float> %135, i64 0
  %149 = extractelement <2 x float> %135, i64 1
  %150 = extractelement <2 x float> %136, i64 0
  %151 = extractelement <2 x float> %136, i64 1
  %152 = call <2 x float> @__mulsc3(float noundef %148, float noundef %149, float noundef %150, float noundef %151) #11
  %.sroa.0.0.vec.extract.us.us = extractelement <2 x float> %152, i64 0
  %.sroa.0.4.vec.extract.us.us = extractelement <2 x float> %152, i64 1
  br label %153

153:                                              ; preds = %147, %145, %128
  %154 = phi float [ %141, %128 ], [ %141, %145 ], [ %.sroa.0.0.vec.extract.us.us, %147 ]
  %155 = phi float [ %143, %128 ], [ %143, %145 ], [ %.sroa.0.4.vec.extract.us.us, %147 ]
  %156 = getelementptr inbounds { float, float }, ptr %51, i64 %indvars.iv211
  %157 = getelementptr inbounds i8, ptr %156, i64 4
  store float %154, ptr %156, align 8
  store float %155, ptr %157, align 4
  %158 = call float (...) @randnf() #11
  %159 = call float (...) @randnf() #11
  %160 = fmul float %159, 0.000000e+00
  %161 = fadd float %158, %160
  %162 = insertelement <2 x float> poison, float %161, i64 0
  %163 = insertelement <2 x float> %162, float %159, i64 1
  %164 = fmul <2 x float> %163, <float 0x3FA030DC40000000, float 0x3FA030DC40000000>
  %165 = fpext <2 x float> %164 to <2 x double>
  %166 = fmul <2 x double> %165, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %167 = load <2 x float>, ptr %156, align 8
  %168 = fpext <2 x float> %167 to <2 x double>
  %169 = fadd <2 x double> %166, %168
  %170 = fptrunc <2 x double> %169 to <2 x float>
  store <2 x float> %170, ptr %156, align 8
  %indvars.iv.next212 = add nuw nsw i64 %indvars.iv211, 1
  %exitcond215.not = icmp eq i64 %indvars.iv.next212, %49
  br i1 %exitcond215.not, label %._crit_edge157.us.us, label %128, !llvm.loop !17

._crit_edge157.us.us:                             ; preds = %153
  %171 = call i32 @ofdmframesync_execute(ptr noundef %46, ptr noundef nonnull %51, i32 noundef %34) #11
  %172 = load i32, ptr %3, align 4, !tbaa !12
  %173 = add i32 %172, %.0130159.us.us
  %174 = call float @ofdmframesync_get_cfo(ptr noundef %46) #11
  %175 = fsub float %98, %174
  %176 = fadd float %.0129160.us.us, %175
  %177 = call float @llvm.fmuladd.f32(float %175, float %175, float %.0128161.us.us)
  %178 = add nuw i32 %.0131158.us.us, 1
  %exitcond216.not = icmp eq i32 %178, %.0132.ph267
  br i1 %exitcond216.not, label %._crit_edge165.us, label %.lr.ph156.us.us, !llvm.loop !14

.lr.ph176.split:                                  ; preds = %.lr.ph176
  %179 = fdiv float 0.000000e+00, %94
  %180 = fpext float %179 to double
  br label %181

181:                                              ; preds = %.lr.ph176.split, %181
  %.0138173 = phi i32 [ 0, %.lr.ph176.split ], [ %193, %181 ]
  %182 = uitofp i32 %.0138173 to float
  %183 = call float @llvm.fmuladd.f32(float %75, float %182, float 0.000000e+00)
  %184 = call float @sqrtf(float noundef %179) #11
  %185 = fpext float %183 to double
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29, i32 noundef %.0138173, double noundef %185)
  %187 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, i32 noundef 0, i32 noundef 0)
  %188 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %180)
  %189 = fpext float %184 to double
  %190 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, double noundef %189)
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.33)
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.34, i32 noundef %.0138173, double noundef %185, i32 noundef 0, i32 noundef 0, double noundef %180, double noundef %189) #11
  %193 = add nuw i32 %.0138173, 1
  %exitcond219.not = icmp eq i32 %193, %.0134.ph
  br i1 %exitcond219.not, label %._crit_edge177, label %181, !llvm.loop !15

._crit_edge177:                                   ; preds = %._crit_edge165.us, %181, %._crit_edge
  %194 = call i32 @ofdmframegen_destroy(ptr noundef %44) #11
  %195 = call i32 @ofdmframesync_destroy(ptr noundef %46) #11
  %196 = call i32 @fclose(ptr noundef %77)
  %197 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull @.str.10)
  %198 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.36)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.stackrestore.p0(ptr %41)
  br label %199

199:                                              ; preds = %._crit_edge177, %11
  ret i32 0
}

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

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

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

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

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

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

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

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

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

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

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

declare i32 @ofdmframegen_print(ptr noundef) local_unnamed_addr #9

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

; 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 #9

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

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

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

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

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

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

; 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: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #10

declare i32 @ofdmframesync_reset(ptr noundef) local_unnamed_addr #9

declare float @randf(...) local_unnamed_addr #9

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

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

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

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

declare float @ofdmframesync_get_cfo(ptr noundef) local_unnamed_addr #9

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

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

declare i32 @ofdmframegen_destroy(ptr noundef) local_unnamed_addr #9

declare i32 @ofdmframesync_destroy(ptr noundef) local_unnamed_addr #9

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #9 = { "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 }
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 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = !{!"branch_weights", i32 1, i32 1048575}
!17 = distinct !{!17, !10}


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