; LLVM IR from jgaeddert/liquid-dsp :: examples (agc_crcf_qpsk_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 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 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 float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca { float, float }, align 4
  %29 = alloca { float, float }, align 4
  %30 = 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) #6
  store float -4.000000e+01, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store float 2.000000e+01, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 0x3FA99999A0000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 100, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 5, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 2, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 3, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store float 0x3FD3333340000000, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 0.000000e+00, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %31 = load i32, ptr %9, align 4, !tbaa !5
  %32 = load i32, ptr %11, align 4, !tbaa !5
  %33 = mul i32 %31, %32
  store i32 %33, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %34 = load float, ptr %7, align 4, !tbaa !11
  %35 = load float, ptr %6, align 4, !tbaa !11
  %36 = fadd float %34, %35
  %37 = fdiv float %36, 2.000000e+01
  %38 = call float @powf(float noundef 1.000000e+01, float noundef %37) #6
  store float %38, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %39 = load float, ptr %6, align 4, !tbaa !11
  %40 = fdiv float %39, 2.000000e+01
  %41 = call float @powf(float noundef 1.000000e+01, float noundef %40) #6
  store float %41, ptr %17, align 4, !tbaa !11
  %42 = load i32, ptr %15, align 4, !tbaa !5
  %43 = zext i32 %42 to i64
  %44 = call ptr @llvm.stacksave.p0()
  store ptr %44, ptr %18, align 8
  %45 = alloca { float, float }, i64 %43, align 16
  store i64 %43, ptr %19, align 8
  %46 = load i32, ptr %15, align 4, !tbaa !5
  %47 = zext i32 %46 to i64
  %48 = alloca { float, float }, i64 %47, align 16
  store i64 %47, ptr %20, align 8
  %49 = load i32, ptr %15, align 4, !tbaa !5
  %50 = zext i32 %49 to i64
  %51 = alloca float, i64 %50, align 16
  store i64 %50, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %52 = call ptr @modemcf_create(i32 noundef 40)
  store ptr %52, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %53 = load i32, ptr %11, align 4, !tbaa !5
  %54 = load i32, ptr %12, align 4, !tbaa !5
  %55 = load float, ptr %13, align 4, !tbaa !11
  %56 = load float, ptr %14, align 4, !tbaa !11
  %57 = call ptr @firinterp_crcf_create_prototype(i32 noundef 9, i32 noundef %53, i32 noundef %54, float noundef %55, float noundef %56)
  store ptr %57, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %58 = call ptr @agc_crcf_create()
  store ptr %58, ptr %24, align 8, !tbaa !9
  %59 = load ptr, ptr %24, align 8, !tbaa !9
  %60 = load float, ptr %8, align 4, !tbaa !11
  %61 = call i32 @agc_crcf_set_bandwidth(ptr noundef %59, float noundef %60)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %62 = load float, ptr %8, align 4, !tbaa !11
  %63 = fpext float %62 to double
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %63)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %98, %2
  %66 = load i32, ptr %25, align 4, !tbaa !5
  %67 = load i32, ptr %9, align 4, !tbaa !5
  %68 = icmp ult i32 %66, %67
  br i1 %68, label %69, label %101

69:                                               ; preds = %65
  %70 = load ptr, ptr %22, align 8, !tbaa !9
  %71 = call i32 @modemcf_gen_rand_sym(ptr noundef %70)
  store i32 %71, ptr %26, align 4, !tbaa !5
  %72 = load ptr, ptr %22, align 8, !tbaa !9
  %73 = load i32, ptr %26, align 4, !tbaa !5
  %74 = call i32 @modemcf_modulate(ptr noundef %72, i32 noundef %73, ptr noundef %27)
  %75 = load float, ptr %16, align 4, !tbaa !11
  %76 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %77 = load float, ptr %76, align 4
  %78 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  %79 = load float, ptr %78, align 4
  %80 = fmul float %77, %75
  %81 = fmul float %79, %75
  %82 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %83 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float %80, ptr %82, align 4
  store float %81, ptr %83, align 4
  %84 = load ptr, ptr %23, align 8, !tbaa !9
  %85 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %86 = load float, ptr %85, align 4
  %87 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  %88 = load float, ptr %87, align 4
  %89 = load i32, ptr %25, align 4, !tbaa !5
  %90 = load i32, ptr %11, align 4, !tbaa !5
  %91 = mul i32 %89, %90
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds { float, float }, ptr %45, i64 %92
  %94 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %95 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  store float %86, ptr %94, align 4
  store float %88, ptr %95, align 4
  %96 = load <2 x float>, ptr %28, align 4
  %97 = call i32 @firinterp_crcf_execute(ptr noundef %84, <2 x float> noundef %96, ptr noundef %93)
  br label %98

98:                                               ; preds = %69
  %99 = load i32, ptr %25, align 4, !tbaa !5
  %100 = add i32 %99, 1
  store i32 %100, ptr %25, align 4, !tbaa !5
  br label %65, !llvm.loop !13

101:                                              ; preds = %65
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %134, %101
  %103 = load i32, ptr %25, align 4, !tbaa !5
  %104 = load i32, ptr %15, align 4, !tbaa !5
  %105 = icmp ult i32 %103, %104
  br i1 %105, label %106, label %137

106:                                              ; preds = %102
  %107 = load float, ptr %17, align 4, !tbaa !11
  %108 = call float (...) @randnf()
  %109 = call float (...) @randnf()
  %110 = fmul float 0.000000e+00, %109
  %111 = fmul float 1.000000e+00, %109
  %112 = fadd float %108, %110
  %113 = fmul float %107, %112
  %114 = fmul float %107, %111
  %115 = fpext float %113 to double
  %116 = fpext float %114 to double
  %117 = fmul double %115, 0x3FE6A09E667F3BCD
  %118 = fmul double %116, 0x3FE6A09E667F3BCD
  %119 = load i32, ptr %25, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds { float, float }, ptr %45, i64 %120
  %122 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 8
  %124 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 1
  %125 = load float, ptr %124, align 4
  %126 = fpext float %123 to double
  %127 = fpext float %125 to double
  %128 = fadd double %126, %117
  %129 = fadd double %127, %118
  %130 = fptrunc double %128 to float
  %131 = fptrunc double %129 to float
  %132 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 0
  %133 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 1
  store float %130, ptr %132, align 8
  store float %131, ptr %133, align 4
  br label %134

134:                                              ; preds = %106
  %135 = load i32, ptr %25, align 4, !tbaa !5
  %136 = add i32 %135, 1
  store i32 %136, ptr %25, align 4, !tbaa !5
  br label %102, !llvm.loop !15

137:                                              ; preds = %102
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %163, %137
  %139 = load i32, ptr %25, align 4, !tbaa !5
  %140 = load i32, ptr %15, align 4, !tbaa !5
  %141 = icmp ult i32 %139, %140
  br i1 %141, label %142, label %166

142:                                              ; preds = %138
  %143 = load ptr, ptr %24, align 8, !tbaa !9
  %144 = load i32, ptr %25, align 4, !tbaa !5
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds { float, float }, ptr %45, i64 %145
  %147 = getelementptr inbounds { float, float }, ptr %146, i32 0, i32 0
  %148 = load float, ptr %147, align 8
  %149 = getelementptr inbounds { float, float }, ptr %146, i32 0, i32 1
  %150 = load float, ptr %149, align 4
  %151 = load i32, ptr %25, align 4, !tbaa !5
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds { float, float }, ptr %48, i64 %152
  %154 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %155 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  store float %148, ptr %154, align 4
  store float %150, ptr %155, align 4
  %156 = load <2 x float>, ptr %29, align 4
  %157 = call i32 @agc_crcf_execute(ptr noundef %143, <2 x float> noundef %156, ptr noundef %153)
  %158 = load ptr, ptr %24, align 8, !tbaa !9
  %159 = call float @agc_crcf_get_rssi(ptr noundef %158)
  %160 = load i32, ptr %25, align 4, !tbaa !5
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds float, ptr %51, i64 %161
  store float %159, ptr %162, align 4, !tbaa !11
  br label %163

163:                                              ; preds = %142
  %164 = load i32, ptr %25, align 4, !tbaa !5
  %165 = add i32 %164, 1
  store i32 %165, ptr %25, align 4, !tbaa !5
  br label %138, !llvm.loop !16

166:                                              ; preds = %138
  %167 = load ptr, ptr %22, align 8, !tbaa !9
  %168 = call i32 @modemcf_destroy(ptr noundef %167)
  %169 = load ptr, ptr %24, align 8, !tbaa !9
  %170 = call i32 @agc_crcf_destroy(ptr noundef %169)
  %171 = load ptr, ptr %23, align 8, !tbaa !9
  %172 = call i32 @firinterp_crcf_destroy(ptr noundef %171)
  %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %174

174:                                              ; preds = %186, %166
  %175 = load i32, ptr %25, align 4, !tbaa !5
  %176 = load i32, ptr %15, align 4, !tbaa !5
  %177 = icmp ult i32 %175, %176
  br i1 %177, label %178, label %190

178:                                              ; preds = %174
  %179 = load i32, ptr %25, align 4, !tbaa !5
  %180 = load i32, ptr %25, align 4, !tbaa !5
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds float, ptr %51, i64 %181
  %183 = load float, ptr %182, align 4, !tbaa !11
  %184 = fpext float %183 to double
  %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %179, double noundef %184)
  br label %186

186:                                              ; preds = %178
  %187 = load i32, ptr %10, align 4, !tbaa !5
  %188 = load i32, ptr %25, align 4, !tbaa !5
  %189 = add i32 %188, %187
  store i32 %189, ptr %25, align 4, !tbaa !5
  br label %174, !llvm.loop !17

190:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %191 = call noalias ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
  store ptr %191, ptr %30, align 8, !tbaa !9
  %192 = load ptr, ptr %30, align 8, !tbaa !9
  %193 = icmp ne ptr %192, null
  br i1 %193, label %200, label %194

194:                                              ; preds = %190
  %195 = load ptr, ptr @stderr, align 8, !tbaa !9
  %196 = load ptr, ptr %5, align 8, !tbaa !9
  %197 = getelementptr inbounds ptr, ptr %196, i64 0
  %198 = load ptr, ptr %197, align 8, !tbaa !9
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.5, ptr noundef %198, ptr noundef @.str.3) #6
  call void @exit(i32 noundef 1) #7
  unreachable

200:                                              ; preds = %190
  %201 = load ptr, ptr %30, align 8, !tbaa !9
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.6, ptr noundef @.str.3) #6
  %203 = load ptr, ptr %30, align 8, !tbaa !9
  %204 = load i32, ptr %15, align 4, !tbaa !5
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef @.str.7, i32 noundef %204) #6
  %206 = load ptr, ptr %30, align 8, !tbaa !9
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %206, ptr noundef @.str.8) #6
  %208 = load ptr, ptr %30, align 8, !tbaa !9
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.9) #6
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %210

210:                                              ; preds = %264, %200
  %211 = load i32, ptr %25, align 4, !tbaa !5
  %212 = load i32, ptr %15, align 4, !tbaa !5
  %213 = icmp ult i32 %211, %212
  br i1 %213, label %214, label %267

214:                                              ; preds = %210
  %215 = load ptr, ptr %30, align 8, !tbaa !9
  %216 = load i32, ptr %25, align 4, !tbaa !5
  %217 = add i32 %216, 1
  %218 = load i32, ptr %25, align 4, !tbaa !5
  %219 = zext i32 %218 to i64
  %220 = getelementptr inbounds { float, float }, ptr %45, i64 %219
  %221 = getelementptr inbounds { float, float }, ptr %220, i32 0, i32 0
  %222 = load float, ptr %221, align 8
  %223 = getelementptr inbounds { float, float }, ptr %220, i32 0, i32 1
  %224 = load float, ptr %223, align 4
  %225 = fpext float %222 to double
  %226 = load i32, ptr %25, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds { float, float }, ptr %45, i64 %227
  %229 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 0
  %230 = load float, ptr %229, align 8
  %231 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 1
  %232 = load float, ptr %231, align 4
  %233 = fpext float %232 to double
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %215, ptr noundef @.str.10, i32 noundef %217, double noundef %225, double noundef %233) #6
  %235 = load ptr, ptr %30, align 8, !tbaa !9
  %236 = load i32, ptr %25, align 4, !tbaa !5
  %237 = add i32 %236, 1
  %238 = load i32, ptr %25, align 4, !tbaa !5
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds { float, float }, ptr %48, i64 %239
  %241 = getelementptr inbounds { float, float }, ptr %240, i32 0, i32 0
  %242 = load float, ptr %241, align 8
  %243 = getelementptr inbounds { float, float }, ptr %240, i32 0, i32 1
  %244 = load float, ptr %243, align 4
  %245 = fpext float %242 to double
  %246 = load i32, ptr %25, align 4, !tbaa !5
  %247 = zext i32 %246 to i64
  %248 = getelementptr inbounds { float, float }, ptr %48, i64 %247
  %249 = getelementptr inbounds { float, float }, ptr %248, i32 0, i32 0
  %250 = load float, ptr %249, align 8
  %251 = getelementptr inbounds { float, float }, ptr %248, i32 0, i32 1
  %252 = load float, ptr %251, align 4
  %253 = fpext float %252 to double
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.11, i32 noundef %237, double noundef %245, double noundef %253) #6
  %255 = load ptr, ptr %30, align 8, !tbaa !9
  %256 = load i32, ptr %25, align 4, !tbaa !5
  %257 = add i32 %256, 1
  %258 = load i32, ptr %25, align 4, !tbaa !5
  %259 = zext i32 %258 to i64
  %260 = getelementptr inbounds float, ptr %51, i64 %259
  %261 = load float, ptr %260, align 4, !tbaa !11
  %262 = fpext float %261 to double
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef @.str.12, i32 noundef %257, double noundef %262) #6
  br label %264

264:                                              ; preds = %214
  %265 = load i32, ptr %25, align 4, !tbaa !5
  %266 = add i32 %265, 1
  store i32 %266, ptr %25, align 4, !tbaa !5
  br label %210, !llvm.loop !18

267:                                              ; preds = %210
  %268 = load ptr, ptr %30, align 8, !tbaa !9
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef @.str.13) #6
  %270 = load ptr, ptr %30, align 8, !tbaa !9
  %271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %270, ptr noundef @.str.14) #6
  %272 = load ptr, ptr %30, align 8, !tbaa !9
  %273 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %272, ptr noundef @.str.15) #6
  %274 = load ptr, ptr %30, align 8, !tbaa !9
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %274, ptr noundef @.str.16) #6
  %276 = load ptr, ptr %30, align 8, !tbaa !9
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %276, ptr noundef @.str.17) #6
  %278 = load ptr, ptr %30, align 8, !tbaa !9
  %279 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef @.str.18) #6
  %280 = load ptr, ptr %30, align 8, !tbaa !9
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.19) #6
  %282 = load ptr, ptr %30, align 8, !tbaa !9
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %282, ptr noundef @.str.20) #6
  %284 = load ptr, ptr %30, align 8, !tbaa !9
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef @.str.21) #6
  %286 = load ptr, ptr %30, align 8, !tbaa !9
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef @.str.22) #6
  %288 = load ptr, ptr %30, align 8, !tbaa !9
  %289 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %288, ptr noundef @.str.23) #6
  %290 = load ptr, ptr %30, align 8, !tbaa !9
  %291 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef @.str.19) #6
  %292 = load ptr, ptr %30, align 8, !tbaa !9
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef @.str.24) #6
  %294 = load ptr, ptr %30, align 8, !tbaa !9
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %294, ptr noundef @.str.21) #6
  %296 = load ptr, ptr %30, align 8, !tbaa !9
  %297 = call i32 @fclose(ptr noundef %296)
  %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, ptr noundef @.str.3)
  %299 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  %300 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %300)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %301 = load i32, ptr %3, align 4
  ret i32 %301
}

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

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

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

declare ptr @modemcf_create(i32 noundef) #4

declare ptr @firinterp_crcf_create_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) #4

declare ptr @agc_crcf_create() #4

declare i32 @agc_crcf_set_bandwidth(ptr noundef, float noundef) #4

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

declare i32 @modemcf_gen_rand_sym(ptr noundef) #4

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

declare i32 @firinterp_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) #4

declare float @randnf(...) #4

declare i32 @agc_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) #4

declare float @agc_crcf_get_rssi(ptr noundef) #4

declare i32 @modemcf_destroy(ptr noundef) #4

declare i32 @agc_crcf_destroy(ptr noundef) #4

declare i32 @firinterp_crcf_destroy(ptr noundef) #4

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

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

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

declare i32 @fclose(ptr noundef) #4

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { "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 = { nounwind }
attributes #7 = { 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}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !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 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca { float, float }, align 8
  %4 = alloca [200 x { float, float }], align 16
  %5 = alloca [200 x { float, float }], align 16
  %6 = alloca [200 x float], align 16
  %7 = tail call ptr @modemcf_create(i32 noundef 40) #5
  %8 = tail call ptr @firinterp_crcf_create_prototype(i32 noundef 9, i32 noundef 2, i32 noundef 3, float noundef 0x3FD3333340000000, float noundef 0.000000e+00) #5
  %9 = tail call ptr @agc_crcf_create() #5
  %10 = tail call i32 @agc_crcf_set_bandwidth(ptr noundef %9, float noundef 0x3FA99999A0000000) #5
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef 0x3FA99999A0000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  br label %12

12:                                               ; preds = %2, %12
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %12 ]
  %13 = call i32 @modemcf_gen_rand_sym(ptr noundef %7) #5
  %14 = call i32 @modemcf_modulate(ptr noundef %7, i32 noundef %13, ptr noundef nonnull %3) #5
  %15 = load <2 x float>, ptr %3, align 8
  %16 = fmul <2 x float> %15, <float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  store <2 x float> %16, ptr %3, align 8
  %.idx = shl nsw i64 %indvars.iv, 4
  %17 = getelementptr inbounds i8, ptr %4, i64 %.idx
  %18 = call i32 @firinterp_crcf_execute(ptr noundef %8, <2 x float> noundef %16, ptr noundef nonnull %17) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 100
  br i1 %exitcond.not, label %.preheader88, label %12, !llvm.loop !5

.preheader88:                                     ; preds = %12, %.preheader88
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %.preheader88 ], [ 0, %12 ]
  %19 = call float (...) @randnf() #5
  %20 = call float (...) @randnf() #5
  %21 = fmul float %20, 0.000000e+00
  %22 = fadd float %19, %21
  %23 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv95
  %24 = insertelement <2 x float> poison, float %22, i64 0
  %25 = insertelement <2 x float> %24, float %20, i64 1
  %26 = fmul <2 x float> %25, <float 0x3F847AE140000000, float 0x3F847AE140000000>
  %27 = fpext <2 x float> %26 to <2 x double>
  %28 = fmul <2 x double> %27, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %29 = load <2 x float>, ptr %23, align 8
  %30 = fpext <2 x float> %29 to <2 x double>
  %31 = fadd <2 x double> %28, %30
  %32 = fptrunc <2 x double> %31 to <2 x float>
  store <2 x float> %32, ptr %23, align 8
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next96, 200
  br i1 %exitcond98.not, label %.preheader, label %.preheader88, !llvm.loop !7

.preheader:                                       ; preds = %.preheader88, %.preheader
  %indvars.iv99 = phi i64 [ %indvars.iv.next100, %.preheader ], [ 0, %.preheader88 ]
  %33 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv99
  %34 = load <2 x float>, ptr %33, align 8
  %35 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv99
  %36 = call i32 @agc_crcf_execute(ptr noundef %9, <2 x float> noundef %34, ptr noundef nonnull %35) #5
  %37 = call float @agc_crcf_get_rssi(ptr noundef %9) #5
  %38 = getelementptr inbounds float, ptr %6, i64 %indvars.iv99
  store float %37, ptr %38, align 4, !tbaa !8
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %exitcond102.not = icmp eq i64 %indvars.iv.next100, 200
  br i1 %exitcond102.not, label %39, label %.preheader, !llvm.loop !12

39:                                               ; preds = %.preheader
  %40 = call i32 @modemcf_destroy(ptr noundef %7) #5
  %41 = call i32 @agc_crcf_destroy(ptr noundef %9) #5
  %42 = call i32 @firinterp_crcf_destroy(ptr noundef %8) #5
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %44 = load float, ptr %6, align 16, !tbaa !8
  %45 = fpext float %44 to double
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 0, double noundef %45)
  %47 = getelementptr inbounds i8, ptr %6, i64 20
  %48 = load float, ptr %47, align 4, !tbaa !8
  %49 = fpext float %48 to double
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 5, double noundef %49)
  %51 = getelementptr inbounds i8, ptr %6, i64 40
  %52 = load float, ptr %51, align 8, !tbaa !8
  %53 = fpext float %52 to double
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 10, double noundef %53)
  %55 = getelementptr inbounds i8, ptr %6, i64 60
  %56 = load float, ptr %55, align 4, !tbaa !8
  %57 = fpext float %56 to double
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 15, double noundef %57)
  %59 = getelementptr inbounds i8, ptr %6, i64 80
  %60 = load float, ptr %59, align 16, !tbaa !8
  %61 = fpext float %60 to double
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 20, double noundef %61)
  %63 = getelementptr inbounds i8, ptr %6, i64 100
  %64 = load float, ptr %63, align 4, !tbaa !8
  %65 = fpext float %64 to double
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 25, double noundef %65)
  %67 = getelementptr inbounds i8, ptr %6, i64 120
  %68 = load float, ptr %67, align 8, !tbaa !8
  %69 = fpext float %68 to double
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 30, double noundef %69)
  %71 = getelementptr inbounds i8, ptr %6, i64 140
  %72 = load float, ptr %71, align 4, !tbaa !8
  %73 = fpext float %72 to double
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 35, double noundef %73)
  %75 = getelementptr inbounds i8, ptr %6, i64 160
  %76 = load float, ptr %75, align 16, !tbaa !8
  %77 = fpext float %76 to double
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 40, double noundef %77)
  %79 = getelementptr inbounds i8, ptr %6, i64 180
  %80 = load float, ptr %79, align 4, !tbaa !8
  %81 = fpext float %80 to double
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 45, double noundef %81)
  %83 = getelementptr inbounds i8, ptr %6, i64 200
  %84 = load float, ptr %83, align 8, !tbaa !8
  %85 = fpext float %84 to double
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 50, double noundef %85)
  %87 = getelementptr inbounds i8, ptr %6, i64 220
  %88 = load float, ptr %87, align 4, !tbaa !8
  %89 = fpext float %88 to double
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 55, double noundef %89)
  %91 = getelementptr inbounds i8, ptr %6, i64 240
  %92 = load float, ptr %91, align 16, !tbaa !8
  %93 = fpext float %92 to double
  %94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 60, double noundef %93)
  %95 = getelementptr inbounds i8, ptr %6, i64 260
  %96 = load float, ptr %95, align 4, !tbaa !8
  %97 = fpext float %96 to double
  %98 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 65, double noundef %97)
  %99 = getelementptr inbounds i8, ptr %6, i64 280
  %100 = load float, ptr %99, align 8, !tbaa !8
  %101 = fpext float %100 to double
  %102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 70, double noundef %101)
  %103 = getelementptr inbounds i8, ptr %6, i64 300
  %104 = load float, ptr %103, align 4, !tbaa !8
  %105 = fpext float %104 to double
  %106 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 75, double noundef %105)
  %107 = getelementptr inbounds i8, ptr %6, i64 320
  %108 = load float, ptr %107, align 16, !tbaa !8
  %109 = fpext float %108 to double
  %110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 80, double noundef %109)
  %111 = getelementptr inbounds i8, ptr %6, i64 340
  %112 = load float, ptr %111, align 4, !tbaa !8
  %113 = fpext float %112 to double
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 85, double noundef %113)
  %115 = getelementptr inbounds i8, ptr %6, i64 360
  %116 = load float, ptr %115, align 8, !tbaa !8
  %117 = fpext float %116 to double
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 90, double noundef %117)
  %119 = getelementptr inbounds i8, ptr %6, i64 380
  %120 = load float, ptr %119, align 4, !tbaa !8
  %121 = fpext float %120 to double
  %122 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 95, double noundef %121)
  %123 = getelementptr inbounds i8, ptr %6, i64 400
  %124 = load float, ptr %123, align 16, !tbaa !8
  %125 = fpext float %124 to double
  %126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 100, double noundef %125)
  %127 = getelementptr inbounds i8, ptr %6, i64 420
  %128 = load float, ptr %127, align 4, !tbaa !8
  %129 = fpext float %128 to double
  %130 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 105, double noundef %129)
  %131 = getelementptr inbounds i8, ptr %6, i64 440
  %132 = load float, ptr %131, align 8, !tbaa !8
  %133 = fpext float %132 to double
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 110, double noundef %133)
  %135 = getelementptr inbounds i8, ptr %6, i64 460
  %136 = load float, ptr %135, align 4, !tbaa !8
  %137 = fpext float %136 to double
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 115, double noundef %137)
  %139 = getelementptr inbounds i8, ptr %6, i64 480
  %140 = load float, ptr %139, align 16, !tbaa !8
  %141 = fpext float %140 to double
  %142 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 120, double noundef %141)
  %143 = getelementptr inbounds i8, ptr %6, i64 500
  %144 = load float, ptr %143, align 4, !tbaa !8
  %145 = fpext float %144 to double
  %146 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 125, double noundef %145)
  %147 = getelementptr inbounds i8, ptr %6, i64 520
  %148 = load float, ptr %147, align 8, !tbaa !8
  %149 = fpext float %148 to double
  %150 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 130, double noundef %149)
  %151 = getelementptr inbounds i8, ptr %6, i64 540
  %152 = load float, ptr %151, align 4, !tbaa !8
  %153 = fpext float %152 to double
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 135, double noundef %153)
  %155 = getelementptr inbounds i8, ptr %6, i64 560
  %156 = load float, ptr %155, align 16, !tbaa !8
  %157 = fpext float %156 to double
  %158 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 140, double noundef %157)
  %159 = getelementptr inbounds i8, ptr %6, i64 580
  %160 = load float, ptr %159, align 4, !tbaa !8
  %161 = fpext float %160 to double
  %162 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 145, double noundef %161)
  %163 = getelementptr inbounds i8, ptr %6, i64 600
  %164 = load float, ptr %163, align 8, !tbaa !8
  %165 = fpext float %164 to double
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 150, double noundef %165)
  %167 = getelementptr inbounds i8, ptr %6, i64 620
  %168 = load float, ptr %167, align 4, !tbaa !8
  %169 = fpext float %168 to double
  %170 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 155, double noundef %169)
  %171 = getelementptr inbounds i8, ptr %6, i64 640
  %172 = load float, ptr %171, align 16, !tbaa !8
  %173 = fpext float %172 to double
  %174 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 160, double noundef %173)
  %175 = getelementptr inbounds i8, ptr %6, i64 660
  %176 = load float, ptr %175, align 4, !tbaa !8
  %177 = fpext float %176 to double
  %178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 165, double noundef %177)
  %179 = getelementptr inbounds i8, ptr %6, i64 680
  %180 = load float, ptr %179, align 8, !tbaa !8
  %181 = fpext float %180 to double
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 170, double noundef %181)
  %183 = getelementptr inbounds i8, ptr %6, i64 700
  %184 = load float, ptr %183, align 4, !tbaa !8
  %185 = fpext float %184 to double
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 175, double noundef %185)
  %187 = getelementptr inbounds i8, ptr %6, i64 720
  %188 = load float, ptr %187, align 16, !tbaa !8
  %189 = fpext float %188 to double
  %190 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 180, double noundef %189)
  %191 = getelementptr inbounds i8, ptr %6, i64 740
  %192 = load float, ptr %191, align 4, !tbaa !8
  %193 = fpext float %192 to double
  %194 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 185, double noundef %193)
  %195 = getelementptr inbounds i8, ptr %6, i64 760
  %196 = load float, ptr %195, align 8, !tbaa !8
  %197 = fpext float %196 to double
  %198 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 190, double noundef %197)
  %199 = getelementptr inbounds i8, ptr %6, i64 780
  %200 = load float, ptr %199, align 4, !tbaa !8
  %201 = fpext float %200 to double
  %202 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 195, double noundef %201)
  %203 = call noalias ptr @fopen(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4)
  %.not = icmp eq ptr %203, null
  br i1 %.not, label %204, label %208

204:                                              ; preds = %39
  %205 = load ptr, ptr @stderr, align 8, !tbaa !13
  %206 = load ptr, ptr %1, align 8, !tbaa !13
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef nonnull @.str.5, ptr noundef %206, ptr noundef nonnull @.str.3) #6
  call void @exit(i32 noundef 1) #7
  unreachable

208:                                              ; preds = %39
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %203, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3) #5
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %203, ptr noundef nonnull @.str.7, i32 noundef 200) #5
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %203, ptr noundef nonnull @.str.8) #5
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %203, ptr noundef nonnull @.str.9) #5
  br label %213

213:                                              ; preds = %208, %213
  %indvars.iv106 = phi i64 [ 0, %208 ], [ %indvars.iv.next107, %213 ]
  %indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
  %214 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv106
  %215 = load float, ptr %214, align 8
  %216 = getelementptr inbounds i8, ptr %214, i64 4
  %217 = fpext float %215 to double
  %218 = load float, ptr %216, align 4
  %219 = fpext float %218 to double
  %220 = trunc nuw nsw i64 %indvars.iv.next107 to i32
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.10, i32 noundef %220, double noundef %217, double noundef %219) #5
  %222 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv106
  %223 = load float, ptr %222, align 8
  %224 = getelementptr inbounds i8, ptr %222, i64 4
  %225 = fpext float %223 to double
  %226 = load float, ptr %224, align 4
  %227 = fpext float %226 to double
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.11, i32 noundef %220, double noundef %225, double noundef %227) #5
  %229 = getelementptr inbounds float, ptr %6, i64 %indvars.iv106
  %230 = load float, ptr %229, align 4, !tbaa !8
  %231 = fpext float %230 to double
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.12, i32 noundef %220, double noundef %231) #5
  %exitcond109.not = icmp eq i64 %indvars.iv.next107, 200
  br i1 %exitcond109.not, label %233, label %213, !llvm.loop !15

233:                                              ; preds = %213
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.13) #5
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.14) #5
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.15) #5
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.16) #5
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.17) #5
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.18) #5
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.19) #5
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.20) #5
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.21) #5
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.22) #5
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.23) #5
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.19) #5
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.24) #5
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.21) #5
  %248 = call i32 @fclose(ptr noundef %203)
  %249 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25, ptr noundef nonnull @.str.3)
  %250 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret i32 0
}

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

declare ptr @modemcf_create(i32 noundef) local_unnamed_addr #2

declare ptr @firinterp_crcf_create_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #2

declare ptr @agc_crcf_create() local_unnamed_addr #2

declare i32 @agc_crcf_set_bandwidth(ptr noundef, float noundef) local_unnamed_addr #2

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

declare i32 @modemcf_gen_rand_sym(ptr noundef) local_unnamed_addr #2

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

declare i32 @firinterp_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #2

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

declare i32 @agc_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #2

declare float @agc_crcf_get_rssi(ptr noundef) local_unnamed_addr #2

declare i32 @modemcf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @agc_crcf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @firinterp_crcf_destroy(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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


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