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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca 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 ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca { float, float }, align 4
  %20 = alloca { float, float }, align 4
  %21 = 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
  %22 = call i64 @time(ptr noundef null) #8
  %23 = trunc i64 %22 to i32
  call void @srand(i32 noundef %23) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store float 0.000000e+00, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store float 0x3FD99999A0000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store float 0x3F689374C0000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 512, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  br label %24

24:                                               ; preds = %48, %2
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str.6) #8
  store i32 %27, ptr %10, align 4, !tbaa !5
  %28 = icmp ne i32 %27, -1
  br i1 %28, label %29, label %49

29:                                               ; preds = %24
  %30 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %30, label %47 [
    i32 117, label %31
    i32 104, label %31
    i32 98, label %32
    i32 110, label %36
    i32 112, label %39
    i32 102, label %43
  ]

31:                                               ; preds = %29, %29
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %304

32:                                               ; preds = %29
  %33 = load ptr, ptr @optarg, align 8, !tbaa !9
  %34 = call double @atof(ptr noundef %33) #9
  %35 = fptrunc double %34 to float
  store float %35, ptr %8, align 4, !tbaa !11
  br label %48

36:                                               ; preds = %29
  %37 = load ptr, ptr @optarg, align 8, !tbaa !9
  %38 = call i32 @atoi(ptr noundef %37) #9
  store i32 %38, ptr %9, align 4, !tbaa !5
  br label %48

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

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

47:                                               ; preds = %29
  call void @exit(i32 noundef 1) #10
  unreachable

48:                                               ; preds = %43, %39, %36, %32
  br label %24, !llvm.loop !13

49:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %50 = call ptr @nco_crcf_create(i32 noundef 1)
  store ptr %50, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %51 = call ptr @nco_crcf_create(i32 noundef 1)
  store ptr %51, ptr %13, align 8, !tbaa !9
  %52 = load ptr, ptr %12, align 8, !tbaa !9
  %53 = load float, ptr %6, align 4, !tbaa !11
  %54 = call i32 @nco_crcf_set_phase(ptr noundef %52, float noundef %53)
  %55 = load ptr, ptr %12, align 8, !tbaa !9
  %56 = load float, ptr %7, align 4, !tbaa !11
  %57 = call i32 @nco_crcf_set_frequency(ptr noundef %55, float noundef %56)
  %58 = load ptr, ptr %13, align 8, !tbaa !9
  %59 = load float, ptr %8, align 4, !tbaa !11
  %60 = call i32 @nco_crcf_pll_set_bandwidth(ptr noundef %58, float noundef %59)
  %61 = load i32, ptr %9, align 4, !tbaa !5
  %62 = zext i32 %61 to i64
  %63 = call ptr @llvm.stacksave.p0()
  store ptr %63, ptr %14, align 8
  %64 = alloca { float, float }, i64 %62, align 16
  store i64 %62, ptr %15, align 8
  %65 = load i32, ptr %9, align 4, !tbaa !5
  %66 = zext i32 %65 to i64
  %67 = alloca { float, float }, i64 %66, align 16
  store i64 %66, ptr %16, align 8
  %68 = load i32, ptr %9, align 4, !tbaa !5
  %69 = zext i32 %68 to i64
  %70 = alloca float, i64 %69, align 16
  store i64 %69, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %83, %49
  %72 = load i32, ptr %18, align 4, !tbaa !5
  %73 = load i32, ptr %9, align 4, !tbaa !5
  %74 = icmp ult i32 %72, %73
  br i1 %74, label %75, label %86

75:                                               ; preds = %71
  %76 = load ptr, ptr %12, align 8, !tbaa !9
  %77 = load i32, ptr %18, align 4, !tbaa !5
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds { float, float }, ptr %64, i64 %78
  %80 = call i32 @nco_crcf_cexpf(ptr noundef %76, ptr noundef %79)
  %81 = load ptr, ptr %12, align 8, !tbaa !9
  %82 = call i32 @nco_crcf_step(ptr noundef %81)
  br label %83

83:                                               ; preds = %75
  %84 = load i32, ptr %18, align 4, !tbaa !5
  %85 = add i32 %84, 1
  store i32 %85, ptr %18, align 4, !tbaa !5
  br label %71, !llvm.loop !15

86:                                               ; preds = %71
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %87

87:                                               ; preds = %167, %86
  %88 = load i32, ptr %18, align 4, !tbaa !5
  %89 = load i32, ptr %9, align 4, !tbaa !5
  %90 = icmp ult i32 %88, %89
  br i1 %90, label %91, label %170

91:                                               ; preds = %87
  %92 = load ptr, ptr %13, align 8, !tbaa !9
  %93 = load i32, ptr %18, align 4, !tbaa !5
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds { float, float }, ptr %67, i64 %94
  %96 = call i32 @nco_crcf_cexpf(ptr noundef %92, ptr noundef %95)
  %97 = load ptr, ptr %13, align 8, !tbaa !9
  %98 = call i32 @nco_crcf_step(ptr noundef %97)
  %99 = load i32, ptr %18, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds { float, float }, ptr %64, i64 %100
  %102 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 0
  %103 = load float, ptr %102, align 8
  %104 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 1
  %105 = load float, ptr %104, align 4
  %106 = load i32, ptr %18, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds { float, float }, ptr %67, i64 %107
  %109 = getelementptr inbounds { float, float }, ptr %108, i32 0, i32 0
  %110 = load float, ptr %109, align 8
  %111 = getelementptr inbounds { float, float }, ptr %108, i32 0, i32 1
  %112 = load float, ptr %111, align 4
  %113 = fneg float %112
  %114 = fmul float %103, %110
  %115 = fmul float %105, %113
  %116 = fmul float %103, %113
  %117 = fmul float %105, %110
  %118 = fsub float %114, %115
  %119 = fadd float %116, %117
  %120 = fcmp uno float %118, %118
  br i1 %120, label %121, label %129, !prof !16

121:                                              ; preds = %91
  %122 = fcmp uno float %119, %119
  br i1 %122, label %123, label %129, !prof !16

123:                                              ; preds = %121
  %124 = call <2 x float> @__mulsc3(float noundef %103, float noundef %105, float noundef %110, float noundef %113) #8
  store <2 x float> %124, ptr %19, align 4
  %125 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %126 = load float, ptr %125, align 4
  %127 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  %128 = load float, ptr %127, align 4
  br label %129

129:                                              ; preds = %123, %121, %91
  %130 = phi float [ %118, %91 ], [ %118, %121 ], [ %126, %123 ]
  %131 = phi float [ %119, %91 ], [ %119, %121 ], [ %128, %123 ]
  %132 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %133 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  store float %130, ptr %132, align 4
  store float %131, ptr %133, align 4
  %134 = load <2 x float>, ptr %20, align 4
  %135 = call float @cargf(<2 x float> noundef %134) #8
  %136 = load i32, ptr %18, align 4, !tbaa !5
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds float, ptr %70, i64 %137
  store float %135, ptr %138, align 4, !tbaa !11
  %139 = load ptr, ptr %13, align 8, !tbaa !9
  %140 = load i32, ptr %18, align 4, !tbaa !5
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds float, ptr %70, i64 %141
  %143 = load float, ptr %142, align 4, !tbaa !11
  %144 = call i32 @nco_crcf_pll_step(ptr noundef %139, float noundef %143)
  %145 = load i32, ptr %18, align 4, !tbaa !5
  %146 = add i32 %145, 1
  %147 = urem i32 %146, 50
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %157, label %149

149:                                              ; preds = %129
  %150 = load i32, ptr %18, align 4, !tbaa !5
  %151 = load i32, ptr %9, align 4, !tbaa !5
  %152 = sub i32 %151, 1
  %153 = icmp eq i32 %150, %152
  br i1 %153, label %157, label %154

154:                                              ; preds = %149
  %155 = load i32, ptr %18, align 4, !tbaa !5
  %156 = icmp eq i32 %155, 0
  br i1 %156, label %157, label %166

157:                                              ; preds = %154, %149, %129
  %158 = load i32, ptr %18, align 4, !tbaa !5
  %159 = add i32 %158, 1
  %160 = load i32, ptr %18, align 4, !tbaa !5
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds float, ptr %70, i64 %161
  %163 = load float, ptr %162, align 4, !tbaa !11
  %164 = fpext float %163 to double
  %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %159, double noundef %164)
  br label %166

166:                                              ; preds = %157, %154
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %18, align 4, !tbaa !5
  %169 = add i32 %168, 1
  store i32 %169, ptr %18, align 4, !tbaa !5
  br label %87, !llvm.loop !17

170:                                              ; preds = %87
  %171 = load ptr, ptr %12, align 8, !tbaa !9
  %172 = call i32 @nco_crcf_destroy(ptr noundef %171)
  %173 = load ptr, ptr %13, align 8, !tbaa !9
  %174 = call i32 @nco_crcf_destroy(ptr noundef %173)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %175 = call noalias ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.9)
  store ptr %175, ptr %21, align 8, !tbaa !9
  %176 = load ptr, ptr %21, align 8, !tbaa !9
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.10, ptr noundef @.str.8) #8
  %178 = load ptr, ptr %21, align 8, !tbaa !9
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.11) #8
  %180 = load ptr, ptr %21, align 8, !tbaa !9
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef @.str.12) #8
  %182 = load ptr, ptr %21, align 8, !tbaa !9
  %183 = load i32, ptr %9, align 4, !tbaa !5
  %184 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef @.str.13, i32 noundef %183) #8
  %185 = load ptr, ptr %21, align 8, !tbaa !9
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %185, ptr noundef @.str.14) #8
  %187 = load ptr, ptr %21, align 8, !tbaa !9
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.15) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %189

189:                                              ; preds = %243, %170
  %190 = load i32, ptr %18, align 4, !tbaa !5
  %191 = load i32, ptr %9, align 4, !tbaa !5
  %192 = icmp ult i32 %190, %191
  br i1 %192, label %193, label %246

193:                                              ; preds = %189
  %194 = load ptr, ptr %21, align 8, !tbaa !9
  %195 = load i32, ptr %18, align 4, !tbaa !5
  %196 = add i32 %195, 1
  %197 = load i32, ptr %18, align 4, !tbaa !5
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds { float, float }, ptr %64, i64 %198
  %200 = getelementptr inbounds { float, float }, ptr %199, i32 0, i32 0
  %201 = load float, ptr %200, align 8
  %202 = getelementptr inbounds { float, float }, ptr %199, i32 0, i32 1
  %203 = load float, ptr %202, align 4
  %204 = fpext float %201 to double
  %205 = load i32, ptr %18, align 4, !tbaa !5
  %206 = zext i32 %205 to i64
  %207 = getelementptr inbounds { float, float }, ptr %64, i64 %206
  %208 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 0
  %209 = load float, ptr %208, align 8
  %210 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 1
  %211 = load float, ptr %210, align 4
  %212 = fpext float %211 to double
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.16, i32 noundef %196, double noundef %204, double noundef %212) #8
  %214 = load ptr, ptr %21, align 8, !tbaa !9
  %215 = load i32, ptr %18, align 4, !tbaa !5
  %216 = add i32 %215, 1
  %217 = load i32, ptr %18, align 4, !tbaa !5
  %218 = zext i32 %217 to i64
  %219 = getelementptr inbounds { float, float }, ptr %67, i64 %218
  %220 = getelementptr inbounds { float, float }, ptr %219, i32 0, i32 0
  %221 = load float, ptr %220, align 8
  %222 = getelementptr inbounds { float, float }, ptr %219, i32 0, i32 1
  %223 = load float, ptr %222, align 4
  %224 = fpext float %221 to double
  %225 = load i32, ptr %18, align 4, !tbaa !5
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds { float, float }, ptr %67, i64 %226
  %228 = getelementptr inbounds { float, float }, ptr %227, i32 0, i32 0
  %229 = load float, ptr %228, align 8
  %230 = getelementptr inbounds { float, float }, ptr %227, i32 0, i32 1
  %231 = load float, ptr %230, align 4
  %232 = fpext float %231 to double
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef @.str.17, i32 noundef %216, double noundef %224, double noundef %232) #8
  %234 = load ptr, ptr %21, align 8, !tbaa !9
  %235 = load i32, ptr %18, align 4, !tbaa !5
  %236 = add i32 %235, 1
  %237 = load i32, ptr %18, align 4, !tbaa !5
  %238 = zext i32 %237 to i64
  %239 = getelementptr inbounds float, ptr %70, i64 %238
  %240 = load float, ptr %239, align 4, !tbaa !11
  %241 = fpext float %240 to double
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef @.str.18, i32 noundef %236, double noundef %241) #8
  br label %243

243:                                              ; preds = %193
  %244 = load i32, ptr %18, align 4, !tbaa !5
  %245 = add i32 %244, 1
  store i32 %245, ptr %18, align 4, !tbaa !5
  br label %189, !llvm.loop !18

246:                                              ; preds = %189
  %247 = load ptr, ptr %21, align 8, !tbaa !9
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str.19) #8
  %249 = load ptr, ptr %21, align 8, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.20) #8
  %251 = load ptr, ptr %21, align 8, !tbaa !9
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.21) #8
  %253 = load ptr, ptr %21, align 8, !tbaa !9
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.22) #8
  %255 = load ptr, ptr %21, align 8, !tbaa !9
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef @.str.23) #8
  %257 = load ptr, ptr %21, align 8, !tbaa !9
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.24) #8
  %259 = load ptr, ptr %21, align 8, !tbaa !9
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str.25) #8
  %261 = load ptr, ptr %21, align 8, !tbaa !9
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.26) #8
  %263 = load ptr, ptr %21, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.27) #8
  %265 = load ptr, ptr %21, align 8, !tbaa !9
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef @.str.28) #8
  %267 = load ptr, ptr %21, align 8, !tbaa !9
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.29) #8
  %269 = load ptr, ptr %21, align 8, !tbaa !9
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.30) #8
  %271 = load ptr, ptr %21, align 8, !tbaa !9
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.22) #8
  %273 = load ptr, ptr %21, align 8, !tbaa !9
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.31) #8
  %275 = load ptr, ptr %21, align 8, !tbaa !9
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.32) #8
  %277 = load ptr, ptr %21, align 8, !tbaa !9
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.25) #8
  %279 = load ptr, ptr %21, align 8, !tbaa !9
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.26) #8
  %281 = load ptr, ptr %21, align 8, !tbaa !9
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.33) #8
  %283 = load ptr, ptr %21, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.28) #8
  %285 = load ptr, ptr %21, align 8, !tbaa !9
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.29) #8
  %287 = load ptr, ptr %21, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef @.str.34) #8
  %289 = load ptr, ptr %21, align 8, !tbaa !9
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.35) #8
  %291 = load ptr, ptr %21, align 8, !tbaa !9
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.26) #8
  %293 = load ptr, ptr %21, align 8, !tbaa !9
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.36) #8
  %295 = load ptr, ptr %21, align 8, !tbaa !9
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.37) #8
  %297 = load ptr, ptr %21, align 8, !tbaa !9
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef @.str.29) #8
  %299 = load ptr, ptr %21, align 8, !tbaa !9
  %300 = call i32 @fclose(ptr noundef %299)
  %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef @.str.8)
  %302 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  %303 = load ptr, ptr %14, align 8
  call void @llvm.stackrestore.p0(ptr %303)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %304

304:                                              ; preds = %246, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %305 = load i32, ptr %3, align 4
  ret i32 %305
}

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

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

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

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

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

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

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

declare ptr @nco_crcf_create(i32 noundef) #1

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

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

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

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

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

declare i32 @nco_crcf_step(ptr noundef) #1

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

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

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

declare i32 @nco_crcf_destroy(ptr noundef) #1

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

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

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

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

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

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

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


; 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.6 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

.outer:                                           ; preds = %12, %2
  %.096.ph = phi i32 [ %14, %12 ], [ 512, %2 ]
  %.094.ph = phi float [ %.094.ph157, %12 ], [ 0x3F689374C0000000, %2 ]
  %.092.ph = phi float [ %.092.ph161, %12 ], [ 0x3FD99999A0000000, %2 ]
  %.089.ph = phi float [ %.089, %12 ], [ 0.000000e+00, %2 ]
  br label %.outer156

.outer156:                                        ; preds = %.outer, %8
  %.094.ph157 = phi float [ %.094.ph, %.outer ], [ %11, %8 ]
  %.092.ph158 = phi float [ %.092.ph, %.outer ], [ %.092.ph161, %8 ]
  %.089.ph159 = phi float [ %.089.ph, %.outer ], [ %.089, %8 ]
  br label %.outer160

.outer160:                                        ; preds = %.outer156, %19
  %.092.ph161 = phi float [ %.092.ph158, %.outer156 ], [ %22, %19 ]
  %.089.ph162 = phi float [ %.089.ph159, %.outer156 ], [ %.089, %19 ]
  br label %5

5:                                                ; preds = %.outer160, %15
  %.089 = phi float [ %18, %15 ], [ %.089.ph162, %.outer160 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.6) #8
  switch i32 %6, label %23 [
    i32 -1, label %24
    i32 117, label %7
    i32 104, label %7
    i32 98, label %8
    i32 110, label %12
    i32 112, label %15
    i32 102, label %19
  ]

7:                                                ; preds = %5, %5
  tail call void @usage()
  br label %162

8:                                                ; preds = %5
  %9 = load ptr, ptr @optarg, align 8, !tbaa !5
  %10 = tail call double @atof(ptr noundef %9) #9
  %11 = fptrunc double %10 to float
  br label %.outer156, !llvm.loop !9

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

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

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

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

24:                                               ; preds = %5
  %25 = tail call ptr @nco_crcf_create(i32 noundef 1) #8
  %26 = tail call ptr @nco_crcf_create(i32 noundef 1) #8
  %27 = tail call i32 @nco_crcf_set_phase(ptr noundef %25, float noundef %.089) #8
  %28 = tail call i32 @nco_crcf_set_frequency(ptr noundef %25, float noundef %.092.ph161) #8
  %29 = tail call i32 @nco_crcf_pll_set_bandwidth(ptr noundef %26, float noundef %.094.ph157) #8
  %30 = zext i32 %.096.ph to i64
  %31 = tail call ptr @llvm.stacksave.p0()
  %32 = alloca { float, float }, i64 %30, align 16
  %33 = alloca { float, float }, i64 %30, align 16
  %34 = alloca float, i64 %30, align 16
  %.not = icmp eq i32 %.096.ph, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph
  br i1 %.not, label %._crit_edge, label %.lr.ph108

.lr.ph108:                                        ; preds = %.preheader
  %35 = add i32 %.096.ph, -1
  %36 = zext i32 %35 to i64
  %37 = call i32 @nco_crcf_cexpf(ptr noundef %26, ptr noundef nonnull %33) #8
  %38 = call i32 @nco_crcf_step(ptr noundef %26) #8
  %39 = load <2 x float>, ptr %32, align 16
  %40 = load <2 x float>, ptr %33, align 16
  %41 = extractelement <2 x float> %40, i64 1
  %42 = fneg float %41
  %43 = shufflevector <2 x float> %39, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %44 = fmul <2 x float> %39, %40
  %shift = shufflevector <2 x float> %44, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %45 = fadd <2 x float> %44, %shift
  %46 = extractelement <2 x float> %45, i64 0
  %47 = fmul <2 x float> %43, %40
  %shift153 = shufflevector <2 x float> %47, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %48 = fsub <2 x float> %47, %shift153
  %49 = extractelement <2 x float> %48, i64 0
  %50 = fcmp uno float %46, 0.000000e+00
  br i1 %50, label %51, label %58, !prof !11

51:                                               ; preds = %.lr.ph108
  %52 = fcmp uno float %49, 0.000000e+00
  br i1 %52, label %53, label %58, !prof !11

53:                                               ; preds = %51
  %54 = extractelement <2 x float> %39, i64 0
  %55 = extractelement <2 x float> %39, i64 1
  %56 = extractelement <2 x float> %40, i64 0
  %57 = call <2 x float> @__mulsc3(float noundef %54, float noundef %55, float noundef %56, float noundef %42) #8
  %.sroa.038.0.vec.extract.peel = extractelement <2 x float> %57, i64 0
  %.sroa.038.4.vec.extract.peel = extractelement <2 x float> %57, i64 1
  br label %58

58:                                               ; preds = %.lr.ph108, %51, %53
  %59 = phi float [ %46, %.lr.ph108 ], [ %46, %51 ], [ %.sroa.038.0.vec.extract.peel, %53 ]
  %60 = phi float [ %49, %.lr.ph108 ], [ %49, %51 ], [ %.sroa.038.4.vec.extract.peel, %53 ]
  %.sroa.0.0.vec.insert.peel = insertelement <2 x float> poison, float %59, i64 0
  %.sroa.0.4.vec.insert.peel = insertelement <2 x float> %.sroa.0.0.vec.insert.peel, float %60, i64 1
  %61 = call float @cargf(<2 x float> noundef %.sroa.0.4.vec.insert.peel) #8
  store float %61, ptr %34, align 16, !tbaa !12
  %62 = call i32 @nco_crcf_pll_step(ptr noundef %26, float noundef %61) #8
  %63 = fpext float %61 to double
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef 1, double noundef %63)
  %exitcond128.peel.not = icmp eq i32 %.096.ph, 1
  br i1 %exitcond128.peel.not, label %._crit_edge, label %.peel.next

.lr.ph:                                           ; preds = %24, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %24 ]
  %65 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv
  %66 = call i32 @nco_crcf_cexpf(ptr noundef %25, ptr noundef nonnull %65) #8
  %67 = call i32 @nco_crcf_step(ptr noundef %25) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %30
  br i1 %exitcond.not, label %.preheader, label %.lr.ph, !llvm.loop !14

.peel.next:                                       ; preds = %58, %104
  %indvars.iv124 = phi i64 [ %indvars.iv.next125, %104 ], [ 1, %58 ]
  %68 = getelementptr inbounds { float, float }, ptr %33, i64 %indvars.iv124
  %69 = call i32 @nco_crcf_cexpf(ptr noundef %26, ptr noundef nonnull %68) #8
  %70 = call i32 @nco_crcf_step(ptr noundef %26) #8
  %71 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv124
  %72 = load <2 x float>, ptr %71, align 8
  %73 = load <2 x float>, ptr %68, align 8
  %74 = extractelement <2 x float> %73, i64 1
  %75 = fneg float %74
  %76 = shufflevector <2 x float> %72, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %77 = fmul <2 x float> %72, %73
  %shift154 = shufflevector <2 x float> %77, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %78 = fadd <2 x float> %77, %shift154
  %79 = extractelement <2 x float> %78, i64 0
  %80 = fmul <2 x float> %76, %73
  %shift155 = shufflevector <2 x float> %80, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %81 = fsub <2 x float> %80, %shift155
  %82 = extractelement <2 x float> %81, i64 0
  %83 = fcmp uno float %79, 0.000000e+00
  br i1 %83, label %84, label %91, !prof !11

84:                                               ; preds = %.peel.next
  %85 = fcmp uno float %82, 0.000000e+00
  br i1 %85, label %86, label %91, !prof !11

86:                                               ; preds = %84
  %87 = extractelement <2 x float> %72, i64 0
  %88 = extractelement <2 x float> %72, i64 1
  %89 = extractelement <2 x float> %73, i64 0
  %90 = call <2 x float> @__mulsc3(float noundef %87, float noundef %88, float noundef %89, float noundef %75) #8
  %.sroa.038.0.vec.extract = extractelement <2 x float> %90, i64 0
  %.sroa.038.4.vec.extract = extractelement <2 x float> %90, i64 1
  br label %91

91:                                               ; preds = %86, %84, %.peel.next
  %92 = phi float [ %79, %.peel.next ], [ %79, %84 ], [ %.sroa.038.0.vec.extract, %86 ]
  %93 = phi float [ %82, %.peel.next ], [ %82, %84 ], [ %.sroa.038.4.vec.extract, %86 ]
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %92, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %93, i64 1
  %94 = call float @cargf(<2 x float> noundef %.sroa.0.4.vec.insert) #8
  %95 = getelementptr inbounds float, ptr %34, i64 %indvars.iv124
  store float %94, ptr %95, align 4, !tbaa !12
  %96 = call i32 @nco_crcf_pll_step(ptr noundef %26, float noundef %94) #8
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %97 = trunc nuw i64 %indvars.iv.next125 to i32
  %98 = urem i32 %97, 50
  %99 = icmp eq i32 %98, 0
  %100 = icmp eq i64 %indvars.iv124, %36
  %or.cond = select i1 %99, i1 true, i1 %100
  br i1 %or.cond, label %101, label %104

101:                                              ; preds = %91
  %102 = fpext float %94 to double
  %103 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %97, double noundef %102)
  br label %104

104:                                              ; preds = %91, %101
  %exitcond128.not = icmp eq i64 %indvars.iv.next125, %30
  br i1 %exitcond128.not, label %._crit_edge, label %.peel.next, !llvm.loop !15

._crit_edge:                                      ; preds = %104, %24, %58, %.preheader
  %105 = call i32 @nco_crcf_destroy(ptr noundef %25) #8
  %106 = call i32 @nco_crcf_destroy(ptr noundef %26) #8
  %107 = call noalias ptr @fopen(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9)
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.8) #8
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.11) #8
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.12) #8
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.13, i32 noundef %.096.ph) #8
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.14) #8
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.15) #8
  br i1 %.not, label %._crit_edge112, label %.lr.ph111

.lr.ph111:                                        ; preds = %._crit_edge, %.lr.ph111
  %indvars.iv130 = phi i64 [ %indvars.iv.next131, %.lr.ph111 ], [ 0, %._crit_edge ]
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %114 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv130
  %115 = load float, ptr %114, align 8
  %116 = getelementptr inbounds i8, ptr %114, i64 4
  %117 = fpext float %115 to double
  %118 = load float, ptr %116, align 4
  %119 = fpext float %118 to double
  %120 = trunc nuw i64 %indvars.iv.next131 to i32
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.16, i32 noundef %120, double noundef %117, double noundef %119) #8
  %122 = getelementptr inbounds { float, float }, ptr %33, i64 %indvars.iv130
  %123 = load float, ptr %122, align 8
  %124 = getelementptr inbounds i8, ptr %122, i64 4
  %125 = fpext float %123 to double
  %126 = load float, ptr %124, align 4
  %127 = fpext float %126 to double
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.17, i32 noundef %120, double noundef %125, double noundef %127) #8
  %129 = getelementptr inbounds float, ptr %34, i64 %indvars.iv130
  %130 = load float, ptr %129, align 4, !tbaa !12
  %131 = fpext float %130 to double
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.18, i32 noundef %120, double noundef %131) #8
  %exitcond134.not = icmp eq i64 %indvars.iv.next131, %30
  br i1 %exitcond134.not, label %._crit_edge112, label %.lr.ph111, !llvm.loop !17

._crit_edge112:                                   ; preds = %.lr.ph111, %._crit_edge
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.19) #8
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.20) #8
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.21) #8
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.22) #8
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.23) #8
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.24) #8
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.25) #8
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.26) #8
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.27) #8
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.28) #8
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.29) #8
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.30) #8
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.22) #8
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.31) #8
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.32) #8
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.25) #8
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.26) #8
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.33) #8
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.28) #8
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.29) #8
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.34) #8
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.35) #8
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.26) #8
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.36) #8
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.37) #8
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.29) #8
  %159 = call i32 @fclose(ptr noundef %107)
  %160 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef nonnull @.str.8)
  %161 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39)
  call void @llvm.stackrestore.p0(ptr %31)
  br label %162

162:                                              ; preds = %._crit_edge112, %7
  ret i32 0
}

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

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

; Function Attrs: 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: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

declare ptr @nco_crcf_create(i32 noundef) local_unnamed_addr #6

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

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

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

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

declare i32 @nco_crcf_cexpf(ptr noundef, ptr noundef) local_unnamed_addr #6

declare i32 @nco_crcf_step(ptr noundef) local_unnamed_addr #6

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

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

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

declare i32 @nco_crcf_destroy(ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: 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 = { 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 = { "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 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { noreturn nounwind }

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

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


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