; LLVM IR from lzyrapx/Competitive-Programming :: HDUOJ/4093（FFT+容斥原理）.ll (Z3gaov)

; 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.Complex = type { x86_fp80, x86_fp80 }

@polynomialLength = external dso_local global i32, align 4
@a = external dso_local global [13010 x i32], align 16
@p = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@f = external dso_local global [6 x [65536 x %struct.Complex]], align 16
@g = external dso_local global [7 x [65536 x %struct.Complex]], align 16
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@_ZL3par = external hidden constant <{ [10 x i32], <{ i32, [9 x i32] }>, <{ i32, i32, [8 x i32] }>, [10 x i32], [10 x i32], [10 x i32] }>, align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7ComplexC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8multiplyP7ComplexS0_(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4CopyP7ComplexS0_(ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3gaov() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.Complex, align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #7
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %25, %0
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = load i32, ptr @m, align 4, !tbaa !5
  %17 = icmp sle i32 %15, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %28

19:                                               ; preds = %14
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [13010 x i32], ptr @a, i64 0, i64 %21
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %24 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %24, ptr %1, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %19
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %2, align 4, !tbaa !5
  br label %14, !llvm.loop !9

28:                                               ; preds = %18
  store i32 1, ptr @polynomialLength, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %35, %28
  %30 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = load i32, ptr @p, align 4, !tbaa !5
  %33 = mul nsw i32 %31, %32
  %34 = icmp sle i32 %30, %33
  br i1 %34, label %35, label %38

35:                                               ; preds = %29
  %36 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  %37 = shl i32 %36, 1
  store i32 %37, ptr @polynomialLength, align 4, !tbaa !5
  br label %29, !llvm.loop !11

38:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %90, %38
  %40 = load i32, ptr %3, align 4, !tbaa !5
  %41 = load i32, ptr @p, align 4, !tbaa !5
  %42 = icmp sle i32 %40, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %39
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %93

44:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %57, %44
  %46 = load i32, ptr %5, align 4, !tbaa !5
  %47 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  %48 = icmp slt i32 %46, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  store i32 10, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %60

50:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #7
  call void @_ZN7ComplexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %6, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK00000000000000000000)
  %51 = load i32, ptr %3, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %52
  %54 = load i32, ptr %5, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [65536 x %struct.Complex], ptr %53, i64 0, i64 %55
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %56, ptr align 16 %6, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  br label %57

57:                                               ; preds = %50
  %58 = load i32, ptr %5, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %5, align 4, !tbaa !5
  br label %45, !llvm.loop !15

60:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %81, %60
  %62 = load i32, ptr %7, align 4, !tbaa !5
  %63 = load i32, ptr @m, align 4, !tbaa !5
  %64 = icmp sle i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  store i32 13, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %84

66:                                               ; preds = %61
  %67 = load i32, ptr %3, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %68
  %70 = load i32, ptr %3, align 4, !tbaa !5
  %71 = load i32, ptr %7, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [13010 x i32], ptr @a, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = mul nsw i32 %70, %74
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [65536 x %struct.Complex], ptr %69, i64 0, i64 %76
  %78 = getelementptr inbounds %struct.Complex, ptr %77, i32 0, i32 0
  %79 = load x86_fp80, ptr %78, align 16, !tbaa !16
  %80 = fadd x86_fp80 %79, 0xK3FFF8000000000000000
  store x86_fp80 %80, ptr %78, align 16, !tbaa !16
  br label %81

81:                                               ; preds = %66
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %7, align 4, !tbaa !5
  br label %61, !llvm.loop !18

84:                                               ; preds = %65
  %85 = load i32, ptr %3, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %86
  %88 = getelementptr inbounds [65536 x %struct.Complex], ptr %87, i64 0, i64 0
  %89 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  call void @_Z3FFTP7Complexii(ptr noundef %88, i32 noundef %89, i32 noundef 1)
  br label %90

90:                                               ; preds = %84
  %91 = load i32, ptr %3, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %3, align 4, !tbaa !5
  br label %39, !llvm.loop !19

93:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 -1, ptr %8, align 4, !tbaa !5
  %94 = load i32, ptr @p, align 4, !tbaa !5
  switch i32 %94, label %100 [
    i32 1, label %95
    i32 2, label %96
    i32 3, label %97
    i32 4, label %98
    i32 5, label %99
  ]

95:                                               ; preds = %93
  call void @_Z4CopyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %100

96:                                               ; preds = %93
  call void @_Z4CopyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  store i32 2, ptr %8, align 4, !tbaa !5
  br label %100

97:                                               ; preds = %93
  call void @_Z4CopyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 2), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 3))
  store i32 3, ptr %8, align 4, !tbaa !5
  br label %100

98:                                               ; preds = %93
  call void @_Z4CopyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 2), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 2), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 3), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 3))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 3), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 4), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 4))
  store i32 5, ptr %8, align 4, !tbaa !5
  br label %100

99:                                               ; preds = %93
  call void @_Z4CopyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef @g, ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 2), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 2), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 2), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 3), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 3))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 3), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 3), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 4), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 3))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 4), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 2))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 5), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 4))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 5), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 1))
  call void @_Z4CopyP7ComplexS0_(ptr noundef getelementptr inbounds ([7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 6), ptr noundef getelementptr inbounds ([6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 5))
  store i32 7, ptr %8, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %99, %98, %97, %96, %95, %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %112, %100
  %102 = load i32, ptr %9, align 4, !tbaa !5
  %103 = load i32, ptr %8, align 4, !tbaa !5
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 17, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %115

106:                                              ; preds = %101
  %107 = load i32, ptr %9, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 %108
  %110 = getelementptr inbounds [65536 x %struct.Complex], ptr %109, i64 0, i64 0
  %111 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  call void @_Z3FFTP7Complexii(ptr noundef %110, i32 noundef %111, i32 noundef -1)
  br label %112

112:                                              ; preds = %106
  %113 = load i32, ptr %9, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %9, align 4, !tbaa !5
  br label %101, !llvm.loop !20

115:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %173, %115
  %117 = load i32, ptr %10, align 4, !tbaa !5
  %118 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  %119 = icmp slt i32 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  store i32 20, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %176

121:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store double 0.000000e+00, ptr %11, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %148, %121
  %123 = load i32, ptr %12, align 4, !tbaa !5
  %124 = load i32, ptr %8, align 4, !tbaa !5
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 23, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %151

127:                                              ; preds = %122
  %128 = load i32, ptr %12, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 %129
  %131 = load i32, ptr %10, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [65536 x %struct.Complex], ptr %130, i64 0, i64 %132
  %134 = getelementptr inbounds %struct.Complex, ptr %133, i32 0, i32 0
  %135 = load x86_fp80, ptr %134, align 16, !tbaa !16
  %136 = load i32, ptr @p, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %137
  %139 = load i32, ptr %12, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [10 x i32], ptr %138, i64 0, i64 %140
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = sitofp i32 %142 to x86_fp80
  %144 = load double, ptr %11, align 8, !tbaa !21
  %145 = fpext double %144 to x86_fp80
  %146 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %135, x86_fp80 %143, x86_fp80 %145)
  %147 = fptrunc x86_fp80 %146 to double
  store double %147, ptr %11, align 8, !tbaa !21
  br label %148

148:                                              ; preds = %127
  %149 = load i32, ptr %12, align 4, !tbaa !5
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %12, align 4, !tbaa !5
  br label %122, !llvm.loop !23

151:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %152

152:                                              ; preds = %162, %151
  %153 = load i32, ptr %13, align 4, !tbaa !5
  %154 = load i32, ptr @p, align 4, !tbaa !5
  %155 = icmp sle i32 %153, %154
  br i1 %155, label %157, label %156

156:                                              ; preds = %152
  store i32 26, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %165

157:                                              ; preds = %152
  %158 = load i32, ptr %13, align 4, !tbaa !5
  %159 = sitofp i32 %158 to double
  %160 = load double, ptr %11, align 8, !tbaa !21
  %161 = fdiv double %160, %159
  store double %161, ptr %11, align 8, !tbaa !21
  br label %162

162:                                              ; preds = %157
  %163 = load i32, ptr %13, align 4, !tbaa !5
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %13, align 4, !tbaa !5
  br label %152, !llvm.loop !24

165:                                              ; preds = %156
  %166 = load double, ptr %11, align 8, !tbaa !21
  %167 = fcmp ogt double %166, 5.000000e-01
  br i1 %167, label %168, label %172

168:                                              ; preds = %165
  %169 = load i32, ptr %10, align 4, !tbaa !5
  %170 = load double, ptr %11, align 8, !tbaa !21
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %169, double noundef %170)
  br label %172

172:                                              ; preds = %168, %165
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %10, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %10, align 4, !tbaa !5
  br label %116, !llvm.loop !25

176:                                              ; preds = %120
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

declare i32 @printf(ptr noundef, ...) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{i64 0, i64 16, !13, i64 16, i64 16, !13}
!13 = !{!14, !14, i64 0}
!14 = !{!"long double", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = !{!17, !14, i64 0}
!17 = !{!"_ZTS7Complex", !14, i64 0, !14, i64 16}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}


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

%struct.Complex = type { x86_fp80, x86_fp80 }

@polynomialLength = external dso_local local_unnamed_addr global i32, align 4
@a = external dso_local global [13010 x i32], align 16
@p = external dso_local local_unnamed_addr global i32, align 4
@m = external dso_local local_unnamed_addr global i32, align 4
@f = external dso_local global [6 x [65536 x %struct.Complex]], align 16
@g = external dso_local global [7 x [65536 x %struct.Complex]], align 16
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@_ZL3par = external hidden local_unnamed_addr constant <{ [10 x i32], <{ i32, [9 x i32] }>, <{ i32, i32, [8 x i32] }>, [10 x i32], [10 x i32], [10 x i32] }>, align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7ComplexC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8multiplyP7ComplexS0_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4CopyP7ComplexS0_(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3gaov() local_unnamed_addr #3 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.Complex, align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  store i32 0, ptr %1, align 4, !tbaa !5
  %3 = load i32, ptr @m, align 4, !tbaa !5
  %.not57 = icmp slt i32 %3, 1
  br i1 %.not57, label %.preheader54, label %.lr.ph

.preheader54:                                     ; preds = %.lr.ph, %0
  %4 = phi i32 [ 0, %0 ], [ %9, %.lr.ph ]
  %5 = load i32, ptr @p, align 4, !tbaa !5
  %6 = mul nsw i32 %5, %4
  br label %12

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %7 = getelementptr inbounds [13010 x i32], ptr @a, i64 0, i64 %indvars.iv
  %8 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %9 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %9, ptr %1, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %10 = load i32, ptr @m, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %.not.not = icmp slt i64 %indvars.iv, %11
  br i1 %.not.not, label %.lr.ph, label %.preheader54, !llvm.loop !9

12:                                               ; preds = %12, %.preheader54
  %storemerge = phi i32 [ %13, %12 ], [ 1, %.preheader54 ]
  %.not45 = icmp sgt i32 %storemerge, %6
  %13 = shl i32 %storemerge, 1
  br i1 %.not45, label %.preheader53, label %12, !llvm.loop !11

.preheader53:                                     ; preds = %12
  store i32 %storemerge, ptr @polynomialLength, align 4, !tbaa !5
  %.not4664 = icmp slt i32 %5, 1
  br i1 %.not4664, label %._crit_edge66, label %.preheader52

.preheader52thread-pre-split:                     ; preds = %._crit_edge
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %.pr119 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  br label %.preheader52

.preheader52:                                     ; preds = %.preheader53, %.preheader52thread-pre-split
  %14 = phi i32 [ %.pr119, %.preheader52thread-pre-split ], [ %storemerge, %.preheader53 ]
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %.preheader52thread-pre-split ], [ 1, %.preheader53 ]
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph60, label %.preheader51

._crit_edge66:                                    ; preds = %._crit_edge, %.preheader53
  %.lcssa55 = phi i32 [ %5, %.preheader53 ], [ %.pr, %._crit_edge ]
  switch i32 %.lcssa55, label %.preheader50.thread [
    i32 1, label %48
    i32 2, label %49
    i32 3, label %50
    i32 4, label %51
    i32 5, label %52
  ]

.preheader51:                                     ; preds = %.lr.ph60, %.preheader52
  %.lcssa = phi i32 [ %14, %.preheader52 ], [ %21, %.lr.ph60 ]
  %16 = load i32, ptr @m, align 4, !tbaa !5
  %.not4861 = icmp slt i32 %16, 1
  br i1 %.not4861, label %._crit_edge, label %.lr.ph63

.lr.ph63:                                         ; preds = %.preheader51
  %17 = trunc nuw nsw i64 %indvars.iv95 to i32
  %18 = zext nneg i32 %16 to i64
  %xtraiter = and i64 %18, 1
  %19 = icmp eq i32 %16, 1
  br i1 %19, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph63.new

.lr.ph63.new:                                     ; preds = %.lr.ph63
  %unroll_iter = and i64 %18, 2147483646
  br label %33

.lr.ph60:                                         ; preds = %.preheader52, %.lr.ph60
  %indvars.iv89 = phi i64 [ %indvars.iv.next90, %.lr.ph60 ], [ 0, %.preheader52 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #7
  call void @_ZN7ComplexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %2, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xK00000000000000000000)
  %20 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %indvars.iv95, i64 %indvars.iv89
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %20, ptr noundef nonnull align 16 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #7
  %indvars.iv.next90 = add nuw nsw i64 %indvars.iv89, 1
  %21 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = icmp slt i64 %indvars.iv.next90, %22
  br i1 %23, label %.lr.ph60, label %.preheader51, !llvm.loop !15

._crit_edge.loopexit.unr-lcssa:                   ; preds = %33, %.lr.ph63
  %indvars.iv92.unr = phi i64 [ 1, %.lr.ph63 ], [ %indvars.iv.next93.1, %33 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %24 = getelementptr inbounds [13010 x i32], ptr @a, i64 0, i64 %indvars.iv92.unr
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = mul nsw i32 %25, %17
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %indvars.iv95, i64 %27
  %29 = load x86_fp80, ptr %28, align 16, !tbaa !16
  %30 = fadd x86_fp80 %29, 0xK3FFF8000000000000000
  store x86_fp80 %30, ptr %28, align 16, !tbaa !16
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %.preheader51
  %31 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %indvars.iv95
  call void @_Z3FFTP7Complexii(ptr noundef nonnull %31, i32 noundef %.lcssa, i32 noundef 1)
  %.pr = load i32, ptr @p, align 4, !tbaa !5
  %32 = sext i32 %.pr to i64
  %.not46.not = icmp slt i64 %indvars.iv95, %32
  br i1 %.not46.not, label %.preheader52thread-pre-split, label %._crit_edge66, !llvm.loop !18

33:                                               ; preds = %33, %.lr.ph63.new
  %indvars.iv92 = phi i64 [ 1, %.lr.ph63.new ], [ %indvars.iv.next93.1, %33 ]
  %niter = phi i64 [ 0, %.lr.ph63.new ], [ %niter.next.1, %33 ]
  %34 = getelementptr inbounds [13010 x i32], ptr @a, i64 0, i64 %indvars.iv92
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = mul nsw i32 %35, %17
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %indvars.iv95, i64 %37
  %39 = load x86_fp80, ptr %38, align 16, !tbaa !16
  %40 = fadd x86_fp80 %39, 0xK3FFF8000000000000000
  store x86_fp80 %40, ptr %38, align 16, !tbaa !16
  %indvars.iv.next93 = add nuw nsw i64 %indvars.iv92, 1
  %41 = getelementptr inbounds [13010 x i32], ptr @a, i64 0, i64 %indvars.iv.next93
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = mul nsw i32 %42, %17
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [6 x [65536 x %struct.Complex]], ptr @f, i64 0, i64 %indvars.iv95, i64 %44
  %46 = load x86_fp80, ptr %45, align 16, !tbaa !16
  %47 = fadd x86_fp80 %46, 0xK3FFF8000000000000000
  store x86_fp80 %47, ptr %45, align 16, !tbaa !16
  %indvars.iv.next93.1 = add nuw nsw i64 %indvars.iv92, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %33, !llvm.loop !19

48:                                               ; preds = %._crit_edge66
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  br label %.lr.ph70.preheader

49:                                               ; preds = %._crit_edge66
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  br label %.lr.ph70.preheader

50:                                               ; preds = %._crit_edge66
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 4194304), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 6291456))
  br label %.lr.ph70.preheader

51:                                               ; preds = %._crit_edge66
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 4194304), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 4194304), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 6291456), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 6291456))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 6291456), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 8388608), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 8388608))
  br label %.lr.ph70.preheader

52:                                               ; preds = %._crit_edge66
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull @g, ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 2097152), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 4194304), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 4194304), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 4194304), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 6291456), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 6291456))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 6291456), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 6291456), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 8388608), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 6291456))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 8388608), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 4194304))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 10485760), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 8388608))
  call void @_Z8multiplyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 10485760), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 2097152))
  call void @_Z4CopyP7ComplexS0_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 12582912), ptr noundef nonnull getelementptr inbounds (i8, ptr @f, i64 10485760))
  br label %.lr.ph70.preheader

.lr.ph70.preheader:                               ; preds = %52, %51, %50, %49, %48
  %exitcond109.not = phi i1 [ true, %48 ], [ false, %49 ], [ false, %50 ], [ false, %51 ], [ false, %52 ]
  %exitcond109.not.1 = phi i1 [ false, %48 ], [ true, %49 ], [ false, %50 ], [ false, %51 ], [ false, %52 ]
  %exitcond109.not.2 = phi i1 [ false, %48 ], [ false, %49 ], [ true, %50 ], [ false, %51 ], [ false, %52 ]
  %exitcond109.not.4 = phi i1 [ false, %48 ], [ false, %49 ], [ false, %50 ], [ true, %51 ], [ false, %52 ]
  %.038.ph = phi i64 [ 1, %48 ], [ 2, %49 ], [ 3, %50 ], [ 5, %51 ], [ 7, %52 ]
  br label %.lr.ph70

.preheader50:                                     ; preds = %.lr.ph70
  %53 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %.preheader49.us.preheader, label %._crit_edge82

.preheader50.thread:                              ; preds = %._crit_edge66
  %55 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %.preheader49.preheader, label %._crit_edge82

.preheader49.preheader:                           ; preds = %.preheader50.thread
  %.pre114 = load i32, ptr @p, align 4, !tbaa !5
  br label %.preheader49

.preheader49.us.preheader:                        ; preds = %.preheader50
  %.pre117 = load i32, ptr @p, align 4, !tbaa !5
  br label %.preheader49.us

.preheader49.us:                                  ; preds = %.preheader49.us.preheader, %98
  %57 = phi i32 [ %53, %.preheader49.us.preheader ], [ %99, %98 ]
  %58 = phi i32 [ %.pre117, %.preheader49.us.preheader ], [ %100, %98 ]
  %indvars.iv111 = phi i64 [ 0, %.preheader49.us.preheader ], [ %indvars.iv.next112, %98 ]
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 0, i64 %indvars.iv111
  %61 = load x86_fp80, ptr %60, align 16, !tbaa !16
  %62 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %59, i64 0
  %63 = load i32, ptr %62, align 8, !tbaa !5
  %64 = sitofp i32 %63 to x86_fp80
  %65 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %61, x86_fp80 %64, x86_fp80 0xK00000000000000000000)
  %66 = fptrunc x86_fp80 %65 to double
  br i1 %exitcond109.not, label %..preheader_crit_edge.us, label %103, !llvm.loop !20

.lr.ph78.us:                                      ; preds = %.lr.ph78.us, %.lr.ph78.us.preheader.new
  %.077.us = phi i32 [ 1, %.lr.ph78.us.preheader.new ], [ %90, %.lr.ph78.us ]
  %.176.us = phi double [ %.lcssa141, %.lr.ph78.us.preheader.new ], [ %89, %.lr.ph78.us ]
  %niter149 = phi i32 [ 0, %.lr.ph78.us.preheader.new ], [ %niter149.next.7, %.lr.ph78.us ]
  %67 = uitofp nneg i32 %.077.us to double
  %68 = fdiv double %.176.us, %67
  %69 = add nuw nsw i32 %.077.us, 1
  %70 = uitofp nneg i32 %69 to double
  %71 = fdiv double %68, %70
  %72 = add nuw nsw i32 %.077.us, 2
  %73 = uitofp nneg i32 %72 to double
  %74 = fdiv double %71, %73
  %75 = add nuw nsw i32 %.077.us, 3
  %76 = uitofp nneg i32 %75 to double
  %77 = fdiv double %74, %76
  %78 = add nuw nsw i32 %.077.us, 4
  %79 = uitofp nneg i32 %78 to double
  %80 = fdiv double %77, %79
  %81 = add nuw nsw i32 %.077.us, 5
  %82 = uitofp nneg i32 %81 to double
  %83 = fdiv double %80, %82
  %84 = add nuw nsw i32 %.077.us, 6
  %85 = uitofp nneg i32 %84 to double
  %86 = fdiv double %83, %85
  %87 = add nuw i32 %.077.us, 7
  %88 = uitofp nneg i32 %87 to double
  %89 = fdiv double %86, %88
  %90 = add nuw i32 %.077.us, 8
  %niter149.next.7 = add i32 %niter149, 8
  %niter149.ncmp.7 = icmp eq i32 %niter149.next.7, %unroll_iter148
  br i1 %niter149.ncmp.7, label %._crit_edge79.us.loopexit.unr-lcssa, label %.lr.ph78.us, !llvm.loop !21

._crit_edge79.us.loopexit.unr-lcssa:              ; preds = %.lr.ph78.us, %.lr.ph78.us.preheader
  %.lcssa142.ph = phi double [ poison, %.lr.ph78.us.preheader ], [ %89, %.lr.ph78.us ]
  %.077.us.unr = phi i32 [ 1, %.lr.ph78.us.preheader ], [ %90, %.lr.ph78.us ]
  %.176.us.unr = phi double [ %.lcssa141, %.lr.ph78.us.preheader ], [ %89, %.lr.ph78.us ]
  %lcmp.mod146.not = icmp eq i32 %xtraiter145, 0
  br i1 %lcmp.mod146.not, label %._crit_edge79.us, label %.lr.ph78.us.epil

.lr.ph78.us.epil:                                 ; preds = %._crit_edge79.us.loopexit.unr-lcssa, %.lr.ph78.us.epil
  %.077.us.epil = phi i32 [ %93, %.lr.ph78.us.epil ], [ %.077.us.unr, %._crit_edge79.us.loopexit.unr-lcssa ]
  %.176.us.epil = phi double [ %92, %.lr.ph78.us.epil ], [ %.176.us.unr, %._crit_edge79.us.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph78.us.epil ], [ 0, %._crit_edge79.us.loopexit.unr-lcssa ]
  %91 = uitofp nneg i32 %.077.us.epil to double
  %92 = fdiv double %.176.us.epil, %91
  %93 = add nuw i32 %.077.us.epil, 1
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter145
  br i1 %epil.iter.cmp.not, label %._crit_edge79.us, label %.lr.ph78.us.epil, !llvm.loop !22

._crit_edge79.us:                                 ; preds = %._crit_edge79.us.loopexit.unr-lcssa, %.lr.ph78.us.epil, %..preheader_crit_edge.us
  %.1.lcssa.us = phi double [ %.lcssa141, %..preheader_crit_edge.us ], [ %.lcssa142.ph, %._crit_edge79.us.loopexit.unr-lcssa ], [ %92, %.lr.ph78.us.epil ]
  %94 = fcmp ogt double %.1.lcssa.us, 5.000000e-01
  br i1 %94, label %95, label %98

95:                                               ; preds = %._crit_edge79.us
  %96 = trunc nuw nsw i64 %indvars.iv111 to i32
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %96, double noundef %.1.lcssa.us)
  %.pre116 = load i32, ptr @p, align 4, !tbaa !5
  %.pre118 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %95, %._crit_edge79.us
  %99 = phi i32 [ %.pre118, %95 ], [ %57, %._crit_edge79.us ]
  %100 = phi i32 [ %.pre116, %95 ], [ %58, %._crit_edge79.us ]
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %101 = sext i32 %99 to i64
  %102 = icmp slt i64 %indvars.iv.next112, %101
  br i1 %102, label %.preheader49.us, label %._crit_edge82, !llvm.loop !24

103:                                              ; preds = %.preheader49.us
  %104 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 1, i64 %indvars.iv111
  %105 = load x86_fp80, ptr %104, align 16, !tbaa !16
  %106 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %59, i64 1
  %107 = load i32, ptr %106, align 4, !tbaa !5
  %108 = sitofp i32 %107 to x86_fp80
  %109 = fpext double %66 to x86_fp80
  %110 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %105, x86_fp80 %108, x86_fp80 %109)
  %111 = fptrunc x86_fp80 %110 to double
  br i1 %exitcond109.not.1, label %..preheader_crit_edge.us, label %112, !llvm.loop !20

112:                                              ; preds = %103
  %113 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 2, i64 %indvars.iv111
  %114 = load x86_fp80, ptr %113, align 16, !tbaa !16
  %115 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %59, i64 2
  %116 = load i32, ptr %115, align 8, !tbaa !5
  %117 = sitofp i32 %116 to x86_fp80
  %118 = fpext double %111 to x86_fp80
  %119 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %114, x86_fp80 %117, x86_fp80 %118)
  %120 = fptrunc x86_fp80 %119 to double
  br i1 %exitcond109.not.2, label %..preheader_crit_edge.us, label %121, !llvm.loop !20

121:                                              ; preds = %112
  %122 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 3, i64 %indvars.iv111
  %123 = load x86_fp80, ptr %122, align 16, !tbaa !16
  %124 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %59, i64 3
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = sitofp i32 %125 to x86_fp80
  %127 = fpext double %120 to x86_fp80
  %128 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %123, x86_fp80 %126, x86_fp80 %127)
  %129 = fptrunc x86_fp80 %128 to double
  %130 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 4, i64 %indvars.iv111
  %131 = load x86_fp80, ptr %130, align 16, !tbaa !16
  %132 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %59, i64 4
  %133 = load i32, ptr %132, align 8, !tbaa !5
  %134 = sitofp i32 %133 to x86_fp80
  %135 = fpext double %129 to x86_fp80
  %136 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %131, x86_fp80 %134, x86_fp80 %135)
  %137 = fptrunc x86_fp80 %136 to double
  br i1 %exitcond109.not.4, label %..preheader_crit_edge.us, label %138, !llvm.loop !20

138:                                              ; preds = %121
  %139 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 5, i64 %indvars.iv111
  %140 = load x86_fp80, ptr %139, align 16, !tbaa !16
  %141 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %59, i64 5
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = sitofp i32 %142 to x86_fp80
  %144 = fpext double %137 to x86_fp80
  %145 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %140, x86_fp80 %143, x86_fp80 %144)
  %146 = fptrunc x86_fp80 %145 to double
  %147 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 6, i64 %indvars.iv111
  %148 = load x86_fp80, ptr %147, align 16, !tbaa !16
  %149 = getelementptr inbounds [6 x [10 x i32]], ptr @_ZL3par, i64 0, i64 %59, i64 6
  %150 = load i32, ptr %149, align 8, !tbaa !5
  %151 = sitofp i32 %150 to x86_fp80
  %152 = fpext double %146 to x86_fp80
  %153 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %148, x86_fp80 %151, x86_fp80 %152)
  %154 = fptrunc x86_fp80 %153 to double
  br label %..preheader_crit_edge.us

..preheader_crit_edge.us:                         ; preds = %138, %121, %112, %103, %.preheader49.us
  %.lcssa141 = phi double [ %66, %.preheader49.us ], [ %111, %103 ], [ %120, %112 ], [ %137, %121 ], [ %154, %138 ]
  %.not4775.us = icmp slt i32 %58, 1
  br i1 %.not4775.us, label %._crit_edge79.us, label %.lr.ph78.us.preheader

.lr.ph78.us.preheader:                            ; preds = %..preheader_crit_edge.us
  %xtraiter145 = and i32 %58, 7
  %155 = icmp ult i32 %58, 8
  br i1 %155, label %._crit_edge79.us.loopexit.unr-lcssa, label %.lr.ph78.us.preheader.new

.lr.ph78.us.preheader.new:                        ; preds = %.lr.ph78.us.preheader
  %unroll_iter148 = and i32 %58, 2147483640
  br label %.lr.ph78.us

.lr.ph70:                                         ; preds = %.lr.ph70.preheader, %.lr.ph70
  %indvars.iv98 = phi i64 [ 0, %.lr.ph70.preheader ], [ %indvars.iv.next99, %.lr.ph70 ]
  %156 = getelementptr inbounds [7 x [65536 x %struct.Complex]], ptr @g, i64 0, i64 %indvars.iv98
  %157 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  call void @_Z3FFTP7Complexii(ptr noundef nonnull %156, i32 noundef %157, i32 noundef -1)
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %exitcond102.not = icmp eq i64 %indvars.iv.next99, %.038.ph
  br i1 %exitcond102.not, label %.preheader50, label %.lr.ph70, !llvm.loop !25

.preheader49:                                     ; preds = %.preheader49.preheader, %._crit_edge79.thread
  %158 = phi i32 [ %191, %._crit_edge79.thread ], [ %55, %.preheader49.preheader ]
  %159 = phi i32 [ %192, %._crit_edge79.thread ], [ %.pre114, %.preheader49.preheader ]
  %.03681 = phi i32 [ %193, %._crit_edge79.thread ], [ 0, %.preheader49.preheader ]
  %.not4775 = icmp slt i32 %159, 1
  br i1 %.not4775, label %._crit_edge79.thread, label %.lr.ph78.preheader

.lr.ph78.preheader:                               ; preds = %.preheader49
  %xtraiter150 = and i32 %159, 7
  %160 = icmp ult i32 %159, 8
  br i1 %160, label %._crit_edge79.unr-lcssa, label %.lr.ph78.preheader.new

.lr.ph78.preheader.new:                           ; preds = %.lr.ph78.preheader
  %unroll_iter154 = and i32 %159, 2147483640
  br label %.lr.ph78

._crit_edge82:                                    ; preds = %98, %._crit_edge79.thread, %.preheader50.thread, %.preheader50
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret void

._crit_edge79.unr-lcssa:                          ; preds = %.lr.ph78, %.lr.ph78.preheader
  %.lcssa139.ph = phi double [ poison, %.lr.ph78.preheader ], [ %187, %.lr.ph78 ]
  %.077.unr = phi i32 [ 1, %.lr.ph78.preheader ], [ %188, %.lr.ph78 ]
  %.176.unr = phi double [ 0.000000e+00, %.lr.ph78.preheader ], [ %187, %.lr.ph78 ]
  %lcmp.mod152.not = icmp eq i32 %xtraiter150, 0
  br i1 %lcmp.mod152.not, label %._crit_edge79, label %.lr.ph78.epil

.lr.ph78.epil:                                    ; preds = %._crit_edge79.unr-lcssa, %.lr.ph78.epil
  %.077.epil = phi i32 [ %163, %.lr.ph78.epil ], [ %.077.unr, %._crit_edge79.unr-lcssa ]
  %.176.epil = phi double [ %162, %.lr.ph78.epil ], [ %.176.unr, %._crit_edge79.unr-lcssa ]
  %epil.iter151 = phi i32 [ %epil.iter151.next, %.lr.ph78.epil ], [ 0, %._crit_edge79.unr-lcssa ]
  %161 = uitofp nneg i32 %.077.epil to double
  %162 = fdiv double %.176.epil, %161
  %163 = add nuw i32 %.077.epil, 1
  %epil.iter151.next = add i32 %epil.iter151, 1
  %epil.iter151.cmp.not = icmp eq i32 %epil.iter151.next, %xtraiter150
  br i1 %epil.iter151.cmp.not, label %._crit_edge79, label %.lr.ph78.epil, !llvm.loop !26

._crit_edge79:                                    ; preds = %.lr.ph78.epil, %._crit_edge79.unr-lcssa
  %.lcssa139 = phi double [ %.lcssa139.ph, %._crit_edge79.unr-lcssa ], [ %162, %.lr.ph78.epil ]
  %164 = fcmp ogt double %.lcssa139, 5.000000e-01
  br i1 %164, label %189, label %._crit_edge79.thread

.lr.ph78:                                         ; preds = %.lr.ph78, %.lr.ph78.preheader.new
  %.077 = phi i32 [ 1, %.lr.ph78.preheader.new ], [ %188, %.lr.ph78 ]
  %.176 = phi double [ 0.000000e+00, %.lr.ph78.preheader.new ], [ %187, %.lr.ph78 ]
  %niter155 = phi i32 [ 0, %.lr.ph78.preheader.new ], [ %niter155.next.7, %.lr.ph78 ]
  %165 = uitofp nneg i32 %.077 to double
  %166 = fdiv double %.176, %165
  %167 = add nuw nsw i32 %.077, 1
  %168 = uitofp nneg i32 %167 to double
  %169 = fdiv double %166, %168
  %170 = add nuw nsw i32 %.077, 2
  %171 = uitofp nneg i32 %170 to double
  %172 = fdiv double %169, %171
  %173 = add nuw nsw i32 %.077, 3
  %174 = uitofp nneg i32 %173 to double
  %175 = fdiv double %172, %174
  %176 = add nuw nsw i32 %.077, 4
  %177 = uitofp nneg i32 %176 to double
  %178 = fdiv double %175, %177
  %179 = add nuw nsw i32 %.077, 5
  %180 = uitofp nneg i32 %179 to double
  %181 = fdiv double %178, %180
  %182 = add nuw nsw i32 %.077, 6
  %183 = uitofp nneg i32 %182 to double
  %184 = fdiv double %181, %183
  %185 = add nuw i32 %.077, 7
  %186 = uitofp nneg i32 %185 to double
  %187 = fdiv double %184, %186
  %188 = add nuw i32 %.077, 8
  %niter155.next.7 = add i32 %niter155, 8
  %niter155.ncmp.7 = icmp eq i32 %niter155.next.7, %unroll_iter154
  br i1 %niter155.ncmp.7, label %._crit_edge79.unr-lcssa, label %.lr.ph78, !llvm.loop !21

189:                                              ; preds = %._crit_edge79
  %190 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %.03681, double noundef %.lcssa139)
  %.pre = load i32, ptr @p, align 4, !tbaa !5
  %.pre115 = load i32, ptr @polynomialLength, align 4, !tbaa !5
  br label %._crit_edge79.thread

._crit_edge79.thread:                             ; preds = %.preheader49, %189, %._crit_edge79
  %191 = phi i32 [ %.pre115, %189 ], [ %158, %._crit_edge79 ], [ %158, %.preheader49 ]
  %192 = phi i32 [ %.pre, %189 ], [ %159, %._crit_edge79 ], [ %159, %.preheader49 ]
  %193 = add nuw nsw i32 %.03681, 1
  %194 = icmp slt i32 %193, %191
  br i1 %194, label %.preheader49, label %._crit_edge82, !llvm.loop !24
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{i64 0, i64 16, !13, i64 16, i64 16, !13}
!13 = !{!14, !14, i64 0}
!14 = !{!"long double", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = !{!17, !14, i64 0}
!17 = !{!"_ZTS7Complex", !14, i64 0, !14, i64 16}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !23}


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