; LLVM IR from glaretechnologies/substrata :: resonance-audio/third_party/pffft (pffft)

; 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.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__.cfftf1_ps = external hidden unnamed_addr constant [84 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, 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 ptr @cfftf1_ps(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  store i32 %0, ptr %8, align 4, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %31 = load ptr, ptr %9, align 8, !tbaa !9
  store ptr %31, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %32 = load ptr, ptr %15, align 8, !tbaa !9
  %33 = load ptr, ptr %11, align 8, !tbaa !9
  %34 = icmp eq ptr %32, %33
  br i1 %34, label %35, label %37

35:                                               ; preds = %7
  %36 = load ptr, ptr %10, align 8, !tbaa !9
  br label %39

37:                                               ; preds = %7
  %38 = load ptr, ptr %11, align 8, !tbaa !9
  br label %39

39:                                               ; preds = %37, %35
  %40 = phi ptr [ %36, %35 ], [ %38, %37 ]
  store ptr %40, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %41 = load ptr, ptr %13, align 8, !tbaa !9
  %42 = getelementptr inbounds i32, ptr %41, i64 1
  %43 = load i32, ptr %42, align 4, !tbaa !5
  store i32 %43, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 1, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !5
  %44 = load ptr, ptr %15, align 8, !tbaa !9
  %45 = load ptr, ptr %16, align 8, !tbaa !9
  %46 = icmp ne ptr %44, %45
  br i1 %46, label %47, label %52

47:                                               ; preds = %39
  %48 = load ptr, ptr %10, align 8, !tbaa !9
  %49 = load ptr, ptr %11, align 8, !tbaa !9
  %50 = icmp ne ptr %48, %49
  br i1 %50, label %51, label %52

51:                                               ; preds = %47
  br label %53

52:                                               ; preds = %47, %39
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.2, i32 noundef 1156, ptr noundef @__PRETTY_FUNCTION__.cfftf1_ps) #5
  unreachable

53:                                               ; preds = %51
  store i32 2, ptr %18, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %180, %53
  %55 = load i32, ptr %18, align 4, !tbaa !5
  %56 = load i32, ptr %17, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  %58 = icmp sle i32 %55, %57
  br i1 %58, label %59, label %183

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %60 = load ptr, ptr %13, align 8, !tbaa !9
  %61 = load i32, ptr %18, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i32, ptr %60, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  store i32 %64, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %65 = load i32, ptr %21, align 4, !tbaa !5
  %66 = load i32, ptr %19, align 4, !tbaa !5
  %67 = mul nsw i32 %65, %66
  store i32 %67, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %68 = load i32, ptr %8, align 4, !tbaa !5
  %69 = load i32, ptr %22, align 4, !tbaa !5
  %70 = sdiv i32 %68, %69
  store i32 %70, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %71 = load i32, ptr %23, align 4, !tbaa !5
  %72 = load i32, ptr %23, align 4, !tbaa !5
  %73 = add nsw i32 %71, %72
  store i32 %73, ptr %24, align 4, !tbaa !5
  %74 = load i32, ptr %21, align 4, !tbaa !5
  switch i32 %74, label %161 [
    i32 5, label %75
    i32 4, label %107
    i32 2, label %132
    i32 3, label %143
  ]

75:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %76 = load i32, ptr %20, align 4, !tbaa !5
  %77 = load i32, ptr %24, align 4, !tbaa !5
  %78 = add nsw i32 %76, %77
  store i32 %78, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %79 = load i32, ptr %25, align 4, !tbaa !5
  %80 = load i32, ptr %24, align 4, !tbaa !5
  %81 = add nsw i32 %79, %80
  store i32 %81, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %82 = load i32, ptr %26, align 4, !tbaa !5
  %83 = load i32, ptr %24, align 4, !tbaa !5
  %84 = add nsw i32 %82, %83
  store i32 %84, ptr %27, align 4, !tbaa !5
  %85 = load i32, ptr %24, align 4, !tbaa !5
  %86 = load i32, ptr %19, align 4, !tbaa !5
  %87 = load ptr, ptr %15, align 8, !tbaa !9
  %88 = load ptr, ptr %16, align 8, !tbaa !9
  %89 = load ptr, ptr %12, align 8, !tbaa !9
  %90 = load i32, ptr %20, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds float, ptr %89, i64 %91
  %93 = load ptr, ptr %12, align 8, !tbaa !9
  %94 = load i32, ptr %25, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds float, ptr %93, i64 %95
  %97 = load ptr, ptr %12, align 8, !tbaa !9
  %98 = load i32, ptr %26, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds float, ptr %97, i64 %99
  %101 = load ptr, ptr %12, align 8, !tbaa !9
  %102 = load i32, ptr %27, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds float, ptr %101, i64 %103
  %105 = load i32, ptr %14, align 4, !tbaa !5
  %106 = sitofp i32 %105 to float
  call void @passf5_ps(i32 noundef %85, i32 noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %92, ptr noundef %96, ptr noundef %100, ptr noundef %104, float noundef %106)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  br label %162

107:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %108 = load i32, ptr %20, align 4, !tbaa !5
  %109 = load i32, ptr %24, align 4, !tbaa !5
  %110 = add nsw i32 %108, %109
  store i32 %110, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  %111 = load i32, ptr %28, align 4, !tbaa !5
  %112 = load i32, ptr %24, align 4, !tbaa !5
  %113 = add nsw i32 %111, %112
  store i32 %113, ptr %29, align 4, !tbaa !5
  %114 = load i32, ptr %24, align 4, !tbaa !5
  %115 = load i32, ptr %19, align 4, !tbaa !5
  %116 = load ptr, ptr %15, align 8, !tbaa !9
  %117 = load ptr, ptr %16, align 8, !tbaa !9
  %118 = load ptr, ptr %12, align 8, !tbaa !9
  %119 = load i32, ptr %20, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds float, ptr %118, i64 %120
  %122 = load ptr, ptr %12, align 8, !tbaa !9
  %123 = load i32, ptr %28, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds float, ptr %122, i64 %124
  %126 = load ptr, ptr %12, align 8, !tbaa !9
  %127 = load i32, ptr %29, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds float, ptr %126, i64 %128
  %130 = load i32, ptr %14, align 4, !tbaa !5
  %131 = sitofp i32 %130 to float
  call void @passf4_ps(i32 noundef %114, i32 noundef %115, ptr noundef %116, ptr noundef %117, ptr noundef %121, ptr noundef %125, ptr noundef %129, float noundef %131)
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %162

132:                                              ; preds = %59
  %133 = load i32, ptr %24, align 4, !tbaa !5
  %134 = load i32, ptr %19, align 4, !tbaa !5
  %135 = load ptr, ptr %15, align 8, !tbaa !9
  %136 = load ptr, ptr %16, align 8, !tbaa !9
  %137 = load ptr, ptr %12, align 8, !tbaa !9
  %138 = load i32, ptr %20, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds float, ptr %137, i64 %139
  %141 = load i32, ptr %14, align 4, !tbaa !5
  %142 = sitofp i32 %141 to float
  call void @passf2_ps(i32 noundef %133, i32 noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %140, float noundef %142)
  br label %162

143:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %144 = load i32, ptr %20, align 4, !tbaa !5
  %145 = load i32, ptr %24, align 4, !tbaa !5
  %146 = add nsw i32 %144, %145
  store i32 %146, ptr %30, align 4, !tbaa !5
  %147 = load i32, ptr %24, align 4, !tbaa !5
  %148 = load i32, ptr %19, align 4, !tbaa !5
  %149 = load ptr, ptr %15, align 8, !tbaa !9
  %150 = load ptr, ptr %16, align 8, !tbaa !9
  %151 = load ptr, ptr %12, align 8, !tbaa !9
  %152 = load i32, ptr %20, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds float, ptr %151, i64 %153
  %155 = load ptr, ptr %12, align 8, !tbaa !9
  %156 = load i32, ptr %30, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds float, ptr %155, i64 %157
  %159 = load i32, ptr %14, align 4, !tbaa !5
  %160 = sitofp i32 %159 to float
  call void @passf3_ps(i32 noundef %147, i32 noundef %148, ptr noundef %149, ptr noundef %150, ptr noundef %154, ptr noundef %158, float noundef %160)
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %162

161:                                              ; preds = %59
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.2, i32 noundef 1182, ptr noundef @__PRETTY_FUNCTION__.cfftf1_ps) #5
  unreachable

162:                                              ; preds = %143, %132, %107, %75
  %163 = load i32, ptr %22, align 4, !tbaa !5
  store i32 %163, ptr %19, align 4, !tbaa !5
  %164 = load i32, ptr %21, align 4, !tbaa !5
  %165 = sub nsw i32 %164, 1
  %166 = load i32, ptr %24, align 4, !tbaa !5
  %167 = mul nsw i32 %165, %166
  %168 = load i32, ptr %20, align 4, !tbaa !5
  %169 = add nsw i32 %168, %167
  store i32 %169, ptr %20, align 4, !tbaa !5
  %170 = load ptr, ptr %16, align 8, !tbaa !9
  %171 = load ptr, ptr %11, align 8, !tbaa !9
  %172 = icmp eq ptr %170, %171
  br i1 %172, label %173, label %176

173:                                              ; preds = %162
  %174 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %174, ptr %16, align 8, !tbaa !9
  %175 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %175, ptr %15, align 8, !tbaa !9
  br label %179

176:                                              ; preds = %162
  %177 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %177, ptr %16, align 8, !tbaa !9
  %178 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %178, ptr %15, align 8, !tbaa !9
  br label %179

179:                                              ; preds = %176, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %18, align 4, !tbaa !5
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %18, align 4, !tbaa !5
  br label %54, !llvm.loop !11

183:                                              ; preds = %54
  %184 = load ptr, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  ret ptr %184
}

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf5_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) #3

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf4_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) #3

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf2_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) #3

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf3_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { noinline nounwind uwtable "min-legal-vector-width"="128" "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 }
attributes #5 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__.cfftf1_ps = external hidden unnamed_addr constant [84 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local ptr @cfftf1_ps(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, i32 noundef %6) local_unnamed_addr #1 {
  %8 = icmp eq ptr %1, %3
  %9 = select i1 %8, ptr %2, ptr %3
  %.not = icmp eq ptr %9, %1
  %.not93 = icmp eq ptr %2, %3
  %or.cond = or i1 %.not93, %.not
  br i1 %or.cond, label %14, label %.preheader

.preheader:                                       ; preds = %7
  %10 = getelementptr inbounds i8, ptr %5, i64 4
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %.not9497 = icmp slt i32 %11, 1
  br i1 %.not9497, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %12 = sitofp i32 %6 to float
  %13 = add nuw i32 %11, 2
  %wide.trip.count = zext i32 %13 to i64
  br label %15

14:                                               ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.2, i32 noundef 1156, ptr noundef nonnull @__PRETTY_FUNCTION__.cfftf1_ps) #3
  unreachable

15:                                               ; preds = %.lr.ph, %52
  %indvars.iv = phi i64 [ 2, %.lr.ph ], [ %indvars.iv.next, %52 ]
  %.0102 = phi ptr [ %1, %.lr.ph ], [ %.95, %52 ]
  %.084101 = phi ptr [ %9, %.lr.ph ], [ %., %52 ]
  %.08799 = phi i32 [ 1, %.lr.ph ], [ %18, %52 ]
  %.08898 = phi i32 [ 0, %.lr.ph ], [ %55, %52 ]
  %16 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = mul nsw i32 %17, %.08799
  %19 = sdiv i32 %0, %18
  %20 = shl nsw i32 %19, 1
  switch i32 %17, label %51 [
    i32 5, label %21
    i32 4, label %33
    i32 2, label %42
    i32 3, label %45
  ]

21:                                               ; preds = %15
  %22 = add nsw i32 %20, %.08898
  %23 = add nsw i32 %22, %20
  %24 = add nsw i32 %23, %20
  %25 = sext i32 %.08898 to i64
  %26 = getelementptr inbounds float, ptr %4, i64 %25
  %27 = sext i32 %22 to i64
  %28 = getelementptr inbounds float, ptr %4, i64 %27
  %29 = sext i32 %23 to i64
  %30 = getelementptr inbounds float, ptr %4, i64 %29
  %31 = sext i32 %24 to i64
  %32 = getelementptr inbounds float, ptr %4, i64 %31
  tail call void @passf5_ps(i32 noundef %20, i32 noundef %.08799, ptr noundef %.0102, ptr noundef %.084101, ptr noundef %26, ptr noundef %28, ptr noundef %30, ptr noundef %32, float noundef %12)
  br label %52

33:                                               ; preds = %15
  %34 = add nsw i32 %20, %.08898
  %35 = add nsw i32 %34, %20
  %36 = sext i32 %.08898 to i64
  %37 = getelementptr inbounds float, ptr %4, i64 %36
  %38 = sext i32 %34 to i64
  %39 = getelementptr inbounds float, ptr %4, i64 %38
  %40 = sext i32 %35 to i64
  %41 = getelementptr inbounds float, ptr %4, i64 %40
  tail call void @passf4_ps(i32 noundef %20, i32 noundef %.08799, ptr noundef %.0102, ptr noundef %.084101, ptr noundef %37, ptr noundef %39, ptr noundef %41, float noundef %12)
  br label %52

42:                                               ; preds = %15
  %43 = sext i32 %.08898 to i64
  %44 = getelementptr inbounds float, ptr %4, i64 %43
  tail call void @passf2_ps(i32 noundef %20, i32 noundef %.08799, ptr noundef %.0102, ptr noundef %.084101, ptr noundef %44, float noundef %12)
  br label %52

45:                                               ; preds = %15
  %46 = add nsw i32 %20, %.08898
  %47 = sext i32 %.08898 to i64
  %48 = getelementptr inbounds float, ptr %4, i64 %47
  %49 = sext i32 %46 to i64
  %50 = getelementptr inbounds float, ptr %4, i64 %49
  tail call void @passf3_ps(i32 noundef %20, i32 noundef %.08799, ptr noundef %.0102, ptr noundef %.084101, ptr noundef %48, ptr noundef %50, float noundef %12)
  br label %52

51:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.2, i32 noundef 1182, ptr noundef nonnull @__PRETTY_FUNCTION__.cfftf1_ps) #3
  unreachable

52:                                               ; preds = %45, %42, %33, %21
  %53 = add nsw i32 %17, -1
  %54 = mul nsw i32 %20, %53
  %55 = add nsw i32 %54, %.08898
  %56 = icmp eq ptr %.084101, %3
  %. = select i1 %56, ptr %2, ptr %3
  %.95 = select i1 %56, ptr %3, ptr %2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond, label %._crit_edge, label %15, !llvm.loop !9

._crit_edge:                                      ; preds = %52, %.preheader
  %.0.lcssa = phi ptr [ %1, %.preheader ], [ %.95, %52 ]
  ret ptr %.0.lcssa
}

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf5_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #2

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf4_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #2

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf2_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #2

; Function Attrs: noinline nounwind uwtable
declare hidden void @passf3_ps(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #2

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { noinline nounwind uwtable "min-legal-vector-width"="128" "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 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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