; 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: nounwind uwtable
define dso_local i32 @TA_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) #0 {
  %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) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %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 %401

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 %401

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 %401

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 %401

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 %401

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 %401

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 %401

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 %401

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 %401

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 %401

108:                                              ; preds = %104
  %109 = load ptr, ptr %16, align 8, !tbaa !9
  %110 = load ptr, ptr %23, align 8, !tbaa !9
  %111 = icmp eq ptr %109, %110
  br i1 %111, label %112, label %115

112:                                              ; preds = %108
  %113 = load ptr, ptr %24, align 8, !tbaa !9
  store ptr %113, ptr %30, align 8, !tbaa !9
  %114 = load ptr, ptr %25, align 8, !tbaa !9
  store ptr %114, ptr %31, align 8, !tbaa !9
  br label %134

115:                                              ; preds = %108
  %116 = load ptr, ptr %16, align 8, !tbaa !9
  %117 = load ptr, ptr %25, align 8, !tbaa !9
  %118 = icmp eq ptr %116, %117
  br i1 %118, label %119, label %122

119:                                              ; preds = %115
  %120 = load ptr, ptr %24, align 8, !tbaa !9
  store ptr %120, ptr %30, align 8, !tbaa !9
  %121 = load ptr, ptr %23, align 8, !tbaa !9
  store ptr %121, ptr %31, align 8, !tbaa !9
  br label %133

122:                                              ; preds = %115
  %123 = load ptr, ptr %16, align 8, !tbaa !9
  %124 = load ptr, ptr %24, align 8, !tbaa !9
  %125 = icmp eq ptr %123, %124
  br i1 %125, label %126, label %129

126:                                              ; preds = %122
  %127 = load ptr, ptr %25, align 8, !tbaa !9
  store ptr %127, ptr %30, align 8, !tbaa !9
  %128 = load ptr, ptr %23, align 8, !tbaa !9
  store ptr %128, ptr %31, align 8, !tbaa !9
  br label %132

129:                                              ; preds = %122
  %130 = load ptr, ptr %24, align 8, !tbaa !9
  store ptr %130, ptr %30, align 8, !tbaa !9
  %131 = load ptr, ptr %23, align 8, !tbaa !9
  store ptr %131, ptr %31, align 8, !tbaa !9
  br label %132

132:                                              ; preds = %129, %126
  br label %133

133:                                              ; preds = %132, %119
  br label %134

134:                                              ; preds = %133, %112
  %135 = load ptr, ptr %30, align 8, !tbaa !9
  %136 = load ptr, ptr %16, align 8, !tbaa !9
  %137 = icmp eq ptr %135, %136
  br i1 %137, label %142, label %138

138:                                              ; preds = %134
  %139 = load ptr, ptr %31, align 8, !tbaa !9
  %140 = load ptr, ptr %16, align 8, !tbaa !9
  %141 = icmp eq ptr %139, %140
  br i1 %141, label %142, label %143

142:                                              ; preds = %138, %134
  store i32 2, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %401

143:                                              ; preds = %138
  %144 = load i32, ptr %14, align 4, !tbaa !5
  %145 = load i32, ptr %15, align 4, !tbaa !5
  %146 = load ptr, ptr %16, align 8, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !5
  %148 = load i32, ptr %20, align 4, !tbaa !5
  %149 = load ptr, ptr %21, align 8, !tbaa !9
  %150 = load ptr, ptr %22, align 8, !tbaa !9
  %151 = load ptr, ptr %30, align 8, !tbaa !9
  %152 = call i32 @TA_MA(i32 noundef %144, i32 noundef %145, ptr noundef %146, i32 noundef %147, i32 noundef %148, ptr noundef %149, ptr noundef %150, ptr noundef %151)
  store i32 %152, ptr %26, align 4, !tbaa !5
  %153 = load i32, ptr %26, align 4, !tbaa !5
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %159, label %155

155:                                              ; preds = %143
  %156 = load ptr, ptr %22, align 8, !tbaa !9
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = icmp eq i32 %157, 0
  br i1 %158, label %159, label %162

159:                                              ; preds = %155, %143
  %160 = load ptr, ptr %22, align 8, !tbaa !9
  store i32 0, ptr %160, align 4, !tbaa !5
  %161 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %161, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %401

162:                                              ; preds = %155
  %163 = load i32, ptr %20, align 4, !tbaa !5
  %164 = icmp eq i32 %163, 0
  br i1 %164, label %165, label %174

165:                                              ; preds = %162
  %166 = load ptr, ptr %16, align 8, !tbaa !9
  %167 = load ptr, ptr %30, align 8, !tbaa !9
  %168 = load ptr, ptr %21, align 8, !tbaa !9
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = load ptr, ptr %22, align 8, !tbaa !9
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = load i32, ptr %17, align 4, !tbaa !5
  %173 = load ptr, ptr %31, align 8, !tbaa !9
  call void @TA_INT_stddev_using_precalc_ma(ptr noundef %166, ptr noundef %167, i32 noundef %169, i32 noundef %171, i32 noundef %172, ptr noundef %173)
  br label %190

174:                                              ; preds = %162
  %175 = load ptr, ptr %21, align 8, !tbaa !9
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = load i32, ptr %15, align 4, !tbaa !5
  %178 = load ptr, ptr %16, align 8, !tbaa !9
  %179 = load i32, ptr %17, align 4, !tbaa !5
  %180 = load ptr, ptr %21, align 8, !tbaa !9
  %181 = load ptr, ptr %22, align 8, !tbaa !9
  %182 = load ptr, ptr %31, align 8, !tbaa !9
  %183 = call i32 @TA_STDDEV(i32 noundef %176, i32 noundef %177, ptr noundef %178, i32 noundef %179, double noundef 1.000000e+00, ptr noundef %180, ptr noundef %181, ptr noundef %182)
  store i32 %183, ptr %26, align 4, !tbaa !5
  %184 = load i32, ptr %26, align 4, !tbaa !5
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %189

186:                                              ; preds = %174
  %187 = load ptr, ptr %22, align 8, !tbaa !9
  store i32 0, ptr %187, align 4, !tbaa !5
  %188 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %188, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %401

189:                                              ; preds = %174
  br label %190

190:                                              ; preds = %189, %165
  %191 = load ptr, ptr %30, align 8, !tbaa !9
  %192 = load ptr, ptr %24, align 8, !tbaa !9
  %193 = icmp ne ptr %191, %192
  br i1 %193, label %194, label %201

194:                                              ; preds = %190
  %195 = load ptr, ptr %24, align 8, !tbaa !9
  %196 = load ptr, ptr %30, align 8, !tbaa !9
  %197 = load ptr, ptr %22, align 8, !tbaa !9
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = mul i64 8, %199
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %195, ptr align 8 %196, i64 %200, i1 false)
  br label %201

201:                                              ; preds = %194, %190
  %202 = load double, ptr %18, align 8, !tbaa !11
  %203 = load double, ptr %19, align 8, !tbaa !11
  %204 = fcmp oeq double %202, %203
  br i1 %204, label %205, label %281

205:                                              ; preds = %201
  %206 = load double, ptr %18, align 8, !tbaa !11
  %207 = fcmp oeq double %206, 1.000000e+00
  br i1 %207, label %208, label %243

208:                                              ; preds = %205
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %209

209:                                              ; preds = %239, %208
  %210 = load i32, ptr %27, align 4, !tbaa !5
  %211 = load ptr, ptr %22, align 8, !tbaa !9
  %212 = load i32, ptr %211, align 4, !tbaa !5
  %213 = icmp slt i32 %210, %212
  br i1 %213, label %214, label %242

214:                                              ; preds = %209
  %215 = load ptr, ptr %31, align 8, !tbaa !9
  %216 = load i32, ptr %27, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds double, ptr %215, i64 %217
  %219 = load double, ptr %218, align 8, !tbaa !11
  store double %219, ptr %28, align 8, !tbaa !11
  %220 = load ptr, ptr %24, align 8, !tbaa !9
  %221 = load i32, ptr %27, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds double, ptr %220, i64 %222
  %224 = load double, ptr %223, align 8, !tbaa !11
  store double %224, ptr %29, align 8, !tbaa !11
  %225 = load double, ptr %29, align 8, !tbaa !11
  %226 = load double, ptr %28, align 8, !tbaa !11
  %227 = fadd double %225, %226
  %228 = load ptr, ptr %23, 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
  %232 = load double, ptr %29, align 8, !tbaa !11
  %233 = load double, ptr %28, align 8, !tbaa !11
  %234 = fsub double %232, %233
  %235 = load ptr, ptr %25, align 8, !tbaa !9
  %236 = load i32, ptr %27, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds double, ptr %235, i64 %237
  store double %234, ptr %238, align 8, !tbaa !11
  br label %239

239:                                              ; preds = %214
  %240 = load i32, ptr %27, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %27, align 4, !tbaa !5
  br label %209, !llvm.loop !13

242:                                              ; preds = %209
  br label %280

243:                                              ; preds = %205
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %244

244:                                              ; preds = %276, %243
  %245 = load i32, ptr %27, align 4, !tbaa !5
  %246 = load ptr, ptr %22, align 8, !tbaa !9
  %247 = load i32, ptr %246, align 4, !tbaa !5
  %248 = icmp slt i32 %245, %247
  br i1 %248, label %249, label %279

249:                                              ; preds = %244
  %250 = load ptr, ptr %31, align 8, !tbaa !9
  %251 = load i32, ptr %27, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds double, ptr %250, i64 %252
  %254 = load double, ptr %253, align 8, !tbaa !11
  %255 = load double, ptr %18, align 8, !tbaa !11
  %256 = fmul double %254, %255
  store double %256, ptr %28, align 8, !tbaa !11
  %257 = load ptr, ptr %24, align 8, !tbaa !9
  %258 = load i32, ptr %27, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds double, ptr %257, i64 %259
  %261 = load double, ptr %260, align 8, !tbaa !11
  store double %261, ptr %29, align 8, !tbaa !11
  %262 = load double, ptr %29, align 8, !tbaa !11
  %263 = load double, ptr %28, align 8, !tbaa !11
  %264 = fadd double %262, %263
  %265 = load ptr, ptr %23, align 8, !tbaa !9
  %266 = load i32, ptr %27, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds double, ptr %265, i64 %267
  store double %264, ptr %268, align 8, !tbaa !11
  %269 = load double, ptr %29, align 8, !tbaa !11
  %270 = load double, ptr %28, align 8, !tbaa !11
  %271 = fsub double %269, %270
  %272 = load ptr, ptr %25, align 8, !tbaa !9
  %273 = load i32, ptr %27, align 4, !tbaa !5
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds double, ptr %272, i64 %274
  store double %271, ptr %275, align 8, !tbaa !11
  br label %276

276:                                              ; preds = %249
  %277 = load i32, ptr %27, align 4, !tbaa !5
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr %27, align 4, !tbaa !5
  br label %244, !llvm.loop !15

279:                                              ; preds = %244
  br label %280

280:                                              ; preds = %279, %242
  br label %400

281:                                              ; preds = %201
  %282 = load double, ptr %18, align 8, !tbaa !11
  %283 = fcmp oeq double %282, 1.000000e+00
  br i1 %283, label %284, label %321

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

285:                                              ; preds = %317, %284
  %286 = load i32, ptr %27, align 4, !tbaa !5
  %287 = load ptr, ptr %22, align 8, !tbaa !9
  %288 = load i32, ptr %287, align 4, !tbaa !5
  %289 = icmp slt i32 %286, %288
  br i1 %289, label %290, label %320

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

317:                                              ; preds = %290
  %318 = load i32, ptr %27, align 4, !tbaa !5
  %319 = add nsw i32 %318, 1
  store i32 %319, ptr %27, align 4, !tbaa !5
  br label %285, !llvm.loop !16

320:                                              ; preds = %285
  br label %399

321:                                              ; preds = %281
  %322 = load double, ptr %19, align 8, !tbaa !11
  %323 = fcmp oeq double %322, 1.000000e+00
  br i1 %323, label %324, label %360

324:                                              ; preds = %321
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %325

325:                                              ; preds = %356, %324
  %326 = load i32, ptr %27, align 4, !tbaa !5
  %327 = load ptr, ptr %22, align 8, !tbaa !9
  %328 = load i32, ptr %327, align 4, !tbaa !5
  %329 = icmp slt i32 %326, %328
  br i1 %329, label %330, label %359

330:                                              ; preds = %325
  %331 = load ptr, ptr %31, align 8, !tbaa !9
  %332 = load i32, ptr %27, align 4, !tbaa !5
  %333 = sext i32 %332 to i64
  %334 = getelementptr inbounds double, ptr %331, i64 %333
  %335 = load double, ptr %334, align 8, !tbaa !11
  store double %335, ptr %28, align 8, !tbaa !11
  %336 = load ptr, ptr %24, align 8, !tbaa !9
  %337 = load i32, ptr %27, align 4, !tbaa !5
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds double, ptr %336, i64 %338
  %340 = load double, ptr %339, align 8, !tbaa !11
  store double %340, ptr %29, align 8, !tbaa !11
  %341 = load double, ptr %29, align 8, !tbaa !11
  %342 = load double, ptr %28, align 8, !tbaa !11
  %343 = fsub double %341, %342
  %344 = load ptr, ptr %25, align 8, !tbaa !9
  %345 = load i32, ptr %27, align 4, !tbaa !5
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds double, ptr %344, i64 %346
  store double %343, ptr %347, align 8, !tbaa !11
  %348 = load double, ptr %29, align 8, !tbaa !11
  %349 = load double, ptr %28, align 8, !tbaa !11
  %350 = load double, ptr %18, align 8, !tbaa !11
  %351 = call double @llvm.fmuladd.f64(double %349, double %350, double %348)
  %352 = load ptr, ptr %23, align 8, !tbaa !9
  %353 = load i32, ptr %27, align 4, !tbaa !5
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds double, ptr %352, i64 %354
  store double %351, ptr %355, align 8, !tbaa !11
  br label %356

356:                                              ; preds = %330
  %357 = load i32, ptr %27, align 4, !tbaa !5
  %358 = add nsw i32 %357, 1
  store i32 %358, ptr %27, align 4, !tbaa !5
  br label %325, !llvm.loop !17

359:                                              ; preds = %325
  br label %398

360:                                              ; preds = %321
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %361

361:                                              ; preds = %394, %360
  %362 = load i32, ptr %27, align 4, !tbaa !5
  %363 = load ptr, ptr %22, align 8, !tbaa !9
  %364 = load i32, ptr %363, align 4, !tbaa !5
  %365 = icmp slt i32 %362, %364
  br i1 %365, label %366, label %397

366:                                              ; preds = %361
  %367 = load ptr, ptr %31, align 8, !tbaa !9
  %368 = load i32, ptr %27, align 4, !tbaa !5
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds double, ptr %367, i64 %369
  %371 = load double, ptr %370, align 8, !tbaa !11
  store double %371, ptr %28, align 8, !tbaa !11
  %372 = load ptr, ptr %24, align 8, !tbaa !9
  %373 = load i32, ptr %27, align 4, !tbaa !5
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds double, ptr %372, i64 %374
  %376 = load double, ptr %375, align 8, !tbaa !11
  store double %376, ptr %29, align 8, !tbaa !11
  %377 = load double, ptr %29, align 8, !tbaa !11
  %378 = load double, ptr %28, align 8, !tbaa !11
  %379 = load double, ptr %18, align 8, !tbaa !11
  %380 = call double @llvm.fmuladd.f64(double %378, double %379, double %377)
  %381 = load ptr, ptr %23, align 8, !tbaa !9
  %382 = load i32, ptr %27, align 4, !tbaa !5
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds double, ptr %381, i64 %383
  store double %380, ptr %384, align 8, !tbaa !11
  %385 = load double, ptr %29, align 8, !tbaa !11
  %386 = load double, ptr %28, align 8, !tbaa !11
  %387 = load double, ptr %19, align 8, !tbaa !11
  %388 = fneg double %386
  %389 = call double @llvm.fmuladd.f64(double %388, double %387, double %385)
  %390 = load ptr, ptr %25, align 8, !tbaa !9
  %391 = load i32, ptr %27, align 4, !tbaa !5
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds double, ptr %390, i64 %392
  store double %389, ptr %393, align 8, !tbaa !11
  br label %394

394:                                              ; preds = %366
  %395 = load i32, ptr %27, align 4, !tbaa !5
  %396 = add nsw i32 %395, 1
  store i32 %396, ptr %27, align 4, !tbaa !5
  br label %361, !llvm.loop !18

397:                                              ; preds = %361
  br label %398

398:                                              ; preds = %397, %359
  br label %399

399:                                              ; preds = %398, %320
  br label %400

400:                                              ; preds = %399, %280
  store i32 0, ptr %13, align 4
  store i32 1, ptr %32, align 4
  br label %401

401:                                              ; preds = %400, %186, %159, %142, %107, %103, %99, %94, %82, %70, %58, %47, %43, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  %402 = load i32, ptr %13, align 4
  ret i32 %402
}

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

declare i32 @TA_MA(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @TA_INT_stddev_using_precalc_ma(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #2

declare i32 @TA_STDDEV(i32 noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #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) #3

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

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

attributes #0 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!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: nounwind uwtable
define dso_local i32 @TA_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) local_unnamed_addr #0 {
  %13 = ptrtoint ptr %11 to i64
  %14 = ptrtoint ptr %10 to i64
  %15 = ptrtoint ptr %9 to i64
  %16 = ptrtoint ptr %11 to i64
  %17 = ptrtoint ptr %10 to i64
  %18 = ptrtoint ptr %9 to i64
  %19 = ptrtoint ptr %11 to i64
  %20 = ptrtoint ptr %10 to i64
  %21 = ptrtoint ptr %9 to i64
  %22 = ptrtoint ptr %11 to i64
  %23 = ptrtoint ptr %10 to i64
  %24 = ptrtoint ptr %9 to i64
  %25 = ptrtoint ptr %11 to i64
  %26 = ptrtoint ptr %10 to i64
  %27 = ptrtoint ptr %9 to i64
  %28 = icmp slt i32 %0, 0
  br i1 %28, label %.loopexit, label %29

29:                                               ; preds = %12
  %30 = icmp slt i32 %1, %0
  br i1 %30, label %.loopexit, label %31

31:                                               ; preds = %29
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %.loopexit, label %32

32:                                               ; preds = %31
  %33 = icmp eq i32 %3, -2147483648
  br i1 %33, label %36, label %34

34:                                               ; preds = %32
  %35 = add i32 %3, -100001
  %or.cond = icmp ult i32 %35, -99999
  br i1 %or.cond, label %.loopexit, label %36

36:                                               ; preds = %32, %34
  %.0167 = phi i32 [ %3, %34 ], [ 5, %32 ]
  %37 = fcmp oeq double %4, -4.000000e+37
  br i1 %37, label %40, label %38

38:                                               ; preds = %36
  %39 = tail call double @llvm.fabs.f64(double %4)
  %or.cond3 = fcmp ogt double %39, 3.000000e+37
  br i1 %or.cond3, label %.loopexit, label %40

40:                                               ; preds = %36, %38
  %.0168 = phi double [ %4, %38 ], [ 2.000000e+00, %36 ]
  %41 = fcmp oeq double %5, -4.000000e+37
  br i1 %41, label %44, label %42

42:                                               ; preds = %40
  %43 = tail call double @llvm.fabs.f64(double %5)
  %or.cond5 = fcmp ogt double %43, 3.000000e+37
  br i1 %or.cond5, label %.loopexit, label %44

44:                                               ; preds = %40, %42
  %.0169 = phi double [ %5, %42 ], [ 2.000000e+00, %40 ]
  %45 = icmp eq i32 %6, -2147483648
  br i1 %45, label %47, label %46

46:                                               ; preds = %44
  %or.cond7 = icmp ugt i32 %6, 8
  br i1 %or.cond7, label %.loopexit, label %47

47:                                               ; preds = %44, %46
  %.0170 = phi i32 [ %6, %46 ], [ 0, %44 ]
  %.not183 = icmp eq ptr %9, null
  %.not184 = icmp eq ptr %10, null
  %or.cond191 = or i1 %.not183, %.not184
  %.not185 = icmp eq ptr %11, null
  %or.cond192 = or i1 %or.cond191, %.not185
  br i1 %or.cond192, label %.loopexit, label %48

48:                                               ; preds = %47
  %49 = icmp eq ptr %2, %9
  br i1 %49, label %54, label %50

50:                                               ; preds = %48
  %51 = icmp eq ptr %2, %11
  br i1 %51, label %54, label %52

52:                                               ; preds = %50
  %53 = icmp eq ptr %2, %10
  %. = select i1 %53, ptr %11, ptr %10
  br label %54

54:                                               ; preds = %52, %50, %48
  %.0164 = phi ptr [ %10, %48 ], [ %10, %50 ], [ %., %52 ]
  %.0 = phi ptr [ %11, %48 ], [ %9, %50 ], [ %9, %52 ]
  %.0246 = ptrtoint ptr %.0 to i64
  %55 = icmp eq ptr %.0164, %2
  %56 = icmp eq ptr %.0, %2
  %or.cond190 = or i1 %55, %56
  br i1 %or.cond190, label %.loopexit, label %57

57:                                               ; preds = %54
  %58 = tail call i32 @TA_MA(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2, i32 noundef %.0167, i32 noundef %.0170, ptr noundef %7, ptr noundef %8, ptr noundef nonnull %.0164) #5
  %.not186 = icmp eq i32 %58, 0
  br i1 %.not186, label %59, label %.loopexit.sink.split

59:                                               ; preds = %57
  %60 = load i32, ptr %8, align 4, !tbaa !5
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %.loopexit.sink.split, label %62

62:                                               ; preds = %59
  %63 = icmp eq i32 %.0170, 0
  %64 = load i32, ptr %7, align 4, !tbaa !5
  br i1 %63, label %65, label %66

65:                                               ; preds = %62
  tail call void @TA_INT_stddev_using_precalc_ma(ptr noundef nonnull %2, ptr noundef nonnull %.0164, i32 noundef %64, i32 noundef %60, i32 noundef %.0167, ptr noundef nonnull %.0) #5
  br label %68

66:                                               ; preds = %62
  %67 = tail call i32 @TA_STDDEV(i32 noundef %64, i32 noundef %1, ptr noundef nonnull %2, i32 noundef %.0167, double noundef 1.000000e+00, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %.0) #5
  %.not187 = icmp eq i32 %67, 0
  br i1 %.not187, label %68, label %.loopexit.sink.split

68:                                               ; preds = %66, %65
  %.not188 = icmp eq ptr %.0164, %10
  br i1 %.not188, label %73, label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %8, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = shl nsw i64 %71, 3
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %10, ptr nonnull align 8 %.0164, i64 %72, i1 false)
  br label %73

73:                                               ; preds = %69, %68
  %74 = fcmp oeq double %.0168, %.0169
  %75 = fcmp oeq double %.0168, 1.000000e+00
  br i1 %74, label %76, label %165

76:                                               ; preds = %73
  %77 = load i32, ptr %8, align 4, !tbaa !5
  %78 = icmp sgt i32 %77, 0
  br i1 %75, label %.preheader, label %.preheader193

.preheader193:                                    ; preds = %76
  br i1 %78, label %.lr.ph207.preheader, label %.loopexit

.lr.ph207.preheader:                              ; preds = %.preheader193
  %wide.trip.count228 = zext nneg i32 %77 to i64
  %min.iters.check316 = icmp ult i32 %77, 12
  br i1 %min.iters.check316, label %.lr.ph207.preheader355, label %vector.memcheck304

.lr.ph207.preheader355:                           ; preds = %middle.block314, %vector.memcheck304, %.lr.ph207.preheader
  %indvars.iv225.ph = phi i64 [ 0, %vector.memcheck304 ], [ 0, %.lr.ph207.preheader ], [ %n.vec319, %middle.block314 ]
  %xtraiter367 = and i64 %wide.trip.count228, 1
  %lcmp.mod368.not = icmp eq i64 %xtraiter367, 0
  br i1 %lcmp.mod368.not, label %.lr.ph207.prol.loopexit, label %.lr.ph207.prol

.lr.ph207.prol:                                   ; preds = %.lr.ph207.preheader355
  %79 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv225.ph
  %80 = load double, ptr %79, align 8, !tbaa !9
  %81 = fmul double %.0168, %80
  %82 = getelementptr inbounds double, ptr %10, i64 %indvars.iv225.ph
  %83 = load double, ptr %82, align 8, !tbaa !9
  %84 = fadd double %83, %81
  %85 = getelementptr inbounds double, ptr %9, i64 %indvars.iv225.ph
  store double %84, ptr %85, align 8, !tbaa !9
  %86 = fsub double %83, %81
  %87 = getelementptr inbounds double, ptr %11, i64 %indvars.iv225.ph
  store double %86, ptr %87, align 8, !tbaa !9
  %indvars.iv.next226.prol = or disjoint i64 %indvars.iv225.ph, 1
  br label %.lr.ph207.prol.loopexit

.lr.ph207.prol.loopexit:                          ; preds = %.lr.ph207.prol, %.lr.ph207.preheader355
  %indvars.iv225.unr = phi i64 [ %indvars.iv225.ph, %.lr.ph207.preheader355 ], [ %indvars.iv.next226.prol, %.lr.ph207.prol ]
  %88 = add nsw i64 %wide.trip.count228, -1
  %89 = icmp eq i64 %indvars.iv225.ph, %88
  br i1 %89, label %.loopexit, label %.lr.ph207

vector.memcheck304:                               ; preds = %.lr.ph207.preheader
  %90 = sub i64 %18, %17
  %diff.check305 = icmp ult i64 %90, 16
  %91 = sub i64 %16, %17
  %diff.check306 = icmp ult i64 %91, 16
  %conflict.rdx307 = or i1 %diff.check305, %diff.check306
  %92 = sub i64 %16, %18
  %diff.check308 = icmp ult i64 %92, 16
  %conflict.rdx309 = or i1 %conflict.rdx307, %diff.check308
  %93 = sub i64 %18, %.0246
  %diff.check310 = icmp ult i64 %93, 16
  %conflict.rdx311 = or i1 %conflict.rdx309, %diff.check310
  %94 = sub i64 %16, %.0246
  %diff.check312 = icmp ult i64 %94, 16
  %conflict.rdx313 = or i1 %conflict.rdx311, %diff.check312
  br i1 %conflict.rdx313, label %.lr.ph207.preheader355, label %vector.ph317

vector.ph317:                                     ; preds = %vector.memcheck304
  %n.vec319 = and i64 %wide.trip.count228, 2147483646
  %broadcast.splatinsert324 = insertelement <2 x double> poison, double %.0168, i64 0
  %broadcast.splat325 = shufflevector <2 x double> %broadcast.splatinsert324, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body321

vector.body321:                                   ; preds = %vector.body321, %vector.ph317
  %index322 = phi i64 [ 0, %vector.ph317 ], [ %index.next327, %vector.body321 ]
  %95 = getelementptr inbounds double, ptr %.0, i64 %index322
  %wide.load323 = load <2 x double>, ptr %95, align 8, !tbaa !9
  %96 = fmul <2 x double> %broadcast.splat325, %wide.load323
  %97 = getelementptr inbounds double, ptr %10, i64 %index322
  %wide.load326 = load <2 x double>, ptr %97, align 8, !tbaa !9
  %98 = fadd <2 x double> %wide.load326, %96
  %99 = getelementptr inbounds double, ptr %9, i64 %index322
  store <2 x double> %98, ptr %99, align 8, !tbaa !9
  %100 = fsub <2 x double> %wide.load326, %96
  %101 = getelementptr inbounds double, ptr %11, i64 %index322
  store <2 x double> %100, ptr %101, align 8, !tbaa !9
  %index.next327 = add nuw i64 %index322, 2
  %102 = icmp eq i64 %index.next327, %n.vec319
  br i1 %102, label %middle.block314, label %vector.body321, !llvm.loop !11

middle.block314:                                  ; preds = %vector.body321
  %cmp.n328 = icmp eq i64 %n.vec319, %wide.trip.count228
  br i1 %cmp.n328, label %.loopexit, label %.lr.ph207.preheader355

.preheader:                                       ; preds = %76
  br i1 %78, label %.lr.ph209.preheader, label %.loopexit

.lr.ph209.preheader:                              ; preds = %.preheader
  %wide.trip.count233 = zext nneg i32 %77 to i64
  %min.iters.check341 = icmp ult i32 %77, 14
  br i1 %min.iters.check341, label %.lr.ph209.preheader354, label %vector.memcheck329

vector.memcheck329:                               ; preds = %.lr.ph209.preheader
  %103 = sub i64 %15, %14
  %diff.check330 = icmp ult i64 %103, 32
  %104 = sub i64 %13, %14
  %diff.check331 = icmp ult i64 %104, 32
  %conflict.rdx332 = or i1 %diff.check330, %diff.check331
  %105 = sub i64 %13, %15
  %diff.check333 = icmp ult i64 %105, 32
  %conflict.rdx334 = or i1 %conflict.rdx332, %diff.check333
  %106 = sub i64 %15, %.0246
  %diff.check335 = icmp ult i64 %106, 32
  %conflict.rdx336 = or i1 %conflict.rdx334, %diff.check335
  %107 = sub i64 %13, %.0246
  %diff.check337 = icmp ult i64 %107, 32
  %conflict.rdx338 = or i1 %conflict.rdx336, %diff.check337
  br i1 %conflict.rdx338, label %.lr.ph209.preheader354, label %vector.ph342

vector.ph342:                                     ; preds = %vector.memcheck329
  %n.vec344 = and i64 %wide.trip.count233, 2147483644
  br label %vector.body346

vector.body346:                                   ; preds = %vector.body346, %vector.ph342
  %index347 = phi i64 [ 0, %vector.ph342 ], [ %index.next352, %vector.body346 ]
  %108 = getelementptr inbounds double, ptr %.0, i64 %index347
  %109 = getelementptr inbounds i8, ptr %108, i64 16
  %wide.load348 = load <2 x double>, ptr %108, align 8, !tbaa !9
  %wide.load349 = load <2 x double>, ptr %109, align 8, !tbaa !9
  %110 = getelementptr inbounds double, ptr %10, i64 %index347
  %111 = getelementptr inbounds i8, ptr %110, i64 16
  %wide.load350 = load <2 x double>, ptr %110, align 8, !tbaa !9
  %wide.load351 = load <2 x double>, ptr %111, align 8, !tbaa !9
  %112 = fadd <2 x double> %wide.load348, %wide.load350
  %113 = fadd <2 x double> %wide.load349, %wide.load351
  %114 = getelementptr inbounds double, ptr %9, i64 %index347
  %115 = getelementptr inbounds i8, ptr %114, i64 16
  store <2 x double> %112, ptr %114, align 8, !tbaa !9
  store <2 x double> %113, ptr %115, align 8, !tbaa !9
  %116 = fsub <2 x double> %wide.load350, %wide.load348
  %117 = fsub <2 x double> %wide.load351, %wide.load349
  %118 = getelementptr inbounds double, ptr %11, i64 %index347
  %119 = getelementptr inbounds i8, ptr %118, i64 16
  store <2 x double> %116, ptr %118, align 8, !tbaa !9
  store <2 x double> %117, ptr %119, align 8, !tbaa !9
  %index.next352 = add nuw i64 %index347, 4
  %120 = icmp eq i64 %index.next352, %n.vec344
  br i1 %120, label %middle.block339, label %vector.body346, !llvm.loop !15

middle.block339:                                  ; preds = %vector.body346
  %cmp.n353 = icmp eq i64 %n.vec344, %wide.trip.count233
  br i1 %cmp.n353, label %.loopexit, label %.lr.ph209.preheader354

.lr.ph209.preheader354:                           ; preds = %middle.block339, %vector.memcheck329, %.lr.ph209.preheader
  %indvars.iv230.ph = phi i64 [ 0, %vector.memcheck329 ], [ 0, %.lr.ph209.preheader ], [ %n.vec344, %middle.block339 ]
  %xtraiter369 = and i64 %wide.trip.count233, 1
  %lcmp.mod370.not = icmp eq i64 %xtraiter369, 0
  br i1 %lcmp.mod370.not, label %.lr.ph209.prol.loopexit, label %.lr.ph209.prol

.lr.ph209.prol:                                   ; preds = %.lr.ph209.preheader354
  %121 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv230.ph
  %122 = load double, ptr %121, align 8, !tbaa !9
  %123 = getelementptr inbounds double, ptr %10, i64 %indvars.iv230.ph
  %124 = load double, ptr %123, align 8, !tbaa !9
  %125 = fadd double %122, %124
  %126 = getelementptr inbounds double, ptr %9, i64 %indvars.iv230.ph
  store double %125, ptr %126, align 8, !tbaa !9
  %127 = fsub double %124, %122
  %128 = getelementptr inbounds double, ptr %11, i64 %indvars.iv230.ph
  store double %127, ptr %128, align 8, !tbaa !9
  %indvars.iv.next231.prol = or disjoint i64 %indvars.iv230.ph, 1
  br label %.lr.ph209.prol.loopexit

.lr.ph209.prol.loopexit:                          ; preds = %.lr.ph209.prol, %.lr.ph209.preheader354
  %indvars.iv230.unr = phi i64 [ %indvars.iv230.ph, %.lr.ph209.preheader354 ], [ %indvars.iv.next231.prol, %.lr.ph209.prol ]
  %129 = add nsw i64 %wide.trip.count233, -1
  %130 = icmp eq i64 %indvars.iv230.ph, %129
  br i1 %130, label %.loopexit, label %.lr.ph209

.lr.ph209:                                        ; preds = %.lr.ph209.prol.loopexit, %.lr.ph209
  %indvars.iv230 = phi i64 [ %indvars.iv.next231.1, %.lr.ph209 ], [ %indvars.iv230.unr, %.lr.ph209.prol.loopexit ]
  %131 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv230
  %132 = load double, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds double, ptr %10, i64 %indvars.iv230
  %134 = load double, ptr %133, align 8, !tbaa !9
  %135 = fadd double %132, %134
  %136 = getelementptr inbounds double, ptr %9, i64 %indvars.iv230
  store double %135, ptr %136, align 8, !tbaa !9
  %137 = fsub double %134, %132
  %138 = getelementptr inbounds double, ptr %11, i64 %indvars.iv230
  store double %137, ptr %138, align 8, !tbaa !9
  %indvars.iv.next231 = add nuw nsw i64 %indvars.iv230, 1
  %139 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv.next231
  %140 = load double, ptr %139, align 8, !tbaa !9
  %141 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next231
  %142 = load double, ptr %141, align 8, !tbaa !9
  %143 = fadd double %140, %142
  %144 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next231
  store double %143, ptr %144, align 8, !tbaa !9
  %145 = fsub double %142, %140
  %146 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next231
  store double %145, ptr %146, align 8, !tbaa !9
  %indvars.iv.next231.1 = add nuw nsw i64 %indvars.iv230, 2
  %exitcond234.not.1 = icmp eq i64 %indvars.iv.next231.1, %wide.trip.count233
  br i1 %exitcond234.not.1, label %.loopexit, label %.lr.ph209, !llvm.loop !16

.lr.ph207:                                        ; preds = %.lr.ph207.prol.loopexit, %.lr.ph207
  %indvars.iv225 = phi i64 [ %indvars.iv.next226.1, %.lr.ph207 ], [ %indvars.iv225.unr, %.lr.ph207.prol.loopexit ]
  %147 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv225
  %148 = load double, ptr %147, align 8, !tbaa !9
  %149 = fmul double %.0168, %148
  %150 = getelementptr inbounds double, ptr %10, i64 %indvars.iv225
  %151 = load double, ptr %150, align 8, !tbaa !9
  %152 = fadd double %151, %149
  %153 = getelementptr inbounds double, ptr %9, i64 %indvars.iv225
  store double %152, ptr %153, align 8, !tbaa !9
  %154 = fsub double %151, %149
  %155 = getelementptr inbounds double, ptr %11, i64 %indvars.iv225
  store double %154, ptr %155, align 8, !tbaa !9
  %indvars.iv.next226 = add nuw nsw i64 %indvars.iv225, 1
  %156 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv.next226
  %157 = load double, ptr %156, align 8, !tbaa !9
  %158 = fmul double %.0168, %157
  %159 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next226
  %160 = load double, ptr %159, align 8, !tbaa !9
  %161 = fadd double %160, %158
  %162 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next226
  store double %161, ptr %162, align 8, !tbaa !9
  %163 = fsub double %160, %158
  %164 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next226
  store double %163, ptr %164, align 8, !tbaa !9
  %indvars.iv.next226.1 = add nuw nsw i64 %indvars.iv225, 2
  %exitcond229.not.1 = icmp eq i64 %indvars.iv.next226.1, %wide.trip.count228
  br i1 %exitcond229.not.1, label %.loopexit, label %.lr.ph207, !llvm.loop !17

165:                                              ; preds = %73
  br i1 %75, label %.preheader195, label %210

.preheader195:                                    ; preds = %165
  %166 = load i32, ptr %8, align 4, !tbaa !5
  %167 = icmp sgt i32 %166, 0
  br i1 %167, label %.lr.ph205.preheader, label %.loopexit

.lr.ph205.preheader:                              ; preds = %.preheader195
  %wide.trip.count223 = zext nneg i32 %166 to i64
  %min.iters.check291 = icmp ult i32 %166, 12
  br i1 %min.iters.check291, label %.lr.ph205.preheader357, label %vector.memcheck279

vector.memcheck279:                               ; preds = %.lr.ph205.preheader
  %168 = sub i64 %21, %20
  %diff.check280 = icmp ult i64 %168, 16
  %169 = sub i64 %19, %20
  %diff.check281 = icmp ult i64 %169, 16
  %conflict.rdx282 = or i1 %diff.check280, %diff.check281
  %170 = sub i64 %19, %21
  %diff.check283 = icmp ult i64 %170, 16
  %conflict.rdx284 = or i1 %conflict.rdx282, %diff.check283
  %171 = sub i64 %21, %.0246
  %diff.check285 = icmp ult i64 %171, 16
  %conflict.rdx286 = or i1 %conflict.rdx284, %diff.check285
  %172 = sub i64 %19, %.0246
  %diff.check287 = icmp ult i64 %172, 16
  %conflict.rdx288 = or i1 %conflict.rdx286, %diff.check287
  br i1 %conflict.rdx288, label %.lr.ph205.preheader357, label %vector.ph292

vector.ph292:                                     ; preds = %vector.memcheck279
  %n.vec294 = and i64 %wide.trip.count223, 2147483646
  %broadcast.splatinsert300 = insertelement <2 x double> poison, double %.0169, i64 0
  %broadcast.splat301 = shufflevector <2 x double> %broadcast.splatinsert300, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body296

vector.body296:                                   ; preds = %vector.body296, %vector.ph292
  %index297 = phi i64 [ 0, %vector.ph292 ], [ %index.next302, %vector.body296 ]
  %173 = getelementptr inbounds double, ptr %.0, i64 %index297
  %wide.load298 = load <2 x double>, ptr %173, align 8, !tbaa !9
  %174 = getelementptr inbounds double, ptr %10, i64 %index297
  %wide.load299 = load <2 x double>, ptr %174, align 8, !tbaa !9
  %175 = fadd <2 x double> %wide.load298, %wide.load299
  %176 = getelementptr inbounds double, ptr %9, i64 %index297
  store <2 x double> %175, ptr %176, align 8, !tbaa !9
  %177 = fneg <2 x double> %wide.load298
  %178 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %177, <2 x double> %broadcast.splat301, <2 x double> %wide.load299)
  %179 = getelementptr inbounds double, ptr %11, i64 %index297
  store <2 x double> %178, ptr %179, align 8, !tbaa !9
  %index.next302 = add nuw i64 %index297, 2
  %180 = icmp eq i64 %index.next302, %n.vec294
  br i1 %180, label %middle.block289, label %vector.body296, !llvm.loop !18

middle.block289:                                  ; preds = %vector.body296
  %cmp.n303 = icmp eq i64 %n.vec294, %wide.trip.count223
  br i1 %cmp.n303, label %.loopexit, label %.lr.ph205.preheader357

.lr.ph205.preheader357:                           ; preds = %middle.block289, %vector.memcheck279, %.lr.ph205.preheader
  %indvars.iv220.ph = phi i64 [ 0, %vector.memcheck279 ], [ 0, %.lr.ph205.preheader ], [ %n.vec294, %middle.block289 ]
  %xtraiter365 = and i64 %wide.trip.count223, 1
  %lcmp.mod366.not = icmp eq i64 %xtraiter365, 0
  br i1 %lcmp.mod366.not, label %.lr.ph205.prol.loopexit, label %.lr.ph205.prol

.lr.ph205.prol:                                   ; preds = %.lr.ph205.preheader357
  %181 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv220.ph
  %182 = load double, ptr %181, align 8, !tbaa !9
  %183 = getelementptr inbounds double, ptr %10, i64 %indvars.iv220.ph
  %184 = load double, ptr %183, align 8, !tbaa !9
  %185 = fadd double %182, %184
  %186 = getelementptr inbounds double, ptr %9, i64 %indvars.iv220.ph
  store double %185, ptr %186, align 8, !tbaa !9
  %187 = fneg double %182
  %188 = tail call double @llvm.fmuladd.f64(double %187, double %.0169, double %184)
  %189 = getelementptr inbounds double, ptr %11, i64 %indvars.iv220.ph
  store double %188, ptr %189, align 8, !tbaa !9
  %indvars.iv.next221.prol = or disjoint i64 %indvars.iv220.ph, 1
  br label %.lr.ph205.prol.loopexit

.lr.ph205.prol.loopexit:                          ; preds = %.lr.ph205.prol, %.lr.ph205.preheader357
  %indvars.iv220.unr = phi i64 [ %indvars.iv220.ph, %.lr.ph205.preheader357 ], [ %indvars.iv.next221.prol, %.lr.ph205.prol ]
  %190 = add nsw i64 %wide.trip.count223, -1
  %191 = icmp eq i64 %indvars.iv220.ph, %190
  br i1 %191, label %.loopexit, label %.lr.ph205

.lr.ph205:                                        ; preds = %.lr.ph205.prol.loopexit, %.lr.ph205
  %indvars.iv220 = phi i64 [ %indvars.iv.next221.1, %.lr.ph205 ], [ %indvars.iv220.unr, %.lr.ph205.prol.loopexit ]
  %192 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv220
  %193 = load double, ptr %192, align 8, !tbaa !9
  %194 = getelementptr inbounds double, ptr %10, i64 %indvars.iv220
  %195 = load double, ptr %194, align 8, !tbaa !9
  %196 = fadd double %193, %195
  %197 = getelementptr inbounds double, ptr %9, i64 %indvars.iv220
  store double %196, ptr %197, align 8, !tbaa !9
  %198 = fneg double %193
  %199 = tail call double @llvm.fmuladd.f64(double %198, double %.0169, double %195)
  %200 = getelementptr inbounds double, ptr %11, i64 %indvars.iv220
  store double %199, ptr %200, align 8, !tbaa !9
  %indvars.iv.next221 = add nuw nsw i64 %indvars.iv220, 1
  %201 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv.next221
  %202 = load double, ptr %201, align 8, !tbaa !9
  %203 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next221
  %204 = load double, ptr %203, align 8, !tbaa !9
  %205 = fadd double %202, %204
  %206 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next221
  store double %205, ptr %206, align 8, !tbaa !9
  %207 = fneg double %202
  %208 = tail call double @llvm.fmuladd.f64(double %207, double %.0169, double %204)
  %209 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next221
  store double %208, ptr %209, align 8, !tbaa !9
  %indvars.iv.next221.1 = add nuw nsw i64 %indvars.iv220, 2
  %exitcond224.not.1 = icmp eq i64 %indvars.iv.next221.1, %wide.trip.count223
  br i1 %exitcond224.not.1, label %.loopexit, label %.lr.ph205, !llvm.loop !19

210:                                              ; preds = %165
  %211 = fcmp oeq double %.0169, 1.000000e+00
  %212 = load i32, ptr %8, align 4, !tbaa !5
  %213 = icmp sgt i32 %212, 0
  br i1 %211, label %.preheader197, label %.preheader199

.preheader199:                                    ; preds = %210
  br i1 %213, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %.preheader199
  %wide.trip.count = zext nneg i32 %212 to i64
  %min.iters.check = icmp ult i32 %212, 10
  br i1 %min.iters.check, label %.lr.ph.preheader361, label %vector.memcheck

.lr.ph.preheader361:                              ; 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.preheader361
  %214 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv.ph
  %215 = load double, ptr %214, align 8, !tbaa !9
  %216 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.ph
  %217 = load double, ptr %216, align 8, !tbaa !9
  %218 = tail call double @llvm.fmuladd.f64(double %215, double %.0168, double %217)
  %219 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.ph
  store double %218, ptr %219, align 8, !tbaa !9
  %220 = fneg double %215
  %221 = tail call double @llvm.fmuladd.f64(double %220, double %.0169, double %217)
  %222 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.ph
  store double %221, ptr %222, 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.preheader361
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader361 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %223 = add nsw i64 %wide.trip.count, -1
  %224 = icmp eq i64 %indvars.iv.ph, %223
  br i1 %224, label %.loopexit, label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %225 = sub i64 %27, %26
  %diff.check = icmp ult i64 %225, 16
  %226 = sub i64 %25, %26
  %diff.check243 = icmp ult i64 %226, 16
  %conflict.rdx = or i1 %diff.check, %diff.check243
  %227 = sub i64 %25, %27
  %diff.check244 = icmp ult i64 %227, 16
  %conflict.rdx245 = or i1 %conflict.rdx, %diff.check244
  %228 = sub i64 %27, %.0246
  %diff.check247 = icmp ult i64 %228, 16
  %conflict.rdx248 = or i1 %conflict.rdx245, %diff.check247
  %229 = sub i64 %25, %.0246
  %diff.check249 = icmp ult i64 %229, 16
  %conflict.rdx250 = or i1 %conflict.rdx248, %diff.check249
  br i1 %conflict.rdx250, label %.lr.ph.preheader361, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483646
  %broadcast.splatinsert = insertelement <2 x double> poison, double %.0168, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert252 = insertelement <2 x double> poison, double %.0169, i64 0
  %broadcast.splat253 = shufflevector <2 x double> %broadcast.splatinsert252, <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 ]
  %230 = getelementptr inbounds double, ptr %.0, i64 %index
  %wide.load = load <2 x double>, ptr %230, align 8, !tbaa !9
  %231 = getelementptr inbounds double, ptr %10, i64 %index
  %wide.load251 = load <2 x double>, ptr %231, align 8, !tbaa !9
  %232 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load, <2 x double> %broadcast.splat, <2 x double> %wide.load251)
  %233 = getelementptr inbounds double, ptr %9, i64 %index
  store <2 x double> %232, ptr %233, align 8, !tbaa !9
  %234 = fneg <2 x double> %wide.load
  %235 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %234, <2 x double> %broadcast.splat253, <2 x double> %wide.load251)
  %236 = getelementptr inbounds double, ptr %11, i64 %index
  store <2 x double> %235, ptr %236, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 2
  %237 = icmp eq i64 %index.next, %n.vec
  br i1 %237, label %middle.block, label %vector.body, !llvm.loop !20

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

.preheader197:                                    ; preds = %210
  br i1 %213, label %.lr.ph203.preheader, label %.loopexit

.lr.ph203.preheader:                              ; preds = %.preheader197
  %wide.trip.count218 = zext nneg i32 %212 to i64
  %min.iters.check266 = icmp ult i32 %212, 12
  br i1 %min.iters.check266, label %.lr.ph203.preheader359, label %vector.memcheck254

vector.memcheck254:                               ; preds = %.lr.ph203.preheader
  %238 = sub i64 %24, %23
  %diff.check255 = icmp ult i64 %238, 16
  %239 = sub i64 %22, %23
  %diff.check256 = icmp ult i64 %239, 16
  %conflict.rdx257 = or i1 %diff.check255, %diff.check256
  %240 = sub i64 %24, %22
  %diff.check258 = icmp ult i64 %240, 16
  %conflict.rdx259 = or i1 %conflict.rdx257, %diff.check258
  %241 = sub i64 %22, %.0246
  %diff.check260 = icmp ult i64 %241, 16
  %conflict.rdx261 = or i1 %conflict.rdx259, %diff.check260
  %242 = sub i64 %24, %.0246
  %diff.check262 = icmp ult i64 %242, 16
  %conflict.rdx263 = or i1 %conflict.rdx261, %diff.check262
  br i1 %conflict.rdx263, label %.lr.ph203.preheader359, label %vector.ph267

vector.ph267:                                     ; preds = %vector.memcheck254
  %n.vec269 = and i64 %wide.trip.count218, 2147483646
  %broadcast.splatinsert275 = insertelement <2 x double> poison, double %.0168, i64 0
  %broadcast.splat276 = shufflevector <2 x double> %broadcast.splatinsert275, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body271

vector.body271:                                   ; preds = %vector.body271, %vector.ph267
  %index272 = phi i64 [ 0, %vector.ph267 ], [ %index.next277, %vector.body271 ]
  %243 = getelementptr inbounds double, ptr %.0, i64 %index272
  %wide.load273 = load <2 x double>, ptr %243, align 8, !tbaa !9
  %244 = getelementptr inbounds double, ptr %10, i64 %index272
  %wide.load274 = load <2 x double>, ptr %244, align 8, !tbaa !9
  %245 = fsub <2 x double> %wide.load274, %wide.load273
  %246 = getelementptr inbounds double, ptr %11, i64 %index272
  store <2 x double> %245, ptr %246, align 8, !tbaa !9
  %247 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load273, <2 x double> %broadcast.splat276, <2 x double> %wide.load274)
  %248 = getelementptr inbounds double, ptr %9, i64 %index272
  store <2 x double> %247, ptr %248, align 8, !tbaa !9
  %index.next277 = add nuw i64 %index272, 2
  %249 = icmp eq i64 %index.next277, %n.vec269
  br i1 %249, label %middle.block264, label %vector.body271, !llvm.loop !21

middle.block264:                                  ; preds = %vector.body271
  %cmp.n278 = icmp eq i64 %n.vec269, %wide.trip.count218
  br i1 %cmp.n278, label %.loopexit, label %.lr.ph203.preheader359

.lr.ph203.preheader359:                           ; preds = %middle.block264, %vector.memcheck254, %.lr.ph203.preheader
  %indvars.iv215.ph = phi i64 [ 0, %vector.memcheck254 ], [ 0, %.lr.ph203.preheader ], [ %n.vec269, %middle.block264 ]
  %xtraiter363 = and i64 %wide.trip.count218, 1
  %lcmp.mod364.not = icmp eq i64 %xtraiter363, 0
  br i1 %lcmp.mod364.not, label %.lr.ph203.prol.loopexit, label %.lr.ph203.prol

.lr.ph203.prol:                                   ; preds = %.lr.ph203.preheader359
  %250 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv215.ph
  %251 = load double, ptr %250, align 8, !tbaa !9
  %252 = getelementptr inbounds double, ptr %10, i64 %indvars.iv215.ph
  %253 = load double, ptr %252, align 8, !tbaa !9
  %254 = fsub double %253, %251
  %255 = getelementptr inbounds double, ptr %11, i64 %indvars.iv215.ph
  store double %254, ptr %255, align 8, !tbaa !9
  %256 = tail call double @llvm.fmuladd.f64(double %251, double %.0168, double %253)
  %257 = getelementptr inbounds double, ptr %9, i64 %indvars.iv215.ph
  store double %256, ptr %257, align 8, !tbaa !9
  %indvars.iv.next216.prol = or disjoint i64 %indvars.iv215.ph, 1
  br label %.lr.ph203.prol.loopexit

.lr.ph203.prol.loopexit:                          ; preds = %.lr.ph203.prol, %.lr.ph203.preheader359
  %indvars.iv215.unr = phi i64 [ %indvars.iv215.ph, %.lr.ph203.preheader359 ], [ %indvars.iv.next216.prol, %.lr.ph203.prol ]
  %258 = add nsw i64 %wide.trip.count218, -1
  %259 = icmp eq i64 %indvars.iv215.ph, %258
  br i1 %259, label %.loopexit, label %.lr.ph203

.lr.ph203:                                        ; preds = %.lr.ph203.prol.loopexit, %.lr.ph203
  %indvars.iv215 = phi i64 [ %indvars.iv.next216.1, %.lr.ph203 ], [ %indvars.iv215.unr, %.lr.ph203.prol.loopexit ]
  %260 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv215
  %261 = load double, ptr %260, align 8, !tbaa !9
  %262 = getelementptr inbounds double, ptr %10, i64 %indvars.iv215
  %263 = load double, ptr %262, align 8, !tbaa !9
  %264 = fsub double %263, %261
  %265 = getelementptr inbounds double, ptr %11, i64 %indvars.iv215
  store double %264, ptr %265, align 8, !tbaa !9
  %266 = tail call double @llvm.fmuladd.f64(double %261, double %.0168, double %263)
  %267 = getelementptr inbounds double, ptr %9, i64 %indvars.iv215
  store double %266, ptr %267, align 8, !tbaa !9
  %indvars.iv.next216 = add nuw nsw i64 %indvars.iv215, 1
  %268 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv.next216
  %269 = load double, ptr %268, align 8, !tbaa !9
  %270 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next216
  %271 = load double, ptr %270, align 8, !tbaa !9
  %272 = fsub double %271, %269
  %273 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next216
  store double %272, ptr %273, align 8, !tbaa !9
  %274 = tail call double @llvm.fmuladd.f64(double %269, double %.0168, double %271)
  %275 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next216
  store double %274, ptr %275, align 8, !tbaa !9
  %indvars.iv.next216.1 = add nuw nsw i64 %indvars.iv215, 2
  %exitcond219.not.1 = icmp eq i64 %indvars.iv.next216.1, %wide.trip.count218
  br i1 %exitcond219.not.1, label %.loopexit, label %.lr.ph203, !llvm.loop !22

.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 ]
  %276 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv
  %277 = load double, ptr %276, align 8, !tbaa !9
  %278 = getelementptr inbounds double, ptr %10, i64 %indvars.iv
  %279 = load double, ptr %278, align 8, !tbaa !9
  %280 = tail call double @llvm.fmuladd.f64(double %277, double %.0168, double %279)
  %281 = getelementptr inbounds double, ptr %9, i64 %indvars.iv
  store double %280, ptr %281, align 8, !tbaa !9
  %282 = fneg double %277
  %283 = tail call double @llvm.fmuladd.f64(double %282, double %.0169, double %279)
  %284 = getelementptr inbounds double, ptr %11, i64 %indvars.iv
  store double %283, ptr %284, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %285 = getelementptr inbounds double, ptr %.0, i64 %indvars.iv.next
  %286 = load double, ptr %285, align 8, !tbaa !9
  %287 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next
  %288 = load double, ptr %287, align 8, !tbaa !9
  %289 = tail call double @llvm.fmuladd.f64(double %286, double %.0168, double %288)
  %290 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next
  store double %289, ptr %290, align 8, !tbaa !9
  %291 = fneg double %286
  %292 = tail call double @llvm.fmuladd.f64(double %291, double %.0169, double %288)
  %293 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next
  store double %292, ptr %293, 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 !23

.loopexit.sink.split:                             ; preds = %66, %57, %59
  %.0166.ph = phi i32 [ %58, %59 ], [ %58, %57 ], [ %67, %66 ]
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %.lr.ph203.prol.loopexit, %.lr.ph203, %.lr.ph205.prol.loopexit, %.lr.ph205, %.lr.ph207.prol.loopexit, %.lr.ph207, %.lr.ph209.prol.loopexit, %.lr.ph209, %middle.block, %middle.block264, %middle.block289, %middle.block314, %middle.block339, %.loopexit.sink.split, %.preheader199, %.preheader197, %.preheader195, %.preheader193, %.preheader, %54, %47, %46, %42, %38, %34, %31, %29, %12
  %.0166 = phi i32 [ 12, %12 ], [ 13, %29 ], [ 2, %31 ], [ 2, %34 ], [ 2, %38 ], [ 2, %42 ], [ 2, %46 ], [ 2, %47 ], [ 2, %54 ], [ 0, %.preheader ], [ 0, %.preheader193 ], [ 0, %.preheader195 ], [ 0, %.preheader197 ], [ 0, %.preheader199 ], [ %.0166.ph, %.loopexit.sink.split ], [ 0, %middle.block339 ], [ 0, %middle.block314 ], [ 0, %middle.block289 ], [ 0, %middle.block264 ], [ 0, %middle.block ], [ 0, %.lr.ph209 ], [ 0, %.lr.ph209.prol.loopexit ], [ 0, %.lr.ph207 ], [ 0, %.lr.ph207.prol.loopexit ], [ 0, %.lr.ph205 ], [ 0, %.lr.ph205.prol.loopexit ], [ 0, %.lr.ph203 ], [ 0, %.lr.ph203.prol.loopexit ], [ 0, %.lr.ph ], [ 0, %.lr.ph.prol.loopexit ]
  ret i32 %.0166
}

declare i32 @TA_MA(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @TA_INT_stddev_using_precalc_ma(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare i32 @TA_STDDEV(i32 noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

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

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

attributes #0 = { 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 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!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 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !13, !14}
!16 = distinct !{!16, !12, !13}
!17 = distinct !{!17, !12, !13}
!18 = distinct !{!18, !12, !13, !14}
!19 = distinct !{!19, !12, !13}
!20 = distinct !{!20, !12, !13, !14}
!21 = distinct !{!21, !12, !13, !14}
!22 = distinct !{!22, !12, !13}
!23 = distinct !{!23, !12, !13}


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