; LLVM IR from jgaeddert/liquid-dsp :: src/filter/tests (firinterp_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
@__const.autotest_firinterp_rrrf_generic.h = external hidden unnamed_addr constant [9 x float], align 16
@__const.autotest_firinterp_rrrf_generic.x = external hidden unnamed_addr constant [4 x float], align 16
@__const.autotest_firinterp_rrrf_generic.test = external hidden unnamed_addr constant [16 x float], align 16
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.9 = external hidden unnamed_addr constant [18 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 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 @firinterp_rrrf_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_firinterp_rrrf_generic() #2 {
  %1 = alloca [9 x float], align 16
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca [4 x float], align 16
  %5 = alloca [16 x float], align 16
  %6 = alloca [16 x float], align 16
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 36, ptr %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.autotest_firinterp_rrrf_generic.h, i64 36, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 4, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = getelementptr inbounds [9 x float], ptr %1, i64 0, i64 0
  %11 = call ptr @firinterp_rrrf_create(i32 noundef %9, ptr noundef %10, i32 noundef 9)
  store ptr %11, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.autotest_firinterp_rrrf_generic.x, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.autotest_firinterp_rrrf_generic.test, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store float 0x3EB0C6F7A0000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %27, %0
  %13 = load i32, ptr %8, align 4, !tbaa !5
  %14 = icmp ult i32 %13, 4
  br i1 %14, label %15, label %30

15:                                               ; preds = %12
  %16 = load ptr, ptr %3, align 8, !tbaa !9
  %17 = load i32, ptr %8, align 4, !tbaa !5
  %18 = zext i32 %17 to i64
  %19 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 %18
  %20 = load float, ptr %19, align 4, !tbaa !11
  %21 = load i32, ptr %8, align 4, !tbaa !5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = mul i32 %21, %22
  %24 = zext i32 %23 to i64
  %25 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %24
  %26 = call i32 @firinterp_rrrf_execute(ptr noundef %16, float noundef %20, ptr noundef %25)
  br label %27

27:                                               ; preds = %15
  %28 = load i32, ptr %8, align 4, !tbaa !5
  %29 = add i32 %28, 1
  store i32 %29, ptr %8, align 4, !tbaa !5
  br label %12, !llvm.loop !13

30:                                               ; preds = %12
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %163, %30
  %32 = load i32, ptr %8, align 4, !tbaa !5
  %33 = icmp ult i32 %32, 16
  br i1 %33, label %34, label %166

34:                                               ; preds = %31
  %35 = load i32, ptr %8, align 4, !tbaa !5
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %36
  %38 = load float, ptr %37, align 4, !tbaa !11
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = zext i32 %39 to i64
  %41 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %40
  %42 = load float, ptr %41, align 4, !tbaa !11
  %43 = fsub float %38, %42
  %44 = fpext float %43 to double
  %45 = load i32, ptr %8, align 4, !tbaa !5
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %46
  %48 = load float, ptr %47, align 4, !tbaa !11
  %49 = load i32, ptr %8, align 4, !tbaa !5
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %50
  %52 = load float, ptr %51, align 4, !tbaa !11
  %53 = fsub float %48, %52
  %54 = fpext float %53 to double
  %55 = load i32, ptr %8, align 4, !tbaa !5
  %56 = zext i32 %55 to i64
  %57 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %56
  %58 = load float, ptr %57, align 4, !tbaa !11
  %59 = load i32, ptr %8, align 4, !tbaa !5
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %60
  %62 = load float, ptr %61, align 4, !tbaa !11
  %63 = fsub float %58, %62
  %64 = fpext float %63 to double
  %65 = load i32, ptr %8, align 4, !tbaa !5
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %66
  %68 = load float, ptr %67, align 4, !tbaa !11
  %69 = load i32, ptr %8, align 4, !tbaa !5
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %70
  %72 = load float, ptr %71, align 4, !tbaa !11
  %73 = fsub float %68, %72
  %74 = fpext float %73 to double
  %75 = call double @llvm.fmuladd.f64(double %44, double %54, double 0.000000e+00)
  %76 = call double @sqrt(double noundef %75) #6
  %77 = load float, ptr %7, align 4, !tbaa !11
  %78 = fpext float %77 to double
  %79 = fcmp ogt double %76, %78
  br i1 %79, label %104, label %80

80:                                               ; preds = %34
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %82
  %84 = load float, ptr %83, align 4, !tbaa !11
  %85 = call i1 @llvm.is.fpclass.f32(float %84, i32 3)
  br i1 %85, label %104, label %86

86:                                               ; preds = %80
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %88
  %90 = load float, ptr %89, align 4, !tbaa !11
  %91 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %91, label %104, label %92

92:                                               ; preds = %86
  %93 = load i32, ptr %8, align 4, !tbaa !5
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %94
  %96 = load float, ptr %95, align 4, !tbaa !11
  %97 = call i1 @llvm.is.fpclass.f32(float %96, i32 3)
  br i1 %97, label %104, label %98

98:                                               ; preds = %92
  %99 = load i32, ptr %8, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %100
  %102 = load float, ptr %101, align 4, !tbaa !11
  %103 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %103, label %104, label %149

104:                                              ; preds = %98, %92, %86, %80, %34
  %105 = load i32, ptr %8, align 4, !tbaa !5
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %106
  %108 = load float, ptr %107, align 4, !tbaa !11
  %109 = load i32, ptr %8, align 4, !tbaa !5
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %110
  %112 = load float, ptr %111, align 4, !tbaa !11
  %113 = fsub float %108, %112
  %114 = fpext float %113 to double
  %115 = load i32, ptr %8, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %116
  %118 = load float, ptr %117, align 4, !tbaa !11
  %119 = load i32, ptr %8, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %120
  %122 = load float, ptr %121, align 4, !tbaa !11
  %123 = fsub float %118, %122
  %124 = fpext float %123 to double
  %125 = load i32, ptr %8, align 4, !tbaa !5
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %126
  %128 = load float, ptr %127, align 4, !tbaa !11
  %129 = load i32, ptr %8, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %130
  %132 = load float, ptr %131, align 4, !tbaa !11
  %133 = fsub float %128, %132
  %134 = fpext float %133 to double
  %135 = load i32, ptr %8, align 4, !tbaa !5
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %136
  %138 = load float, ptr %137, align 4, !tbaa !11
  %139 = load i32, ptr %8, align 4, !tbaa !5
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 %140
  %142 = load float, ptr %141, align 4, !tbaa !11
  %143 = fsub float %138, %142
  %144 = fpext float %143 to double
  %145 = call double @llvm.fmuladd.f64(double %114, double %124, double 0.000000e+00)
  %146 = call double @sqrt(double noundef %145) #6
  %147 = load float, ptr %7, align 4, !tbaa !11
  %148 = fpext float %147 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 86, ptr noundef @.str.6, double noundef %146, ptr noundef @.str.7, ptr noundef @.str.8, double noundef %148)
  br label %150

149:                                              ; preds = %98
  call void (...) @liquid_autotest_passed()
  br label %150

150:                                              ; preds = %149, %104
  %151 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %162

153:                                              ; preds = %150
  %154 = load i32, ptr %8, align 4, !tbaa !5
  %155 = add i32 %154, 1
  %156 = load i32, ptr %8, align 4, !tbaa !5
  %157 = zext i32 %156 to i64
  %158 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 %157
  %159 = load float, ptr %158, align 4, !tbaa !11
  %160 = fpext float %159 to double
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %155, double noundef %160)
  br label %162

162:                                              ; preds = %153, %150
  br label %163

163:                                              ; preds = %162
  %164 = load i32, ptr %8, align 4, !tbaa !5
  %165 = add i32 %164, 1
  store i32 %165, ptr %8, align 4, !tbaa !5
  br label %31, !llvm.loop !15

166:                                              ; preds = %31
  %167 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %172

169:                                              ; preds = %166
  %170 = load ptr, ptr %3, align 8, !tbaa !9
  %171 = call i32 @firinterp_rrrf_print(ptr noundef %170)
  br label %172

172:                                              ; preds = %169, %166
  %173 = load ptr, ptr %3, align 8, !tbaa !9
  %174 = call i32 @firinterp_rrrf_destroy(ptr noundef %173)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %1) #6
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

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

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

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

declare i32 @firinterp_rrrf_print(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 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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}


; 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
@__const.autotest_firinterp_rrrf_generic.h = external hidden unnamed_addr constant [9 x float], align 16
@__const.autotest_firinterp_rrrf_generic.x = external hidden unnamed_addr constant [4 x float], align 16
@__const.autotest_firinterp_rrrf_generic.test = external hidden unnamed_addr constant [16 x float], align 16
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.9 = external hidden unnamed_addr constant [18 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 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 @firinterp_rrrf_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_firinterp_rrrf_generic() local_unnamed_addr #2 {
.preheader.preheader:
  %0 = alloca [9 x float], align 16
  %1 = alloca [16 x float], align 16
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(36) %0, ptr noundef nonnull align 16 dereferenceable(36) @__const.autotest_firinterp_rrrf_generic.h, i64 36, i1 false)
  %2 = call ptr @firinterp_rrrf_create(i32 noundef 4, ptr noundef nonnull %0, i32 noundef 9) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #7
  %3 = load float, ptr @__const.autotest_firinterp_rrrf_generic.x, align 16, !tbaa !5
  %4 = call i32 @firinterp_rrrf_execute(ptr noundef %2, float noundef %3, ptr noundef nonnull %1) #7
  %5 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_firinterp_rrrf_generic.x, i64 4), align 4, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  %7 = call i32 @firinterp_rrrf_execute(ptr noundef %2, float noundef %5, ptr noundef nonnull %6) #7
  %8 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_firinterp_rrrf_generic.x, i64 8), align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 32
  %10 = call i32 @firinterp_rrrf_execute(ptr noundef %2, float noundef %8, ptr noundef nonnull %9) #7
  %11 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_firinterp_rrrf_generic.x, i64 12), align 4, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 48
  %13 = call i32 @firinterp_rrrf_execute(ptr noundef %2, float noundef %11, ptr noundef nonnull %12) #7
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge
  %indvars.iv = phi i64 [ 0, %.preheader.preheader ], [ %.pre, %._crit_edge ]
  %14 = getelementptr inbounds [16 x float], ptr %1, i64 0, i64 %indvars.iv
  %15 = load float, ptr %14, align 4, !tbaa !5
  %16 = getelementptr inbounds [16 x float], ptr @__const.autotest_firinterp_rrrf_generic.test, i64 0, i64 %indvars.iv
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = fsub float %15, %17
  %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, 0x3EB0C6F7A0000000
  br i1 %21, label %25, label %22

22:                                               ; preds = %.preheader
  %23 = fcmp uno float %15, 0.000000e+00
  %24 = fcmp uno float %17, 0.000000e+00
  %or.cond = select i1 %23, i1 true, i1 %24
  br i1 %or.cond, label %25, label %26

25:                                               ; preds = %22, %.preheader
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 86, ptr noundef nonnull @.str.6, double noundef %sqrt, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 0x3EB0C6F7A0000000) #7
  br label %27

26:                                               ; preds = %22
  call void (...) @liquid_autotest_passed() #7
  br label %27

27:                                               ; preds = %26, %25
  %28 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not34 = icmp eq i32 %28, 0
  %.pre = add nuw nsw i64 %indvars.iv, 1
  br i1 %.not34, label %._crit_edge, label %29

29:                                               ; preds = %27
  %30 = load float, ptr %14, align 4, !tbaa !5
  %31 = fpext float %30 to double
  %32 = trunc nuw nsw i64 %.pre to i32
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %32, double noundef %31)
  br label %._crit_edge

._crit_edge:                                      ; preds = %27, %29
  %exitcond.not = icmp eq i64 %.pre, 16
  br i1 %exitcond.not, label %34, label %.preheader, !llvm.loop !11

34:                                               ; preds = %._crit_edge
  %35 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not = icmp eq i32 %35, 0
  br i1 %.not, label %38, label %36

36:                                               ; preds = %34
  %37 = call i32 @firinterp_rrrf_print(ptr noundef %2) #7
  br label %38

38:                                               ; preds = %36, %34
  %39 = call i32 @firinterp_rrrf_destroy(ptr noundef %2) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %0) #7
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

declare i32 @firinterp_rrrf_print(ptr noundef) local_unnamed_addr #1

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

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


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