; LLVM IR from mkmarek/forex.analytics :: lib/ta-lib/src/ta_func (ta_BBANDS)

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @TA_S_BBANDS(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #2 {
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  store i32 %0, ptr %14, align 4, !tbaa !5
  store i32 %1, ptr %15, align 4, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !9
  store i32 %3, ptr %17, align 4, !tbaa !5
  store double %4, ptr %18, align 8, !tbaa !11
  store double %5, ptr %19, align 8, !tbaa !11
  store i32 %6, ptr %20, align 4, !tbaa !5
  store ptr %7, ptr %21, align 8, !tbaa !9
  store ptr %8, ptr %22, align 8, !tbaa !9
  store ptr %9, ptr %23, align 8, !tbaa !9
  store ptr %10, ptr %24, align 8, !tbaa !9
  store ptr %11, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %33 = load i32, ptr %14, align 4, !tbaa !5
  %34 = icmp slt i32 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %12
  store i32 12, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

36:                                               ; preds = %12
  %37 = load i32, ptr %15, align 4, !tbaa !5
  %38 = icmp slt i32 %37, 0
  br i1 %38, label %43, label %39

39:                                               ; preds = %36
  %40 = load i32, ptr %15, align 4, !tbaa !5
  %41 = load i32, ptr %14, align 4, !tbaa !5
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %43, label %44

43:                                               ; preds = %39, %36
  store i32 13, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

44:                                               ; preds = %39
  %45 = load ptr, ptr %16, align 8, !tbaa !9
  %46 = icmp ne ptr %45, null
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

48:                                               ; preds = %44
  %49 = load i32, ptr %17, align 4, !tbaa !5
  %50 = icmp eq i32 %49, -2147483648
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  store i32 5, ptr %17, align 4, !tbaa !5
  br label %60

52:                                               ; preds = %48
  %53 = load i32, ptr %17, align 4, !tbaa !5
  %54 = icmp slt i32 %53, 2
  br i1 %54, label %58, label %55

55:                                               ; preds = %52
  %56 = load i32, ptr %17, align 4, !tbaa !5
  %57 = icmp sgt i32 %56, 100000
  br i1 %57, label %58, label %59

58:                                               ; preds = %55, %52
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

59:                                               ; preds = %55
  br label %60

60:                                               ; preds = %59, %51
  %61 = load double, ptr %18, align 8, !tbaa !11
  %62 = fcmp oeq double %61, -4.000000e+37
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  store double 2.000000e+00, ptr %18, align 8, !tbaa !11
  br label %72

64:                                               ; preds = %60
  %65 = load double, ptr %18, align 8, !tbaa !11
  %66 = fcmp olt double %65, -3.000000e+37
  br i1 %66, label %70, label %67

67:                                               ; preds = %64
  %68 = load double, ptr %18, align 8, !tbaa !11
  %69 = fcmp ogt double %68, 3.000000e+37
  br i1 %69, label %70, label %71

70:                                               ; preds = %67, %64
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

71:                                               ; preds = %67
  br label %72

72:                                               ; preds = %71, %63
  %73 = load double, ptr %19, align 8, !tbaa !11
  %74 = fcmp oeq double %73, -4.000000e+37
  br i1 %74, label %75, label %76

75:                                               ; preds = %72
  store double 2.000000e+00, ptr %19, align 8, !tbaa !11
  br label %84

76:                                               ; preds = %72
  %77 = load double, ptr %19, align 8, !tbaa !11
  %78 = fcmp olt double %77, -3.000000e+37
  br i1 %78, label %82, label %79

79:                                               ; preds = %76
  %80 = load double, ptr %19, align 8, !tbaa !11
  %81 = fcmp ogt double %80, 3.000000e+37
  br i1 %81, label %82, label %83

82:                                               ; preds = %79, %76
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

83:                                               ; preds = %79
  br label %84

84:                                               ; preds = %83, %75
  %85 = load i32, ptr %20, align 4, !tbaa !5
  %86 = icmp eq i32 %85, -2147483648
  br i1 %86, label %87, label %88

87:                                               ; preds = %84
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %96

88:                                               ; preds = %84
  %89 = load i32, ptr %20, align 4, !tbaa !5
  %90 = icmp slt i32 %89, 0
  br i1 %90, label %94, label %91

91:                                               ; preds = %88
  %92 = load i32, ptr %20, align 4, !tbaa !5
  %93 = icmp sgt i32 %92, 8
  br i1 %93, label %94, label %95

94:                                               ; preds = %91, %88
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

95:                                               ; preds = %91
  br label %96

96:                                               ; preds = %95, %87
  %97 = load ptr, ptr %23, align 8, !tbaa !9
  %98 = icmp ne ptr %97, null
  br i1 %98, label %100, label %99

99:                                               ; preds = %96
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

100:                                              ; preds = %96
  %101 = load ptr, ptr %24, align 8, !tbaa !9
  %102 = icmp ne ptr %101, null
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

104:                                              ; preds = %100
  %105 = load ptr, ptr %25, align 8, !tbaa !9
  %106 = icmp ne ptr %105, null
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

108:                                              ; preds = %104
  %109 = load ptr, ptr %24, align 8, !tbaa !9
  store ptr %109, ptr %30, align 8, !tbaa !9
  %110 = load ptr, ptr %25, align 8, !tbaa !9
  store ptr %110, ptr %31, align 8, !tbaa !9
  %111 = load i32, ptr %14, align 4, !tbaa !5
  %112 = load i32, ptr %15, align 4, !tbaa !5
  %113 = load ptr, ptr %16, align 8, !tbaa !9
  %114 = load i32, ptr %17, align 4, !tbaa !5
  %115 = load i32, ptr %20, align 4, !tbaa !5
  %116 = load ptr, ptr %21, align 8, !tbaa !9
  %117 = load ptr, ptr %22, align 8, !tbaa !9
  %118 = load ptr, ptr %30, align 8, !tbaa !9
  %119 = call i32 @TA_S_MA(i32 noundef %111, i32 noundef %112, ptr noundef %113, i32 noundef %114, i32 noundef %115, ptr noundef %116, ptr noundef %117, ptr noundef %118)
  store i32 %119, ptr %26, align 4, !tbaa !5
  %120 = load i32, ptr %26, align 4, !tbaa !5
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %126, label %122

122:                                              ; preds = %108
  %123 = load ptr, ptr %22, align 8, !tbaa !9
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %129

126:                                              ; preds = %122, %108
  %127 = load ptr, ptr %22, align 8, !tbaa !9
  store i32 0, ptr %127, align 4, !tbaa !5
  %128 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %128, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

129:                                              ; preds = %122
  %130 = load i32, ptr %20, align 4, !tbaa !5
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %141

132:                                              ; preds = %129
  %133 = load ptr, ptr %16, align 8, !tbaa !9
  %134 = load ptr, ptr %30, align 8, !tbaa !9
  %135 = load ptr, ptr %21, align 8, !tbaa !9
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = load ptr, ptr %22, align 8, !tbaa !9
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = load i32, ptr %17, align 4, !tbaa !5
  %140 = load ptr, ptr %31, align 8, !tbaa !9
  call void @TA_S_INT_stddev_using_precalc_ma(ptr noundef %133, ptr noundef %134, i32 noundef %136, i32 noundef %138, i32 noundef %139, ptr noundef %140)
  br label %157

141:                                              ; preds = %129
  %142 = load ptr, ptr %21, align 8, !tbaa !9
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = load i32, ptr %15, align 4, !tbaa !5
  %145 = load ptr, ptr %16, align 8, !tbaa !9
  %146 = load i32, ptr %17, align 4, !tbaa !5
  %147 = load ptr, ptr %21, align 8, !tbaa !9
  %148 = load ptr, ptr %22, align 8, !tbaa !9
  %149 = load ptr, ptr %31, align 8, !tbaa !9
  %150 = call i32 @TA_S_STDDEV(i32 noundef %143, i32 noundef %144, ptr noundef %145, i32 noundef %146, double noundef 1.000000e+00, ptr noundef %147, ptr noundef %148, ptr noundef %149)
  store i32 %150, ptr %26, align 4, !tbaa !5
  %151 = load i32, ptr %26, align 4, !tbaa !5
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %156

153:                                              ; preds = %141
  %154 = load ptr, ptr %22, align 8, !tbaa !9
  store i32 0, ptr %154, align 4, !tbaa !5
  %155 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %155, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

156:                                              ; preds = %141
  br label %157

157:                                              ; preds = %156, %132
  %158 = load double, ptr %18, align 8, !tbaa !11
  %159 = load double, ptr %19, align 8, !tbaa !11
  %160 = fcmp oeq double %158, %159
  br i1 %160, label %161, label %237

161:                                              ; preds = %157
  %162 = load double, ptr %18, align 8, !tbaa !11
  %163 = fcmp oeq double %162, 1.000000e+00
  br i1 %163, label %164, label %199

164:                                              ; preds = %161
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %165

165:                                              ; preds = %195, %164
  %166 = load i32, ptr %27, align 4, !tbaa !5
  %167 = load ptr, ptr %22, align 8, !tbaa !9
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = icmp slt i32 %166, %168
  br i1 %169, label %170, label %198

170:                                              ; preds = %165
  %171 = load ptr, ptr %31, align 8, !tbaa !9
  %172 = load i32, ptr %27, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds double, ptr %171, i64 %173
  %175 = load double, ptr %174, align 8, !tbaa !11
  store double %175, ptr %28, align 8, !tbaa !11
  %176 = load ptr, ptr %24, align 8, !tbaa !9
  %177 = load i32, ptr %27, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds double, ptr %176, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !11
  store double %180, ptr %29, align 8, !tbaa !11
  %181 = load double, ptr %29, align 8, !tbaa !11
  %182 = load double, ptr %28, align 8, !tbaa !11
  %183 = fadd double %181, %182
  %184 = load ptr, ptr %23, align 8, !tbaa !9
  %185 = load i32, ptr %27, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %184, i64 %186
  store double %183, ptr %187, align 8, !tbaa !11
  %188 = load double, ptr %29, align 8, !tbaa !11
  %189 = load double, ptr %28, align 8, !tbaa !11
  %190 = fsub double %188, %189
  %191 = load ptr, ptr %25, align 8, !tbaa !9
  %192 = load i32, ptr %27, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds double, ptr %191, i64 %193
  store double %190, ptr %194, align 8, !tbaa !11
  br label %195

195:                                              ; preds = %170
  %196 = load i32, ptr %27, align 4, !tbaa !5
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %27, align 4, !tbaa !5
  br label %165, !llvm.loop !13

198:                                              ; preds = %165
  br label %236

199:                                              ; preds = %161
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %200

200:                                              ; preds = %232, %199
  %201 = load i32, ptr %27, align 4, !tbaa !5
  %202 = load ptr, ptr %22, align 8, !tbaa !9
  %203 = load i32, ptr %202, align 4, !tbaa !5
  %204 = icmp slt i32 %201, %203
  br i1 %204, label %205, label %235

205:                                              ; preds = %200
  %206 = load ptr, ptr %31, align 8, !tbaa !9
  %207 = load i32, ptr %27, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds double, ptr %206, i64 %208
  %210 = load double, ptr %209, align 8, !tbaa !11
  %211 = load double, ptr %18, align 8, !tbaa !11
  %212 = fmul double %210, %211
  store double %212, ptr %28, align 8, !tbaa !11
  %213 = load ptr, ptr %24, align 8, !tbaa !9
  %214 = load i32, ptr %27, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds double, ptr %213, i64 %215
  %217 = load double, ptr %216, align 8, !tbaa !11
  store double %217, ptr %29, align 8, !tbaa !11
  %218 = load double, ptr %29, align 8, !tbaa !11
  %219 = load double, ptr %28, align 8, !tbaa !11
  %220 = fadd double %218, %219
  %221 = load ptr, ptr %23, align 8, !tbaa !9
  %222 = load i32, ptr %27, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds double, ptr %221, i64 %223
  store double %220, ptr %224, align 8, !tbaa !11
  %225 = load double, ptr %29, align 8, !tbaa !11
  %226 = load double, ptr %28, align 8, !tbaa !11
  %227 = fsub double %225, %226
  %228 = load ptr, ptr %25, align 8, !tbaa !9
  %229 = load i32, ptr %27, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds double, ptr %228, i64 %230
  store double %227, ptr %231, align 8, !tbaa !11
  br label %232

232:                                              ; preds = %205
  %233 = load i32, ptr %27, align 4, !tbaa !5
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %27, align 4, !tbaa !5
  br label %200, !llvm.loop !15

235:                                              ; preds = %200
  br label %236

236:                                              ; preds = %235, %198
  br label %356

237:                                              ; preds = %157
  %238 = load double, ptr %18, align 8, !tbaa !11
  %239 = fcmp oeq double %238, 1.000000e+00
  br i1 %239, label %240, label %277

240:                                              ; preds = %237
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %241

241:                                              ; preds = %273, %240
  %242 = load i32, ptr %27, align 4, !tbaa !5
  %243 = load ptr, ptr %22, align 8, !tbaa !9
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = icmp slt i32 %242, %244
  br i1 %245, label %246, label %276

246:                                              ; preds = %241
  %247 = load ptr, ptr %31, align 8, !tbaa !9
  %248 = load i32, ptr %27, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds double, ptr %247, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !11
  store double %251, ptr %28, align 8, !tbaa !11
  %252 = load ptr, ptr %24, align 8, !tbaa !9
  %253 = load i32, ptr %27, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds double, ptr %252, i64 %254
  %256 = load double, ptr %255, align 8, !tbaa !11
  store double %256, ptr %29, align 8, !tbaa !11
  %257 = load double, ptr %29, align 8, !tbaa !11
  %258 = load double, ptr %28, align 8, !tbaa !11
  %259 = fadd double %257, %258
  %260 = load ptr, ptr %23, align 8, !tbaa !9
  %261 = load i32, ptr %27, align 4, !tbaa !5
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds double, ptr %260, i64 %262
  store double %259, ptr %263, align 8, !tbaa !11
  %264 = load double, ptr %29, align 8, !tbaa !11
  %265 = load double, ptr %28, align 8, !tbaa !11
  %266 = load double, ptr %19, align 8, !tbaa !11
  %267 = fneg double %265
  %268 = call double @llvm.fmuladd.f64(double %267, double %266, double %264)
  %269 = load ptr, ptr %25, align 8, !tbaa !9
  %270 = load i32, ptr %27, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds double, ptr %269, i64 %271
  store double %268, ptr %272, align 8, !tbaa !11
  br label %273

273:                                              ; preds = %246
  %274 = load i32, ptr %27, align 4, !tbaa !5
  %275 = add nsw i32 %274, 1
  store i32 %275, ptr %27, align 4, !tbaa !5
  br label %241, !llvm.loop !16

276:                                              ; preds = %241
  br label %355

277:                                              ; preds = %237
  %278 = load double, ptr %19, align 8, !tbaa !11
  %279 = fcmp oeq double %278, 1.000000e+00
  br i1 %279, label %280, label %316

280:                                              ; preds = %277
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %281

281:                                              ; preds = %312, %280
  %282 = load i32, ptr %27, align 4, !tbaa !5
  %283 = load ptr, ptr %22, align 8, !tbaa !9
  %284 = load i32, ptr %283, align 4, !tbaa !5
  %285 = icmp slt i32 %282, %284
  br i1 %285, label %286, label %315

286:                                              ; preds = %281
  %287 = load ptr, ptr %31, align 8, !tbaa !9
  %288 = load i32, ptr %27, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds double, ptr %287, i64 %289
  %291 = load double, ptr %290, align 8, !tbaa !11
  store double %291, ptr %28, align 8, !tbaa !11
  %292 = load ptr, ptr %24, align 8, !tbaa !9
  %293 = load i32, ptr %27, align 4, !tbaa !5
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds double, ptr %292, i64 %294
  %296 = load double, ptr %295, align 8, !tbaa !11
  store double %296, ptr %29, align 8, !tbaa !11
  %297 = load double, ptr %29, align 8, !tbaa !11
  %298 = load double, ptr %28, align 8, !tbaa !11
  %299 = fsub double %297, %298
  %300 = load ptr, ptr %25, align 8, !tbaa !9
  %301 = load i32, ptr %27, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds double, ptr %300, i64 %302
  store double %299, ptr %303, align 8, !tbaa !11
  %304 = load double, ptr %29, align 8, !tbaa !11
  %305 = load double, ptr %28, align 8, !tbaa !11
  %306 = load double, ptr %18, align 8, !tbaa !11
  %307 = call double @llvm.fmuladd.f64(double %305, double %306, double %304)
  %308 = load ptr, ptr %23, align 8, !tbaa !9
  %309 = load i32, ptr %27, align 4, !tbaa !5
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds double, ptr %308, i64 %310
  store double %307, ptr %311, align 8, !tbaa !11
  br label %312

312:                                              ; preds = %286
  %313 = load i32, ptr %27, align 4, !tbaa !5
  %314 = add nsw i32 %313, 1
  store i32 %314, ptr %27, align 4, !tbaa !5
  br label %281, !llvm.loop !17

315:                                              ; preds = %281
  br label %354

316:                                              ; preds = %277
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %317

317:                                              ; preds = %350, %316
  %318 = load i32, ptr %27, align 4, !tbaa !5
  %319 = load ptr, ptr %22, align 8, !tbaa !9
  %320 = load i32, ptr %319, align 4, !tbaa !5
  %321 = icmp slt i32 %318, %320
  br i1 %321, label %322, label %353

322:                                              ; preds = %317
  %323 = load ptr, ptr %31, align 8, !tbaa !9
  %324 = load i32, ptr %27, align 4, !tbaa !5
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds double, ptr %323, i64 %325
  %327 = load double, ptr %326, align 8, !tbaa !11
  store double %327, ptr %28, align 8, !tbaa !11
  %328 = load ptr, ptr %24, align 8, !tbaa !9
  %329 = load i32, ptr %27, align 4, !tbaa !5
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds double, ptr %328, i64 %330
  %332 = load double, ptr %331, align 8, !tbaa !11
  store double %332, ptr %29, align 8, !tbaa !11
  %333 = load double, ptr %29, align 8, !tbaa !11
  %334 = load double, ptr %28, align 8, !tbaa !11
  %335 = load double, ptr %18, align 8, !tbaa !11
  %336 = call double @llvm.fmuladd.f64(double %334, double %335, double %333)
  %337 = load ptr, ptr %23, align 8, !tbaa !9
  %338 = load i32, ptr %27, align 4, !tbaa !5
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds double, ptr %337, i64 %339
  store double %336, ptr %340, align 8, !tbaa !11
  %341 = load double, ptr %29, align 8, !tbaa !11
  %342 = load double, ptr %28, align 8, !tbaa !11
  %343 = load double, ptr %19, align 8, !tbaa !11
  %344 = fneg double %342
  %345 = call double @llvm.fmuladd.f64(double %344, double %343, double %341)
  %346 = load ptr, ptr %25, align 8, !tbaa !9
  %347 = load i32, ptr %27, align 4, !tbaa !5
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds double, ptr %346, i64 %348
  store double %345, ptr %349, align 8, !tbaa !11
  br label %350

350:                                              ; preds = %322
  %351 = load i32, ptr %27, align 4, !tbaa !5
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %27, align 4, !tbaa !5
  br label %317, !llvm.loop !18

353:                                              ; preds = %317
  br label %354

354:                                              ; preds = %353, %315
  br label %355

355:                                              ; preds = %354, %276
  br label %356

356:                                              ; preds = %355, %236
  store i32 0, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %357

357:                                              ; preds = %356, %153, %126, %107, %103, %99, %94, %82, %70, %58, %47, %43, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  %358 = load i32, ptr %13, align 4
  ret i32 %358
}

declare i32 @TA_S_MA(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare void @TA_S_INT_stddev_using_precalc_ma(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #3

declare i32 @TA_S_STDDEV(i32 noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { "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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @TA_S_BBANDS(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef writeonly %9, ptr noundef %10, ptr noundef %11) local_unnamed_addr #1 {
  %13 = icmp slt i32 %0, 0
  br i1 %13, label %.loopexit, label %14

14:                                               ; preds = %12
  %15 = icmp slt i32 %1, %0
  br i1 %15, label %.loopexit, label %16

16:                                               ; preds = %14
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %.loopexit, label %17

17:                                               ; preds = %16
  %18 = icmp eq i32 %3, -2147483648
  br i1 %18, label %21, label %19

19:                                               ; preds = %17
  %20 = add i32 %3, -100001
  %or.cond = icmp ult i32 %20, -99999
  br i1 %or.cond, label %.loopexit, label %21

21:                                               ; preds = %17, %19
  %.0143 = phi i32 [ %3, %19 ], [ 5, %17 ]
  %22 = fcmp oeq double %4, -4.000000e+37
  br i1 %22, label %25, label %23

23:                                               ; preds = %21
  %24 = tail call double @llvm.fabs.f64(double %4)
  %or.cond3 = fcmp ogt double %24, 3.000000e+37
  br i1 %or.cond3, label %.loopexit, label %25

25:                                               ; preds = %21, %23
  %.0145 = phi double [ %4, %23 ], [ 2.000000e+00, %21 ]
  %26 = fcmp oeq double %5, -4.000000e+37
  br i1 %26, label %29, label %27

27:                                               ; preds = %25
  %28 = tail call double @llvm.fabs.f64(double %5)
  %or.cond5 = fcmp ogt double %28, 3.000000e+37
  br i1 %or.cond5, label %.loopexit, label %29

29:                                               ; preds = %25, %27
  %.0146 = phi double [ %5, %27 ], [ 2.000000e+00, %25 ]
  %30 = icmp eq i32 %6, -2147483648
  br i1 %30, label %32, label %31

31:                                               ; preds = %29
  %or.cond7 = icmp ugt i32 %6, 8
  br i1 %or.cond7, label %.loopexit, label %32

32:                                               ; preds = %29, %31
  %.0147 = phi i32 [ %6, %31 ], [ 0, %29 ]
  %.not160 = icmp eq ptr %9, null
  %.not161 = icmp eq ptr %10, null
  %or.cond166 = or i1 %.not160, %.not161
  %.not162 = icmp eq ptr %11, null
  %or.cond167 = or i1 %or.cond166, %.not162
  br i1 %or.cond167, label %.loopexit, label %33

33:                                               ; preds = %32
  %34 = tail call i32 @TA_S_MA(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2, i32 noundef %.0143, i32 noundef %.0147, ptr noundef %7, ptr noundef %8, ptr noundef nonnull %10) #4
  %.not163 = icmp eq i32 %34, 0
  br i1 %.not163, label %35, label %.loopexit.sink.split

35:                                               ; preds = %33
  %36 = load i32, ptr %8, align 4, !tbaa !5
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %.loopexit.sink.split, label %38

38:                                               ; preds = %35
  %39 = icmp eq i32 %.0147, 0
  %40 = load i32, ptr %7, align 4, !tbaa !5
  br i1 %39, label %41, label %42

41:                                               ; preds = %38
  tail call void @TA_S_INT_stddev_using_precalc_ma(ptr noundef nonnull %2, ptr noundef nonnull %10, i32 noundef %40, i32 noundef %36, i32 noundef %.0143, ptr noundef nonnull %11) #4
  br label %44

42:                                               ; preds = %38
  %43 = tail call i32 @TA_S_STDDEV(i32 noundef %40, i32 noundef %1, ptr noundef nonnull %2, i32 noundef %.0143, double noundef 1.000000e+00, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %11) #4
  %.not164 = icmp eq i32 %43, 0
  br i1 %.not164, label %44, label %.loopexit.sink.split

44:                                               ; preds = %42, %41
  %45 = fcmp oeq double %.0145, %.0146
  %46 = fcmp oeq double %.0145, 1.000000e+00
  br i1 %45, label %47, label %119

47:                                               ; preds = %44
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = icmp sgt i32 %48, 0
  br i1 %46, label %.preheader, label %.preheader168

.preheader168:                                    ; preds = %47
  br i1 %49, label %.lr.ph182.preheader, label %.loopexit

.lr.ph182.preheader:                              ; preds = %.preheader168
  %wide.trip.count203 = zext nneg i32 %48 to i64
  %min.iters.check307 = icmp ult i32 %48, 10
  br i1 %min.iters.check307, label %.lr.ph182.preheader351, label %vector.memcheck290

.lr.ph182.preheader351:                           ; preds = %middle.block305, %vector.memcheck290, %.lr.ph182.preheader
  %indvars.iv200.ph = phi i64 [ 0, %vector.memcheck290 ], [ 0, %.lr.ph182.preheader ], [ %n.vec310, %middle.block305 ]
  %xtraiter363 = and i64 %wide.trip.count203, 1
  %lcmp.mod364.not = icmp eq i64 %xtraiter363, 0
  br i1 %lcmp.mod364.not, label %.lr.ph182.prol.loopexit, label %.lr.ph182.prol

.lr.ph182.prol:                                   ; preds = %.lr.ph182.preheader351
  %50 = getelementptr inbounds double, ptr %11, i64 %indvars.iv200.ph
  %51 = load double, ptr %50, align 8, !tbaa !9
  %52 = fmul double %.0145, %51
  %53 = getelementptr inbounds double, ptr %10, i64 %indvars.iv200.ph
  %54 = load double, ptr %53, align 8, !tbaa !9
  %55 = fadd double %54, %52
  %56 = getelementptr inbounds double, ptr %9, i64 %indvars.iv200.ph
  store double %55, ptr %56, align 8, !tbaa !9
  %57 = fsub double %54, %52
  store double %57, ptr %50, align 8, !tbaa !9
  %indvars.iv.next201.prol = or disjoint i64 %indvars.iv200.ph, 1
  br label %.lr.ph182.prol.loopexit

.lr.ph182.prol.loopexit:                          ; preds = %.lr.ph182.prol, %.lr.ph182.preheader351
  %indvars.iv200.unr = phi i64 [ %indvars.iv200.ph, %.lr.ph182.preheader351 ], [ %indvars.iv.next201.prol, %.lr.ph182.prol ]
  %58 = add nsw i64 %wide.trip.count203, -1
  %59 = icmp eq i64 %indvars.iv200.ph, %58
  br i1 %59, label %.loopexit, label %.lr.ph182

vector.memcheck290:                               ; preds = %.lr.ph182.preheader
  %60 = shl nuw nsw i64 %wide.trip.count203, 3
  %scevgep291 = getelementptr i8, ptr %9, i64 %60
  %scevgep292 = getelementptr i8, ptr %11, i64 %60
  %scevgep293 = getelementptr i8, ptr %10, i64 %60
  %bound0294 = icmp ugt ptr %scevgep292, %9
  %bound1295 = icmp ugt ptr %scevgep291, %11
  %found.conflict296 = and i1 %bound0294, %bound1295
  %bound0297 = icmp ugt ptr %scevgep293, %9
  %bound1298 = icmp ugt ptr %scevgep291, %10
  %found.conflict299 = and i1 %bound0297, %bound1298
  %conflict.rdx300 = or i1 %found.conflict296, %found.conflict299
  %bound0301 = icmp ugt ptr %scevgep293, %11
  %bound1302 = icmp ugt ptr %scevgep292, %10
  %found.conflict303 = and i1 %bound0301, %bound1302
  %conflict.rdx304 = or i1 %conflict.rdx300, %found.conflict303
  br i1 %conflict.rdx304, label %.lr.ph182.preheader351, label %vector.ph308

vector.ph308:                                     ; preds = %vector.memcheck290
  %n.vec310 = and i64 %wide.trip.count203, 2147483646
  %broadcast.splatinsert315 = insertelement <2 x double> poison, double %.0145, i64 0
  %broadcast.splat316 = shufflevector <2 x double> %broadcast.splatinsert315, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body312

vector.body312:                                   ; preds = %vector.body312, %vector.ph308
  %index313 = phi i64 [ 0, %vector.ph308 ], [ %index.next318, %vector.body312 ]
  %61 = getelementptr inbounds double, ptr %11, i64 %index313
  %wide.load314 = load <2 x double>, ptr %61, align 8, !tbaa !9, !alias.scope !11, !noalias !14
  %62 = fmul <2 x double> %broadcast.splat316, %wide.load314
  %63 = getelementptr inbounds double, ptr %10, i64 %index313
  %wide.load317 = load <2 x double>, ptr %63, align 8, !tbaa !9, !alias.scope !14
  %64 = fadd <2 x double> %wide.load317, %62
  %65 = getelementptr inbounds double, ptr %9, i64 %index313
  store <2 x double> %64, ptr %65, align 8, !tbaa !9, !alias.scope !16, !noalias !18
  %66 = fsub <2 x double> %wide.load317, %62
  store <2 x double> %66, ptr %61, align 8, !tbaa !9, !alias.scope !11, !noalias !14
  %index.next318 = add nuw i64 %index313, 2
  %67 = icmp eq i64 %index.next318, %n.vec310
  br i1 %67, label %middle.block305, label %vector.body312, !llvm.loop !19

middle.block305:                                  ; preds = %vector.body312
  %cmp.n319 = icmp eq i64 %n.vec310, %wide.trip.count203
  br i1 %cmp.n319, label %.loopexit, label %.lr.ph182.preheader351

.preheader:                                       ; preds = %47
  br i1 %49, label %.lr.ph184.preheader, label %.loopexit

.lr.ph184.preheader:                              ; preds = %.preheader
  %wide.trip.count208 = zext nneg i32 %48 to i64
  %min.iters.check337 = icmp ult i32 %48, 12
  br i1 %min.iters.check337, label %.lr.ph184.preheader350, label %vector.memcheck320

vector.memcheck320:                               ; preds = %.lr.ph184.preheader
  %68 = shl nuw nsw i64 %wide.trip.count208, 3
  %scevgep321 = getelementptr i8, ptr %9, i64 %68
  %scevgep322 = getelementptr i8, ptr %11, i64 %68
  %scevgep323 = getelementptr i8, ptr %10, i64 %68
  %bound0324 = icmp ugt ptr %scevgep322, %9
  %bound1325 = icmp ugt ptr %scevgep321, %11
  %found.conflict326 = and i1 %bound0324, %bound1325
  %bound0327 = icmp ugt ptr %scevgep323, %9
  %bound1328 = icmp ugt ptr %scevgep321, %10
  %found.conflict329 = and i1 %bound0327, %bound1328
  %conflict.rdx330 = or i1 %found.conflict326, %found.conflict329
  %bound0331 = icmp ugt ptr %scevgep323, %11
  %bound1332 = icmp ugt ptr %scevgep322, %10
  %found.conflict333 = and i1 %bound0331, %bound1332
  %conflict.rdx334 = or i1 %conflict.rdx330, %found.conflict333
  br i1 %conflict.rdx334, label %.lr.ph184.preheader350, label %vector.ph338

vector.ph338:                                     ; preds = %vector.memcheck320
  %n.vec340 = and i64 %wide.trip.count208, 2147483644
  br label %vector.body342

vector.body342:                                   ; preds = %vector.body342, %vector.ph338
  %index343 = phi i64 [ 0, %vector.ph338 ], [ %index.next348, %vector.body342 ]
  %69 = getelementptr inbounds double, ptr %11, i64 %index343
  %70 = getelementptr inbounds i8, ptr %69, i64 16
  %wide.load344 = load <2 x double>, ptr %69, align 8, !tbaa !9, !alias.scope !23, !noalias !26
  %wide.load345 = load <2 x double>, ptr %70, align 8, !tbaa !9, !alias.scope !23, !noalias !26
  %71 = getelementptr inbounds double, ptr %10, i64 %index343
  %72 = getelementptr inbounds i8, ptr %71, i64 16
  %wide.load346 = load <2 x double>, ptr %71, align 8, !tbaa !9, !alias.scope !26
  %wide.load347 = load <2 x double>, ptr %72, align 8, !tbaa !9, !alias.scope !26
  %73 = fadd <2 x double> %wide.load344, %wide.load346
  %74 = fadd <2 x double> %wide.load345, %wide.load347
  %75 = getelementptr inbounds double, ptr %9, i64 %index343
  %76 = getelementptr inbounds i8, ptr %75, i64 16
  store <2 x double> %73, ptr %75, align 8, !tbaa !9, !alias.scope !28, !noalias !30
  store <2 x double> %74, ptr %76, align 8, !tbaa !9, !alias.scope !28, !noalias !30
  %77 = fsub <2 x double> %wide.load346, %wide.load344
  %78 = fsub <2 x double> %wide.load347, %wide.load345
  store <2 x double> %77, ptr %69, align 8, !tbaa !9, !alias.scope !23, !noalias !26
  store <2 x double> %78, ptr %70, align 8, !tbaa !9, !alias.scope !23, !noalias !26
  %index.next348 = add nuw i64 %index343, 4
  %79 = icmp eq i64 %index.next348, %n.vec340
  br i1 %79, label %middle.block335, label %vector.body342, !llvm.loop !31

middle.block335:                                  ; preds = %vector.body342
  %cmp.n349 = icmp eq i64 %n.vec340, %wide.trip.count208
  br i1 %cmp.n349, label %.loopexit, label %.lr.ph184.preheader350

.lr.ph184.preheader350:                           ; preds = %middle.block335, %vector.memcheck320, %.lr.ph184.preheader
  %indvars.iv205.ph = phi i64 [ 0, %vector.memcheck320 ], [ 0, %.lr.ph184.preheader ], [ %n.vec340, %middle.block335 ]
  %xtraiter365 = and i64 %wide.trip.count208, 1
  %lcmp.mod366.not = icmp eq i64 %xtraiter365, 0
  br i1 %lcmp.mod366.not, label %.lr.ph184.prol.loopexit, label %.lr.ph184.prol

.lr.ph184.prol:                                   ; preds = %.lr.ph184.preheader350
  %80 = getelementptr inbounds double, ptr %11, i64 %indvars.iv205.ph
  %81 = load double, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds double, ptr %10, i64 %indvars.iv205.ph
  %83 = load double, ptr %82, align 8, !tbaa !9
  %84 = fadd double %81, %83
  %85 = getelementptr inbounds double, ptr %9, i64 %indvars.iv205.ph
  store double %84, ptr %85, align 8, !tbaa !9
  %86 = fsub double %83, %81
  store double %86, ptr %80, align 8, !tbaa !9
  %indvars.iv.next206.prol = or disjoint i64 %indvars.iv205.ph, 1
  br label %.lr.ph184.prol.loopexit

.lr.ph184.prol.loopexit:                          ; preds = %.lr.ph184.prol, %.lr.ph184.preheader350
  %indvars.iv205.unr = phi i64 [ %indvars.iv205.ph, %.lr.ph184.preheader350 ], [ %indvars.iv.next206.prol, %.lr.ph184.prol ]
  %87 = add nsw i64 %wide.trip.count208, -1
  %88 = icmp eq i64 %indvars.iv205.ph, %87
  br i1 %88, label %.loopexit, label %.lr.ph184

.lr.ph184:                                        ; preds = %.lr.ph184.prol.loopexit, %.lr.ph184
  %indvars.iv205 = phi i64 [ %indvars.iv.next206.1, %.lr.ph184 ], [ %indvars.iv205.unr, %.lr.ph184.prol.loopexit ]
  %89 = getelementptr inbounds double, ptr %11, i64 %indvars.iv205
  %90 = load double, ptr %89, align 8, !tbaa !9
  %91 = getelementptr inbounds double, ptr %10, i64 %indvars.iv205
  %92 = load double, ptr %91, align 8, !tbaa !9
  %93 = fadd double %90, %92
  %94 = getelementptr inbounds double, ptr %9, i64 %indvars.iv205
  store double %93, ptr %94, align 8, !tbaa !9
  %95 = fsub double %92, %90
  store double %95, ptr %89, align 8, !tbaa !9
  %indvars.iv.next206 = add nuw nsw i64 %indvars.iv205, 1
  %96 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next206
  %97 = load double, ptr %96, align 8, !tbaa !9
  %98 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next206
  %99 = load double, ptr %98, align 8, !tbaa !9
  %100 = fadd double %97, %99
  %101 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next206
  store double %100, ptr %101, align 8, !tbaa !9
  %102 = fsub double %99, %97
  store double %102, ptr %96, align 8, !tbaa !9
  %indvars.iv.next206.1 = add nuw nsw i64 %indvars.iv205, 2
  %exitcond209.not.1 = icmp eq i64 %indvars.iv.next206.1, %wide.trip.count208
  br i1 %exitcond209.not.1, label %.loopexit, label %.lr.ph184, !llvm.loop !32

.lr.ph182:                                        ; preds = %.lr.ph182.prol.loopexit, %.lr.ph182
  %indvars.iv200 = phi i64 [ %indvars.iv.next201.1, %.lr.ph182 ], [ %indvars.iv200.unr, %.lr.ph182.prol.loopexit ]
  %103 = getelementptr inbounds double, ptr %11, i64 %indvars.iv200
  %104 = load double, ptr %103, align 8, !tbaa !9
  %105 = fmul double %.0145, %104
  %106 = getelementptr inbounds double, ptr %10, i64 %indvars.iv200
  %107 = load double, ptr %106, align 8, !tbaa !9
  %108 = fadd double %107, %105
  %109 = getelementptr inbounds double, ptr %9, i64 %indvars.iv200
  store double %108, ptr %109, align 8, !tbaa !9
  %110 = fsub double %107, %105
  store double %110, ptr %103, align 8, !tbaa !9
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %111 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next201
  %112 = load double, ptr %111, align 8, !tbaa !9
  %113 = fmul double %.0145, %112
  %114 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next201
  %115 = load double, ptr %114, align 8, !tbaa !9
  %116 = fadd double %115, %113
  %117 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next201
  store double %116, ptr %117, align 8, !tbaa !9
  %118 = fsub double %115, %113
  store double %118, ptr %111, align 8, !tbaa !9
  %indvars.iv.next201.1 = add nuw nsw i64 %indvars.iv200, 2
  %exitcond204.not.1 = icmp eq i64 %indvars.iv.next201.1, %wide.trip.count203
  br i1 %exitcond204.not.1, label %.loopexit, label %.lr.ph182, !llvm.loop !33

119:                                              ; preds = %44
  br i1 %46, label %.preheader170, label %156

.preheader170:                                    ; preds = %119
  %120 = load i32, ptr %8, align 4, !tbaa !5
  %121 = icmp sgt i32 %120, 0
  br i1 %121, label %.lr.ph180.preheader, label %.loopexit

.lr.ph180.preheader:                              ; preds = %.preheader170
  %wide.trip.count198 = zext nneg i32 %120 to i64
  %min.iters.check277 = icmp ult i32 %120, 10
  br i1 %min.iters.check277, label %.lr.ph180.preheader353, label %vector.memcheck260

vector.memcheck260:                               ; preds = %.lr.ph180.preheader
  %122 = shl nuw nsw i64 %wide.trip.count198, 3
  %scevgep261 = getelementptr i8, ptr %9, i64 %122
  %scevgep262 = getelementptr i8, ptr %11, i64 %122
  %scevgep263 = getelementptr i8, ptr %10, i64 %122
  %bound0264 = icmp ugt ptr %scevgep262, %9
  %bound1265 = icmp ugt ptr %scevgep261, %11
  %found.conflict266 = and i1 %bound0264, %bound1265
  %bound0267 = icmp ugt ptr %scevgep263, %9
  %bound1268 = icmp ugt ptr %scevgep261, %10
  %found.conflict269 = and i1 %bound0267, %bound1268
  %conflict.rdx270 = or i1 %found.conflict266, %found.conflict269
  %bound0271 = icmp ugt ptr %scevgep263, %11
  %bound1272 = icmp ugt ptr %scevgep262, %10
  %found.conflict273 = and i1 %bound0271, %bound1272
  %conflict.rdx274 = or i1 %conflict.rdx270, %found.conflict273
  br i1 %conflict.rdx274, label %.lr.ph180.preheader353, label %vector.ph278

vector.ph278:                                     ; preds = %vector.memcheck260
  %n.vec280 = and i64 %wide.trip.count198, 2147483646
  %broadcast.splatinsert286 = insertelement <2 x double> poison, double %.0146, i64 0
  %broadcast.splat287 = shufflevector <2 x double> %broadcast.splatinsert286, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body282

vector.body282:                                   ; preds = %vector.body282, %vector.ph278
  %index283 = phi i64 [ 0, %vector.ph278 ], [ %index.next288, %vector.body282 ]
  %123 = getelementptr inbounds double, ptr %11, i64 %index283
  %wide.load284 = load <2 x double>, ptr %123, align 8, !tbaa !9, !alias.scope !34, !noalias !37
  %124 = getelementptr inbounds double, ptr %10, i64 %index283
  %wide.load285 = load <2 x double>, ptr %124, align 8, !tbaa !9, !alias.scope !37
  %125 = fadd <2 x double> %wide.load284, %wide.load285
  %126 = getelementptr inbounds double, ptr %9, i64 %index283
  store <2 x double> %125, ptr %126, align 8, !tbaa !9, !alias.scope !39, !noalias !41
  %127 = fneg <2 x double> %wide.load284
  %128 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %127, <2 x double> %broadcast.splat287, <2 x double> %wide.load285)
  store <2 x double> %128, ptr %123, align 8, !tbaa !9, !alias.scope !34, !noalias !37
  %index.next288 = add nuw i64 %index283, 2
  %129 = icmp eq i64 %index.next288, %n.vec280
  br i1 %129, label %middle.block275, label %vector.body282, !llvm.loop !42

middle.block275:                                  ; preds = %vector.body282
  %cmp.n289 = icmp eq i64 %n.vec280, %wide.trip.count198
  br i1 %cmp.n289, label %.loopexit, label %.lr.ph180.preheader353

.lr.ph180.preheader353:                           ; preds = %middle.block275, %vector.memcheck260, %.lr.ph180.preheader
  %indvars.iv195.ph = phi i64 [ 0, %vector.memcheck260 ], [ 0, %.lr.ph180.preheader ], [ %n.vec280, %middle.block275 ]
  %xtraiter361 = and i64 %wide.trip.count198, 1
  %lcmp.mod362.not = icmp eq i64 %xtraiter361, 0
  br i1 %lcmp.mod362.not, label %.lr.ph180.prol.loopexit, label %.lr.ph180.prol

.lr.ph180.prol:                                   ; preds = %.lr.ph180.preheader353
  %130 = getelementptr inbounds double, ptr %11, i64 %indvars.iv195.ph
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = getelementptr inbounds double, ptr %10, i64 %indvars.iv195.ph
  %133 = load double, ptr %132, align 8, !tbaa !9
  %134 = fadd double %131, %133
  %135 = getelementptr inbounds double, ptr %9, i64 %indvars.iv195.ph
  store double %134, ptr %135, align 8, !tbaa !9
  %136 = fneg double %131
  %137 = tail call double @llvm.fmuladd.f64(double %136, double %.0146, double %133)
  store double %137, ptr %130, align 8, !tbaa !9
  %indvars.iv.next196.prol = or disjoint i64 %indvars.iv195.ph, 1
  br label %.lr.ph180.prol.loopexit

.lr.ph180.prol.loopexit:                          ; preds = %.lr.ph180.prol, %.lr.ph180.preheader353
  %indvars.iv195.unr = phi i64 [ %indvars.iv195.ph, %.lr.ph180.preheader353 ], [ %indvars.iv.next196.prol, %.lr.ph180.prol ]
  %138 = add nsw i64 %wide.trip.count198, -1
  %139 = icmp eq i64 %indvars.iv195.ph, %138
  br i1 %139, label %.loopexit, label %.lr.ph180

.lr.ph180:                                        ; preds = %.lr.ph180.prol.loopexit, %.lr.ph180
  %indvars.iv195 = phi i64 [ %indvars.iv.next196.1, %.lr.ph180 ], [ %indvars.iv195.unr, %.lr.ph180.prol.loopexit ]
  %140 = getelementptr inbounds double, ptr %11, i64 %indvars.iv195
  %141 = load double, ptr %140, align 8, !tbaa !9
  %142 = getelementptr inbounds double, ptr %10, i64 %indvars.iv195
  %143 = load double, ptr %142, align 8, !tbaa !9
  %144 = fadd double %141, %143
  %145 = getelementptr inbounds double, ptr %9, i64 %indvars.iv195
  store double %144, ptr %145, align 8, !tbaa !9
  %146 = fneg double %141
  %147 = tail call double @llvm.fmuladd.f64(double %146, double %.0146, double %143)
  store double %147, ptr %140, align 8, !tbaa !9
  %indvars.iv.next196 = add nuw nsw i64 %indvars.iv195, 1
  %148 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next196
  %149 = load double, ptr %148, align 8, !tbaa !9
  %150 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next196
  %151 = load double, ptr %150, align 8, !tbaa !9
  %152 = fadd double %149, %151
  %153 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next196
  store double %152, ptr %153, align 8, !tbaa !9
  %154 = fneg double %149
  %155 = tail call double @llvm.fmuladd.f64(double %154, double %.0146, double %151)
  store double %155, ptr %148, align 8, !tbaa !9
  %indvars.iv.next196.1 = add nuw nsw i64 %indvars.iv195, 2
  %exitcond199.not.1 = icmp eq i64 %indvars.iv.next196.1, %wide.trip.count198
  br i1 %exitcond199.not.1, label %.loopexit, label %.lr.ph180, !llvm.loop !43

156:                                              ; preds = %119
  %157 = fcmp oeq double %.0146, 1.000000e+00
  %158 = load i32, ptr %8, align 4, !tbaa !5
  %159 = icmp sgt i32 %158, 0
  br i1 %157, label %.preheader172, label %.preheader174

.preheader174:                                    ; preds = %156
  br i1 %159, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %.preheader174
  %wide.trip.count = zext nneg i32 %158 to i64
  %min.iters.check = icmp ult i32 %158, 8
  br i1 %min.iters.check, label %.lr.ph.preheader357, label %vector.memcheck

.lr.ph.preheader357:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader357
  %160 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.ph
  %161 = load double, ptr %160, align 8, !tbaa !9
  %162 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.ph
  %163 = load double, ptr %162, align 8, !tbaa !9
  %164 = tail call double @llvm.fmuladd.f64(double %161, double %.0145, double %163)
  %165 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.ph
  store double %164, ptr %165, align 8, !tbaa !9
  %166 = fneg double %161
  %167 = tail call double @llvm.fmuladd.f64(double %166, double %.0146, double %163)
  store double %167, ptr %160, align 8, !tbaa !9
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader357
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader357 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %168 = add nsw i64 %wide.trip.count, -1
  %169 = icmp eq i64 %indvars.iv.ph, %168
  br i1 %169, label %.loopexit, label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %170 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %9, i64 %170
  %scevgep218 = getelementptr i8, ptr %11, i64 %170
  %scevgep219 = getelementptr i8, ptr %10, i64 %170
  %bound0 = icmp ugt ptr %scevgep218, %9
  %bound1 = icmp ugt ptr %scevgep, %11
  %found.conflict = and i1 %bound0, %bound1
  %bound0220 = icmp ugt ptr %scevgep219, %9
  %bound1221 = icmp ugt ptr %scevgep, %10
  %found.conflict222 = and i1 %bound0220, %bound1221
  %conflict.rdx = or i1 %found.conflict, %found.conflict222
  %bound0223 = icmp ugt ptr %scevgep219, %11
  %bound1224 = icmp ugt ptr %scevgep218, %10
  %found.conflict225 = and i1 %bound0223, %bound1224
  %conflict.rdx226 = or i1 %conflict.rdx, %found.conflict225
  br i1 %conflict.rdx226, label %.lr.ph.preheader357, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483646
  %broadcast.splatinsert = insertelement <2 x double> poison, double %.0145, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert228 = insertelement <2 x double> poison, double %.0146, i64 0
  %broadcast.splat229 = shufflevector <2 x double> %broadcast.splatinsert228, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %171 = getelementptr inbounds double, ptr %11, i64 %index
  %wide.load = load <2 x double>, ptr %171, align 8, !tbaa !9, !alias.scope !44, !noalias !47
  %172 = getelementptr inbounds double, ptr %10, i64 %index
  %wide.load227 = load <2 x double>, ptr %172, align 8, !tbaa !9, !alias.scope !47
  %173 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load, <2 x double> %broadcast.splat, <2 x double> %wide.load227)
  %174 = getelementptr inbounds double, ptr %9, i64 %index
  store <2 x double> %173, ptr %174, align 8, !tbaa !9, !alias.scope !49, !noalias !51
  %175 = fneg <2 x double> %wide.load
  %176 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %175, <2 x double> %broadcast.splat229, <2 x double> %wide.load227)
  store <2 x double> %176, ptr %171, align 8, !tbaa !9, !alias.scope !44, !noalias !47
  %index.next = add nuw i64 %index, 2
  %177 = icmp eq i64 %index.next, %n.vec
  br i1 %177, label %middle.block, label %vector.body, !llvm.loop !52

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.loopexit, label %.lr.ph.preheader357

.preheader172:                                    ; preds = %156
  br i1 %159, label %.lr.ph178.preheader, label %.loopexit

.lr.ph178.preheader:                              ; preds = %.preheader172
  %wide.trip.count193 = zext nneg i32 %158 to i64
  %min.iters.check247 = icmp ult i32 %158, 10
  br i1 %min.iters.check247, label %.lr.ph178.preheader355, label %vector.memcheck230

vector.memcheck230:                               ; preds = %.lr.ph178.preheader
  %178 = shl nuw nsw i64 %wide.trip.count193, 3
  %scevgep231 = getelementptr i8, ptr %11, i64 %178
  %scevgep232 = getelementptr i8, ptr %9, i64 %178
  %scevgep233 = getelementptr i8, ptr %10, i64 %178
  %bound0234 = icmp ugt ptr %scevgep232, %11
  %bound1235 = icmp ugt ptr %scevgep231, %9
  %found.conflict236 = and i1 %bound0234, %bound1235
  %bound0237 = icmp ugt ptr %scevgep233, %11
  %bound1238 = icmp ugt ptr %scevgep231, %10
  %found.conflict239 = and i1 %bound0237, %bound1238
  %conflict.rdx240 = or i1 %found.conflict236, %found.conflict239
  %bound0241 = icmp ugt ptr %scevgep233, %9
  %bound1242 = icmp ugt ptr %scevgep232, %10
  %found.conflict243 = and i1 %bound0241, %bound1242
  %conflict.rdx244 = or i1 %conflict.rdx240, %found.conflict243
  br i1 %conflict.rdx244, label %.lr.ph178.preheader355, label %vector.ph248

vector.ph248:                                     ; preds = %vector.memcheck230
  %n.vec250 = and i64 %wide.trip.count193, 2147483646
  %broadcast.splatinsert256 = insertelement <2 x double> poison, double %.0145, i64 0
  %broadcast.splat257 = shufflevector <2 x double> %broadcast.splatinsert256, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body252

vector.body252:                                   ; preds = %vector.body252, %vector.ph248
  %index253 = phi i64 [ 0, %vector.ph248 ], [ %index.next258, %vector.body252 ]
  %179 = getelementptr inbounds double, ptr %11, i64 %index253
  %wide.load254 = load <2 x double>, ptr %179, align 8, !tbaa !9, !alias.scope !53, !noalias !56
  %180 = getelementptr inbounds double, ptr %10, i64 %index253
  %wide.load255 = load <2 x double>, ptr %180, align 8, !tbaa !9, !alias.scope !59
  %181 = fsub <2 x double> %wide.load255, %wide.load254
  store <2 x double> %181, ptr %179, align 8, !tbaa !9, !alias.scope !53, !noalias !56
  %182 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load254, <2 x double> %broadcast.splat257, <2 x double> %wide.load255)
  %183 = getelementptr inbounds double, ptr %9, i64 %index253
  store <2 x double> %182, ptr %183, align 8, !tbaa !9, !alias.scope !60, !noalias !59
  %index.next258 = add nuw i64 %index253, 2
  %184 = icmp eq i64 %index.next258, %n.vec250
  br i1 %184, label %middle.block245, label %vector.body252, !llvm.loop !61

middle.block245:                                  ; preds = %vector.body252
  %cmp.n259 = icmp eq i64 %n.vec250, %wide.trip.count193
  br i1 %cmp.n259, label %.loopexit, label %.lr.ph178.preheader355

.lr.ph178.preheader355:                           ; preds = %middle.block245, %vector.memcheck230, %.lr.ph178.preheader
  %indvars.iv190.ph = phi i64 [ 0, %vector.memcheck230 ], [ 0, %.lr.ph178.preheader ], [ %n.vec250, %middle.block245 ]
  %xtraiter359 = and i64 %wide.trip.count193, 1
  %lcmp.mod360.not = icmp eq i64 %xtraiter359, 0
  br i1 %lcmp.mod360.not, label %.lr.ph178.prol.loopexit, label %.lr.ph178.prol

.lr.ph178.prol:                                   ; preds = %.lr.ph178.preheader355
  %185 = getelementptr inbounds double, ptr %11, i64 %indvars.iv190.ph
  %186 = load double, ptr %185, align 8, !tbaa !9
  %187 = getelementptr inbounds double, ptr %10, i64 %indvars.iv190.ph
  %188 = load double, ptr %187, align 8, !tbaa !9
  %189 = fsub double %188, %186
  store double %189, ptr %185, align 8, !tbaa !9
  %190 = tail call double @llvm.fmuladd.f64(double %186, double %.0145, double %188)
  %191 = getelementptr inbounds double, ptr %9, i64 %indvars.iv190.ph
  store double %190, ptr %191, align 8, !tbaa !9
  %indvars.iv.next191.prol = or disjoint i64 %indvars.iv190.ph, 1
  br label %.lr.ph178.prol.loopexit

.lr.ph178.prol.loopexit:                          ; preds = %.lr.ph178.prol, %.lr.ph178.preheader355
  %indvars.iv190.unr = phi i64 [ %indvars.iv190.ph, %.lr.ph178.preheader355 ], [ %indvars.iv.next191.prol, %.lr.ph178.prol ]
  %192 = add nsw i64 %wide.trip.count193, -1
  %193 = icmp eq i64 %indvars.iv190.ph, %192
  br i1 %193, label %.loopexit, label %.lr.ph178

.lr.ph178:                                        ; preds = %.lr.ph178.prol.loopexit, %.lr.ph178
  %indvars.iv190 = phi i64 [ %indvars.iv.next191.1, %.lr.ph178 ], [ %indvars.iv190.unr, %.lr.ph178.prol.loopexit ]
  %194 = getelementptr inbounds double, ptr %11, i64 %indvars.iv190
  %195 = load double, ptr %194, align 8, !tbaa !9
  %196 = getelementptr inbounds double, ptr %10, i64 %indvars.iv190
  %197 = load double, ptr %196, align 8, !tbaa !9
  %198 = fsub double %197, %195
  store double %198, ptr %194, align 8, !tbaa !9
  %199 = tail call double @llvm.fmuladd.f64(double %195, double %.0145, double %197)
  %200 = getelementptr inbounds double, ptr %9, i64 %indvars.iv190
  store double %199, ptr %200, align 8, !tbaa !9
  %indvars.iv.next191 = add nuw nsw i64 %indvars.iv190, 1
  %201 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next191
  %202 = load double, ptr %201, align 8, !tbaa !9
  %203 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next191
  %204 = load double, ptr %203, align 8, !tbaa !9
  %205 = fsub double %204, %202
  store double %205, ptr %201, align 8, !tbaa !9
  %206 = tail call double @llvm.fmuladd.f64(double %202, double %.0145, double %204)
  %207 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next191
  store double %206, ptr %207, align 8, !tbaa !9
  %indvars.iv.next191.1 = add nuw nsw i64 %indvars.iv190, 2
  %exitcond194.not.1 = icmp eq i64 %indvars.iv.next191.1, %wide.trip.count193
  br i1 %exitcond194.not.1, label %.loopexit, label %.lr.ph178, !llvm.loop !62

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %208 = getelementptr inbounds double, ptr %11, i64 %indvars.iv
  %209 = load double, ptr %208, align 8, !tbaa !9
  %210 = getelementptr inbounds double, ptr %10, i64 %indvars.iv
  %211 = load double, ptr %210, align 8, !tbaa !9
  %212 = tail call double @llvm.fmuladd.f64(double %209, double %.0145, double %211)
  %213 = getelementptr inbounds double, ptr %9, i64 %indvars.iv
  store double %212, ptr %213, align 8, !tbaa !9
  %214 = fneg double %209
  %215 = tail call double @llvm.fmuladd.f64(double %214, double %.0146, double %211)
  store double %215, ptr %208, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %216 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next
  %217 = load double, ptr %216, align 8, !tbaa !9
  %218 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next
  %219 = load double, ptr %218, align 8, !tbaa !9
  %220 = tail call double @llvm.fmuladd.f64(double %217, double %.0145, double %219)
  %221 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next
  store double %220, ptr %221, align 8, !tbaa !9
  %222 = fneg double %217
  %223 = tail call double @llvm.fmuladd.f64(double %222, double %.0146, double %219)
  store double %223, ptr %216, align 8, !tbaa !9
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.loopexit, label %.lr.ph, !llvm.loop !63

.loopexit.sink.split:                             ; preds = %42, %33, %35
  %.0.ph = phi i32 [ %34, %35 ], [ %34, %33 ], [ %43, %42 ]
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %.lr.ph178.prol.loopexit, %.lr.ph178, %.lr.ph180.prol.loopexit, %.lr.ph180, %.lr.ph182.prol.loopexit, %.lr.ph182, %.lr.ph184.prol.loopexit, %.lr.ph184, %middle.block, %middle.block245, %middle.block275, %middle.block305, %middle.block335, %.loopexit.sink.split, %.preheader174, %.preheader172, %.preheader170, %.preheader168, %.preheader, %32, %31, %27, %23, %19, %16, %14, %12
  %.0 = phi i32 [ 12, %12 ], [ 13, %14 ], [ 2, %16 ], [ 2, %19 ], [ 2, %23 ], [ 2, %27 ], [ 2, %31 ], [ 2, %32 ], [ 0, %.preheader ], [ 0, %.preheader168 ], [ 0, %.preheader170 ], [ 0, %.preheader172 ], [ 0, %.preheader174 ], [ %.0.ph, %.loopexit.sink.split ], [ 0, %middle.block335 ], [ 0, %middle.block305 ], [ 0, %middle.block275 ], [ 0, %middle.block245 ], [ 0, %middle.block ], [ 0, %.lr.ph184 ], [ 0, %.lr.ph184.prol.loopexit ], [ 0, %.lr.ph182 ], [ 0, %.lr.ph182.prol.loopexit ], [ 0, %.lr.ph180 ], [ 0, %.lr.ph180.prol.loopexit ], [ 0, %.lr.ph178 ], [ 0, %.lr.ph178.prol.loopexit ], [ 0, %.lr.ph ], [ 0, %.lr.ph.prol.loopexit ]
  ret i32 %.0
}

declare i32 @TA_S_MA(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @TA_S_INT_stddev_using_precalc_ma(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @TA_S_STDDEV(i32 noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 #2 = { "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 nosync nounwind speculatable willreturn memory(none) }
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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12}
!12 = distinct !{!12, !13}
!13 = distinct !{!13, !"LVerDomain"}
!14 = !{!15}
!15 = distinct !{!15, !13}
!16 = !{!17}
!17 = distinct !{!17, !13}
!18 = !{!12, !15}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = !{!24}
!24 = distinct !{!24, !25}
!25 = distinct !{!25, !"LVerDomain"}
!26 = !{!27}
!27 = distinct !{!27, !25}
!28 = !{!29}
!29 = distinct !{!29, !25}
!30 = !{!24, !27}
!31 = distinct !{!31, !20, !21, !22}
!32 = distinct !{!32, !20, !21}
!33 = distinct !{!33, !20, !21}
!34 = !{!35}
!35 = distinct !{!35, !36}
!36 = distinct !{!36, !"LVerDomain"}
!37 = !{!38}
!38 = distinct !{!38, !36}
!39 = !{!40}
!40 = distinct !{!40, !36}
!41 = !{!35, !38}
!42 = distinct !{!42, !20, !21, !22}
!43 = distinct !{!43, !20, !21}
!44 = !{!45}
!45 = distinct !{!45, !46}
!46 = distinct !{!46, !"LVerDomain"}
!47 = !{!48}
!48 = distinct !{!48, !46}
!49 = !{!50}
!50 = distinct !{!50, !46}
!51 = !{!45, !48}
!52 = distinct !{!52, !20, !21, !22}
!53 = !{!54}
!54 = distinct !{!54, !55}
!55 = distinct !{!55, !"LVerDomain"}
!56 = !{!57, !58}
!57 = distinct !{!57, !55}
!58 = distinct !{!58, !55}
!59 = !{!58}
!60 = !{!57}
!61 = distinct !{!61, !20, !21, !22}
!62 = distinct !{!62, !20, !21}
!63 = distinct !{!63, !20, !21}


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