; LLVM IR from jgaeddert/liquid-dsp :: src/math/tests (math_bessel_autotest)

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

@.str = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [50 x i8], align 1

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f32(float, i32 immarg) #2

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #3

declare void @liquid_autotest_passed(...) #3

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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_besseli0f() #4 {
  %1 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store float 0x3F50624DE0000000, ptr %1, align 4, !tbaa !5
  %2 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %3 = fsub float %2, 1.000000e+00
  %4 = fpext float %3 to double
  %5 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %6 = fsub float %5, 1.000000e+00
  %7 = fpext float %6 to double
  %8 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %9 = fsub float %8, 1.000000e+00
  %10 = fpext float %9 to double
  %11 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %12 = fsub float %11, 1.000000e+00
  %13 = fpext float %12 to double
  %14 = call double @llvm.fmuladd.f64(double %4, double %7, double 0.000000e+00)
  %15 = call double @sqrt(double noundef %14) #5
  %16 = load float, ptr %1, align 4, !tbaa !5
  %17 = fpext float %16 to double
  %18 = fcmp ogt double %15, %17
  br i1 %18, label %29, label %19

19:                                               ; preds = %0
  %20 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %21 = call i1 @llvm.is.fpclass.f32(float %20, i32 3)
  br i1 %21, label %29, label %22

22:                                               ; preds = %19
  %23 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %24 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %24, label %29, label %25

25:                                               ; preds = %22
  %26 = call i1 @llvm.is.fpclass.f32(float 1.000000e+00, i32 3)
  br i1 %26, label %29, label %27

27:                                               ; preds = %25
  %28 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %28, label %29, label %46

29:                                               ; preds = %27, %25, %22, %19, %0
  %30 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %31 = fsub float %30, 1.000000e+00
  %32 = fpext float %31 to double
  %33 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %34 = fsub float %33, 1.000000e+00
  %35 = fpext float %34 to double
  %36 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %37 = fsub float %36, 1.000000e+00
  %38 = fpext float %37 to double
  %39 = call float @liquid_besseli0f(float noundef 0.000000e+00)
  %40 = fsub float %39, 1.000000e+00
  %41 = fpext float %40 to double
  %42 = call double @llvm.fmuladd.f64(double %32, double %35, double 0.000000e+00)
  %43 = call double @sqrt(double noundef %42) #5
  %44 = load float, ptr %1, align 4, !tbaa !5
  %45 = fpext float %44 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 100, ptr noundef @.str.37, double noundef %43, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %45)
  br label %47

46:                                               ; preds = %27
  call void (...) @liquid_autotest_passed()
  br label %47

47:                                               ; preds = %46, %29
  %48 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %49 = fsub float %48, 0x3FF00A3F20000000
  %50 = fpext float %49 to double
  %51 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %52 = fsub float %51, 0x3FF00A3F20000000
  %53 = fpext float %52 to double
  %54 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %55 = fsub float %54, 0x3FF00A3F20000000
  %56 = fpext float %55 to double
  %57 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %58 = fsub float %57, 0x3FF00A3F20000000
  %59 = fpext float %58 to double
  %60 = call double @llvm.fmuladd.f64(double %50, double %53, double 0.000000e+00)
  %61 = call double @sqrt(double noundef %60) #5
  %62 = load float, ptr %1, align 4, !tbaa !5
  %63 = fpext float %62 to double
  %64 = fcmp ogt double %61, %63
  br i1 %64, label %75, label %65

65:                                               ; preds = %47
  %66 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %67 = call i1 @llvm.is.fpclass.f32(float %66, i32 3)
  br i1 %67, label %75, label %68

68:                                               ; preds = %65
  %69 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %70 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %70, label %75, label %71

71:                                               ; preds = %68
  %72 = call i1 @llvm.is.fpclass.f32(float 0x3FF00A3F20000000, i32 3)
  br i1 %72, label %75, label %73

73:                                               ; preds = %71
  %74 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %74, label %75, label %92

75:                                               ; preds = %73, %71, %68, %65, %47
  %76 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %77 = fsub float %76, 0x3FF00A3F20000000
  %78 = fpext float %77 to double
  %79 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %80 = fsub float %79, 0x3FF00A3F20000000
  %81 = fpext float %80 to double
  %82 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %83 = fsub float %82, 0x3FF00A3F20000000
  %84 = fpext float %83 to double
  %85 = call float @liquid_besseli0f(float noundef 0x3FB99999A0000000)
  %86 = fsub float %85, 0x3FF00A3F20000000
  %87 = fpext float %86 to double
  %88 = call double @llvm.fmuladd.f64(double %78, double %81, double 0.000000e+00)
  %89 = call double @sqrt(double noundef %88) #5
  %90 = load float, ptr %1, align 4, !tbaa !5
  %91 = fpext float %90 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 101, ptr noundef @.str.38, double noundef %89, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %91)
  br label %93

92:                                               ; preds = %73
  call void (...) @liquid_autotest_passed()
  br label %93

93:                                               ; preds = %92, %75
  %94 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %95 = fsub float %94, 0x3FF0291000000000
  %96 = fpext float %95 to double
  %97 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %98 = fsub float %97, 0x3FF0291000000000
  %99 = fpext float %98 to double
  %100 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %101 = fsub float %100, 0x3FF0291000000000
  %102 = fpext float %101 to double
  %103 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %104 = fsub float %103, 0x3FF0291000000000
  %105 = fpext float %104 to double
  %106 = call double @llvm.fmuladd.f64(double %96, double %99, double 0.000000e+00)
  %107 = call double @sqrt(double noundef %106) #5
  %108 = load float, ptr %1, align 4, !tbaa !5
  %109 = fpext float %108 to double
  %110 = fcmp ogt double %107, %109
  br i1 %110, label %121, label %111

111:                                              ; preds = %93
  %112 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %113 = call i1 @llvm.is.fpclass.f32(float %112, i32 3)
  br i1 %113, label %121, label %114

114:                                              ; preds = %111
  %115 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %116 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %116, label %121, label %117

117:                                              ; preds = %114
  %118 = call i1 @llvm.is.fpclass.f32(float 0x3FF0291000000000, i32 3)
  br i1 %118, label %121, label %119

119:                                              ; preds = %117
  %120 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %120, label %121, label %138

121:                                              ; preds = %119, %117, %114, %111, %93
  %122 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %123 = fsub float %122, 0x3FF0291000000000
  %124 = fpext float %123 to double
  %125 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %126 = fsub float %125, 0x3FF0291000000000
  %127 = fpext float %126 to double
  %128 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %129 = fsub float %128, 0x3FF0291000000000
  %130 = fpext float %129 to double
  %131 = call float @liquid_besseli0f(float noundef 0x3FC99999A0000000)
  %132 = fsub float %131, 0x3FF0291000000000
  %133 = fpext float %132 to double
  %134 = call double @llvm.fmuladd.f64(double %124, double %127, double 0.000000e+00)
  %135 = call double @sqrt(double noundef %134) #5
  %136 = load float, ptr %1, align 4, !tbaa !5
  %137 = fpext float %136 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 102, ptr noundef @.str.39, double noundef %135, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %137)
  br label %139

138:                                              ; preds = %119
  call void (...) @liquid_autotest_passed()
  br label %139

139:                                              ; preds = %138, %121
  %140 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %141 = fsub float %140, 0x3FF1040720000000
  %142 = fpext float %141 to double
  %143 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %144 = fsub float %143, 0x3FF1040720000000
  %145 = fpext float %144 to double
  %146 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %147 = fsub float %146, 0x3FF1040720000000
  %148 = fpext float %147 to double
  %149 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %150 = fsub float %149, 0x3FF1040720000000
  %151 = fpext float %150 to double
  %152 = call double @llvm.fmuladd.f64(double %142, double %145, double 0.000000e+00)
  %153 = call double @sqrt(double noundef %152) #5
  %154 = load float, ptr %1, align 4, !tbaa !5
  %155 = fpext float %154 to double
  %156 = fcmp ogt double %153, %155
  br i1 %156, label %167, label %157

157:                                              ; preds = %139
  %158 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %159 = call i1 @llvm.is.fpclass.f32(float %158, i32 3)
  br i1 %159, label %167, label %160

160:                                              ; preds = %157
  %161 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %162 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %162, label %167, label %163

163:                                              ; preds = %160
  %164 = call i1 @llvm.is.fpclass.f32(float 0x3FF1040720000000, i32 3)
  br i1 %164, label %167, label %165

165:                                              ; preds = %163
  %166 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %166, label %167, label %184

167:                                              ; preds = %165, %163, %160, %157, %139
  %168 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %169 = fsub float %168, 0x3FF1040720000000
  %170 = fpext float %169 to double
  %171 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %172 = fsub float %171, 0x3FF1040720000000
  %173 = fpext float %172 to double
  %174 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %175 = fsub float %174, 0x3FF1040720000000
  %176 = fpext float %175 to double
  %177 = call float @liquid_besseli0f(float noundef 5.000000e-01)
  %178 = fsub float %177, 0x3FF1040720000000
  %179 = fpext float %178 to double
  %180 = call double @llvm.fmuladd.f64(double %170, double %173, double 0.000000e+00)
  %181 = call double @sqrt(double noundef %180) #5
  %182 = load float, ptr %1, align 4, !tbaa !5
  %183 = fpext float %182 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 103, ptr noundef @.str.40, double noundef %181, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %183)
  br label %185

184:                                              ; preds = %165
  call void (...) @liquid_autotest_passed()
  br label %185

185:                                              ; preds = %184, %167
  %186 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %187 = fsub float %186, 0x3FF441CE40000000
  %188 = fpext float %187 to double
  %189 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %190 = fsub float %189, 0x3FF441CE40000000
  %191 = fpext float %190 to double
  %192 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %193 = fsub float %192, 0x3FF441CE40000000
  %194 = fpext float %193 to double
  %195 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %196 = fsub float %195, 0x3FF441CE40000000
  %197 = fpext float %196 to double
  %198 = call double @llvm.fmuladd.f64(double %188, double %191, double 0.000000e+00)
  %199 = call double @sqrt(double noundef %198) #5
  %200 = load float, ptr %1, align 4, !tbaa !5
  %201 = fpext float %200 to double
  %202 = fcmp ogt double %199, %201
  br i1 %202, label %213, label %203

203:                                              ; preds = %185
  %204 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %205 = call i1 @llvm.is.fpclass.f32(float %204, i32 3)
  br i1 %205, label %213, label %206

206:                                              ; preds = %203
  %207 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %208 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %208, label %213, label %209

209:                                              ; preds = %206
  %210 = call i1 @llvm.is.fpclass.f32(float 0x3FF441CE40000000, i32 3)
  br i1 %210, label %213, label %211

211:                                              ; preds = %209
  %212 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %212, label %213, label %230

213:                                              ; preds = %211, %209, %206, %203, %185
  %214 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %215 = fsub float %214, 0x3FF441CE40000000
  %216 = fpext float %215 to double
  %217 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %218 = fsub float %217, 0x3FF441CE40000000
  %219 = fpext float %218 to double
  %220 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %221 = fsub float %220, 0x3FF441CE40000000
  %222 = fpext float %221 to double
  %223 = call float @liquid_besseli0f(float noundef 1.000000e+00)
  %224 = fsub float %223, 0x3FF441CE40000000
  %225 = fpext float %224 to double
  %226 = call double @llvm.fmuladd.f64(double %216, double %219, double 0.000000e+00)
  %227 = call double @sqrt(double noundef %226) #5
  %228 = load float, ptr %1, align 4, !tbaa !5
  %229 = fpext float %228 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 104, ptr noundef @.str.41, double noundef %227, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %229)
  br label %231

230:                                              ; preds = %211
  call void (...) @liquid_autotest_passed()
  br label %231

231:                                              ; preds = %230, %213
  %232 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %233 = fsub float %232, 0x40023C9740000000
  %234 = fpext float %233 to double
  %235 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %236 = fsub float %235, 0x40023C9740000000
  %237 = fpext float %236 to double
  %238 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %239 = fsub float %238, 0x40023C9740000000
  %240 = fpext float %239 to double
  %241 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %242 = fsub float %241, 0x40023C9740000000
  %243 = fpext float %242 to double
  %244 = call double @llvm.fmuladd.f64(double %234, double %237, double 0.000000e+00)
  %245 = call double @sqrt(double noundef %244) #5
  %246 = load float, ptr %1, align 4, !tbaa !5
  %247 = fpext float %246 to double
  %248 = fcmp ogt double %245, %247
  br i1 %248, label %259, label %249

249:                                              ; preds = %231
  %250 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %251 = call i1 @llvm.is.fpclass.f32(float %250, i32 3)
  br i1 %251, label %259, label %252

252:                                              ; preds = %249
  %253 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %254 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %254, label %259, label %255

255:                                              ; preds = %252
  %256 = call i1 @llvm.is.fpclass.f32(float 0x40023C9740000000, i32 3)
  br i1 %256, label %259, label %257

257:                                              ; preds = %255
  %258 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %258, label %259, label %276

259:                                              ; preds = %257, %255, %252, %249, %231
  %260 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %261 = fsub float %260, 0x40023C9740000000
  %262 = fpext float %261 to double
  %263 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %264 = fsub float %263, 0x40023C9740000000
  %265 = fpext float %264 to double
  %266 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %267 = fsub float %266, 0x40023C9740000000
  %268 = fpext float %267 to double
  %269 = call float @liquid_besseli0f(float noundef 2.000000e+00)
  %270 = fsub float %269, 0x40023C9740000000
  %271 = fpext float %270 to double
  %272 = call double @llvm.fmuladd.f64(double %262, double %265, double 0.000000e+00)
  %273 = call double @sqrt(double noundef %272) #5
  %274 = load float, ptr %1, align 4, !tbaa !5
  %275 = fpext float %274 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 105, ptr noundef @.str.42, double noundef %273, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %275)
  br label %277

276:                                              ; preds = %257
  call void (...) @liquid_autotest_passed()
  br label %277

277:                                              ; preds = %276, %259
  %278 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %279 = fsub float %278, 0x401385EE80000000
  %280 = fpext float %279 to double
  %281 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %282 = fsub float %281, 0x401385EE80000000
  %283 = fpext float %282 to double
  %284 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %285 = fsub float %284, 0x401385EE80000000
  %286 = fpext float %285 to double
  %287 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %288 = fsub float %287, 0x401385EE80000000
  %289 = fpext float %288 to double
  %290 = call double @llvm.fmuladd.f64(double %280, double %283, double 0.000000e+00)
  %291 = call double @sqrt(double noundef %290) #5
  %292 = load float, ptr %1, align 4, !tbaa !5
  %293 = fpext float %292 to double
  %294 = fcmp ogt double %291, %293
  br i1 %294, label %305, label %295

295:                                              ; preds = %277
  %296 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %297 = call i1 @llvm.is.fpclass.f32(float %296, i32 3)
  br i1 %297, label %305, label %298

298:                                              ; preds = %295
  %299 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %300 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %300, label %305, label %301

301:                                              ; preds = %298
  %302 = call i1 @llvm.is.fpclass.f32(float 0x401385EE80000000, i32 3)
  br i1 %302, label %305, label %303

303:                                              ; preds = %301
  %304 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %304, label %305, label %322

305:                                              ; preds = %303, %301, %298, %295, %277
  %306 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %307 = fsub float %306, 0x401385EE80000000
  %308 = fpext float %307 to double
  %309 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %310 = fsub float %309, 0x401385EE80000000
  %311 = fpext float %310 to double
  %312 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %313 = fsub float %312, 0x401385EE80000000
  %314 = fpext float %313 to double
  %315 = call float @liquid_besseli0f(float noundef 3.000000e+00)
  %316 = fsub float %315, 0x401385EE80000000
  %317 = fpext float %316 to double
  %318 = call double @llvm.fmuladd.f64(double %308, double %311, double 0.000000e+00)
  %319 = call double @sqrt(double noundef %318) #5
  %320 = load float, ptr %1, align 4, !tbaa !5
  %321 = fpext float %320 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 106, ptr noundef @.str.43, double noundef %319, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %321)
  br label %323

322:                                              ; preds = %303
  call void (...) @liquid_autotest_passed()
  br label %323

323:                                              ; preds = %322, %305
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

declare float @liquid_besseli0f(float noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "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 = { 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 #5 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [50 x i8], align 1

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

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

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #2

declare void @liquid_autotest_passed(...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @autotest_besseli0f() local_unnamed_addr #3 {
  %1 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %2 = fadd float %1, -1.000000e+00
  %3 = fpext float %2 to double
  %4 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %5 = fadd float %4, -1.000000e+00
  %6 = fpext float %5 to double
  %7 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %8 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %9 = tail call double @llvm.fmuladd.f64(double %3, double %6, double 0.000000e+00)
  %10 = tail call double @sqrt(double noundef %9) #4
  %11 = fcmp ogt double %10, 0x3F50624DE0000000
  br i1 %11, label %17, label %12

12:                                               ; preds = %0
  %13 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %14 = fcmp uno float %13, 0.000000e+00
  br i1 %14, label %17, label %15

15:                                               ; preds = %12
  %16 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  tail call void (...) @liquid_autotest_passed() #4
  br label %28

17:                                               ; preds = %12, %0
  %18 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %19 = fadd float %18, -1.000000e+00
  %20 = fpext float %19 to double
  %21 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %22 = fadd float %21, -1.000000e+00
  %23 = fpext float %22 to double
  %24 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %25 = tail call float @liquid_besseli0f(float noundef 0.000000e+00) #4
  %26 = tail call double @llvm.fmuladd.f64(double %20, double %23, double 0.000000e+00)
  %27 = tail call double @sqrt(double noundef %26) #4
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 100, ptr noundef nonnull @.str.37, double noundef %27, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #4
  br label %28

28:                                               ; preds = %15, %17
  %29 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %30 = fadd float %29, 0xBFF00A3F20000000
  %31 = fpext float %30 to double
  %32 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %33 = fadd float %32, 0xBFF00A3F20000000
  %34 = fpext float %33 to double
  %35 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %36 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %37 = tail call double @llvm.fmuladd.f64(double %31, double %34, double 0.000000e+00)
  %38 = tail call double @sqrt(double noundef %37) #4
  %39 = fcmp ogt double %38, 0x3F50624DE0000000
  br i1 %39, label %45, label %40

40:                                               ; preds = %28
  %41 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %42 = fcmp uno float %41, 0.000000e+00
  br i1 %42, label %45, label %43

43:                                               ; preds = %40
  %44 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  tail call void (...) @liquid_autotest_passed() #4
  br label %56

45:                                               ; preds = %40, %28
  %46 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %47 = fadd float %46, 0xBFF00A3F20000000
  %48 = fpext float %47 to double
  %49 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %50 = fadd float %49, 0xBFF00A3F20000000
  %51 = fpext float %50 to double
  %52 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %53 = tail call float @liquid_besseli0f(float noundef 0x3FB99999A0000000) #4
  %54 = tail call double @llvm.fmuladd.f64(double %48, double %51, double 0.000000e+00)
  %55 = tail call double @sqrt(double noundef %54) #4
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 101, ptr noundef nonnull @.str.38, double noundef %55, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #4
  br label %56

56:                                               ; preds = %43, %45
  %57 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %58 = fadd float %57, 0xBFF0291000000000
  %59 = fpext float %58 to double
  %60 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %61 = fadd float %60, 0xBFF0291000000000
  %62 = fpext float %61 to double
  %63 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %64 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %65 = tail call double @llvm.fmuladd.f64(double %59, double %62, double 0.000000e+00)
  %66 = tail call double @sqrt(double noundef %65) #4
  %67 = fcmp ogt double %66, 0x3F50624DE0000000
  br i1 %67, label %73, label %68

68:                                               ; preds = %56
  %69 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %70 = fcmp uno float %69, 0.000000e+00
  br i1 %70, label %73, label %71

71:                                               ; preds = %68
  %72 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  tail call void (...) @liquid_autotest_passed() #4
  br label %84

73:                                               ; preds = %68, %56
  %74 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %75 = fadd float %74, 0xBFF0291000000000
  %76 = fpext float %75 to double
  %77 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %78 = fadd float %77, 0xBFF0291000000000
  %79 = fpext float %78 to double
  %80 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %81 = tail call float @liquid_besseli0f(float noundef 0x3FC99999A0000000) #4
  %82 = tail call double @llvm.fmuladd.f64(double %76, double %79, double 0.000000e+00)
  %83 = tail call double @sqrt(double noundef %82) #4
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.39, double noundef %83, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #4
  br label %84

84:                                               ; preds = %71, %73
  %85 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %86 = fadd float %85, 0xBFF1040720000000
  %87 = fpext float %86 to double
  %88 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %89 = fadd float %88, 0xBFF1040720000000
  %90 = fpext float %89 to double
  %91 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %92 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %93 = tail call double @llvm.fmuladd.f64(double %87, double %90, double 0.000000e+00)
  %94 = tail call double @sqrt(double noundef %93) #4
  %95 = fcmp ogt double %94, 0x3F50624DE0000000
  br i1 %95, label %101, label %96

96:                                               ; preds = %84
  %97 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %98 = fcmp uno float %97, 0.000000e+00
  br i1 %98, label %101, label %99

99:                                               ; preds = %96
  %100 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  tail call void (...) @liquid_autotest_passed() #4
  br label %112

101:                                              ; preds = %96, %84
  %102 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %103 = fadd float %102, 0xBFF1040720000000
  %104 = fpext float %103 to double
  %105 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %106 = fadd float %105, 0xBFF1040720000000
  %107 = fpext float %106 to double
  %108 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %109 = tail call float @liquid_besseli0f(float noundef 5.000000e-01) #4
  %110 = tail call double @llvm.fmuladd.f64(double %104, double %107, double 0.000000e+00)
  %111 = tail call double @sqrt(double noundef %110) #4
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 103, ptr noundef nonnull @.str.40, double noundef %111, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #4
  br label %112

112:                                              ; preds = %99, %101
  %113 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %114 = fadd float %113, 0xBFF441CE40000000
  %115 = fpext float %114 to double
  %116 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %117 = fadd float %116, 0xBFF441CE40000000
  %118 = fpext float %117 to double
  %119 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %120 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %121 = tail call double @llvm.fmuladd.f64(double %115, double %118, double 0.000000e+00)
  %122 = tail call double @sqrt(double noundef %121) #4
  %123 = fcmp ogt double %122, 0x3F50624DE0000000
  br i1 %123, label %129, label %124

124:                                              ; preds = %112
  %125 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %126 = fcmp uno float %125, 0.000000e+00
  br i1 %126, label %129, label %127

127:                                              ; preds = %124
  %128 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  tail call void (...) @liquid_autotest_passed() #4
  br label %140

129:                                              ; preds = %124, %112
  %130 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %131 = fadd float %130, 0xBFF441CE40000000
  %132 = fpext float %131 to double
  %133 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %134 = fadd float %133, 0xBFF441CE40000000
  %135 = fpext float %134 to double
  %136 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %137 = tail call float @liquid_besseli0f(float noundef 1.000000e+00) #4
  %138 = tail call double @llvm.fmuladd.f64(double %132, double %135, double 0.000000e+00)
  %139 = tail call double @sqrt(double noundef %138) #4
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 104, ptr noundef nonnull @.str.41, double noundef %139, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #4
  br label %140

140:                                              ; preds = %127, %129
  %141 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %142 = fadd float %141, 0xC0023C9740000000
  %143 = fpext float %142 to double
  %144 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %145 = fadd float %144, 0xC0023C9740000000
  %146 = fpext float %145 to double
  %147 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %148 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %149 = tail call double @llvm.fmuladd.f64(double %143, double %146, double 0.000000e+00)
  %150 = tail call double @sqrt(double noundef %149) #4
  %151 = fcmp ogt double %150, 0x3F50624DE0000000
  br i1 %151, label %157, label %152

152:                                              ; preds = %140
  %153 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %154 = fcmp uno float %153, 0.000000e+00
  br i1 %154, label %157, label %155

155:                                              ; preds = %152
  %156 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  tail call void (...) @liquid_autotest_passed() #4
  br label %168

157:                                              ; preds = %152, %140
  %158 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %159 = fadd float %158, 0xC0023C9740000000
  %160 = fpext float %159 to double
  %161 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %162 = fadd float %161, 0xC0023C9740000000
  %163 = fpext float %162 to double
  %164 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %165 = tail call float @liquid_besseli0f(float noundef 2.000000e+00) #4
  %166 = tail call double @llvm.fmuladd.f64(double %160, double %163, double 0.000000e+00)
  %167 = tail call double @sqrt(double noundef %166) #4
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 105, ptr noundef nonnull @.str.42, double noundef %167, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #4
  br label %168

168:                                              ; preds = %155, %157
  %169 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %170 = fadd float %169, 0xC01385EE80000000
  %171 = fpext float %170 to double
  %172 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %173 = fadd float %172, 0xC01385EE80000000
  %174 = fpext float %173 to double
  %175 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %176 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %177 = tail call double @llvm.fmuladd.f64(double %171, double %174, double 0.000000e+00)
  %178 = tail call double @sqrt(double noundef %177) #4
  %179 = fcmp ogt double %178, 0x3F50624DE0000000
  br i1 %179, label %185, label %180

180:                                              ; preds = %168
  %181 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %182 = fcmp uno float %181, 0.000000e+00
  br i1 %182, label %185, label %183

183:                                              ; preds = %180
  %184 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  tail call void (...) @liquid_autotest_passed() #4
  br label %196

185:                                              ; preds = %180, %168
  %186 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %187 = fadd float %186, 0xC01385EE80000000
  %188 = fpext float %187 to double
  %189 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %190 = fadd float %189, 0xC01385EE80000000
  %191 = fpext float %190 to double
  %192 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %193 = tail call float @liquid_besseli0f(float noundef 3.000000e+00) #4
  %194 = tail call double @llvm.fmuladd.f64(double %188, double %191, double 0.000000e+00)
  %195 = tail call double @sqrt(double noundef %194) #4
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 106, ptr noundef nonnull @.str.43, double noundef %195, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #4
  br label %196

196:                                              ; preds = %183, %185
  ret void
}

declare float @liquid_besseli0f(float noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass