; LLVM IR from tangjz/acm-icpc :: loj/2271.ll (Z4conviPiiS_iS_)

; 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 { double, double }

@mod = external dso_local global i32, align 4
@sp = external dso_local global i32, align 4
@msk = external dso_local global i32, align 4
@_ZZ4conviPiiS_iS_E1A = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1A = external hidden global i64, align 8
@_ZZ4conviPiiS_iS_E1B = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1B = external hidden global i64, align 8
@_ZZ4conviPiiS_iS_E1C = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1C = external hidden global i64, align 8
@_ZZ4conviPiiS_iS_E1D = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1D = external hidden global i64, align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complexmiERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4conviPiiS_iS_(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #3 personality ptr @__gxx_personality_v0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.complex, align 8
  %18 = alloca %struct.complex, align 8
  %19 = alloca %struct.complex, align 8
  %20 = alloca %struct.complex, align 8
  %21 = alloca %struct.complex, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.complex, align 8
  %25 = alloca %struct.complex, align 8
  %26 = alloca %struct.complex, align 8
  %27 = alloca %struct.complex, align 8
  %28 = alloca %struct.complex, align 8
  %29 = alloca %struct.complex, align 8
  %30 = alloca %struct.complex, align 8
  %31 = alloca %struct.complex, align 8
  %32 = alloca %struct.complex, align 8
  %33 = alloca %struct.complex, align 8
  %34 = alloca %struct.complex, align 8
  %35 = alloca %struct.complex, align 8
  %36 = alloca %struct.complex, align 8
  %37 = alloca %struct.complex, align 8
  %38 = alloca %struct.complex, align 8
  %39 = alloca %struct.complex, align 8
  %40 = alloca %struct.complex, align 8
  %41 = alloca %struct.complex, align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  store i32 %0, ptr %7, align 4, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %47 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1A acquire, align 8
  %48 = icmp eq i8 %47, 0
  br i1 %48, label %49, label %59, !prof !11

49:                                               ; preds = %6
  %50 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ4conviPiiS_iS_E1A) #4
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %59

52:                                               ; preds = %49
  br label %53

53:                                               ; preds = %55, %52
  %54 = phi ptr [ @_ZZ4conviPiiS_iS_E1A, %52 ], [ %56, %55 ]
  invoke void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54)
          to label %55 unwind label %110

55:                                               ; preds = %53
  %56 = getelementptr inbounds %struct.complex, ptr %54, i64 1
  %57 = icmp eq ptr %56, getelementptr inbounds (%struct.complex, ptr @_ZZ4conviPiiS_iS_E1A, i64 524289)
  br i1 %57, label %58, label %53

58:                                               ; preds = %55
  call void @__cxa_guard_release(ptr @_ZGVZ4conviPiiS_iS_E1A) #4
  br label %59

59:                                               ; preds = %58, %49, %6
  %60 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1B acquire, align 8
  %61 = icmp eq i8 %60, 0
  br i1 %61, label %62, label %72, !prof !11

62:                                               ; preds = %59
  %63 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ4conviPiiS_iS_E1B) #4
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %72

65:                                               ; preds = %62
  br label %66

66:                                               ; preds = %68, %65
  %67 = phi ptr [ @_ZZ4conviPiiS_iS_E1B, %65 ], [ %69, %68 ]
  invoke void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %67)
          to label %68 unwind label %114

68:                                               ; preds = %66
  %69 = getelementptr inbounds %struct.complex, ptr %67, i64 1
  %70 = icmp eq ptr %69, getelementptr inbounds (%struct.complex, ptr @_ZZ4conviPiiS_iS_E1B, i64 524289)
  br i1 %70, label %71, label %66

71:                                               ; preds = %68
  call void @__cxa_guard_release(ptr @_ZGVZ4conviPiiS_iS_E1B) #4
  br label %72

72:                                               ; preds = %71, %62, %59
  %73 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1C acquire, align 8
  %74 = icmp eq i8 %73, 0
  br i1 %74, label %75, label %85, !prof !11

75:                                               ; preds = %72
  %76 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ4conviPiiS_iS_E1C) #4
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %85

78:                                               ; preds = %75
  br label %79

79:                                               ; preds = %81, %78
  %80 = phi ptr [ @_ZZ4conviPiiS_iS_E1C, %78 ], [ %82, %81 ]
  invoke void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %80)
          to label %81 unwind label %118

81:                                               ; preds = %79
  %82 = getelementptr inbounds %struct.complex, ptr %80, i64 1
  %83 = icmp eq ptr %82, getelementptr inbounds (%struct.complex, ptr @_ZZ4conviPiiS_iS_E1C, i64 524289)
  br i1 %83, label %84, label %79

84:                                               ; preds = %81
  call void @__cxa_guard_release(ptr @_ZGVZ4conviPiiS_iS_E1C) #4
  br label %85

85:                                               ; preds = %84, %75, %72
  %86 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1D acquire, align 8
  %87 = icmp eq i8 %86, 0
  br i1 %87, label %88, label %98, !prof !11

88:                                               ; preds = %85
  %89 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ4conviPiiS_iS_E1D) #4
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %98

91:                                               ; preds = %88
  br label %92

92:                                               ; preds = %94, %91
  %93 = phi ptr [ @_ZZ4conviPiiS_iS_E1D, %91 ], [ %95, %94 ]
  invoke void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %93)
          to label %94 unwind label %122

94:                                               ; preds = %92
  %95 = getelementptr inbounds %struct.complex, ptr %93, i64 1
  %96 = icmp eq ptr %95, getelementptr inbounds (%struct.complex, ptr @_ZZ4conviPiiS_iS_E1D, i64 524289)
  br i1 %96, label %97, label %92

97:                                               ; preds = %94
  call void @__cxa_guard_release(ptr @_ZGVZ4conviPiiS_iS_E1D) #4
  br label %98

98:                                               ; preds = %97, %88, %85
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %107, %98
  %100 = load i32, ptr %13, align 4, !tbaa !5
  %101 = load i32, ptr %7, align 4, !tbaa !5
  %102 = load i32, ptr %9, align 4, !tbaa !5
  %103 = add nsw i32 %101, %102
  %104 = sub nsw i32 %103, 1
  %105 = icmp slt i32 %100, %104
  br i1 %105, label %106, label %126

106:                                              ; preds = %99
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %13, align 4, !tbaa !5
  %109 = shl i32 %108, 1
  store i32 %109, ptr %13, align 4, !tbaa !5
  br label %99, !llvm.loop !12

110:                                              ; preds = %53
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %14, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %15, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZ4conviPiiS_iS_E1A) #4
  br label %406

114:                                              ; preds = %66
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %14, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %15, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZ4conviPiiS_iS_E1B) #4
  br label %406

118:                                              ; preds = %79
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %14, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %15, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZ4conviPiiS_iS_E1C) #4
  br label %406

122:                                              ; preds = %92
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %14, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %15, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZ4conviPiiS_iS_E1D) #4
  br label %406

126:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %127

127:                                              ; preds = %183, %126
  %128 = load i32, ptr %16, align 4, !tbaa !5
  %129 = load i32, ptr %13, align 4, !tbaa !5
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %186

132:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  %133 = load i32, ptr %16, align 4, !tbaa !5
  %134 = load i32, ptr %7, align 4, !tbaa !5
  %135 = icmp slt i32 %133, %134
  br i1 %135, label %136, label %153

136:                                              ; preds = %132
  %137 = load ptr, ptr %8, align 8, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds i32, ptr %137, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = load i32, ptr @msk, align 4, !tbaa !5
  %143 = and i32 %141, %142
  %144 = sitofp i32 %143 to double
  %145 = load ptr, ptr %8, align 8, !tbaa !9
  %146 = load i32, ptr %16, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds i32, ptr %145, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = load i32, ptr @sp, align 4, !tbaa !5
  %151 = ashr i32 %149, %150
  %152 = sitofp i32 %151 to double
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef %144, double noundef %152)
  br label %154

153:                                              ; preds = %132
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef 0.000000e+00, double noundef 0.000000e+00)
  br label %154

154:                                              ; preds = %153, %136
  %155 = load i32, ptr %16, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %156
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %157, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  %158 = load i32, ptr %16, align 4, !tbaa !5
  %159 = load i32, ptr %9, align 4, !tbaa !5
  %160 = icmp slt i32 %158, %159
  br i1 %160, label %161, label %178

161:                                              ; preds = %154
  %162 = load ptr, ptr %10, align 8, !tbaa !9
  %163 = load i32, ptr %16, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds i32, ptr %162, i64 %164
  %166 = load i32, ptr %165, align 4, !tbaa !5
  %167 = load i32, ptr @msk, align 4, !tbaa !5
  %168 = and i32 %166, %167
  %169 = sitofp i32 %168 to double
  %170 = load ptr, ptr %10, align 8, !tbaa !9
  %171 = load i32, ptr %16, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds i32, ptr %170, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = load i32, ptr @sp, align 4, !tbaa !5
  %176 = ashr i32 %174, %175
  %177 = sitofp i32 %176 to double
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %18, double noundef %169, double noundef %177)
  br label %179

178:                                              ; preds = %154
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %18, double noundef 0.000000e+00, double noundef 0.000000e+00)
  br label %179

179:                                              ; preds = %178, %161
  %180 = load i32, ptr %16, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %181
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %182, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  br label %183

183:                                              ; preds = %179
  %184 = load i32, ptr %16, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %16, align 4, !tbaa !5
  br label %127, !llvm.loop !17

186:                                              ; preds = %131
  %187 = load i32, ptr %13, align 4, !tbaa !5
  call void @_Z3FFTiP7complexi(i32 noundef %187, ptr noundef @_ZZ4conviPiiS_iS_E1A, i32 noundef 1)
  %188 = load i32, ptr %13, align 4, !tbaa !5
  call void @_Z3FFTiP7complexi(i32 noundef %188, ptr noundef @_ZZ4conviPiiS_iS_E1B, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %19, double noundef 5.000000e-01, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %20, double noundef 0.000000e+00, double noundef -5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %21, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %189

189:                                              ; preds = %321, %186
  %190 = load i32, ptr %22, align 4, !tbaa !5
  %191 = load i32, ptr %13, align 4, !tbaa !5
  %192 = icmp slt i32 %190, %191
  br i1 %192, label %194, label %193

193:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %324

194:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %195 = load i32, ptr %13, align 4, !tbaa !5
  %196 = load i32, ptr %22, align 4, !tbaa !5
  %197 = sub nsw i32 %195, %196
  %198 = load i32, ptr %13, align 4, !tbaa !5
  %199 = sub nsw i32 %198, 1
  %200 = and i32 %197, %199
  store i32 %200, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #4
  %201 = load i32, ptr %22, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %202
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #4
  %204 = load i32, ptr %23, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %205
  %207 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %206)
  %208 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %209 = extractvalue { double, double } %207, 0
  store double %209, ptr %208, align 8
  %210 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %211 = extractvalue { double, double } %207, 1
  store double %211, ptr %210, align 8
  %212 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %203, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %213 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %214 = extractvalue { double, double } %212, 0
  store double %214, ptr %213, align 8
  %215 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %216 = extractvalue { double, double } %212, 1
  store double %216, ptr %215, align 8
  %217 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %19)
  %218 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %219 = extractvalue { double, double } %217, 0
  store double %219, ptr %218, align 8
  %220 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %221 = extractvalue { double, double } %217, 1
  store double %221, ptr %220, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #4
  %222 = load i32, ptr %22, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %223
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #4
  %225 = load i32, ptr %23, align 4, !tbaa !5
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %226
  %228 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %227)
  %229 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %230 = extractvalue { double, double } %228, 0
  store double %230, ptr %229, align 8
  %231 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %232 = extractvalue { double, double } %228, 1
  store double %232, ptr %231, align 8
  %233 = call { double, double } @_ZNK7complexmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %224, ptr noundef nonnull align 8 dereferenceable(16) %29)
  %234 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %235 = extractvalue { double, double } %233, 0
  store double %235, ptr %234, align 8
  %236 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %237 = extractvalue { double, double } %233, 1
  store double %237, ptr %236, align 8
  %238 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %20)
  %239 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %240 = extractvalue { double, double } %238, 0
  store double %240, ptr %239, align 8
  %241 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %242 = extractvalue { double, double } %238, 1
  store double %242, ptr %241, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #4
  %243 = load i32, ptr %22, align 4, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %244
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #4
  %246 = load i32, ptr %23, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %247
  %249 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %248)
  %250 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %251 = extractvalue { double, double } %249, 0
  store double %251, ptr %250, align 8
  %252 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %253 = extractvalue { double, double } %249, 1
  store double %253, ptr %252, align 8
  %254 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %245, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %255 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %256 = extractvalue { double, double } %254, 0
  store double %256, ptr %255, align 8
  %257 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %258 = extractvalue { double, double } %254, 1
  store double %258, ptr %257, align 8
  %259 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %19)
  %260 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %261 = extractvalue { double, double } %259, 0
  store double %261, ptr %260, align 8
  %262 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %263 = extractvalue { double, double } %259, 1
  store double %263, ptr %262, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #4
  %264 = load i32, ptr %22, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %265
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #4
  %267 = load i32, ptr %23, align 4, !tbaa !5
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %268
  %270 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %269)
  %271 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %272 = extractvalue { double, double } %270, 0
  store double %272, ptr %271, align 8
  %273 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %274 = extractvalue { double, double } %270, 1
  store double %274, ptr %273, align 8
  %275 = call { double, double } @_ZNK7complexmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %266, ptr noundef nonnull align 8 dereferenceable(16) %35)
  %276 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %277 = extractvalue { double, double } %275, 0
  store double %277, ptr %276, align 8
  %278 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %279 = extractvalue { double, double } %275, 1
  store double %279, ptr %278, align 8
  %280 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(16) %20)
  %281 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %282 = extractvalue { double, double } %280, 0
  store double %282, ptr %281, align 8
  %283 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %284 = extractvalue { double, double } %280, 1
  store double %284, ptr %283, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #4
  %285 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %21)
  %286 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %287 = extractvalue { double, double } %285, 0
  store double %287, ptr %286, align 8
  %288 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %289 = extractvalue { double, double } %285, 1
  store double %289, ptr %288, align 8
  %290 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %38)
  %291 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %292 = extractvalue { double, double } %290, 0
  store double %292, ptr %291, align 8
  %293 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %294 = extractvalue { double, double } %290, 1
  store double %294, ptr %293, align 8
  %295 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %37)
  %296 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %297 = extractvalue { double, double } %295, 0
  store double %297, ptr %296, align 8
  %298 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %299 = extractvalue { double, double } %295, 1
  store double %299, ptr %298, align 8
  %300 = load i32, ptr %22, align 4, !tbaa !5
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1C, i64 0, i64 %301
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %302, ptr align 8 %36, i64 16, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #4
  %303 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %21)
  %304 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %305 = extractvalue { double, double } %303, 0
  store double %305, ptr %304, align 8
  %306 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %307 = extractvalue { double, double } %303, 1
  store double %307, ptr %306, align 8
  %308 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %41)
  %309 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %310 = extractvalue { double, double } %308, 0
  store double %310, ptr %309, align 8
  %311 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %312 = extractvalue { double, double } %308, 1
  store double %312, ptr %311, align 8
  %313 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %40)
  %314 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %315 = extractvalue { double, double } %313, 0
  store double %315, ptr %314, align 8
  %316 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %317 = extractvalue { double, double } %313, 1
  store double %317, ptr %316, align 8
  %318 = load i32, ptr %22, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1D, i64 0, i64 %319
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %320, ptr align 8 %39, i64 16, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %321

321:                                              ; preds = %194
  %322 = load i32, ptr %22, align 4, !tbaa !5
  %323 = add nsw i32 %322, 1
  store i32 %323, ptr %22, align 4, !tbaa !5
  br label %189, !llvm.loop !18

324:                                              ; preds = %193
  %325 = load i32, ptr %13, align 4, !tbaa !5
  call void @_Z3FFTiP7complexi(i32 noundef %325, ptr noundef @_ZZ4conviPiiS_iS_E1C, i32 noundef -1)
  %326 = load i32, ptr %13, align 4, !tbaa !5
  call void @_Z3FFTiP7complexi(i32 noundef %326, ptr noundef @_ZZ4conviPiiS_iS_E1D, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #4
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %327

327:                                              ; preds = %402, %324
  %328 = load i32, ptr %42, align 4, !tbaa !5
  %329 = load i32, ptr %11, align 4, !tbaa !5
  %330 = icmp slt i32 %328, %329
  br i1 %330, label %332, label %331

331:                                              ; preds = %327
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #4
  br label %405

332:                                              ; preds = %327
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #4
  %333 = load i32, ptr %42, align 4, !tbaa !5
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1C, i64 0, i64 %334
  %336 = getelementptr inbounds %struct.complex, ptr %335, i32 0, i32 0
  %337 = load double, ptr %336, align 16, !tbaa !19
  %338 = fadd double %337, 5.000000e-01
  %339 = fptosi double %338 to i64
  %340 = load i32, ptr @mod, align 4, !tbaa !5
  %341 = sext i32 %340 to i64
  %342 = srem i64 %339, %341
  %343 = trunc i64 %342 to i32
  store i32 %343, ptr %43, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #4
  %344 = load i32, ptr %42, align 4, !tbaa !5
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1C, i64 0, i64 %345
  %347 = getelementptr inbounds %struct.complex, ptr %346, i32 0, i32 1
  %348 = load double, ptr %347, align 8, !tbaa !21
  %349 = fadd double %348, 5.000000e-01
  %350 = fptosi double %349 to i64
  %351 = load i32, ptr @mod, align 4, !tbaa !5
  %352 = sext i32 %351 to i64
  %353 = srem i64 %350, %352
  %354 = trunc i64 %353 to i32
  store i32 %354, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #4
  %355 = load i32, ptr %42, align 4, !tbaa !5
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1D, i64 0, i64 %356
  %358 = getelementptr inbounds %struct.complex, ptr %357, i32 0, i32 0
  %359 = load double, ptr %358, align 16, !tbaa !19
  %360 = fadd double %359, 5.000000e-01
  %361 = fptosi double %360 to i64
  %362 = load i32, ptr @mod, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = srem i64 %361, %363
  %365 = trunc i64 %364 to i32
  store i32 %365, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #4
  %366 = load i32, ptr %42, align 4, !tbaa !5
  %367 = sext i32 %366 to i64
  %368 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1D, i64 0, i64 %367
  %369 = getelementptr inbounds %struct.complex, ptr %368, i32 0, i32 1
  %370 = load double, ptr %369, align 8, !tbaa !21
  %371 = fadd double %370, 5.000000e-01
  %372 = fptosi double %371 to i64
  %373 = load i32, ptr @mod, align 4, !tbaa !5
  %374 = sext i32 %373 to i64
  %375 = srem i64 %372, %374
  %376 = trunc i64 %375 to i32
  store i32 %376, ptr %46, align 4, !tbaa !5
  %377 = load i32, ptr %46, align 4, !tbaa !5
  %378 = sext i32 %377 to i64
  %379 = load i32, ptr @sp, align 4, !tbaa !5
  %380 = zext i32 %379 to i64
  %381 = shl i64 %378, %380
  %382 = load i32, ptr %44, align 4, !tbaa !5
  %383 = sext i32 %382 to i64
  %384 = add nsw i64 %381, %383
  %385 = load i32, ptr %45, align 4, !tbaa !5
  %386 = sext i32 %385 to i64
  %387 = add nsw i64 %384, %386
  %388 = load i32, ptr @sp, align 4, !tbaa !5
  %389 = zext i32 %388 to i64
  %390 = shl i64 %387, %389
  %391 = load i32, ptr %43, align 4, !tbaa !5
  %392 = sext i32 %391 to i64
  %393 = add nsw i64 %390, %392
  %394 = load i32, ptr @mod, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = srem i64 %393, %395
  %397 = trunc i64 %396 to i32
  %398 = load ptr, ptr %12, align 8, !tbaa !9
  %399 = load i32, ptr %42, align 4, !tbaa !5
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds i32, ptr %398, i64 %400
  store i32 %397, ptr %401, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  br label %402

402:                                              ; preds = %332
  %403 = load i32, ptr %42, align 4, !tbaa !5
  %404 = add nsw i32 %403, 1
  store i32 %404, ptr %42, align 4, !tbaa !5
  br label %327, !llvm.loop !22

405:                                              ; preds = %331
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void

406:                                              ; preds = %122, %118, %114, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %407

407:                                              ; preds = %406
  %408 = load ptr, ptr %14, align 8
  %409 = load i32, ptr %15, align 4
  %410 = insertvalue { ptr, i32 } poison, ptr %408, 0
  %411 = insertvalue { ptr, i32 } %410, i32 %409, 1
  resume { ptr, i32 } %411
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #4

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #4

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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 willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree 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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{i64 0, i64 8, !15, i64 8, i64 8, !15}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = !{!20, !16, i64 0}
!20 = !{!"_ZTS7complex", !16, i64 0, !16, i64 8}
!21 = !{!20, !16, i64 8}
!22 = distinct !{!22, !13}


; 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 { double, double }

@mod = external dso_local local_unnamed_addr global i32, align 4
@sp = external dso_local local_unnamed_addr global i32, align 4
@msk = external dso_local local_unnamed_addr global i32, align 4
@_ZZ4conviPiiS_iS_E1A = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1A = external hidden global i64, align 8
@_ZZ4conviPiiS_iS_E1B = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1B = external hidden global i64, align 8
@_ZZ4conviPiiS_iS_E1C = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1C = external hidden global i64, align 8
@_ZZ4conviPiiS_iS_E1D = external hidden global [524289 x %struct.complex], align 16
@_ZGVZ4conviPiiS_iS_E1D = external hidden global i64, align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; 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 nounwind uwtable
declare dso_local void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #0 align 2

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

; 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 uwtable
declare dso_local void @_Z3FFTiP7complexi(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complexmiERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4conviPiiS_iS_(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %7 = alloca %struct.complex, align 8
  %8 = alloca %struct.complex, align 8
  %9 = alloca %struct.complex, align 8
  %10 = alloca %struct.complex, align 8
  %11 = alloca %struct.complex, align 8
  %12 = alloca %struct.complex, align 8
  %13 = alloca %struct.complex, align 8
  %14 = alloca %struct.complex, align 8
  %15 = alloca %struct.complex, align 8
  %16 = alloca %struct.complex, align 8
  %17 = alloca %struct.complex, align 8
  %18 = alloca %struct.complex, align 8
  %19 = alloca %struct.complex, align 8
  %20 = alloca %struct.complex, align 8
  %21 = alloca %struct.complex, align 8
  %22 = alloca %struct.complex, align 8
  %23 = alloca %struct.complex, align 8
  %24 = alloca %struct.complex, align 8
  %25 = alloca %struct.complex, align 8
  %26 = alloca %struct.complex, align 8
  %27 = alloca %struct.complex, align 8
  %28 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1A acquire, align 8
  %29 = icmp eq i8 %28, 0
  br i1 %29, label %30, label %34, !prof !5

30:                                               ; preds = %6
  %31 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ4conviPiiS_iS_E1A) #5
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %34, label %.preheader80

.preheader80:                                     ; preds = %30, %.preheader80
  %.idx = phi i64 [ %.add, %.preheader80 ], [ 0, %30 ]
  %.ptr = getelementptr inbounds i8, ptr @_ZZ4conviPiiS_iS_E1A, i64 %.idx
  tail call void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr)
  %.add = add nuw nsw i64 %.idx, 16
  %32 = icmp eq i64 %.add, 8388624
  br i1 %32, label %33, label %.preheader80

33:                                               ; preds = %.preheader80
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ4conviPiiS_iS_E1A) #5
  br label %34

34:                                               ; preds = %33, %30, %6
  %35 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1B acquire, align 8
  %36 = icmp eq i8 %35, 0
  br i1 %36, label %37, label %41, !prof !5

37:                                               ; preds = %34
  %38 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ4conviPiiS_iS_E1B) #5
  %.not59 = icmp eq i32 %38, 0
  br i1 %.not59, label %41, label %.preheader79

.preheader79:                                     ; preds = %37, %.preheader79
  %.idx60 = phi i64 [ %.add61, %.preheader79 ], [ 0, %37 ]
  %.ptr62 = getelementptr inbounds i8, ptr @_ZZ4conviPiiS_iS_E1B, i64 %.idx60
  tail call void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr62)
  %.add61 = add nuw nsw i64 %.idx60, 16
  %39 = icmp eq i64 %.add61, 8388624
  br i1 %39, label %40, label %.preheader79

40:                                               ; preds = %.preheader79
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ4conviPiiS_iS_E1B) #5
  br label %41

41:                                               ; preds = %40, %37, %34
  %42 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1C acquire, align 8
  %43 = icmp eq i8 %42, 0
  br i1 %43, label %44, label %48, !prof !5

44:                                               ; preds = %41
  %45 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ4conviPiiS_iS_E1C) #5
  %.not64 = icmp eq i32 %45, 0
  br i1 %.not64, label %48, label %.preheader78

.preheader78:                                     ; preds = %44, %.preheader78
  %.idx65 = phi i64 [ %.add66, %.preheader78 ], [ 0, %44 ]
  %.ptr67 = getelementptr inbounds i8, ptr @_ZZ4conviPiiS_iS_E1C, i64 %.idx65
  tail call void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr67)
  %.add66 = add nuw nsw i64 %.idx65, 16
  %46 = icmp eq i64 %.add66, 8388624
  br i1 %46, label %47, label %.preheader78

47:                                               ; preds = %.preheader78
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ4conviPiiS_iS_E1C) #5
  br label %48

48:                                               ; preds = %47, %44, %41
  %49 = load atomic i8, ptr @_ZGVZ4conviPiiS_iS_E1D acquire, align 8
  %50 = icmp eq i8 %49, 0
  br i1 %50, label %51, label %55, !prof !5

51:                                               ; preds = %48
  %52 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ4conviPiiS_iS_E1D) #5
  %.not69 = icmp eq i32 %52, 0
  br i1 %.not69, label %55, label %.preheader77

.preheader77:                                     ; preds = %51, %.preheader77
  %.idx70 = phi i64 [ %.add71, %.preheader77 ], [ 0, %51 ]
  %.ptr72 = getelementptr inbounds i8, ptr @_ZZ4conviPiiS_iS_E1D, i64 %.idx70
  tail call void @_ZN7complexC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr72)
  %.add71 = add nuw nsw i64 %.idx70, 16
  %53 = icmp eq i64 %.add71, 8388624
  br i1 %53, label %54, label %.preheader77

54:                                               ; preds = %.preheader77
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ4conviPiiS_iS_E1D) #5
  br label %55

55:                                               ; preds = %54, %51, %48
  %56 = add i32 %0, -1
  %57 = add i32 %56, %2
  br label %58

58:                                               ; preds = %58, %55
  %.0 = phi i32 [ 1, %55 ], [ %60, %58 ]
  %59 = icmp slt i32 %.0, %57
  %60 = shl i32 %.0, 1
  br i1 %59, label %58, label %.preheader, !llvm.loop !6

.preheader:                                       ; preds = %58
  %61 = icmp sgt i32 %.0, 0
  br i1 %61, label %.lr.ph.preheader, label %._crit_edge85.critedge

.lr.ph.preheader:                                 ; preds = %.preheader
  %62 = sext i32 %0 to i64
  %63 = sext i32 %2 to i64
  %wide.trip.count = zext nneg i32 %.0 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %105
  call void @_Z3FFTiP7complexi(i32 noundef %.0, ptr noundef nonnull @_ZZ4conviPiiS_iS_E1A, i32 noundef 1)
  call void @_Z3FFTiP7complexi(i32 noundef %.0, ptr noundef nonnull @_ZZ4conviPiiS_iS_E1B, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef 5.000000e-01, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %10, double noundef 0.000000e+00, double noundef -5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %11, double noundef 0.000000e+00, double noundef 1.000000e+00)
  br i1 %61, label %.lr.ph84, label %._crit_edge85

.lr.ph84:                                         ; preds = %._crit_edge
  %64 = add nsw i32 %.0, -1
  %65 = getelementptr inbounds i8, ptr %14, i64 8
  %66 = getelementptr inbounds i8, ptr %13, i64 8
  %67 = getelementptr inbounds i8, ptr %12, i64 8
  %68 = getelementptr inbounds i8, ptr %17, i64 8
  %69 = getelementptr inbounds i8, ptr %16, i64 8
  %70 = getelementptr inbounds i8, ptr %15, i64 8
  %71 = getelementptr inbounds i8, ptr %20, i64 8
  %72 = getelementptr inbounds i8, ptr %19, i64 8
  %73 = getelementptr inbounds i8, ptr %18, i64 8
  %74 = getelementptr inbounds i8, ptr %23, i64 8
  %75 = getelementptr inbounds i8, ptr %22, i64 8
  %76 = getelementptr inbounds i8, ptr %21, i64 8
  %77 = getelementptr inbounds i8, ptr %25, i64 8
  %78 = getelementptr inbounds i8, ptr %24, i64 8
  %79 = getelementptr inbounds i8, ptr %27, i64 8
  %80 = getelementptr inbounds i8, ptr %26, i64 8
  %wide.trip.count94 = zext nneg i32 %.0 to i64
  br label %108

.lr.ph:                                           ; preds = %.lr.ph.preheader, %105
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %105 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %81 = icmp slt i64 %indvars.iv, %62
  br i1 %81, label %82, label %91

82:                                               ; preds = %.lr.ph
  %83 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv
  %84 = load i32, ptr %83, align 4, !tbaa !8
  %85 = load i32, ptr @msk, align 4, !tbaa !8
  %86 = and i32 %85, %84
  %87 = sitofp i32 %86 to double
  %88 = load i32, ptr @sp, align 4, !tbaa !8
  %89 = ashr i32 %84, %88
  %90 = sitofp i32 %89 to double
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %7, double noundef %87, double noundef %90)
  br label %92

91:                                               ; preds = %.lr.ph
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %7, double noundef 0.000000e+00, double noundef 0.000000e+00)
  br label %92

92:                                               ; preds = %91, %82
  %93 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %93, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %94 = icmp slt i64 %indvars.iv, %63
  br i1 %94, label %95, label %104

95:                                               ; preds = %92
  %96 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %97 = load i32, ptr %96, align 4, !tbaa !8
  %98 = load i32, ptr @msk, align 4, !tbaa !8
  %99 = and i32 %98, %97
  %100 = sitofp i32 %99 to double
  %101 = load i32, ptr @sp, align 4, !tbaa !8
  %102 = ashr i32 %97, %101
  %103 = sitofp i32 %102 to double
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef %100, double noundef %103)
  br label %105

104:                                              ; preds = %92
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef 0.000000e+00, double noundef 0.000000e+00)
  br label %105

105:                                              ; preds = %104, %95
  %106 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %106, ptr noundef nonnull align 8 dereferenceable(16) %8, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15

._crit_edge85.critedge:                           ; preds = %.preheader
  tail call void @_Z3FFTiP7complexi(i32 noundef %.0, ptr noundef nonnull @_ZZ4conviPiiS_iS_E1A, i32 noundef 1)
  tail call void @_Z3FFTiP7complexi(i32 noundef %.0, ptr noundef nonnull @_ZZ4conviPiiS_iS_E1B, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef 5.000000e-01, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %10, double noundef 0.000000e+00, double noundef -5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @_ZN7complexC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %11, double noundef 0.000000e+00, double noundef 1.000000e+00)
  br label %._crit_edge85

._crit_edge85:                                    ; preds = %108, %._crit_edge85.critedge, %._crit_edge
  call void @_Z3FFTiP7complexi(i32 noundef %.0, ptr noundef nonnull @_ZZ4conviPiiS_iS_E1C, i32 noundef -1)
  call void @_Z3FFTiP7complexi(i32 noundef %.0, ptr noundef nonnull @_ZZ4conviPiiS_iS_E1D, i32 noundef -1)
  %107 = icmp sgt i32 %4, 0
  br i1 %107, label %.lr.ph88.preheader, label %._crit_edge89

.lr.ph88.preheader:                               ; preds = %._crit_edge85
  %wide.trip.count99 = zext nneg i32 %4 to i64
  br label %.lr.ph88

108:                                              ; preds = %.lr.ph84, %108
  %indvars.iv91 = phi i64 [ 0, %.lr.ph84 ], [ %indvars.iv.next92, %108 ]
  %109 = trunc i64 %indvars.iv91 to i32
  %110 = sub i32 %.0, %109
  %111 = and i32 %110, %64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  %112 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %indvars.iv91
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  %113 = sext i32 %111 to i64
  %114 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1A, i64 0, i64 %113
  %115 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %114)
  %116 = extractvalue { double, double } %115, 0
  store double %116, ptr %14, align 8
  %117 = extractvalue { double, double } %115, 1
  store double %117, ptr %65, align 8
  %118 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %112, ptr noundef nonnull align 8 dereferenceable(16) %14)
  %119 = extractvalue { double, double } %118, 0
  store double %119, ptr %13, align 8
  %120 = extractvalue { double, double } %118, 1
  store double %120, ptr %66, align 8
  %121 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %122 = extractvalue { double, double } %121, 0
  store double %122, ptr %12, align 8
  %123 = extractvalue { double, double } %121, 1
  store double %123, ptr %67, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  %124 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %114)
  %125 = extractvalue { double, double } %124, 0
  store double %125, ptr %17, align 8
  %126 = extractvalue { double, double } %124, 1
  store double %126, ptr %68, align 8
  %127 = call { double, double } @_ZNK7complexmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %112, ptr noundef nonnull align 8 dereferenceable(16) %17)
  %128 = extractvalue { double, double } %127, 0
  store double %128, ptr %16, align 8
  %129 = extractvalue { double, double } %127, 1
  store double %129, ptr %69, align 8
  %130 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %10)
  %131 = extractvalue { double, double } %130, 0
  store double %131, ptr %15, align 8
  %132 = extractvalue { double, double } %130, 1
  store double %132, ptr %70, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  %133 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %indvars.iv91
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %134 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1B, i64 0, i64 %113
  %135 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %134)
  %136 = extractvalue { double, double } %135, 0
  store double %136, ptr %20, align 8
  %137 = extractvalue { double, double } %135, 1
  store double %137, ptr %71, align 8
  %138 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef nonnull align 8 dereferenceable(16) %20)
  %139 = extractvalue { double, double } %138, 0
  store double %139, ptr %19, align 8
  %140 = extractvalue { double, double } %138, 1
  store double %140, ptr %72, align 8
  %141 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %142 = extractvalue { double, double } %141, 0
  store double %142, ptr %18, align 8
  %143 = extractvalue { double, double } %141, 1
  store double %143, ptr %73, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #5
  %144 = call { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16) %134)
  %145 = extractvalue { double, double } %144, 0
  store double %145, ptr %23, align 8
  %146 = extractvalue { double, double } %144, 1
  store double %146, ptr %74, align 8
  %147 = call { double, double } @_ZNK7complexmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef nonnull align 8 dereferenceable(16) %23)
  %148 = extractvalue { double, double } %147, 0
  store double %148, ptr %22, align 8
  %149 = extractvalue { double, double } %147, 1
  store double %149, ptr %75, align 8
  %150 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %10)
  %151 = extractvalue { double, double } %150, 0
  store double %151, ptr %21, align 8
  %152 = extractvalue { double, double } %150, 1
  store double %152, ptr %76, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #5
  %153 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %154 = extractvalue { double, double } %153, 0
  store double %154, ptr %25, align 8
  %155 = extractvalue { double, double } %153, 1
  store double %155, ptr %77, align 8
  %156 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %157 = extractvalue { double, double } %156, 0
  store double %157, ptr %24, align 8
  %158 = extractvalue { double, double } %156, 1
  store double %158, ptr %78, align 8
  %159 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %24)
  %160 = extractvalue { double, double } %159, 0
  %161 = extractvalue { double, double } %159, 1
  %162 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1C, i64 0, i64 %indvars.iv91
  store double %160, ptr %162, align 16, !tbaa !13
  %.sroa.412.0..sroa_idx = getelementptr inbounds i8, ptr %162, i64 8
  store double %161, ptr %.sroa.412.0..sroa_idx, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #5
  %163 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %164 = extractvalue { double, double } %163, 0
  store double %164, ptr %27, align 8
  %165 = extractvalue { double, double } %163, 1
  store double %165, ptr %79, align 8
  %166 = call { double, double } @_ZNK7complexplERKS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %27)
  %167 = extractvalue { double, double } %166, 0
  store double %167, ptr %26, align 8
  %168 = extractvalue { double, double } %166, 1
  store double %168, ptr %80, align 8
  %169 = call { double, double } @_ZNK7complexmlERKS_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %170 = extractvalue { double, double } %169, 0
  %171 = extractvalue { double, double } %169, 1
  %172 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1D, i64 0, i64 %indvars.iv91
  store double %170, ptr %172, align 16, !tbaa !13
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %172, i64 8
  store double %171, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  %indvars.iv.next92 = add nuw nsw i64 %indvars.iv91, 1
  %exitcond95.not = icmp eq i64 %indvars.iv.next92, %wide.trip.count94
  br i1 %exitcond95.not, label %._crit_edge85, label %108, !llvm.loop !16

._crit_edge89:                                    ; preds = %.lr.ph88, %._crit_edge85
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  ret void

.lr.ph88:                                         ; preds = %.lr.ph88.preheader, %.lr.ph88
  %indvars.iv96 = phi i64 [ 0, %.lr.ph88.preheader ], [ %indvars.iv.next97, %.lr.ph88 ]
  %173 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1C, i64 0, i64 %indvars.iv96
  %174 = load double, ptr %173, align 16, !tbaa !17
  %175 = fadd double %174, 5.000000e-01
  %176 = fptosi double %175 to i64
  %177 = load i32, ptr @mod, align 4, !tbaa !8
  %178 = sext i32 %177 to i64
  %179 = srem i64 %176, %178
  %180 = getelementptr inbounds i8, ptr %173, i64 8
  %181 = load double, ptr %180, align 8, !tbaa !19
  %182 = fadd double %181, 5.000000e-01
  %183 = fptosi double %182 to i64
  %184 = srem i64 %183, %178
  %185 = getelementptr inbounds [524289 x %struct.complex], ptr @_ZZ4conviPiiS_iS_E1D, i64 0, i64 %indvars.iv96
  %186 = load double, ptr %185, align 16, !tbaa !17
  %187 = fadd double %186, 5.000000e-01
  %188 = fptosi double %187 to i64
  %189 = srem i64 %188, %178
  %190 = getelementptr inbounds i8, ptr %185, i64 8
  %191 = load double, ptr %190, align 8, !tbaa !19
  %192 = fadd double %191, 5.000000e-01
  %193 = fptosi double %192 to i64
  %194 = srem i64 %193, %178
  %195 = load i32, ptr @sp, align 4, !tbaa !8
  %196 = zext i32 %195 to i64
  %197 = shl i64 %194, %196
  %198 = add nsw i64 %189, %184
  %199 = add i64 %198, %197
  %200 = shl i64 %199, %196
  %201 = add nsw i64 %200, %179
  %202 = srem i64 %201, %178
  %203 = trunc nsw i64 %202 to i32
  %204 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv96
  store i32 %203, ptr %204, align 4, !tbaa !8
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %exitcond100.not = icmp eq i64 %indvars.iv.next97, %wide.trip.count99
  br i1 %exitcond100.not, label %._crit_edge89, label %.lr.ph88, !llvm.loop !20
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7complex4conjEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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 willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree 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 = { nofree nounwind }
attributes #5 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{i64 0, i64 8, !13, i64 8, i64 8, !13}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !10, i64 0}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = !{!18, !14, i64 0}
!18 = !{!"_ZTS7complex", !14, i64 0, !14, i64 8}
!19 = !{!18, !14, i64 8}
!20 = distinct !{!20, !7}


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