; LLVM IR from jgaeddert/liquid-dsp :: src/agc/tests (agc_crcf_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 [88 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.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 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

declare ptr @agc_crcf_create() #1

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

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

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

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

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

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

declare void @liquid_autotest_passed(...) #1

declare i32 @agc_crcf_destroy(ptr noundef) #1

; 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_agc_crcf_scale() #4 {
  %1 = alloca float, align 4
  %2 = alloca float, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca { float, float }, align 4
  %6 = alloca { float, float }, align 4
  %7 = alloca { float, float }, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store float 4.000000e+00, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store float 0x3F50624DE0000000, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %8 = call ptr @agc_crcf_create()
  store ptr %8, ptr %3, align 8, !tbaa !9
  %9 = load ptr, ptr %3, align 8, !tbaa !9
  %10 = call i32 @agc_crcf_set_bandwidth(ptr noundef %9, float noundef 0x3FB99999A0000000)
  %11 = load ptr, ptr %3, align 8, !tbaa !9
  %12 = load float, ptr %1, align 4, !tbaa !5
  %13 = call i32 @agc_crcf_set_scale(ptr noundef %11, float noundef %12)
  %14 = load ptr, ptr %3, align 8, !tbaa !9
  %15 = call float @agc_crcf_get_scale(ptr noundef %14)
  %16 = load float, ptr %1, align 4, !tbaa !5
  %17 = fcmp une float %15, %16
  br i1 %17, label %18, label %24

18:                                               ; preds = %0
  %19 = load ptr, ptr %3, align 8, !tbaa !9
  %20 = call float @agc_crcf_get_scale(ptr noundef %19)
  %21 = fpext float %20 to double
  %22 = load float, ptr %1, align 4, !tbaa !5
  %23 = fpext float %22 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 68, ptr noundef @.str.9, double noundef %21, ptr noundef @.str.7, ptr noundef @.str.10, double noundef %23)
  br label %25

24:                                               ; preds = %0
  call void (...) @liquid_autotest_passed()
  br label %25

25:                                               ; preds = %24, %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %26 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %27 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  store float 0x3FB99999A0000000, ptr %26, align 4
  store float 0.000000e+00, ptr %27, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store i32 0, ptr %4, align 4, !tbaa !11
  br label %28

28:                                               ; preds = %41, %25
  %29 = load i32, ptr %4, align 4, !tbaa !11
  %30 = icmp ult i32 %29, 256
  br i1 %30, label %31, label %44

31:                                               ; preds = %28
  %32 = load ptr, ptr %3, align 8, !tbaa !9
  %33 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %34 = load float, ptr %33, align 4
  %35 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %36 = load float, ptr %35, align 4
  %37 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0
  %38 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1
  store float %34, ptr %37, align 4
  store float %36, ptr %38, align 4
  %39 = load <2 x float>, ptr %7, align 4
  %40 = call i32 @agc_crcf_execute(ptr noundef %32, <2 x float> noundef %39, ptr noundef %6)
  br label %41

41:                                               ; preds = %31
  %42 = load i32, ptr %4, align 4, !tbaa !11
  %43 = add i32 %42, 1
  store i32 %43, ptr %4, align 4, !tbaa !11
  br label %28, !llvm.loop !13

44:                                               ; preds = %28
  %45 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %46 = load float, ptr %45, align 4
  %47 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %48 = load float, ptr %47, align 4
  %49 = load float, ptr %1, align 4, !tbaa !5
  %50 = fsub float %46, %49
  %51 = fpext float %50 to double
  %52 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %53 = load float, ptr %52, align 4
  %54 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %55 = load float, ptr %54, align 4
  %56 = load float, ptr %1, align 4, !tbaa !5
  %57 = fsub float %53, %56
  %58 = fpext float %57 to double
  %59 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %60 = load float, ptr %59, align 4
  %61 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %62 = load float, ptr %61, align 4
  %63 = load float, ptr %1, align 4, !tbaa !5
  %64 = fsub float %60, %63
  %65 = fpext float %64 to double
  %66 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %67 = load float, ptr %66, align 4
  %68 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %69 = load float, ptr %68, align 4
  %70 = load float, ptr %1, align 4, !tbaa !5
  %71 = fsub float %67, %70
  %72 = fpext float %71 to double
  %73 = call double @llvm.fmuladd.f64(double %51, double %58, double 0.000000e+00)
  %74 = call double @sqrt(double noundef %73) #5
  %75 = load float, ptr %2, align 4, !tbaa !5
  %76 = fpext float %75 to double
  %77 = fcmp ogt double %74, %76
  br i1 %77, label %96, label %78

78:                                               ; preds = %44
  %79 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %80 = load float, ptr %79, align 4
  %81 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %82 = load float, ptr %81, align 4
  %83 = call i1 @llvm.is.fpclass.f32(float %80, i32 3)
  br i1 %83, label %96, label %84

84:                                               ; preds = %78
  %85 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %86 = load float, ptr %85, align 4
  %87 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %88 = load float, ptr %87, align 4
  %89 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %89, label %96, label %90

90:                                               ; preds = %84
  %91 = load float, ptr %1, align 4, !tbaa !5
  %92 = call i1 @llvm.is.fpclass.f32(float %91, i32 3)
  br i1 %92, label %96, label %93

93:                                               ; preds = %90
  %94 = load float, ptr %1, align 4, !tbaa !5
  %95 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %95, label %96, label %129

96:                                               ; preds = %93, %90, %84, %78, %44
  %97 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %98 = load float, ptr %97, align 4
  %99 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %100 = load float, ptr %99, align 4
  %101 = load float, ptr %1, align 4, !tbaa !5
  %102 = fsub float %98, %101
  %103 = fpext float %102 to double
  %104 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %105 = load float, ptr %104, align 4
  %106 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %107 = load float, ptr %106, align 4
  %108 = load float, ptr %1, align 4, !tbaa !5
  %109 = fsub float %105, %108
  %110 = fpext float %109 to double
  %111 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %112 = load float, ptr %111, align 4
  %113 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %114 = load float, ptr %113, align 4
  %115 = load float, ptr %1, align 4, !tbaa !5
  %116 = fsub float %112, %115
  %117 = fpext float %116 to double
  %118 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %119 = load float, ptr %118, align 4
  %120 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %121 = load float, ptr %120, align 4
  %122 = load float, ptr %1, align 4, !tbaa !5
  %123 = fsub float %119, %122
  %124 = fpext float %123 to double
  %125 = call double @llvm.fmuladd.f64(double %103, double %110, double 0.000000e+00)
  %126 = call double @sqrt(double noundef %125) #5
  %127 = load float, ptr %2, align 4, !tbaa !5
  %128 = fpext float %127 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 77, ptr noundef @.str.11, double noundef %126, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %128)
  br label %130

129:                                              ; preds = %93
  call void (...) @liquid_autotest_passed()
  br label %130

130:                                              ; preds = %129, %96
  %131 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %132 = load float, ptr %131, align 4
  %133 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %134 = load float, ptr %133, align 4
  %135 = fsub float %134, 0.000000e+00
  %136 = fpext float %135 to double
  %137 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %138 = load float, ptr %137, align 4
  %139 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %140 = load float, ptr %139, align 4
  %141 = fsub float %140, 0.000000e+00
  %142 = fpext float %141 to double
  %143 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %144 = load float, ptr %143, align 4
  %145 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %146 = load float, ptr %145, align 4
  %147 = fsub float %146, 0.000000e+00
  %148 = fpext float %147 to double
  %149 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %150 = load float, ptr %149, align 4
  %151 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %152 = load float, ptr %151, align 4
  %153 = fsub float %152, 0.000000e+00
  %154 = fpext float %153 to double
  %155 = call double @llvm.fmuladd.f64(double %136, double %142, double 0.000000e+00)
  %156 = call double @sqrt(double noundef %155) #5
  %157 = load float, ptr %2, align 4, !tbaa !5
  %158 = fpext float %157 to double
  %159 = fcmp ogt double %156, %158
  br i1 %159, label %176, label %160

160:                                              ; preds = %130
  %161 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %162 = load float, ptr %161, align 4
  %163 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %164 = load float, ptr %163, align 4
  %165 = call i1 @llvm.is.fpclass.f32(float %164, i32 3)
  br i1 %165, label %176, label %166

166:                                              ; preds = %160
  %167 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %168 = load float, ptr %167, align 4
  %169 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %170 = load float, ptr %169, align 4
  %171 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %171, label %176, label %172

172:                                              ; preds = %166
  %173 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %173, label %176, label %174

174:                                              ; preds = %172
  %175 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %175, label %176, label %205

176:                                              ; preds = %174, %172, %166, %160, %130
  %177 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %178 = load float, ptr %177, align 4
  %179 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %180 = load float, ptr %179, align 4
  %181 = fsub float %180, 0.000000e+00
  %182 = fpext float %181 to double
  %183 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %184 = load float, ptr %183, align 4
  %185 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %186 = load float, ptr %185, align 4
  %187 = fsub float %186, 0.000000e+00
  %188 = fpext float %187 to double
  %189 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %190 = load float, ptr %189, align 4
  %191 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %192 = load float, ptr %191, align 4
  %193 = fsub float %192, 0.000000e+00
  %194 = fpext float %193 to double
  %195 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %196 = load float, ptr %195, align 4
  %197 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %198 = load float, ptr %197, align 4
  %199 = fsub float %198, 0.000000e+00
  %200 = fpext float %199 to double
  %201 = call double @llvm.fmuladd.f64(double %182, double %188, double 0.000000e+00)
  %202 = call double @sqrt(double noundef %201) #5
  %203 = load float, ptr %2, align 4, !tbaa !5
  %204 = fpext float %203 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 78, ptr noundef @.str.4, double noundef %202, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %204)
  br label %206

205:                                              ; preds = %174
  call void (...) @liquid_autotest_passed()
  br label %206

206:                                              ; preds = %205, %176
  %207 = load ptr, ptr %3, align 8, !tbaa !9
  %208 = call i32 @agc_crcf_destroy(ptr noundef %207)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

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

declare float @agc_crcf_get_scale(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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 [88 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.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1

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

declare ptr @agc_crcf_create() local_unnamed_addr #1

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

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

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

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

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

declare i32 @agc_crcf_destroy(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress 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_agc_crcf_scale() local_unnamed_addr #3 {
  %1 = alloca { float, float }, align 4
  %2 = tail call ptr @agc_crcf_create() #5
  %3 = tail call i32 @agc_crcf_set_bandwidth(ptr noundef %2, float noundef 0x3FB99999A0000000) #5
  %4 = tail call i32 @agc_crcf_set_scale(ptr noundef %2, float noundef 4.000000e+00) #5
  %5 = tail call float @agc_crcf_get_scale(ptr noundef %2) #5
  %6 = fcmp une float %5, 4.000000e+00
  br i1 %6, label %7, label %10

7:                                                ; preds = %0
  %8 = tail call float @agc_crcf_get_scale(ptr noundef %2) #5
  %9 = fpext float %8 to double
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 68, ptr noundef nonnull @.str.9, double noundef %9, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.10, double noundef 4.000000e+00) #5
  br label %11

10:                                               ; preds = %0
  tail call void (...) @liquid_autotest_passed() #5
  br label %11

11:                                               ; preds = %10, %7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  br label %12

12:                                               ; preds = %11, %12
  %.032 = phi i32 [ 0, %11 ], [ %14, %12 ]
  %13 = call i32 @agc_crcf_execute(ptr noundef %2, <2 x float> noundef <float 0x3FB99999A0000000, float 0.000000e+00>, ptr noundef nonnull %1) #5
  %14 = add nuw nsw i32 %.032, 1
  %exitcond.not = icmp eq i32 %14, 256
  br i1 %exitcond.not, label %15, label %12, !llvm.loop !5

15:                                               ; preds = %12
  %16 = load float, ptr %1, align 4
  %17 = getelementptr inbounds i8, ptr %1, i64 4
  %18 = fadd float %16, -4.000000e+00
  %19 = fpext float %18 to double
  %20 = call double @llvm.fmuladd.f64(double %19, double %19, double 0.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %20)
  %21 = fcmp ogt double %sqrt, 0x3F50624DE0000000
  %22 = fcmp uno float %16, 0.000000e+00
  %or.cond = select i1 %21, i1 true, i1 %22
  br i1 %or.cond, label %23, label %24

23:                                               ; preds = %15
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 77, ptr noundef nonnull @.str.11, double noundef %sqrt, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #5
  br label %25

24:                                               ; preds = %15
  call void (...) @liquid_autotest_passed() #5
  br label %25

25:                                               ; preds = %24, %23
  %26 = load float, ptr %17, align 4
  %27 = fpext float %26 to double
  %28 = call double @llvm.fmuladd.f64(double %27, double %27, double 0.000000e+00)
  %sqrt30 = call double @llvm.sqrt.f64(double %28)
  %29 = fcmp ogt double %sqrt30, 0x3F50624DE0000000
  %30 = fcmp uno float %26, 0.000000e+00
  %or.cond28 = select i1 %29, i1 true, i1 %30
  br i1 %or.cond28, label %31, label %32

31:                                               ; preds = %25
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 78, ptr noundef nonnull @.str.4, double noundef %sqrt30, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3F50624DE0000000) #5
  br label %33

32:                                               ; preds = %25
  call void (...) @liquid_autotest_passed() #5
  br label %33

33:                                               ; preds = %32, %31
  %34 = call i32 @agc_crcf_destroy(ptr noundef %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret void
}

declare i32 @agc_crcf_set_scale(ptr noundef, float noundef) local_unnamed_addr #1

declare float @agc_crcf_get_scale(ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass