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

@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [38 x i8], align 1
@__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti = external hidden unnamed_addr constant [101 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 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: mustprogress uwtable
declare dso_local void @pffft_zreorder(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z19pffft_cplx_finalizeiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21pffft_cplx_preprocessiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #1 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca [2 x ptr], align 16
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %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
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.PFFFT_Setup, ptr %28, i32 0, i32 1
  %30 = load i32, ptr %29, align 4, !tbaa !13
  store i32 %30, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.PFFFT_Setup, ptr %31, i32 0, i32 2
  %33 = getelementptr inbounds [15 x i32], ptr %32, i64 0, i64 1
  %34 = load i32, ptr %33, align 4, !tbaa !11
  %35 = and i32 %34, 1
  store i32 %35, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = icmp eq ptr %36, null
  br i1 %37, label %38, label %41

38:                                               ; preds = %6
  %39 = load i32, ptr %14, align 4, !tbaa !11
  %40 = mul nsw i32 %39, 2
  br label %42

41:                                               ; preds = %6
  br label %42

42:                                               ; preds = %41, %38
  %43 = phi i32 [ %40, %38 ], [ 1, %41 ]
  store i32 %43, ptr %16, align 4, !tbaa !11
  %44 = load i32, ptr %16, align 4, !tbaa !11
  %45 = zext i32 %44 to i64
  %46 = call ptr @llvm.stacksave.p0()
  store ptr %46, ptr %17, align 8
  %47 = alloca <4 x float>, i64 %45, align 16
  store i64 %45, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %48, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %49, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %50 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %50, ptr %21, align 8, !tbaa !5
  %51 = getelementptr inbounds ptr, ptr %21, i64 1
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %56

54:                                               ; preds = %42
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  br label %57

56:                                               ; preds = %42
  br label %57

57:                                               ; preds = %56, %54
  %58 = phi ptr [ %55, %54 ], [ %47, %56 ]
  store ptr %58, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %59 = load i32, ptr %15, align 4, !tbaa !11
  %60 = load i32, ptr %12, align 4, !tbaa !11
  %61 = xor i32 %59, %60
  %62 = icmp ne i32 %61, 0
  %63 = zext i1 %62 to i64
  %64 = select i1 %62, i32 1, i32 0
  store i32 %64, ptr %22, align 4, !tbaa !11
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = ptrtoint ptr %65 to i64
  %67 = and i64 %66, 15
  %68 = icmp eq i64 %67, 0
  br i1 %68, label %69, label %74

69:                                               ; preds = %57
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = ptrtoint ptr %70 to i64
  %72 = and i64 %71, 15
  %73 = icmp eq i64 %72, 0
  br label %74

74:                                               ; preds = %69, %57
  %75 = phi i1 [ false, %57 ], [ %73, %69 ]
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  br label %79

77:                                               ; preds = %74
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 1740, ptr noundef @__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti) #9
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  %80 = load i32, ptr %11, align 4, !tbaa !9
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %82, label %247

82:                                               ; preds = %79
  %83 = load i32, ptr %22, align 4, !tbaa !11
  %84 = icmp ne i32 %83, 0
  %85 = xor i1 %84, true
  %86 = zext i1 %85 to i32
  store i32 %86, ptr %22, align 4, !tbaa !11
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.PFFFT_Setup, ptr %87, i32 0, i32 3
  %89 = load i32, ptr %88, align 4, !tbaa !16
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %131

91:                                               ; preds = %82
  %92 = load i32, ptr %14, align 4, !tbaa !11
  %93 = mul nsw i32 %92, 2
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = load i32, ptr %22, align 4, !tbaa !11
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = load i32, ptr %22, align 4, !tbaa !11
  %100 = icmp ne i32 %99, 0
  %101 = xor i1 %100, true
  %102 = zext i1 %101 to i64
  %103 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %102
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.PFFFT_Setup, ptr %105, i32 0, i32 6
  %107 = load ptr, ptr %106, align 8, !tbaa !17
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.PFFFT_Setup, ptr %108, i32 0, i32 2
  %110 = getelementptr inbounds [15 x i32], ptr %109, i64 0, i64 0
  %111 = call noundef ptr @_ZL9rfftf1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef %93, ptr noundef %94, ptr noundef %98, ptr noundef %104, ptr noundef %107, ptr noundef %110)
  %112 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 0
  %113 = load ptr, ptr %112, align 16, !tbaa !5
  %114 = icmp eq ptr %111, %113
  %115 = zext i1 %114 to i64
  %116 = select i1 %114, i32 0, i32 1
  store i32 %116, ptr %22, align 4, !tbaa !11
  %117 = load i32, ptr %14, align 4, !tbaa !11
  %118 = load i32, ptr %22, align 4, !tbaa !11
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %119
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = load i32, ptr %22, align 4, !tbaa !11
  %123 = icmp ne i32 %122, 0
  %124 = xor i1 %123, true
  %125 = zext i1 %124 to i64
  %126 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %125
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.PFFFT_Setup, ptr %128, i32 0, i32 5
  %130 = load ptr, ptr %129, align 8, !tbaa !18
  call void @_ZL19pffft_real_finalizeiPKDv4_fPS_S1_(i32 noundef %117, ptr noundef %121, ptr noundef %127, ptr noundef %130)
  br label %226

131:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %132 = load i32, ptr %22, align 4, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %133
  %135 = load ptr, ptr %134, align 8, !tbaa !5
  store ptr %135, ptr %23, align 8, !tbaa !5
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %136

136:                                              ; preds = %181, %131
  %137 = load i32, ptr %13, align 4, !tbaa !11
  %138 = load i32, ptr %14, align 4, !tbaa !11
  %139 = icmp slt i32 %137, %138
  br i1 %139, label %140, label %184

140:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %141 = load ptr, ptr %19, align 8, !tbaa !5
  %142 = load i32, ptr %13, align 4, !tbaa !11
  %143 = mul nsw i32 %142, 2
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds <4 x float>, ptr %141, i64 %144
  %146 = load <4 x float>, ptr %145, align 16, !tbaa !19
  %147 = load ptr, ptr %19, align 8, !tbaa !5
  %148 = load i32, ptr %13, align 4, !tbaa !11
  %149 = mul nsw i32 %148, 2
  %150 = add nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds <4 x float>, ptr %147, i64 %151
  %153 = load <4 x float>, ptr %152, align 16, !tbaa !19
  %154 = shufflevector <4 x float> %146, <4 x float> %153, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  store <4 x float> %154, ptr %24, align 16, !tbaa !19
  %155 = load ptr, ptr %19, align 8, !tbaa !5
  %156 = load i32, ptr %13, align 4, !tbaa !11
  %157 = mul nsw i32 %156, 2
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds <4 x float>, ptr %155, i64 %158
  %160 = load <4 x float>, ptr %159, align 16, !tbaa !19
  %161 = load ptr, ptr %19, align 8, !tbaa !5
  %162 = load i32, ptr %13, align 4, !tbaa !11
  %163 = mul nsw i32 %162, 2
  %164 = add nsw i32 %163, 1
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds <4 x float>, ptr %161, i64 %165
  %167 = load <4 x float>, ptr %166, align 16, !tbaa !19
  %168 = shufflevector <4 x float> %160, <4 x float> %167, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %169 = load ptr, ptr %23, align 8, !tbaa !5
  %170 = load i32, ptr %13, align 4, !tbaa !11
  %171 = mul nsw i32 %170, 2
  %172 = add nsw i32 %171, 1
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds <4 x float>, ptr %169, i64 %173
  store <4 x float> %168, ptr %174, align 16, !tbaa !19
  %175 = load <4 x float>, ptr %24, align 16, !tbaa !19
  %176 = load ptr, ptr %23, align 8, !tbaa !5
  %177 = load i32, ptr %13, align 4, !tbaa !11
  %178 = mul nsw i32 %177, 2
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds <4 x float>, ptr %176, i64 %179
  store <4 x float> %175, ptr %180, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  br label %181

181:                                              ; preds = %140
  %182 = load i32, ptr %13, align 4, !tbaa !11
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %13, align 4, !tbaa !11
  br label %136, !llvm.loop !20

184:                                              ; preds = %136
  %185 = load i32, ptr %14, align 4, !tbaa !11
  %186 = load i32, ptr %22, align 4, !tbaa !11
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = load i32, ptr %22, align 4, !tbaa !11
  %191 = icmp ne i32 %190, 0
  %192 = xor i1 %191, true
  %193 = zext i1 %192 to i64
  %194 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %193
  %195 = load ptr, ptr %194, align 8, !tbaa !5
  %196 = load i32, ptr %22, align 4, !tbaa !11
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %197
  %199 = load ptr, ptr %198, align 8, !tbaa !5
  %200 = load ptr, ptr %7, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.PFFFT_Setup, ptr %200, i32 0, i32 6
  %202 = load ptr, ptr %201, align 8, !tbaa !17
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.PFFFT_Setup, ptr %203, i32 0, i32 2
  %205 = getelementptr inbounds [15 x i32], ptr %204, i64 0, i64 0
  %206 = call noundef ptr @_ZL9cfftf1_psiPKDv4_fPS_S2_PKfPKii(i32 noundef %185, ptr noundef %189, ptr noundef %195, ptr noundef %199, ptr noundef %202, ptr noundef %205, i32 noundef -1)
  %207 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 0
  %208 = load ptr, ptr %207, align 16, !tbaa !5
  %209 = icmp eq ptr %206, %208
  %210 = zext i1 %209 to i64
  %211 = select i1 %209, i32 0, i32 1
  store i32 %211, ptr %22, align 4, !tbaa !11
  %212 = load i32, ptr %14, align 4, !tbaa !11
  %213 = load i32, ptr %22, align 4, !tbaa !11
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %214
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  %217 = load i32, ptr %22, align 4, !tbaa !11
  %218 = icmp ne i32 %217, 0
  %219 = xor i1 %218, true
  %220 = zext i1 %219 to i64
  %221 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !5
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.PFFFT_Setup, ptr %223, i32 0, i32 5
  %225 = load ptr, ptr %224, align 8, !tbaa !18
  call void @_Z19pffft_cplx_finalizeiPKDv4_fPS_S1_(i32 noundef %212, ptr noundef %216, ptr noundef %222, ptr noundef %225)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %226

226:                                              ; preds = %184, %91
  %227 = load i32, ptr %12, align 4, !tbaa !11
  %228 = icmp ne i32 %227, 0
  br i1 %228, label %229, label %241

229:                                              ; preds = %226
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  %231 = load i32, ptr %22, align 4, !tbaa !11
  %232 = icmp ne i32 %231, 0
  %233 = xor i1 %232, true
  %234 = zext i1 %233 to i64
  %235 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %234
  %236 = load ptr, ptr %235, align 8, !tbaa !5
  %237 = load i32, ptr %22, align 4, !tbaa !11
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %238
  %240 = load ptr, ptr %239, align 8, !tbaa !5
  call void @pffft_zreorder(ptr noundef %230, ptr noundef %236, ptr noundef %240, i32 noundef 0)
  br label %246

241:                                              ; preds = %226
  %242 = load i32, ptr %22, align 4, !tbaa !11
  %243 = icmp ne i32 %242, 0
  %244 = xor i1 %243, true
  %245 = zext i1 %244 to i32
  store i32 %245, ptr %22, align 4, !tbaa !11
  br label %246

246:                                              ; preds = %241, %229
  br label %413

247:                                              ; preds = %79
  %248 = load ptr, ptr %19, align 8, !tbaa !5
  %249 = load i32, ptr %22, align 4, !tbaa !11
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %250
  %252 = load ptr, ptr %251, align 8, !tbaa !5
  %253 = icmp eq ptr %248, %252
  br i1 %253, label %254, label %259

254:                                              ; preds = %247
  %255 = load i32, ptr %22, align 4, !tbaa !11
  %256 = icmp ne i32 %255, 0
  %257 = xor i1 %256, true
  %258 = zext i1 %257 to i32
  store i32 %258, ptr %22, align 4, !tbaa !11
  br label %259

259:                                              ; preds = %254, %247
  %260 = load i32, ptr %12, align 4, !tbaa !11
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %277

262:                                              ; preds = %259
  %263 = load ptr, ptr %7, align 8, !tbaa !5
  %264 = load ptr, ptr %19, align 8, !tbaa !5
  %265 = load i32, ptr %22, align 4, !tbaa !11
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %266
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  call void @pffft_zreorder(ptr noundef %263, ptr noundef %264, ptr noundef %268, i32 noundef 1)
  %269 = load i32, ptr %22, align 4, !tbaa !11
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %270
  %272 = load ptr, ptr %271, align 8, !tbaa !5
  store ptr %272, ptr %19, align 8, !tbaa !5
  %273 = load i32, ptr %22, align 4, !tbaa !11
  %274 = icmp ne i32 %273, 0
  %275 = xor i1 %274, true
  %276 = zext i1 %275 to i32
  store i32 %276, ptr %22, align 4, !tbaa !11
  br label %277

277:                                              ; preds = %262, %259
  %278 = load ptr, ptr %7, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.PFFFT_Setup, ptr %278, i32 0, i32 3
  %280 = load i32, ptr %279, align 4, !tbaa !16
  %281 = icmp eq i32 %280, 0
  br i1 %281, label %282, label %314

282:                                              ; preds = %277
  %283 = load i32, ptr %14, align 4, !tbaa !11
  %284 = load ptr, ptr %19, align 8, !tbaa !5
  %285 = load i32, ptr %22, align 4, !tbaa !11
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %286
  %288 = load ptr, ptr %287, align 8, !tbaa !5
  %289 = load ptr, ptr %7, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.PFFFT_Setup, ptr %289, i32 0, i32 5
  %291 = load ptr, ptr %290, align 8, !tbaa !18
  call void @_ZL21pffft_real_preprocessiPKDv4_fPS_S1_(i32 noundef %283, ptr noundef %284, ptr noundef %288, ptr noundef %291)
  %292 = load i32, ptr %14, align 4, !tbaa !11
  %293 = mul nsw i32 %292, 2
  %294 = load i32, ptr %22, align 4, !tbaa !11
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %295
  %297 = load ptr, ptr %296, align 8, !tbaa !5
  %298 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 0
  %299 = load ptr, ptr %298, align 16, !tbaa !5
  %300 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 1
  %301 = load ptr, ptr %300, align 8, !tbaa !5
  %302 = load ptr, ptr %7, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.PFFFT_Setup, ptr %302, i32 0, i32 6
  %304 = load ptr, ptr %303, align 8, !tbaa !17
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.PFFFT_Setup, ptr %305, i32 0, i32 2
  %307 = getelementptr inbounds [15 x i32], ptr %306, i64 0, i64 0
  %308 = call noundef ptr @_ZL9rfftb1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef %293, ptr noundef %297, ptr noundef %299, ptr noundef %301, ptr noundef %304, ptr noundef %307)
  %309 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 0
  %310 = load ptr, ptr %309, align 16, !tbaa !5
  %311 = icmp eq ptr %308, %310
  %312 = zext i1 %311 to i64
  %313 = select i1 %311, i32 0, i32 1
  store i32 %313, ptr %22, align 4, !tbaa !11
  br label %412

314:                                              ; preds = %277
  %315 = load i32, ptr %14, align 4, !tbaa !11
  %316 = load ptr, ptr %19, align 8, !tbaa !5
  %317 = load i32, ptr %22, align 4, !tbaa !11
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %318
  %320 = load ptr, ptr %319, align 8, !tbaa !5
  %321 = load ptr, ptr %7, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.PFFFT_Setup, ptr %321, i32 0, i32 5
  %323 = load ptr, ptr %322, align 8, !tbaa !18
  call void @_Z21pffft_cplx_preprocessiPKDv4_fPS_S1_(i32 noundef %315, ptr noundef %316, ptr noundef %320, ptr noundef %323)
  %324 = load i32, ptr %14, align 4, !tbaa !11
  %325 = load i32, ptr %22, align 4, !tbaa !11
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %326
  %328 = load ptr, ptr %327, align 8, !tbaa !5
  %329 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 0
  %330 = load ptr, ptr %329, align 16, !tbaa !5
  %331 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 1
  %332 = load ptr, ptr %331, align 8, !tbaa !5
  %333 = load ptr, ptr %7, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.PFFFT_Setup, ptr %333, i32 0, i32 6
  %335 = load ptr, ptr %334, align 8, !tbaa !17
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.PFFFT_Setup, ptr %336, i32 0, i32 2
  %338 = getelementptr inbounds [15 x i32], ptr %337, i64 0, i64 0
  %339 = call noundef ptr @_ZL9cfftf1_psiPKDv4_fPS_S2_PKfPKii(i32 noundef %324, ptr noundef %328, ptr noundef %330, ptr noundef %332, ptr noundef %335, ptr noundef %338, i32 noundef 1)
  %340 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 0
  %341 = load ptr, ptr %340, align 16, !tbaa !5
  %342 = icmp eq ptr %339, %341
  %343 = zext i1 %342 to i64
  %344 = select i1 %342, i32 0, i32 1
  store i32 %344, ptr %22, align 4, !tbaa !11
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %345

345:                                              ; preds = %408, %314
  %346 = load i32, ptr %13, align 4, !tbaa !11
  %347 = load i32, ptr %14, align 4, !tbaa !11
  %348 = icmp slt i32 %346, %347
  br i1 %348, label %349, label %411

349:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %350 = load i32, ptr %22, align 4, !tbaa !11
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %351
  %353 = load ptr, ptr %352, align 8, !tbaa !5
  %354 = load i32, ptr %13, align 4, !tbaa !11
  %355 = mul nsw i32 %354, 2
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds <4 x float>, ptr %353, i64 %356
  %358 = load <4 x float>, ptr %357, align 16, !tbaa !19
  %359 = load i32, ptr %22, align 4, !tbaa !11
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %360
  %362 = load ptr, ptr %361, align 8, !tbaa !5
  %363 = load i32, ptr %13, align 4, !tbaa !11
  %364 = mul nsw i32 %363, 2
  %365 = add nsw i32 %364, 1
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds <4 x float>, ptr %362, i64 %366
  %368 = load <4 x float>, ptr %367, align 16, !tbaa !19
  %369 = call noundef <4 x float> @_ZL15_mm_unpacklo_psDv4_fS_(<4 x float> noundef %358, <4 x float> noundef %368)
  store <4 x float> %369, ptr %25, align 16, !tbaa !19
  %370 = load i32, ptr %22, align 4, !tbaa !11
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %371
  %373 = load ptr, ptr %372, align 8, !tbaa !5
  %374 = load i32, ptr %13, align 4, !tbaa !11
  %375 = mul nsw i32 %374, 2
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds <4 x float>, ptr %373, i64 %376
  %378 = load <4 x float>, ptr %377, align 16, !tbaa !19
  %379 = load i32, ptr %22, align 4, !tbaa !11
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %380
  %382 = load ptr, ptr %381, align 8, !tbaa !5
  %383 = load i32, ptr %13, align 4, !tbaa !11
  %384 = mul nsw i32 %383, 2
  %385 = add nsw i32 %384, 1
  %386 = sext i32 %385 to i64
  %387 = getelementptr inbounds <4 x float>, ptr %382, i64 %386
  %388 = load <4 x float>, ptr %387, align 16, !tbaa !19
  %389 = call noundef <4 x float> @_ZL15_mm_unpackhi_psDv4_fS_(<4 x float> noundef %378, <4 x float> noundef %388)
  %390 = load i32, ptr %22, align 4, !tbaa !11
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %391
  %393 = load ptr, ptr %392, align 8, !tbaa !5
  %394 = load i32, ptr %13, align 4, !tbaa !11
  %395 = mul nsw i32 %394, 2
  %396 = add nsw i32 %395, 1
  %397 = sext i32 %396 to i64
  %398 = getelementptr inbounds <4 x float>, ptr %393, i64 %397
  store <4 x float> %389, ptr %398, align 16, !tbaa !19
  %399 = load <4 x float>, ptr %25, align 16, !tbaa !19
  %400 = load i32, ptr %22, align 4, !tbaa !11
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %401
  %403 = load ptr, ptr %402, align 8, !tbaa !5
  %404 = load i32, ptr %13, align 4, !tbaa !11
  %405 = mul nsw i32 %404, 2
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds <4 x float>, ptr %403, i64 %406
  store <4 x float> %399, ptr %407, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %408

408:                                              ; preds = %349
  %409 = load i32, ptr %13, align 4, !tbaa !11
  %410 = add nsw i32 %409, 1
  store i32 %410, ptr %13, align 4, !tbaa !11
  br label %345, !llvm.loop !22

411:                                              ; preds = %345
  br label %412

412:                                              ; preds = %411, %282
  br label %413

413:                                              ; preds = %412, %246
  %414 = load i32, ptr %22, align 4, !tbaa !11
  %415 = sext i32 %414 to i64
  %416 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %415
  %417 = load ptr, ptr %416, align 8, !tbaa !5
  %418 = load ptr, ptr %20, align 8, !tbaa !5
  %419 = icmp ne ptr %417, %418
  br i1 %419, label %420, label %473

420:                                              ; preds = %413
  %421 = load ptr, ptr %8, align 8, !tbaa !5
  %422 = load ptr, ptr %9, align 8, !tbaa !5
  %423 = icmp eq ptr %421, %422
  br i1 %423, label %424, label %425

424:                                              ; preds = %420
  br label %427

425:                                              ; preds = %420
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 1799, ptr noundef @__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti) #9
  unreachable

426:                                              ; No predecessors!
  br label %427

427:                                              ; preds = %426, %424
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %428

428:                                              ; preds = %465, %427
  %429 = load i32, ptr %13, align 4, !tbaa !11
  %430 = load i32, ptr %14, align 4, !tbaa !11
  %431 = icmp slt i32 %429, %430
  br i1 %431, label %432, label %468

432:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  %433 = load i32, ptr %22, align 4, !tbaa !11
  %434 = sext i32 %433 to i64
  %435 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %434
  %436 = load ptr, ptr %435, align 8, !tbaa !5
  %437 = load i32, ptr %13, align 4, !tbaa !11
  %438 = mul nsw i32 2, %437
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds <4 x float>, ptr %436, i64 %439
  %441 = load <4 x float>, ptr %440, align 16, !tbaa !19
  store <4 x float> %441, ptr %26, align 16, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %442 = load i32, ptr %22, align 4, !tbaa !11
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %443
  %445 = load ptr, ptr %444, align 8, !tbaa !5
  %446 = load i32, ptr %13, align 4, !tbaa !11
  %447 = mul nsw i32 2, %446
  %448 = add nsw i32 %447, 1
  %449 = sext i32 %448 to i64
  %450 = getelementptr inbounds <4 x float>, ptr %445, i64 %449
  %451 = load <4 x float>, ptr %450, align 16, !tbaa !19
  store <4 x float> %451, ptr %27, align 16, !tbaa !19
  %452 = load <4 x float>, ptr %26, align 16, !tbaa !19
  %453 = load ptr, ptr %20, align 8, !tbaa !5
  %454 = load i32, ptr %13, align 4, !tbaa !11
  %455 = mul nsw i32 2, %454
  %456 = sext i32 %455 to i64
  %457 = getelementptr inbounds <4 x float>, ptr %453, i64 %456
  store <4 x float> %452, ptr %457, align 16, !tbaa !19
  %458 = load <4 x float>, ptr %27, align 16, !tbaa !19
  %459 = load ptr, ptr %20, align 8, !tbaa !5
  %460 = load i32, ptr %13, align 4, !tbaa !11
  %461 = mul nsw i32 2, %460
  %462 = add nsw i32 %461, 1
  %463 = sext i32 %462 to i64
  %464 = getelementptr inbounds <4 x float>, ptr %459, i64 %463
  store <4 x float> %458, ptr %464, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  br label %465

465:                                              ; preds = %432
  %466 = load i32, ptr %13, align 4, !tbaa !11
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %13, align 4, !tbaa !11
  br label %428, !llvm.loop !23

468:                                              ; preds = %428
  %469 = load i32, ptr %22, align 4, !tbaa !11
  %470 = icmp ne i32 %469, 0
  %471 = xor i1 %470, true
  %472 = zext i1 %471 to i32
  store i32 %472, ptr %22, align 4, !tbaa !11
  br label %473

473:                                              ; preds = %468, %413
  %474 = load i32, ptr %22, align 4, !tbaa !11
  %475 = sext i32 %474 to i64
  %476 = getelementptr inbounds [2 x ptr], ptr %21, i64 0, i64 %475
  %477 = load ptr, ptr %476, align 8, !tbaa !5
  %478 = load ptr, ptr %20, align 8, !tbaa !5
  %479 = icmp eq ptr %477, %478
  br i1 %479, label %480, label %481

480:                                              ; preds = %473
  br label %483

481:                                              ; preds = %473
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 1808, ptr noundef @__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti) #9
  unreachable

482:                                              ; No predecessors!
  br label %483

483:                                              ; preds = %482, %480
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %484 = load ptr, ptr %17, align 8
  call void @llvm.stackrestore.p0(ptr %484)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #4

; Function Attrs: mustprogress noinline uwtable
declare hidden noundef ptr @_ZL9rfftf1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress noinline uwtable
declare hidden void @_ZL19pffft_real_finalizeiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL9cfftf1_psiPKDv4_fPS_S2_PKfPKii(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #7

; Function Attrs: mustprogress noinline uwtable
declare hidden void @_ZL21pffft_real_preprocessiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress noinline uwtable
declare hidden noundef ptr @_ZL9rfftb1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { nocallback nofree nosync nounwind willreturn }
attributes #5 = { mustprogress noinline 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 #6 = { mustprogress noinline 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 #7 = { mustprogress 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 #8 = { nounwind }
attributes #9 = { 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 = !{!"_ZTS17pffft_direction_t", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"_ZTS11PFFFT_Setup", !12, i64 0, !12, i64 4, !7, i64 8, !15, i64 68, !6, i64 72, !6, i64 80, !6, i64 88}
!15 = !{!"_ZTS17pffft_transform_t", !7, i64 0}
!16 = !{!14, !15, i64 68}
!17 = !{!14, !6, i64 88}
!18 = !{!14, !6, i64 80}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


; 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.3 = external hidden unnamed_addr constant [38 x i8], align 1
@__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti = external hidden unnamed_addr constant [101 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @pffft_zreorder(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z19pffft_cplx_finalizeiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21pffft_cplx_preprocessiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = alloca [2 x ptr], align 16
  %8 = getelementptr inbounds i8, ptr %0, i64 4
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = getelementptr inbounds i8, ptr %0, i64 12
  %12 = load i32, ptr %11, align 4, !tbaa !12
  %13 = and i32 %12, 1
  %14 = icmp eq ptr %3, null
  %15 = shl nsw i32 %9, 1
  %16 = zext i32 %15 to i64
  %17 = select i1 %14, i64 %16, i64 1
  %18 = alloca <4 x float>, i64 %17, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  store ptr %2, ptr %7, align 16, !tbaa !13
  %19 = getelementptr inbounds i8, ptr %7, i64 8
  %20 = select i1 %14, ptr %18, ptr %3
  store ptr %20, ptr %19, align 8, !tbaa !13
  %21 = icmp ne i32 %13, %5
  %22 = ptrtoint ptr %1 to i64
  %23 = ptrtoint ptr %2 to i64
  %24 = or i64 %23, %22
  %25 = and i64 %24, 15
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %28, label %27

27:                                               ; preds = %6
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 1740, ptr noundef nonnull @__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti) #8
  unreachable

28:                                               ; preds = %6
  %29 = icmp eq i32 %4, 0
  br i1 %29, label %30, label %90

30:                                               ; preds = %28
  %31 = xor i1 %21, true
  %32 = getelementptr inbounds i8, ptr %0, i64 68
  %33 = load i32, ptr %32, align 4, !tbaa !14
  %34 = icmp eq i32 %33, 0
  %35 = zext i1 %31 to i64
  %36 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %35
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  br i1 %34, label %38, label %55

38:                                               ; preds = %30
  %39 = zext i1 %21 to i64
  %40 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %39
  %41 = load ptr, ptr %40, align 8, !tbaa !13
  %42 = getelementptr inbounds i8, ptr %0, i64 88
  %43 = load ptr, ptr %42, align 8, !tbaa !15
  %44 = call noundef ptr @_ZL9rfftf1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef %15, ptr noundef %1, ptr noundef %37, ptr noundef %41, ptr noundef %43, ptr noundef nonnull %10)
  %45 = icmp ne ptr %44, %2
  %46 = zext i1 %45 to i64
  %47 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %46
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = xor i1 %45, true
  %50 = zext i1 %49 to i64
  %51 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %50
  %52 = load ptr, ptr %51, align 8, !tbaa !13
  %53 = getelementptr inbounds i8, ptr %0, i64 80
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  call void @_ZL19pffft_real_finalizeiPKDv4_fPS_S1_(i32 noundef %9, ptr noundef %48, ptr noundef %52, ptr noundef %54)
  br label %83

55:                                               ; preds = %30
  %56 = icmp sgt i32 %9, 0
  br i1 %56, label %.lr.ph132.preheader, label %._crit_edge

.lr.ph132.preheader:                              ; preds = %55
  %wide.trip.count140 = zext nneg i32 %9 to i64
  br label %.lr.ph132

.lr.ph132:                                        ; preds = %.lr.ph132.preheader, %.lr.ph132
  %indvars.iv137 = phi i64 [ 0, %.lr.ph132.preheader ], [ %indvars.iv.next138, %.lr.ph132 ]
  %57 = shl nuw nsw i64 %indvars.iv137, 1
  %58 = getelementptr inbounds <4 x float>, ptr %1, i64 %57
  %59 = load <4 x float>, ptr %58, align 16, !tbaa !17
  %60 = or disjoint i64 %57, 1
  %61 = getelementptr inbounds <4 x float>, ptr %1, i64 %60
  %62 = load <4 x float>, ptr %61, align 16, !tbaa !17
  %63 = shufflevector <4 x float> %59, <4 x float> %62, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %64 = shufflevector <4 x float> %59, <4 x float> %62, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %65 = getelementptr inbounds <4 x float>, ptr %37, i64 %60
  store <4 x float> %64, ptr %65, align 16, !tbaa !17
  %66 = getelementptr inbounds <4 x float>, ptr %37, i64 %57
  store <4 x float> %63, ptr %66, align 16, !tbaa !17
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %exitcond141.not = icmp eq i64 %indvars.iv.next138, %wide.trip.count140
  br i1 %exitcond141.not, label %._crit_edge, label %.lr.ph132, !llvm.loop !18

._crit_edge:                                      ; preds = %.lr.ph132, %55
  %67 = zext i1 %21 to i64
  %68 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !13
  %70 = getelementptr inbounds i8, ptr %0, i64 88
  %71 = load ptr, ptr %70, align 8, !tbaa !15
  %72 = call noundef ptr @_ZL9cfftf1_psiPKDv4_fPS_S2_PKfPKii(i32 noundef %9, ptr noundef %37, ptr noundef %69, ptr noundef %37, ptr noundef %71, ptr noundef nonnull %10, i32 noundef -1)
  %73 = icmp ne ptr %72, %2
  %74 = zext i1 %73 to i64
  %75 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %74
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = xor i1 %73, true
  %78 = zext i1 %77 to i64
  %79 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %78
  %80 = load ptr, ptr %79, align 8, !tbaa !13
  %81 = getelementptr inbounds i8, ptr %0, i64 80
  %82 = load ptr, ptr %81, align 8, !tbaa !16
  call void @_Z19pffft_cplx_finalizeiPKDv4_fPS_S1_(i32 noundef %9, ptr noundef %76, ptr noundef %80, ptr noundef %82)
  br label %83

83:                                               ; preds = %._crit_edge, %38
  %84 = phi ptr [ %48, %38 ], [ %76, %._crit_edge ]
  %.0122.in = phi i1 [ %45, %38 ], [ %73, %._crit_edge ]
  %.not128 = icmp eq i32 %5, 0
  %85 = xor i1 %.0122.in, true
  br i1 %.not128, label %.loopexit, label %86

86:                                               ; preds = %83
  %87 = zext i1 %85 to i64
  %88 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !13
  call void @pffft_zreorder(ptr noundef nonnull %0, ptr noundef %89, ptr noundef %84, i32 noundef 0)
  br label %.loopexit

90:                                               ; preds = %28
  %91 = zext i1 %21 to i64
  %92 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !13
  %94 = icmp eq ptr %93, %1
  %spec.select = xor i1 %21, %94
  %.not127 = icmp eq i32 %5, 0
  br i1 %.not127, label %100, label %95

95:                                               ; preds = %90
  %96 = zext i1 %spec.select to i64
  %97 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !13
  call void @pffft_zreorder(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %98, i32 noundef 1)
  %99 = xor i1 %spec.select, true
  br label %100

100:                                              ; preds = %95, %90
  %.2124.in = phi i1 [ %99, %95 ], [ %spec.select, %90 ]
  %.0121 = phi ptr [ %98, %95 ], [ %1, %90 ]
  %101 = getelementptr inbounds i8, ptr %0, i64 68
  %102 = load i32, ptr %101, align 4, !tbaa !14
  %103 = icmp eq i32 %102, 0
  %104 = zext i1 %.2124.in to i64
  %105 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !13
  %107 = getelementptr inbounds i8, ptr %0, i64 80
  %108 = load ptr, ptr %107, align 8, !tbaa !16
  %109 = getelementptr inbounds i8, ptr %0, i64 88
  br i1 %103, label %110, label %114

110:                                              ; preds = %100
  call void @_ZL21pffft_real_preprocessiPKDv4_fPS_S1_(i32 noundef %9, ptr noundef %.0121, ptr noundef %106, ptr noundef %108)
  %111 = load ptr, ptr %109, align 8, !tbaa !15
  %112 = call noundef ptr @_ZL9rfftb1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef %15, ptr noundef %106, ptr noundef %2, ptr noundef nonnull %20, ptr noundef %111, ptr noundef nonnull %10)
  %113 = icmp ne ptr %112, %2
  br label %.loopexit

114:                                              ; preds = %100
  call void @_Z21pffft_cplx_preprocessiPKDv4_fPS_S1_(i32 noundef %9, ptr noundef %.0121, ptr noundef %106, ptr noundef %108)
  %115 = load ptr, ptr %109, align 8, !tbaa !15
  %116 = call noundef ptr @_ZL9cfftf1_psiPKDv4_fPS_S2_PKfPKii(i32 noundef %9, ptr noundef %106, ptr noundef %2, ptr noundef nonnull %20, ptr noundef %115, ptr noundef nonnull %10, i32 noundef 1)
  %117 = icmp ne ptr %116, %2
  %118 = icmp sgt i32 %9, 0
  br i1 %118, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %114
  %119 = zext i1 %117 to i64
  %120 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %119
  %121 = load ptr, ptr %120, align 8, !tbaa !13
  %wide.trip.count = zext nneg i32 %9 to i64
  br label %122

122:                                              ; preds = %.lr.ph, %122
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %122 ]
  %123 = shl nuw nsw i64 %indvars.iv, 1
  %124 = getelementptr inbounds <4 x float>, ptr %121, i64 %123
  %125 = load <4 x float>, ptr %124, align 16, !tbaa !17
  %126 = or disjoint i64 %123, 1
  %127 = getelementptr inbounds <4 x float>, ptr %121, i64 %126
  %128 = load <4 x float>, ptr %127, align 16, !tbaa !17
  %129 = call noundef <4 x float> @_ZL15_mm_unpacklo_psDv4_fS_(<4 x float> noundef %125, <4 x float> noundef %128)
  %130 = load <4 x float>, ptr %124, align 16, !tbaa !17
  %131 = load <4 x float>, ptr %127, align 16, !tbaa !17
  %132 = call noundef <4 x float> @_ZL15_mm_unpackhi_psDv4_fS_(<4 x float> noundef %130, <4 x float> noundef %131)
  store <4 x float> %132, ptr %127, align 16, !tbaa !17
  store <4 x float> %129, ptr %124, align 16, !tbaa !17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %122, !llvm.loop !20

.loopexit:                                        ; preds = %122, %83, %114, %110, %86
  %.3.in = phi i1 [ %.0122.in, %86 ], [ %113, %110 ], [ %117, %114 ], [ %85, %83 ], [ %117, %122 ]
  %133 = zext i1 %.3.in to i64
  %134 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %133
  %135 = load ptr, ptr %134, align 8, !tbaa !13
  %.not129 = icmp eq ptr %135, %2
  br i1 %.not129, label %.thread, label %136

136:                                              ; preds = %.loopexit
  %137 = icmp eq ptr %1, %2
  br i1 %137, label %.preheader, label %140

.preheader:                                       ; preds = %136
  %138 = icmp sgt i32 %9, 0
  br i1 %138, label %.lr.ph134.preheader, label %.loopexit148

.lr.ph134.preheader:                              ; preds = %.preheader
  %wide.trip.count145 = zext nneg i32 %9 to i64
  %xtraiter = and i64 %wide.trip.count145, 1
  %139 = icmp eq i32 %9, 1
  br i1 %139, label %.loopexit148.loopexit.unr-lcssa, label %.lr.ph134.preheader.new

.lr.ph134.preheader.new:                          ; preds = %.lr.ph134.preheader
  %unroll_iter = and i64 %wide.trip.count145, 2147483646
  br label %.lr.ph134

140:                                              ; preds = %136
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 1799, ptr noundef nonnull @__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti) #8
  unreachable

.lr.ph134:                                        ; preds = %.lr.ph134, %.lr.ph134.preheader.new
  %indvars.iv142 = phi i64 [ 0, %.lr.ph134.preheader.new ], [ %indvars.iv.next143.1, %.lr.ph134 ]
  %niter = phi i64 [ 0, %.lr.ph134.preheader.new ], [ %niter.next.1, %.lr.ph134 ]
  %141 = shl nuw nsw i64 %indvars.iv142, 1
  %142 = getelementptr inbounds <4 x float>, ptr %135, i64 %141
  %143 = load <4 x float>, ptr %142, align 16, !tbaa !17
  %144 = or disjoint i64 %141, 1
  %145 = getelementptr inbounds <4 x float>, ptr %135, i64 %144
  %146 = load <4 x float>, ptr %145, align 16, !tbaa !17
  %147 = getelementptr inbounds <4 x float>, ptr %2, i64 %141
  store <4 x float> %143, ptr %147, align 16, !tbaa !17
  %148 = getelementptr inbounds <4 x float>, ptr %2, i64 %144
  store <4 x float> %146, ptr %148, align 16, !tbaa !17
  %indvars.iv.next143 = shl nuw i64 %indvars.iv142, 1
  %149 = or disjoint i64 %indvars.iv.next143, 2
  %150 = getelementptr inbounds <4 x float>, ptr %135, i64 %149
  %151 = load <4 x float>, ptr %150, align 16, !tbaa !17
  %152 = or disjoint i64 %indvars.iv.next143, 3
  %153 = getelementptr inbounds <4 x float>, ptr %135, i64 %152
  %154 = load <4 x float>, ptr %153, align 16, !tbaa !17
  %155 = getelementptr inbounds <4 x float>, ptr %2, i64 %149
  store <4 x float> %151, ptr %155, align 16, !tbaa !17
  %156 = getelementptr inbounds <4 x float>, ptr %2, i64 %152
  store <4 x float> %154, ptr %156, align 16, !tbaa !17
  %indvars.iv.next143.1 = add nuw nsw i64 %indvars.iv142, 2
  %niter.next.1 = add nuw i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit148.loopexit.unr-lcssa.loopexit, label %.lr.ph134, !llvm.loop !21

.loopexit148.loopexit.unr-lcssa.loopexit:         ; preds = %.lr.ph134
  %157 = shl nuw nsw i64 %indvars.iv.next143.1, 1
  br label %.loopexit148.loopexit.unr-lcssa

.loopexit148.loopexit.unr-lcssa:                  ; preds = %.loopexit148.loopexit.unr-lcssa.loopexit, %.lr.ph134.preheader
  %indvars.iv142.unr = phi i64 [ 0, %.lr.ph134.preheader ], [ %157, %.loopexit148.loopexit.unr-lcssa.loopexit ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit148, label %.lr.ph134.epil

.lr.ph134.epil:                                   ; preds = %.loopexit148.loopexit.unr-lcssa
  %158 = getelementptr inbounds <4 x float>, ptr %135, i64 %indvars.iv142.unr
  %159 = load <4 x float>, ptr %158, align 16, !tbaa !17
  %160 = or disjoint i64 %indvars.iv142.unr, 1
  %161 = getelementptr inbounds <4 x float>, ptr %135, i64 %160
  %162 = load <4 x float>, ptr %161, align 16, !tbaa !17
  %163 = getelementptr inbounds <4 x float>, ptr %2, i64 %indvars.iv142.unr
  store <4 x float> %159, ptr %163, align 16, !tbaa !17
  %164 = getelementptr inbounds <4 x float>, ptr %2, i64 %160
  store <4 x float> %162, ptr %164, align 16, !tbaa !17
  br label %.loopexit148

.loopexit148:                                     ; preds = %.lr.ph134.epil, %.loopexit148.loopexit.unr-lcssa, %.preheader
  %165 = xor i1 %.3.in, true
  %.pre = zext i1 %165 to i64
  %.phi.trans.insert = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %.pre
  %.pre147 = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !13
  %166 = icmp eq ptr %.pre147, %2
  br i1 %166, label %.thread, label %167

167:                                              ; preds = %.loopexit148
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 1808, ptr noundef nonnull @__PRETTY_FUNCTION__._Z24pffft_transform_internalP11PFFFT_SetupPKfPfPDv4_f17pffft_direction_ti) #8
  unreachable

.thread:                                          ; preds = %.loopexit, %.loopexit148
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  ret void
}

; Function Attrs: mustprogress noinline uwtable
declare hidden noundef ptr @_ZL9rfftf1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress noinline uwtable
declare hidden void @_ZL19pffft_real_finalizeiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL9cfftf1_psiPKDv4_fPS_S2_PKfPKii(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress noinline uwtable
declare hidden void @_ZL21pffft_real_preprocessiPKDv4_fPS_S1_(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress noinline uwtable
declare hidden noundef ptr @_ZL9rfftb1_psiPKDv4_fPS_S2_PKfPKi(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress noinline 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 #5 = { mustprogress noinline 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 #6 = { mustprogress 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 #7 = { nounwind }
attributes #8 = { 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 = !{!7, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!6, !10, i64 68}
!15 = !{!6, !11, i64 88}
!16 = !{!6, !11, i64 80}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass