; LLVM IR from jgaeddert/liquid-dsp :: src/multichannel/src (ofdmframesync)

; 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.ofdmframesync_s = type { i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, float, float, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, float, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, float, float, i32, i32, i32, { float, float }, { float, float }, float, float, ptr, ptr }

@.str = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [54 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @ofdmframesync_create(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  store i32 %0, ptr %8, align 4, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !9
  %18 = load i32, ptr %8, align 4, !tbaa !5
  %19 = icmp ult i32 %18, 8
  br i1 %19, label %20, label %22

20:                                               ; preds = %6
  %21 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 189, ptr noundef @.str.1)
  store ptr %21, ptr %7, align 8
  br label %393

22:                                               ; preds = %6
  %23 = load i32, ptr %8, align 4, !tbaa !5
  %24 = urem i32 %23, 2
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %28

26:                                               ; preds = %22
  %27 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 191, ptr noundef @.str.2)
  store ptr %27, ptr %7, align 8
  br label %393

28:                                               ; preds = %22
  %29 = load i32, ptr %9, align 4, !tbaa !5
  %30 = load i32, ptr %8, align 4, !tbaa !5
  %31 = icmp ugt i32 %29, %30
  br i1 %31, label %32, label %34

32:                                               ; preds = %28
  %33 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 193, ptr noundef @.str.3)
  store ptr %33, ptr %7, align 8
  br label %393

34:                                               ; preds = %28
  %35 = load i32, ptr %10, align 4, !tbaa !5
  %36 = load i32, ptr %9, align 4, !tbaa !5
  %37 = icmp ugt i32 %35, %36
  br i1 %37, label %38, label %40

38:                                               ; preds = %34
  %39 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 195, ptr noundef @.str.4)
  store ptr %39, ptr %7, align 8
  br label %393

40:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %41 = call noalias ptr @malloc(i64 noundef 272) #8
  store ptr %41, ptr %14, align 8, !tbaa !9
  %42 = load i32, ptr %8, align 4, !tbaa !5
  %43 = load ptr, ptr %14, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.ofdmframesync_s, ptr %43, i32 0, i32 0
  store i32 %42, ptr %44, align 8, !tbaa !11
  %45 = load i32, ptr %9, align 4, !tbaa !5
  %46 = load ptr, ptr %14, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.ofdmframesync_s, ptr %46, i32 0, i32 2
  store i32 %45, ptr %47, align 8, !tbaa !14
  %48 = load i32, ptr %10, align 4, !tbaa !5
  %49 = load ptr, ptr %14, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.ofdmframesync_s, ptr %49, i32 0, i32 4
  store i32 %48, ptr %50, align 8, !tbaa !15
  %51 = load i32, ptr %8, align 4, !tbaa !5
  %52 = udiv i32 %51, 2
  %53 = load ptr, ptr %14, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.ofdmframesync_s, ptr %53, i32 0, i32 1
  store i32 %52, ptr %54, align 4, !tbaa !16
  %55 = load ptr, ptr %14, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.ofdmframesync_s, ptr %55, i32 0, i32 0
  %57 = load i32, ptr %56, align 8, !tbaa !11
  %58 = zext i32 %57 to i64
  %59 = mul i64 %58, 1
  %60 = call noalias ptr @malloc(i64 noundef %59) #8
  %61 = load ptr, ptr %14, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct.ofdmframesync_s, ptr %61, i32 0, i32 3
  store ptr %60, ptr %62, align 8, !tbaa !17
  %63 = load ptr, ptr %11, align 8, !tbaa !9
  %64 = icmp eq ptr %63, null
  br i1 %64, label %65, label %73

65:                                               ; preds = %40
  %66 = load ptr, ptr %14, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.ofdmframesync_s, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !11
  %69 = load ptr, ptr %14, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.ofdmframesync_s, ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !17
  %72 = call i32 @ofdmframe_init_default_sctype(i32 noundef %68, ptr noundef %71)
  br label %83

73:                                               ; preds = %40
  %74 = load ptr, ptr %14, align 8, !tbaa !9
  %75 = getelementptr inbounds %struct.ofdmframesync_s, ptr %74, i32 0, i32 3
  %76 = load ptr, ptr %75, align 8, !tbaa !17
  %77 = load ptr, ptr %11, align 8, !tbaa !9
  %78 = load ptr, ptr %14, align 8, !tbaa !9
  %79 = getelementptr inbounds %struct.ofdmframesync_s, ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 8, !tbaa !11
  %81 = zext i32 %80 to i64
  %82 = mul i64 %81, 1
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %76, ptr align 1 %77, i64 %82, i1 false)
  br label %83

83:                                               ; preds = %73, %65
  %84 = load ptr, ptr %14, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.ofdmframesync_s, ptr %84, i32 0, i32 3
  %86 = load ptr, ptr %85, align 8, !tbaa !17
  %87 = load ptr, ptr %14, align 8, !tbaa !9
  %88 = getelementptr inbounds %struct.ofdmframesync_s, ptr %87, i32 0, i32 0
  %89 = load i32, ptr %88, align 8, !tbaa !11
  %90 = load ptr, ptr %14, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.ofdmframesync_s, ptr %90, i32 0, i32 5
  %92 = load ptr, ptr %14, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.ofdmframesync_s, ptr %92, i32 0, i32 6
  %94 = load ptr, ptr %14, align 8, !tbaa !9
  %95 = getelementptr inbounds %struct.ofdmframesync_s, ptr %94, i32 0, i32 7
  %96 = call i32 @ofdmframe_validate_sctype(ptr noundef %86, i32 noundef %89, ptr noundef %91, ptr noundef %93, ptr noundef %95)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %100

98:                                               ; preds = %83
  %99 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 216, ptr noundef @.str.5)
  store ptr %99, ptr %7, align 8
  store i32 1, ptr %15, align 4
  br label %392

100:                                              ; preds = %83
  %101 = load ptr, ptr %14, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.ofdmframesync_s, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 8, !tbaa !11
  %104 = zext i32 %103 to i64
  %105 = mul i64 %104, 8
  %106 = call noalias ptr @malloc(i64 noundef %105) #8
  %107 = load ptr, ptr %14, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.ofdmframesync_s, ptr %107, i32 0, i32 14
  store ptr %106, ptr %108, align 8, !tbaa !18
  %109 = load ptr, ptr %14, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.ofdmframesync_s, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 8, !tbaa !11
  %112 = zext i32 %111 to i64
  %113 = mul i64 %112, 8
  %114 = call noalias ptr @malloc(i64 noundef %113) #8
  %115 = load ptr, ptr %14, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.ofdmframesync_s, ptr %115, i32 0, i32 15
  store ptr %114, ptr %116, align 8, !tbaa !19
  %117 = load ptr, ptr %14, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.ofdmframesync_s, ptr %117, i32 0, i32 0
  %119 = load i32, ptr %118, align 8, !tbaa !11
  %120 = load ptr, ptr %14, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.ofdmframesync_s, ptr %120, i32 0, i32 15
  %122 = load ptr, ptr %121, align 8, !tbaa !19
  %123 = load ptr, ptr %14, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.ofdmframesync_s, ptr %123, i32 0, i32 14
  %125 = load ptr, ptr %124, align 8, !tbaa !18
  %126 = call ptr @fft_create_plan(i32 noundef %119, ptr noundef %122, ptr noundef %125, i32 noundef 1, i32 noundef 0)
  %127 = load ptr, ptr %14, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.ofdmframesync_s, ptr %127, i32 0, i32 13
  store ptr %126, ptr %128, align 8, !tbaa !20
  %129 = load ptr, ptr %14, align 8, !tbaa !9
  %130 = getelementptr inbounds %struct.ofdmframesync_s, ptr %129, i32 0, i32 0
  %131 = load i32, ptr %130, align 8, !tbaa !11
  %132 = load ptr, ptr %14, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.ofdmframesync_s, ptr %132, i32 0, i32 2
  %134 = load i32, ptr %133, align 8, !tbaa !14
  %135 = add i32 %131, %134
  %136 = call ptr @windowcf_create(i32 noundef %135)
  %137 = load ptr, ptr %14, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.ofdmframesync_s, ptr %137, i32 0, i32 16
  store ptr %136, ptr %138, align 8, !tbaa !21
  %139 = load ptr, ptr %14, align 8, !tbaa !9
  %140 = getelementptr inbounds %struct.ofdmframesync_s, ptr %139, i32 0, i32 0
  %141 = load i32, ptr %140, align 8, !tbaa !11
  %142 = zext i32 %141 to i64
  %143 = mul i64 %142, 8
  %144 = call noalias ptr @malloc(i64 noundef %143) #8
  %145 = load ptr, ptr %14, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct.ofdmframesync_s, ptr %145, i32 0, i32 17
  store ptr %144, ptr %146, align 8, !tbaa !22
  %147 = load ptr, ptr %14, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.ofdmframesync_s, ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 8, !tbaa !11
  %150 = zext i32 %149 to i64
  %151 = mul i64 %150, 8
  %152 = call noalias ptr @malloc(i64 noundef %151) #8
  %153 = load ptr, ptr %14, align 8, !tbaa !9
  %154 = getelementptr inbounds %struct.ofdmframesync_s, ptr %153, i32 0, i32 18
  store ptr %152, ptr %154, align 8, !tbaa !23
  %155 = load ptr, ptr %14, align 8, !tbaa !9
  %156 = getelementptr inbounds %struct.ofdmframesync_s, ptr %155, i32 0, i32 0
  %157 = load i32, ptr %156, align 8, !tbaa !11
  %158 = zext i32 %157 to i64
  %159 = mul i64 %158, 8
  %160 = call noalias ptr @malloc(i64 noundef %159) #8
  %161 = load ptr, ptr %14, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct.ofdmframesync_s, ptr %161, i32 0, i32 19
  store ptr %160, ptr %162, align 8, !tbaa !24
  %163 = load ptr, ptr %14, align 8, !tbaa !9
  %164 = getelementptr inbounds %struct.ofdmframesync_s, ptr %163, i32 0, i32 0
  %165 = load i32, ptr %164, align 8, !tbaa !11
  %166 = zext i32 %165 to i64
  %167 = mul i64 %166, 8
  %168 = call noalias ptr @malloc(i64 noundef %167) #8
  %169 = load ptr, ptr %14, align 8, !tbaa !9
  %170 = getelementptr inbounds %struct.ofdmframesync_s, ptr %169, i32 0, i32 20
  store ptr %168, ptr %170, align 8, !tbaa !25
  %171 = load ptr, ptr %14, align 8, !tbaa !9
  %172 = getelementptr inbounds %struct.ofdmframesync_s, ptr %171, i32 0, i32 3
  %173 = load ptr, ptr %172, align 8, !tbaa !17
  %174 = load ptr, ptr %14, align 8, !tbaa !9
  %175 = getelementptr inbounds %struct.ofdmframesync_s, ptr %174, i32 0, i32 0
  %176 = load i32, ptr %175, align 8, !tbaa !11
  %177 = load ptr, ptr %14, align 8, !tbaa !9
  %178 = getelementptr inbounds %struct.ofdmframesync_s, ptr %177, i32 0, i32 17
  %179 = load ptr, ptr %178, align 8, !tbaa !22
  %180 = load ptr, ptr %14, align 8, !tbaa !9
  %181 = getelementptr inbounds %struct.ofdmframesync_s, ptr %180, i32 0, i32 18
  %182 = load ptr, ptr %181, align 8, !tbaa !23
  %183 = load ptr, ptr %14, align 8, !tbaa !9
  %184 = getelementptr inbounds %struct.ofdmframesync_s, ptr %183, i32 0, i32 8
  %185 = call i32 @ofdmframe_init_S0(ptr noundef %173, i32 noundef %176, ptr noundef %179, ptr noundef %182, ptr noundef %184)
  %186 = load ptr, ptr %14, align 8, !tbaa !9
  %187 = getelementptr inbounds %struct.ofdmframesync_s, ptr %186, i32 0, i32 3
  %188 = load ptr, ptr %187, align 8, !tbaa !17
  %189 = load ptr, ptr %14, align 8, !tbaa !9
  %190 = getelementptr inbounds %struct.ofdmframesync_s, ptr %189, i32 0, i32 0
  %191 = load i32, ptr %190, align 8, !tbaa !11
  %192 = load ptr, ptr %14, align 8, !tbaa !9
  %193 = getelementptr inbounds %struct.ofdmframesync_s, ptr %192, i32 0, i32 19
  %194 = load ptr, ptr %193, align 8, !tbaa !24
  %195 = load ptr, ptr %14, align 8, !tbaa !9
  %196 = getelementptr inbounds %struct.ofdmframesync_s, ptr %195, i32 0, i32 20
  %197 = load ptr, ptr %196, align 8, !tbaa !25
  %198 = load ptr, ptr %14, align 8, !tbaa !9
  %199 = getelementptr inbounds %struct.ofdmframesync_s, ptr %198, i32 0, i32 9
  %200 = call i32 @ofdmframe_init_S1(ptr noundef %188, i32 noundef %191, ptr noundef %194, ptr noundef %197, ptr noundef %199)
  %201 = load ptr, ptr %14, align 8, !tbaa !9
  %202 = getelementptr inbounds %struct.ofdmframesync_s, ptr %201, i32 0, i32 0
  %203 = load i32, ptr %202, align 8, !tbaa !11
  %204 = uitofp i32 %203 to float
  %205 = call float @sqrtf(float noundef %204) #7
  %206 = load ptr, ptr %14, align 8, !tbaa !9
  %207 = getelementptr inbounds %struct.ofdmframesync_s, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %207, align 8, !tbaa !26
  %209 = load ptr, ptr %14, align 8, !tbaa !9
  %210 = getelementptr inbounds %struct.ofdmframesync_s, ptr %209, i32 0, i32 7
  %211 = load i32, ptr %210, align 4, !tbaa !27
  %212 = add i32 %208, %211
  %213 = uitofp i32 %212 to float
  %214 = call float @sqrtf(float noundef %213) #7
  %215 = fdiv float %205, %214
  %216 = load ptr, ptr %14, align 8, !tbaa !9
  %217 = getelementptr inbounds %struct.ofdmframesync_s, ptr %216, i32 0, i32 10
  store float %215, ptr %217, align 8, !tbaa !28
  %218 = load ptr, ptr %14, align 8, !tbaa !9
  %219 = getelementptr inbounds %struct.ofdmframesync_s, ptr %218, i32 0, i32 0
  %220 = load i32, ptr %219, align 8, !tbaa !11
  %221 = uitofp i32 %220 to float
  %222 = call float @sqrtf(float noundef %221) #7
  %223 = load ptr, ptr %14, align 8, !tbaa !9
  %224 = getelementptr inbounds %struct.ofdmframesync_s, ptr %223, i32 0, i32 8
  %225 = load i32, ptr %224, align 8, !tbaa !29
  %226 = uitofp i32 %225 to float
  %227 = call float @sqrtf(float noundef %226) #7
  %228 = fdiv float %222, %227
  %229 = load ptr, ptr %14, align 8, !tbaa !9
  %230 = getelementptr inbounds %struct.ofdmframesync_s, ptr %229, i32 0, i32 11
  store float %228, ptr %230, align 4, !tbaa !30
  %231 = load ptr, ptr %14, align 8, !tbaa !9
  %232 = getelementptr inbounds %struct.ofdmframesync_s, ptr %231, i32 0, i32 0
  %233 = load i32, ptr %232, align 8, !tbaa !11
  %234 = uitofp i32 %233 to float
  %235 = call float @sqrtf(float noundef %234) #7
  %236 = load ptr, ptr %14, align 8, !tbaa !9
  %237 = getelementptr inbounds %struct.ofdmframesync_s, ptr %236, i32 0, i32 9
  %238 = load i32, ptr %237, align 4, !tbaa !31
  %239 = uitofp i32 %238 to float
  %240 = call float @sqrtf(float noundef %239) #7
  %241 = fdiv float %235, %240
  %242 = load ptr, ptr %14, align 8, !tbaa !9
  %243 = getelementptr inbounds %struct.ofdmframesync_s, ptr %242, i32 0, i32 12
  store float %241, ptr %243, align 8, !tbaa !32
  %244 = load ptr, ptr %14, align 8, !tbaa !9
  %245 = getelementptr inbounds %struct.ofdmframesync_s, ptr %244, i32 0, i32 21
  store float 1.000000e+00, ptr %245, align 8, !tbaa !33
  %246 = load ptr, ptr %14, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.ofdmframesync_s, ptr %246, i32 0, i32 0
  %248 = load i32, ptr %247, align 8, !tbaa !11
  %249 = zext i32 %248 to i64
  %250 = mul i64 %249, 8
  %251 = call noalias ptr @malloc(i64 noundef %250) #8
  %252 = load ptr, ptr %14, align 8, !tbaa !9
  %253 = getelementptr inbounds %struct.ofdmframesync_s, ptr %252, i32 0, i32 22
  store ptr %251, ptr %253, align 8, !tbaa !34
  %254 = load ptr, ptr %14, align 8, !tbaa !9
  %255 = getelementptr inbounds %struct.ofdmframesync_s, ptr %254, i32 0, i32 0
  %256 = load i32, ptr %255, align 8, !tbaa !11
  %257 = zext i32 %256 to i64
  %258 = mul i64 %257, 8
  %259 = call noalias ptr @malloc(i64 noundef %258) #8
  %260 = load ptr, ptr %14, align 8, !tbaa !9
  %261 = getelementptr inbounds %struct.ofdmframesync_s, ptr %260, i32 0, i32 23
  store ptr %259, ptr %261, align 8, !tbaa !35
  %262 = load ptr, ptr %14, align 8, !tbaa !9
  %263 = getelementptr inbounds %struct.ofdmframesync_s, ptr %262, i32 0, i32 0
  %264 = load i32, ptr %263, align 8, !tbaa !11
  %265 = zext i32 %264 to i64
  %266 = mul i64 %265, 8
  %267 = call noalias ptr @malloc(i64 noundef %266) #8
  %268 = load ptr, ptr %14, align 8, !tbaa !9
  %269 = getelementptr inbounds %struct.ofdmframesync_s, ptr %268, i32 0, i32 25
  store ptr %267, ptr %269, align 8, !tbaa !36
  %270 = load ptr, ptr %14, align 8, !tbaa !9
  %271 = getelementptr inbounds %struct.ofdmframesync_s, ptr %270, i32 0, i32 0
  %272 = load i32, ptr %271, align 8, !tbaa !11
  %273 = zext i32 %272 to i64
  %274 = mul i64 %273, 8
  %275 = call noalias ptr @malloc(i64 noundef %274) #8
  %276 = load ptr, ptr %14, align 8, !tbaa !9
  %277 = getelementptr inbounds %struct.ofdmframesync_s, ptr %276, i32 0, i32 26
  store ptr %275, ptr %277, align 8, !tbaa !37
  %278 = load ptr, ptr %14, align 8, !tbaa !9
  %279 = getelementptr inbounds %struct.ofdmframesync_s, ptr %278, i32 0, i32 0
  %280 = load i32, ptr %279, align 8, !tbaa !11
  %281 = zext i32 %280 to i64
  %282 = mul i64 %281, 8
  %283 = call noalias ptr @malloc(i64 noundef %282) #8
  %284 = load ptr, ptr %14, align 8, !tbaa !9
  %285 = getelementptr inbounds %struct.ofdmframesync_s, ptr %284, i32 0, i32 27
  store ptr %283, ptr %285, align 8, !tbaa !38
  %286 = load ptr, ptr %14, align 8, !tbaa !9
  %287 = getelementptr inbounds %struct.ofdmframesync_s, ptr %286, i32 0, i32 22
  %288 = load ptr, ptr %287, align 8, !tbaa !34
  %289 = load ptr, ptr %14, align 8, !tbaa !9
  %290 = getelementptr inbounds %struct.ofdmframesync_s, ptr %289, i32 0, i32 0
  %291 = load i32, ptr %290, align 8, !tbaa !11
  %292 = zext i32 %291 to i64
  %293 = mul i64 %292, 8
  call void @llvm.memset.p0.i64(ptr align 4 %288, i8 0, i64 %293, i1 false)
  %294 = load ptr, ptr %14, align 8, !tbaa !9
  %295 = getelementptr inbounds %struct.ofdmframesync_s, ptr %294, i32 0, i32 23
  %296 = load ptr, ptr %295, align 8, !tbaa !35
  %297 = load ptr, ptr %14, align 8, !tbaa !9
  %298 = getelementptr inbounds %struct.ofdmframesync_s, ptr %297, i32 0, i32 0
  %299 = load i32, ptr %298, align 8, !tbaa !11
  %300 = zext i32 %299 to i64
  %301 = mul i64 %300, 8
  call void @llvm.memset.p0.i64(ptr align 4 %296, i8 0, i64 %301, i1 false)
  %302 = load ptr, ptr %14, align 8, !tbaa !9
  %303 = getelementptr inbounds %struct.ofdmframesync_s, ptr %302, i32 0, i32 25
  %304 = load ptr, ptr %303, align 8, !tbaa !36
  %305 = load ptr, ptr %14, align 8, !tbaa !9
  %306 = getelementptr inbounds %struct.ofdmframesync_s, ptr %305, i32 0, i32 0
  %307 = load i32, ptr %306, align 8, !tbaa !11
  %308 = zext i32 %307 to i64
  %309 = mul i64 %308, 8
  call void @llvm.memset.p0.i64(ptr align 4 %304, i8 0, i64 %309, i1 false)
  %310 = load ptr, ptr %14, align 8, !tbaa !9
  %311 = getelementptr inbounds %struct.ofdmframesync_s, ptr %310, i32 0, i32 26
  %312 = load ptr, ptr %311, align 8, !tbaa !37
  %313 = load ptr, ptr %14, align 8, !tbaa !9
  %314 = getelementptr inbounds %struct.ofdmframesync_s, ptr %313, i32 0, i32 0
  %315 = load i32, ptr %314, align 8, !tbaa !11
  %316 = zext i32 %315 to i64
  %317 = mul i64 %316, 8
  call void @llvm.memset.p0.i64(ptr align 4 %312, i8 0, i64 %317, i1 false)
  %318 = load ptr, ptr %14, align 8, !tbaa !9
  %319 = getelementptr inbounds %struct.ofdmframesync_s, ptr %318, i32 0, i32 2
  %320 = load i32, ptr %319, align 8, !tbaa !14
  %321 = icmp ult i32 %320, 2
  br i1 %321, label %322, label %326

322:                                              ; preds = %100
  %323 = load ptr, ptr %14, align 8, !tbaa !9
  %324 = getelementptr inbounds %struct.ofdmframesync_s, ptr %323, i32 0, i32 2
  %325 = load i32, ptr %324, align 8, !tbaa !14
  br label %327

326:                                              ; preds = %100
  br label %327

327:                                              ; preds = %326, %322
  %328 = phi i32 [ %325, %322 ], [ 2, %326 ]
  %329 = load ptr, ptr %14, align 8, !tbaa !9
  %330 = getelementptr inbounds %struct.ofdmframesync_s, ptr %329, i32 0, i32 35
  store i32 %328, ptr %330, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %331 = load ptr, ptr %14, align 8, !tbaa !9
  %332 = getelementptr inbounds %struct.ofdmframesync_s, ptr %331, i32 0, i32 35
  %333 = load i32, ptr %332, align 8, !tbaa !39
  %334 = uitofp i32 %333 to float
  %335 = fmul float %334, 2.000000e+00
  %336 = fpext float %335 to double
  %337 = fmul double %336, 0x400921FB54442D18
  %338 = load ptr, ptr %14, align 8, !tbaa !9
  %339 = getelementptr inbounds %struct.ofdmframesync_s, ptr %338, i32 0, i32 0
  %340 = load i32, ptr %339, align 8, !tbaa !11
  %341 = uitofp i32 %340 to float
  %342 = fpext float %341 to double
  %343 = fdiv double %337, %342
  %344 = fptrunc double %343 to float
  store float %344, ptr %16, align 4, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %345

345:                                              ; preds = %373, %327
  %346 = load i32, ptr %17, align 4, !tbaa !5
  %347 = load ptr, ptr %14, align 8, !tbaa !9
  %348 = getelementptr inbounds %struct.ofdmframesync_s, ptr %347, i32 0, i32 0
  %349 = load i32, ptr %348, align 8, !tbaa !11
  %350 = icmp ult i32 %346, %349
  br i1 %350, label %351, label %376

351:                                              ; preds = %345
  %352 = load i32, ptr %17, align 4, !tbaa !5
  %353 = uitofp i32 %352 to float
  %354 = load float, ptr %16, align 4, !tbaa !40
  %355 = fmul float %353, %354
  %356 = call float @cosf(float noundef %355) #7
  %357 = load i32, ptr %17, align 4, !tbaa !5
  %358 = uitofp i32 %357 to float
  %359 = load float, ptr %16, align 4, !tbaa !40
  %360 = fmul float %358, %359
  %361 = call float @sinf(float noundef %360) #7
  %362 = fmul float 0.000000e+00, %361
  %363 = fmul float 1.000000e+00, %361
  %364 = fadd float %356, %362
  %365 = load ptr, ptr %14, align 8, !tbaa !9
  %366 = getelementptr inbounds %struct.ofdmframesync_s, ptr %365, i32 0, i32 26
  %367 = load ptr, ptr %366, align 8, !tbaa !37
  %368 = load i32, ptr %17, align 4, !tbaa !5
  %369 = zext i32 %368 to i64
  %370 = getelementptr inbounds { float, float }, ptr %367, i64 %369
  %371 = getelementptr inbounds { float, float }, ptr %370, i32 0, i32 0
  %372 = getelementptr inbounds { float, float }, ptr %370, i32 0, i32 1
  store float %364, ptr %371, align 4
  store float %363, ptr %372, align 4
  br label %373

373:                                              ; preds = %351
  %374 = load i32, ptr %17, align 4, !tbaa !5
  %375 = add i32 %374, 1
  store i32 %375, ptr %17, align 4, !tbaa !5
  br label %345, !llvm.loop !41

376:                                              ; preds = %345
  %377 = load ptr, ptr %12, align 8, !tbaa !9
  %378 = load ptr, ptr %14, align 8, !tbaa !9
  %379 = getelementptr inbounds %struct.ofdmframesync_s, ptr %378, i32 0, i32 40
  store ptr %377, ptr %379, align 8, !tbaa !43
  %380 = load ptr, ptr %13, align 8, !tbaa !9
  %381 = load ptr, ptr %14, align 8, !tbaa !9
  %382 = getelementptr inbounds %struct.ofdmframesync_s, ptr %381, i32 0, i32 41
  store ptr %380, ptr %382, align 8, !tbaa !44
  %383 = call ptr @nco_crcf_create(i32 noundef 0)
  %384 = load ptr, ptr %14, align 8, !tbaa !9
  %385 = getelementptr inbounds %struct.ofdmframesync_s, ptr %384, i32 0, i32 29
  store ptr %383, ptr %385, align 8, !tbaa !45
  %386 = call ptr @msequence_create_default(i32 noundef 8)
  %387 = load ptr, ptr %14, align 8, !tbaa !9
  %388 = getelementptr inbounds %struct.ofdmframesync_s, ptr %387, i32 0, i32 30
  store ptr %386, ptr %388, align 8, !tbaa !46
  %389 = load ptr, ptr %14, align 8, !tbaa !9
  %390 = call i32 @ofdmframesync_reset(ptr noundef %389)
  %391 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %391, ptr %7, align 8
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %392

392:                                              ; preds = %376, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %393

393:                                              ; preds = %392, %38, %32, %26, %20
  %394 = load ptr, ptr %7, align 8
  ret ptr %394
}

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #4

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

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

declare ptr @windowcf_create(i32 noundef) #1

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

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

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

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

; Function Attrs: nounwind
declare float @cosf(float noundef) #5

; Function Attrs: nounwind
declare float @sinf(float noundef) #5

declare ptr @nco_crcf_create(i32 noundef) #1

declare ptr @msequence_create_default(i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @ofdmframesync_reset(ptr noundef) #0

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"ofdmframesync_s", !6, i64 0, !6, i64 4, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !13, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !6, i64 184, !10, i64 192, !10, i64 200, !13, i64 208, !13, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !7, i64 228, !7, i64 236, !13, i64 244, !13, i64 248, !10, i64 256, !10, i64 264}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !6, i64 24}
!16 = !{!12, !6, i64 4}
!17 = !{!12, !10, i64 16}
!18 = !{!12, !10, i64 72}
!19 = !{!12, !10, i64 80}
!20 = !{!12, !10, i64 64}
!21 = !{!12, !10, i64 88}
!22 = !{!12, !10, i64 96}
!23 = !{!12, !10, i64 104}
!24 = !{!12, !10, i64 112}
!25 = !{!12, !10, i64 120}
!26 = !{!12, !6, i64 32}
!27 = !{!12, !6, i64 36}
!28 = !{!12, !13, i64 48}
!29 = !{!12, !6, i64 40}
!30 = !{!12, !13, i64 52}
!31 = !{!12, !6, i64 44}
!32 = !{!12, !13, i64 56}
!33 = !{!12, !13, i64 128}
!34 = !{!12, !10, i64 136}
!35 = !{!12, !10, i64 144}
!36 = !{!12, !10, i64 160}
!37 = !{!12, !10, i64 168}
!38 = !{!12, !10, i64 176}
!39 = !{!12, !6, i64 224}
!40 = !{!13, !13, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!12, !10, i64 256}
!44 = !{!12, !10, i64 264}
!45 = !{!12, !10, i64 192}
!46 = !{!12, !10, i64 200}


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

@.str = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [54 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @ofdmframesync_create(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef readonly %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
  %7 = icmp ult i32 %0, 8
  br i1 %7, label %8, label %10

8:                                                ; preds = %6
  %9 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 189, ptr noundef nonnull @.str.1) #7
  br label %132

10:                                               ; preds = %6
  %11 = and i32 %0, 1
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %14, label %12

12:                                               ; preds = %10
  %13 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 191, ptr noundef nonnull @.str.2) #7
  br label %132

14:                                               ; preds = %10
  %15 = icmp ugt i32 %1, %0
  br i1 %15, label %16, label %18

16:                                               ; preds = %14
  %17 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 193, ptr noundef nonnull @.str.3) #7
  br label %132

18:                                               ; preds = %14
  %19 = icmp ugt i32 %2, %1
  br i1 %19, label %20, label %22

20:                                               ; preds = %18
  %21 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 195, ptr noundef nonnull @.str.4) #7
  br label %132

22:                                               ; preds = %18
  %23 = tail call noalias dereferenceable_or_null(272) ptr @malloc(i64 noundef 272) #8
  store i32 %0, ptr %23, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  store i32 %1, ptr %24, align 8, !tbaa !12
  %25 = getelementptr inbounds i8, ptr %23, i64 24
  store i32 %2, ptr %25, align 8, !tbaa !13
  %26 = lshr exact i32 %0, 1
  %27 = getelementptr inbounds i8, ptr %23, i64 4
  store i32 %26, ptr %27, align 4, !tbaa !14
  %28 = zext i32 %0 to i64
  %29 = tail call noalias ptr @malloc(i64 noundef %28) #8
  %30 = getelementptr inbounds i8, ptr %23, i64 16
  store ptr %29, ptr %30, align 8, !tbaa !15
  %31 = icmp eq ptr %3, null
  br i1 %31, label %32, label %34

32:                                               ; preds = %22
  %33 = tail call i32 @ofdmframe_init_default_sctype(i32 noundef %0, ptr noundef %29) #7
  br label %35

34:                                               ; preds = %22
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %29, ptr nonnull align 1 %3, i64 %28, i1 false)
  br label %35

35:                                               ; preds = %34, %32
  %36 = getelementptr inbounds i8, ptr %23, i64 28
  %37 = getelementptr inbounds i8, ptr %23, i64 32
  %38 = getelementptr inbounds i8, ptr %23, i64 36
  %39 = tail call i32 @ofdmframe_validate_sctype(ptr noundef %29, i32 noundef %0, ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38) #7
  %.not113 = icmp eq i32 %39, 0
  br i1 %.not113, label %42, label %40

40:                                               ; preds = %35
  %41 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 216, ptr noundef nonnull @.str.5) #7
  br label %132

42:                                               ; preds = %35
  %43 = load i32, ptr %23, align 8, !tbaa !5
  %44 = zext i32 %43 to i64
  %45 = shl nuw nsw i64 %44, 3
  %46 = tail call noalias ptr @malloc(i64 noundef %45) #8
  %47 = getelementptr inbounds i8, ptr %23, i64 72
  store ptr %46, ptr %47, align 8, !tbaa !16
  %48 = tail call noalias ptr @malloc(i64 noundef %45) #8
  %49 = getelementptr inbounds i8, ptr %23, i64 80
  store ptr %48, ptr %49, align 8, !tbaa !17
  %50 = tail call ptr @fft_create_plan(i32 noundef %43, ptr noundef %48, ptr noundef %46, i32 noundef 1, i32 noundef 0) #7
  %51 = getelementptr inbounds i8, ptr %23, i64 64
  store ptr %50, ptr %51, align 8, !tbaa !18
  %52 = load i32, ptr %23, align 8, !tbaa !5
  %53 = load i32, ptr %24, align 8, !tbaa !12
  %54 = add i32 %53, %52
  %55 = tail call ptr @windowcf_create(i32 noundef %54) #7
  %56 = getelementptr inbounds i8, ptr %23, i64 88
  store ptr %55, ptr %56, align 8, !tbaa !19
  %57 = load i32, ptr %23, align 8, !tbaa !5
  %58 = zext i32 %57 to i64
  %59 = shl nuw nsw i64 %58, 3
  %60 = tail call noalias ptr @malloc(i64 noundef %59) #8
  %61 = getelementptr inbounds i8, ptr %23, i64 96
  store ptr %60, ptr %61, align 8, !tbaa !20
  %62 = tail call noalias ptr @malloc(i64 noundef %59) #8
  %63 = getelementptr inbounds i8, ptr %23, i64 104
  store ptr %62, ptr %63, align 8, !tbaa !21
  %64 = tail call noalias ptr @malloc(i64 noundef %59) #8
  %65 = getelementptr inbounds i8, ptr %23, i64 112
  store ptr %64, ptr %65, align 8, !tbaa !22
  %66 = tail call noalias ptr @malloc(i64 noundef %59) #8
  %67 = getelementptr inbounds i8, ptr %23, i64 120
  store ptr %66, ptr %67, align 8, !tbaa !23
  %68 = load ptr, ptr %30, align 8, !tbaa !15
  %69 = getelementptr inbounds i8, ptr %23, i64 40
  %70 = tail call i32 @ofdmframe_init_S0(ptr noundef %68, i32 noundef %57, ptr noundef %60, ptr noundef %62, ptr noundef nonnull %69) #7
  %71 = load ptr, ptr %30, align 8, !tbaa !15
  %72 = load i32, ptr %23, align 8, !tbaa !5
  %73 = load ptr, ptr %65, align 8, !tbaa !22
  %74 = load ptr, ptr %67, align 8, !tbaa !23
  %75 = getelementptr inbounds i8, ptr %23, i64 44
  %76 = tail call i32 @ofdmframe_init_S1(ptr noundef %71, i32 noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef nonnull %75) #7
  %77 = load i32, ptr %23, align 8, !tbaa !5
  %78 = uitofp i32 %77 to float
  %sqrt118 = tail call float @llvm.sqrt.f32(float %78)
  %79 = load i32, ptr %37, align 8, !tbaa !24
  %80 = load i32, ptr %38, align 4, !tbaa !25
  %81 = add i32 %80, %79
  %82 = getelementptr inbounds i8, ptr %23, i64 48
  %83 = load i32, ptr %69, align 8, !tbaa !26
  %84 = insertelement <2 x i32> poison, i32 %81, i64 0
  %85 = insertelement <2 x i32> %84, i32 %83, i64 1
  %86 = uitofp <2 x i32> %85 to <2 x float>
  %87 = tail call <2 x float> @llvm.sqrt.v2f32(<2 x float> %86)
  %88 = insertelement <2 x float> poison, float %sqrt118, i64 0
  %89 = shufflevector <2 x float> %88, <2 x float> poison, <2 x i32> zeroinitializer
  %90 = fdiv <2 x float> %89, %87
  store <2 x float> %90, ptr %82, align 8, !tbaa !27
  %91 = load i32, ptr %75, align 4, !tbaa !28
  %92 = uitofp i32 %91 to float
  %sqrt = tail call float @llvm.sqrt.f32(float %92)
  %93 = fdiv float %sqrt118, %sqrt
  %94 = getelementptr inbounds i8, ptr %23, i64 56
  store float %93, ptr %94, align 8, !tbaa !29
  %95 = getelementptr inbounds i8, ptr %23, i64 128
  store float 1.000000e+00, ptr %95, align 8, !tbaa !30
  %96 = zext i32 %77 to i64
  %97 = shl nuw nsw i64 %96, 3
  %calloc = tail call ptr @calloc(i64 1, i64 %97)
  %98 = getelementptr inbounds i8, ptr %23, i64 136
  store ptr %calloc, ptr %98, align 8, !tbaa !31
  %calloc122 = tail call ptr @calloc(i64 1, i64 %97)
  %99 = getelementptr inbounds i8, ptr %23, i64 144
  store ptr %calloc122, ptr %99, align 8, !tbaa !32
  %calloc123 = tail call ptr @calloc(i64 1, i64 %97)
  %100 = getelementptr inbounds i8, ptr %23, i64 160
  store ptr %calloc123, ptr %100, align 8, !tbaa !33
  %calloc124 = tail call ptr @calloc(i64 1, i64 %97)
  %101 = getelementptr inbounds i8, ptr %23, i64 168
  store ptr %calloc124, ptr %101, align 8, !tbaa !34
  %102 = tail call noalias ptr @malloc(i64 noundef %97) #8
  %103 = getelementptr inbounds i8, ptr %23, i64 176
  store ptr %102, ptr %103, align 8, !tbaa !35
  %104 = load i32, ptr %24, align 8, !tbaa !12
  %spec.select = tail call i32 @llvm.umin.i32(i32 %104, i32 2)
  %105 = getelementptr inbounds i8, ptr %23, i64 224
  store i32 %spec.select, ptr %105, align 8, !tbaa !36
  %106 = shl nuw nsw i32 %spec.select, 1
  %107 = uitofp nneg i32 %106 to double
  %108 = fmul double %107, 0x400921FB54442D18
  %109 = fpext float %78 to double
  %110 = fdiv double %108, %109
  %111 = fptrunc double %110 to float
  %.not120 = icmp eq i32 %77, 0
  br i1 %.not120, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %42, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %42 ]
  %112 = trunc nuw i64 %indvars.iv to i32
  %113 = uitofp i32 %112 to float
  %114 = fmul float %111, %113
  %115 = tail call float @cosf(float noundef %114) #7
  %116 = tail call float @sinf(float noundef %114) #7
  %117 = fmul float %116, 0.000000e+00
  %118 = fadd float %115, %117
  %119 = load ptr, ptr %101, align 8, !tbaa !34
  %120 = getelementptr inbounds { float, float }, ptr %119, i64 %indvars.iv
  %121 = getelementptr inbounds i8, ptr %120, i64 4
  store float %118, ptr %120, align 4
  store float %116, ptr %121, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %122 = load i32, ptr %23, align 8, !tbaa !5
  %123 = zext i32 %122 to i64
  %124 = icmp ult i64 %indvars.iv.next, %123
  br i1 %124, label %.lr.ph, label %._crit_edge, !llvm.loop !37

._crit_edge:                                      ; preds = %.lr.ph, %42
  %125 = getelementptr inbounds i8, ptr %23, i64 256
  store ptr %4, ptr %125, align 8, !tbaa !39
  %126 = getelementptr inbounds i8, ptr %23, i64 264
  store ptr %5, ptr %126, align 8, !tbaa !40
  %127 = tail call ptr @nco_crcf_create(i32 noundef 0) #7
  %128 = getelementptr inbounds i8, ptr %23, i64 192
  store ptr %127, ptr %128, align 8, !tbaa !41
  %129 = tail call ptr @msequence_create_default(i32 noundef 8) #7
  %130 = getelementptr inbounds i8, ptr %23, i64 200
  store ptr %129, ptr %130, align 8, !tbaa !42
  %131 = tail call i32 @ofdmframesync_reset(ptr noundef nonnull %23)
  br label %132

132:                                              ; preds = %40, %._crit_edge, %20, %16, %12, %8
  %.1 = phi ptr [ %9, %8 ], [ %13, %12 ], [ %17, %16 ], [ %21, %20 ], [ %41, %40 ], [ %23, %._crit_edge ]
  ret ptr %.1
}

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

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

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

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

declare ptr @windowcf_create(i32 noundef) local_unnamed_addr #1

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

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

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

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

declare ptr @nco_crcf_create(i32 noundef) local_unnamed_addr #1

declare ptr @msequence_create_default(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @ofdmframesync_reset(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) #4

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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ofdmframesync_s", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !11, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !7, i64 184, !10, i64 192, !10, i64 200, !11, i64 208, !11, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !8, i64 228, !8, i64 236, !11, i64 244, !11, i64 248, !10, i64 256, !10, i64 264}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !10, i64 72}
!17 = !{!6, !10, i64 80}
!18 = !{!6, !10, i64 64}
!19 = !{!6, !10, i64 88}
!20 = !{!6, !10, i64 96}
!21 = !{!6, !10, i64 104}
!22 = !{!6, !10, i64 112}
!23 = !{!6, !10, i64 120}
!24 = !{!6, !7, i64 32}
!25 = !{!6, !7, i64 36}
!26 = !{!6, !7, i64 40}
!27 = !{!11, !11, i64 0}
!28 = !{!6, !7, i64 44}
!29 = !{!6, !11, i64 56}
!30 = !{!6, !11, i64 128}
!31 = !{!6, !10, i64 136}
!32 = !{!6, !10, i64 144}
!33 = !{!6, !10, i64 160}
!34 = !{!6, !10, i64 168}
!35 = !{!6, !10, i64 176}
!36 = !{!6, !7, i64 224}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!6, !10, i64 256}
!40 = !{!6, !10, i64 264}
!41 = !{!6, !10, i64 192}
!42 = !{!6, !10, i64 200}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass