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

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

@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 2, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 7, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store float 2.500000e-01, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 4000, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 5, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store float -6.000000e+01, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store float 3.000000e+01, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store float 0x3F947AE140000000, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store float 0.000000e+00, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store float 0x4000CCCCC0000000, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 40, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  br label %32

32:                                               ; preds = %65, %2
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  %35 = call i32 @getopt(i32 noundef %33, ptr noundef %34, ptr noundef @.str.9) #7
  store i32 %35, ptr %17, align 4, !tbaa !5
  %36 = icmp ne i32 %35, -1
  br i1 %36, label %37, label %66

37:                                               ; preds = %32
  %38 = load i32, ptr %17, align 4, !tbaa !5
  switch i32 %38, label %64 [
    i32 104, label %39
    i32 107, label %40
    i32 109, label %43
    i32 98, label %46
    i32 72, label %50
    i32 110, label %53
    i32 115, label %56
    i32 119, label %60
  ]

39:                                               ; preds = %37
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %292

40:                                               ; preds = %37
  %41 = load ptr, ptr @optarg, align 8, !tbaa !9
  %42 = call i32 @atoi(ptr noundef %41) #8
  store i32 %42, ptr %6, align 4, !tbaa !5
  br label %65

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

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

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

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

56:                                               ; preds = %37
  %57 = load ptr, ptr @optarg, align 8, !tbaa !9
  %58 = call double @atof(ptr noundef %57) #8
  %59 = fptrunc double %58 to float
  store float %59, ptr %12, align 4, !tbaa !11
  br label %65

60:                                               ; preds = %37
  %61 = load ptr, ptr @optarg, align 8, !tbaa !9
  %62 = call double @atof(ptr noundef %61) #8
  %63 = fptrunc double %62 to float
  store float %63, ptr %13, align 4, !tbaa !11
  br label %65

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

65:                                               ; preds = %60, %56, %53, %50, %46, %43, %40
  br label %32, !llvm.loop !13

66:                                               ; preds = %32
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = icmp ult i32 %67, 2
  br i1 %68, label %69, label %72

69:                                               ; preds = %66
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.10) #7
  call void @exit(i32 noundef 1) #9
  unreachable

72:                                               ; preds = %66
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = icmp ult i32 %73, 1
  br i1 %74, label %75, label %78

75:                                               ; preds = %72
  %76 = load ptr, ptr @stderr, align 8, !tbaa !9
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.11) #7
  call void @exit(i32 noundef 1) #9
  unreachable

78:                                               ; preds = %72
  %79 = load float, ptr %8, align 4, !tbaa !11
  %80 = fcmp ole float %79, 0.000000e+00
  br i1 %80, label %84, label %81

81:                                               ; preds = %78
  %82 = load float, ptr %8, align 4, !tbaa !11
  %83 = fcmp ogt float %82, 1.000000e+00
  br i1 %83, label %84, label %87

84:                                               ; preds = %81, %78
  %85 = load ptr, ptr @stderr, align 8, !tbaa !9
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.12) #7
  call void @exit(i32 noundef 1) #9
  unreachable

87:                                               ; preds = %81
  %88 = load float, ptr %13, align 4, !tbaa !11
  %89 = fcmp ole float %88, 0.000000e+00
  br i1 %89, label %90, label %93

90:                                               ; preds = %87
  %91 = load ptr, ptr @stderr, align 8, !tbaa !9
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.13) #7
  call void @exit(i32 noundef 1) #9
  unreachable

93:                                               ; preds = %87
  %94 = load i32, ptr %9, align 4, !tbaa !5
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %96, label %99

96:                                               ; preds = %93
  %97 = load ptr, ptr @stderr, align 8, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.14) #7
  call void @exit(i32 noundef 1) #9
  unreachable

99:                                               ; preds = %93
  br label %100

100:                                              ; preds = %99
  br label %101

101:                                              ; preds = %100
  br label %102

102:                                              ; preds = %101
  br label %103

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %104 = load i32, ptr %9, align 4, !tbaa !5
  %105 = load i32, ptr %6, align 4, !tbaa !5
  %106 = mul i32 %104, %105
  store i32 %106, ptr %20, align 4, !tbaa !5
  %107 = load i32, ptr %20, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = call ptr @llvm.stacksave.p0()
  store ptr %109, ptr %21, align 8
  %110 = alloca { float, float }, i64 %108, align 16
  store i64 %108, ptr %22, align 8
  %111 = load i32, ptr %20, align 4, !tbaa !5
  %112 = zext i32 %111 to i64
  %113 = alloca { float, float }, i64 %112, align 16
  store i64 %112, ptr %23, align 8
  %114 = load i32, ptr %9, align 4, !tbaa !5
  %115 = add i32 %114, 64
  %116 = zext i32 %115 to i64
  %117 = alloca { float, float }, i64 %116, align 16
  store i64 %116, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %118 = load i32, ptr %6, align 4, !tbaa !5
  %119 = load i32, ptr %7, align 4, !tbaa !5
  %120 = load float, ptr %8, align 4, !tbaa !11
  %121 = load i32, ptr %16, align 4, !tbaa !5
  %122 = call ptr @symstreamcf_create_linear(i32 noundef 7, i32 noundef %118, i32 noundef %119, float noundef %120, i32 noundef %121)
  store ptr %122, ptr %25, align 8, !tbaa !9
  %123 = load ptr, ptr %25, align 8, !tbaa !9
  %124 = load i32, ptr %20, align 4, !tbaa !5
  %125 = call i32 @symstreamcf_write_samples(ptr noundef %123, ptr noundef %110, i32 noundef %124)
  %126 = load ptr, ptr %25, align 8, !tbaa !9
  %127 = call i32 @symstreamcf_destroy(ptr noundef %126)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %128 = call ptr @channel_cccf_create()
  store ptr %128, ptr %26, align 8, !tbaa !9
  %129 = load ptr, ptr %26, align 8, !tbaa !9
  %130 = load float, ptr %11, align 4, !tbaa !11
  %131 = load float, ptr %12, align 4, !tbaa !11
  %132 = call i32 @channel_cccf_add_awgn(ptr noundef %129, float noundef %130, float noundef %131)
  %133 = load ptr, ptr %26, align 8, !tbaa !9
  %134 = load float, ptr %14, align 4, !tbaa !11
  %135 = load float, ptr %15, align 4, !tbaa !11
  %136 = call i32 @channel_cccf_add_carrier_offset(ptr noundef %133, float noundef %134, float noundef %135)
  %137 = load ptr, ptr %26, align 8, !tbaa !9
  %138 = load i32, ptr %10, align 4, !tbaa !5
  %139 = call i32 @channel_cccf_add_multipath(ptr noundef %137, ptr noundef null, i32 noundef %138)
  %140 = load ptr, ptr %26, align 8, !tbaa !9
  %141 = call i32 @channel_cccf_add_shadowing(ptr noundef %140, float noundef 1.000000e+00, float noundef 0x3FB99999A0000000)
  %142 = load ptr, ptr %26, align 8, !tbaa !9
  %143 = call i32 @channel_cccf_print(ptr noundef %142)
  %144 = load ptr, ptr %26, align 8, !tbaa !9
  %145 = load i32, ptr %20, align 4, !tbaa !5
  %146 = call i32 @channel_cccf_execute_block(ptr noundef %144, ptr noundef %110, i32 noundef %145, ptr noundef %113)
  %147 = load ptr, ptr %26, align 8, !tbaa !9
  %148 = call i32 @channel_cccf_destroy(ptr noundef %147)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %149 = load i32, ptr %6, align 4, !tbaa !5
  %150 = load i32, ptr %7, align 4, !tbaa !5
  %151 = load float, ptr %8, align 4, !tbaa !11
  %152 = load i32, ptr %16, align 4, !tbaa !5
  %153 = call ptr @symtrack_cccf_create(i32 noundef 9, i32 noundef %149, i32 noundef %150, float noundef %151, i32 noundef %152)
  store ptr %153, ptr %27, align 8, !tbaa !9
  %154 = load ptr, ptr %27, align 8, !tbaa !9
  %155 = call i32 @symtrack_cccf_set_bandwidth(ptr noundef %154, float noundef 0x3FA99999A0000000)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  %156 = load ptr, ptr %27, align 8, !tbaa !9
  %157 = load i32, ptr %20, align 4, !tbaa !5
  %158 = call i32 @symtrack_cccf_execute_block(ptr noundef %156, ptr noundef %113, i32 noundef %157, ptr noundef %117, ptr noundef %28)
  %159 = load ptr, ptr %27, align 8, !tbaa !9
  %160 = call i32 @symtrack_cccf_destroy(ptr noundef %159)
  %161 = load i32, ptr %9, align 4, !tbaa !5
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %161)
  %163 = load i32, ptr %28, align 4, !tbaa !5
  %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %163)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 1200, ptr %29, align 4, !tbaa !5
  %165 = load i32, ptr %29, align 4, !tbaa !5
  %166 = zext i32 %165 to i64
  %167 = alloca float, i64 %166, align 16
  store i64 %166, ptr %30, align 8
  %168 = load i32, ptr %29, align 4, !tbaa !5
  %169 = load i32, ptr %20, align 4, !tbaa !5
  %170 = call i32 @spgramcf_estimate_psd(i32 noundef %168, ptr noundef %113, i32 noundef %169, ptr noundef %167)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %171 = call noalias ptr @fopen(ptr noundef @.str.17, ptr noundef @.str.18)
  store ptr %171, ptr %31, align 8, !tbaa !9
  %172 = load ptr, ptr %31, align 8, !tbaa !9
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef @.str.19, ptr noundef @.str.17) #7
  %174 = load ptr, ptr %31, align 8, !tbaa !9
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.20) #7
  %176 = load ptr, ptr %31, align 8, !tbaa !9
  %177 = load i32, ptr %28, align 4, !tbaa !5
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.21, i32 noundef %177) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %204, %103
  %180 = load i32, ptr %19, align 4, !tbaa !5
  %181 = load i32, ptr %28, align 4, !tbaa !5
  %182 = icmp ult i32 %180, %181
  br i1 %182, label %183, label %207

183:                                              ; preds = %179
  %184 = load ptr, ptr %31, align 8, !tbaa !9
  %185 = load i32, ptr %19, align 4, !tbaa !5
  %186 = add i32 %185, 1
  %187 = load i32, ptr %19, align 4, !tbaa !5
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds { float, float }, ptr %117, i64 %188
  %190 = getelementptr inbounds { float, float }, ptr %189, i32 0, i32 0
  %191 = load float, ptr %190, align 8
  %192 = getelementptr inbounds { float, float }, ptr %189, i32 0, i32 1
  %193 = load float, ptr %192, align 4
  %194 = fpext float %191 to double
  %195 = load i32, ptr %19, align 4, !tbaa !5
  %196 = zext i32 %195 to i64
  %197 = getelementptr inbounds { float, float }, ptr %117, i64 %196
  %198 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 0
  %199 = load float, ptr %198, align 8
  %200 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 1
  %201 = load float, ptr %200, align 4
  %202 = fpext float %201 to double
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.22, i32 noundef %186, double noundef %194, double noundef %202) #7
  br label %204

204:                                              ; preds = %183
  %205 = load i32, ptr %19, align 4, !tbaa !5
  %206 = add i32 %205, 1
  store i32 %206, ptr %19, align 4, !tbaa !5
  br label %179, !llvm.loop !15

207:                                              ; preds = %179
  %208 = load ptr, ptr %31, align 8, !tbaa !9
  %209 = load i32, ptr %29, align 4, !tbaa !5
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.23, i32 noundef %209) #7
  %211 = load ptr, ptr %31, align 8, !tbaa !9
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef @.str.24) #7
  %213 = load ptr, ptr %31, align 8, !tbaa !9
  %214 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef @.str.25) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %215

215:                                              ; preds = %229, %207
  %216 = load i32, ptr %19, align 4, !tbaa !5
  %217 = load i32, ptr %29, align 4, !tbaa !5
  %218 = icmp ult i32 %216, %217
  br i1 %218, label %219, label %232

219:                                              ; preds = %215
  %220 = load ptr, ptr %31, align 8, !tbaa !9
  %221 = load i32, ptr %19, align 4, !tbaa !5
  %222 = add i32 %221, 1
  %223 = load i32, ptr %19, align 4, !tbaa !5
  %224 = zext i32 %223 to i64
  %225 = getelementptr inbounds float, ptr %167, i64 %224
  %226 = load float, ptr %225, align 4, !tbaa !11
  %227 = fpext float %226 to double
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %220, ptr noundef @.str.26, i32 noundef %222, double noundef %227) #7
  br label %229

229:                                              ; preds = %219
  %230 = load i32, ptr %19, align 4, !tbaa !5
  %231 = add i32 %230, 1
  store i32 %231, ptr %19, align 4, !tbaa !5
  br label %215, !llvm.loop !16

232:                                              ; preds = %215
  %233 = load ptr, ptr %31, align 8, !tbaa !9
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.27) #7
  %235 = load ptr, ptr %31, align 8, !tbaa !9
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.28) #7
  %237 = load ptr, ptr %31, align 8, !tbaa !9
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.29) #7
  %239 = load ptr, ptr %31, align 8, !tbaa !9
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.30) #7
  %241 = load ptr, ptr %31, align 8, !tbaa !9
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.31) #7
  %243 = load ptr, ptr %31, align 8, !tbaa !9
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.32) #7
  %245 = load ptr, ptr %31, align 8, !tbaa !9
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %245, ptr noundef @.str.33) #7
  %247 = load ptr, ptr %31, align 8, !tbaa !9
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str.34) #7
  %249 = load ptr, ptr %31, align 8, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.35) #7
  %251 = load ptr, ptr %31, align 8, !tbaa !9
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.36) #7
  %253 = load ptr, ptr %31, align 8, !tbaa !9
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.37) #7
  %255 = load ptr, ptr %31, align 8, !tbaa !9
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef @.str.38) #7
  %257 = load ptr, ptr %31, align 8, !tbaa !9
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.39) #7
  %259 = load ptr, ptr %31, align 8, !tbaa !9
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str.32) #7
  %261 = load ptr, ptr %31, align 8, !tbaa !9
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.33) #7
  %263 = load ptr, ptr %31, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.40) #7
  %265 = load ptr, ptr %31, align 8, !tbaa !9
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef @.str.35) #7
  %267 = load ptr, ptr %31, align 8, !tbaa !9
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.36) #7
  %269 = load ptr, ptr %31, align 8, !tbaa !9
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.41) #7
  %271 = load ptr, ptr %31, align 8, !tbaa !9
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.42) #7
  %273 = load ptr, ptr %31, align 8, !tbaa !9
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.43) #7
  %275 = load ptr, ptr %31, align 8, !tbaa !9
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.33) #7
  %277 = load ptr, ptr %31, align 8, !tbaa !9
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.44) #7
  %279 = load ptr, ptr %31, align 8, !tbaa !9
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.45) #7
  %281 = load ptr, ptr %31, align 8, !tbaa !9
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.46) #7
  %283 = load ptr, ptr %31, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.47) #7
  %285 = load ptr, ptr %31, align 8, !tbaa !9
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.48) #7
  %287 = load ptr, ptr %31, align 8, !tbaa !9
  %288 = call i32 @fclose(ptr noundef %287)
  %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.49, ptr noundef @.str.17)
  %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.50)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  %291 = load ptr, ptr %21, align 8
  call void @llvm.stackrestore.p0(ptr %291)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %292

292:                                              ; preds = %232, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %293 = load i32, ptr %3, align 4
  ret i32 %293
}

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

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

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

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

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

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

declare ptr @symstreamcf_create_linear(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) #1

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

declare i32 @symstreamcf_destroy(ptr noundef) #1

declare ptr @channel_cccf_create() #1

declare i32 @channel_cccf_add_awgn(ptr noundef, float noundef, float noundef) #1

declare i32 @channel_cccf_add_carrier_offset(ptr noundef, float noundef, float noundef) #1

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

declare i32 @channel_cccf_add_shadowing(ptr noundef, float noundef, float noundef) #1

declare i32 @channel_cccf_print(ptr noundef) #1

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

declare i32 @channel_cccf_destroy(ptr noundef) #1

declare ptr @symtrack_cccf_create(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) #1

declare i32 @symtrack_cccf_set_bandwidth(ptr noundef, float noundef) #1

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

declare i32 @symtrack_cccf_destroy(ptr noundef) #1

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

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

declare i32 @fclose(ptr noundef) #1

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !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.9 = external hidden unnamed_addr constant [16 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  br label %.outer

.outer:                                           ; preds = %27, %2
  %.0106.ph = phi float [ %30, %27 ], [ 0x3F947AE140000000, %2 ]
  %.0104.ph = phi float [ %.0104.ph173, %27 ], [ 3.000000e+01, %2 ]
  %.0102.ph = phi i32 [ %.0102.ph180, %27 ], [ 5, %2 ]
  %.0100.ph = phi i32 [ %.0100.ph186, %27 ], [ 4000, %2 ]
  %.098.ph = phi float [ %.098.ph191, %27 ], [ 2.500000e-01, %2 ]
  %.096.ph = phi i32 [ %.096.ph195, %27 ], [ 7, %2 ]
  %.095.ph = phi i32 [ %.095, %27 ], [ 2, %2 ]
  br label %.outer172

.outer172:                                        ; preds = %.outer, %23
  %.0104.ph173 = phi float [ %.0104.ph, %.outer ], [ %26, %23 ]
  %.0102.ph174 = phi i32 [ %.0102.ph, %.outer ], [ %.0102.ph180, %23 ]
  %.0100.ph175 = phi i32 [ %.0100.ph, %.outer ], [ %.0100.ph186, %23 ]
  %.098.ph176 = phi float [ %.098.ph, %.outer ], [ %.098.ph191, %23 ]
  %.096.ph177 = phi i32 [ %.096.ph, %.outer ], [ %.096.ph195, %23 ]
  %.095.ph178 = phi i32 [ %.095.ph, %.outer ], [ %.095, %23 ]
  br label %.outer179

.outer179:                                        ; preds = %.outer172, %17
  %.0102.ph180 = phi i32 [ %.0102.ph174, %.outer172 ], [ %19, %17 ]
  %.0100.ph181 = phi i32 [ %.0100.ph175, %.outer172 ], [ %.0100.ph186, %17 ]
  %.098.ph182 = phi float [ %.098.ph176, %.outer172 ], [ %.098.ph191, %17 ]
  %.096.ph183 = phi i32 [ %.096.ph177, %.outer172 ], [ %.096.ph195, %17 ]
  %.095.ph184 = phi i32 [ %.095.ph178, %.outer172 ], [ %.095, %17 ]
  br label %.outer185

.outer185:                                        ; preds = %.outer179, %20
  %.0100.ph186 = phi i32 [ %.0100.ph181, %.outer179 ], [ %22, %20 ]
  %.098.ph187 = phi float [ %.098.ph182, %.outer179 ], [ %.098.ph191, %20 ]
  %.096.ph188 = phi i32 [ %.096.ph183, %.outer179 ], [ %.096.ph195, %20 ]
  %.095.ph189 = phi i32 [ %.095.ph184, %.outer179 ], [ %.095, %20 ]
  br label %.outer190

.outer190:                                        ; preds = %.outer185, %13
  %.098.ph191 = phi float [ %.098.ph187, %.outer185 ], [ %16, %13 ]
  %.096.ph192 = phi i32 [ %.096.ph188, %.outer185 ], [ %.096.ph195, %13 ]
  %.095.ph193 = phi i32 [ %.095.ph189, %.outer185 ], [ %.095, %13 ]
  br label %.outer194

.outer194:                                        ; preds = %.outer190, %10
  %.096.ph195 = phi i32 [ %.096.ph192, %.outer190 ], [ %12, %10 ]
  %.095.ph196 = phi i32 [ %.095.ph193, %.outer190 ], [ %.095, %10 ]
  br label %4

4:                                                ; preds = %.outer194, %7
  %.095 = phi i32 [ %9, %7 ], [ %.095.ph196, %.outer194 ]
  %5 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.9) #8
  switch i32 %5, label %31 [
    i32 -1, label %32
    i32 104, label %6
    i32 107, label %7
    i32 109, label %10
    i32 98, label %13
    i32 72, label %17
    i32 110, label %20
    i32 115, label %23
    i32 119, label %27
  ]

6:                                                ; preds = %4
  tail call void @usage()
  br label %144

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

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

13:                                               ; preds = %4
  %14 = load ptr, ptr @optarg, align 8, !tbaa !5
  %15 = tail call double @atof(ptr noundef %14) #9
  %16 = fptrunc double %15 to float
  br label %.outer190, !llvm.loop !9

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

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

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

27:                                               ; preds = %4
  %28 = load ptr, ptr @optarg, align 8, !tbaa !5
  %29 = tail call double @atof(ptr noundef %28) #9
  %30 = fptrunc double %29 to float
  br label %.outer, !llvm.loop !9

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

32:                                               ; preds = %4
  %33 = icmp ult i32 %.095, 2
  br i1 %33, label %34, label %37

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

37:                                               ; preds = %32
  %38 = icmp eq i32 %.096.ph195, 0
  br i1 %38, label %39, label %42

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

42:                                               ; preds = %37
  %43 = fcmp ole float %.098.ph191, 0.000000e+00
  %44 = fcmp ogt float %.098.ph191, 1.000000e+00
  %or.cond = or i1 %43, %44
  br i1 %or.cond, label %45, label %48

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

48:                                               ; preds = %42
  %49 = fcmp ugt float %.0106.ph, 0.000000e+00
  br i1 %49, label %53, label %50

50:                                               ; preds = %48
  %51 = load ptr, ptr @stderr, align 8, !tbaa !5
  %52 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.13) #11
  tail call void @exit(i32 noundef 1) #10
  unreachable

53:                                               ; preds = %48
  %54 = icmp eq i32 %.0100.ph186, 0
  br i1 %54, label %55, label %58

55:                                               ; preds = %53
  %56 = load ptr, ptr @stderr, align 8, !tbaa !5
  %57 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str.14) #11
  tail call void @exit(i32 noundef 1) #10
  unreachable

58:                                               ; preds = %53
  %59 = mul i32 %.095, %.0100.ph186
  %60 = zext i32 %59 to i64
  %61 = tail call ptr @llvm.stacksave.p0()
  %62 = alloca { float, float }, i64 %60, align 16
  %63 = alloca { float, float }, i64 %60, align 16
  %64 = add i32 %.0100.ph186, 64
  %65 = zext i32 %64 to i64
  %66 = alloca { float, float }, i64 %65, align 16
  %67 = tail call ptr @symstreamcf_create_linear(i32 noundef 7, i32 noundef %.095, i32 noundef %.096.ph195, float noundef %.098.ph191, i32 noundef 40) #8
  %68 = call i32 @symstreamcf_write_samples(ptr noundef %67, ptr noundef nonnull %62, i32 noundef %59) #8
  %69 = call i32 @symstreamcf_destroy(ptr noundef %67) #8
  %70 = call ptr @channel_cccf_create() #8
  %71 = call i32 @channel_cccf_add_awgn(ptr noundef %70, float noundef -6.000000e+01, float noundef %.0104.ph173) #8
  %72 = call i32 @channel_cccf_add_carrier_offset(ptr noundef %70, float noundef 0.000000e+00, float noundef 0x4000CCCCC0000000) #8
  %73 = call i32 @channel_cccf_add_multipath(ptr noundef %70, ptr noundef null, i32 noundef %.0102.ph180) #8
  %74 = call i32 @channel_cccf_add_shadowing(ptr noundef %70, float noundef 1.000000e+00, float noundef 0x3FB99999A0000000) #8
  %75 = call i32 @channel_cccf_print(ptr noundef %70) #8
  %76 = call i32 @channel_cccf_execute_block(ptr noundef %70, ptr noundef nonnull %62, i32 noundef %59, ptr noundef nonnull %63) #8
  %77 = call i32 @channel_cccf_destroy(ptr noundef %70) #8
  %78 = call ptr @symtrack_cccf_create(i32 noundef 9, i32 noundef %.095, i32 noundef %.096.ph195, float noundef %.098.ph191, i32 noundef 40) #8
  %79 = call i32 @symtrack_cccf_set_bandwidth(ptr noundef %78, float noundef 0x3FA99999A0000000) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 0, ptr %3, align 4, !tbaa !11
  %80 = call i32 @symtrack_cccf_execute_block(ptr noundef %78, ptr noundef nonnull %63, i32 noundef %59, ptr noundef nonnull %66, ptr noundef nonnull %3) #8
  %81 = call i32 @symtrack_cccf_destroy(ptr noundef %78) #8
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %.0100.ph186)
  %83 = load i32, ptr %3, align 4, !tbaa !11
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %83)
  %85 = alloca [1200 x float], align 16
  %86 = call i32 @spgramcf_estimate_psd(i32 noundef 1200, ptr noundef nonnull %63, i32 noundef %59, ptr noundef nonnull %85) #8
  %87 = call noalias ptr @fopen(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.18)
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.17) #8
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.20) #8
  %90 = load i32, ptr %3, align 4, !tbaa !11
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.21, i32 noundef %90) #8
  %92 = load i32, ptr %3, align 4, !tbaa !11
  %.not = icmp eq i32 %92, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %58, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %58 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %93 = getelementptr inbounds { float, float }, ptr %66, i64 %indvars.iv
  %94 = load float, ptr %93, align 8
  %95 = getelementptr inbounds i8, ptr %93, i64 4
  %96 = fpext float %94 to double
  %97 = load float, ptr %95, align 4
  %98 = fpext float %97 to double
  %99 = trunc nuw i64 %indvars.iv.next to i32
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.22, i32 noundef %99, double noundef %96, double noundef %98) #8
  %101 = load i32, ptr %3, align 4, !tbaa !11
  %102 = zext i32 %101 to i64
  %103 = icmp ult i64 %indvars.iv.next, %102
  br i1 %103, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %58
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.23, i32 noundef 1200) #8
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.24) #8
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.25) #8
  br label %107

107:                                              ; preds = %._crit_edge, %107
  %indvars.iv141 = phi i64 [ 0, %._crit_edge ], [ %indvars.iv.next142, %107 ]
  %indvars.iv.next142 = add nuw nsw i64 %indvars.iv141, 1
  %108 = getelementptr inbounds float, ptr %85, i64 %indvars.iv141
  %109 = load float, ptr %108, align 4, !tbaa !14
  %110 = fpext float %109 to double
  %111 = trunc nuw nsw i64 %indvars.iv.next142 to i32
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.26, i32 noundef %111, double noundef %110) #8
  %exitcond.not = icmp eq i64 %indvars.iv.next142, 1200
  br i1 %exitcond.not, label %113, label %107, !llvm.loop !16

113:                                              ; preds = %107
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.27) #8
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.28) #8
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.29) #8
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.30) #8
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.31) #8
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.32) #8
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.33) #8
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.34) #8
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.35) #8
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.36) #8
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.37) #8
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.38) #8
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.39) #8
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.32) #8
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.33) #8
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.40) #8
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.35) #8
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.36) #8
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.41) #8
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.42) #8
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.43) #8
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.33) #8
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.44) #8
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.45) #8
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.46) #8
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.47) #8
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.48) #8
  %141 = call i32 @fclose(ptr noundef %87)
  %142 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.49, ptr noundef nonnull @.str.17)
  %143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.50)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.stackrestore.p0(ptr %61)
  br label %144

144:                                              ; preds = %113, %6
  ret i32 0
}

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

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

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

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

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

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

declare ptr @symstreamcf_create_linear(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #7

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

declare i32 @symstreamcf_destroy(ptr noundef) local_unnamed_addr #7

declare ptr @channel_cccf_create() local_unnamed_addr #7

declare i32 @channel_cccf_add_awgn(ptr noundef, float noundef, float noundef) local_unnamed_addr #7

declare i32 @channel_cccf_add_carrier_offset(ptr noundef, float noundef, float noundef) local_unnamed_addr #7

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

declare i32 @channel_cccf_add_shadowing(ptr noundef, float noundef, float noundef) local_unnamed_addr #7

declare i32 @channel_cccf_print(ptr noundef) local_unnamed_addr #7

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

declare i32 @channel_cccf_destroy(ptr noundef) local_unnamed_addr #7

declare ptr @symtrack_cccf_create(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #7

declare i32 @symtrack_cccf_set_bandwidth(ptr noundef, float noundef) local_unnamed_addr #7

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

declare i32 @symtrack_cccf_destroy(ptr noundef) local_unnamed_addr #7

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

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

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

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

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

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


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