; 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_accumulate = external hidden unnamed_addr constant [93 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: mustprogress uwtable
define dso_local void @pffft_zconvolve_accumulate(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 i32, align 4
  %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 float, align 4
  %20 = alloca float, align 4
  %21 = alloca <4 x float>, align 16
  %22 = alloca i32, align 4
  %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
  %27 = alloca <4 x float>, align 16
  %28 = 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 4, ptr %11) #5
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.PFFFT_Setup, ptr %29, i32 0, i32 1
  %31 = load i32, ptr %30, align 4, !tbaa !11
  store i32 %31, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %32, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %33, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %34, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %35 = load float, ptr %10, align 4, !tbaa !9
  %36 = call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %35)
  store <4 x float> %36, ptr %21, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = ptrtoint ptr %37 to i64
  %39 = and i64 %38, 15
  %40 = icmp eq i64 %39, 0
  br i1 %40, label %41, label %51

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

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

51:                                               ; preds = %46, %41, %5
  %52 = phi i1 [ false, %41 ], [ false, %5 ], [ %50, %46 ]
  br i1 %52, label %53, label %54

53:                                               ; preds = %51
  br label %56

54:                                               ; preds = %51
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 1842, ptr noundef @__PRETTY_FUNCTION__.pffft_zconvolve_accumulate) #6
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %53
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds %union.v4sf_union, ptr %57, i64 0
  %59 = getelementptr inbounds [4 x float], ptr %58, i64 0, i64 0
  %60 = load float, ptr %59, align 16, !tbaa !16
  store float %60, ptr %15, align 4, !tbaa !9
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %union.v4sf_union, ptr %61, i64 1
  %63 = getelementptr inbounds [4 x float], ptr %62, i64 0, i64 0
  %64 = load float, ptr %63, align 16, !tbaa !16
  store float %64, ptr %16, align 4, !tbaa !9
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = getelementptr inbounds %union.v4sf_union, ptr %65, i64 0
  %67 = getelementptr inbounds [4 x float], ptr %66, i64 0, i64 0
  %68 = load float, ptr %67, align 16, !tbaa !16
  store float %68, ptr %17, align 4, !tbaa !9
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = getelementptr inbounds %union.v4sf_union, ptr %69, i64 1
  %71 = getelementptr inbounds [4 x float], ptr %70, i64 0, i64 0
  %72 = load float, ptr %71, align 16, !tbaa !16
  store float %72, ptr %18, align 4, !tbaa !9
  %73 = load ptr, ptr %14, align 8, !tbaa !5
  %74 = getelementptr inbounds %union.v4sf_union, ptr %73, i64 0
  %75 = getelementptr inbounds [4 x float], ptr %74, i64 0, i64 0
  %76 = load float, ptr %75, align 16, !tbaa !16
  store float %76, ptr %19, align 4, !tbaa !9
  %77 = load ptr, ptr %14, align 8, !tbaa !5
  %78 = getelementptr inbounds %union.v4sf_union, ptr %77, i64 1
  %79 = getelementptr inbounds [4 x float], ptr %78, i64 0, i64 0
  %80 = load float, ptr %79, align 16, !tbaa !16
  store float %80, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !15
  br label %81

81:                                               ; preds = %244, %56
  %82 = load i32, ptr %22, align 4, !tbaa !15
  %83 = load i32, ptr %11, align 4, !tbaa !15
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %85, label %247

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = load i32, ptr %22, align 4, !tbaa !15
  %88 = mul nsw i32 2, %87
  %89 = add nsw i32 %88, 0
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds <4 x float>, ptr %86, i64 %90
  %92 = load <4 x float>, ptr %91, align 16, !tbaa !16
  store <4 x float> %92, ptr %23, align 16, !tbaa !16
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = load i32, ptr %22, align 4, !tbaa !15
  %95 = mul nsw i32 2, %94
  %96 = add nsw i32 %95, 1
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds <4 x float>, ptr %93, i64 %97
  %99 = load <4 x float>, ptr %98, align 16, !tbaa !16
  store <4 x float> %99, ptr %24, align 16, !tbaa !16
  %100 = load ptr, ptr %13, align 8, !tbaa !5
  %101 = load i32, ptr %22, align 4, !tbaa !15
  %102 = mul nsw i32 2, %101
  %103 = add nsw i32 %102, 0
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds <4 x float>, ptr %100, i64 %104
  %106 = load <4 x float>, ptr %105, align 16, !tbaa !16
  store <4 x float> %106, ptr %25, align 16, !tbaa !16
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = load i32, ptr %22, align 4, !tbaa !15
  %109 = mul nsw i32 2, %108
  %110 = add nsw i32 %109, 1
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds <4 x float>, ptr %107, i64 %111
  %113 = load <4 x float>, ptr %112, align 16, !tbaa !16
  store <4 x float> %113, ptr %26, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  %114 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %115 = load <4 x float>, ptr %26, align 16, !tbaa !16
  %116 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %114, <4 x float> noundef %115)
  store <4 x float> %116, ptr %27, align 16, !tbaa !16
  %117 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %118 = load <4 x float>, ptr %25, align 16, !tbaa !16
  %119 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %117, <4 x float> noundef %118)
  store <4 x float> %119, ptr %23, align 16, !tbaa !16
  %120 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %121 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %122 = load <4 x float>, ptr %26, align 16, !tbaa !16
  %123 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %121, <4 x float> noundef %122)
  %124 = call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %120, <4 x float> noundef %123)
  store <4 x float> %124, ptr %23, align 16, !tbaa !16
  %125 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %126 = load <4 x float>, ptr %25, align 16, !tbaa !16
  %127 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %125, <4 x float> noundef %126)
  store <4 x float> %127, ptr %24, align 16, !tbaa !16
  %128 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %129 = load <4 x float>, ptr %27, align 16, !tbaa !16
  %130 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %128, <4 x float> noundef %129)
  store <4 x float> %130, ptr %24, align 16, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  %131 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %132 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %133 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %131, <4 x float> noundef %132)
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  %135 = load i32, ptr %22, align 4, !tbaa !15
  %136 = mul nsw i32 2, %135
  %137 = add nsw i32 %136, 0
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds <4 x float>, ptr %134, i64 %138
  %140 = load <4 x float>, ptr %139, align 16, !tbaa !16
  %141 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %133, <4 x float> noundef %140)
  %142 = load ptr, ptr %14, align 8, !tbaa !5
  %143 = load i32, ptr %22, align 4, !tbaa !15
  %144 = mul nsw i32 2, %143
  %145 = add nsw i32 %144, 0
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds <4 x float>, ptr %142, i64 %146
  store <4 x float> %141, ptr %147, align 16, !tbaa !16
  %148 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %149 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %150 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %148, <4 x float> noundef %149)
  %151 = load ptr, ptr %14, align 8, !tbaa !5
  %152 = load i32, ptr %22, align 4, !tbaa !15
  %153 = mul nsw i32 2, %152
  %154 = add nsw i32 %153, 1
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds <4 x float>, ptr %151, i64 %155
  %157 = load <4 x float>, ptr %156, align 16, !tbaa !16
  %158 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %150, <4 x float> noundef %157)
  %159 = load ptr, ptr %14, align 8, !tbaa !5
  %160 = load i32, ptr %22, align 4, !tbaa !15
  %161 = mul nsw i32 2, %160
  %162 = add nsw i32 %161, 1
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds <4 x float>, ptr %159, i64 %163
  store <4 x float> %158, ptr %164, align 16, !tbaa !16
  %165 = load ptr, ptr %12, align 8, !tbaa !5
  %166 = load i32, ptr %22, align 4, !tbaa !15
  %167 = mul nsw i32 2, %166
  %168 = add nsw i32 %167, 2
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds <4 x float>, ptr %165, i64 %169
  %171 = load <4 x float>, ptr %170, align 16, !tbaa !16
  store <4 x float> %171, ptr %23, align 16, !tbaa !16
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = load i32, ptr %22, align 4, !tbaa !15
  %174 = mul nsw i32 2, %173
  %175 = add nsw i32 %174, 3
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds <4 x float>, ptr %172, i64 %176
  %178 = load <4 x float>, ptr %177, align 16, !tbaa !16
  store <4 x float> %178, ptr %24, align 16, !tbaa !16
  %179 = load ptr, ptr %13, align 8, !tbaa !5
  %180 = load i32, ptr %22, align 4, !tbaa !15
  %181 = mul nsw i32 2, %180
  %182 = add nsw i32 %181, 2
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds <4 x float>, ptr %179, i64 %183
  %185 = load <4 x float>, ptr %184, align 16, !tbaa !16
  store <4 x float> %185, ptr %25, align 16, !tbaa !16
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = load i32, ptr %22, align 4, !tbaa !15
  %188 = mul nsw i32 2, %187
  %189 = add nsw i32 %188, 3
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds <4 x float>, ptr %186, i64 %190
  %192 = load <4 x float>, ptr %191, align 16, !tbaa !16
  store <4 x float> %192, ptr %26, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  %193 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %194 = load <4 x float>, ptr %26, align 16, !tbaa !16
  %195 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %193, <4 x float> noundef %194)
  store <4 x float> %195, ptr %28, align 16, !tbaa !16
  %196 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %197 = load <4 x float>, ptr %25, align 16, !tbaa !16
  %198 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %196, <4 x float> noundef %197)
  store <4 x float> %198, ptr %23, align 16, !tbaa !16
  %199 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %200 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %201 = load <4 x float>, ptr %26, align 16, !tbaa !16
  %202 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %200, <4 x float> noundef %201)
  %203 = call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %199, <4 x float> noundef %202)
  store <4 x float> %203, ptr %23, align 16, !tbaa !16
  %204 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %205 = load <4 x float>, ptr %25, align 16, !tbaa !16
  %206 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %204, <4 x float> noundef %205)
  store <4 x float> %206, ptr %24, align 16, !tbaa !16
  %207 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %208 = load <4 x float>, ptr %28, align 16, !tbaa !16
  %209 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %207, <4 x float> noundef %208)
  store <4 x float> %209, ptr %24, align 16, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  %210 = load <4 x float>, ptr %23, align 16, !tbaa !16
  %211 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %212 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %210, <4 x float> noundef %211)
  %213 = load ptr, ptr %14, align 8, !tbaa !5
  %214 = load i32, ptr %22, align 4, !tbaa !15
  %215 = mul nsw i32 2, %214
  %216 = add nsw i32 %215, 2
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds <4 x float>, ptr %213, i64 %217
  %219 = load <4 x float>, ptr %218, align 16, !tbaa !16
  %220 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %212, <4 x float> noundef %219)
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  %222 = load i32, ptr %22, align 4, !tbaa !15
  %223 = mul nsw i32 2, %222
  %224 = add nsw i32 %223, 2
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds <4 x float>, ptr %221, i64 %225
  store <4 x float> %220, ptr %226, align 16, !tbaa !16
  %227 = load <4 x float>, ptr %24, align 16, !tbaa !16
  %228 = load <4 x float>, ptr %21, align 16, !tbaa !16
  %229 = call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %227, <4 x float> noundef %228)
  %230 = load ptr, ptr %14, align 8, !tbaa !5
  %231 = load i32, ptr %22, align 4, !tbaa !15
  %232 = mul nsw i32 2, %231
  %233 = add nsw i32 %232, 3
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds <4 x float>, ptr %230, i64 %234
  %236 = load <4 x float>, ptr %235, align 16, !tbaa !16
  %237 = call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %229, <4 x float> noundef %236)
  %238 = load ptr, ptr %14, align 8, !tbaa !5
  %239 = load i32, ptr %22, align 4, !tbaa !15
  %240 = mul nsw i32 2, %239
  %241 = add nsw i32 %240, 3
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds <4 x float>, ptr %238, i64 %242
  store <4 x float> %237, ptr %243, align 16, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  br label %244

244:                                              ; preds = %85
  %245 = load i32, ptr %22, align 4, !tbaa !15
  %246 = add nsw i32 %245, 2
  store i32 %246, ptr %22, align 4, !tbaa !15
  br label %81, !llvm.loop !17

247:                                              ; preds = %81
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.PFFFT_Setup, ptr %248, i32 0, i32 3
  %250 = load i32, ptr %249, align 4, !tbaa !19
  %251 = icmp eq i32 %250, 0
  br i1 %251, label %252, label %271

252:                                              ; preds = %247
  %253 = load float, ptr %19, align 4, !tbaa !9
  %254 = load float, ptr %15, align 4, !tbaa !9
  %255 = load float, ptr %17, align 4, !tbaa !9
  %256 = fmul float %254, %255
  %257 = load float, ptr %10, align 4, !tbaa !9
  %258 = call float @llvm.fmuladd.f32(float %256, float %257, float %253)
  %259 = load ptr, ptr %14, align 8, !tbaa !5
  %260 = getelementptr inbounds %union.v4sf_union, ptr %259, i64 0
  %261 = getelementptr inbounds [4 x float], ptr %260, i64 0, i64 0
  store float %258, ptr %261, align 16, !tbaa !16
  %262 = load float, ptr %20, align 4, !tbaa !9
  %263 = load float, ptr %16, align 4, !tbaa !9
  %264 = load float, ptr %18, align 4, !tbaa !9
  %265 = fmul float %263, %264
  %266 = load float, ptr %10, align 4, !tbaa !9
  %267 = call float @llvm.fmuladd.f32(float %265, float %266, float %262)
  %268 = load ptr, ptr %14, align 8, !tbaa !5
  %269 = getelementptr inbounds %union.v4sf_union, ptr %268, i64 1
  %270 = getelementptr inbounds [4 x float], ptr %269, i64 0, i64 0
  store float %267, ptr %270, align 16, !tbaa !16
  br label %271

271:                                              ; preds = %252, %247
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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 = !{!12, !13, i64 4}
!12 = !{!"_ZTS11PFFFT_Setup", !13, i64 0, !13, i64 4, !7, i64 8, !14, i64 68, !6, i64 72, !6, i64 80, !6, i64 88}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS17pffft_transform_t", !7, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !14, 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_accumulate = external hidden unnamed_addr constant [93 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: mustprogress nounwind uwtable
define dso_local void @pffft_zconvolve_accumulate(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, float noundef %4) local_unnamed_addr #2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 4
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = tail call noundef <4 x float> @_ZL11_mm_set1_psf(float noundef %4)
  %9 = ptrtoint ptr %1 to i64
  %10 = ptrtoint ptr %2 to i64
  %11 = or i64 %10, %9
  %12 = ptrtoint ptr %3 to i64
  %13 = or i64 %11, %12
  %14 = and i64 %13, 15
  %or.cond93 = icmp eq i64 %14, 0
  br i1 %or.cond93, label %15, label %.critedge

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

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

.lr.ph:                                           ; preds = %15, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %15 ]
  %26 = shl nuw nsw 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 = or disjoint i64 %26, 1
  %30 = getelementptr inbounds <4 x float>, ptr %1, i64 %29
  %31 = load <4 x float>, ptr %30, align 16, !tbaa !12
  %32 = getelementptr inbounds <4 x float>, ptr %2, i64 %26
  %33 = load <4 x float>, ptr %32, align 16, !tbaa !12
  %34 = getelementptr inbounds <4 x float>, ptr %2, i64 %29
  %35 = load <4 x float>, ptr %34, align 16, !tbaa !12
  %36 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %28, <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 %33)
  %38 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %31, <4 x float> noundef %35)
  %39 = tail call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %37, <4 x float> noundef %38)
  %40 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %31, <4 x float> noundef %33)
  %41 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %40, <4 x float> noundef %36)
  %42 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %39, <4 x float> noundef %8)
  %43 = getelementptr inbounds <4 x float>, ptr %3, i64 %26
  %44 = load <4 x float>, ptr %43, align 16, !tbaa !12
  %45 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %42, <4 x float> noundef %44)
  store <4 x float> %45, ptr %43, align 16, !tbaa !12
  %46 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %41, <4 x float> noundef %8)
  %47 = getelementptr inbounds <4 x float>, ptr %3, i64 %29
  %48 = load <4 x float>, ptr %47, align 16, !tbaa !12
  %49 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %46, <4 x float> noundef %48)
  store <4 x float> %49, ptr %47, align 16, !tbaa !12
  %50 = or disjoint i64 %26, 2
  %51 = getelementptr inbounds <4 x float>, ptr %1, i64 %50
  %52 = load <4 x float>, ptr %51, align 16, !tbaa !12
  %53 = or disjoint i64 %26, 3
  %54 = getelementptr inbounds <4 x float>, ptr %1, i64 %53
  %55 = load <4 x float>, ptr %54, align 16, !tbaa !12
  %56 = getelementptr inbounds <4 x float>, ptr %2, i64 %50
  %57 = load <4 x float>, ptr %56, align 16, !tbaa !12
  %58 = getelementptr inbounds <4 x float>, ptr %2, i64 %53
  %59 = load <4 x float>, ptr %58, align 16, !tbaa !12
  %60 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %52, <4 x float> noundef %59)
  %61 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %52, <4 x float> noundef %57)
  %62 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %55, <4 x float> noundef %59)
  %63 = tail call noundef <4 x float> @_ZL10_mm_sub_psDv4_fS_(<4 x float> noundef %61, <4 x float> noundef %62)
  %64 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %55, <4 x float> noundef %57)
  %65 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %64, <4 x float> noundef %60)
  %66 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %63, <4 x float> noundef %8)
  %67 = getelementptr inbounds <4 x float>, ptr %3, i64 %50
  %68 = load <4 x float>, ptr %67, align 16, !tbaa !12
  %69 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %66, <4 x float> noundef %68)
  store <4 x float> %69, ptr %67, align 16, !tbaa !12
  %70 = tail call noundef <4 x float> @_ZL10_mm_mul_psDv4_fS_(<4 x float> noundef %65, <4 x float> noundef %8)
  %71 = getelementptr inbounds <4 x float>, ptr %3, i64 %53
  %72 = load <4 x float>, ptr %71, align 16, !tbaa !12
  %73 = tail call noundef <4 x float> @_ZL10_mm_add_psDv4_fS_(<4 x float> noundef %70, <4 x float> noundef %72)
  store <4 x float> %73, ptr %71, align 16, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %74 = trunc nuw i64 %indvars.iv.next to i32
  %75 = icmp sgt i32 %7, %74
  br i1 %75, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %15
  %76 = getelementptr inbounds i8, ptr %0, i64 68
  %77 = load i32, ptr %76, align 4, !tbaa !15
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %84

79:                                               ; preds = %._crit_edge
  %80 = fmul float %16, %19
  %81 = tail call float @llvm.fmuladd.f32(float %80, float %4, float %22)
  store float %81, ptr %3, align 16, !tbaa !12
  %82 = fmul float %18, %21
  %83 = tail call float @llvm.fmuladd.f32(float %82, float %4, float %24)
  store float %83, ptr %23, align 16, !tbaa !12
  br label %84

84:                                               ; preds = %79, %._crit_edge
  ret void
}

; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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