; LLVM IR from jgaeddert/liquid-dsp :: examples (bpresync_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.10 = external hidden unnamed_addr constant [19 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [25 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca ptr, align 8
  %28 = alloca { float, float }, align 4
  %29 = alloca { float, float }, align 4
  %30 = alloca { float, float }, align 4
  %31 = alloca { float, float }, align 4
  %32 = alloca { float, float }, align 4
  %33 = alloca { float, float }, align 4
  %34 = alloca { float, float }, align 4
  %35 = alloca { float, float }, align 4
  %36 = alloca ptr, align 8
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca i32, align 4
  %40 = alloca { float, float }, align 4
  %41 = alloca { float, float }, align 4
  %42 = alloca { float, float }, align 4
  %43 = alloca { float, float }, align 4
  %44 = alloca { float, float }, align 4
  %45 = 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
  %46 = call i64 @time(ptr noundef null) #9
  %47 = trunc i64 %46 to i32
  call void @srand(i32 noundef %47) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 2, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 5, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store float 0x3FD3333340000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store float 0.000000e+00, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 64, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store float 2.000000e+01, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store float 0x3F947AE140000000, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %48 = call float (...) @randf()
  %49 = fpext float %48 to double
  %50 = fmul double 0x401921FB54442D18, %49
  %51 = fptrunc double %50 to float
  store float %51, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  br label %52

52:                                               ; preds = %86, %2
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = call i32 @getopt(i32 noundef %53, ptr noundef %54, ptr noundef @.str.10) #9
  store i32 %55, ptr %14, align 4, !tbaa !5
  %56 = icmp ne i32 %55, -1
  br i1 %56, label %57, label %87

57:                                               ; preds = %52
  %58 = load i32, ptr %14, align 4, !tbaa !5
  switch i32 %58, label %85 [
    i32 104, label %59
    i32 107, label %60
    i32 109, label %63
    i32 110, label %66
    i32 98, label %69
    i32 70, label %73
    i32 116, label %77
    i32 83, label %81
  ]

59:                                               ; preds = %57
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %584

60:                                               ; preds = %57
  %61 = load ptr, ptr @optarg, align 8, !tbaa !9
  %62 = call i32 @atoi(ptr noundef %61) #10
  store i32 %62, ptr %6, align 4, !tbaa !5
  br label %86

63:                                               ; preds = %57
  %64 = load ptr, ptr @optarg, align 8, !tbaa !9
  %65 = call i32 @atoi(ptr noundef %64) #10
  store i32 %65, ptr %7, align 4, !tbaa !5
  br label %86

66:                                               ; preds = %57
  %67 = load ptr, ptr @optarg, align 8, !tbaa !9
  %68 = call i32 @atoi(ptr noundef %67) #10
  store i32 %68, ptr %10, align 4, !tbaa !5
  br label %86

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

73:                                               ; preds = %57
  %74 = load ptr, ptr @optarg, align 8, !tbaa !9
  %75 = call double @atof(ptr noundef %74) #10
  %76 = fptrunc double %75 to float
  store float %76, ptr %12, align 4, !tbaa !11
  br label %86

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

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

85:                                               ; preds = %57
  call void @exit(i32 noundef 1) #11
  unreachable

86:                                               ; preds = %81, %77, %73, %69, %66, %63, %60
  br label %52, !llvm.loop !13

87:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %88 = load float, ptr %8, align 4, !tbaa !11
  %89 = fcmp ole float %88, 0.000000e+00
  br i1 %89, label %93, label %90

90:                                               ; preds = %87
  %91 = load float, ptr %8, align 4, !tbaa !11
  %92 = fcmp oge float %91, 1.000000e+00
  br i1 %92, label %93, label %99

93:                                               ; preds = %90, %87
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = load ptr, ptr %5, align 8, !tbaa !9
  %96 = getelementptr inbounds ptr, ptr %95, i64 0
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.11, ptr noundef %97) #9
  call void @exit(i32 noundef 1) #11
  unreachable

99:                                               ; preds = %90
  %100 = load float, ptr %9, align 4, !tbaa !11
  %101 = fcmp olt float %100, -5.000000e-01
  br i1 %101, label %105, label %102

102:                                              ; preds = %99
  %103 = load float, ptr %9, align 4, !tbaa !11
  %104 = fcmp ogt float %103, 5.000000e-01
  br i1 %104, label %105, label %111

105:                                              ; preds = %102, %99
  %106 = load ptr, ptr @stderr, align 8, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  %108 = getelementptr inbounds ptr, ptr %107, i64 0
  %109 = load ptr, ptr %108, align 8, !tbaa !9
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.12, ptr noundef %109) #9
  call void @exit(i32 noundef 1) #11
  unreachable

111:                                              ; preds = %102
  br label %112

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %113 = load i32, ptr %10, align 4, !tbaa !5
  %114 = load i32, ptr %7, align 4, !tbaa !5
  %115 = mul i32 2, %114
  %116 = add i32 %113, %115
  %117 = add i32 %116, 10
  store i32 %117, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %118 = load i32, ptr %6, align 4, !tbaa !5
  %119 = load i32, ptr %17, align 4, !tbaa !5
  %120 = mul i32 %118, %119
  store i32 %120, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %121 = load float, ptr %11, align 4, !tbaa !11
  %122 = fneg float %121
  %123 = fdiv float %122, 2.000000e+01
  %124 = call float @powf(float noundef 1.000000e+01, float noundef %123) #9
  store float %124, ptr %19, align 4, !tbaa !11
  %125 = load i32, ptr %10, align 4, !tbaa !5
  %126 = zext i32 %125 to i64
  %127 = call ptr @llvm.stacksave.p0()
  store ptr %127, ptr %20, align 8
  %128 = alloca { float, float }, i64 %126, align 16
  store i64 %126, ptr %21, align 8
  %129 = load i32, ptr %6, align 4, !tbaa !5
  %130 = load i32, ptr %10, align 4, !tbaa !5
  %131 = mul i32 %129, %130
  %132 = zext i32 %131 to i64
  %133 = alloca { float, float }, i64 %132, align 16
  store i64 %132, ptr %22, align 8
  %134 = load i32, ptr %18, align 4, !tbaa !5
  %135 = zext i32 %134 to i64
  %136 = alloca { float, float }, i64 %135, align 16
  store i64 %135, ptr %23, align 8
  %137 = load i32, ptr %18, align 4, !tbaa !5
  %138 = zext i32 %137 to i64
  %139 = alloca { float, float }, i64 %138, align 16
  store i64 %138, ptr %24, align 8
  %140 = load i32, ptr %18, align 4, !tbaa !5
  %141 = zext i32 %140 to i64
  %142 = alloca { float, float }, i64 %141, align 16
  store i64 %141, ptr %25, align 8
  %143 = load i32, ptr %18, align 4, !tbaa !5
  %144 = zext i32 %143 to i64
  %145 = alloca float, i64 %144, align 16
  store i64 %144, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %146 = load i32, ptr %6, align 4, !tbaa !5
  %147 = load i32, ptr %7, align 4, !tbaa !5
  %148 = load float, ptr %8, align 4, !tbaa !11
  %149 = load float, ptr %9, align 4, !tbaa !11
  %150 = call ptr @firinterp_crcf_create_prototype(i32 noundef 9, i32 noundef %146, i32 noundef %147, float noundef %148, float noundef %149)
  store ptr %150, ptr %27, align 8, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %151

151:                                              ; preds = %215, %112
  %152 = load i32, ptr %16, align 4, !tbaa !5
  %153 = load i32, ptr %10, align 4, !tbaa !5
  %154 = load i32, ptr %7, align 4, !tbaa !5
  %155 = mul i32 2, %154
  %156 = add i32 %153, %155
  %157 = icmp ult i32 %152, %156
  br i1 %157, label %158, label %218

158:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %159 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %160 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  store float 0.000000e+00, ptr %159, align 4
  store float 0.000000e+00, ptr %160, align 4
  %161 = load i32, ptr %16, align 4, !tbaa !5
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = icmp ult i32 %161, %162
  br i1 %163, label %164, label %181

164:                                              ; preds = %158
  %165 = call i32 @rand() #9
  %166 = srem i32 %165, 2
  %167 = icmp ne i32 %166, 0
  %168 = zext i1 %167 to i64
  %169 = select i1 %167, float -1.000000e+00, float 1.000000e+00
  %170 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %171 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  store float %169, ptr %170, align 4
  store float 0.000000e+00, ptr %171, align 4
  %172 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %173 = load float, ptr %172, align 4
  %174 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %175 = load float, ptr %174, align 4
  %176 = load i32, ptr %16, align 4, !tbaa !5
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds { float, float }, ptr %128, i64 %177
  %179 = getelementptr inbounds { float, float }, ptr %178, i32 0, i32 0
  %180 = getelementptr inbounds { float, float }, ptr %178, i32 0, i32 1
  store float %173, ptr %179, align 8
  store float %175, ptr %180, align 4
  br label %181

181:                                              ; preds = %164, %158
  %182 = load i32, ptr %16, align 4, !tbaa !5
  %183 = load i32, ptr %7, align 4, !tbaa !5
  %184 = mul i32 2, %183
  %185 = icmp ult i32 %182, %184
  br i1 %185, label %186, label %196

186:                                              ; preds = %181
  %187 = load ptr, ptr %27, align 8, !tbaa !9
  %188 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %189 = load float, ptr %188, align 4
  %190 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %191 = load float, ptr %190, align 4
  %192 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %193 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  store float %189, ptr %192, align 4
  store float %191, ptr %193, align 4
  %194 = load <2 x float>, ptr %29, align 4
  %195 = call i32 @firinterp_crcf_execute(ptr noundef %187, <2 x float> noundef %194, ptr noundef %133)
  br label %214

196:                                              ; preds = %181
  %197 = load ptr, ptr %27, align 8, !tbaa !9
  %198 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %199 = load float, ptr %198, align 4
  %200 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %201 = load float, ptr %200, align 4
  %202 = load i32, ptr %6, align 4, !tbaa !5
  %203 = load i32, ptr %16, align 4, !tbaa !5
  %204 = load i32, ptr %7, align 4, !tbaa !5
  %205 = mul i32 2, %204
  %206 = sub i32 %203, %205
  %207 = mul i32 %202, %206
  %208 = zext i32 %207 to i64
  %209 = getelementptr inbounds { float, float }, ptr %133, i64 %208
  %210 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 0
  %211 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 1
  store float %199, ptr %210, align 4
  store float %201, ptr %211, align 4
  %212 = load <2 x float>, ptr %30, align 4
  %213 = call i32 @firinterp_crcf_execute(ptr noundef %197, <2 x float> noundef %212, ptr noundef %209)
  br label %214

214:                                              ; preds = %196, %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %215

215:                                              ; preds = %214
  %216 = load i32, ptr %16, align 4, !tbaa !5
  %217 = add i32 %216, 1
  store i32 %217, ptr %16, align 4, !tbaa !5
  br label %151, !llvm.loop !15

218:                                              ; preds = %151
  %219 = load ptr, ptr %27, align 8, !tbaa !9
  %220 = call i32 @firinterp_crcf_reset(ptr noundef %219)
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %221

221:                                              ; preds = %257, %218
  %222 = load i32, ptr %16, align 4, !tbaa !5
  %223 = load i32, ptr %17, align 4, !tbaa !5
  %224 = icmp ult i32 %222, %223
  br i1 %224, label %225, label %260

225:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %226 = load i32, ptr %16, align 4, !tbaa !5
  %227 = load i32, ptr %10, align 4, !tbaa !5
  %228 = icmp ult i32 %226, %227
  br i1 %228, label %229, label %237

229:                                              ; preds = %225
  %230 = load i32, ptr %16, align 4, !tbaa !5
  %231 = zext i32 %230 to i64
  %232 = getelementptr inbounds { float, float }, ptr %128, i64 %231
  %233 = getelementptr inbounds { float, float }, ptr %232, i32 0, i32 0
  %234 = load float, ptr %233, align 8
  %235 = getelementptr inbounds { float, float }, ptr %232, i32 0, i32 1
  %236 = load float, ptr %235, align 4
  br label %238

237:                                              ; preds = %225
  br label %238

238:                                              ; preds = %237, %229
  %239 = phi float [ %234, %229 ], [ 0.000000e+00, %237 ]
  %240 = phi float [ %236, %229 ], [ 0.000000e+00, %237 ]
  %241 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 0
  %242 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 1
  store float %239, ptr %241, align 4
  store float %240, ptr %242, align 4
  %243 = load ptr, ptr %27, align 8, !tbaa !9
  %244 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 0
  %245 = load float, ptr %244, align 4
  %246 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 1
  %247 = load float, ptr %246, align 4
  %248 = load i32, ptr %6, align 4, !tbaa !5
  %249 = load i32, ptr %16, align 4, !tbaa !5
  %250 = mul i32 %248, %249
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds { float, float }, ptr %136, i64 %251
  %253 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 0
  %254 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 1
  store float %245, ptr %253, align 4
  store float %247, ptr %254, align 4
  %255 = load <2 x float>, ptr %32, align 4
  %256 = call i32 @firinterp_crcf_execute(ptr noundef %243, <2 x float> noundef %255, ptr noundef %252)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %257

257:                                              ; preds = %238
  %258 = load i32, ptr %16, align 4, !tbaa !5
  %259 = add i32 %258, 1
  store i32 %259, ptr %16, align 4, !tbaa !5
  br label %221, !llvm.loop !16

260:                                              ; preds = %221
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %261

261:                                              ; preds = %329, %260
  %262 = load i32, ptr %16, align 4, !tbaa !5
  %263 = load i32, ptr %18, align 4, !tbaa !5
  %264 = icmp ult i32 %262, %263
  br i1 %264, label %265, label %332

265:                                              ; preds = %261
  %266 = load i32, ptr %16, align 4, !tbaa !5
  %267 = zext i32 %266 to i64
  %268 = getelementptr inbounds { float, float }, ptr %136, i64 %267
  %269 = getelementptr inbounds { float, float }, ptr %268, i32 0, i32 0
  %270 = load float, ptr %269, align 8
  %271 = getelementptr inbounds { float, float }, ptr %268, i32 0, i32 1
  %272 = load float, ptr %271, align 4
  %273 = load float, ptr %12, align 4, !tbaa !11
  %274 = load i32, ptr %16, align 4, !tbaa !5
  %275 = uitofp i32 %274 to float
  %276 = load float, ptr %13, align 4, !tbaa !11
  %277 = call float @llvm.fmuladd.f32(float %273, float %275, float %276)
  %278 = fmul float 0.000000e+00, %277
  %279 = fmul float 1.000000e+00, %277
  %280 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 0
  %281 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 1
  store float %278, ptr %280, align 4
  store float %279, ptr %281, align 4
  %282 = load <2 x float>, ptr %33, align 4
  %283 = call <2 x float> @cexpf(<2 x float> noundef %282) #9
  store <2 x float> %283, ptr %34, align 4
  %284 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 0
  %285 = load float, ptr %284, align 4
  %286 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 1
  %287 = load float, ptr %286, align 4
  %288 = fmul float %270, %285
  %289 = fmul float %272, %287
  %290 = fmul float %270, %287
  %291 = fmul float %272, %285
  %292 = fsub float %288, %289
  %293 = fadd float %290, %291
  %294 = fcmp uno float %292, %292
  br i1 %294, label %295, label %303, !prof !17

295:                                              ; preds = %265
  %296 = fcmp uno float %293, %293
  br i1 %296, label %297, label %303, !prof !17

297:                                              ; preds = %295
  %298 = call <2 x float> @__mulsc3(float noundef %270, float noundef %272, float noundef %285, float noundef %287) #9
  store <2 x float> %298, ptr %35, align 4
  %299 = getelementptr inbounds { float, float }, ptr %35, i32 0, i32 0
  %300 = load float, ptr %299, align 4
  %301 = getelementptr inbounds { float, float }, ptr %35, i32 0, i32 1
  %302 = load float, ptr %301, align 4
  br label %303

303:                                              ; preds = %297, %295, %265
  %304 = phi float [ %292, %265 ], [ %292, %295 ], [ %300, %297 ]
  %305 = phi float [ %293, %265 ], [ %293, %295 ], [ %302, %297 ]
  %306 = fpext float %304 to double
  %307 = fpext float %305 to double
  %308 = load float, ptr %19, align 4, !tbaa !11
  %309 = call float (...) @randnf()
  %310 = call float (...) @randnf()
  %311 = fmul float 0.000000e+00, %310
  %312 = fmul float 1.000000e+00, %310
  %313 = fadd float %309, %311
  %314 = fmul float %308, %313
  %315 = fmul float %308, %312
  %316 = fpext float %314 to double
  %317 = fpext float %315 to double
  %318 = fmul double %316, 0x3FE6A09E667F3BCD
  %319 = fmul double %317, 0x3FE6A09E667F3BCD
  %320 = fadd double %306, %318
  %321 = fadd double %307, %319
  %322 = fptrunc double %320 to float
  %323 = fptrunc double %321 to float
  %324 = load i32, ptr %16, align 4, !tbaa !5
  %325 = zext i32 %324 to i64
  %326 = getelementptr inbounds { float, float }, ptr %139, i64 %325
  %327 = getelementptr inbounds { float, float }, ptr %326, i32 0, i32 0
  %328 = getelementptr inbounds { float, float }, ptr %326, i32 0, i32 1
  store float %322, ptr %327, align 8
  store float %323, ptr %328, align 4
  br label %329

329:                                              ; preds = %303
  %330 = load i32, ptr %16, align 4, !tbaa !5
  %331 = add i32 %330, 1
  store i32 %331, ptr %16, align 4, !tbaa !5
  br label %261, !llvm.loop !18

332:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %333 = load i32, ptr %6, align 4, !tbaa !5
  %334 = load i32, ptr %10, align 4, !tbaa !5
  %335 = mul i32 %333, %334
  %336 = call ptr @bpresync_cccf_create(ptr noundef %133, i32 noundef %335, float noundef 0x3FA99999A0000000, i32 noundef 11)
  store ptr %336, ptr %36, align 8, !tbaa !9
  %337 = load ptr, ptr %36, align 8, !tbaa !9
  %338 = call i32 @bpresync_cccf_print(ptr noundef %337)
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  store float 0.000000e+00, ptr %37, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  store float 0.000000e+00, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 0, ptr %39, align 4, !tbaa !5
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %339

339:                                              ; preds = %434, %332
  %340 = load i32, ptr %16, align 4, !tbaa !5
  %341 = load i32, ptr %18, align 4, !tbaa !5
  %342 = icmp ult i32 %340, %341
  br i1 %342, label %343, label %437

343:                                              ; preds = %339
  %344 = load ptr, ptr %36, align 8, !tbaa !9
  %345 = load i32, ptr %16, align 4, !tbaa !5
  %346 = zext i32 %345 to i64
  %347 = getelementptr inbounds { float, float }, ptr %139, i64 %346
  %348 = getelementptr inbounds { float, float }, ptr %347, i32 0, i32 0
  %349 = load float, ptr %348, align 8
  %350 = getelementptr inbounds { float, float }, ptr %347, i32 0, i32 1
  %351 = load float, ptr %350, align 4
  %352 = getelementptr inbounds { float, float }, ptr %40, i32 0, i32 0
  %353 = getelementptr inbounds { float, float }, ptr %40, i32 0, i32 1
  store float %349, ptr %352, align 4
  store float %351, ptr %353, align 4
  %354 = load <2 x float>, ptr %40, align 4
  %355 = call i32 @bpresync_cccf_push(ptr noundef %344, <2 x float> noundef %354)
  %356 = load ptr, ptr %36, align 8, !tbaa !9
  %357 = load i32, ptr %16, align 4, !tbaa !5
  %358 = zext i32 %357 to i64
  %359 = getelementptr inbounds { float, float }, ptr %142, i64 %358
  %360 = load i32, ptr %16, align 4, !tbaa !5
  %361 = zext i32 %360 to i64
  %362 = getelementptr inbounds float, ptr %145, i64 %361
  %363 = call i32 @bpresync_cccf_execute(ptr noundef %356, ptr noundef %359, ptr noundef %362)
  %364 = load i32, ptr %16, align 4, !tbaa !5
  %365 = zext i32 %364 to i64
  %366 = getelementptr inbounds { float, float }, ptr %142, i64 %365
  %367 = getelementptr inbounds { float, float }, ptr %366, i32 0, i32 0
  %368 = load float, ptr %367, align 8
  %369 = getelementptr inbounds { float, float }, ptr %366, i32 0, i32 1
  %370 = load float, ptr %369, align 4
  %371 = getelementptr inbounds { float, float }, ptr %41, i32 0, i32 0
  %372 = getelementptr inbounds { float, float }, ptr %41, i32 0, i32 1
  store float %368, ptr %371, align 4
  store float %370, ptr %372, align 4
  %373 = load <2 x float>, ptr %41, align 4
  %374 = call float @cabsf(<2 x float> noundef %373) #9
  %375 = fcmp ogt float %374, 0x3FE3333340000000
  br i1 %375, label %376, label %396

376:                                              ; preds = %343
  %377 = load i32, ptr %16, align 4, !tbaa !5
  %378 = zext i32 %377 to i64
  %379 = getelementptr inbounds { float, float }, ptr %142, i64 %378
  %380 = getelementptr inbounds { float, float }, ptr %379, i32 0, i32 0
  %381 = load float, ptr %380, align 8
  %382 = getelementptr inbounds { float, float }, ptr %379, i32 0, i32 1
  %383 = load float, ptr %382, align 4
  %384 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 0
  %385 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 1
  store float %381, ptr %384, align 4
  store float %383, ptr %385, align 4
  %386 = load <2 x float>, ptr %42, align 4
  %387 = call float @cabsf(<2 x float> noundef %386) #9
  %388 = fpext float %387 to double
  %389 = load i32, ptr %16, align 4, !tbaa !5
  %390 = zext i32 %389 to i64
  %391 = getelementptr inbounds float, ptr %145, i64 %390
  %392 = load float, ptr %391, align 4, !tbaa !11
  %393 = fpext float %392 to double
  %394 = load i32, ptr %16, align 4, !tbaa !5
  %395 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %388, double noundef %393, i32 noundef %394)
  br label %396

396:                                              ; preds = %376, %343
  %397 = load i32, ptr %16, align 4, !tbaa !5
  %398 = zext i32 %397 to i64
  %399 = getelementptr inbounds { float, float }, ptr %142, i64 %398
  %400 = getelementptr inbounds { float, float }, ptr %399, i32 0, i32 0
  %401 = load float, ptr %400, align 8
  %402 = getelementptr inbounds { float, float }, ptr %399, i32 0, i32 1
  %403 = load float, ptr %402, align 4
  %404 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 0
  %405 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 1
  store float %401, ptr %404, align 4
  store float %403, ptr %405, align 4
  %406 = load <2 x float>, ptr %43, align 4
  %407 = call float @cabsf(<2 x float> noundef %406) #9
  %408 = load float, ptr %37, align 4, !tbaa !11
  %409 = fcmp ogt float %407, %408
  br i1 %409, label %410, label %433

410:                                              ; preds = %396
  %411 = load i32, ptr %16, align 4, !tbaa !5
  %412 = zext i32 %411 to i64
  %413 = getelementptr inbounds { float, float }, ptr %142, i64 %412
  %414 = getelementptr inbounds { float, float }, ptr %413, i32 0, i32 0
  %415 = load float, ptr %414, align 8
  %416 = getelementptr inbounds { float, float }, ptr %413, i32 0, i32 1
  %417 = load float, ptr %416, align 4
  %418 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 0
  %419 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 1
  store float %415, ptr %418, align 4
  store float %417, ptr %419, align 4
  %420 = load <2 x float>, ptr %44, align 4
  %421 = call float @cabsf(<2 x float> noundef %420) #9
  store float %421, ptr %37, align 4, !tbaa !11
  %422 = load i32, ptr %16, align 4, !tbaa !5
  %423 = zext i32 %422 to i64
  %424 = getelementptr inbounds float, ptr %145, i64 %423
  %425 = load float, ptr %424, align 4, !tbaa !11
  store float %425, ptr %38, align 4, !tbaa !11
  %426 = load i32, ptr %16, align 4, !tbaa !5
  %427 = load i32, ptr %6, align 4, !tbaa !5
  %428 = mul i32 2, %427
  %429 = load i32, ptr %7, align 4, !tbaa !5
  %430 = mul i32 %428, %429
  %431 = sub i32 %426, %430
  %432 = add i32 %431, 1
  store i32 %432, ptr %39, align 4, !tbaa !5
  br label %433

433:                                              ; preds = %410, %396
  br label %434

434:                                              ; preds = %433
  %435 = load i32, ptr %16, align 4, !tbaa !5
  %436 = add i32 %435, 1
  store i32 %436, ptr %16, align 4, !tbaa !5
  br label %339, !llvm.loop !19

437:                                              ; preds = %339
  %438 = load ptr, ptr %27, align 8, !tbaa !9
  %439 = call i32 @firinterp_crcf_destroy(ptr noundef %438)
  %440 = load ptr, ptr %36, align 8, !tbaa !9
  %441 = call i32 @bpresync_cccf_destroy(ptr noundef %440)
  %442 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %443 = load float, ptr %37, align 4, !tbaa !11
  %444 = fpext float %443 to double
  %445 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %444)
  %446 = load float, ptr %38, align 4, !tbaa !11
  %447 = fpext float %446 to double
  %448 = load float, ptr %12, align 4, !tbaa !11
  %449 = load float, ptr %38, align 4, !tbaa !11
  %450 = fsub float %448, %449
  %451 = fpext float %450 to double
  %452 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %447, double noundef %451)
  %453 = load i32, ptr %39, align 4, !tbaa !5
  %454 = load i32, ptr %6, align 4, !tbaa !5
  %455 = load i32, ptr %10, align 4, !tbaa !5
  %456 = mul i32 %454, %455
  %457 = load i32, ptr %39, align 4, !tbaa !5
  %458 = sub i32 %456, %457
  %459 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %453, i32 noundef %458)
  %460 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %461 = call noalias ptr @fopen(ptr noundef @.str.18, ptr noundef @.str.19)
  store ptr %461, ptr %45, align 8, !tbaa !9
  %462 = load ptr, ptr %45, align 8, !tbaa !9
  %463 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %462, ptr noundef @.str.20, ptr noundef @.str.18) #9
  %464 = load ptr, ptr %45, align 8, !tbaa !9
  %465 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %464, ptr noundef @.str.21) #9
  %466 = load ptr, ptr %45, align 8, !tbaa !9
  %467 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %466, ptr noundef @.str.22) #9
  %468 = load ptr, ptr %45, align 8, !tbaa !9
  %469 = load i32, ptr %18, align 4, !tbaa !5
  %470 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %468, ptr noundef @.str.23, i32 noundef %469) #9
  %471 = load ptr, ptr %45, align 8, !tbaa !9
  %472 = load i32, ptr %17, align 4, !tbaa !5
  %473 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %471, ptr noundef @.str.24, i32 noundef %472) #9
  %474 = load ptr, ptr %45, align 8, !tbaa !9
  %475 = load i32, ptr %6, align 4, !tbaa !5
  %476 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %474, ptr noundef @.str.25, i32 noundef %475) #9
  %477 = load ptr, ptr %45, align 8, !tbaa !9
  %478 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %477, ptr noundef @.str.26) #9
  %479 = load ptr, ptr %45, align 8, !tbaa !9
  %480 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %479, ptr noundef @.str.27) #9
  %481 = load ptr, ptr %45, align 8, !tbaa !9
  %482 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %481, ptr noundef @.str.28) #9
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %483

483:                                              ; preds = %548, %437
  %484 = load i32, ptr %16, align 4, !tbaa !5
  %485 = load i32, ptr %18, align 4, !tbaa !5
  %486 = icmp ult i32 %484, %485
  br i1 %486, label %487, label %551

487:                                              ; preds = %483
  %488 = load ptr, ptr %45, align 8, !tbaa !9
  %489 = load i32, ptr %16, align 4, !tbaa !5
  %490 = add i32 %489, 1
  %491 = load i32, ptr %16, align 4, !tbaa !5
  %492 = zext i32 %491 to i64
  %493 = getelementptr inbounds { float, float }, ptr %136, i64 %492
  %494 = getelementptr inbounds { float, float }, ptr %493, i32 0, i32 0
  %495 = load float, ptr %494, align 8
  %496 = getelementptr inbounds { float, float }, ptr %493, i32 0, i32 1
  %497 = load float, ptr %496, align 4
  %498 = fpext float %495 to double
  %499 = load i32, ptr %16, align 4, !tbaa !5
  %500 = zext i32 %499 to i64
  %501 = getelementptr inbounds { float, float }, ptr %136, i64 %500
  %502 = getelementptr inbounds { float, float }, ptr %501, i32 0, i32 0
  %503 = load float, ptr %502, align 8
  %504 = getelementptr inbounds { float, float }, ptr %501, i32 0, i32 1
  %505 = load float, ptr %504, align 4
  %506 = fpext float %505 to double
  %507 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %488, ptr noundef @.str.29, i32 noundef %490, double noundef %498, double noundef %506) #9
  %508 = load ptr, ptr %45, align 8, !tbaa !9
  %509 = load i32, ptr %16, align 4, !tbaa !5
  %510 = add i32 %509, 1
  %511 = load i32, ptr %16, align 4, !tbaa !5
  %512 = zext i32 %511 to i64
  %513 = getelementptr inbounds { float, float }, ptr %139, i64 %512
  %514 = getelementptr inbounds { float, float }, ptr %513, i32 0, i32 0
  %515 = load float, ptr %514, align 8
  %516 = getelementptr inbounds { float, float }, ptr %513, i32 0, i32 1
  %517 = load float, ptr %516, align 4
  %518 = fpext float %515 to double
  %519 = load i32, ptr %16, align 4, !tbaa !5
  %520 = zext i32 %519 to i64
  %521 = getelementptr inbounds { float, float }, ptr %139, i64 %520
  %522 = getelementptr inbounds { float, float }, ptr %521, i32 0, i32 0
  %523 = load float, ptr %522, align 8
  %524 = getelementptr inbounds { float, float }, ptr %521, i32 0, i32 1
  %525 = load float, ptr %524, align 4
  %526 = fpext float %525 to double
  %527 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %508, ptr noundef @.str.30, i32 noundef %510, double noundef %518, double noundef %526) #9
  %528 = load ptr, ptr %45, align 8, !tbaa !9
  %529 = load i32, ptr %16, align 4, !tbaa !5
  %530 = add i32 %529, 1
  %531 = load i32, ptr %16, align 4, !tbaa !5
  %532 = zext i32 %531 to i64
  %533 = getelementptr inbounds { float, float }, ptr %142, i64 %532
  %534 = getelementptr inbounds { float, float }, ptr %533, i32 0, i32 0
  %535 = load float, ptr %534, align 8
  %536 = getelementptr inbounds { float, float }, ptr %533, i32 0, i32 1
  %537 = load float, ptr %536, align 4
  %538 = fpext float %535 to double
  %539 = load i32, ptr %16, align 4, !tbaa !5
  %540 = zext i32 %539 to i64
  %541 = getelementptr inbounds { float, float }, ptr %142, i64 %540
  %542 = getelementptr inbounds { float, float }, ptr %541, i32 0, i32 0
  %543 = load float, ptr %542, align 8
  %544 = getelementptr inbounds { float, float }, ptr %541, i32 0, i32 1
  %545 = load float, ptr %544, align 4
  %546 = fpext float %545 to double
  %547 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %528, ptr noundef @.str.31, i32 noundef %530, double noundef %538, double noundef %546) #9
  br label %548

548:                                              ; preds = %487
  %549 = load i32, ptr %16, align 4, !tbaa !5
  %550 = add i32 %549, 1
  store i32 %550, ptr %16, align 4, !tbaa !5
  br label %483, !llvm.loop !20

551:                                              ; preds = %483
  %552 = load ptr, ptr %45, align 8, !tbaa !9
  %553 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %552, ptr noundef @.str.32) #9
  %554 = load ptr, ptr %45, align 8, !tbaa !9
  %555 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %554, ptr noundef @.str.33) #9
  %556 = load ptr, ptr %45, align 8, !tbaa !9
  %557 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %556, ptr noundef @.str.34) #9
  %558 = load ptr, ptr %45, align 8, !tbaa !9
  %559 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %558, ptr noundef @.str.35) #9
  %560 = load ptr, ptr %45, align 8, !tbaa !9
  %561 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %560, ptr noundef @.str.36) #9
  %562 = load ptr, ptr %45, align 8, !tbaa !9
  %563 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %562, ptr noundef @.str.37) #9
  %564 = load ptr, ptr %45, align 8, !tbaa !9
  %565 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %564, ptr noundef @.str.38) #9
  %566 = load ptr, ptr %45, align 8, !tbaa !9
  %567 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %566, ptr noundef @.str.39) #9
  %568 = load ptr, ptr %45, align 8, !tbaa !9
  %569 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %568, ptr noundef @.str.40) #9
  %570 = load ptr, ptr %45, align 8, !tbaa !9
  %571 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %570, ptr noundef @.str.41) #9
  %572 = load ptr, ptr %45, align 8, !tbaa !9
  %573 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %572, ptr noundef @.str.42) #9
  %574 = load ptr, ptr %45, align 8, !tbaa !9
  %575 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %574, ptr noundef @.str.38) #9
  %576 = load ptr, ptr %45, align 8, !tbaa !9
  %577 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %576, ptr noundef @.str.43) #9
  %578 = load ptr, ptr %45, align 8, !tbaa !9
  %579 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %578, ptr noundef @.str.37) #9
  %580 = load ptr, ptr %45, align 8, !tbaa !9
  %581 = call i32 @fclose(ptr noundef %580)
  %582 = call i32 (ptr, ...) @printf(ptr noundef @.str.44, ptr noundef @.str.18)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  %583 = load ptr, ptr %20, align 8
  call void @llvm.stackrestore.p0(ptr %583)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  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 4, ptr %16) #9
  br label %584

584:                                              ; preds = %551, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  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
  %585 = load i32, ptr %3, align 4
  ret i32 %585
}

; 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

declare float @randf(...) #1

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @rand() #3

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

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

declare i32 @firinterp_crcf_reset(ptr noundef) #1

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

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

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

declare float @randnf(...) #1

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

declare i32 @bpresync_cccf_print(ptr noundef) #1

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

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

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

declare i32 @firinterp_crcf_destroy(ptr noundef) #1

declare i32 @bpresync_cccf_destroy(ptr noundef) #1

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

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = !{!"branch_weights", i32 1, i32 1048575}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !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.10 = external hidden unnamed_addr constant [19 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [25 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) #11
  %4 = trunc i64 %3 to i32
  tail call void @srand(i32 noundef %4) #11
  %5 = tail call float (...) @randf() #11
  %6 = fpext float %5 to double
  %7 = fmul double %6, 0x401921FB54442D18
  %8 = fptrunc double %7 to float
  br label %.outer

.outer:                                           ; preds = %25, %2
  %.0178.ph = phi float [ %28, %25 ], [ 0x3F947AE140000000, %2 ]
  %.0176.ph = phi float [ %.0176.ph291, %25 ], [ 2.000000e+01, %2 ]
  %.0174.ph = phi i32 [ %.0174.ph298, %25 ], [ 64, %2 ]
  %.0172.ph = phi float [ %.0172.ph304, %25 ], [ 0.000000e+00, %2 ]
  %.0170.ph = phi float [ %.0170.ph309, %25 ], [ 0x3FD3333340000000, %2 ]
  %.0168.ph = phi i32 [ %.0168.ph313, %25 ], [ 5, %2 ]
  %.0166.ph = phi i32 [ %.0166, %25 ], [ 2, %2 ]
  br label %.outer290

.outer290:                                        ; preds = %.outer, %33
  %.0176.ph291 = phi float [ %.0176.ph, %.outer ], [ %36, %33 ]
  %.0174.ph292 = phi i32 [ %.0174.ph, %.outer ], [ %.0174.ph298, %33 ]
  %.0172.ph293 = phi float [ %.0172.ph, %.outer ], [ %.0172.ph304, %33 ]
  %.0170.ph294 = phi float [ %.0170.ph, %.outer ], [ %.0170.ph309, %33 ]
  %.0168.ph295 = phi i32 [ %.0168.ph, %.outer ], [ %.0168.ph313, %33 ]
  %.0166.ph296 = phi i32 [ %.0166.ph, %.outer ], [ %.0166, %33 ]
  br label %.outer297

.outer297:                                        ; preds = %.outer290, %18
  %.0174.ph298 = phi i32 [ %.0174.ph292, %.outer290 ], [ %20, %18 ]
  %.0172.ph299 = phi float [ %.0172.ph293, %.outer290 ], [ %.0172.ph304, %18 ]
  %.0170.ph300 = phi float [ %.0170.ph294, %.outer290 ], [ %.0170.ph309, %18 ]
  %.0168.ph301 = phi i32 [ %.0168.ph295, %.outer290 ], [ %.0168.ph313, %18 ]
  %.0166.ph302 = phi i32 [ %.0166.ph296, %.outer290 ], [ %.0166, %18 ]
  br label %.outer303

.outer303:                                        ; preds = %.outer297, %29
  %.0172.ph304 = phi float [ %.0172.ph299, %.outer297 ], [ %32, %29 ]
  %.0170.ph305 = phi float [ %.0170.ph300, %.outer297 ], [ %.0170.ph309, %29 ]
  %.0168.ph306 = phi i32 [ %.0168.ph301, %.outer297 ], [ %.0168.ph313, %29 ]
  %.0166.ph307 = phi i32 [ %.0166.ph302, %.outer297 ], [ %.0166, %29 ]
  br label %.outer308

.outer308:                                        ; preds = %.outer303, %21
  %.0170.ph309 = phi float [ %.0170.ph305, %.outer303 ], [ %24, %21 ]
  %.0168.ph310 = phi i32 [ %.0168.ph306, %.outer303 ], [ %.0168.ph313, %21 ]
  %.0166.ph311 = phi i32 [ %.0166.ph307, %.outer303 ], [ %.0166, %21 ]
  br label %.outer312

.outer312:                                        ; preds = %.outer308, %15
  %.0168.ph313 = phi i32 [ %.0168.ph310, %.outer308 ], [ %17, %15 ]
  %.0166.ph314 = phi i32 [ %.0166.ph311, %.outer308 ], [ %.0166, %15 ]
  br label %9

9:                                                ; preds = %.outer312, %12
  %.0166 = phi i32 [ %14, %12 ], [ %.0166.ph314, %.outer312 ]
  %10 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.10) #11
  switch i32 %10, label %37 [
    i32 -1, label %38
    i32 104, label %11
    i32 107, label %12
    i32 109, label %15
    i32 110, label %18
    i32 98, label %21
    i32 70, label %25
    i32 116, label %29
    i32 83, label %33
  ]

11:                                               ; preds = %9
  tail call void @usage()
  br label %235

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

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

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

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

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

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

33:                                               ; preds = %9
  %34 = load ptr, ptr @optarg, align 8, !tbaa !5
  %35 = tail call double @atof(ptr noundef %34) #12
  %36 = fptrunc double %35 to float
  br label %.outer290, !llvm.loop !9

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

38:                                               ; preds = %9
  %39 = fcmp ole float %.0170.ph309, 0.000000e+00
  %40 = fcmp oge float %.0170.ph309, 1.000000e+00
  %or.cond = or i1 %39, %40
  br i1 %or.cond, label %41, label %45

41:                                               ; preds = %38
  %42 = load ptr, ptr @stderr, align 8, !tbaa !5
  %43 = load ptr, ptr %1, align 8, !tbaa !5
  %44 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef nonnull @.str.11, ptr noundef %43) #14
  tail call void @exit(i32 noundef 1) #13
  unreachable

45:                                               ; preds = %38
  %46 = tail call float @llvm.fabs.f32(float %.0172.ph304)
  %or.cond3 = fcmp ogt float %46, 5.000000e-01
  br i1 %or.cond3, label %47, label %51

47:                                               ; preds = %45
  %48 = load ptr, ptr @stderr, align 8, !tbaa !5
  %49 = load ptr, ptr %1, align 8, !tbaa !5
  %50 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str.12, ptr noundef %49) #14
  tail call void @exit(i32 noundef 1) #13
  unreachable

51:                                               ; preds = %45
  %52 = shl i32 %.0168.ph313, 1
  %53 = add i32 %52, %.0174.ph298
  %54 = add i32 %53, 10
  %55 = mul i32 %54, %.0166
  %56 = fdiv float %.0176.ph291, -2.000000e+01
  %57 = tail call float @powf(float noundef 1.000000e+01, float noundef %56) #11
  %58 = zext i32 %.0174.ph298 to i64
  %59 = tail call ptr @llvm.stacksave.p0()
  %60 = alloca { float, float }, i64 %58, align 16
  %61 = mul i32 %.0166, %.0174.ph298
  %62 = zext i32 %61 to i64
  %63 = alloca { float, float }, i64 %62, align 16
  %64 = zext i32 %55 to i64
  %65 = alloca { float, float }, i64 %64, align 16
  %66 = alloca { float, float }, i64 %64, align 16
  %67 = alloca { float, float }, i64 %64, align 16
  %68 = alloca float, i64 %64, align 16
  %69 = tail call ptr @firinterp_crcf_create_prototype(i32 noundef 9, i32 noundef %.0166, i32 noundef %.0168.ph313, float noundef %.0170.ph309, float noundef %.0172.ph304) #11
  %.not = icmp eq i32 %53, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph.preheader

._crit_edge.thread:                               ; preds = %51
  %70 = tail call i32 @firinterp_crcf_reset(ptr noundef %69) #11
  br label %.lr.ph203.preheader

.lr.ph.preheader:                                 ; preds = %51
  %71 = zext i32 %52 to i64
  %wide.trip.count = zext i32 %53 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %79
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %79 ]
  %72 = icmp ult i64 %indvars.iv, %58
  br i1 %72, label %73, label %79

73:                                               ; preds = %.lr.ph
  %74 = call i32 @rand() #11
  %75 = and i32 %74, 1
  %.not185 = icmp eq i32 %75, 0
  %76 = select i1 %.not185, float 1.000000e+00, float -1.000000e+00
  %77 = getelementptr inbounds { float, float }, ptr %60, i64 %indvars.iv
  %78 = getelementptr inbounds i8, ptr %77, i64 4
  store float %76, ptr %77, align 8
  store float 0.000000e+00, ptr %78, align 4
  br label %79

79:                                               ; preds = %73, %.lr.ph
  %.sroa.059.0 = phi float [ %76, %73 ], [ 0.000000e+00, %.lr.ph ]
  %80 = icmp ult i64 %indvars.iv, %71
  %81 = trunc nuw i64 %indvars.iv to i32
  %82 = sub i32 %81, %52
  %83 = mul i32 %82, %.0166
  %84 = zext i32 %83 to i64
  %.sink.idx = select i1 %80, i64 0, i64 %84
  %.sink = getelementptr inbounds { float, float }, ptr %63, i64 %.sink.idx
  %.sroa.055.4.vec.insert = insertelement <2 x float> <float poison, float 0.000000e+00>, float %.sroa.059.0, i64 0
  %85 = call i32 @firinterp_crcf_execute(ptr noundef %69, <2 x float> noundef %.sroa.055.4.vec.insert, ptr noundef nonnull %.sink) #11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %79
  %86 = call i32 @firinterp_crcf_reset(ptr noundef %69) #11
  %.not220 = icmp eq i32 %54, 0
  br i1 %.not220, label %._crit_edge206, label %.lr.ph203.preheader

.lr.ph203.preheader:                              ; preds = %._crit_edge.thread, %._crit_edge
  %wide.trip.count242 = zext i32 %54 to i64
  br label %.lr.ph203

.preheader:                                       ; preds = %93
  %.not221 = icmp eq i32 %55, 0
  br i1 %.not221, label %._crit_edge206, label %.lr.ph205.preheader

.lr.ph205.preheader:                              ; preds = %.preheader
  %87 = insertelement <2 x float> poison, float %57, i64 0
  %88 = shufflevector <2 x float> %87, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph205

.lr.ph203:                                        ; preds = %.lr.ph203.preheader, %93
  %indvars.iv239 = phi i64 [ 0, %.lr.ph203.preheader ], [ %indvars.iv.next240, %93 ]
  %89 = icmp ult i64 %indvars.iv239, %58
  br i1 %89, label %90, label %93

90:                                               ; preds = %.lr.ph203
  %91 = getelementptr inbounds { float, float }, ptr %60, i64 %indvars.iv239
  %92 = load <2 x float>, ptr %91, align 8
  br label %93

93:                                               ; preds = %.lr.ph203, %90
  %94 = phi <2 x float> [ %92, %90 ], [ zeroinitializer, %.lr.ph203 ]
  %95 = trunc nuw i64 %indvars.iv239 to i32
  %96 = mul i32 %.0166, %95
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds { float, float }, ptr %65, i64 %97
  %99 = call i32 @firinterp_crcf_execute(ptr noundef %69, <2 x float> noundef %94, ptr noundef nonnull %98) #11
  %indvars.iv.next240 = add nuw nsw i64 %indvars.iv239, 1
  %exitcond243.not = icmp eq i64 %indvars.iv.next240, %wide.trip.count242
  br i1 %exitcond243.not, label %.preheader, label %.lr.ph203, !llvm.loop !12

.lr.ph205:                                        ; preds = %.lr.ph205.preheader, %128
  %indvars.iv244 = phi i64 [ %indvars.iv.next245, %128 ], [ 0, %.lr.ph205.preheader ]
  %100 = getelementptr inbounds { float, float }, ptr %65, i64 %indvars.iv244
  %101 = load float, ptr %100, align 8
  %102 = getelementptr inbounds i8, ptr %100, i64 4
  %103 = load float, ptr %102, align 4
  %104 = trunc nuw i64 %indvars.iv244 to i32
  %105 = uitofp i32 %104 to float
  %106 = call float @llvm.fmuladd.f32(float %.0178.ph, float %105, float %8)
  %107 = fmul float %106, 0.000000e+00
  %.sroa.050.0.vec.insert = insertelement <2 x float> poison, float %107, i64 0
  %.sroa.050.4.vec.insert = insertelement <2 x float> %.sroa.050.0.vec.insert, float %106, i64 1
  %108 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.050.4.vec.insert) #11
  %109 = insertelement <2 x float> poison, float %101, i64 0
  %110 = shufflevector <2 x float> %109, <2 x float> poison, <2 x i32> zeroinitializer
  %111 = fmul <2 x float> %110, %108
  %112 = insertelement <2 x float> poison, float %103, i64 0
  %113 = shufflevector <2 x float> %112, <2 x float> poison, <2 x i32> zeroinitializer
  %114 = fmul <2 x float> %113, %108
  %115 = shufflevector <2 x float> %114, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %116 = fsub <2 x float> %111, %115
  %117 = fadd <2 x float> %111, %115
  %118 = shufflevector <2 x float> %116, <2 x float> %117, <2 x i32> <i32 0, i32 3>
  %119 = extractelement <2 x float> %116, i64 0
  %120 = fcmp uno float %119, 0.000000e+00
  br i1 %120, label %121, label %128, !prof !13

121:                                              ; preds = %.lr.ph205
  %122 = extractelement <2 x float> %117, i64 1
  %123 = fcmp uno float %122, 0.000000e+00
  br i1 %123, label %124, label %128, !prof !13

124:                                              ; preds = %121
  %125 = extractelement <2 x float> %108, i64 0
  %126 = extractelement <2 x float> %108, i64 1
  %127 = call <2 x float> @__mulsc3(float noundef %101, float noundef %103, float noundef %125, float noundef %126) #11
  br label %128

128:                                              ; preds = %124, %121, %.lr.ph205
  %129 = phi <2 x float> [ %118, %.lr.ph205 ], [ %118, %121 ], [ %127, %124 ]
  %130 = fpext <2 x float> %129 to <2 x double>
  %131 = call float (...) @randnf() #11
  %132 = call float (...) @randnf() #11
  %133 = fmul float %132, 0.000000e+00
  %134 = fadd float %131, %133
  %135 = getelementptr inbounds { float, float }, ptr %66, i64 %indvars.iv244
  %136 = insertelement <2 x float> poison, float %134, i64 0
  %137 = insertelement <2 x float> %136, float %132, i64 1
  %138 = fmul <2 x float> %88, %137
  %139 = fpext <2 x float> %138 to <2 x double>
  %140 = fmul <2 x double> %139, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %141 = fadd <2 x double> %140, %130
  %142 = fptrunc <2 x double> %141 to <2 x float>
  store <2 x float> %142, ptr %135, align 8
  %indvars.iv.next245 = add nuw nsw i64 %indvars.iv244, 1
  %exitcond248.not = icmp eq i64 %indvars.iv.next245, %64
  br i1 %exitcond248.not, label %._crit_edge206, label %.lr.ph205, !llvm.loop !14

._crit_edge206:                                   ; preds = %128, %._crit_edge, %.preheader
  %.not221261 = phi i1 [ true, %.preheader ], [ true, %._crit_edge ], [ %.not221, %128 ]
  %143 = call ptr @bpresync_cccf_create(ptr noundef nonnull %63, i32 noundef %61, float noundef 0x3FA99999A0000000, i32 noundef 11) #11
  %144 = call i32 @bpresync_cccf_print(ptr noundef %143) #11
  br i1 %.not221261, label %._crit_edge213, label %.lr.ph212

.lr.ph212:                                        ; preds = %._crit_edge206
  %factor.op.mul = mul i32 %.0168.ph313, %.0166
  %.reass = mul i32 %factor.op.mul, -2
  %145 = or disjoint i32 %.reass, 1
  br label %146

146:                                              ; preds = %.lr.ph212, %174
  %indvars.iv249 = phi i64 [ 0, %.lr.ph212 ], [ %indvars.iv.next250, %174 ]
  %.0161210 = phi i32 [ 0, %.lr.ph212 ], [ %.1, %174 ]
  %.0162209 = phi float [ 0.000000e+00, %.lr.ph212 ], [ %.1163, %174 ]
  %.0164208 = phi float [ 0.000000e+00, %.lr.ph212 ], [ %.1165, %174 ]
  %147 = getelementptr inbounds { float, float }, ptr %66, i64 %indvars.iv249
  %148 = load <2 x float>, ptr %147, align 8
  %149 = call i32 @bpresync_cccf_push(ptr noundef %143, <2 x float> noundef %148) #11
  %150 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv249
  %151 = getelementptr inbounds float, ptr %68, i64 %indvars.iv249
  %152 = call i32 @bpresync_cccf_execute(ptr noundef %143, ptr noundef nonnull %150, ptr noundef nonnull %151) #11
  %153 = load <2 x float>, ptr %150, align 8
  %154 = call float @cabsf(<2 x float> noundef %153) #11
  %155 = fcmp ogt float %154, 0x3FE3333340000000
  br i1 %155, label %156, label %164

156:                                              ; preds = %146
  %157 = load <2 x float>, ptr %150, align 8
  %158 = call float @cabsf(<2 x float> noundef %157) #11
  %159 = fpext float %158 to double
  %160 = load float, ptr %151, align 4, !tbaa !15
  %161 = fpext float %160 to double
  %162 = trunc nuw i64 %indvars.iv249 to i32
  %163 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, double noundef %159, double noundef %161, i32 noundef %162)
  br label %164

164:                                              ; preds = %156, %146
  %165 = load <2 x float>, ptr %150, align 8
  %166 = call float @cabsf(<2 x float> noundef %165) #11
  %167 = fcmp ogt float %166, %.0164208
  br i1 %167, label %168, label %174

168:                                              ; preds = %164
  %169 = load <2 x float>, ptr %150, align 8
  %170 = call float @cabsf(<2 x float> noundef %169) #11
  %171 = load float, ptr %151, align 4, !tbaa !15
  %172 = trunc nuw i64 %indvars.iv249 to i32
  %173 = add i32 %145, %172
  br label %174

174:                                              ; preds = %164, %168
  %.1165 = phi float [ %170, %168 ], [ %.0164208, %164 ]
  %.1163 = phi float [ %171, %168 ], [ %.0162209, %164 ]
  %.1 = phi i32 [ %173, %168 ], [ %.0161210, %164 ]
  %indvars.iv.next250 = add nuw nsw i64 %indvars.iv249, 1
  %exitcond253.not = icmp eq i64 %indvars.iv.next250, %64
  br i1 %exitcond253.not, label %._crit_edge213.loopexit, label %146, !llvm.loop !17

._crit_edge213.loopexit:                          ; preds = %174
  %175 = fpext float %.1165 to double
  br label %._crit_edge213

._crit_edge213:                                   ; preds = %._crit_edge213.loopexit, %._crit_edge206
  %.0164.lcssa = phi double [ 0.000000e+00, %._crit_edge206 ], [ %175, %._crit_edge213.loopexit ]
  %.0162.lcssa = phi float [ 0.000000e+00, %._crit_edge206 ], [ %.1163, %._crit_edge213.loopexit ]
  %.0161.lcssa = phi i32 [ 0, %._crit_edge206 ], [ %.1, %._crit_edge213.loopexit ]
  %176 = call i32 @firinterp_crcf_destroy(ptr noundef %69) #11
  %177 = call i32 @bpresync_cccf_destroy(ptr noundef %143) #11
  %178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %179 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %.0164.lcssa)
  %180 = fpext float %.0162.lcssa to double
  %181 = fsub float %.0178.ph, %.0162.lcssa
  %182 = fpext float %181 to double
  %183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef %180, double noundef %182)
  %184 = sub i32 %61, %.0161.lcssa
  %185 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %.0161.lcssa, i32 noundef %184)
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %187 = call noalias ptr @fopen(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19)
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.18) #11
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.21) #11
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.22) #11
  %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.23, i32 noundef %55) #11
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.24, i32 noundef %54) #11
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.25, i32 noundef %.0166) #11
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.26) #11
  %195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.27) #11
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.28) #11
  br i1 %.not221261, label %._crit_edge219, label %.lr.ph218

.lr.ph218:                                        ; preds = %._crit_edge213, %.lr.ph218
  %indvars.iv254 = phi i64 [ %indvars.iv.next255, %.lr.ph218 ], [ 0, %._crit_edge213 ]
  %indvars.iv.next255 = add nuw nsw i64 %indvars.iv254, 1
  %197 = getelementptr inbounds { float, float }, ptr %65, i64 %indvars.iv254
  %198 = load float, ptr %197, align 8
  %199 = getelementptr inbounds i8, ptr %197, i64 4
  %200 = fpext float %198 to double
  %201 = load float, ptr %199, align 4
  %202 = fpext float %201 to double
  %203 = trunc nuw i64 %indvars.iv.next255 to i32
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.29, i32 noundef %203, double noundef %200, double noundef %202) #11
  %205 = getelementptr inbounds { float, float }, ptr %66, i64 %indvars.iv254
  %206 = load float, ptr %205, align 8
  %207 = getelementptr inbounds i8, ptr %205, i64 4
  %208 = fpext float %206 to double
  %209 = load float, ptr %207, align 4
  %210 = fpext float %209 to double
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.30, i32 noundef %203, double noundef %208, double noundef %210) #11
  %212 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv254
  %213 = load float, ptr %212, align 8
  %214 = getelementptr inbounds i8, ptr %212, i64 4
  %215 = fpext float %213 to double
  %216 = load float, ptr %214, align 4
  %217 = fpext float %216 to double
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.31, i32 noundef %203, double noundef %215, double noundef %217) #11
  %exitcond258.not = icmp eq i64 %indvars.iv.next255, %64
  br i1 %exitcond258.not, label %._crit_edge219, label %.lr.ph218, !llvm.loop !18

._crit_edge219:                                   ; preds = %.lr.ph218, %._crit_edge213
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.32) #11
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.33) #11
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.34) #11
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.35) #11
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.36) #11
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.37) #11
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.38) #11
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.39) #11
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.40) #11
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.41) #11
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.42) #11
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.38) #11
  %231 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.43) #11
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.37) #11
  %233 = call i32 @fclose(ptr noundef %187)
  %234 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.44, ptr noundef nonnull @.str.18)
  call void @llvm.stackrestore.p0(ptr %59)
  br label %235

235:                                              ; preds = %._crit_edge219, %11
  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

declare float @randf(...) local_unnamed_addr #4

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #3

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

declare i32 @firinterp_crcf_reset(ptr noundef) local_unnamed_addr #4

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

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

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

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

declare ptr @bpresync_cccf_create(ptr noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #4

declare i32 @bpresync_cccf_print(ptr noundef) local_unnamed_addr #4

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

declare i32 @bpresync_cccf_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

declare i32 @firinterp_crcf_destroy(ptr noundef) local_unnamed_addr #4

declare i32 @bpresync_cccf_destroy(ptr noundef) local_unnamed_addr #4

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

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

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 = { "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 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 #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 = { 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 #8 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { noreturn nounwind }
attributes #14 = { cold nounwind }

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

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


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