; LLVM IR from jgaeddert/liquid-dsp :: src/filter/tests (fftfilt_runtest)

; 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"

%struct.div_t = type { i32, i32 }

@liquid_autotest_verbose = external global i32, align 4
@.str = external hidden unnamed_addr constant [87 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @fftfilt_rrrf_test(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca %struct.div_t, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store float 0x3F50624DE0000000, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %21 = load i32, ptr %8, align 4, !tbaa !9
  %22 = sub i32 %21, 1
  %23 = call i32 @liquid_nextpow2(i32 noundef %22)
  %24 = shl i32 1, %23
  store i32 %24, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %25 = load i32, ptr %10, align 4, !tbaa !9
  %26 = load i32, ptr %14, align 4, !tbaa !9
  %27 = call i64 @div(i32 noundef %25, i32 noundef %26) #8
  store i64 %27, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %28 = getelementptr inbounds %struct.div_t, ptr %15, i32 0, i32 0
  %29 = load i32, ptr %28, align 4, !tbaa !13
  %30 = getelementptr inbounds %struct.div_t, ptr %15, i32 0, i32 1
  %31 = load i32, ptr %30, align 4, !tbaa !15
  %32 = icmp ne i32 %31, 0
  %33 = zext i1 %32 to i64
  %34 = select i1 %32, i32 1, i32 0
  %35 = add nsw i32 %29, %34
  store i32 %35, ptr %16, align 4, !tbaa !9
  %36 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %47

38:                                               ; preds = %6
  %39 = load i32, ptr %8, align 4, !tbaa !9
  %40 = load i32, ptr %10, align 4, !tbaa !9
  %41 = load i32, ptr %14, align 4, !tbaa !9
  %42 = getelementptr inbounds %struct.div_t, ptr %15, i32 0, i32 0
  %43 = load i32, ptr %42, align 4, !tbaa !13
  %44 = getelementptr inbounds %struct.div_t, ptr %15, i32 0, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !15
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %43, i32 noundef %45)
  br label %47

47:                                               ; preds = %38, %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = load i32, ptr %8, align 4, !tbaa !9
  %50 = load i32, ptr %14, align 4, !tbaa !9
  %51 = call ptr @fftfilt_rrrf_create(ptr noundef %48, i32 noundef %49, i32 noundef %50)
  store ptr %51, ptr %17, align 8, !tbaa !5
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %16, align 4, !tbaa !9
  %54 = mul i32 %52, %53
  %55 = zext i32 %54 to i64
  %56 = call ptr @llvm.stacksave.p0()
  store ptr %56, ptr %18, align 8
  %57 = alloca float, i64 %55, align 16
  store i64 %55, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %76, %47
  %59 = load i32, ptr %20, align 4, !tbaa !9
  %60 = load i32, ptr %16, align 4, !tbaa !9
  %61 = icmp ult i32 %59, %60
  br i1 %61, label %62, label %79

62:                                               ; preds = %58
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = load i32, ptr %20, align 4, !tbaa !9
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = mul i32 %65, %66
  %68 = zext i32 %67 to i64
  %69 = getelementptr inbounds float, ptr %64, i64 %68
  %70 = load i32, ptr %20, align 4, !tbaa !9
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = mul i32 %70, %71
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds float, ptr %57, i64 %73
  %75 = call i32 @fftfilt_rrrf_execute(ptr noundef %63, ptr noundef %69, ptr noundef %74)
  br label %76

76:                                               ; preds = %62
  %77 = load i32, ptr %20, align 4, !tbaa !9
  %78 = add i32 %77, 1
  store i32 %78, ptr %20, align 4, !tbaa !9
  br label %58, !llvm.loop !16

79:                                               ; preds = %58
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %211, %79
  %81 = load i32, ptr %20, align 4, !tbaa !9
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = icmp ult i32 %81, %82
  br i1 %83, label %84, label %214

84:                                               ; preds = %80
  %85 = load i32, ptr %20, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = getelementptr inbounds float, ptr %57, i64 %86
  %88 = load float, ptr %87, align 4, !tbaa !11
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = load i32, ptr %20, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds float, ptr %89, i64 %91
  %93 = load float, ptr %92, align 4, !tbaa !11
  %94 = fsub float %88, %93
  %95 = fpext float %94 to double
  %96 = load i32, ptr %20, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %57, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !11
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = load i32, ptr %20, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds float, ptr %100, i64 %102
  %104 = load float, ptr %103, align 4, !tbaa !11
  %105 = fsub float %99, %104
  %106 = fpext float %105 to double
  %107 = load i32, ptr %20, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds float, ptr %57, i64 %108
  %110 = load float, ptr %109, align 4, !tbaa !11
  %111 = load ptr, ptr %11, align 8, !tbaa !5
  %112 = load i32, ptr %20, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds float, ptr %111, i64 %113
  %115 = load float, ptr %114, align 4, !tbaa !11
  %116 = fsub float %110, %115
  %117 = fpext float %116 to double
  %118 = load i32, ptr %20, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = getelementptr inbounds float, ptr %57, i64 %119
  %121 = load float, ptr %120, align 4, !tbaa !11
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds float, ptr %122, i64 %124
  %126 = load float, ptr %125, align 4, !tbaa !11
  %127 = fsub float %121, %126
  %128 = fpext float %127 to double
  %129 = call double @llvm.fmuladd.f64(double %95, double %106, double 0.000000e+00)
  %130 = call double @sqrt(double noundef %129) #7
  %131 = load float, ptr %13, align 4, !tbaa !11
  %132 = fpext float %131 to double
  %133 = fcmp ogt double %130, %132
  br i1 %133, label %160, label %134

134:                                              ; preds = %84
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds float, ptr %57, i64 %136
  %138 = load float, ptr %137, align 4, !tbaa !11
  %139 = call i1 @llvm.is.fpclass.f32(float %138, i32 3)
  br i1 %139, label %160, label %140

140:                                              ; preds = %134
  %141 = load i32, ptr %20, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds float, ptr %57, i64 %142
  %144 = load float, ptr %143, align 4, !tbaa !11
  %145 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %145, label %160, label %146

146:                                              ; preds = %140
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = load i32, ptr %20, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = getelementptr inbounds float, ptr %147, i64 %149
  %151 = load float, ptr %150, align 4, !tbaa !11
  %152 = call i1 @llvm.is.fpclass.f32(float %151, i32 3)
  br i1 %152, label %160, label %153

153:                                              ; preds = %146
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = load i32, ptr %20, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds float, ptr %154, i64 %156
  %158 = load float, ptr %157, align 4, !tbaa !11
  %159 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %159, label %160, label %209

160:                                              ; preds = %153, %146, %140, %134, %84
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds float, ptr %57, i64 %162
  %164 = load float, ptr %163, align 4, !tbaa !11
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = load i32, ptr %20, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds float, ptr %165, i64 %167
  %169 = load float, ptr %168, align 4, !tbaa !11
  %170 = fsub float %164, %169
  %171 = fpext float %170 to double
  %172 = load i32, ptr %20, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds float, ptr %57, i64 %173
  %175 = load float, ptr %174, align 4, !tbaa !11
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = load i32, ptr %20, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds float, ptr %176, i64 %178
  %180 = load float, ptr %179, align 4, !tbaa !11
  %181 = fsub float %175, %180
  %182 = fpext float %181 to double
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = getelementptr inbounds float, ptr %57, i64 %184
  %186 = load float, ptr %185, align 4, !tbaa !11
  %187 = load ptr, ptr %11, align 8, !tbaa !5
  %188 = load i32, ptr %20, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds float, ptr %187, i64 %189
  %191 = load float, ptr %190, align 4, !tbaa !11
  %192 = fsub float %186, %191
  %193 = fpext float %192 to double
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds float, ptr %57, i64 %195
  %197 = load float, ptr %196, align 4, !tbaa !11
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = load i32, ptr %20, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = getelementptr inbounds float, ptr %198, i64 %200
  %202 = load float, ptr %201, align 4, !tbaa !11
  %203 = fsub float %197, %202
  %204 = fpext float %203 to double
  %205 = call double @llvm.fmuladd.f64(double %171, double %182, double 0.000000e+00)
  %206 = call double @sqrt(double noundef %205) #7
  %207 = load float, ptr %13, align 4, !tbaa !11
  %208 = fpext float %207 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 70, ptr noundef @.str.2, double noundef %206, ptr noundef @.str.3, ptr noundef @.str.4, double noundef %208)
  br label %210

209:                                              ; preds = %153
  call void (...) @liquid_autotest_passed()
  br label %210

210:                                              ; preds = %209, %160
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = add i32 %212, 1
  store i32 %213, ptr %20, align 4, !tbaa !9
  br label %80, !llvm.loop !18

214:                                              ; preds = %80
  %215 = load ptr, ptr %17, align 8, !tbaa !5
  %216 = call i32 @fftfilt_rrrf_destroy(ptr noundef %215)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %217 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %217)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  ret void
}

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

declare i32 @liquid_nextpow2(i32 noundef) #2

; Function Attrs: nounwind willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) #3

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

declare ptr @fftfilt_rrrf_create(ptr noundef, i32 noundef, i32 noundef) #2

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

declare i32 @fftfilt_rrrf_execute(ptr noundef, ptr noundef, ptr noundef) #2

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

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

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

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

declare void @liquid_autotest_passed(...) #2

declare i32 @fftfilt_rrrf_destroy(ptr noundef) #2

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

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

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

!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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"", !10, i64 0, !10, i64 4}
!15 = !{!14, !10, i64 4}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


; 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"

@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [87 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @fftfilt_rrrf_test(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = add i32 %1, -1
  %8 = tail call i32 @liquid_nextpow2(i32 noundef %7) #6
  %9 = shl nuw i32 1, %8
  %10 = tail call i64 @div(i32 noundef %3, i32 noundef %9) #7
  %.sroa.0.0.extract.trunc = trunc i64 %10 to i32
  %.not = icmp ugt i64 %10, 4294967295
  %11 = zext i1 %.not to i32
  %12 = add i32 %11, %.sroa.0.0.extract.trunc
  %13 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not58 = icmp eq i32 %13, 0
  br i1 %.not58, label %16, label %14

14:                                               ; preds = %6
  %.sroa.5.0.extract.shift = lshr i64 %10, 32
  %.sroa.5.0.extract.trunc = trunc nuw i64 %.sroa.5.0.extract.shift to i32
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %1, i32 noundef %3, i32 noundef %9, i32 noundef %.sroa.0.0.extract.trunc, i32 noundef %.sroa.5.0.extract.trunc)
  br label %16

16:                                               ; preds = %14, %6
  %17 = tail call ptr @fftfilt_rrrf_create(ptr noundef %0, i32 noundef %1, i32 noundef %9) #6
  %18 = shl i32 %12, %8
  %19 = zext i32 %18 to i64
  %20 = alloca float, i64 %19, align 16
  %.not63 = icmp eq i32 %12, 0
  br i1 %.not63, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph, %16
  %.not64 = icmp eq i32 %5, 0
  br i1 %.not64, label %._crit_edge, label %.lr.ph62.preheader

.lr.ph62.preheader:                               ; preds = %.preheader
  %wide.trip.count = zext i32 %5 to i64
  br label %.lr.ph62

.lr.ph:                                           ; preds = %16, %.lr.ph
  %.060 = phi i32 [ %26, %.lr.ph ], [ 0, %16 ]
  %21 = shl i32 %.060, %8
  %22 = zext i32 %21 to i64
  %23 = getelementptr inbounds float, ptr %2, i64 %22
  %24 = getelementptr inbounds float, ptr %20, i64 %22
  %25 = call i32 @fftfilt_rrrf_execute(ptr noundef %17, ptr noundef %23, ptr noundef nonnull %24) #6
  %26 = add nuw i32 %.060, 1
  %exitcond.not = icmp eq i32 %26, %12
  br i1 %exitcond.not, label %.preheader, label %.lr.ph, !llvm.loop !9

.lr.ph62:                                         ; preds = %.lr.ph62.preheader, %39
  %indvars.iv = phi i64 [ 0, %.lr.ph62.preheader ], [ %indvars.iv.next, %39 ]
  %27 = getelementptr inbounds float, ptr %20, i64 %indvars.iv
  %28 = load float, ptr %27, align 4, !tbaa !11
  %29 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  %30 = load float, ptr %29, align 4, !tbaa !11
  %31 = fsub float %28, %30
  %32 = fpext float %31 to double
  %33 = call double @llvm.fmuladd.f64(double %32, double %32, double 0.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %33)
  %34 = fcmp ogt double %sqrt, 0x3F50624DE0000000
  %35 = fcmp uno float %28, 0.000000e+00
  %or.cond = select i1 %34, i1 true, i1 %35
  %36 = fcmp uno float %30, 0.000000e+00
  %or.cond67 = select i1 %or.cond, i1 true, i1 %36
  br i1 %or.cond67, label %37, label %38

37:                                               ; preds = %.lr.ph62
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 70, ptr noundef nonnull @.str.2, double noundef %sqrt, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, double noundef 0x3F50624DE0000000) #6
  br label %39

38:                                               ; preds = %.lr.ph62
  call void (...) @liquid_autotest_passed() #6
  br label %39

39:                                               ; preds = %37, %38
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond66.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond66.not, label %._crit_edge, label %.lr.ph62, !llvm.loop !13

._crit_edge:                                      ; preds = %39, %.preheader
  %40 = call i32 @fftfilt_rrrf_destroy(ptr noundef %17) #6
  ret void
}

declare i32 @liquid_nextpow2(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) local_unnamed_addr #2

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

declare ptr @fftfilt_rrrf_create(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @fftfilt_rrrf_execute(ptr noundef, ptr 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) #4

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 @fftfilt_rrrf_destroy(ptr noundef) local_unnamed_addr #1

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

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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(none) }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !10}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass