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

%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 [103 x i8], align 1
@.str.32 = 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

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

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

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

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

; Function Attrs: nounwind 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 !14
  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 <4 x float> @_mm_set1_ps(float noundef %35)
  store <4 x float> %36, ptr %21, align 16, !tbaa !15
  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 %52

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 %52

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 i1 %50, label %51, label %52

51:                                               ; preds = %46
  br label %53

52:                                               ; preds = %46, %41, %5
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.2, i32 noundef 1705, ptr noundef @__PRETTY_FUNCTION__.pffft_zconvolve_accumulate) #6
  unreachable

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

78:                                               ; preds = %241, %53
  %79 = load i32, ptr %22, align 4, !tbaa !14
  %80 = load i32, ptr %11, align 4, !tbaa !14
  %81 = icmp slt i32 %79, %80
  br i1 %81, label %82, label %244

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

241:                                              ; preds = %82
  %242 = load i32, ptr %22, align 4, !tbaa !14
  %243 = add nsw i32 %242, 2
  store i32 %243, ptr %22, align 4, !tbaa !14
  br label %78, !llvm.loop !16

244:                                              ; preds = %78
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.PFFFT_Setup, ptr %245, i32 0, i32 3
  %247 = load i32, ptr %246, align 4, !tbaa !18
  %248 = icmp eq i32 %247, 0
  br i1 %248, label %249, label %268

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

268:                                              ; preds = %249, %244
  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: 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 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 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"PFFFT_Setup", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 68, !6, i64 72, !6, i64 80, !6, i64 88}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!12, !13, 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 [103 x i8], align 1
@.str.32 = 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 nounwind uwtable
declare hidden <4 x float> @_mm_add_ps(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: 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 <4 x float> @_mm_set1_ps(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 %16, label %15

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

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

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

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

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

85:                                               ; preds = %80, %._crit_edge
  ret void
}

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


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