; LLVM IR from AmplitudeAudio/sdk :: src/Utils/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"

%struct.PFFFT_Setup = type { i32, i32, [15 x i32], i32, ptr, ptr, ptr }
%union.v4sf_union = type { <4 x float> }

@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [43 x i8], align 1
@__PRETTY_FUNCTION__.pffft_zconvolve_no_accu = external hidden unnamed_addr constant [90 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @pffft_zconvolve_no_accu(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, float noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca float, align 4
  %11 = alloca <4 x float>, align 16
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca <4 x float>, align 16
  %22 = alloca <4 x float>, align 16
  %23 = alloca <4 x float>, align 16
  %24 = alloca <4 x float>, align 16
  %25 = alloca <4 x float>, align 16
  %26 = alloca <4 x float>, align 16
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store float %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %27 = load float, ptr %10, align 4, !tbaa !9
  %28 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %27)
  store <4 x float> %28, ptr %11, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %29, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %30, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %31, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.PFFFT_Setup, ptr %32, i32 0, i32 1
  %34 = load i32, ptr %33, align 4, !tbaa !12
  %35 = mul nsw i32 2, %34
  store i32 %35, ptr %19, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = ptrtoint ptr %36 to i64
  %38 = and i64 %37, 15
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %40, label %50

40:                                               ; preds = %5
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = ptrtoint ptr %41 to i64
  %43 = and i64 %42, 15
  %44 = icmp eq i64 %43, 0
  br i1 %44, label %45, label %50

45:                                               ; preds = %40
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = ptrtoint ptr %46 to i64
  %48 = and i64 %47, 15
  %49 = icmp eq i64 %48, 0
  br label %50

50:                                               ; preds = %45, %40, %5
  %51 = phi i1 [ false, %40 ], [ false, %5 ], [ %49, %45 ]
  br i1 %51, label %52, label %53

52:                                               ; preds = %50
  br label %55

53:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 1947, ptr noundef @__PRETTY_FUNCTION__.pffft_zconvolve_no_accu) #5
  unreachable

54:                                               ; No predecessors!
  br label %55

55:                                               ; preds = %54, %52
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %union.v4sf_union, ptr %56, i64 0
  %58 = getelementptr inbounds [4 x float], ptr %57, i64 0, i64 0
  %59 = load float, ptr %58, align 16, !tbaa !11
  store float %59, ptr %15, align 4, !tbaa !9
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = getelementptr inbounds %union.v4sf_union, ptr %60, i64 1
  %62 = getelementptr inbounds [4 x float], ptr %61, i64 0, i64 0
  %63 = load float, ptr %62, align 16, !tbaa !11
  store float %63, ptr %16, align 4, !tbaa !9
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = getelementptr inbounds %union.v4sf_union, ptr %64, i64 0
  %66 = getelementptr inbounds [4 x float], ptr %65, i64 0, i64 0
  %67 = load float, ptr %66, align 16, !tbaa !11
  store float %67, ptr %17, align 4, !tbaa !9
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = getelementptr inbounds %union.v4sf_union, ptr %68, i64 1
  %70 = getelementptr inbounds [4 x float], ptr %69, i64 0, i64 0
  %71 = load float, ptr %70, align 16, !tbaa !11
  store float %71, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !16
  br label %72

72:                                               ; preds = %191, %55
  %73 = load i32, ptr %20, align 4, !tbaa !16
  %74 = load i32, ptr %19, align 4, !tbaa !16
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %76, label %194

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = load i32, ptr %20, align 4, !tbaa !16
  %79 = add nsw i32 %78, 0
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds <4 x float>, ptr %77, i64 %80
  %82 = load <4 x float>, ptr %81, align 16, !tbaa !11
  store <4 x float> %82, ptr %21, align 16, !tbaa !11
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = load i32, ptr %20, align 4, !tbaa !16
  %85 = add nsw i32 %84, 1
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds <4 x float>, ptr %83, i64 %86
  %88 = load <4 x float>, ptr %87, align 16, !tbaa !11
  store <4 x float> %88, ptr %22, align 16, !tbaa !11
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = load i32, ptr %20, align 4, !tbaa !16
  %91 = add nsw i32 %90, 0
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds <4 x float>, ptr %89, i64 %92
  %94 = load <4 x float>, ptr %93, align 16, !tbaa !11
  store <4 x float> %94, ptr %23, align 16, !tbaa !11
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load i32, ptr %20, align 4, !tbaa !16
  %97 = add nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds <4 x float>, ptr %95, i64 %98
  %100 = load <4 x float>, ptr %99, align 16, !tbaa !11
  store <4 x float> %100, ptr %24, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #4
  %101 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %102 = load <4 x float>, ptr %24, align 16, !tbaa !11
  %103 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %101, <4 x float> noundef %102)
  store <4 x float> %103, ptr %25, align 16, !tbaa !11
  %104 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %105 = load <4 x float>, ptr %23, align 16, !tbaa !11
  %106 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %104, <4 x float> noundef %105)
  store <4 x float> %106, ptr %21, align 16, !tbaa !11
  %107 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %108 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %109 = load <4 x float>, ptr %24, align 16, !tbaa !11
  %110 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %108, <4 x float> noundef %109)
  %111 = call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %107, <4 x float> noundef %110)
  store <4 x float> %111, ptr %21, align 16, !tbaa !11
  %112 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %113 = load <4 x float>, ptr %23, align 16, !tbaa !11
  %114 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %112, <4 x float> noundef %113)
  store <4 x float> %114, ptr %22, align 16, !tbaa !11
  %115 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %116 = load <4 x float>, ptr %25, align 16, !tbaa !11
  %117 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %115, <4 x float> noundef %116)
  store <4 x float> %117, ptr %22, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  %118 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %119 = load <4 x float>, ptr %11, align 16, !tbaa !11
  %120 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %118, <4 x float> noundef %119)
  %121 = load ptr, ptr %14, align 8, !tbaa !5
  %122 = load i32, ptr %20, align 4, !tbaa !16
  %123 = add nsw i32 %122, 0
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds <4 x float>, ptr %121, i64 %124
  store <4 x float> %120, ptr %125, align 16, !tbaa !11
  %126 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %127 = load <4 x float>, ptr %11, align 16, !tbaa !11
  %128 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %126, <4 x float> noundef %127)
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load i32, ptr %20, align 4, !tbaa !16
  %131 = add nsw i32 %130, 1
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds <4 x float>, ptr %129, i64 %132
  store <4 x float> %128, ptr %133, align 16, !tbaa !11
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  %135 = load i32, ptr %20, align 4, !tbaa !16
  %136 = add nsw i32 %135, 2
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds <4 x float>, ptr %134, i64 %137
  %139 = load <4 x float>, ptr %138, align 16, !tbaa !11
  store <4 x float> %139, ptr %21, align 16, !tbaa !11
  %140 = load ptr, ptr %12, align 8, !tbaa !5
  %141 = load i32, ptr %20, align 4, !tbaa !16
  %142 = add nsw i32 %141, 3
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds <4 x float>, ptr %140, i64 %143
  %145 = load <4 x float>, ptr %144, align 16, !tbaa !11
  store <4 x float> %145, ptr %22, align 16, !tbaa !11
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = load i32, ptr %20, align 4, !tbaa !16
  %148 = add nsw i32 %147, 2
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds <4 x float>, ptr %146, i64 %149
  %151 = load <4 x float>, ptr %150, align 16, !tbaa !11
  store <4 x float> %151, ptr %23, align 16, !tbaa !11
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  %153 = load i32, ptr %20, align 4, !tbaa !16
  %154 = add nsw i32 %153, 3
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds <4 x float>, ptr %152, i64 %155
  %157 = load <4 x float>, ptr %156, align 16, !tbaa !11
  store <4 x float> %157, ptr %24, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #4
  %158 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %159 = load <4 x float>, ptr %24, align 16, !tbaa !11
  %160 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %158, <4 x float> noundef %159)
  store <4 x float> %160, ptr %26, align 16, !tbaa !11
  %161 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %162 = load <4 x float>, ptr %23, align 16, !tbaa !11
  %163 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %161, <4 x float> noundef %162)
  store <4 x float> %163, ptr %21, align 16, !tbaa !11
  %164 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %165 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %166 = load <4 x float>, ptr %24, align 16, !tbaa !11
  %167 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %165, <4 x float> noundef %166)
  %168 = call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %164, <4 x float> noundef %167)
  store <4 x float> %168, ptr %21, align 16, !tbaa !11
  %169 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %170 = load <4 x float>, ptr %23, align 16, !tbaa !11
  %171 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %169, <4 x float> noundef %170)
  store <4 x float> %171, ptr %22, align 16, !tbaa !11
  %172 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %173 = load <4 x float>, ptr %26, align 16, !tbaa !11
  %174 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %172, <4 x float> noundef %173)
  store <4 x float> %174, ptr %22, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #4
  %175 = load <4 x float>, ptr %21, align 16, !tbaa !11
  %176 = load <4 x float>, ptr %11, align 16, !tbaa !11
  %177 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %175, <4 x float> noundef %176)
  %178 = load ptr, ptr %14, align 8, !tbaa !5
  %179 = load i32, ptr %20, align 4, !tbaa !16
  %180 = add nsw i32 %179, 2
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds <4 x float>, ptr %178, i64 %181
  store <4 x float> %177, ptr %182, align 16, !tbaa !11
  %183 = load <4 x float>, ptr %22, align 16, !tbaa !11
  %184 = load <4 x float>, ptr %11, align 16, !tbaa !11
  %185 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %183, <4 x float> noundef %184)
  %186 = load ptr, ptr %14, align 8, !tbaa !5
  %187 = load i32, ptr %20, align 4, !tbaa !16
  %188 = add nsw i32 %187, 3
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds <4 x float>, ptr %186, i64 %189
  store <4 x float> %185, ptr %190, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  br label %191

191:                                              ; preds = %76
  %192 = load i32, ptr %20, align 4, !tbaa !16
  %193 = add nsw i32 %192, 4
  store i32 %193, ptr %20, align 4, !tbaa !16
  br label %72, !llvm.loop !17

194:                                              ; preds = %72
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.PFFFT_Setup, ptr %195, i32 0, i32 3
  %197 = load i32, ptr %196, align 4, !tbaa !19
  %198 = icmp eq i32 %197, 0
  br i1 %198, label %199, label %216

199:                                              ; preds = %194
  %200 = load float, ptr %15, align 4, !tbaa !9
  %201 = load float, ptr %17, align 4, !tbaa !9
  %202 = fmul float %200, %201
  %203 = load float, ptr %10, align 4, !tbaa !9
  %204 = fmul float %202, %203
  %205 = load ptr, ptr %14, align 8, !tbaa !5
  %206 = getelementptr inbounds %union.v4sf_union, ptr %205, i64 0
  %207 = getelementptr inbounds [4 x float], ptr %206, i64 0, i64 0
  store float %204, ptr %207, align 16, !tbaa !11
  %208 = load float, ptr %16, align 4, !tbaa !9
  %209 = load float, ptr %18, align 4, !tbaa !9
  %210 = fmul float %208, %209
  %211 = load float, ptr %10, align 4, !tbaa !9
  %212 = fmul float %210, %211
  %213 = load ptr, ptr %14, align 8, !tbaa !5
  %214 = getelementptr inbounds %union.v4sf_union, ptr %213, i64 1
  %215 = getelementptr inbounds [4 x float], ptr %214, i64 0, i64 0
  store float %212, ptr %215, align 16, !tbaa !11
  br label %216

216:                                              ; preds = %199, %194
  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 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  ret void
}

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 = { alwaysinline mustprogress 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 = { mustprogress 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !14, i64 4}
!13 = !{!"_ZTS11PFFFT_Setup", !14, i64 0, !14, i64 4, !7, i64 8, !15, i64 68, !6, i64 72, !6, i64 80, !6, i64 88}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS17pffft_transform_t", !7, i64 0}
!16 = !{!14, !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!13, !15, i64 68}


; 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 [86 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [43 x i8], align 1
@__PRETTY_FUNCTION__.pffft_zconvolve_no_accu = external hidden unnamed_addr constant [90 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: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <4 x float> @_ZL11_mm_set1_psf(float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @pffft_zconvolve_no_accu(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, float noundef %4) local_unnamed_addr #2 {
  %6 = tail call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %4)
  %7 = getelementptr inbounds i8, ptr %0, i64 4
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = shl nsw i32 %8, 1
  %10 = ptrtoint ptr %1 to i64
  %11 = ptrtoint ptr %2 to i64
  %12 = or i64 %11, %10
  %13 = ptrtoint ptr %3 to i64
  %14 = or i64 %12, %13
  %15 = and i64 %14, 15
  %or.cond81 = icmp eq i64 %15, 0
  br i1 %or.cond81, label %16, label %.critedge

.critedge:                                        ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 1947, ptr noundef nonnull @__PRETTY_FUNCTION__.pffft_zconvolve_no_accu) #3
  unreachable

16:                                               ; preds = %5
  %17 = load float, ptr %1, align 16, !tbaa !12
  %18 = getelementptr inbounds i8, ptr %1, i64 16
  %19 = load float, ptr %18, align 16, !tbaa !12
  %20 = load float, ptr %2, align 16, !tbaa !12
  %21 = getelementptr inbounds i8, ptr %2, i64 16
  %22 = load float, ptr %21, align 16, !tbaa !12
  %23 = icmp sgt i32 %8, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %16, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %16 ]
  %24 = getelementptr inbounds <4 x float>, ptr %1, i64 %indvars.iv
  %25 = load <4 x float>, ptr %24, align 16, !tbaa !12
  %26 = or disjoint i64 %indvars.iv, 1
  %27 = getelementptr inbounds <4 x float>, ptr %1, i64 %26
  %28 = load <4 x float>, ptr %27, align 16, !tbaa !12
  %29 = getelementptr inbounds <4 x float>, ptr %2, i64 %indvars.iv
  %30 = load <4 x float>, ptr %29, align 16, !tbaa !12
  %31 = getelementptr inbounds <4 x float>, ptr %2, i64 %26
  %32 = load <4 x float>, ptr %31, align 16, !tbaa !12
  %33 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %25, <4 x float> noundef %32)
  %34 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %25, <4 x float> noundef %30)
  %35 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %28, <4 x float> noundef %32)
  %36 = tail call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %34, <4 x float> noundef %35)
  %37 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %28, <4 x float> noundef %30)
  %38 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %37, <4 x float> noundef %33)
  %39 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %36, <4 x float> noundef %6)
  %40 = getelementptr inbounds <4 x float>, ptr %3, i64 %indvars.iv
  store <4 x float> %39, ptr %40, align 16, !tbaa !12
  %41 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %38, <4 x float> noundef %6)
  %42 = getelementptr inbounds <4 x float>, ptr %3, i64 %26
  store <4 x float> %41, ptr %42, align 16, !tbaa !12
  %43 = or disjoint i64 %indvars.iv, 2
  %44 = getelementptr inbounds <4 x float>, ptr %1, i64 %43
  %45 = load <4 x float>, ptr %44, align 16, !tbaa !12
  %46 = or disjoint i64 %indvars.iv, 3
  %47 = getelementptr inbounds <4 x float>, ptr %1, i64 %46
  %48 = load <4 x float>, ptr %47, align 16, !tbaa !12
  %49 = getelementptr inbounds <4 x float>, ptr %2, i64 %43
  %50 = load <4 x float>, ptr %49, align 16, !tbaa !12
  %51 = getelementptr inbounds <4 x float>, ptr %2, i64 %46
  %52 = load <4 x float>, ptr %51, align 16, !tbaa !12
  %53 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %45, <4 x float> noundef %52)
  %54 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %45, <4 x float> noundef %50)
  %55 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %48, <4 x float> noundef %52)
  %56 = tail call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %54, <4 x float> noundef %55)
  %57 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %48, <4 x float> noundef %50)
  %58 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %57, <4 x float> noundef %53)
  %59 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %56, <4 x float> noundef %6)
  %60 = getelementptr inbounds <4 x float>, ptr %3, i64 %43
  store <4 x float> %59, ptr %60, align 16, !tbaa !12
  %61 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %58, <4 x float> noundef %6)
  %62 = getelementptr inbounds <4 x float>, ptr %3, i64 %46
  store <4 x float> %61, ptr %62, align 16, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 4
  %63 = trunc nuw i64 %indvars.iv.next to i32
  %64 = icmp sgt i32 %9, %63
  br i1 %64, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %16
  %65 = getelementptr inbounds i8, ptr %0, i64 68
  %66 = load i32, ptr %65, align 4, !tbaa !15
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %74

68:                                               ; preds = %._crit_edge
  %69 = fmul float %17, %20
  %70 = fmul float %69, %4
  store float %70, ptr %3, align 16, !tbaa !12
  %71 = fmul float %19, %22
  %72 = fmul float %71, %4
  %73 = getelementptr inbounds i8, ptr %3, i64 16
  store float %72, ptr %73, align 16, !tbaa !12
  br label %74

74:                                               ; preds = %68, %._crit_edge
  ret void
}

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 = { alwaysinline mustprogress 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 #2 = { mustprogress 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, !7, i64 4}
!6 = !{!"_ZTS11PFFFT_Setup", !7, i64 0, !7, i64 4, !8, i64 8, !10, i64 68, !11, i64 72, !11, i64 80, !11, i64 88}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS17pffft_transform_t", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!6, !10, i64 68}


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