; LLVM IR from jgaeddert/liquid-dsp :: examples (ampmodem_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 [15 x i8], align 1
@optarg = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@stderr = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [23 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca { float, float }, align 4
  %29 = alloca { float, float }, align 4
  %30 = alloca float, align 4
  %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) #9
  store float 0x3FE99999A0000000, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store float 0x3FA99999A0000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store float 0x4006666660000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store float 3.000000e+01, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 2400, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store i32 1, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  br label %32

32:                                               ; preds = %86, %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) #9
  store i32 %35, ptr %13, align 4, !tbaa !5
  %36 = icmp ne i32 %35, -1
  br i1 %36, label %37, label %87

37:                                               ; preds = %32
  %38 = load i32, ptr %13, align 4, !tbaa !5
  switch i32 %38, label %85 [
    i32 104, label %39
    i32 109, label %40
    i32 102, label %44
    i32 112, label %48
    i32 110, label %52
    i32 83, label %55
    i32 116, label %59
    i32 115, label %84
  ]

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

40:                                               ; preds = %37
  %41 = load ptr, ptr @optarg, align 8, !tbaa !9
  %42 = call double @atof(ptr noundef %41) #10
  %43 = fptrunc double %42 to float
  store float %43, ptr %6, align 4, !tbaa !11
  br label %86

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

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

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

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

59:                                               ; preds = %37
  %60 = load ptr, ptr @optarg, align 8, !tbaa !9
  %61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str.10) #10
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %59
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %83

64:                                               ; preds = %59
  %65 = load ptr, ptr @optarg, align 8, !tbaa !9
  %66 = call i32 @strcmp(ptr noundef %65, ptr noundef @.str.11) #10
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %69

68:                                               ; preds = %64
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %82

69:                                               ; preds = %64
  %70 = load ptr, ptr @optarg, align 8, !tbaa !9
  %71 = call i32 @strcmp(ptr noundef %70, ptr noundef @.str.12) #10
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %69
  store i32 2, ptr %11, align 4, !tbaa !5
  br label %81

74:                                               ; preds = %69
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = load ptr, ptr %5, align 8, !tbaa !9
  %77 = getelementptr inbounds ptr, ptr %76, i64 0
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = load ptr, ptr @optarg, align 8, !tbaa !9
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.13, ptr noundef %78, ptr noundef %79) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %14, align 4
  br label %476

81:                                               ; preds = %73
  br label %82

82:                                               ; preds = %81, %68
  br label %83

83:                                               ; preds = %82, %63
  br label %86

84:                                               ; preds = %37
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %86

85:                                               ; preds = %37
  store i32 1, ptr %3, align 4
  store i32 1, ptr %14, align 4
  br label %476

86:                                               ; preds = %84, %83, %55, %52, %48, %44, %40
  br label %32, !llvm.loop !13

87:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %88 = load float, ptr %6, align 4, !tbaa !11
  %89 = load i32, ptr %11, align 4, !tbaa !5
  %90 = load i32, ptr %12, align 4, !tbaa !5
  %91 = call ptr @ampmodem_create(float noundef %88, i32 noundef %89, i32 noundef %90)
  store ptr %91, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %92 = load float, ptr %6, align 4, !tbaa !11
  %93 = load i32, ptr %11, align 4, !tbaa !5
  %94 = load i32, ptr %12, align 4, !tbaa !5
  %95 = call ptr @ampmodem_create(float noundef %92, i32 noundef %93, i32 noundef %94)
  store ptr %95, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %96 = load ptr, ptr %15, align 8, !tbaa !9
  %97 = call i32 @ampmodem_get_delay_mod(ptr noundef %96)
  %98 = load ptr, ptr %16, align 8, !tbaa !9
  %99 = call i32 @ampmodem_get_delay_demod(ptr noundef %98)
  %100 = add i32 %97, %99
  store i32 %100, ptr %17, align 4, !tbaa !5
  %101 = load ptr, ptr %15, align 8, !tbaa !9
  %102 = call i32 @ampmodem_print(ptr noundef %101)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %103 = load i32, ptr %10, align 4, !tbaa !5
  %104 = zext i32 %103 to i64
  %105 = call ptr @llvm.stacksave.p0()
  store ptr %105, ptr %19, align 8
  %106 = alloca float, i64 %104, align 16
  store i64 %104, ptr %20, align 8
  %107 = load i32, ptr %10, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = alloca { float, float }, i64 %108, align 16
  store i64 %108, ptr %21, align 8
  %110 = load i32, ptr %10, align 4, !tbaa !5
  %111 = zext i32 %110 to i64
  %112 = alloca float, i64 %111, align 16
  store i64 %111, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %113 = load i32, ptr %10, align 4, !tbaa !5
  %114 = uitofp i32 %113 to double
  %115 = fmul double 9.000000e-01, %114
  %116 = fptoui double %115 to i32
  store i32 %116, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %117 = load i32, ptr %10, align 4, !tbaa !5
  %118 = uitofp i32 %117 to double
  %119 = fmul double 5.000000e-02, %118
  %120 = fptoui double %119 to i32
  store i32 %120, ptr %24, align 4, !tbaa !5
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %162, %87
  %122 = load i32, ptr %18, align 4, !tbaa !5
  %123 = load i32, ptr %10, align 4, !tbaa !5
  %124 = icmp ult i32 %122, %123
  br i1 %124, label %125, label %165

125:                                              ; preds = %121
  %126 = load i32, ptr %18, align 4, !tbaa !5
  %127 = uitofp i32 %126 to double
  %128 = fmul double 0x3FC03EED01A19FCF, %127
  %129 = call double @cos(double noundef %128) #9
  %130 = fmul double 0x3FE3333340000000, %129
  %131 = fptrunc double %130 to float
  %132 = load i32, ptr %18, align 4, !tbaa !5
  %133 = zext i32 %132 to i64
  %134 = getelementptr inbounds float, ptr %106, i64 %133
  store float %131, ptr %134, align 4, !tbaa !11
  %135 = load i32, ptr %18, align 4, !tbaa !5
  %136 = uitofp i32 %135 to double
  %137 = fmul double 0x3FC5CB8C89CAE457, %136
  %138 = call double @cos(double noundef %137) #9
  %139 = load i32, ptr %18, align 4, !tbaa !5
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds float, ptr %106, i64 %140
  %142 = load float, ptr %141, align 4, !tbaa !11
  %143 = fpext float %142 to double
  %144 = call double @llvm.fmuladd.f64(double 0x3FD99999A0000000, double %138, double %143)
  %145 = fptrunc double %144 to float
  store float %145, ptr %141, align 4, !tbaa !11
  %146 = load i32, ptr %18, align 4, !tbaa !5
  %147 = load i32, ptr %23, align 4, !tbaa !5
  %148 = icmp ult i32 %146, %147
  br i1 %148, label %149, label %154

149:                                              ; preds = %125
  %150 = load i32, ptr %18, align 4, !tbaa !5
  %151 = load i32, ptr %23, align 4, !tbaa !5
  %152 = load i32, ptr %24, align 4, !tbaa !5
  %153 = call float @liquid_rcostaper_window(i32 noundef %150, i32 noundef %151, i32 noundef %152)
  br label %155

154:                                              ; preds = %125
  br label %155

155:                                              ; preds = %154, %149
  %156 = phi float [ %153, %149 ], [ 0.000000e+00, %154 ]
  %157 = load i32, ptr %18, align 4, !tbaa !5
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds float, ptr %106, i64 %158
  %160 = load float, ptr %159, align 4, !tbaa !11
  %161 = fmul float %160, %156
  store float %161, ptr %159, align 4, !tbaa !11
  br label %162

162:                                              ; preds = %155
  %163 = load i32, ptr %18, align 4, !tbaa !5
  %164 = add i32 %163, 1
  store i32 %164, ptr %18, align 4, !tbaa !5
  br label %121, !llvm.loop !15

165:                                              ; preds = %121
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %166

166:                                              ; preds = %180, %165
  %167 = load i32, ptr %18, align 4, !tbaa !5
  %168 = load i32, ptr %10, align 4, !tbaa !5
  %169 = icmp ult i32 %167, %168
  br i1 %169, label %170, label %183

170:                                              ; preds = %166
  %171 = load ptr, ptr %15, align 8, !tbaa !9
  %172 = load i32, ptr %18, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds float, ptr %106, i64 %173
  %175 = load float, ptr %174, align 4, !tbaa !11
  %176 = load i32, ptr %18, align 4, !tbaa !5
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds { float, float }, ptr %109, i64 %177
  %179 = call i32 @ampmodem_modulate(ptr noundef %171, float noundef %175, ptr noundef %178)
  br label %180

180:                                              ; preds = %170
  %181 = load i32, ptr %18, align 4, !tbaa !5
  %182 = add i32 %181, 1
  store i32 %182, ptr %18, align 4, !tbaa !5
  br label %166, !llvm.loop !16

183:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %184 = load float, ptr %9, align 4, !tbaa !11
  %185 = fneg float %184
  %186 = fdiv float %185, 2.000000e+01
  %187 = call float @powf(float noundef 1.000000e+01, float noundef %186) #9
  store float %187, ptr %25, align 4, !tbaa !11
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %188

188:                                              ; preds = %281, %183
  %189 = load i32, ptr %18, align 4, !tbaa !5
  %190 = load i32, ptr %10, align 4, !tbaa !5
  %191 = icmp ult i32 %189, %190
  br i1 %191, label %192, label %284

192:                                              ; preds = %188
  %193 = load float, ptr %8, align 4, !tbaa !11
  %194 = fmul float 0.000000e+00, %193
  %195 = fmul float 1.000000e+00, %193
  %196 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %197 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  store float %194, ptr %196, align 4
  store float %195, ptr %197, align 4
  %198 = load <2 x float>, ptr %26, align 4
  %199 = call <2 x float> @cexpf(<2 x float> noundef %198) #9
  store <2 x float> %199, ptr %27, align 4
  %200 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %201 = load float, ptr %200, align 4
  %202 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  %203 = load float, ptr %202, align 4
  %204 = load i32, ptr %18, align 4, !tbaa !5
  %205 = zext i32 %204 to i64
  %206 = getelementptr inbounds { float, float }, ptr %109, i64 %205
  %207 = getelementptr inbounds { float, float }, ptr %206, i32 0, i32 0
  %208 = load float, ptr %207, align 8
  %209 = getelementptr inbounds { float, float }, ptr %206, i32 0, i32 1
  %210 = load float, ptr %209, align 4
  %211 = fmul float %208, %201
  %212 = fmul float %210, %203
  %213 = fmul float %208, %203
  %214 = fmul float %210, %201
  %215 = fsub float %211, %212
  %216 = fadd float %213, %214
  %217 = fcmp uno float %215, %215
  br i1 %217, label %218, label %226, !prof !17

218:                                              ; preds = %192
  %219 = fcmp uno float %216, %216
  br i1 %219, label %220, label %226, !prof !17

220:                                              ; preds = %218
  %221 = call <2 x float> @__mulsc3(float noundef %208, float noundef %210, float noundef %201, float noundef %203) #9
  store <2 x float> %221, ptr %28, align 4
  %222 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %223 = load float, ptr %222, align 4
  %224 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %225 = load float, ptr %224, align 4
  br label %226

226:                                              ; preds = %220, %218, %192
  %227 = phi float [ %215, %192 ], [ %215, %218 ], [ %223, %220 ]
  %228 = phi float [ %216, %192 ], [ %216, %218 ], [ %225, %220 ]
  %229 = getelementptr inbounds { float, float }, ptr %206, i32 0, i32 0
  %230 = getelementptr inbounds { float, float }, ptr %206, i32 0, i32 1
  store float %227, ptr %229, align 8
  store float %228, ptr %230, align 4
  %231 = load float, ptr %25, align 4, !tbaa !11
  %232 = call float (...) @randnf()
  %233 = call float (...) @randnf()
  %234 = fmul float 0.000000e+00, %233
  %235 = fmul float 1.000000e+00, %233
  %236 = fadd float %232, %234
  %237 = fmul float %231, %236
  %238 = fmul float %231, %235
  %239 = fpext float %237 to double
  %240 = fpext float %238 to double
  %241 = fmul double %239, 0x3FE6A09E667F3BCD
  %242 = fmul double %240, 0x3FE6A09E667F3BCD
  %243 = load i32, ptr %18, align 4, !tbaa !5
  %244 = zext i32 %243 to i64
  %245 = getelementptr inbounds { float, float }, ptr %109, i64 %244
  %246 = getelementptr inbounds { float, float }, ptr %245, i32 0, i32 0
  %247 = load float, ptr %246, align 8
  %248 = getelementptr inbounds { float, float }, ptr %245, i32 0, i32 1
  %249 = load float, ptr %248, align 4
  %250 = fpext float %247 to double
  %251 = fpext float %249 to double
  %252 = fadd double %250, %241
  %253 = fadd double %251, %242
  %254 = fptrunc double %252 to float
  %255 = fptrunc double %253 to float
  %256 = getelementptr inbounds { float, float }, ptr %245, i32 0, i32 0
  %257 = getelementptr inbounds { float, float }, ptr %245, i32 0, i32 1
  store float %254, ptr %256, align 8
  store float %255, ptr %257, align 4
  %258 = load float, ptr %7, align 4, !tbaa !11
  %259 = load float, ptr %8, align 4, !tbaa !11
  %260 = fadd float %259, %258
  store float %260, ptr %8, align 4, !tbaa !11
  br label %261

261:                                              ; preds = %265, %226
  %262 = load float, ptr %8, align 4, !tbaa !11
  %263 = fpext float %262 to double
  %264 = fcmp ogt double %263, 0x400921FB54442D18
  br i1 %264, label %265, label %270

265:                                              ; preds = %261
  %266 = load float, ptr %8, align 4, !tbaa !11
  %267 = fpext float %266 to double
  %268 = fsub double %267, 0x401921FB54442D18
  %269 = fptrunc double %268 to float
  store float %269, ptr %8, align 4, !tbaa !11
  br label %261, !llvm.loop !18

270:                                              ; preds = %261
  br label %271

271:                                              ; preds = %275, %270
  %272 = load float, ptr %8, align 4, !tbaa !11
  %273 = fpext float %272 to double
  %274 = fcmp olt double %273, 0xC00921FB54442D18
  br i1 %274, label %275, label %280

275:                                              ; preds = %271
  %276 = load float, ptr %8, align 4, !tbaa !11
  %277 = fpext float %276 to double
  %278 = fadd double %277, 0x401921FB54442D18
  %279 = fptrunc double %278 to float
  store float %279, ptr %8, align 4, !tbaa !11
  br label %271, !llvm.loop !19

280:                                              ; preds = %271
  br label %281

281:                                              ; preds = %280
  %282 = load i32, ptr %18, align 4, !tbaa !5
  %283 = add i32 %282, 1
  store i32 %283, ptr %18, align 4, !tbaa !5
  br label %188, !llvm.loop !20

284:                                              ; preds = %188
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %285

285:                                              ; preds = %305, %284
  %286 = load i32, ptr %18, align 4, !tbaa !5
  %287 = load i32, ptr %10, align 4, !tbaa !5
  %288 = icmp ult i32 %286, %287
  br i1 %288, label %289, label %308

289:                                              ; preds = %285
  %290 = load ptr, ptr %16, align 8, !tbaa !9
  %291 = load i32, ptr %18, align 4, !tbaa !5
  %292 = zext i32 %291 to i64
  %293 = getelementptr inbounds { float, float }, ptr %109, i64 %292
  %294 = getelementptr inbounds { float, float }, ptr %293, i32 0, i32 0
  %295 = load float, ptr %294, align 8
  %296 = getelementptr inbounds { float, float }, ptr %293, i32 0, i32 1
  %297 = load float, ptr %296, align 4
  %298 = load i32, ptr %18, align 4, !tbaa !5
  %299 = zext i32 %298 to i64
  %300 = getelementptr inbounds float, ptr %112, i64 %299
  %301 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %302 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  store float %295, ptr %301, align 4
  store float %297, ptr %302, align 4
  %303 = load <2 x float>, ptr %29, align 4
  %304 = call i32 @ampmodem_demodulate(ptr noundef %290, <2 x float> noundef %303, ptr noundef %300)
  br label %305

305:                                              ; preds = %289
  %306 = load i32, ptr %18, align 4, !tbaa !5
  %307 = add i32 %306, 1
  store i32 %307, ptr %18, align 4, !tbaa !5
  br label %285, !llvm.loop !21

308:                                              ; preds = %285
  %309 = load ptr, ptr %15, align 8, !tbaa !9
  %310 = call i32 @ampmodem_destroy(ptr noundef %309)
  %311 = load ptr, ptr %16, align 8, !tbaa !9
  %312 = call i32 @ampmodem_destroy(ptr noundef %311)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  store float 0.000000e+00, ptr %30, align 4, !tbaa !11
  %313 = load i32, ptr %17, align 4, !tbaa !5
  store i32 %313, ptr %18, align 4, !tbaa !5
  br label %314

314:                                              ; preds = %343, %308
  %315 = load i32, ptr %18, align 4, !tbaa !5
  %316 = load i32, ptr %10, align 4, !tbaa !5
  %317 = icmp ult i32 %315, %316
  br i1 %317, label %318, label %346

318:                                              ; preds = %314
  %319 = load i32, ptr %18, align 4, !tbaa !5
  %320 = load i32, ptr %17, align 4, !tbaa !5
  %321 = sub i32 %319, %320
  %322 = zext i32 %321 to i64
  %323 = getelementptr inbounds float, ptr %106, i64 %322
  %324 = load float, ptr %323, align 4, !tbaa !11
  %325 = load i32, ptr %18, align 4, !tbaa !5
  %326 = zext i32 %325 to i64
  %327 = getelementptr inbounds float, ptr %112, i64 %326
  %328 = load float, ptr %327, align 4, !tbaa !11
  %329 = fsub float %324, %328
  %330 = load i32, ptr %18, align 4, !tbaa !5
  %331 = load i32, ptr %17, align 4, !tbaa !5
  %332 = sub i32 %330, %331
  %333 = zext i32 %332 to i64
  %334 = getelementptr inbounds float, ptr %106, i64 %333
  %335 = load float, ptr %334, align 4, !tbaa !11
  %336 = load i32, ptr %18, align 4, !tbaa !5
  %337 = zext i32 %336 to i64
  %338 = getelementptr inbounds float, ptr %112, i64 %337
  %339 = load float, ptr %338, align 4, !tbaa !11
  %340 = fsub float %335, %339
  %341 = load float, ptr %30, align 4, !tbaa !11
  %342 = call float @llvm.fmuladd.f32(float %329, float %340, float %341)
  store float %342, ptr %30, align 4, !tbaa !11
  br label %343

343:                                              ; preds = %318
  %344 = load i32, ptr %18, align 4, !tbaa !5
  %345 = add i32 %344, 1
  store i32 %345, ptr %18, align 4, !tbaa !5
  br label %314, !llvm.loop !22

346:                                              ; preds = %314
  %347 = load float, ptr %30, align 4, !tbaa !11
  %348 = load i32, ptr %10, align 4, !tbaa !5
  %349 = load i32, ptr %17, align 4, !tbaa !5
  %350 = sub i32 %348, %349
  %351 = uitofp i32 %350 to float
  %352 = fdiv float %347, %351
  %353 = fpext float %352 to double
  %354 = call double @log10(double noundef %353) #9
  %355 = fmul double 1.000000e+01, %354
  %356 = fptrunc double %355 to float
  store float %356, ptr %30, align 4, !tbaa !11
  %357 = load float, ptr %30, align 4, !tbaa !11
  %358 = fpext float %357 to double
  %359 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %358)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %360 = call noalias ptr @fopen(ptr noundef @.str.15, ptr noundef @.str.16)
  store ptr %360, ptr %31, align 8, !tbaa !9
  %361 = load ptr, ptr %31, align 8, !tbaa !9
  %362 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %361, ptr noundef @.str.17, ptr noundef @.str.15) #9
  %363 = load ptr, ptr %31, align 8, !tbaa !9
  %364 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %363, ptr noundef @.str.18) #9
  %365 = load ptr, ptr %31, align 8, !tbaa !9
  %366 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %365, ptr noundef @.str.19) #9
  %367 = load ptr, ptr %31, align 8, !tbaa !9
  %368 = load i32, ptr %10, align 4, !tbaa !5
  %369 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %367, ptr noundef @.str.20, i32 noundef %368) #9
  %370 = load ptr, ptr %31, align 8, !tbaa !9
  %371 = load i32, ptr %17, align 4, !tbaa !5
  %372 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %370, ptr noundef @.str.21, i32 noundef %371) #9
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %373

373:                                              ; preds = %416, %346
  %374 = load i32, ptr %18, align 4, !tbaa !5
  %375 = load i32, ptr %10, align 4, !tbaa !5
  %376 = icmp ult i32 %374, %375
  br i1 %376, label %377, label %419

377:                                              ; preds = %373
  %378 = load ptr, ptr %31, align 8, !tbaa !9
  %379 = load i32, ptr %18, align 4, !tbaa !5
  %380 = add i32 %379, 1
  %381 = load i32, ptr %18, align 4, !tbaa !5
  %382 = zext i32 %381 to i64
  %383 = getelementptr inbounds float, ptr %106, i64 %382
  %384 = load float, ptr %383, align 4, !tbaa !11
  %385 = fpext float %384 to double
  %386 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %378, ptr noundef @.str.22, i32 noundef %380, double noundef %385) #9
  %387 = load ptr, ptr %31, align 8, !tbaa !9
  %388 = load i32, ptr %18, align 4, !tbaa !5
  %389 = add i32 %388, 1
  %390 = load i32, ptr %18, align 4, !tbaa !5
  %391 = zext i32 %390 to i64
  %392 = getelementptr inbounds { float, float }, ptr %109, i64 %391
  %393 = getelementptr inbounds { float, float }, ptr %392, i32 0, i32 0
  %394 = load float, ptr %393, align 8
  %395 = getelementptr inbounds { float, float }, ptr %392, i32 0, i32 1
  %396 = load float, ptr %395, align 4
  %397 = fpext float %394 to double
  %398 = load i32, ptr %18, align 4, !tbaa !5
  %399 = zext i32 %398 to i64
  %400 = getelementptr inbounds { float, float }, ptr %109, i64 %399
  %401 = getelementptr inbounds { float, float }, ptr %400, i32 0, i32 0
  %402 = load float, ptr %401, align 8
  %403 = getelementptr inbounds { float, float }, ptr %400, i32 0, i32 1
  %404 = load float, ptr %403, align 4
  %405 = fpext float %404 to double
  %406 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %387, ptr noundef @.str.23, i32 noundef %389, double noundef %397, double noundef %405) #9
  %407 = load ptr, ptr %31, align 8, !tbaa !9
  %408 = load i32, ptr %18, align 4, !tbaa !5
  %409 = add i32 %408, 1
  %410 = load i32, ptr %18, align 4, !tbaa !5
  %411 = zext i32 %410 to i64
  %412 = getelementptr inbounds float, ptr %112, i64 %411
  %413 = load float, ptr %412, align 4, !tbaa !11
  %414 = fpext float %413 to double
  %415 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %407, ptr noundef @.str.24, i32 noundef %409, double noundef %414) #9
  br label %416

416:                                              ; preds = %377
  %417 = load i32, ptr %18, align 4, !tbaa !5
  %418 = add i32 %417, 1
  store i32 %418, ptr %18, align 4, !tbaa !5
  br label %373, !llvm.loop !23

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

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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #6

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

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

declare i32 @ampmodem_get_delay_mod(ptr noundef) #1

declare i32 @ampmodem_get_delay_demod(ptr noundef) #1

declare i32 @ampmodem_print(ptr noundef) #1

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

; Function Attrs: nounwind
declare double @cos(double noundef) #4

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

declare float @liquid_rcostaper_window(i32 noundef, i32 noundef, i32 noundef) #1

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

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

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

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

declare float @randnf(...) #1

declare i32 @ampmodem_demodulate(ptr noundef, <2 x float> noundef, ptr noundef) #1

declare i32 @ampmodem_destroy(ptr noundef) #1

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

; Function Attrs: nounwind
declare double @log10(double noundef) #4

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

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

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

!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 = !{!"branch_weights", i32 1, i32 1048575}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !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 [15 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [23 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 range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  br label %3

3:                                                ; preds = %.backedge, %2
  %.0139 = phi i32 [ 0, %2 ], [ %.0139.be, %.backedge ]
  %.0137 = phi i32 [ 1, %2 ], [ %.0137.be, %.backedge ]
  %.0135 = phi i32 [ 2400, %2 ], [ %.0135.be, %.backedge ]
  %.0133 = phi float [ 3.000000e+01, %2 ], [ %.0133.be, %.backedge ]
  %.0131 = phi float [ 0x4006666660000000, %2 ], [ %.0131.be, %.backedge ]
  %.0129 = phi float [ 0x3FA99999A0000000, %2 ], [ %.0129.be, %.backedge ]
  %.0128 = phi float [ 0x3FE99999A0000000, %2 ], [ %.0128.be, %.backedge ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.9) #10
  switch i32 %4, label %.loopexit [
    i32 -1, label %39
    i32 104, label %5
    i32 109, label %6
    i32 102, label %10
    i32 112, label %14
    i32 110, label %18
    i32 83, label %21
    i32 116, label %25
    i32 115, label %.backedge
  ]

.backedge:                                        ; preds = %3, %32, %29, %25, %21, %18, %14, %10, %6
  %.0139.be = phi i32 [ %.0139, %21 ], [ %.0139, %18 ], [ %.0139, %14 ], [ %.0139, %10 ], [ %.0139, %6 ], [ %.0139, %25 ], [ %.0139, %29 ], [ %.0139, %32 ], [ 1, %3 ]
  %.0137.be = phi i32 [ %.0137, %21 ], [ %.0137, %18 ], [ %.0137, %14 ], [ %.0137, %10 ], [ %.0137, %6 ], [ 0, %25 ], [ 1, %29 ], [ 2, %32 ], [ %.0137, %3 ]
  %.0135.be = phi i32 [ %.0135, %21 ], [ %20, %18 ], [ %.0135, %14 ], [ %.0135, %10 ], [ %.0135, %6 ], [ %.0135, %25 ], [ %.0135, %29 ], [ %.0135, %32 ], [ %.0135, %3 ]
  %.0133.be = phi float [ %24, %21 ], [ %.0133, %18 ], [ %.0133, %14 ], [ %.0133, %10 ], [ %.0133, %6 ], [ %.0133, %25 ], [ %.0133, %29 ], [ %.0133, %32 ], [ %.0133, %3 ]
  %.0131.be = phi float [ %.0131, %21 ], [ %.0131, %18 ], [ %17, %14 ], [ %.0131, %10 ], [ %.0131, %6 ], [ %.0131, %25 ], [ %.0131, %29 ], [ %.0131, %32 ], [ %.0131, %3 ]
  %.0129.be = phi float [ %.0129, %21 ], [ %.0129, %18 ], [ %.0129, %14 ], [ %13, %10 ], [ %.0129, %6 ], [ %.0129, %25 ], [ %.0129, %29 ], [ %.0129, %32 ], [ %.0129, %3 ]
  %.0128.be = phi float [ %.0128, %21 ], [ %.0128, %18 ], [ %.0128, %14 ], [ %.0128, %10 ], [ %9, %6 ], [ %.0128, %25 ], [ %.0128, %29 ], [ %.0128, %32 ], [ %.0128, %3 ]
  br label %3, !llvm.loop !5

5:                                                ; preds = %3
  tail call void @usage()
  br label %.loopexit

6:                                                ; preds = %3
  %7 = load ptr, ptr @optarg, align 8, !tbaa !7
  %8 = tail call double @atof(ptr noundef %7) #11
  %9 = fptrunc double %8 to float
  br label %.backedge

10:                                               ; preds = %3
  %11 = load ptr, ptr @optarg, align 8, !tbaa !7
  %12 = tail call double @atof(ptr noundef %11) #11
  %13 = fptrunc double %12 to float
  br label %.backedge

14:                                               ; preds = %3
  %15 = load ptr, ptr @optarg, align 8, !tbaa !7
  %16 = tail call double @atof(ptr noundef %15) #11
  %17 = fptrunc double %16 to float
  br label %.backedge

18:                                               ; preds = %3
  %19 = load ptr, ptr @optarg, align 8, !tbaa !7
  %20 = tail call i32 @atoi(ptr nocapture noundef %19) #11
  br label %.backedge

21:                                               ; preds = %3
  %22 = load ptr, ptr @optarg, align 8, !tbaa !7
  %23 = tail call double @atof(ptr noundef %22) #11
  %24 = fptrunc double %23 to float
  br label %.backedge

25:                                               ; preds = %3
  %26 = load ptr, ptr @optarg, align 8, !tbaa !7
  %27 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %26, ptr noundef nonnull dereferenceable(1) @.str.10) #11
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %.backedge, label %29

29:                                               ; preds = %25
  %30 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %26, ptr noundef nonnull dereferenceable(1) @.str.11) #11
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %.backedge, label %32

32:                                               ; preds = %29
  %33 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %26, ptr noundef nonnull dereferenceable(1) @.str.12) #11
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %.backedge, label %35

35:                                               ; preds = %32
  %36 = load ptr, ptr @stderr, align 8, !tbaa !7
  %37 = load ptr, ptr %1, align 8, !tbaa !7
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, ptr noundef %37, ptr noundef %26) #12
  br label %.loopexit

39:                                               ; preds = %3
  %40 = tail call ptr @ampmodem_create(float noundef %.0128, i32 noundef %.0137, i32 noundef %.0139) #10
  %41 = tail call ptr @ampmodem_create(float noundef %.0128, i32 noundef %.0137, i32 noundef %.0139) #10
  %42 = tail call i32 @ampmodem_get_delay_mod(ptr noundef %40) #10
  %43 = tail call i32 @ampmodem_get_delay_demod(ptr noundef %41) #10
  %44 = add i32 %43, %42
  %45 = tail call i32 @ampmodem_print(ptr noundef %40) #10
  %46 = zext i32 %.0135 to i64
  %47 = tail call ptr @llvm.stacksave.p0()
  %48 = alloca float, i64 %46, align 16
  %49 = alloca { float, float }, i64 %46, align 16
  %50 = alloca float, i64 %46, align 16
  %51 = uitofp i32 %.0135 to double
  %52 = fmul double %51, 9.000000e-01
  %53 = fptoui double %52 to i32
  %54 = fmul double %51, 5.000000e-02
  %55 = fptoui double %54 to i32
  %.not = icmp eq i32 %.0135, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %39
  %56 = zext i32 %53 to i64
  br label %.lr.ph

.preheader151:                                    ; preds = %72
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph175

.lr.ph:                                           ; preds = %.lr.ph.preheader, %72
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %72 ]
  %57 = trunc nuw i64 %indvars.iv to i32
  %58 = uitofp i32 %57 to double
  %59 = fmul double %58, 0x3FC03EED01A19FCF
  %60 = tail call double @cos(double noundef %59) #10
  %61 = fmul double %60, 0x3FE3333340000000
  %62 = fptrunc double %61 to float
  %63 = getelementptr inbounds float, ptr %48, i64 %indvars.iv
  %64 = fmul double %58, 0x3FC5CB8C89CAE457
  %65 = tail call double @cos(double noundef %64) #10
  %66 = fpext float %62 to double
  %67 = tail call double @llvm.fmuladd.f64(double %65, double 0x3FD99999A0000000, double %66)
  %68 = fptrunc double %67 to float
  %69 = icmp ult i64 %indvars.iv, %56
  br i1 %69, label %70, label %72

70:                                               ; preds = %.lr.ph
  %71 = tail call float @liquid_rcostaper_window(i32 noundef %57, i32 noundef %53, i32 noundef %55) #10
  br label %72

72:                                               ; preds = %.lr.ph, %70
  %73 = phi float [ %71, %70 ], [ 0.000000e+00, %.lr.ph ]
  %74 = fmul float %73, %68
  store float %74, ptr %63, align 4, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %46
  br i1 %exitcond.not, label %.preheader151, label %.lr.ph, !llvm.loop !13

.lr.ph175:                                        ; preds = %.preheader151, %.lr.ph175
  %indvars.iv227 = phi i64 [ %indvars.iv.next228, %.lr.ph175 ], [ 0, %.preheader151 ]
  %75 = getelementptr inbounds float, ptr %48, i64 %indvars.iv227
  %76 = load float, ptr %75, align 4, !tbaa !11
  %77 = getelementptr inbounds { float, float }, ptr %49, i64 %indvars.iv227
  %78 = call i32 @ampmodem_modulate(ptr noundef %40, float noundef %76, ptr noundef nonnull %77) #10
  %indvars.iv.next228 = add nuw nsw i64 %indvars.iv227, 1
  %exitcond231.not = icmp eq i64 %indvars.iv.next228, %46
  br i1 %exitcond231.not, label %._crit_edge, label %.lr.ph175, !llvm.loop !14

._crit_edge.thread:                               ; preds = %.preheader151, %39
  %79 = fdiv float %.0133, -2.000000e+01
  %80 = tail call float @powf(float noundef 1.000000e+01, float noundef %79) #10
  br label %._crit_edge187

._crit_edge:                                      ; preds = %.lr.ph175
  %81 = fdiv float %.0133, -2.000000e+01
  %82 = call float @powf(float noundef 1.000000e+01, float noundef %81) #10
  br i1 %.not, label %._crit_edge187, label %.lr.ph184.preheader

.lr.ph184.preheader:                              ; preds = %._crit_edge
  %83 = insertelement <2 x float> poison, float %82, i64 0
  %84 = shufflevector <2 x float> %83, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph184

.preheader:                                       ; preds = %._crit_edge179
  br i1 %.not, label %._crit_edge187, label %.lr.ph186

.lr.ph184:                                        ; preds = %.lr.ph184.preheader, %._crit_edge179
  %indvars.iv232 = phi i64 [ %indvars.iv.next233, %._crit_edge179 ], [ 0, %.lr.ph184.preheader ]
  %.2182 = phi float [ %.4.lcssa, %._crit_edge179 ], [ %.0131, %.lr.ph184.preheader ]
  %85 = fmul float %.2182, 0.000000e+00
  %.sroa.041.0.vec.insert = insertelement <2 x float> poison, float %85, i64 0
  %.sroa.041.4.vec.insert = insertelement <2 x float> %.sroa.041.0.vec.insert, float %.2182, i64 1
  %86 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.041.4.vec.insert) #10
  %87 = getelementptr inbounds { float, float }, ptr %49, i64 %indvars.iv232
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  %89 = load <2 x float>, ptr %87, align 8
  %90 = fmul <2 x float> %89, %86
  %91 = shufflevector <2 x float> %86, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %92 = fmul <2 x float> %91, %89
  %shift = shufflevector <2 x float> %90, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %93 = fsub <2 x float> %90, %shift
  %94 = extractelement <2 x float> %93, i64 0
  %shift300 = shufflevector <2 x float> %92, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %95 = fadd <2 x float> %92, %shift300
  %96 = extractelement <2 x float> %95, i64 0
  %97 = fcmp uno float %94, 0.000000e+00
  br i1 %97, label %98, label %106, !prof !15

98:                                               ; preds = %.lr.ph184
  %99 = fcmp uno float %96, 0.000000e+00
  br i1 %99, label %100, label %106, !prof !15

100:                                              ; preds = %98
  %101 = extractelement <2 x float> %89, i64 0
  %102 = extractelement <2 x float> %89, i64 1
  %103 = extractelement <2 x float> %86, i64 0
  %104 = extractelement <2 x float> %86, i64 1
  %105 = call <2 x float> @__mulsc3(float noundef %101, float noundef %102, float noundef %103, float noundef %104) #10
  %.sroa.039.0.vec.extract = extractelement <2 x float> %105, i64 0
  %.sroa.039.4.vec.extract = extractelement <2 x float> %105, i64 1
  br label %106

106:                                              ; preds = %100, %98, %.lr.ph184
  %107 = phi float [ %94, %.lr.ph184 ], [ %94, %98 ], [ %.sroa.039.0.vec.extract, %100 ]
  %108 = phi float [ %96, %.lr.ph184 ], [ %96, %98 ], [ %.sroa.039.4.vec.extract, %100 ]
  store float %107, ptr %87, align 8
  store float %108, ptr %88, align 4
  %109 = call float (...) @randnf() #10
  %110 = call float (...) @randnf() #10
  %111 = fmul float %110, 0.000000e+00
  %112 = fadd float %109, %111
  %113 = insertelement <2 x float> poison, float %112, i64 0
  %114 = insertelement <2 x float> %113, float %110, i64 1
  %115 = fmul <2 x float> %84, %114
  %116 = fpext <2 x float> %115 to <2 x double>
  %117 = fmul <2 x double> %116, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %118 = load <2 x float>, ptr %87, align 8
  %119 = fpext <2 x float> %118 to <2 x double>
  %120 = fadd <2 x double> %117, %119
  %121 = fptrunc <2 x double> %120 to <2 x float>
  store <2 x float> %121, ptr %87, align 8
  %122 = fadd float %.0129, %.2182
  %123 = fpext float %122 to double
  %124 = fcmp ogt double %123, 0x400921FB54442D18
  br i1 %124, label %.lr.ph177, label %.preheader150

.preheader150:                                    ; preds = %.lr.ph177, %106
  %.pre-phi = phi double [ %123, %106 ], [ %129, %.lr.ph177 ]
  %.3.lcssa = phi float [ %122, %106 ], [ %128, %.lr.ph177 ]
  %125 = fcmp olt double %.pre-phi, 0xC00921FB54442D18
  br i1 %125, label %.lr.ph178, label %._crit_edge179

.lr.ph177:                                        ; preds = %106, %.lr.ph177
  %126 = phi double [ %129, %.lr.ph177 ], [ %123, %106 ]
  %127 = fadd double %126, 0xC01921FB54442D18
  %128 = fptrunc double %127 to float
  %129 = fpext float %128 to double
  %130 = fcmp ogt double %129, 0x400921FB54442D18
  br i1 %130, label %.lr.ph177, label %.preheader150, !llvm.loop !16

.lr.ph178:                                        ; preds = %.preheader150, %.lr.ph178
  %131 = phi double [ %134, %.lr.ph178 ], [ %.pre-phi, %.preheader150 ]
  %132 = fadd double %131, 0x401921FB54442D18
  %133 = fptrunc double %132 to float
  %134 = fpext float %133 to double
  %135 = fcmp olt double %134, 0xC00921FB54442D18
  br i1 %135, label %.lr.ph178, label %._crit_edge179, !llvm.loop !17

._crit_edge179:                                   ; preds = %.lr.ph178, %.preheader150
  %.4.lcssa = phi float [ %.3.lcssa, %.preheader150 ], [ %133, %.lr.ph178 ]
  %indvars.iv.next233 = add nuw nsw i64 %indvars.iv232, 1
  %exitcond236.not = icmp eq i64 %indvars.iv.next233, %46
  br i1 %exitcond236.not, label %.preheader, label %.lr.ph184, !llvm.loop !18

.lr.ph186:                                        ; preds = %.preheader, %.lr.ph186
  %indvars.iv237 = phi i64 [ %indvars.iv.next238, %.lr.ph186 ], [ 0, %.preheader ]
  %136 = getelementptr inbounds { float, float }, ptr %49, i64 %indvars.iv237
  %137 = load <2 x float>, ptr %136, align 8
  %138 = getelementptr inbounds float, ptr %50, i64 %indvars.iv237
  %139 = call i32 @ampmodem_demodulate(ptr noundef %41, <2 x float> noundef %137, ptr noundef nonnull %138) #10
  %indvars.iv.next238 = add nuw nsw i64 %indvars.iv237, 1
  %exitcond241.not = icmp eq i64 %indvars.iv.next238, %46
  br i1 %exitcond241.not, label %._crit_edge187, label %.lr.ph186, !llvm.loop !19

._crit_edge187:                                   ; preds = %.lr.ph186, %._crit_edge, %._crit_edge.thread, %.preheader
  %140 = call i32 @ampmodem_destroy(ptr noundef %40) #10
  %141 = call i32 @ampmodem_destroy(ptr noundef %41) #10
  %142 = icmp ult i32 %44, %.0135
  br i1 %142, label %.lr.ph191.preheader, label %._crit_edge192

.lr.ph191.preheader:                              ; preds = %._crit_edge187
  %143 = zext i32 %44 to i64
  %144 = sub nsw i64 %46, %143
  %xtraiter = and i64 %144, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph191.prol.loopexit, label %.lr.ph191.prol

.lr.ph191.prol:                                   ; preds = %.lr.ph191.preheader
  %145 = load float, ptr %48, align 16, !tbaa !11
  %146 = getelementptr inbounds float, ptr %50, i64 %143
  %147 = load float, ptr %146, align 4, !tbaa !11
  %148 = fsub float %145, %147
  %149 = call float @llvm.fmuladd.f32(float %148, float %148, float 0.000000e+00)
  %indvars.iv.next243.prol = add nuw nsw i64 %143, 1
  br label %.lr.ph191.prol.loopexit

.lr.ph191.prol.loopexit:                          ; preds = %.lr.ph191.prol, %.lr.ph191.preheader
  %indvars.iv242.unr = phi i64 [ %143, %.lr.ph191.preheader ], [ %indvars.iv.next243.prol, %.lr.ph191.prol ]
  %.0127189.unr = phi float [ 0.000000e+00, %.lr.ph191.preheader ], [ %149, %.lr.ph191.prol ]
  %.lcssa.unr = phi float [ poison, %.lr.ph191.preheader ], [ %149, %.lr.ph191.prol ]
  %150 = add nsw i64 %46, -1
  %151 = icmp eq i64 %150, %143
  br i1 %151, label %._crit_edge192, label %.lr.ph191

.lr.ph191:                                        ; preds = %.lr.ph191.prol.loopexit, %.lr.ph191
  %indvars.iv242 = phi i64 [ %indvars.iv.next243.1, %.lr.ph191 ], [ %indvars.iv242.unr, %.lr.ph191.prol.loopexit ]
  %.0127189 = phi float [ %165, %.lr.ph191 ], [ %.0127189.unr, %.lr.ph191.prol.loopexit ]
  %152 = sub nuw nsw i64 %indvars.iv242, %143
  %153 = getelementptr inbounds float, ptr %48, i64 %152
  %154 = load float, ptr %153, align 4, !tbaa !11
  %155 = getelementptr inbounds float, ptr %50, i64 %indvars.iv242
  %156 = load float, ptr %155, align 4, !tbaa !11
  %157 = fsub float %154, %156
  %158 = call float @llvm.fmuladd.f32(float %157, float %157, float %.0127189)
  %indvars.iv.next243 = add nuw nsw i64 %indvars.iv242, 1
  %159 = sub nuw nsw i64 %indvars.iv.next243, %143
  %160 = getelementptr inbounds float, ptr %48, i64 %159
  %161 = load float, ptr %160, align 4, !tbaa !11
  %162 = getelementptr inbounds float, ptr %50, i64 %indvars.iv.next243
  %163 = load float, ptr %162, align 4, !tbaa !11
  %164 = fsub float %161, %163
  %165 = call float @llvm.fmuladd.f32(float %164, float %164, float %158)
  %indvars.iv.next243.1 = add nuw nsw i64 %indvars.iv242, 2
  %166 = icmp ult i64 %indvars.iv.next243.1, %46
  br i1 %166, label %.lr.ph191, label %._crit_edge192, !llvm.loop !20

._crit_edge192:                                   ; preds = %.lr.ph191.prol.loopexit, %.lr.ph191, %._crit_edge187
  %.0127.lcssa = phi float [ 0.000000e+00, %._crit_edge187 ], [ %.lcssa.unr, %.lr.ph191.prol.loopexit ], [ %165, %.lr.ph191 ]
  %167 = sub i32 %.0135, %44
  %168 = uitofp i32 %167 to float
  %169 = fdiv float %.0127.lcssa, %168
  %170 = fpext float %169 to double
  %171 = call double @log10(double noundef %170) #10
  %172 = fmul double %171, 1.000000e+01
  %173 = fptrunc double %172 to float
  %174 = fpext float %173 to double
  %175 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef %174)
  %176 = call noalias ptr @fopen(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16)
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.15) #10
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.18) #10
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.19) #10
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.20, i32 noundef %.0135) #10
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.21, i32 noundef %44) #10
  br i1 %.not, label %._crit_edge197, label %.lr.ph196

.lr.ph196:                                        ; preds = %._crit_edge192, %.lr.ph196
  %indvars.iv245 = phi i64 [ %indvars.iv.next246, %.lr.ph196 ], [ 0, %._crit_edge192 ]
  %indvars.iv.next246 = add nuw nsw i64 %indvars.iv245, 1
  %182 = getelementptr inbounds float, ptr %48, i64 %indvars.iv245
  %183 = load float, ptr %182, align 4, !tbaa !11
  %184 = fpext float %183 to double
  %185 = trunc nuw i64 %indvars.iv.next246 to i32
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.22, i32 noundef %185, double noundef %184) #10
  %187 = getelementptr inbounds { float, float }, ptr %49, i64 %indvars.iv245
  %188 = load float, ptr %187, align 8
  %189 = getelementptr inbounds i8, ptr %187, i64 4
  %190 = fpext float %188 to double
  %191 = load float, ptr %189, align 4
  %192 = fpext float %191 to double
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.23, i32 noundef %185, double noundef %190, double noundef %192) #10
  %194 = getelementptr inbounds float, ptr %50, i64 %indvars.iv245
  %195 = load float, ptr %194, align 4, !tbaa !11
  %196 = fpext float %195 to double
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.24, i32 noundef %185, double noundef %196) #10
  %exitcond249.not = icmp eq i64 %indvars.iv.next246, %46
  br i1 %exitcond249.not, label %._crit_edge197, label %.lr.ph196, !llvm.loop !21

._crit_edge197:                                   ; preds = %.lr.ph196, %._crit_edge192
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.25) #10
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.26) #10
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.27) #10
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.28) #10
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.29) #10
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.30) #10
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.31) #10
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.32) #10
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.33) #10
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.34) #10
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.35) #10
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.36) #10
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.30) #10
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.37) #10
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.38) #10
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.33) #10
  %214 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.39) #10
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.40) #10
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.41) #10
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.42) #10
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.43) #10
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.44) #10
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.45) #10
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.46) #10
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.47) #10
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.33) #10
  %224 = call i32 @fclose(ptr noundef %176)
  %225 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.48, ptr noundef nonnull @.str.15)
  call void @llvm.stackrestore.p0(ptr %47)
  br label %.loopexit

.loopexit:                                        ; preds = %3, %._crit_edge197, %35, %5
  %.0 = phi i32 [ 1, %35 ], [ 0, %5 ], [ 0, %._crit_edge197 ], [ 1, %3 ]
  ret i32 %.0
}

; 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 double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #5

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

declare ptr @ampmodem_create(float noundef, i32 noundef, i32 noundef) local_unnamed_addr #6

declare i32 @ampmodem_get_delay_mod(ptr noundef) local_unnamed_addr #6

declare i32 @ampmodem_get_delay_demod(ptr noundef) local_unnamed_addr #6

declare i32 @ampmodem_print(ptr noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #9

declare float @liquid_rcostaper_window(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #6

declare i32 @ampmodem_modulate(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #6

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

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

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

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

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

declare i32 @ampmodem_destroy(ptr noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log10(double noundef) local_unnamed_addr #8

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

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

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

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


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