; LLVM IR from tangjz/acm-icpc :: lydsy (4503)

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

@X = external dso_local global [262144 x %struct.complex], align 16
@Y = external dso_local global [262144 x %struct.complex], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@len = external dso_local global i32, align 4
@cnt = external dso_local global i32, align 4
@out = external dso_local global [100001 x i32], align 16
@s = external dso_local global [100001 x i8], align 16
@t = external dso_local global [100001 x i8], align 16
@f = external dso_local global [262144 x i64], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; 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 #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmlRK7complexS1_(ptr dead_on_unwind noalias writable sret(%struct.complex) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmiRK7complexS1_(ptr dead_on_unwind noalias writable sret(%struct.complex) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #0

; 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) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %struct.complex, align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.complex, align 16
  %7 = alloca %struct.complex, align 16
  %8 = alloca %struct.complex, align 16
  %9 = alloca %struct.complex, align 16
  %10 = alloca %struct.complex, align 16
  %11 = alloca %struct.complex, align 16
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.complex, align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.complex, align 16
  %18 = alloca %struct.complex, align 16
  %19 = alloca %struct.complex, align 16
  %20 = alloca %struct.complex, align 16
  %21 = alloca %struct.complex, align 16
  %22 = alloca %struct.complex, align 16
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %struct.complex, align 16
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %struct.complex, align 16
  %29 = alloca %struct.complex, align 16
  %30 = alloca %struct.complex, align 16
  %31 = alloca %struct.complex, align 16
  %32 = alloca %struct.complex, align 16
  %33 = alloca %struct.complex, align 16
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %36 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t, ptr noundef @s)
  %37 = call i64 @strlen(ptr noundef @s) #9
  %38 = trunc i64 %37 to i32
  store i32 %38, ptr @n, align 4, !tbaa !5
  %39 = call i64 @strlen(ptr noundef @t) #9
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr @m, align 4, !tbaa !5
  %41 = load i32, ptr @n, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds i8, ptr @s, i64 %42
  call void @_ZSt7reverseIPcEvT_S1_(ptr noundef @s, ptr noundef %43)
  store i32 1, ptr @len, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %51, %0
  %45 = load i32, ptr @len, align 4, !tbaa !5
  %46 = load i32, ptr @n, align 4, !tbaa !5
  %47 = load i32, ptr @m, align 4, !tbaa !5
  %48 = add nsw i32 %46, %47
  %49 = icmp slt i32 %45, %48
  br i1 %49, label %50, label %54

50:                                               ; preds = %44
  br label %51

51:                                               ; preds = %50
  %52 = load i32, ptr @len, align 4, !tbaa !5
  %53 = shl i32 %52, 1
  store i32 %53, ptr @len, align 4, !tbaa !5
  br label %44, !llvm.loop !9

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

55:                                               ; preds = %91, %54
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = load i32, ptr @len, align 4, !tbaa !5
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  br label %94

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #10
  %61 = load i32, ptr %2, align 4, !tbaa !5
  %62 = load i32, ptr @n, align 4, !tbaa !5
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %64, label %71

64:                                               ; preds = %60
  %65 = load i32, ptr %2, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [100001 x i8], ptr @s, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !11
  %69 = call noundef i32 @_Z5transc(i8 noundef signext %68)
  %70 = call noundef i32 @_Z3Cubi(i32 noundef %69)
  br label %72

71:                                               ; preds = %60
  br label %72

72:                                               ; preds = %71, %64
  %73 = phi i32 [ %70, %64 ], [ 0, %71 ]
  %74 = sitofp i32 %73 to x86_fp80
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = load i32, ptr @m, align 4, !tbaa !5
  %77 = icmp slt i32 %75, %76
  br i1 %77, label %78, label %84

78:                                               ; preds = %72
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [100001 x i8], ptr @t, i64 0, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !11
  %83 = call noundef i32 @_Z5transc(i8 noundef signext %82)
  br label %85

84:                                               ; preds = %72
  br label %85

85:                                               ; preds = %84, %78
  %86 = phi i32 [ %83, %78 ], [ 0, %84 ]
  %87 = sitofp i32 %86 to x86_fp80
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %3, x86_fp80 noundef %74, x86_fp80 noundef %87)
  %88 = load i32, ptr %2, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %89
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %90, ptr align 16 %3, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #10
  br label %91

91:                                               ; preds = %85
  %92 = load i32, ptr %2, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %2, align 4, !tbaa !5
  br label %55, !llvm.loop !15

94:                                               ; preds = %59
  %95 = load i32, ptr @len, align 4, !tbaa !5
  call void @_Z3FFTP7complexii(ptr noundef @X, i32 noundef %95, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %123, %94
  %97 = load i32, ptr %4, align 4, !tbaa !5
  %98 = load i32, ptr @len, align 4, !tbaa !5
  %99 = icmp slt i32 %97, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  br label %126

101:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  %102 = load i32, ptr @len, align 4, !tbaa !5
  %103 = load i32, ptr %4, align 4, !tbaa !5
  %104 = sub nsw i32 %102, %103
  %105 = load i32, ptr @len, align 4, !tbaa !5
  %106 = sub nsw i32 %105, 1
  %107 = and i32 %104, %106
  store i32 %107, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #10
  %108 = load i32, ptr %4, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %109
  %111 = load i32, ptr %4, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %112
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %8, ptr noundef nonnull align 16 dereferenceable(32) %110, ptr noundef nonnull align 16 dereferenceable(32) %113)
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #10
  %114 = load i32, ptr %5, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %115
  %117 = load i32, ptr %5, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %118
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %10, ptr noundef nonnull align 16 dereferenceable(32) %116, ptr noundef nonnull align 16 dereferenceable(32) %119)
  call void @_ZN7complex4conjEv(ptr dead_on_unwind writable sret(%struct.complex) align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %10)
  call void @_ZmiRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %7, ptr noundef nonnull align 16 dereferenceable(32) %8, ptr noundef nonnull align 16 dereferenceable(32) %9)
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #10
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %11, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFD8000000000000000)
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %6, ptr noundef nonnull align 16 dereferenceable(32) %7, ptr noundef nonnull align 16 dereferenceable(32) %11)
  %120 = load i32, ptr %4, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %121
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %122, ptr align 16 %6, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  br label %123

123:                                              ; preds = %101
  %124 = load i32, ptr %4, align 4, !tbaa !5
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %4, align 4, !tbaa !5
  br label %96, !llvm.loop !16

126:                                              ; preds = %100
  %127 = load i32, ptr @len, align 4, !tbaa !5
  call void @_Z3FFTP7complexii(ptr noundef @Y, i32 noundef %127, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %151, %126
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = load i32, ptr @m, align 4, !tbaa !5
  %131 = load i32, ptr @n, align 4, !tbaa !5
  %132 = sub nsw i32 %130, %131
  %133 = icmp sle i32 %129, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %154

135:                                              ; preds = %128
  %136 = load i32, ptr @n, align 4, !tbaa !5
  %137 = sub nsw i32 %136, 1
  %138 = load i32, ptr %12, align 4, !tbaa !5
  %139 = add nsw i32 %137, %138
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %140
  %142 = getelementptr inbounds %struct.complex, ptr %141, i32 0, i32 0
  %143 = load x86_fp80, ptr %142, align 16, !tbaa !17
  %144 = fadd x86_fp80 %143, 0xK3FFE8000000000000000
  %145 = fptosi x86_fp80 %144 to i64
  %146 = load i32, ptr %12, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %147
  %149 = load i64, ptr %148, align 8, !tbaa !19
  %150 = add nsw i64 %149, %145
  store i64 %150, ptr %148, align 8, !tbaa !19
  br label %151

151:                                              ; preds = %135
  %152 = load i32, ptr %12, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %12, align 4, !tbaa !5
  br label %128, !llvm.loop !21

154:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %155

155:                                              ; preds = %191, %154
  %156 = load i32, ptr %13, align 4, !tbaa !5
  %157 = load i32, ptr @len, align 4, !tbaa !5
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %160, label %159

159:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  br label %194

160:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #10
  %161 = load i32, ptr %13, align 4, !tbaa !5
  %162 = load i32, ptr @n, align 4, !tbaa !5
  %163 = icmp slt i32 %161, %162
  br i1 %163, label %164, label %170

164:                                              ; preds = %160
  %165 = load i32, ptr %13, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [100001 x i8], ptr @s, i64 0, i64 %166
  %168 = load i8, ptr %167, align 1, !tbaa !11
  %169 = call noundef i32 @_Z5transc(i8 noundef signext %168)
  br label %171

170:                                              ; preds = %160
  br label %171

171:                                              ; preds = %170, %164
  %172 = phi i32 [ %169, %164 ], [ 0, %170 ]
  %173 = sitofp i32 %172 to x86_fp80
  %174 = load i32, ptr %13, align 4, !tbaa !5
  %175 = load i32, ptr @m, align 4, !tbaa !5
  %176 = icmp slt i32 %174, %175
  br i1 %176, label %177, label %184

177:                                              ; preds = %171
  %178 = load i32, ptr %13, align 4, !tbaa !5
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [100001 x i8], ptr @t, i64 0, i64 %179
  %181 = load i8, ptr %180, align 1, !tbaa !11
  %182 = call noundef i32 @_Z5transc(i8 noundef signext %181)
  %183 = call noundef i32 @_Z3Cubi(i32 noundef %182)
  br label %185

184:                                              ; preds = %171
  br label %185

185:                                              ; preds = %184, %177
  %186 = phi i32 [ %183, %177 ], [ 0, %184 ]
  %187 = sitofp i32 %186 to x86_fp80
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef %173, x86_fp80 noundef %187)
  %188 = load i32, ptr %13, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %189
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %190, ptr align 16 %14, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #10
  br label %191

191:                                              ; preds = %185
  %192 = load i32, ptr %13, align 4, !tbaa !5
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %13, align 4, !tbaa !5
  br label %155, !llvm.loop !22

194:                                              ; preds = %159
  %195 = load i32, ptr @len, align 4, !tbaa !5
  call void @_Z3FFTP7complexii(ptr noundef @X, i32 noundef %195, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %196

196:                                              ; preds = %223, %194
  %197 = load i32, ptr %15, align 4, !tbaa !5
  %198 = load i32, ptr @len, align 4, !tbaa !5
  %199 = icmp slt i32 %197, %198
  br i1 %199, label %201, label %200

200:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %226

201:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  %202 = load i32, ptr @len, align 4, !tbaa !5
  %203 = load i32, ptr %15, align 4, !tbaa !5
  %204 = sub nsw i32 %202, %203
  %205 = load i32, ptr @len, align 4, !tbaa !5
  %206 = sub nsw i32 %205, 1
  %207 = and i32 %204, %206
  store i32 %207, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #10
  %208 = load i32, ptr %15, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %209
  %211 = load i32, ptr %15, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %212
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %19, ptr noundef nonnull align 16 dereferenceable(32) %210, ptr noundef nonnull align 16 dereferenceable(32) %213)
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #10
  %214 = load i32, ptr %16, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %215
  %217 = load i32, ptr %16, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %218
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %21, ptr noundef nonnull align 16 dereferenceable(32) %216, ptr noundef nonnull align 16 dereferenceable(32) %219)
  call void @_ZN7complex4conjEv(ptr dead_on_unwind writable sret(%struct.complex) align 16 %20, ptr noundef nonnull align 16 dereferenceable(32) %21)
  call void @_ZmiRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %18, ptr noundef nonnull align 16 dereferenceable(32) %19, ptr noundef nonnull align 16 dereferenceable(32) %20)
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #10
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %22, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFD8000000000000000)
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %17, ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull align 16 dereferenceable(32) %22)
  %220 = load i32, ptr %15, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %221
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %222, ptr align 16 %17, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  br label %223

223:                                              ; preds = %201
  %224 = load i32, ptr %15, align 4, !tbaa !5
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr %15, align 4, !tbaa !5
  br label %196, !llvm.loop !23

226:                                              ; preds = %200
  %227 = load i32, ptr @len, align 4, !tbaa !5
  call void @_Z3FFTP7complexii(ptr noundef @Y, i32 noundef %227, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %228

228:                                              ; preds = %251, %226
  %229 = load i32, ptr %23, align 4, !tbaa !5
  %230 = load i32, ptr @m, align 4, !tbaa !5
  %231 = load i32, ptr @n, align 4, !tbaa !5
  %232 = sub nsw i32 %230, %231
  %233 = icmp sle i32 %229, %232
  br i1 %233, label %235, label %234

234:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  br label %254

235:                                              ; preds = %228
  %236 = load i32, ptr @n, align 4, !tbaa !5
  %237 = sub nsw i32 %236, 1
  %238 = load i32, ptr %23, align 4, !tbaa !5
  %239 = add nsw i32 %237, %238
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %240
  %242 = getelementptr inbounds %struct.complex, ptr %241, i32 0, i32 0
  %243 = load x86_fp80, ptr %242, align 16, !tbaa !17
  %244 = fadd x86_fp80 %243, 0xK3FFE8000000000000000
  %245 = fptosi x86_fp80 %244 to i64
  %246 = load i32, ptr %23, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %247
  %249 = load i64, ptr %248, align 8, !tbaa !19
  %250 = add nsw i64 %249, %245
  store i64 %250, ptr %248, align 8, !tbaa !19
  br label %251

251:                                              ; preds = %235
  %252 = load i32, ptr %23, align 4, !tbaa !5
  %253 = add nsw i32 %252, 1
  store i32 %253, ptr %23, align 4, !tbaa !5
  br label %228, !llvm.loop !24

254:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %255

255:                                              ; preds = %292, %254
  %256 = load i32, ptr %24, align 4, !tbaa !5
  %257 = load i32, ptr @len, align 4, !tbaa !5
  %258 = icmp slt i32 %256, %257
  br i1 %258, label %260, label %259

259:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  br label %295

260:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #10
  %261 = load i32, ptr %24, align 4, !tbaa !5
  %262 = load i32, ptr @n, align 4, !tbaa !5
  %263 = icmp slt i32 %261, %262
  br i1 %263, label %264, label %271

264:                                              ; preds = %260
  %265 = load i32, ptr %24, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [100001 x i8], ptr @s, i64 0, i64 %266
  %268 = load i8, ptr %267, align 1, !tbaa !11
  %269 = call noundef i32 @_Z5transc(i8 noundef signext %268)
  %270 = call noundef i32 @_Z3Squi(i32 noundef %269)
  br label %272

271:                                              ; preds = %260
  br label %272

272:                                              ; preds = %271, %264
  %273 = phi i32 [ %270, %264 ], [ 0, %271 ]
  %274 = sitofp i32 %273 to x86_fp80
  %275 = load i32, ptr %24, align 4, !tbaa !5
  %276 = load i32, ptr @m, align 4, !tbaa !5
  %277 = icmp slt i32 %275, %276
  br i1 %277, label %278, label %285

278:                                              ; preds = %272
  %279 = load i32, ptr %24, align 4, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds [100001 x i8], ptr @t, i64 0, i64 %280
  %282 = load i8, ptr %281, align 1, !tbaa !11
  %283 = call noundef i32 @_Z5transc(i8 noundef signext %282)
  %284 = call noundef i32 @_Z3Squi(i32 noundef %283)
  br label %286

285:                                              ; preds = %272
  br label %286

286:                                              ; preds = %285, %278
  %287 = phi i32 [ %284, %278 ], [ 0, %285 ]
  %288 = sitofp i32 %287 to x86_fp80
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %25, x86_fp80 noundef %274, x86_fp80 noundef %288)
  %289 = load i32, ptr %24, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %290
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %291, ptr align 16 %25, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #10
  br label %292

292:                                              ; preds = %286
  %293 = load i32, ptr %24, align 4, !tbaa !5
  %294 = add nsw i32 %293, 1
  store i32 %294, ptr %24, align 4, !tbaa !5
  br label %255, !llvm.loop !25

295:                                              ; preds = %259
  %296 = load i32, ptr @len, align 4, !tbaa !5
  call void @_Z3FFTP7complexii(ptr noundef @X, i32 noundef %296, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %297

297:                                              ; preds = %324, %295
  %298 = load i32, ptr %26, align 4, !tbaa !5
  %299 = load i32, ptr @len, align 4, !tbaa !5
  %300 = icmp slt i32 %298, %299
  br i1 %300, label %302, label %301

301:                                              ; preds = %297
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  br label %327

302:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  %303 = load i32, ptr @len, align 4, !tbaa !5
  %304 = load i32, ptr %26, align 4, !tbaa !5
  %305 = sub nsw i32 %303, %304
  %306 = load i32, ptr @len, align 4, !tbaa !5
  %307 = sub nsw i32 %306, 1
  %308 = and i32 %305, %307
  store i32 %308, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #10
  %309 = load i32, ptr %26, align 4, !tbaa !5
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %310
  %312 = load i32, ptr %26, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %313
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %30, ptr noundef nonnull align 16 dereferenceable(32) %311, ptr noundef nonnull align 16 dereferenceable(32) %314)
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #10
  %315 = load i32, ptr %27, align 4, !tbaa !5
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %316
  %318 = load i32, ptr %27, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %319
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %32, ptr noundef nonnull align 16 dereferenceable(32) %317, ptr noundef nonnull align 16 dereferenceable(32) %320)
  call void @_ZN7complex4conjEv(ptr dead_on_unwind writable sret(%struct.complex) align 16 %31, ptr noundef nonnull align 16 dereferenceable(32) %32)
  call void @_ZmiRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %29, ptr noundef nonnull align 16 dereferenceable(32) %30, ptr noundef nonnull align 16 dereferenceable(32) %31)
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #10
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %33, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFD8000000000000000)
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind writable sret(%struct.complex) align 16 %28, ptr noundef nonnull align 16 dereferenceable(32) %29, ptr noundef nonnull align 16 dereferenceable(32) %33)
  %321 = load i32, ptr %26, align 4, !tbaa !5
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %322
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %323, ptr align 16 %28, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %324

324:                                              ; preds = %302
  %325 = load i32, ptr %26, align 4, !tbaa !5
  %326 = add nsw i32 %325, 1
  store i32 %326, ptr %26, align 4, !tbaa !5
  br label %297, !llvm.loop !26

327:                                              ; preds = %301
  %328 = load i32, ptr @len, align 4, !tbaa !5
  call void @_Z3FFTP7complexii(ptr noundef @Y, i32 noundef %328, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %329

329:                                              ; preds = %365, %327
  %330 = load i32, ptr %34, align 4, !tbaa !5
  %331 = load i32, ptr @m, align 4, !tbaa !5
  %332 = load i32, ptr @n, align 4, !tbaa !5
  %333 = sub nsw i32 %331, %332
  %334 = icmp sle i32 %330, %333
  br i1 %334, label %336, label %335

335:                                              ; preds = %329
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  br label %368

336:                                              ; preds = %329
  %337 = load i32, ptr @n, align 4, !tbaa !5
  %338 = sub nsw i32 %337, 1
  %339 = load i32, ptr %34, align 4, !tbaa !5
  %340 = add nsw i32 %338, %339
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %341
  %343 = getelementptr inbounds %struct.complex, ptr %342, i32 0, i32 0
  %344 = load x86_fp80, ptr %343, align 16, !tbaa !17
  %345 = fadd x86_fp80 %344, 0xK3FFE8000000000000000
  %346 = fptosi x86_fp80 %345 to i64
  %347 = shl i64 %346, 1
  %348 = load i32, ptr %34, align 4, !tbaa !5
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %349
  %351 = load i64, ptr %350, align 8, !tbaa !19
  %352 = sub nsw i64 %351, %347
  store i64 %352, ptr %350, align 8, !tbaa !19
  %353 = load i32, ptr %34, align 4, !tbaa !5
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %354
  %356 = load i64, ptr %355, align 8, !tbaa !19
  %357 = icmp ne i64 %356, 0
  br i1 %357, label %364, label %358

358:                                              ; preds = %336
  %359 = load i32, ptr %34, align 4, !tbaa !5
  %360 = load i32, ptr @cnt, align 4, !tbaa !5
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr @cnt, align 4, !tbaa !5
  %362 = sext i32 %360 to i64
  %363 = getelementptr inbounds [100001 x i32], ptr @out, i64 0, i64 %362
  store i32 %359, ptr %363, align 4, !tbaa !5
  br label %364

364:                                              ; preds = %358, %336
  br label %365

365:                                              ; preds = %364
  %366 = load i32, ptr %34, align 4, !tbaa !5
  %367 = add nsw i32 %366, 1
  store i32 %367, ptr %34, align 4, !tbaa !5
  br label %329, !llvm.loop !27

368:                                              ; preds = %335
  %369 = load i32, ptr @cnt, align 4, !tbaa !5
  %370 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %369)
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  store i32 0, ptr %35, align 4, !tbaa !5
  br label %371

371:                                              ; preds = %382, %368
  %372 = load i32, ptr %35, align 4, !tbaa !5
  %373 = load i32, ptr @cnt, align 4, !tbaa !5
  %374 = icmp slt i32 %372, %373
  br i1 %374, label %376, label %375

375:                                              ; preds = %371
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  br label %385

376:                                              ; preds = %371
  %377 = load i32, ptr %35, align 4, !tbaa !5
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds [100001 x i32], ptr @out, i64 0, i64 %378
  %380 = load i32, ptr %379, align 4, !tbaa !5
  %381 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %380)
  br label %382

382:                                              ; preds = %376
  %383 = load i32, ptr %35, align 4, !tbaa !5
  %384 = add nsw i32 %383, 1
  store i32 %384, ptr %35, align 4, !tbaa !5
  br label %371, !llvm.loop !28

385:                                              ; preds = %375
  ret i32 0
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #5

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPcEvT_S1_(ptr noundef, ptr noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3Cubi(i32 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z5transc(i8 noundef signext) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7complex4conjEv(ptr dead_on_unwind noalias writable sret(%struct.complex) align 16, ptr noundef nonnull align 16 dereferenceable(32)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3Squi(i32 noundef) #8

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress norecurse 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 = { "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 = { nounwind willreturn memory(read) "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 = { inlinehint 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 = { 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 #9 = { nounwind willreturn memory(read) }
attributes #10 = { 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 = !{!7, !7, i64 0}
!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 = distinct !{!16, !10}
!17 = !{!18, !14, i64 0}
!18 = !{!"_ZTS7complex", !14, i64 0, !14, i64 16}
!19 = !{!20, !20, i64 0}
!20 = !{!"long long", !7, i64 0}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !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 }

@X = external dso_local global [262144 x %struct.complex], align 16
@Y = external dso_local global [262144 x %struct.complex], align 16
@n = external dso_local local_unnamed_addr global i32, align 4
@m = external dso_local local_unnamed_addr global i32, align 4
@len = external dso_local local_unnamed_addr global i32, align 4
@cnt = external dso_local local_unnamed_addr global i32, align 4
@out = external dso_local local_unnamed_addr global [100001 x i32], align 16
@s = external dso_local global [100001 x i8], align 16
@t = external dso_local global [100001 x i8], align 16
@f = external dso_local local_unnamed_addr global [262144 x i64], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; 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 #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmlRK7complexS1_(ptr dead_on_unwind noalias writable sret(%struct.complex) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmiRK7complexS1_(ptr dead_on_unwind noalias writable sret(%struct.complex) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0

; 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) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 {
  %1 = alloca %struct.complex, align 16
  %2 = alloca %struct.complex, align 16
  %3 = alloca %struct.complex, align 16
  %4 = alloca %struct.complex, align 16
  %5 = alloca %struct.complex, align 16
  %6 = alloca %struct.complex, align 16
  %7 = alloca %struct.complex, align 16
  %8 = alloca %struct.complex, align 16
  %9 = alloca %struct.complex, align 16
  %10 = alloca %struct.complex, align 16
  %11 = alloca %struct.complex, align 16
  %12 = alloca %struct.complex, align 16
  %13 = alloca %struct.complex, align 16
  %14 = alloca %struct.complex, align 16
  %15 = alloca %struct.complex, align 16
  %16 = alloca %struct.complex, align 16
  %17 = alloca %struct.complex, align 16
  %18 = alloca %struct.complex, align 16
  %19 = alloca %struct.complex, align 16
  %20 = alloca %struct.complex, align 16
  %21 = alloca %struct.complex, align 16
  %22 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t, ptr noundef nonnull @s)
  %23 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @s) #9
  %24 = trunc i64 %23 to i32
  store i32 %24, ptr @n, align 4, !tbaa !5
  %25 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @t) #9
  %26 = trunc i64 %25 to i32
  store i32 %26, ptr @m, align 4, !tbaa !5
  %sext = shl i64 %23, 32
  %27 = ashr exact i64 %sext, 32
  %28 = getelementptr inbounds i8, ptr @s, i64 %27
  tail call void @_ZSt7reverseIPcEvT_S1_(ptr noundef nonnull @s, ptr noundef nonnull %28)
  %29 = load i32, ptr @n, align 4, !tbaa !5
  %30 = load i32, ptr @m, align 4, !tbaa !5
  %31 = add nsw i32 %30, %29
  br label %32

32:                                               ; preds = %32, %0
  %storemerge = phi i32 [ 1, %0 ], [ %34, %32 ]
  %33 = icmp slt i32 %storemerge, %31
  %34 = shl i32 %storemerge, 1
  br i1 %33, label %32, label %.preheader84, !llvm.loop !9

.preheader84:                                     ; preds = %32
  store i32 %storemerge, ptr @len, align 4, !tbaa !5
  %35 = icmp sgt i32 %storemerge, 0
  br i1 %35, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %56, %.preheader84
  %.lcssa89 = phi i32 [ %storemerge, %.preheader84 ], [ %60, %56 ]
  call void @_Z3FFTP7complexii(ptr noundef nonnull @X, i32 noundef %.lcssa89, i32 noundef 1)
  %36 = load i32, ptr @len, align 4, !tbaa !5
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.lr.ph93, label %._crit_edge94

.lr.ph:                                           ; preds = %.preheader84, %56
  %indvars.iv = phi i64 [ %indvars.iv.next, %56 ], [ 0, %.preheader84 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #10
  %38 = load i32, ptr @n, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = icmp slt i64 %indvars.iv, %39
  br i1 %40, label %41, label %46

41:                                               ; preds = %.lr.ph
  %42 = getelementptr inbounds [100001 x i8], ptr @s, i64 0, i64 %indvars.iv
  %43 = load i8, ptr %42, align 1, !tbaa !11
  %44 = call noundef i32 @_Z5transc(i8 noundef signext %43)
  %45 = call noundef i32 @_Z3Cubi(i32 noundef %44)
  br label %46

46:                                               ; preds = %.lr.ph, %41
  %47 = phi i32 [ %45, %41 ], [ 0, %.lr.ph ]
  %48 = sitofp i32 %47 to x86_fp80
  %49 = load i32, ptr @m, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = icmp slt i64 %indvars.iv, %50
  br i1 %51, label %52, label %56

52:                                               ; preds = %46
  %53 = getelementptr inbounds [100001 x i8], ptr @t, i64 0, i64 %indvars.iv
  %54 = load i8, ptr %53, align 1, !tbaa !11
  %55 = call noundef i32 @_Z5transc(i8 noundef signext %54)
  br label %56

56:                                               ; preds = %46, %52
  %57 = phi i32 [ %55, %52 ], [ 0, %46 ]
  %58 = sitofp i32 %57 to x86_fp80
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %1, x86_fp80 noundef %48, x86_fp80 noundef %58)
  %59 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %59, ptr noundef nonnull align 16 dereferenceable(32) %1, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = load i32, ptr @len, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = icmp slt i64 %indvars.iv.next, %61
  br i1 %62, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge94:                                    ; preds = %.lr.ph93, %._crit_edge
  %.lcssa88 = phi i32 [ %36, %._crit_edge ], [ %77, %.lr.ph93 ]
  call void @_Z3FFTP7complexii(ptr noundef nonnull @Y, i32 noundef %.lcssa88, i32 noundef -1)
  %63 = load i32, ptr @m, align 4, !tbaa !5
  %64 = load i32, ptr @n, align 4, !tbaa !5
  %.not96 = icmp slt i32 %63, %64
  br i1 %.not96, label %.preheader83, label %.lr.ph99.preheader

.lr.ph99.preheader:                               ; preds = %._crit_edge94
  %65 = add i32 %63, 1
  %66 = sub i32 %65, %64
  %wide.trip.count = zext i32 %66 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %67 = icmp eq i32 %66, 1
  br i1 %67, label %.preheader83.loopexit.unr-lcssa, label %.lr.ph99.preheader.new

.lr.ph99.preheader.new:                           ; preds = %.lr.ph99.preheader
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  br label %.lr.ph99

.lr.ph93:                                         ; preds = %._crit_edge, %.lr.ph93
  %indvars.iv138 = phi i64 [ %indvars.iv.next139, %.lr.ph93 ], [ 0, %._crit_edge ]
  %68 = phi i32 [ %77, %.lr.ph93 ], [ %36, %._crit_edge ]
  %69 = trunc nuw nsw i64 %indvars.iv138 to i32
  %70 = sub nsw i32 %68, %69
  %71 = add nsw i32 %68, -1
  %72 = and i32 %70, %71
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #10
  %73 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %indvars.iv138
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %4, ptr noundef nonnull align 16 dereferenceable(32) %73, ptr noundef nonnull align 16 dereferenceable(32) %73)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #10
  %74 = sext i32 %72 to i64
  %75 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %74
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %6, ptr noundef nonnull align 16 dereferenceable(32) %75, ptr noundef nonnull align 16 dereferenceable(32) %75)
  call void @_ZN7complex4conjEv(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %5, ptr noundef nonnull align 16 dereferenceable(32) %6)
  call void @_ZmiRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %3, ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) %5)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #10
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %7, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFD8000000000000000)
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %2, ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) %7)
  %76 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %indvars.iv138
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %76, 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 %7) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #10
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %77 = load i32, ptr @len, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = icmp slt i64 %indvars.iv.next139, %78
  br i1 %79, label %.lr.ph93, label %._crit_edge94, !llvm.loop !16

.preheader83.loopexit.unr-lcssa:                  ; preds = %.lr.ph99, %.lr.ph99.preheader
  %indvars.iv141.unr = phi i64 [ 0, %.lr.ph99.preheader ], [ %indvars.iv.next142.1, %.lr.ph99 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader83, label %.lr.ph99.epil

.lr.ph99.epil:                                    ; preds = %.preheader83.loopexit.unr-lcssa
  %80 = trunc i64 %indvars.iv141.unr to i32
  %81 = add i32 %80, -1
  %82 = add i32 %81, %64
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %83
  %85 = load x86_fp80, ptr %84, align 16, !tbaa !17
  %86 = fadd x86_fp80 %85, 0xK3FFE8000000000000000
  %87 = fptosi x86_fp80 %86 to i64
  %88 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %indvars.iv141.unr
  %89 = load i64, ptr %88, align 8, !tbaa !19
  %90 = add nsw i64 %89, %87
  store i64 %90, ptr %88, align 8, !tbaa !19
  br label %.preheader83

.preheader83:                                     ; preds = %.lr.ph99.epil, %.preheader83.loopexit.unr-lcssa, %._crit_edge94
  %91 = load i32, ptr @len, align 4, !tbaa !5
  %92 = icmp sgt i32 %91, 0
  br i1 %92, label %.lr.ph101, label %._crit_edge102

.lr.ph99:                                         ; preds = %.lr.ph99, %.lr.ph99.preheader.new
  %indvars.iv141 = phi i64 [ 0, %.lr.ph99.preheader.new ], [ %indvars.iv.next142.1, %.lr.ph99 ]
  %niter = phi i64 [ 0, %.lr.ph99.preheader.new ], [ %niter.next.1, %.lr.ph99 ]
  %93 = trunc i64 %indvars.iv141 to i32
  %94 = add i32 %93, -1
  %95 = add i32 %94, %64
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %96
  %98 = load x86_fp80, ptr %97, align 16, !tbaa !17
  %99 = fadd x86_fp80 %98, 0xK3FFE8000000000000000
  %100 = fptosi x86_fp80 %99 to i64
  %101 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %indvars.iv141
  %102 = load i64, ptr %101, align 16, !tbaa !19
  %103 = add nsw i64 %102, %100
  store i64 %103, ptr %101, align 16, !tbaa !19
  %indvars.iv.next142 = or disjoint i64 %indvars.iv141, 1
  %104 = trunc i64 %indvars.iv.next142 to i32
  %105 = add nsw i32 %104, -1
  %106 = add i32 %105, %64
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %107
  %109 = load x86_fp80, ptr %108, align 16, !tbaa !17
  %110 = fadd x86_fp80 %109, 0xK3FFE8000000000000000
  %111 = fptosi x86_fp80 %110 to i64
  %112 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %indvars.iv.next142
  %113 = load i64, ptr %112, align 8, !tbaa !19
  %114 = add nsw i64 %113, %111
  store i64 %114, ptr %112, align 8, !tbaa !19
  %indvars.iv.next142.1 = add nuw nsw i64 %indvars.iv141, 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 %.preheader83.loopexit.unr-lcssa, label %.lr.ph99, !llvm.loop !21

._crit_edge102:                                   ; preds = %135, %.preheader83
  %.lcssa87 = phi i32 [ %91, %.preheader83 ], [ %139, %135 ]
  call void @_Z3FFTP7complexii(ptr noundef nonnull @X, i32 noundef %.lcssa87, i32 noundef 1)
  %115 = load i32, ptr @len, align 4, !tbaa !5
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %.lr.ph106, label %._crit_edge107

.lr.ph101:                                        ; preds = %.preheader83, %135
  %indvars.iv144 = phi i64 [ %indvars.iv.next145, %135 ], [ 0, %.preheader83 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #10
  %117 = load i32, ptr @n, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = icmp slt i64 %indvars.iv144, %118
  br i1 %119, label %120, label %124

120:                                              ; preds = %.lr.ph101
  %121 = getelementptr inbounds [100001 x i8], ptr @s, i64 0, i64 %indvars.iv144
  %122 = load i8, ptr %121, align 1, !tbaa !11
  %123 = call noundef i32 @_Z5transc(i8 noundef signext %122)
  br label %124

124:                                              ; preds = %.lr.ph101, %120
  %125 = phi i32 [ %123, %120 ], [ 0, %.lr.ph101 ]
  %126 = sitofp i32 %125 to x86_fp80
  %127 = load i32, ptr @m, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = icmp slt i64 %indvars.iv144, %128
  br i1 %129, label %130, label %135

130:                                              ; preds = %124
  %131 = getelementptr inbounds [100001 x i8], ptr @t, i64 0, i64 %indvars.iv144
  %132 = load i8, ptr %131, align 1, !tbaa !11
  %133 = call noundef i32 @_Z5transc(i8 noundef signext %132)
  %134 = call noundef i32 @_Z3Cubi(i32 noundef %133)
  br label %135

135:                                              ; preds = %124, %130
  %136 = phi i32 [ %134, %130 ], [ 0, %124 ]
  %137 = sitofp i32 %136 to x86_fp80
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %8, x86_fp80 noundef %126, x86_fp80 noundef %137)
  %138 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %indvars.iv144
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %138, ptr noundef nonnull align 16 dereferenceable(32) %8, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %139 = load i32, ptr @len, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = icmp slt i64 %indvars.iv.next145, %140
  br i1 %141, label %.lr.ph101, label %._crit_edge102, !llvm.loop !22

._crit_edge107:                                   ; preds = %.lr.ph106, %._crit_edge102
  %.lcssa86 = phi i32 [ %115, %._crit_edge102 ], [ %156, %.lr.ph106 ]
  call void @_Z3FFTP7complexii(ptr noundef nonnull @Y, i32 noundef %.lcssa86, i32 noundef -1)
  %142 = load i32, ptr @m, align 4, !tbaa !5
  %143 = load i32, ptr @n, align 4, !tbaa !5
  %.not80109 = icmp slt i32 %142, %143
  br i1 %.not80109, label %.preheader, label %.lr.ph112.preheader

.lr.ph112.preheader:                              ; preds = %._crit_edge107
  %144 = add i32 %142, 1
  %145 = sub i32 %144, %143
  %wide.trip.count153 = zext i32 %145 to i64
  %xtraiter190 = and i64 %wide.trip.count153, 1
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %.preheader.loopexit.unr-lcssa, label %.lr.ph112.preheader.new

.lr.ph112.preheader.new:                          ; preds = %.lr.ph112.preheader
  %unroll_iter192 = and i64 %wide.trip.count153, 4294967294
  br label %.lr.ph112

.lr.ph106:                                        ; preds = %._crit_edge102, %.lr.ph106
  %indvars.iv147 = phi i64 [ %indvars.iv.next148, %.lr.ph106 ], [ 0, %._crit_edge102 ]
  %147 = phi i32 [ %156, %.lr.ph106 ], [ %115, %._crit_edge102 ]
  %148 = trunc nuw nsw i64 %indvars.iv147 to i32
  %149 = sub nsw i32 %147, %148
  %150 = add nsw i32 %147, -1
  %151 = and i32 %149, %150
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #10
  %152 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %indvars.iv147
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %11, ptr noundef nonnull align 16 dereferenceable(32) %152, ptr noundef nonnull align 16 dereferenceable(32) %152)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #10
  %153 = sext i32 %151 to i64
  %154 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %153
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %13, ptr noundef nonnull align 16 dereferenceable(32) %154, ptr noundef nonnull align 16 dereferenceable(32) %154)
  call void @_ZN7complex4conjEv(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %12, ptr noundef nonnull align 16 dereferenceable(32) %13)
  call void @_ZmiRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %10, ptr noundef nonnull align 16 dereferenceable(32) %11, ptr noundef nonnull align 16 dereferenceable(32) %12)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #10
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFD8000000000000000)
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %10, ptr noundef nonnull align 16 dereferenceable(32) %14)
  %155 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %indvars.iv147
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %155, ptr noundef nonnull align 16 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %156 = load i32, ptr @len, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = icmp slt i64 %indvars.iv.next148, %157
  br i1 %158, label %.lr.ph106, label %._crit_edge107, !llvm.loop !23

.preheader.loopexit.unr-lcssa:                    ; preds = %.lr.ph112, %.lr.ph112.preheader
  %indvars.iv150.unr = phi i64 [ 0, %.lr.ph112.preheader ], [ %indvars.iv.next151.1, %.lr.ph112 ]
  %lcmp.mod191.not = icmp eq i64 %xtraiter190, 0
  br i1 %lcmp.mod191.not, label %.preheader, label %.lr.ph112.epil

.lr.ph112.epil:                                   ; preds = %.preheader.loopexit.unr-lcssa
  %159 = trunc i64 %indvars.iv150.unr to i32
  %160 = add i32 %159, -1
  %161 = add i32 %160, %143
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %162
  %164 = load x86_fp80, ptr %163, align 16, !tbaa !17
  %165 = fadd x86_fp80 %164, 0xK3FFE8000000000000000
  %166 = fptosi x86_fp80 %165 to i64
  %167 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %indvars.iv150.unr
  %168 = load i64, ptr %167, align 8, !tbaa !19
  %169 = add nsw i64 %168, %166
  store i64 %169, ptr %167, align 8, !tbaa !19
  br label %.preheader

.preheader:                                       ; preds = %.lr.ph112.epil, %.preheader.loopexit.unr-lcssa, %._crit_edge107
  %170 = load i32, ptr @len, align 4, !tbaa !5
  %171 = icmp sgt i32 %170, 0
  br i1 %171, label %.lr.ph114, label %._crit_edge115

.lr.ph112:                                        ; preds = %.lr.ph112, %.lr.ph112.preheader.new
  %indvars.iv150 = phi i64 [ 0, %.lr.ph112.preheader.new ], [ %indvars.iv.next151.1, %.lr.ph112 ]
  %niter193 = phi i64 [ 0, %.lr.ph112.preheader.new ], [ %niter193.next.1, %.lr.ph112 ]
  %172 = trunc i64 %indvars.iv150 to i32
  %173 = add i32 %172, -1
  %174 = add i32 %173, %143
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %175
  %177 = load x86_fp80, ptr %176, align 16, !tbaa !17
  %178 = fadd x86_fp80 %177, 0xK3FFE8000000000000000
  %179 = fptosi x86_fp80 %178 to i64
  %180 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %indvars.iv150
  %181 = load i64, ptr %180, align 16, !tbaa !19
  %182 = add nsw i64 %181, %179
  store i64 %182, ptr %180, align 16, !tbaa !19
  %indvars.iv.next151 = or disjoint i64 %indvars.iv150, 1
  %183 = trunc i64 %indvars.iv.next151 to i32
  %184 = add nsw i32 %183, -1
  %185 = add i32 %184, %143
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %186
  %188 = load x86_fp80, ptr %187, align 16, !tbaa !17
  %189 = fadd x86_fp80 %188, 0xK3FFE8000000000000000
  %190 = fptosi x86_fp80 %189 to i64
  %191 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %indvars.iv.next151
  %192 = load i64, ptr %191, align 8, !tbaa !19
  %193 = add nsw i64 %192, %190
  store i64 %193, ptr %191, align 8, !tbaa !19
  %indvars.iv.next151.1 = add nuw nsw i64 %indvars.iv150, 2
  %niter193.next.1 = add i64 %niter193, 2
  %niter193.ncmp.1 = icmp eq i64 %niter193.next.1, %unroll_iter192
  br i1 %niter193.ncmp.1, label %.preheader.loopexit.unr-lcssa, label %.lr.ph112, !llvm.loop !24

._crit_edge115:                                   ; preds = %215, %.preheader
  %.lcssa85 = phi i32 [ %170, %.preheader ], [ %219, %215 ]
  call void @_Z3FFTP7complexii(ptr noundef nonnull @X, i32 noundef %.lcssa85, i32 noundef 1)
  %194 = load i32, ptr @len, align 4, !tbaa !5
  %195 = icmp sgt i32 %194, 0
  br i1 %195, label %.lr.ph119, label %._crit_edge120

.lr.ph114:                                        ; preds = %.preheader, %215
  %indvars.iv155 = phi i64 [ %indvars.iv.next156, %215 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #10
  %196 = load i32, ptr @n, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = icmp slt i64 %indvars.iv155, %197
  br i1 %198, label %199, label %204

199:                                              ; preds = %.lr.ph114
  %200 = getelementptr inbounds [100001 x i8], ptr @s, i64 0, i64 %indvars.iv155
  %201 = load i8, ptr %200, align 1, !tbaa !11
  %202 = call noundef i32 @_Z5transc(i8 noundef signext %201)
  %203 = call noundef i32 @_Z3Squi(i32 noundef %202)
  br label %204

204:                                              ; preds = %.lr.ph114, %199
  %205 = phi i32 [ %203, %199 ], [ 0, %.lr.ph114 ]
  %206 = sitofp i32 %205 to x86_fp80
  %207 = load i32, ptr @m, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = icmp slt i64 %indvars.iv155, %208
  br i1 %209, label %210, label %215

210:                                              ; preds = %204
  %211 = getelementptr inbounds [100001 x i8], ptr @t, i64 0, i64 %indvars.iv155
  %212 = load i8, ptr %211, align 1, !tbaa !11
  %213 = call noundef i32 @_Z5transc(i8 noundef signext %212)
  %214 = call noundef i32 @_Z3Squi(i32 noundef %213)
  br label %215

215:                                              ; preds = %204, %210
  %216 = phi i32 [ %214, %210 ], [ 0, %204 ]
  %217 = sitofp i32 %216 to x86_fp80
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %15, x86_fp80 noundef %206, x86_fp80 noundef %217)
  %218 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %indvars.iv155
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %218, ptr noundef nonnull align 16 dereferenceable(32) %15, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %219 = load i32, ptr @len, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = icmp slt i64 %indvars.iv.next156, %220
  br i1 %221, label %.lr.ph114, label %._crit_edge115, !llvm.loop !25

._crit_edge120:                                   ; preds = %.lr.ph119, %._crit_edge115
  %.lcssa = phi i32 [ %194, %._crit_edge115 ], [ %235, %.lr.ph119 ]
  call void @_Z3FFTP7complexii(ptr noundef nonnull @Y, i32 noundef %.lcssa, i32 noundef -1)
  %222 = load i32, ptr @m, align 4, !tbaa !5
  %223 = load i32, ptr @n, align 4, !tbaa !5
  %cnt.promoted = load i32, ptr @cnt, align 4, !tbaa !5
  %.not81122 = icmp slt i32 %222, %223
  br i1 %.not81122, label %._crit_edge126, label %.lr.ph125.preheader

.lr.ph125.preheader:                              ; preds = %._crit_edge120
  %224 = add i32 %222, 1
  %225 = sub i32 %224, %223
  %wide.trip.count164 = zext i32 %225 to i64
  br label %.lr.ph125

.lr.ph119:                                        ; preds = %._crit_edge115, %.lr.ph119
  %indvars.iv158 = phi i64 [ %indvars.iv.next159, %.lr.ph119 ], [ 0, %._crit_edge115 ]
  %226 = phi i32 [ %235, %.lr.ph119 ], [ %194, %._crit_edge115 ]
  %227 = trunc nuw nsw i64 %indvars.iv158 to i32
  %228 = sub nsw i32 %226, %227
  %229 = add nsw i32 %226, -1
  %230 = and i32 %228, %229
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #10
  %231 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %indvars.iv158
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %18, ptr noundef nonnull align 16 dereferenceable(32) %231, ptr noundef nonnull align 16 dereferenceable(32) %231)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #10
  %232 = sext i32 %230 to i64
  %233 = getelementptr inbounds [262144 x %struct.complex], ptr @X, i64 0, i64 %232
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %20, ptr noundef nonnull align 16 dereferenceable(32) %233, ptr noundef nonnull align 16 dereferenceable(32) %233)
  call void @_ZN7complex4conjEv(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %19, ptr noundef nonnull align 16 dereferenceable(32) %20)
  call void @_ZmiRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %17, ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull align 16 dereferenceable(32) %19)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #10
  call void @_ZN7complexC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %21, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef 0xKBFFD8000000000000000)
  call void @_ZmlRK7complexS1_(ptr dead_on_unwind nonnull writable sret(%struct.complex) align 16 %16, ptr noundef nonnull align 16 dereferenceable(32) %17, ptr noundef nonnull align 16 dereferenceable(32) %21)
  %234 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %indvars.iv158
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %234, ptr noundef nonnull align 16 dereferenceable(32) %16, i64 32, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %235 = load i32, ptr @len, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = icmp slt i64 %indvars.iv.next159, %236
  br i1 %237, label %.lr.ph119, label %._crit_edge120, !llvm.loop !26

._crit_edge126:                                   ; preds = %260, %._crit_edge120
  %238 = phi i32 [ %cnt.promoted, %._crit_edge120 ], [ %261, %260 ]
  %239 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %238)
  %240 = load i32, ptr @cnt, align 4, !tbaa !5
  %241 = icmp sgt i32 %240, 0
  br i1 %241, label %.lr.ph129, label %._crit_edge130

.lr.ph125:                                        ; preds = %.lr.ph125.preheader, %260
  %indvars.iv161 = phi i64 [ 0, %.lr.ph125.preheader ], [ %indvars.iv.next162, %260 ]
  %242 = phi i32 [ %cnt.promoted, %.lr.ph125.preheader ], [ %261, %260 ]
  %243 = trunc i64 %indvars.iv161 to i32
  %244 = add i32 %243, -1
  %245 = add i32 %244, %223
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [262144 x %struct.complex], ptr @Y, i64 0, i64 %246
  %248 = load x86_fp80, ptr %247, align 16, !tbaa !17
  %249 = fadd x86_fp80 %248, 0xK3FFE8000000000000000
  %250 = fptosi x86_fp80 %249 to i64
  %251 = shl i64 %250, 1
  %252 = getelementptr inbounds [262144 x i64], ptr @f, i64 0, i64 %indvars.iv161
  %253 = load i64, ptr %252, align 8, !tbaa !19
  %254 = sub nsw i64 %253, %251
  store i64 %254, ptr %252, align 8, !tbaa !19
  %.not82 = icmp eq i64 %253, %251
  br i1 %.not82, label %255, label %260

255:                                              ; preds = %.lr.ph125
  %256 = add nsw i32 %242, 1
  store i32 %256, ptr @cnt, align 4, !tbaa !5
  %257 = sext i32 %242 to i64
  %258 = getelementptr inbounds [100001 x i32], ptr @out, i64 0, i64 %257
  %259 = trunc nuw nsw i64 %indvars.iv161 to i32
  store i32 %259, ptr %258, align 4, !tbaa !5
  br label %260

260:                                              ; preds = %.lr.ph125, %255
  %261 = phi i32 [ %242, %.lr.ph125 ], [ %256, %255 ]
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %exitcond165.not = icmp eq i64 %indvars.iv.next162, %wide.trip.count164
  br i1 %exitcond165.not, label %._crit_edge126, label %.lr.ph125, !llvm.loop !27

._crit_edge130:                                   ; preds = %.lr.ph129, %._crit_edge126
  ret i32 0

.lr.ph129:                                        ; preds = %._crit_edge126, %.lr.ph129
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %.lr.ph129 ], [ 0, %._crit_edge126 ]
  %262 = getelementptr inbounds [100001 x i32], ptr @out, i64 0, i64 %indvars.iv166
  %263 = load i32, ptr %262, align 4, !tbaa !5
  %264 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %263)
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %265 = load i32, ptr @cnt, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = icmp slt i64 %indvars.iv.next167, %266
  br i1 %267, label %.lr.ph129, label %._crit_edge130, !llvm.loop !28
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPcEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3Cubi(i32 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z5transc(i8 noundef signext) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7complex4conjEv(ptr dead_on_unwind noalias writable sret(%struct.complex) align 16, ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3Squi(i32 noundef) local_unnamed_addr #8

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress norecurse 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 = { 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 #6 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { inlinehint 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 = { 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 #9 = { nounwind willreturn memory(read) }
attributes #10 = { 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 = !{!7, !7, i64 0}
!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 = distinct !{!16, !10}
!17 = !{!18, !14, i64 0}
!18 = !{!"_ZTS7complex", !14, i64 0, !14, i64 16}
!19 = !{!20, !20, i64 0}
!20 = !{!"long long", !7, i64 0}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}


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