; LLVM IR from stillwater-sc/universal :: applications/accuracy/roots/rpoly_ak1.ll (Z9rpoly_ak1PdPiS_S_)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [88 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9rpoly_ak1PdPiS_S_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca [101 x double], align 16
  %19 = alloca [101 x double], align 16
  %20 = alloca [101 x double], align 16
  %21 = alloca [101 x double], align 16
  %22 = alloca [101 x double], align 16
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca double, align 8
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 808, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 808, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 808, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 808, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 808, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  store double 0x3F91DF46A2529D39, ptr %45, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %51 = call double @log(double noundef 2.000000e+00) #6
  store double %51, ptr %46, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  store double 0x3B50000000000000, ptr %47, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  %52 = call double @cos(double noundef 0x3FFA3FEFBE6956EC) #6
  store double %52, ptr %48, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #6
  %53 = call double @sin(double noundef 0x3FFA3FEFBE6956EC) #6
  store double %53, ptr %49, align 8, !tbaa !9
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load i32, ptr %54, align 4, !tbaa !11
  %56 = icmp sgt i32 %55, 100
  br i1 %56, label %57, label %60

57:                                               ; preds = %4
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 -1, ptr %59, align 4, !tbaa !11
  store i32 1, ptr %50, align 4
  br label %660

60:                                               ; preds = %4
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds double, ptr %61, i64 0
  %63 = load double, ptr %62, align 8, !tbaa !9
  %64 = fcmp une double %63, 0.000000e+00
  br i1 %64, label %65, label %656

65:                                               ; preds = %60
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !11
  store i32 %67, ptr %13, align 4, !tbaa !11
  %68 = call double @sqrt(double noundef 5.000000e-01) #6
  store double %68, ptr %42, align 8, !tbaa !9
  %69 = load double, ptr %42, align 8, !tbaa !9
  %70 = fneg double %69
  store double %70, ptr %44, align 8, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %71

71:                                               ; preds = %78, %65
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = load i32, ptr %13, align 4, !tbaa !11
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds double, ptr %72, i64 %74
  %76 = load double, ptr %75, align 8, !tbaa !9
  %77 = fcmp oeq double %76, 0.000000e+00
  br i1 %77, label %78, label %91

78:                                               ; preds = %71
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = load i32, ptr %10, align 4, !tbaa !11
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds double, ptr %79, i64 %81
  store double 0.000000e+00, ptr %82, align 8, !tbaa !9
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load i32, ptr %10, align 4, !tbaa !11
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds double, ptr %83, i64 %85
  store double 0.000000e+00, ptr %86, align 8, !tbaa !9
  %87 = load i32, ptr %13, align 4, !tbaa !11
  %88 = add nsw i32 %87, -1
  store i32 %88, ptr %13, align 4, !tbaa !11
  %89 = load i32, ptr %10, align 4, !tbaa !11
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %10, align 4, !tbaa !11
  br label %71, !llvm.loop !13

91:                                               ; preds = %71
  %92 = load i32, ptr %13, align 4, !tbaa !11
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %15, align 4, !tbaa !11
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %94

94:                                               ; preds = %107, %91
  %95 = load i32, ptr %9, align 4, !tbaa !11
  %96 = load i32, ptr %15, align 4, !tbaa !11
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %98, label %110

98:                                               ; preds = %94
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = load i32, ptr %9, align 4, !tbaa !11
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds double, ptr %99, i64 %101
  %103 = load double, ptr %102, align 8, !tbaa !9
  %104 = load i32, ptr %9, align 4, !tbaa !11
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %105
  store double %103, ptr %106, align 8, !tbaa !9
  br label %107

107:                                              ; preds = %98
  %108 = load i32, ptr %9, align 4, !tbaa !11
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %9, align 4, !tbaa !11
  br label %94, !llvm.loop !15

110:                                              ; preds = %94
  br label %111

111:                                              ; preds = %654, %110
  %112 = load i32, ptr %13, align 4, !tbaa !11
  %113 = icmp sge i32 %112, 1
  br i1 %113, label %114, label %655

114:                                              ; preds = %111
  %115 = load i32, ptr %13, align 4, !tbaa !11
  %116 = icmp sle i32 %115, 2
  br i1 %116, label %117, label %171

117:                                              ; preds = %114
  %118 = load i32, ptr %13, align 4, !tbaa !11
  %119 = icmp slt i32 %118, 2
  br i1 %119, label %120, label %139

120:                                              ; preds = %117
  %121 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 1
  %122 = load double, ptr %121, align 8, !tbaa !9
  %123 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 0
  %124 = load double, ptr %123, align 16, !tbaa !9
  %125 = fdiv double %122, %124
  %126 = fneg double %125
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = load i32, ptr %128, align 4, !tbaa !11
  %130 = sub nsw i32 %129, 1
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds double, ptr %127, i64 %131
  store double %126, ptr %132, align 8, !tbaa !9
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = load i32, ptr %134, align 4, !tbaa !11
  %136 = sub nsw i32 %135, 1
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds double, ptr %133, i64 %137
  store double 0.000000e+00, ptr %138, align 8, !tbaa !9
  br label %170

139:                                              ; preds = %117
  %140 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 0
  %141 = load double, ptr %140, align 16, !tbaa !9
  %142 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 1
  %143 = load double, ptr %142, align 8, !tbaa !9
  %144 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 2
  %145 = load double, ptr %144, align 16, !tbaa !9
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = load i32, ptr %147, align 4, !tbaa !11
  %149 = sub nsw i32 %148, 2
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds double, ptr %146, i64 %150
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = load i32, ptr %153, align 4, !tbaa !11
  %155 = sub nsw i32 %154, 2
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds double, ptr %152, i64 %156
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = load i32, ptr %159, align 4, !tbaa !11
  %161 = sub nsw i32 %160, 1
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds double, ptr %158, i64 %162
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load i32, ptr %165, align 4, !tbaa !11
  %167 = sub nsw i32 %166, 1
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds double, ptr %164, i64 %168
  call void @_Z8Quad_ak1dddPdS_S_S_(double noundef %141, double noundef %143, double noundef %145, ptr noundef %151, ptr noundef %157, ptr noundef %163, ptr noundef %169)
  br label %170

170:                                              ; preds = %139, %120
  br label %655

171:                                              ; preds = %114
  store double 0.000000e+00, ptr %28, align 8, !tbaa !9
  store double 0x47EFFFFFE0000000, ptr %29, align 8, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %172

172:                                              ; preds = %197, %171
  %173 = load i32, ptr %9, align 4, !tbaa !11
  %174 = load i32, ptr %15, align 4, !tbaa !11
  %175 = icmp slt i32 %173, %174
  br i1 %175, label %176, label %200

176:                                              ; preds = %172
  %177 = load i32, ptr %9, align 4, !tbaa !11
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !9
  %181 = call double @llvm.fabs.f64(double %180)
  store double %181, ptr %31, align 8, !tbaa !9
  %182 = load double, ptr %31, align 8, !tbaa !9
  %183 = load double, ptr %28, align 8, !tbaa !9
  %184 = fcmp ogt double %182, %183
  br i1 %184, label %185, label %187

185:                                              ; preds = %176
  %186 = load double, ptr %31, align 8, !tbaa !9
  store double %186, ptr %28, align 8, !tbaa !9
  br label %187

187:                                              ; preds = %185, %176
  %188 = load double, ptr %31, align 8, !tbaa !9
  %189 = fcmp une double %188, 0.000000e+00
  br i1 %189, label %190, label %196

190:                                              ; preds = %187
  %191 = load double, ptr %31, align 8, !tbaa !9
  %192 = load double, ptr %29, align 8, !tbaa !9
  %193 = fcmp olt double %191, %192
  br i1 %193, label %194, label %196

194:                                              ; preds = %190
  %195 = load double, ptr %31, align 8, !tbaa !9
  store double %195, ptr %29, align 8, !tbaa !9
  br label %196

196:                                              ; preds = %194, %190, %187
  br label %197

197:                                              ; preds = %196
  %198 = load i32, ptr %9, align 4, !tbaa !11
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %9, align 4, !tbaa !11
  br label %172, !llvm.loop !16

200:                                              ; preds = %172
  %201 = load double, ptr %29, align 8, !tbaa !9
  %202 = fdiv double 0x3B50000000000000, %201
  store double %202, ptr %30, align 8, !tbaa !9
  %203 = load double, ptr %30, align 8, !tbaa !9
  %204 = fcmp ole double %203, 1.000000e+00
  br i1 %204, label %205, label %208

205:                                              ; preds = %200
  %206 = load double, ptr %28, align 8, !tbaa !9
  %207 = fcmp oge double %206, 1.000000e+01
  br i1 %207, label %216, label %208

208:                                              ; preds = %205, %200
  %209 = load double, ptr %30, align 8, !tbaa !9
  %210 = fcmp ogt double %209, 1.000000e+00
  br i1 %210, label %211, label %252

211:                                              ; preds = %208
  %212 = load double, ptr %30, align 8, !tbaa !9
  %213 = fdiv double 0x47EFFFFFE0000000, %212
  %214 = load double, ptr %28, align 8, !tbaa !9
  %215 = fcmp oge double %213, %214
  br i1 %215, label %216, label %252

216:                                              ; preds = %211, %205
  %217 = load double, ptr %30, align 8, !tbaa !9
  %218 = fcmp oeq double %217, 0.000000e+00
  br i1 %218, label %219, label %220

219:                                              ; preds = %216
  br label %222

220:                                              ; preds = %216
  %221 = load double, ptr %30, align 8, !tbaa !9
  br label %222

222:                                              ; preds = %220, %219
  %223 = phi double [ 0x3810000000000000, %219 ], [ %221, %220 ]
  store double %223, ptr %30, align 8, !tbaa !9
  %224 = load double, ptr %30, align 8, !tbaa !9
  %225 = call double @log(double noundef %224) #6
  %226 = load double, ptr %46, align 8, !tbaa !9
  %227 = fdiv double %225, %226
  %228 = fadd double %227, 5.000000e-01
  %229 = fptosi double %228 to i32
  store i32 %229, ptr %12, align 4, !tbaa !11
  %230 = load i32, ptr %12, align 4, !tbaa !11
  %231 = sitofp i32 %230 to double
  %232 = call double @pow(double noundef 2.000000e+00, double noundef %231) #6
  store double %232, ptr %26, align 8, !tbaa !9
  %233 = load double, ptr %26, align 8, !tbaa !9
  %234 = fcmp une double %233, 1.000000e+00
  br i1 %234, label %235, label %251

235:                                              ; preds = %222
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %236

236:                                              ; preds = %247, %235
  %237 = load i32, ptr %9, align 4, !tbaa !11
  %238 = load i32, ptr %15, align 4, !tbaa !11
  %239 = icmp slt i32 %237, %238
  br i1 %239, label %240, label %250

240:                                              ; preds = %236
  %241 = load double, ptr %26, align 8, !tbaa !9
  %242 = load i32, ptr %9, align 4, !tbaa !11
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %243
  %245 = load double, ptr %244, align 8, !tbaa !9
  %246 = fmul double %245, %241
  store double %246, ptr %244, align 8, !tbaa !9
  br label %247

247:                                              ; preds = %240
  %248 = load i32, ptr %9, align 4, !tbaa !11
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %9, align 4, !tbaa !11
  br label %236, !llvm.loop !17

250:                                              ; preds = %236
  br label %251

251:                                              ; preds = %250, %222
  br label %252

252:                                              ; preds = %251, %211, %208
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %253

253:                                              ; preds = %266, %252
  %254 = load i32, ptr %9, align 4, !tbaa !11
  %255 = load i32, ptr %15, align 4, !tbaa !11
  %256 = icmp slt i32 %254, %255
  br i1 %256, label %257, label %269

257:                                              ; preds = %253
  %258 = load i32, ptr %9, align 4, !tbaa !11
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %259
  %261 = load double, ptr %260, align 8, !tbaa !9
  %262 = call double @llvm.fabs.f64(double %261)
  %263 = load i32, ptr %9, align 4, !tbaa !11
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %264
  store double %262, ptr %265, align 8, !tbaa !9
  br label %266

266:                                              ; preds = %257
  %267 = load i32, ptr %9, align 4, !tbaa !11
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %9, align 4, !tbaa !11
  br label %253, !llvm.loop !18

269:                                              ; preds = %253
  %270 = load i32, ptr %13, align 4, !tbaa !11
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %271
  %273 = load double, ptr %272, align 8, !tbaa !9
  %274 = fneg double %273
  %275 = load i32, ptr %13, align 4, !tbaa !11
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %276
  store double %274, ptr %277, align 8, !tbaa !9
  %278 = load i32, ptr %13, align 4, !tbaa !11
  %279 = sub nsw i32 %278, 1
  store i32 %279, ptr %14, align 4, !tbaa !11
  %280 = load i32, ptr %13, align 4, !tbaa !11
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %281
  %283 = load double, ptr %282, align 8, !tbaa !9
  %284 = fneg double %283
  %285 = call double @log(double noundef %284) #6
  %286 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 0
  %287 = load double, ptr %286, align 16, !tbaa !9
  %288 = call double @log(double noundef %287) #6
  %289 = fsub double %285, %288
  %290 = load i32, ptr %13, align 4, !tbaa !11
  %291 = sitofp i32 %290 to double
  %292 = fdiv double %289, %291
  %293 = call double @exp(double noundef %292) #6
  store double %293, ptr %31, align 8, !tbaa !9
  %294 = load i32, ptr %14, align 4, !tbaa !11
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %295
  %297 = load double, ptr %296, align 8, !tbaa !9
  %298 = fcmp une double %297, 0.000000e+00
  br i1 %298, label %299, label %319

299:                                              ; preds = %269
  %300 = load i32, ptr %13, align 4, !tbaa !11
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %301
  %303 = load double, ptr %302, align 8, !tbaa !9
  %304 = fneg double %303
  %305 = load i32, ptr %14, align 4, !tbaa !11
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %306
  %308 = load double, ptr %307, align 8, !tbaa !9
  %309 = fdiv double %304, %308
  store double %309, ptr %32, align 8, !tbaa !9
  %310 = load double, ptr %32, align 8, !tbaa !9
  %311 = load double, ptr %31, align 8, !tbaa !9
  %312 = fcmp olt double %310, %311
  br i1 %312, label %313, label %315

313:                                              ; preds = %299
  %314 = load double, ptr %32, align 8, !tbaa !9
  br label %317

315:                                              ; preds = %299
  %316 = load double, ptr %31, align 8, !tbaa !9
  br label %317

317:                                              ; preds = %315, %313
  %318 = phi double [ %314, %313 ], [ %316, %315 ]
  store double %318, ptr %31, align 8, !tbaa !9
  br label %319

319:                                              ; preds = %317, %269
  %320 = load double, ptr %31, align 8, !tbaa !9
  store double %320, ptr %32, align 8, !tbaa !9
  br label %321

321:                                              ; preds = %343, %319
  %322 = load double, ptr %32, align 8, !tbaa !9
  store double %322, ptr %31, align 8, !tbaa !9
  %323 = load double, ptr %31, align 8, !tbaa !9
  %324 = fmul double 1.000000e-01, %323
  store double %324, ptr %32, align 8, !tbaa !9
  %325 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 0
  %326 = load double, ptr %325, align 16, !tbaa !9
  store double %326, ptr %27, align 8, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !11
  br label %327

327:                                              ; preds = %339, %321
  %328 = load i32, ptr %9, align 4, !tbaa !11
  %329 = load i32, ptr %15, align 4, !tbaa !11
  %330 = icmp slt i32 %328, %329
  br i1 %330, label %331, label %342

331:                                              ; preds = %327
  %332 = load double, ptr %27, align 8, !tbaa !9
  %333 = load double, ptr %32, align 8, !tbaa !9
  %334 = load i32, ptr %9, align 4, !tbaa !11
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %335
  %337 = load double, ptr %336, align 8, !tbaa !9
  %338 = call double @llvm.fmuladd.f64(double %332, double %333, double %337)
  store double %338, ptr %27, align 8, !tbaa !9
  br label %339

339:                                              ; preds = %331
  %340 = load i32, ptr %9, align 4, !tbaa !11
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %9, align 4, !tbaa !11
  br label %327, !llvm.loop !19

342:                                              ; preds = %327
  br label %343

343:                                              ; preds = %342
  %344 = load double, ptr %27, align 8, !tbaa !9
  %345 = fcmp ogt double %344, 0.000000e+00
  br i1 %345, label %321, label %346, !llvm.loop !20

346:                                              ; preds = %343
  %347 = load double, ptr %31, align 8, !tbaa !9
  store double %347, ptr %25, align 8, !tbaa !9
  br label %348

348:                                              ; preds = %376, %346
  %349 = load double, ptr %25, align 8, !tbaa !9
  %350 = load double, ptr %31, align 8, !tbaa !9
  %351 = fdiv double %349, %350
  %352 = call double @llvm.fabs.f64(double %351)
  %353 = fcmp ogt double %352, 5.000000e-03
  br i1 %353, label %354, label %390

354:                                              ; preds = %348
  %355 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 0
  %356 = load double, ptr %355, align 16, !tbaa !9
  store double %356, ptr %27, align 8, !tbaa !9
  store double %356, ptr %24, align 8, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !11
  br label %357

357:                                              ; preds = %373, %354
  %358 = load i32, ptr %9, align 4, !tbaa !11
  %359 = load i32, ptr %13, align 4, !tbaa !11
  %360 = icmp slt i32 %358, %359
  br i1 %360, label %361, label %376

361:                                              ; preds = %357
  %362 = load double, ptr %31, align 8, !tbaa !9
  %363 = load double, ptr %27, align 8, !tbaa !9
  %364 = load i32, ptr %9, align 4, !tbaa !11
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %365
  %367 = load double, ptr %366, align 8, !tbaa !9
  %368 = call double @llvm.fmuladd.f64(double %362, double %363, double %367)
  store double %368, ptr %27, align 8, !tbaa !9
  %369 = load double, ptr %31, align 8, !tbaa !9
  %370 = load double, ptr %24, align 8, !tbaa !9
  %371 = load double, ptr %27, align 8, !tbaa !9
  %372 = call double @llvm.fmuladd.f64(double %369, double %370, double %371)
  store double %372, ptr %24, align 8, !tbaa !9
  br label %373

373:                                              ; preds = %361
  %374 = load i32, ptr %9, align 4, !tbaa !11
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %9, align 4, !tbaa !11
  br label %357, !llvm.loop !21

376:                                              ; preds = %357
  %377 = load double, ptr %31, align 8, !tbaa !9
  %378 = load double, ptr %27, align 8, !tbaa !9
  %379 = load i32, ptr %13, align 4, !tbaa !11
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds [101 x double], ptr %20, i64 0, i64 %380
  %382 = load double, ptr %381, align 8, !tbaa !9
  %383 = call double @llvm.fmuladd.f64(double %377, double %378, double %382)
  store double %383, ptr %27, align 8, !tbaa !9
  %384 = load double, ptr %27, align 8, !tbaa !9
  %385 = load double, ptr %24, align 8, !tbaa !9
  %386 = fdiv double %384, %385
  store double %386, ptr %25, align 8, !tbaa !9
  %387 = load double, ptr %25, align 8, !tbaa !9
  %388 = load double, ptr %31, align 8, !tbaa !9
  %389 = fsub double %388, %387
  store double %389, ptr %31, align 8, !tbaa !9
  br label %348, !llvm.loop !22

390:                                              ; preds = %348
  %391 = load double, ptr %31, align 8, !tbaa !9
  store double %391, ptr %23, align 8, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !11
  br label %392

392:                                              ; preds = %412, %390
  %393 = load i32, ptr %9, align 4, !tbaa !11
  %394 = load i32, ptr %13, align 4, !tbaa !11
  %395 = icmp slt i32 %393, %394
  br i1 %395, label %396, label %415

396:                                              ; preds = %392
  %397 = load i32, ptr %13, align 4, !tbaa !11
  %398 = load i32, ptr %9, align 4, !tbaa !11
  %399 = sub nsw i32 %397, %398
  %400 = sitofp i32 %399 to double
  %401 = load i32, ptr %9, align 4, !tbaa !11
  %402 = sext i32 %401 to i64
  %403 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %402
  %404 = load double, ptr %403, align 8, !tbaa !9
  %405 = fmul double %400, %404
  %406 = load i32, ptr %13, align 4, !tbaa !11
  %407 = sitofp i32 %406 to double
  %408 = fdiv double %405, %407
  %409 = load i32, ptr %9, align 4, !tbaa !11
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %410
  store double %408, ptr %411, align 8, !tbaa !9
  br label %412

412:                                              ; preds = %396
  %413 = load i32, ptr %9, align 4, !tbaa !11
  %414 = add nsw i32 %413, 1
  store i32 %414, ptr %9, align 4, !tbaa !11
  br label %392, !llvm.loop !23

415:                                              ; preds = %392
  %416 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 0
  %417 = load double, ptr %416, align 16, !tbaa !9
  %418 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 0
  store double %417, ptr %418, align 16, !tbaa !9
  %419 = load i32, ptr %13, align 4, !tbaa !11
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %420
  %422 = load double, ptr %421, align 8, !tbaa !9
  store double %422, ptr %33, align 8, !tbaa !9
  %423 = load i32, ptr %14, align 4, !tbaa !11
  %424 = sext i32 %423 to i64
  %425 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %424
  %426 = load double, ptr %425, align 8, !tbaa !9
  store double %426, ptr %34, align 8, !tbaa !9
  %427 = load i32, ptr %14, align 4, !tbaa !11
  %428 = sext i32 %427 to i64
  %429 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %428
  %430 = load double, ptr %429, align 8, !tbaa !9
  %431 = fcmp oeq double %430, 0.000000e+00
  %432 = zext i1 %431 to i64
  %433 = select i1 %431, i32 1, i32 0
  store i32 %433, ptr %17, align 4, !tbaa !11
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %434

434:                                              ; preds = %520, %415
  %435 = load i32, ptr %11, align 4, !tbaa !11
  %436 = icmp slt i32 %435, 5
  br i1 %436, label %437, label %523

437:                                              ; preds = %434
  %438 = load i32, ptr %14, align 4, !tbaa !11
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %439
  %441 = load double, ptr %440, align 8, !tbaa !9
  store double %441, ptr %35, align 8, !tbaa !9
  %442 = load i32, ptr %17, align 4, !tbaa !11
  %443 = icmp ne i32 %442, 0
  br i1 %443, label %444, label %473

444:                                              ; preds = %437
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %445

445:                                              ; preds = %461, %444
  %446 = load i32, ptr %9, align 4, !tbaa !11
  %447 = load i32, ptr %14, align 4, !tbaa !11
  %448 = icmp slt i32 %446, %447
  br i1 %448, label %449, label %464

449:                                              ; preds = %445
  %450 = load i32, ptr %14, align 4, !tbaa !11
  %451 = load i32, ptr %9, align 4, !tbaa !11
  %452 = sub nsw i32 %450, %451
  store i32 %452, ptr %10, align 4, !tbaa !11
  %453 = load i32, ptr %10, align 4, !tbaa !11
  %454 = sub nsw i32 %453, 1
  %455 = sext i32 %454 to i64
  %456 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %455
  %457 = load double, ptr %456, align 8, !tbaa !9
  %458 = load i32, ptr %10, align 4, !tbaa !11
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %459
  store double %457, ptr %460, align 8, !tbaa !9
  br label %461

461:                                              ; preds = %449
  %462 = load i32, ptr %9, align 4, !tbaa !11
  %463 = add nsw i32 %462, 1
  store i32 %463, ptr %9, align 4, !tbaa !11
  br label %445, !llvm.loop !24

464:                                              ; preds = %445
  %465 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 0
  store double 0.000000e+00, ptr %465, align 16, !tbaa !9
  %466 = load i32, ptr %14, align 4, !tbaa !11
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %467
  %469 = load double, ptr %468, align 8, !tbaa !9
  %470 = fcmp oeq double %469, 0.000000e+00
  %471 = zext i1 %470 to i64
  %472 = select i1 %470, i32 1, i32 0
  store i32 %472, ptr %17, align 4, !tbaa !11
  br label %519

473:                                              ; preds = %437
  %474 = load double, ptr %33, align 8, !tbaa !9
  %475 = fneg double %474
  %476 = load double, ptr %35, align 8, !tbaa !9
  %477 = fdiv double %475, %476
  store double %477, ptr %41, align 8, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %478

478:                                              ; preds = %500, %473
  %479 = load i32, ptr %9, align 4, !tbaa !11
  %480 = load i32, ptr %14, align 4, !tbaa !11
  %481 = icmp slt i32 %479, %480
  br i1 %481, label %482, label %503

482:                                              ; preds = %478
  %483 = load i32, ptr %14, align 4, !tbaa !11
  %484 = load i32, ptr %9, align 4, !tbaa !11
  %485 = sub nsw i32 %483, %484
  store i32 %485, ptr %10, align 4, !tbaa !11
  %486 = load double, ptr %41, align 8, !tbaa !9
  %487 = load i32, ptr %10, align 4, !tbaa !11
  %488 = sub nsw i32 %487, 1
  %489 = sext i32 %488 to i64
  %490 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %489
  %491 = load double, ptr %490, align 8, !tbaa !9
  %492 = load i32, ptr %10, align 4, !tbaa !11
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %493
  %495 = load double, ptr %494, align 8, !tbaa !9
  %496 = call double @llvm.fmuladd.f64(double %486, double %491, double %495)
  %497 = load i32, ptr %10, align 4, !tbaa !11
  %498 = sext i32 %497 to i64
  %499 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %498
  store double %496, ptr %499, align 8, !tbaa !9
  br label %500

500:                                              ; preds = %482
  %501 = load i32, ptr %9, align 4, !tbaa !11
  %502 = add nsw i32 %501, 1
  store i32 %502, ptr %9, align 4, !tbaa !11
  br label %478, !llvm.loop !25

503:                                              ; preds = %478
  %504 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 0
  %505 = load double, ptr %504, align 16, !tbaa !9
  %506 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 0
  store double %505, ptr %506, align 16, !tbaa !9
  %507 = load i32, ptr %14, align 4, !tbaa !11
  %508 = sext i32 %507 to i64
  %509 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %508
  %510 = load double, ptr %509, align 8, !tbaa !9
  %511 = call double @llvm.fabs.f64(double %510)
  %512 = load double, ptr %34, align 8, !tbaa !9
  %513 = call double @llvm.fabs.f64(double %512)
  %514 = fmul double %513, 0x3CB0000000000000
  %515 = fmul double %514, 1.000000e+01
  %516 = fcmp ole double %511, %515
  %517 = zext i1 %516 to i64
  %518 = select i1 %516, i32 1, i32 0
  store i32 %518, ptr %17, align 4, !tbaa !11
  br label %519

519:                                              ; preds = %503, %464
  br label %520

520:                                              ; preds = %519
  %521 = load i32, ptr %11, align 4, !tbaa !11
  %522 = add nsw i32 %521, 1
  store i32 %522, ptr %11, align 4, !tbaa !11
  br label %434, !llvm.loop !26

523:                                              ; preds = %434
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %524

524:                                              ; preds = %536, %523
  %525 = load i32, ptr %9, align 4, !tbaa !11
  %526 = load i32, ptr %13, align 4, !tbaa !11
  %527 = icmp slt i32 %525, %526
  br i1 %527, label %528, label %539

528:                                              ; preds = %524
  %529 = load i32, ptr %9, align 4, !tbaa !11
  %530 = sext i32 %529 to i64
  %531 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %530
  %532 = load double, ptr %531, align 8, !tbaa !9
  %533 = load i32, ptr %9, align 4, !tbaa !11
  %534 = sext i32 %533 to i64
  %535 = getelementptr inbounds [101 x double], ptr %22, i64 0, i64 %534
  store double %532, ptr %535, align 8, !tbaa !9
  br label %536

536:                                              ; preds = %528
  %537 = load i32, ptr %9, align 4, !tbaa !11
  %538 = add nsw i32 %537, 1
  store i32 %538, ptr %9, align 4, !tbaa !11
  br label %524, !llvm.loop !27

539:                                              ; preds = %524
  store i32 1, ptr %11, align 4, !tbaa !11
  br label %540

540:                                              ; preds = %642, %539
  %541 = load i32, ptr %11, align 4, !tbaa !11
  %542 = icmp sle i32 %541, 20
  br i1 %542, label %543, label %645

543:                                              ; preds = %540
  %544 = load double, ptr %49, align 8, !tbaa !9
  %545 = load double, ptr %44, align 8, !tbaa !9
  %546 = load double, ptr %48, align 8, !tbaa !9
  %547 = load double, ptr %42, align 8, !tbaa !9
  %548 = fmul double %546, %547
  %549 = fneg double %544
  %550 = call double @llvm.fmuladd.f64(double %549, double %545, double %548)
  store double %550, ptr %43, align 8, !tbaa !9
  %551 = load double, ptr %49, align 8, !tbaa !9
  %552 = load double, ptr %42, align 8, !tbaa !9
  %553 = load double, ptr %48, align 8, !tbaa !9
  %554 = load double, ptr %44, align 8, !tbaa !9
  %555 = fmul double %553, %554
  %556 = call double @llvm.fmuladd.f64(double %551, double %552, double %555)
  store double %556, ptr %44, align 8, !tbaa !9
  %557 = load double, ptr %43, align 8, !tbaa !9
  store double %557, ptr %42, align 8, !tbaa !9
  %558 = load double, ptr %23, align 8, !tbaa !9
  %559 = load double, ptr %42, align 8, !tbaa !9
  %560 = fmul double %558, %559
  store double %560, ptr %38, align 8, !tbaa !9
  %561 = load i32, ptr %11, align 4, !tbaa !11
  %562 = mul nsw i32 20, %561
  %563 = load double, ptr %38, align 8, !tbaa !9
  %564 = load double, ptr %23, align 8, !tbaa !9
  %565 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 0
  %566 = load i32, ptr %13, align 4, !tbaa !11
  %567 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 0
  %568 = load i32, ptr %15, align 4, !tbaa !11
  %569 = getelementptr inbounds [101 x double], ptr %21, i64 0, i64 0
  call void @_Z10Fxshfr_ak1iPiddPdiS0_iS0_S0_S0_S0_S0_(i32 noundef %562, ptr noundef %16, double noundef %563, double noundef %564, ptr noundef %565, i32 noundef %566, ptr noundef %567, i32 noundef %568, ptr noundef %569, ptr noundef %36, ptr noundef %37, ptr noundef %39, ptr noundef %40)
  %570 = load i32, ptr %16, align 4, !tbaa !11
  %571 = icmp ne i32 %570, 0
  br i1 %571, label %572, label %624

572:                                              ; preds = %543
  %573 = load ptr, ptr %6, align 8, !tbaa !5
  %574 = load i32, ptr %573, align 4, !tbaa !11
  %575 = load i32, ptr %13, align 4, !tbaa !11
  %576 = sub nsw i32 %574, %575
  store i32 %576, ptr %10, align 4, !tbaa !11
  %577 = load double, ptr %40, align 8, !tbaa !9
  %578 = load ptr, ptr %7, align 8, !tbaa !5
  %579 = load i32, ptr %10, align 4, !tbaa !11
  %580 = sext i32 %579 to i64
  %581 = getelementptr inbounds double, ptr %578, i64 %580
  store double %577, ptr %581, align 8, !tbaa !9
  %582 = load double, ptr %39, align 8, !tbaa !9
  %583 = load ptr, ptr %8, align 8, !tbaa !5
  %584 = load i32, ptr %10, align 4, !tbaa !11
  %585 = sext i32 %584 to i64
  %586 = getelementptr inbounds double, ptr %583, i64 %585
  store double %582, ptr %586, align 8, !tbaa !9
  %587 = load i32, ptr %15, align 4, !tbaa !11
  %588 = load i32, ptr %16, align 4, !tbaa !11
  %589 = sub nsw i32 %587, %588
  store i32 %589, ptr %15, align 4, !tbaa !11
  %590 = load i32, ptr %15, align 4, !tbaa !11
  %591 = sub nsw i32 %590, 1
  store i32 %591, ptr %13, align 4, !tbaa !11
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %592

592:                                              ; preds = %604, %572
  %593 = load i32, ptr %9, align 4, !tbaa !11
  %594 = load i32, ptr %15, align 4, !tbaa !11
  %595 = icmp slt i32 %593, %594
  br i1 %595, label %596, label %607

596:                                              ; preds = %592
  %597 = load i32, ptr %9, align 4, !tbaa !11
  %598 = sext i32 %597 to i64
  %599 = getelementptr inbounds [101 x double], ptr %21, i64 0, i64 %598
  %600 = load double, ptr %599, align 8, !tbaa !9
  %601 = load i32, ptr %9, align 4, !tbaa !11
  %602 = sext i32 %601 to i64
  %603 = getelementptr inbounds [101 x double], ptr %19, i64 0, i64 %602
  store double %600, ptr %603, align 8, !tbaa !9
  br label %604

604:                                              ; preds = %596
  %605 = load i32, ptr %9, align 4, !tbaa !11
  %606 = add nsw i32 %605, 1
  store i32 %606, ptr %9, align 4, !tbaa !11
  br label %592, !llvm.loop !28

607:                                              ; preds = %592
  %608 = load i32, ptr %16, align 4, !tbaa !11
  %609 = icmp ne i32 %608, 1
  br i1 %609, label %610, label %623

610:                                              ; preds = %607
  %611 = load double, ptr %37, align 8, !tbaa !9
  %612 = load ptr, ptr %7, align 8, !tbaa !5
  %613 = load i32, ptr %10, align 4, !tbaa !11
  %614 = add nsw i32 %613, 1
  %615 = sext i32 %614 to i64
  %616 = getelementptr inbounds double, ptr %612, i64 %615
  store double %611, ptr %616, align 8, !tbaa !9
  %617 = load double, ptr %36, align 8, !tbaa !9
  %618 = load ptr, ptr %8, align 8, !tbaa !5
  %619 = load i32, ptr %10, align 4, !tbaa !11
  %620 = add nsw i32 %619, 1
  %621 = sext i32 %620 to i64
  %622 = getelementptr inbounds double, ptr %618, i64 %621
  store double %617, ptr %622, align 8, !tbaa !9
  br label %623

623:                                              ; preds = %610, %607
  br label %645

624:                                              ; preds = %543
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %625

625:                                              ; preds = %637, %624
  %626 = load i32, ptr %9, align 4, !tbaa !11
  %627 = load i32, ptr %13, align 4, !tbaa !11
  %628 = icmp slt i32 %626, %627
  br i1 %628, label %629, label %640

629:                                              ; preds = %625
  %630 = load i32, ptr %9, align 4, !tbaa !11
  %631 = sext i32 %630 to i64
  %632 = getelementptr inbounds [101 x double], ptr %22, i64 0, i64 %631
  %633 = load double, ptr %632, align 8, !tbaa !9
  %634 = load i32, ptr %9, align 4, !tbaa !11
  %635 = sext i32 %634 to i64
  %636 = getelementptr inbounds [101 x double], ptr %18, i64 0, i64 %635
  store double %633, ptr %636, align 8, !tbaa !9
  br label %637

637:                                              ; preds = %629
  %638 = load i32, ptr %9, align 4, !tbaa !11
  %639 = add nsw i32 %638, 1
  store i32 %639, ptr %9, align 4, !tbaa !11
  br label %625, !llvm.loop !29

640:                                              ; preds = %625
  br label %641

641:                                              ; preds = %640
  br label %642

642:                                              ; preds = %641
  %643 = load i32, ptr %11, align 4, !tbaa !11
  %644 = add nsw i32 %643, 1
  store i32 %644, ptr %11, align 4, !tbaa !11
  br label %540, !llvm.loop !30

645:                                              ; preds = %623, %540
  %646 = load i32, ptr %11, align 4, !tbaa !11
  %647 = icmp sgt i32 %646, 20
  br i1 %647, label %648, label %654

648:                                              ; preds = %645
  %649 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  %650 = load i32, ptr %13, align 4, !tbaa !11
  %651 = load ptr, ptr %6, align 8, !tbaa !5
  %652 = load i32, ptr %651, align 4, !tbaa !11
  %653 = sub nsw i32 %652, %650
  store i32 %653, ptr %651, align 4, !tbaa !11
  br label %655

654:                                              ; preds = %645
  br label %111, !llvm.loop !31

655:                                              ; preds = %648, %170, %111
  br label %659

656:                                              ; preds = %60
  %657 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %658 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 0, ptr %658, align 4, !tbaa !11
  br label %659

659:                                              ; preds = %656, %655
  store i32 1, ptr %50, align 4
  br label %660

660:                                              ; preds = %659, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 808, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 808, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 808, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 808, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 808, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret void
}

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

; Function Attrs: nounwind
declare double @log(double noundef) #2

; Function Attrs: nounwind
declare double @cos(double noundef) #2

; Function Attrs: nounwind
declare double @sin(double noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: nounwind
declare double @sqrt(double noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z8Quad_ak1dddPdS_S_S_(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2

; Function Attrs: nounwind
declare double @exp(double noundef) #2

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !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}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [88 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9rpoly_ak1PdPiS_S_(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = alloca i32, align 4
  %6 = alloca [101 x double], align 16
  %7 = alloca [101 x double], align 16
  %8 = alloca [101 x double], align 16
  %9 = alloca [101 x double], align 16
  %10 = alloca [101 x double], align 16
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %10)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = icmp sgt i32 %15, 100
  br i1 %16, label %17, label %19

17:                                               ; preds = %4
  %18 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  store i32 -1, ptr %1, align 4, !tbaa !5
  br label %.loopexit252

19:                                               ; preds = %4
  %20 = load double, ptr %0, align 8, !tbaa !9
  %21 = fcmp une double %20, 0.000000e+00
  br i1 %21, label %.preheader253, label %458

.preheader253:                                    ; preds = %19
  %22 = sext i32 %15 to i64
  %23 = getelementptr inbounds double, ptr %0, i64 %22
  %24 = load double, ptr %23, align 8, !tbaa !9
  %25 = fcmp oeq double %24, 0.000000e+00
  br i1 %25, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader253, %.lr.ph
  %indvars.iv337 = phi i64 [ %indvars.iv.next338, %.lr.ph ], [ %22, %.preheader253 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader253 ]
  %26 = getelementptr inbounds double, ptr %3, i64 %indvars.iv
  store double 0.000000e+00, ptr %26, align 8, !tbaa !9
  %27 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  store double 0.000000e+00, ptr %27, align 8, !tbaa !9
  %indvars.iv.next338 = add nsw i64 %indvars.iv337, -1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %28 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next338
  %29 = load double, ptr %28, align 8, !tbaa !9
  %30 = fcmp oeq double %29, 0.000000e+00
  br i1 %30, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !11

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %31 = trunc nsw i64 %indvars.iv.next338 to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader253
  %.0198.lcssa = phi i32 [ %15, %.preheader253 ], [ %31, %._crit_edge.loopexit ]
  %.not260 = icmp slt i32 %.0198.lcssa, 0
  br i1 %.not260, label %.loopexit252, label %.preheader251

.preheader251:                                    ; preds = %._crit_edge
  %32 = add nuw i32 %.0198.lcssa, 1
  %33 = zext i32 %32 to i64
  %34 = shl nuw nsw i64 %33, 3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %7, ptr noundef nonnull align 8 dereferenceable(1) %0, i64 %34, i1 false), !tbaa !9
  %.not = icmp eq i32 %.0198.lcssa, 0
  br i1 %.not, label %.loopexit252, label %.lr.ph322.preheader

.lr.ph322.preheader:                              ; preds = %.preheader251
  %35 = icmp ult i32 %.0198.lcssa, 3
  br i1 %35, label %.lr.ph322._crit_edge, label %.preheader250

.lr.ph322:                                        ; preds = %453
  %36 = icmp ult i32 %439, 4
  br i1 %36, label %.lr.ph322._crit_edge, label %.preheader250, !llvm.loop !13

.preheader250:                                    ; preds = %.lr.ph322.preheader, %.lr.ph322
  %.0201320448 = phi i32 [ %439, %.lr.ph322 ], [ %32, %.lr.ph322.preheader ]
  %.1199321447 = phi i32 [ %440, %.lr.ph322 ], [ %.0198.lcssa, %.lr.ph322.preheader ]
  %37 = phi double [ %106, %.lr.ph322 ], [ undef, %.lr.ph322.preheader ]
  %38 = phi <2 x double> [ %426, %.lr.ph322 ], [ <double 0x3FE6A09E667F3BCD, double 0xBFE6A09E667F3BCD>, %.lr.ph322.preheader ]
  %39 = icmp sgt i32 %.0201320448, 0
  br i1 %39, label %.lr.ph267.preheader, label %._crit_edge276

.lr.ph267.preheader:                              ; preds = %.preheader250
  %wide.trip.count = zext nneg i32 %.0201320448 to i64
  br label %.lr.ph267

.lr.ph322._crit_edge:                             ; preds = %.lr.ph322, %.lr.ph322.preheader
  %.lcssa444 = phi i32 [ %15, %.lr.ph322.preheader ], [ %432, %.lr.ph322 ]
  %.1199321.lcssa = phi i32 [ %.0198.lcssa, %.lr.ph322.preheader ], [ %440, %.lr.ph322 ]
  %40 = icmp eq i32 %.1199321.lcssa, 1
  br i1 %40, label %41, label %52

41:                                               ; preds = %.lr.ph322._crit_edge
  %42 = getelementptr inbounds i8, ptr %7, i64 8
  %43 = load double, ptr %42, align 8, !tbaa !9
  %44 = load double, ptr %7, align 16, !tbaa !9
  %45 = fneg double %43
  %46 = fdiv double %45, %44
  %47 = sext i32 %.lcssa444 to i64
  %48 = getelementptr double, ptr %2, i64 %47
  %49 = getelementptr i8, ptr %48, i64 -8
  store double %46, ptr %49, align 8, !tbaa !9
  %50 = getelementptr double, ptr %3, i64 %47
  %51 = getelementptr i8, ptr %50, i64 -8
  store double 0.000000e+00, ptr %51, align 8, !tbaa !9
  br label %.loopexit252

52:                                               ; preds = %.lr.ph322._crit_edge
  %53 = load double, ptr %7, align 16, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %7, i64 8
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = getelementptr inbounds i8, ptr %7, i64 16
  %57 = load double, ptr %56, align 16, !tbaa !9
  %58 = add nsw i32 %.lcssa444, -2
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds double, ptr %2, i64 %59
  %61 = getelementptr inbounds double, ptr %3, i64 %59
  %62 = add nsw i32 %.lcssa444, -1
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds double, ptr %2, i64 %63
  %65 = getelementptr inbounds double, ptr %3, i64 %63
  call void @_Z8Quad_ak1dddPdS_S_S_(double noundef %53, double noundef %55, double noundef %57, ptr noundef %60, ptr noundef %61, ptr noundef %64, ptr noundef %65)
  br label %.loopexit252

.lr.ph267:                                        ; preds = %.lr.ph267.preheader, %.lr.ph267
  %indvars.iv345 = phi i64 [ 0, %.lr.ph267.preheader ], [ %indvars.iv.next346, %.lr.ph267 ]
  %.0215265 = phi double [ 0.000000e+00, %.lr.ph267.preheader ], [ %.1216, %.lr.ph267 ]
  %.0217264 = phi double [ 0x47EFFFFFE0000000, %.lr.ph267.preheader ], [ %.1218, %.lr.ph267 ]
  %66 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %indvars.iv345
  %67 = load double, ptr %66, align 8, !tbaa !9
  %68 = call double @llvm.fabs.f64(double %67)
  %69 = fcmp ogt double %68, %.0215265
  %.1216 = select i1 %69, double %68, double %.0215265
  %70 = fcmp une double %67, 0.000000e+00
  %71 = fcmp olt double %68, %.0217264
  %or.cond235 = select i1 %70, i1 %71, i1 false
  %.1218 = select i1 %or.cond235, double %68, double %.0217264
  %indvars.iv.next346 = add nuw nsw i64 %indvars.iv345, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next346, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge268, label %.lr.ph267, !llvm.loop !14

._crit_edge268:                                   ; preds = %.lr.ph267
  %72 = fdiv double 0x3B50000000000000, %.1218
  %73 = fcmp ole double %72, 1.000000e+00
  %74 = fcmp oge double %.1216, 1.000000e+01
  %or.cond = select i1 %73, i1 %74, i1 false
  br i1 %or.cond, label %79, label %75

75:                                               ; preds = %._crit_edge268
  %76 = fcmp ule double %72, 1.000000e+00
  %77 = fdiv double 0x47EFFFFFE0000000, %72
  %78 = fcmp ult double %77, %.1216
  %or.cond237 = select i1 %76, i1 true, i1 %78
  br i1 %or.cond237, label %.loopexit, label %79

79:                                               ; preds = %75, %._crit_edge268
  %80 = fcmp oeq double %72, 0.000000e+00
  %81 = select i1 %80, double 0x3810000000000000, double %72
  %82 = call double @log(double noundef %81) #10
  %83 = fdiv double %82, 0x3FE62E42FEFA39EF
  %84 = fadd double %83, 5.000000e-01
  %85 = fptosi double %84 to i32
  %ldexp = call double @ldexp(double 1.000000e+00, i32 %85)
  %86 = fcmp une double %ldexp, 1.000000e+00
  %or.cond323 = and i1 %86, %39
  br i1 %or.cond323, label %.lr.ph272.preheader, label %.loopexit

.lr.ph272.preheader:                              ; preds = %79
  %wide.trip.count351 = zext nneg i32 %.0201320448 to i64
  %min.iters.check668 = icmp ult i32 %.0201320448, 4
  br i1 %min.iters.check668, label %.lr.ph272.preheader690, label %vector.ph669

vector.ph669:                                     ; preds = %.lr.ph272.preheader
  %n.vec671 = and i64 %wide.trip.count351, 2147483644
  %broadcast.splatinsert677 = insertelement <2 x double> poison, double %ldexp, i64 0
  %broadcast.splat678 = shufflevector <2 x double> %broadcast.splatinsert677, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body673

vector.body673:                                   ; preds = %vector.body673, %vector.ph669
  %index674 = phi i64 [ 0, %vector.ph669 ], [ %index.next679, %vector.body673 ]
  %87 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %index674
  %88 = getelementptr inbounds i8, ptr %87, i64 16
  %wide.load675 = load <2 x double>, ptr %87, align 16, !tbaa !9
  %wide.load676 = load <2 x double>, ptr %88, align 16, !tbaa !9
  %89 = fmul <2 x double> %broadcast.splat678, %wide.load675
  %90 = fmul <2 x double> %broadcast.splat678, %wide.load676
  store <2 x double> %89, ptr %87, align 16, !tbaa !9
  store <2 x double> %90, ptr %88, align 16, !tbaa !9
  %index.next679 = add nuw i64 %index674, 4
  %91 = icmp eq i64 %index.next679, %n.vec671
  br i1 %91, label %middle.block666, label %vector.body673, !llvm.loop !15

middle.block666:                                  ; preds = %vector.body673
  %cmp.n680 = icmp eq i64 %n.vec671, %wide.trip.count351
  br i1 %cmp.n680, label %.loopexit, label %.lr.ph272.preheader690

.lr.ph272.preheader690:                           ; preds = %middle.block666, %.lr.ph272.preheader
  %indvars.iv348.ph = phi i64 [ 0, %.lr.ph272.preheader ], [ %n.vec671, %middle.block666 ]
  br label %.lr.ph272

.lr.ph272:                                        ; preds = %.lr.ph272.preheader690, %.lr.ph272
  %indvars.iv348 = phi i64 [ %indvars.iv.next349, %.lr.ph272 ], [ %indvars.iv348.ph, %.lr.ph272.preheader690 ]
  %92 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %indvars.iv348
  %93 = load double, ptr %92, align 8, !tbaa !9
  %94 = fmul double %ldexp, %93
  store double %94, ptr %92, align 8, !tbaa !9
  %indvars.iv.next349 = add nuw nsw i64 %indvars.iv348, 1
  %exitcond352.not = icmp eq i64 %indvars.iv.next349, %wide.trip.count351
  br i1 %exitcond352.not, label %.loopexit, label %.lr.ph272, !llvm.loop !18

.loopexit:                                        ; preds = %.lr.ph272, %middle.block666, %79, %75
  br i1 %39, label %.lr.ph275.preheader, label %._crit_edge276

.lr.ph275.preheader:                              ; preds = %.loopexit
  %wide.trip.count356 = zext nneg i32 %.0201320448 to i64
  %min.iters.check655 = icmp ult i32 %.0201320448, 4
  br i1 %min.iters.check655, label %.lr.ph275.preheader689, label %vector.ph656

vector.ph656:                                     ; preds = %.lr.ph275.preheader
  %n.vec658 = and i64 %wide.trip.count356, 2147483644
  br label %vector.body660

vector.body660:                                   ; preds = %vector.body660, %vector.ph656
  %index661 = phi i64 [ 0, %vector.ph656 ], [ %index.next664, %vector.body660 ]
  %95 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %index661
  %96 = getelementptr inbounds i8, ptr %95, i64 16
  %wide.load662 = load <2 x double>, ptr %95, align 16, !tbaa !9
  %wide.load663 = load <2 x double>, ptr %96, align 16, !tbaa !9
  %97 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %wide.load662)
  %98 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %wide.load663)
  %99 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %index661
  %100 = getelementptr inbounds i8, ptr %99, i64 16
  store <2 x double> %97, ptr %99, align 16, !tbaa !9
  store <2 x double> %98, ptr %100, align 16, !tbaa !9
  %index.next664 = add nuw i64 %index661, 4
  %101 = icmp eq i64 %index.next664, %n.vec658
  br i1 %101, label %middle.block653, label %vector.body660, !llvm.loop !19

middle.block653:                                  ; preds = %vector.body660
  %cmp.n665 = icmp eq i64 %n.vec658, %wide.trip.count356
  br i1 %cmp.n665, label %._crit_edge276.loopexit, label %.lr.ph275.preheader689

.lr.ph275.preheader689:                           ; preds = %middle.block653, %.lr.ph275.preheader
  %indvars.iv353.ph = phi i64 [ 0, %.lr.ph275.preheader ], [ %n.vec658, %middle.block653 ]
  br label %.lr.ph275

.lr.ph275:                                        ; preds = %.lr.ph275.preheader689, %.lr.ph275
  %indvars.iv353 = phi i64 [ %indvars.iv.next354, %.lr.ph275 ], [ %indvars.iv353.ph, %.lr.ph275.preheader689 ]
  %102 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %indvars.iv353
  %103 = load double, ptr %102, align 8, !tbaa !9
  %104 = call double @llvm.fabs.f64(double %103)
  %105 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv353
  store double %104, ptr %105, align 8, !tbaa !9
  %indvars.iv.next354 = add nuw nsw i64 %indvars.iv353, 1
  %exitcond357.not = icmp eq i64 %indvars.iv.next354, %wide.trip.count356
  br i1 %exitcond357.not, label %._crit_edge276.loopexit, label %.lr.ph275, !llvm.loop !20

._crit_edge276.loopexit:                          ; preds = %.lr.ph275, %middle.block653
  %.pre = load double, ptr %8, align 16, !tbaa !9
  br label %._crit_edge276

._crit_edge276:                                   ; preds = %.preheader250, %._crit_edge276.loopexit, %.loopexit
  %106 = phi double [ %.pre, %._crit_edge276.loopexit ], [ %37, %.loopexit ], [ %37, %.preheader250 ]
  %107 = zext i32 %.1199321447 to i64
  %108 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !9
  %110 = fneg double %109
  store double %110, ptr %108, align 8, !tbaa !9
  %111 = add nsw i32 %.1199321447, -1
  %112 = call double @log(double noundef %109) #10
  %113 = call double @log(double noundef %106) #10
  %114 = fsub double %112, %113
  %115 = uitofp nneg i32 %.1199321447 to double
  %116 = fdiv double %114, %115
  %117 = call double @exp(double noundef %116) #10
  %118 = zext nneg i32 %111 to i64
  %119 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !9
  %121 = fcmp une double %120, 0.000000e+00
  br i1 %121, label %122, label %126

122:                                              ; preds = %._crit_edge276
  %123 = fdiv double %109, %120
  %124 = fcmp olt double %123, %117
  %125 = select i1 %124, double %123, double %117
  br label %126

126:                                              ; preds = %122, %._crit_edge276
  %.0220 = phi double [ %125, %122 ], [ %117, %._crit_edge276 ]
  %127 = icmp sgt i32 %.0201320448, 1
  br i1 %127, label %.lr.ph280.us.preheader, label %.split

.lr.ph280.us.preheader:                           ; preds = %126
  %wide.trip.count361 = zext nneg i32 %.0201320448 to i64
  %128 = add nsw i64 %wide.trip.count361, -1
  %129 = add nsw i64 %wide.trip.count361, -2
  %xtraiter = and i64 %128, 3
  %130 = icmp ult i64 %129, 3
  %unroll_iter = and i64 %128, -4
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph280.us

.lr.ph280.us:                                     ; preds = %.lr.ph280.us.preheader, %._crit_edge281.us
  %.0219.us = phi double [ %131, %._crit_edge281.us ], [ %.0220, %.lr.ph280.us.preheader ]
  %131 = fmul double %.0219.us, 1.000000e-01
  br i1 %130, label %._crit_edge281.us.unr-lcssa, label %.lr.ph280.us.new

.lr.ph280.us.new:                                 ; preds = %.lr.ph280.us, %.lr.ph280.us.new
  %indvars.iv358 = phi i64 [ %indvars.iv.next359.3, %.lr.ph280.us.new ], [ 1, %.lr.ph280.us ]
  %.0213277.us = phi double [ %143, %.lr.ph280.us.new ], [ %106, %.lr.ph280.us ]
  %niter = phi i64 [ %niter.next.3, %.lr.ph280.us.new ], [ 0, %.lr.ph280.us ]
  %132 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv358
  %133 = load double, ptr %132, align 8, !tbaa !9
  %134 = call double @llvm.fmuladd.f64(double %.0213277.us, double %131, double %133)
  %indvars.iv.next359 = add nuw nsw i64 %indvars.iv358, 1
  %135 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv.next359
  %136 = load double, ptr %135, align 8, !tbaa !9
  %137 = call double @llvm.fmuladd.f64(double %134, double %131, double %136)
  %indvars.iv.next359.1 = add nuw nsw i64 %indvars.iv358, 2
  %138 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv.next359.1
  %139 = load double, ptr %138, align 8, !tbaa !9
  %140 = call double @llvm.fmuladd.f64(double %137, double %131, double %139)
  %indvars.iv.next359.2 = add nuw nsw i64 %indvars.iv358, 3
  %141 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv.next359.2
  %142 = load double, ptr %141, align 8, !tbaa !9
  %143 = call double @llvm.fmuladd.f64(double %140, double %131, double %142)
  %indvars.iv.next359.3 = add nuw nsw i64 %indvars.iv358, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge281.us.unr-lcssa, label %.lr.ph280.us.new, !llvm.loop !21

._crit_edge281.us.unr-lcssa:                      ; preds = %.lr.ph280.us.new, %.lr.ph280.us
  %.lcssa.ph = phi double [ poison, %.lr.ph280.us ], [ %143, %.lr.ph280.us.new ]
  %indvars.iv358.unr = phi i64 [ 1, %.lr.ph280.us ], [ %indvars.iv.next359.3, %.lr.ph280.us.new ]
  %.0213277.us.unr = phi double [ %106, %.lr.ph280.us ], [ %143, %.lr.ph280.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge281.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge281.us.unr-lcssa, %.epil.preheader
  %indvars.iv358.epil = phi i64 [ %indvars.iv.next359.epil, %.epil.preheader ], [ %indvars.iv358.unr, %._crit_edge281.us.unr-lcssa ]
  %.0213277.us.epil = phi double [ %146, %.epil.preheader ], [ %.0213277.us.unr, %._crit_edge281.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge281.us.unr-lcssa ]
  %144 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv358.epil
  %145 = load double, ptr %144, align 8, !tbaa !9
  %146 = call double @llvm.fmuladd.f64(double %.0213277.us.epil, double %131, double %145)
  %indvars.iv.next359.epil = add nuw nsw i64 %indvars.iv358.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge281.us, label %.epil.preheader, !llvm.loop !22

._crit_edge281.us:                                ; preds = %.epil.preheader, %._crit_edge281.us.unr-lcssa
  %.lcssa = phi double [ %.lcssa.ph, %._crit_edge281.us.unr-lcssa ], [ %146, %.epil.preheader ]
  %147 = fcmp ogt double %.lcssa, 0.000000e+00
  br i1 %147, label %.lr.ph280.us, label %.preheader248, !llvm.loop !24

.split:                                           ; preds = %126
  %148 = fcmp ule double %106, 0.000000e+00
  call void @llvm.assume(i1 %148)
  br label %.preheader248

.preheader248:                                    ; preds = %._crit_edge281.us, %.split
  %.us-phi = phi double [ %.0220, %.split ], [ %.0219.us, %._crit_edge281.us ]
  %149 = fdiv double %.us-phi, %.us-phi
  %150 = call double @llvm.fabs.f64(double %149)
  %151 = fcmp ogt double %150, 5.000000e-03
  br i1 %151, label %.preheader244.lr.ph, label %.lr.ph295.preheader

.preheader244.lr.ph:                              ; preds = %.preheader248
  %umax = call i32 @llvm.umax.i32(i32 %.1199321447, i32 2)
  %wide.trip.count366 = zext i32 %umax to i64
  %152 = add nsw i64 %wide.trip.count366, -1
  %153 = add nsw i64 %wide.trip.count366, -2
  %xtraiter705 = and i64 %152, 3
  %154 = icmp ult i64 %153, 3
  %unroll_iter710 = and i64 %152, -4
  %lcmp.mod707.not = icmp eq i64 %xtraiter705, 0
  br label %.lr.ph288.preheader

.lr.ph295.preheader:                              ; preds = %._crit_edge289, %.preheader248
  %.1221.lcssa = phi double [ %.us-phi, %.preheader248 ], [ %185, %._crit_edge289 ]
  %umax371 = call i32 @llvm.umax.i32(i32 %.1199321447, i32 2)
  %wide.trip.count372 = zext i32 %umax371 to i64
  %155 = add nsw i64 %wide.trip.count372, -1
  %min.iters.check639 = icmp ult i32 %.1199321447, 3
  br i1 %min.iters.check639, label %.lr.ph295.preheader688, label %vector.ph640

.lr.ph295.preheader688:                           ; preds = %middle.block637, %.lr.ph295.preheader
  %indvars.iv368.ph = phi i64 [ 1, %.lr.ph295.preheader ], [ %ind.end, %middle.block637 ]
  br label %.lr.ph295

vector.ph640:                                     ; preds = %.lr.ph295.preheader
  %n.vec642 = and i64 %155, -2
  %ind.end = or i64 %155, 1
  %broadcast.splatinsert646 = insertelement <2 x i32> poison, i32 %.1199321447, i64 0
  %broadcast.splat647 = shufflevector <2 x i32> %broadcast.splatinsert646, <2 x i32> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert649 = insertelement <2 x double> poison, double %115, i64 0
  %broadcast.splat650 = shufflevector <2 x double> %broadcast.splatinsert649, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body644

vector.body644:                                   ; preds = %vector.body644, %vector.ph640
  %index645 = phi i64 [ 0, %vector.ph640 ], [ %index.next651, %vector.body644 ]
  %vec.ind = phi <2 x i32> [ <i32 1, i32 2>, %vector.ph640 ], [ %vec.ind.next, %vector.body644 ]
  %offset.idx = or disjoint i64 %index645, 1
  %156 = sub <2 x i32> %broadcast.splat647, %vec.ind
  %157 = sitofp <2 x i32> %156 to <2 x double>
  %158 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %offset.idx
  %wide.load648 = load <2 x double>, ptr %158, align 8, !tbaa !9
  %159 = fmul <2 x double> %wide.load648, %157
  %160 = fdiv <2 x double> %159, %broadcast.splat650
  %161 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %offset.idx
  store <2 x double> %160, ptr %161, align 8, !tbaa !9
  %index.next651 = add nuw i64 %index645, 2
  %vec.ind.next = add <2 x i32> %vec.ind, <i32 2, i32 2>
  %162 = icmp eq i64 %index.next651, %n.vec642
  br i1 %162, label %middle.block637, label %vector.body644, !llvm.loop !25

middle.block637:                                  ; preds = %vector.body644
  %cmp.n652 = icmp eq i64 %155, %n.vec642
  br i1 %cmp.n652, label %._crit_edge296, label %.lr.ph295.preheader688

.lr.ph288.preheader:                              ; preds = %._crit_edge289, %.preheader244.lr.ph
  %.1221292 = phi double [ %.us-phi, %.preheader244.lr.ph ], [ %185, %._crit_edge289 ]
  br i1 %154, label %._crit_edge289.unr-lcssa, label %.lr.ph288

.lr.ph288:                                        ; preds = %.lr.ph288.preheader, %.lr.ph288
  %indvars.iv363 = phi i64 [ %indvars.iv.next364.3, %.lr.ph288 ], [ 1, %.lr.ph288.preheader ]
  %.0211286 = phi double [ %178, %.lr.ph288 ], [ %106, %.lr.ph288.preheader ]
  %.1214285 = phi double [ %177, %.lr.ph288 ], [ %106, %.lr.ph288.preheader ]
  %niter711 = phi i64 [ %niter711.next.3, %.lr.ph288 ], [ 0, %.lr.ph288.preheader ]
  %163 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv363
  %164 = load double, ptr %163, align 8, !tbaa !9
  %165 = call double @llvm.fmuladd.f64(double %.1221292, double %.1214285, double %164)
  %166 = call double @llvm.fmuladd.f64(double %.1221292, double %.0211286, double %165)
  %indvars.iv.next364 = add nuw nsw i64 %indvars.iv363, 1
  %167 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv.next364
  %168 = load double, ptr %167, align 8, !tbaa !9
  %169 = call double @llvm.fmuladd.f64(double %.1221292, double %165, double %168)
  %170 = call double @llvm.fmuladd.f64(double %.1221292, double %166, double %169)
  %indvars.iv.next364.1 = add nuw nsw i64 %indvars.iv363, 2
  %171 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv.next364.1
  %172 = load double, ptr %171, align 8, !tbaa !9
  %173 = call double @llvm.fmuladd.f64(double %.1221292, double %169, double %172)
  %174 = call double @llvm.fmuladd.f64(double %.1221292, double %170, double %173)
  %indvars.iv.next364.2 = add nuw nsw i64 %indvars.iv363, 3
  %175 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv.next364.2
  %176 = load double, ptr %175, align 8, !tbaa !9
  %177 = call double @llvm.fmuladd.f64(double %.1221292, double %173, double %176)
  %178 = call double @llvm.fmuladd.f64(double %.1221292, double %174, double %177)
  %indvars.iv.next364.3 = add nuw nsw i64 %indvars.iv363, 4
  %niter711.next.3 = add i64 %niter711, 4
  %niter711.ncmp.3 = icmp eq i64 %niter711.next.3, %unroll_iter710
  br i1 %niter711.ncmp.3, label %._crit_edge289.unr-lcssa, label %.lr.ph288, !llvm.loop !26

._crit_edge289.unr-lcssa:                         ; preds = %.lr.ph288, %.lr.ph288.preheader
  %.lcssa692.ph = phi double [ poison, %.lr.ph288.preheader ], [ %177, %.lr.ph288 ]
  %.lcssa691.ph = phi double [ poison, %.lr.ph288.preheader ], [ %178, %.lr.ph288 ]
  %indvars.iv363.unr = phi i64 [ 1, %.lr.ph288.preheader ], [ %indvars.iv.next364.3, %.lr.ph288 ]
  %.0211286.unr = phi double [ %106, %.lr.ph288.preheader ], [ %178, %.lr.ph288 ]
  %.1214285.unr = phi double [ %106, %.lr.ph288.preheader ], [ %177, %.lr.ph288 ]
  br i1 %lcmp.mod707.not, label %._crit_edge289, label %.lr.ph288.epil

.lr.ph288.epil:                                   ; preds = %._crit_edge289.unr-lcssa, %.lr.ph288.epil
  %indvars.iv363.epil = phi i64 [ %indvars.iv.next364.epil, %.lr.ph288.epil ], [ %indvars.iv363.unr, %._crit_edge289.unr-lcssa ]
  %.0211286.epil = phi double [ %182, %.lr.ph288.epil ], [ %.0211286.unr, %._crit_edge289.unr-lcssa ]
  %.1214285.epil = phi double [ %181, %.lr.ph288.epil ], [ %.1214285.unr, %._crit_edge289.unr-lcssa ]
  %epil.iter706 = phi i64 [ %epil.iter706.next, %.lr.ph288.epil ], [ 0, %._crit_edge289.unr-lcssa ]
  %179 = getelementptr inbounds [101 x double], ptr %8, i64 0, i64 %indvars.iv363.epil
  %180 = load double, ptr %179, align 8, !tbaa !9
  %181 = call double @llvm.fmuladd.f64(double %.1221292, double %.1214285.epil, double %180)
  %182 = call double @llvm.fmuladd.f64(double %.1221292, double %.0211286.epil, double %181)
  %indvars.iv.next364.epil = add nuw nsw i64 %indvars.iv363.epil, 1
  %epil.iter706.next = add i64 %epil.iter706, 1
  %epil.iter706.cmp.not = icmp eq i64 %epil.iter706.next, %xtraiter705
  br i1 %epil.iter706.cmp.not, label %._crit_edge289, label %.lr.ph288.epil, !llvm.loop !27

._crit_edge289:                                   ; preds = %.lr.ph288.epil, %._crit_edge289.unr-lcssa
  %.lcssa692 = phi double [ %.lcssa692.ph, %._crit_edge289.unr-lcssa ], [ %181, %.lr.ph288.epil ]
  %.lcssa691 = phi double [ %.lcssa691.ph, %._crit_edge289.unr-lcssa ], [ %182, %.lr.ph288.epil ]
  %183 = call double @llvm.fmuladd.f64(double %.1221292, double %.lcssa692, double %110)
  %184 = fdiv double %183, %.lcssa691
  %185 = fsub double %.1221292, %184
  %186 = fdiv double %184, %185
  %187 = call double @llvm.fabs.f64(double %186)
  %188 = fcmp ogt double %187, 5.000000e-03
  br i1 %188, label %.lr.ph288.preheader, label %.lr.ph295.preheader, !llvm.loop !28

.lr.ph295:                                        ; preds = %.lr.ph295.preheader688, %.lr.ph295
  %indvars.iv368 = phi i64 [ %indvars.iv.next369, %.lr.ph295 ], [ %indvars.iv368.ph, %.lr.ph295.preheader688 ]
  %189 = trunc i64 %indvars.iv368 to i32
  %190 = sub i32 %.1199321447, %189
  %191 = sitofp i32 %190 to double
  %192 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %indvars.iv368
  %193 = load double, ptr %192, align 8, !tbaa !9
  %194 = fmul double %193, %191
  %195 = fdiv double %194, %115
  %196 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %indvars.iv368
  store double %195, ptr %196, align 8, !tbaa !9
  %indvars.iv.next369 = add nuw nsw i64 %indvars.iv368, 1
  %exitcond373.not = icmp eq i64 %indvars.iv.next369, %wide.trip.count372
  br i1 %exitcond373.not, label %._crit_edge296, label %.lr.ph295, !llvm.loop !29

._crit_edge296:                                   ; preds = %.lr.ph295, %middle.block637
  %197 = load double, ptr %7, align 16, !tbaa !9
  store double %197, ptr %6, align 16, !tbaa !9
  %198 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %107
  %199 = load double, ptr %198, align 8, !tbaa !9
  %200 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %118
  %201 = load double, ptr %200, align 8, !tbaa !9
  %202 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %118
  %203 = load double, ptr %202, align 8, !tbaa !9
  %204 = fcmp oeq double %203, 0.000000e+00
  %205 = fneg double %199
  %206 = call double @llvm.fabs.f64(double %201)
  %207 = fmul double %206, 0x3CB0000000000000
  %208 = fmul double %207, 1.000000e+01
  %209 = sext i32 %111 to i64
  %smax = call i32 @llvm.smax.i32(i32 %111, i32 1)
  br i1 %204, label %.lr.ph302.preheader, label %.lr.ph299.preheader

.lr.ph302.preheader:                              ; preds = %._crit_edge296
  %wide.trip.count383 = zext nneg i32 %smax to i64
  %min.iters.check599 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check599, label %.lr.ph302.preheader686, label %vector.ph600

vector.ph600:                                     ; preds = %.lr.ph302.preheader
  %n.vec602 = and i64 %wide.trip.count383, 2147483644
  br label %vector.body604

vector.body604:                                   ; preds = %vector.body604, %vector.ph600
  %index605 = phi i64 [ 0, %vector.ph600 ], [ %index.next612, %vector.body604 ]
  %210 = sub nsw i64 %209, %index605
  %211 = add nsw i64 %210, -1
  %212 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %211
  %213 = getelementptr inbounds i8, ptr %212, i64 -8
  %214 = getelementptr inbounds i8, ptr %212, i64 -24
  %wide.load606 = load <2 x double>, ptr %213, align 8, !tbaa !9
  %wide.load608 = load <2 x double>, ptr %214, align 8, !tbaa !9
  %215 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %210
  %216 = getelementptr inbounds i8, ptr %215, i64 -8
  %217 = getelementptr inbounds i8, ptr %215, i64 -24
  store <2 x double> %wide.load606, ptr %216, align 8, !tbaa !9
  store <2 x double> %wide.load608, ptr %217, align 8, !tbaa !9
  %index.next612 = add nuw i64 %index605, 4
  %218 = icmp eq i64 %index.next612, %n.vec602
  br i1 %218, label %middle.block597, label %vector.body604, !llvm.loop !30

middle.block597:                                  ; preds = %vector.body604
  %cmp.n613 = icmp eq i64 %n.vec602, %wide.trip.count383
  br i1 %cmp.n613, label %._crit_edge303, label %.lr.ph302.preheader686

.lr.ph302.preheader686:                           ; preds = %middle.block597, %.lr.ph302.preheader
  %indvars.iv379.ph = phi i64 [ 0, %.lr.ph302.preheader ], [ %n.vec602, %middle.block597 ]
  br label %.lr.ph302

.lr.ph302:                                        ; preds = %.lr.ph302.preheader686, %.lr.ph302
  %indvars.iv379 = phi i64 [ %indvars.iv.next380, %.lr.ph302 ], [ %indvars.iv379.ph, %.lr.ph302.preheader686 ]
  %219 = sub nsw i64 %209, %indvars.iv379
  %220 = add nsw i64 %219, -1
  %221 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %220
  %222 = load double, ptr %221, align 8, !tbaa !9
  %223 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %219
  store double %222, ptr %223, align 8, !tbaa !9
  %indvars.iv.next380 = add nuw nsw i64 %indvars.iv379, 1
  %exitcond384.not = icmp eq i64 %indvars.iv.next380, %wide.trip.count383
  br i1 %exitcond384.not, label %._crit_edge303, label %.lr.ph302, !llvm.loop !31

._crit_edge303:                                   ; preds = %.lr.ph302, %middle.block597
  store double 0.000000e+00, ptr %6, align 16, !tbaa !9
  %224 = load double, ptr %202, align 8, !tbaa !9
  %225 = fcmp oeq double %224, 0.000000e+00
  br i1 %225, label %.lr.ph302.preheader.1, label %.lr.ph299.preheader.1

.lr.ph299.preheader:                              ; preds = %._crit_edge296
  %226 = fdiv double %205, %203
  %wide.trip.count377 = zext nneg i32 %smax to i64
  %min.iters.check616 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check616, label %.lr.ph299.preheader687, label %vector.ph617

vector.ph617:                                     ; preds = %.lr.ph299.preheader
  %n.vec619 = and i64 %wide.trip.count377, 2147483644
  %broadcast.splatinsert631 = insertelement <2 x double> poison, double %226, i64 0
  %227 = shufflevector <2 x double> %broadcast.splatinsert631, <2 x double> poison, <2 x i32> zeroinitializer
  %228 = shufflevector <2 x double> %broadcast.splatinsert631, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body621

vector.body621:                                   ; preds = %vector.body621, %vector.ph617
  %index622 = phi i64 [ 0, %vector.ph617 ], [ %index.next635, %vector.body621 ]
  %229 = sub nsw i64 %209, %index622
  %230 = add nsw i64 %229, -1
  %231 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %230
  %232 = getelementptr inbounds i8, ptr %231, i64 -8
  %233 = getelementptr inbounds i8, ptr %231, i64 -24
  %wide.load623 = load <2 x double>, ptr %232, align 8, !tbaa !9
  %wide.load625 = load <2 x double>, ptr %233, align 8, !tbaa !9
  %234 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %229
  %235 = getelementptr inbounds i8, ptr %234, i64 -8
  %236 = getelementptr inbounds i8, ptr %234, i64 -24
  %wide.load627 = load <2 x double>, ptr %235, align 8, !tbaa !9
  %wide.load629 = load <2 x double>, ptr %236, align 8, !tbaa !9
  %237 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %229
  %238 = getelementptr inbounds i8, ptr %237, i64 -8
  %239 = getelementptr inbounds i8, ptr %237, i64 -24
  %reverse633 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %227, <2 x double> %wide.load623, <2 x double> %wide.load627)
  store <2 x double> %reverse633, ptr %238, align 8, !tbaa !9
  %reverse634 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %228, <2 x double> %wide.load625, <2 x double> %wide.load629)
  store <2 x double> %reverse634, ptr %239, align 8, !tbaa !9
  %index.next635 = add nuw i64 %index622, 4
  %240 = icmp eq i64 %index.next635, %n.vec619
  br i1 %240, label %middle.block614, label %vector.body621, !llvm.loop !32

middle.block614:                                  ; preds = %vector.body621
  %cmp.n636 = icmp eq i64 %n.vec619, %wide.trip.count377
  br i1 %cmp.n636, label %.loopexit684, label %.lr.ph299.preheader687

.lr.ph299.preheader687:                           ; preds = %middle.block614, %.lr.ph299.preheader
  %indvars.iv374.ph = phi i64 [ 0, %.lr.ph299.preheader ], [ %n.vec619, %middle.block614 ]
  br label %.lr.ph299

.lr.ph299:                                        ; preds = %.lr.ph299.preheader687, %.lr.ph299
  %indvars.iv374 = phi i64 [ %indvars.iv.next375, %.lr.ph299 ], [ %indvars.iv374.ph, %.lr.ph299.preheader687 ]
  %241 = sub nsw i64 %209, %indvars.iv374
  %242 = add nsw i64 %241, -1
  %243 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %242
  %244 = load double, ptr %243, align 8, !tbaa !9
  %245 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %241
  %246 = load double, ptr %245, align 8, !tbaa !9
  %247 = call double @llvm.fmuladd.f64(double %226, double %244, double %246)
  %248 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %241
  store double %247, ptr %248, align 8, !tbaa !9
  %indvars.iv.next375 = add nuw nsw i64 %indvars.iv374, 1
  %exitcond378.not = icmp eq i64 %indvars.iv.next375, %wide.trip.count377
  br i1 %exitcond378.not, label %.loopexit684, label %.lr.ph299, !llvm.loop !33

.loopexit684:                                     ; preds = %.lr.ph299, %middle.block614
  store double %197, ptr %6, align 16, !tbaa !9
  %249 = load double, ptr %202, align 8, !tbaa !9
  %250 = call double @llvm.fabs.f64(double %249)
  %251 = fcmp ugt double %250, %208
  br i1 %251, label %.lr.ph299.preheader.1, label %.lr.ph302.preheader.1

.lr.ph299.preheader.1:                            ; preds = %.loopexit684, %._crit_edge303
  %252 = phi double [ %224, %._crit_edge303 ], [ %249, %.loopexit684 ]
  %253 = fdiv double %205, %252
  %wide.trip.count377.1 = zext nneg i32 %smax to i64
  %min.iters.check576 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check576, label %.lr.ph299.1.preheader, label %vector.ph577

vector.ph577:                                     ; preds = %.lr.ph299.preheader.1
  %n.vec579 = and i64 %wide.trip.count377.1, 2147483644
  %broadcast.splatinsert591 = insertelement <2 x double> poison, double %253, i64 0
  %254 = shufflevector <2 x double> %broadcast.splatinsert591, <2 x double> poison, <2 x i32> zeroinitializer
  %255 = shufflevector <2 x double> %broadcast.splatinsert591, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body581

vector.body581:                                   ; preds = %vector.body581, %vector.ph577
  %index582 = phi i64 [ 0, %vector.ph577 ], [ %index.next595, %vector.body581 ]
  %256 = sub nsw i64 %209, %index582
  %257 = add nsw i64 %256, -1
  %258 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %257
  %259 = getelementptr inbounds i8, ptr %258, i64 -8
  %260 = getelementptr inbounds i8, ptr %258, i64 -24
  %wide.load583 = load <2 x double>, ptr %259, align 8, !tbaa !9
  %wide.load585 = load <2 x double>, ptr %260, align 8, !tbaa !9
  %261 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %256
  %262 = getelementptr inbounds i8, ptr %261, i64 -8
  %263 = getelementptr inbounds i8, ptr %261, i64 -24
  %wide.load587 = load <2 x double>, ptr %262, align 8, !tbaa !9
  %wide.load589 = load <2 x double>, ptr %263, align 8, !tbaa !9
  %264 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %256
  %265 = getelementptr inbounds i8, ptr %264, i64 -8
  %266 = getelementptr inbounds i8, ptr %264, i64 -24
  %reverse593 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %254, <2 x double> %wide.load583, <2 x double> %wide.load587)
  store <2 x double> %reverse593, ptr %265, align 8, !tbaa !9
  %reverse594 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %255, <2 x double> %wide.load585, <2 x double> %wide.load589)
  store <2 x double> %reverse594, ptr %266, align 8, !tbaa !9
  %index.next595 = add nuw i64 %index582, 4
  %267 = icmp eq i64 %index.next595, %n.vec579
  br i1 %267, label %middle.block574, label %vector.body581, !llvm.loop !34

middle.block574:                                  ; preds = %vector.body581
  %cmp.n596 = icmp eq i64 %n.vec579, %wide.trip.count377.1
  br i1 %cmp.n596, label %.loopexit683, label %.lr.ph299.1.preheader

.lr.ph299.1.preheader:                            ; preds = %middle.block574, %.lr.ph299.preheader.1
  %indvars.iv374.1.ph = phi i64 [ 0, %.lr.ph299.preheader.1 ], [ %n.vec579, %middle.block574 ]
  br label %.lr.ph299.1

.lr.ph299.1:                                      ; preds = %.lr.ph299.1.preheader, %.lr.ph299.1
  %indvars.iv374.1 = phi i64 [ %indvars.iv.next375.1, %.lr.ph299.1 ], [ %indvars.iv374.1.ph, %.lr.ph299.1.preheader ]
  %268 = sub nsw i64 %209, %indvars.iv374.1
  %269 = add nsw i64 %268, -1
  %270 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %269
  %271 = load double, ptr %270, align 8, !tbaa !9
  %272 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %268
  %273 = load double, ptr %272, align 8, !tbaa !9
  %274 = call double @llvm.fmuladd.f64(double %253, double %271, double %273)
  %275 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %268
  store double %274, ptr %275, align 8, !tbaa !9
  %indvars.iv.next375.1 = add nuw nsw i64 %indvars.iv374.1, 1
  %exitcond378.1.not = icmp eq i64 %indvars.iv.next375.1, %wide.trip.count377.1
  br i1 %exitcond378.1.not, label %.loopexit683, label %.lr.ph299.1, !llvm.loop !35

.lr.ph302.preheader.1:                            ; preds = %.loopexit684, %._crit_edge303
  %wide.trip.count383.1 = zext nneg i32 %smax to i64
  %min.iters.check559 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check559, label %.lr.ph302.1.preheader, label %vector.ph560

vector.ph560:                                     ; preds = %.lr.ph302.preheader.1
  %n.vec562 = and i64 %wide.trip.count383.1, 2147483644
  br label %vector.body564

vector.body564:                                   ; preds = %vector.body564, %vector.ph560
  %index565 = phi i64 [ 0, %vector.ph560 ], [ %index.next572, %vector.body564 ]
  %276 = sub nsw i64 %209, %index565
  %277 = add nsw i64 %276, -1
  %278 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %277
  %279 = getelementptr inbounds i8, ptr %278, i64 -8
  %280 = getelementptr inbounds i8, ptr %278, i64 -24
  %wide.load566 = load <2 x double>, ptr %279, align 8, !tbaa !9
  %wide.load568 = load <2 x double>, ptr %280, align 8, !tbaa !9
  %281 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %276
  %282 = getelementptr inbounds i8, ptr %281, i64 -8
  %283 = getelementptr inbounds i8, ptr %281, i64 -24
  store <2 x double> %wide.load566, ptr %282, align 8, !tbaa !9
  store <2 x double> %wide.load568, ptr %283, align 8, !tbaa !9
  %index.next572 = add nuw i64 %index565, 4
  %284 = icmp eq i64 %index.next572, %n.vec562
  br i1 %284, label %middle.block557, label %vector.body564, !llvm.loop !36

middle.block557:                                  ; preds = %vector.body564
  %cmp.n573 = icmp eq i64 %n.vec562, %wide.trip.count383.1
  br i1 %cmp.n573, label %._crit_edge303.1, label %.lr.ph302.1.preheader

.lr.ph302.1.preheader:                            ; preds = %middle.block557, %.lr.ph302.preheader.1
  %indvars.iv379.1.ph = phi i64 [ 0, %.lr.ph302.preheader.1 ], [ %n.vec562, %middle.block557 ]
  br label %.lr.ph302.1

.lr.ph302.1:                                      ; preds = %.lr.ph302.1.preheader, %.lr.ph302.1
  %indvars.iv379.1 = phi i64 [ %indvars.iv.next380.1, %.lr.ph302.1 ], [ %indvars.iv379.1.ph, %.lr.ph302.1.preheader ]
  %285 = sub nsw i64 %209, %indvars.iv379.1
  %286 = add nsw i64 %285, -1
  %287 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %286
  %288 = load double, ptr %287, align 8, !tbaa !9
  %289 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %285
  store double %288, ptr %289, align 8, !tbaa !9
  %indvars.iv.next380.1 = add nuw nsw i64 %indvars.iv379.1, 1
  %exitcond384.1.not = icmp eq i64 %indvars.iv.next380.1, %wide.trip.count383.1
  br i1 %exitcond384.1.not, label %._crit_edge303.1, label %.lr.ph302.1, !llvm.loop !37

._crit_edge303.1:                                 ; preds = %.lr.ph302.1, %middle.block557
  store double 0.000000e+00, ptr %6, align 16, !tbaa !9
  %290 = load double, ptr %202, align 8, !tbaa !9
  %291 = fcmp oeq double %290, 0.000000e+00
  br i1 %291, label %.lr.ph302.preheader.2, label %.lr.ph299.preheader.2

.loopexit683:                                     ; preds = %.lr.ph299.1, %middle.block574
  store double %197, ptr %6, align 16, !tbaa !9
  %292 = load double, ptr %202, align 8, !tbaa !9
  %293 = call double @llvm.fabs.f64(double %292)
  %294 = fcmp ugt double %293, %208
  br i1 %294, label %.lr.ph299.preheader.2, label %.lr.ph302.preheader.2

.lr.ph299.preheader.2:                            ; preds = %.loopexit683, %._crit_edge303.1
  %295 = phi double [ %290, %._crit_edge303.1 ], [ %292, %.loopexit683 ]
  %296 = fdiv double %205, %295
  %wide.trip.count377.2 = zext nneg i32 %smax to i64
  %min.iters.check536 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check536, label %.lr.ph299.2.preheader, label %vector.ph537

vector.ph537:                                     ; preds = %.lr.ph299.preheader.2
  %n.vec539 = and i64 %wide.trip.count377.2, 2147483644
  %broadcast.splatinsert551 = insertelement <2 x double> poison, double %296, i64 0
  %297 = shufflevector <2 x double> %broadcast.splatinsert551, <2 x double> poison, <2 x i32> zeroinitializer
  %298 = shufflevector <2 x double> %broadcast.splatinsert551, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body541

vector.body541:                                   ; preds = %vector.body541, %vector.ph537
  %index542 = phi i64 [ 0, %vector.ph537 ], [ %index.next555, %vector.body541 ]
  %299 = sub nsw i64 %209, %index542
  %300 = add nsw i64 %299, -1
  %301 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %300
  %302 = getelementptr inbounds i8, ptr %301, i64 -8
  %303 = getelementptr inbounds i8, ptr %301, i64 -24
  %wide.load543 = load <2 x double>, ptr %302, align 8, !tbaa !9
  %wide.load545 = load <2 x double>, ptr %303, align 8, !tbaa !9
  %304 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %299
  %305 = getelementptr inbounds i8, ptr %304, i64 -8
  %306 = getelementptr inbounds i8, ptr %304, i64 -24
  %wide.load547 = load <2 x double>, ptr %305, align 8, !tbaa !9
  %wide.load549 = load <2 x double>, ptr %306, align 8, !tbaa !9
  %307 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %299
  %308 = getelementptr inbounds i8, ptr %307, i64 -8
  %309 = getelementptr inbounds i8, ptr %307, i64 -24
  %reverse553 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %297, <2 x double> %wide.load543, <2 x double> %wide.load547)
  store <2 x double> %reverse553, ptr %308, align 8, !tbaa !9
  %reverse554 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %298, <2 x double> %wide.load545, <2 x double> %wide.load549)
  store <2 x double> %reverse554, ptr %309, align 8, !tbaa !9
  %index.next555 = add nuw i64 %index542, 4
  %310 = icmp eq i64 %index.next555, %n.vec539
  br i1 %310, label %middle.block534, label %vector.body541, !llvm.loop !38

middle.block534:                                  ; preds = %vector.body541
  %cmp.n556 = icmp eq i64 %n.vec539, %wide.trip.count377.2
  br i1 %cmp.n556, label %.loopexit682, label %.lr.ph299.2.preheader

.lr.ph299.2.preheader:                            ; preds = %middle.block534, %.lr.ph299.preheader.2
  %indvars.iv374.2.ph = phi i64 [ 0, %.lr.ph299.preheader.2 ], [ %n.vec539, %middle.block534 ]
  br label %.lr.ph299.2

.lr.ph299.2:                                      ; preds = %.lr.ph299.2.preheader, %.lr.ph299.2
  %indvars.iv374.2 = phi i64 [ %indvars.iv.next375.2, %.lr.ph299.2 ], [ %indvars.iv374.2.ph, %.lr.ph299.2.preheader ]
  %311 = sub nsw i64 %209, %indvars.iv374.2
  %312 = add nsw i64 %311, -1
  %313 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %312
  %314 = load double, ptr %313, align 8, !tbaa !9
  %315 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %311
  %316 = load double, ptr %315, align 8, !tbaa !9
  %317 = call double @llvm.fmuladd.f64(double %296, double %314, double %316)
  %318 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %311
  store double %317, ptr %318, align 8, !tbaa !9
  %indvars.iv.next375.2 = add nuw nsw i64 %indvars.iv374.2, 1
  %exitcond378.2.not = icmp eq i64 %indvars.iv.next375.2, %wide.trip.count377.2
  br i1 %exitcond378.2.not, label %.loopexit682, label %.lr.ph299.2, !llvm.loop !39

.lr.ph302.preheader.2:                            ; preds = %.loopexit683, %._crit_edge303.1
  %wide.trip.count383.2 = zext nneg i32 %smax to i64
  %min.iters.check519 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check519, label %.lr.ph302.2.preheader, label %vector.ph520

vector.ph520:                                     ; preds = %.lr.ph302.preheader.2
  %n.vec522 = and i64 %wide.trip.count383.2, 2147483644
  br label %vector.body524

vector.body524:                                   ; preds = %vector.body524, %vector.ph520
  %index525 = phi i64 [ 0, %vector.ph520 ], [ %index.next532, %vector.body524 ]
  %319 = sub nsw i64 %209, %index525
  %320 = add nsw i64 %319, -1
  %321 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %320
  %322 = getelementptr inbounds i8, ptr %321, i64 -8
  %323 = getelementptr inbounds i8, ptr %321, i64 -24
  %wide.load526 = load <2 x double>, ptr %322, align 8, !tbaa !9
  %wide.load528 = load <2 x double>, ptr %323, align 8, !tbaa !9
  %324 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %319
  %325 = getelementptr inbounds i8, ptr %324, i64 -8
  %326 = getelementptr inbounds i8, ptr %324, i64 -24
  store <2 x double> %wide.load526, ptr %325, align 8, !tbaa !9
  store <2 x double> %wide.load528, ptr %326, align 8, !tbaa !9
  %index.next532 = add nuw i64 %index525, 4
  %327 = icmp eq i64 %index.next532, %n.vec522
  br i1 %327, label %middle.block517, label %vector.body524, !llvm.loop !40

middle.block517:                                  ; preds = %vector.body524
  %cmp.n533 = icmp eq i64 %n.vec522, %wide.trip.count383.2
  br i1 %cmp.n533, label %._crit_edge303.2, label %.lr.ph302.2.preheader

.lr.ph302.2.preheader:                            ; preds = %middle.block517, %.lr.ph302.preheader.2
  %indvars.iv379.2.ph = phi i64 [ 0, %.lr.ph302.preheader.2 ], [ %n.vec522, %middle.block517 ]
  br label %.lr.ph302.2

.lr.ph302.2:                                      ; preds = %.lr.ph302.2.preheader, %.lr.ph302.2
  %indvars.iv379.2 = phi i64 [ %indvars.iv.next380.2, %.lr.ph302.2 ], [ %indvars.iv379.2.ph, %.lr.ph302.2.preheader ]
  %328 = sub nsw i64 %209, %indvars.iv379.2
  %329 = add nsw i64 %328, -1
  %330 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %329
  %331 = load double, ptr %330, align 8, !tbaa !9
  %332 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %328
  store double %331, ptr %332, align 8, !tbaa !9
  %indvars.iv.next380.2 = add nuw nsw i64 %indvars.iv379.2, 1
  %exitcond384.2.not = icmp eq i64 %indvars.iv.next380.2, %wide.trip.count383.2
  br i1 %exitcond384.2.not, label %._crit_edge303.2, label %.lr.ph302.2, !llvm.loop !41

._crit_edge303.2:                                 ; preds = %.lr.ph302.2, %middle.block517
  store double 0.000000e+00, ptr %6, align 16, !tbaa !9
  %333 = load double, ptr %202, align 8, !tbaa !9
  %334 = fcmp oeq double %333, 0.000000e+00
  br i1 %334, label %.lr.ph302.preheader.3, label %.lr.ph299.preheader.3

.loopexit682:                                     ; preds = %.lr.ph299.2, %middle.block534
  store double %197, ptr %6, align 16, !tbaa !9
  %335 = load double, ptr %202, align 8, !tbaa !9
  %336 = call double @llvm.fabs.f64(double %335)
  %337 = fcmp ugt double %336, %208
  br i1 %337, label %.lr.ph299.preheader.3, label %.lr.ph302.preheader.3

.lr.ph299.preheader.3:                            ; preds = %.loopexit682, %._crit_edge303.2
  %338 = phi double [ %333, %._crit_edge303.2 ], [ %335, %.loopexit682 ]
  %339 = fdiv double %205, %338
  %wide.trip.count377.3 = zext nneg i32 %smax to i64
  %min.iters.check496 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check496, label %.lr.ph299.3.preheader, label %vector.ph497

vector.ph497:                                     ; preds = %.lr.ph299.preheader.3
  %n.vec499 = and i64 %wide.trip.count377.3, 2147483644
  %broadcast.splatinsert511 = insertelement <2 x double> poison, double %339, i64 0
  %340 = shufflevector <2 x double> %broadcast.splatinsert511, <2 x double> poison, <2 x i32> zeroinitializer
  %341 = shufflevector <2 x double> %broadcast.splatinsert511, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body501

vector.body501:                                   ; preds = %vector.body501, %vector.ph497
  %index502 = phi i64 [ 0, %vector.ph497 ], [ %index.next515, %vector.body501 ]
  %342 = sub nsw i64 %209, %index502
  %343 = add nsw i64 %342, -1
  %344 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %343
  %345 = getelementptr inbounds i8, ptr %344, i64 -8
  %346 = getelementptr inbounds i8, ptr %344, i64 -24
  %wide.load503 = load <2 x double>, ptr %345, align 8, !tbaa !9
  %wide.load505 = load <2 x double>, ptr %346, align 8, !tbaa !9
  %347 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %342
  %348 = getelementptr inbounds i8, ptr %347, i64 -8
  %349 = getelementptr inbounds i8, ptr %347, i64 -24
  %wide.load507 = load <2 x double>, ptr %348, align 8, !tbaa !9
  %wide.load509 = load <2 x double>, ptr %349, align 8, !tbaa !9
  %350 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %342
  %351 = getelementptr inbounds i8, ptr %350, i64 -8
  %352 = getelementptr inbounds i8, ptr %350, i64 -24
  %reverse513 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %340, <2 x double> %wide.load503, <2 x double> %wide.load507)
  store <2 x double> %reverse513, ptr %351, align 8, !tbaa !9
  %reverse514 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %341, <2 x double> %wide.load505, <2 x double> %wide.load509)
  store <2 x double> %reverse514, ptr %352, align 8, !tbaa !9
  %index.next515 = add nuw i64 %index502, 4
  %353 = icmp eq i64 %index.next515, %n.vec499
  br i1 %353, label %middle.block494, label %vector.body501, !llvm.loop !42

middle.block494:                                  ; preds = %vector.body501
  %cmp.n516 = icmp eq i64 %n.vec499, %wide.trip.count377.3
  br i1 %cmp.n516, label %.loopexit681, label %.lr.ph299.3.preheader

.lr.ph299.3.preheader:                            ; preds = %middle.block494, %.lr.ph299.preheader.3
  %indvars.iv374.3.ph = phi i64 [ 0, %.lr.ph299.preheader.3 ], [ %n.vec499, %middle.block494 ]
  br label %.lr.ph299.3

.lr.ph299.3:                                      ; preds = %.lr.ph299.3.preheader, %.lr.ph299.3
  %indvars.iv374.3 = phi i64 [ %indvars.iv.next375.3, %.lr.ph299.3 ], [ %indvars.iv374.3.ph, %.lr.ph299.3.preheader ]
  %354 = sub nsw i64 %209, %indvars.iv374.3
  %355 = add nsw i64 %354, -1
  %356 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %355
  %357 = load double, ptr %356, align 8, !tbaa !9
  %358 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %354
  %359 = load double, ptr %358, align 8, !tbaa !9
  %360 = call double @llvm.fmuladd.f64(double %339, double %357, double %359)
  %361 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %354
  store double %360, ptr %361, align 8, !tbaa !9
  %indvars.iv.next375.3 = add nuw nsw i64 %indvars.iv374.3, 1
  %exitcond378.3.not = icmp eq i64 %indvars.iv.next375.3, %wide.trip.count377.3
  br i1 %exitcond378.3.not, label %.loopexit681, label %.lr.ph299.3, !llvm.loop !43

.lr.ph302.preheader.3:                            ; preds = %.loopexit682, %._crit_edge303.2
  %wide.trip.count383.3 = zext nneg i32 %smax to i64
  %min.iters.check479 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check479, label %.lr.ph302.3.preheader, label %vector.ph480

vector.ph480:                                     ; preds = %.lr.ph302.preheader.3
  %n.vec482 = and i64 %wide.trip.count383.3, 2147483644
  br label %vector.body484

vector.body484:                                   ; preds = %vector.body484, %vector.ph480
  %index485 = phi i64 [ 0, %vector.ph480 ], [ %index.next492, %vector.body484 ]
  %362 = sub nsw i64 %209, %index485
  %363 = add nsw i64 %362, -1
  %364 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %363
  %365 = getelementptr inbounds i8, ptr %364, i64 -8
  %366 = getelementptr inbounds i8, ptr %364, i64 -24
  %wide.load486 = load <2 x double>, ptr %365, align 8, !tbaa !9
  %wide.load488 = load <2 x double>, ptr %366, align 8, !tbaa !9
  %367 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %362
  %368 = getelementptr inbounds i8, ptr %367, i64 -8
  %369 = getelementptr inbounds i8, ptr %367, i64 -24
  store <2 x double> %wide.load486, ptr %368, align 8, !tbaa !9
  store <2 x double> %wide.load488, ptr %369, align 8, !tbaa !9
  %index.next492 = add nuw i64 %index485, 4
  %370 = icmp eq i64 %index.next492, %n.vec482
  br i1 %370, label %middle.block477, label %vector.body484, !llvm.loop !44

middle.block477:                                  ; preds = %vector.body484
  %cmp.n493 = icmp eq i64 %n.vec482, %wide.trip.count383.3
  br i1 %cmp.n493, label %._crit_edge303.3, label %.lr.ph302.3.preheader

.lr.ph302.3.preheader:                            ; preds = %middle.block477, %.lr.ph302.preheader.3
  %indvars.iv379.3.ph = phi i64 [ 0, %.lr.ph302.preheader.3 ], [ %n.vec482, %middle.block477 ]
  br label %.lr.ph302.3

.lr.ph302.3:                                      ; preds = %.lr.ph302.3.preheader, %.lr.ph302.3
  %indvars.iv379.3 = phi i64 [ %indvars.iv.next380.3, %.lr.ph302.3 ], [ %indvars.iv379.3.ph, %.lr.ph302.3.preheader ]
  %371 = sub nsw i64 %209, %indvars.iv379.3
  %372 = add nsw i64 %371, -1
  %373 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %372
  %374 = load double, ptr %373, align 8, !tbaa !9
  %375 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %371
  store double %374, ptr %375, align 8, !tbaa !9
  %indvars.iv.next380.3 = add nuw nsw i64 %indvars.iv379.3, 1
  %exitcond384.3.not = icmp eq i64 %indvars.iv.next380.3, %wide.trip.count383.3
  br i1 %exitcond384.3.not, label %._crit_edge303.3, label %.lr.ph302.3, !llvm.loop !45

._crit_edge303.3:                                 ; preds = %.lr.ph302.3, %middle.block477
  store double 0.000000e+00, ptr %6, align 16, !tbaa !9
  %376 = load double, ptr %202, align 8, !tbaa !9
  %377 = fcmp oeq double %376, 0.000000e+00
  br i1 %377, label %.lr.ph302.preheader.4, label %.lr.ph299.preheader.4

.loopexit681:                                     ; preds = %.lr.ph299.3, %middle.block494
  store double %197, ptr %6, align 16, !tbaa !9
  %378 = load double, ptr %202, align 8, !tbaa !9
  %379 = call double @llvm.fabs.f64(double %378)
  %380 = fcmp ugt double %379, %208
  br i1 %380, label %.lr.ph299.preheader.4, label %.lr.ph302.preheader.4

.lr.ph299.preheader.4:                            ; preds = %.loopexit681, %._crit_edge303.3
  %381 = phi double [ %376, %._crit_edge303.3 ], [ %378, %.loopexit681 ]
  %382 = fdiv double %205, %381
  %wide.trip.count377.4 = zext nneg i32 %smax to i64
  %min.iters.check458 = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check458, label %.lr.ph299.4.preheader, label %vector.ph459

vector.ph459:                                     ; preds = %.lr.ph299.preheader.4
  %n.vec461 = and i64 %wide.trip.count377.4, 2147483644
  %broadcast.splatinsert = insertelement <2 x double> poison, double %382, i64 0
  %383 = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %384 = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body463

vector.body463:                                   ; preds = %vector.body463, %vector.ph459
  %index464 = phi i64 [ 0, %vector.ph459 ], [ %index.next475, %vector.body463 ]
  %385 = sub nsw i64 %209, %index464
  %386 = add nsw i64 %385, -1
  %387 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %386
  %388 = getelementptr inbounds i8, ptr %387, i64 -8
  %389 = getelementptr inbounds i8, ptr %387, i64 -24
  %wide.load465 = load <2 x double>, ptr %388, align 8, !tbaa !9
  %wide.load467 = load <2 x double>, ptr %389, align 8, !tbaa !9
  %390 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %385
  %391 = getelementptr inbounds i8, ptr %390, i64 -8
  %392 = getelementptr inbounds i8, ptr %390, i64 -24
  %wide.load469 = load <2 x double>, ptr %391, align 8, !tbaa !9
  %wide.load471 = load <2 x double>, ptr %392, align 8, !tbaa !9
  %393 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %385
  %394 = getelementptr inbounds i8, ptr %393, i64 -8
  %395 = getelementptr inbounds i8, ptr %393, i64 -24
  %reverse473 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %383, <2 x double> %wide.load465, <2 x double> %wide.load469)
  store <2 x double> %reverse473, ptr %394, align 8, !tbaa !9
  %reverse474 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %384, <2 x double> %wide.load467, <2 x double> %wide.load471)
  store <2 x double> %reverse474, ptr %395, align 8, !tbaa !9
  %index.next475 = add nuw i64 %index464, 4
  %396 = icmp eq i64 %index.next475, %n.vec461
  br i1 %396, label %middle.block456, label %vector.body463, !llvm.loop !46

middle.block456:                                  ; preds = %vector.body463
  %cmp.n476 = icmp eq i64 %n.vec461, %wide.trip.count377.4
  br i1 %cmp.n476, label %.preheader245, label %.lr.ph299.4.preheader

.lr.ph299.4.preheader:                            ; preds = %middle.block456, %.lr.ph299.preheader.4
  %indvars.iv374.4.ph = phi i64 [ 0, %.lr.ph299.preheader.4 ], [ %n.vec461, %middle.block456 ]
  br label %.lr.ph299.4

.lr.ph299.4:                                      ; preds = %.lr.ph299.4.preheader, %.lr.ph299.4
  %indvars.iv374.4 = phi i64 [ %indvars.iv.next375.4, %.lr.ph299.4 ], [ %indvars.iv374.4.ph, %.lr.ph299.4.preheader ]
  %397 = sub nsw i64 %209, %indvars.iv374.4
  %398 = add nsw i64 %397, -1
  %399 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %398
  %400 = load double, ptr %399, align 8, !tbaa !9
  %401 = getelementptr inbounds [101 x double], ptr %7, i64 0, i64 %397
  %402 = load double, ptr %401, align 8, !tbaa !9
  %403 = call double @llvm.fmuladd.f64(double %382, double %400, double %402)
  %404 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %397
  store double %403, ptr %404, align 8, !tbaa !9
  %indvars.iv.next375.4 = add nuw nsw i64 %indvars.iv374.4, 1
  %exitcond378.4.not = icmp eq i64 %indvars.iv.next375.4, %wide.trip.count377.4
  br i1 %exitcond378.4.not, label %.preheader245, label %.lr.ph299.4, !llvm.loop !47

.lr.ph302.preheader.4:                            ; preds = %.loopexit681, %._crit_edge303.3
  %wide.trip.count383.4 = zext nneg i32 %smax to i64
  %min.iters.check = icmp slt i32 %.1199321447, 5
  br i1 %min.iters.check, label %.lr.ph302.4.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph302.preheader.4
  %n.vec = and i64 %wide.trip.count383.4, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %405 = sub nsw i64 %209, %index
  %406 = add nsw i64 %405, -1
  %407 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %406
  %408 = getelementptr inbounds i8, ptr %407, i64 -8
  %409 = getelementptr inbounds i8, ptr %407, i64 -24
  %wide.load = load <2 x double>, ptr %408, align 8, !tbaa !9
  %wide.load452 = load <2 x double>, ptr %409, align 8, !tbaa !9
  %410 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %405
  %411 = getelementptr inbounds i8, ptr %410, i64 -8
  %412 = getelementptr inbounds i8, ptr %410, i64 -24
  store <2 x double> %wide.load, ptr %411, align 8, !tbaa !9
  store <2 x double> %wide.load452, ptr %412, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %413 = icmp eq i64 %index.next, %n.vec
  br i1 %413, label %middle.block, label %vector.body, !llvm.loop !48

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count383.4
  br i1 %cmp.n, label %.preheader245, label %.lr.ph302.4.preheader

.lr.ph302.4.preheader:                            ; preds = %middle.block, %.lr.ph302.preheader.4
  %indvars.iv379.4.ph = phi i64 [ 0, %.lr.ph302.preheader.4 ], [ %n.vec, %middle.block ]
  br label %.lr.ph302.4

.lr.ph302.4:                                      ; preds = %.lr.ph302.4.preheader, %.lr.ph302.4
  %indvars.iv379.4 = phi i64 [ %indvars.iv.next380.4, %.lr.ph302.4 ], [ %indvars.iv379.4.ph, %.lr.ph302.4.preheader ]
  %414 = sub nsw i64 %209, %indvars.iv379.4
  %415 = add nsw i64 %414, -1
  %416 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %415
  %417 = load double, ptr %416, align 8, !tbaa !9
  %418 = getelementptr inbounds [101 x double], ptr %6, i64 0, i64 %414
  store double %417, ptr %418, align 8, !tbaa !9
  %indvars.iv.next380.4 = add nuw nsw i64 %indvars.iv379.4, 1
  %exitcond384.4.not = icmp eq i64 %indvars.iv.next380.4, %wide.trip.count383.4
  br i1 %exitcond384.4.not, label %.preheader245, label %.lr.ph302.4, !llvm.loop !49

.preheader245:                                    ; preds = %.lr.ph299.4, %.lr.ph302.4, %middle.block456, %middle.block
  %storemerge = phi double [ 0.000000e+00, %middle.block ], [ %197, %middle.block456 ], [ 0.000000e+00, %.lr.ph302.4 ], [ %197, %.lr.ph299.4 ]
  store double %storemerge, ptr %6, align 16, !tbaa !9
  %umax396 = call i64 @llvm.umax.i64(i64 %107, i64 1)
  %419 = shl nuw nsw i64 %umax396, 3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %10, ptr noundef nonnull align 16 dereferenceable(1) %6, i64 %419, i1 false), !tbaa !9
  %smax400 = call i32 @llvm.smax.i32(i32 %.1199321447, i32 1)
  %420 = zext nneg i32 %smax400 to i64
  %421 = shl nuw nsw i64 %420, 3
  br label %422

422:                                              ; preds = %.preheader245, %._crit_edge310
  %.1197313 = phi i32 [ 1, %.preheader245 ], [ %452, %._crit_edge310 ]
  %423 = phi <2 x double> [ %38, %.preheader245 ], [ %426, %._crit_edge310 ]
  %424 = fmul <2 x double> %423, <double 0xBFB1DB8F6D6A512A, double 0xBFB1DB8F6D6A512A>
  %425 = shufflevector <2 x double> %423, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %426 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %425, <2 x double> <double 0xBFEFEC0B7170FFF6, double 0x3FEFEC0B7170FFF6>, <2 x double> %424)
  %427 = extractelement <2 x double> %426, i64 0
  %428 = fmul double %.1221.lcssa, %427
  %429 = mul nuw nsw i32 %.1197313, 20
  call void @_Z10Fxshfr_ak1iPiddPdiS0_iS0_S0_S0_S0_S0_(i32 noundef %429, ptr noundef nonnull %5, double noundef %428, double noundef %.1221.lcssa, ptr noundef nonnull %6, i32 noundef %.1199321447, ptr noundef nonnull %7, i32 noundef %.0201320448, ptr noundef nonnull %9, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14)
  %430 = load i32, ptr %5, align 4, !tbaa !5
  %.not232 = icmp eq i32 %430, 0
  br i1 %.not232, label %._crit_edge310, label %431

431:                                              ; preds = %422
  %432 = load i32, ptr %1, align 4, !tbaa !5
  %433 = sub nsw i32 %432, %.1199321447
  %434 = load double, ptr %14, align 8, !tbaa !9
  %435 = sext i32 %433 to i64
  %436 = getelementptr inbounds double, ptr %2, i64 %435
  store double %434, ptr %436, align 8, !tbaa !9
  %437 = load double, ptr %13, align 8, !tbaa !9
  %438 = getelementptr inbounds double, ptr %3, i64 %435
  store double %437, ptr %438, align 8, !tbaa !9
  %439 = sub nsw i32 %.0201320448, %430
  %440 = add i32 %439, -1
  %441 = icmp sgt i32 %439, 0
  br i1 %441, label %.lr.ph316.preheader, label %._crit_edge317

.lr.ph316.preheader:                              ; preds = %431
  %442 = zext nneg i32 %440 to i64
  %443 = shl nuw nsw i64 %442, 3
  %444 = add nuw nsw i64 %443, 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %7, ptr noundef nonnull align 16 dereferenceable(1) %9, i64 %444, i1 false), !tbaa !9
  br label %._crit_edge317

._crit_edge317:                                   ; preds = %.lr.ph316.preheader, %431
  %.not233 = icmp eq i32 %430, 1
  br i1 %.not233, label %453, label %445

445:                                              ; preds = %._crit_edge317
  %446 = load double, ptr %12, align 8, !tbaa !9
  %447 = add nsw i32 %433, 1
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds double, ptr %2, i64 %448
  store double %446, ptr %449, align 8, !tbaa !9
  %450 = load double, ptr %11, align 8, !tbaa !9
  %451 = getelementptr inbounds double, ptr %3, i64 %448
  store double %450, ptr %451, align 8, !tbaa !9
  br label %453

._crit_edge310:                                   ; preds = %422
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %6, ptr noundef nonnull align 16 dereferenceable(1) %10, i64 %421, i1 false), !tbaa !9
  %452 = add nuw nsw i32 %.1197313, 1
  %exitcond404.not = icmp eq i32 %452, 21
  br i1 %exitcond404.not, label %.thread, label %422, !llvm.loop !50

453:                                              ; preds = %._crit_edge317, %445
  %454 = icmp sgt i32 %439, 1
  br i1 %454, label %.lr.ph322, label %.loopexit252, !llvm.loop !13

.thread:                                          ; preds = %._crit_edge310
  %455 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %456 = load i32, ptr %1, align 4, !tbaa !5
  %457 = sub nsw i32 %456, %.1199321447
  store i32 %457, ptr %1, align 4, !tbaa !5
  br label %.loopexit252

458:                                              ; preds = %19
  %459 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %.loopexit252

.loopexit252:                                     ; preds = %453, %._crit_edge, %.preheader251, %458, %41, %52, %.thread, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %10)
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #10
  ret void
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z8Quad_ak1dddPdS_S_S_(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nofree willreturn
declare double @ldexp(double, i32) local_unnamed_addr #6

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #8

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #8

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #8

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #9

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12, !16, !17}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !12, !17, !16}
!19 = distinct !{!19, !12, !16, !17}
!20 = distinct !{!20, !12, !17, !16}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12, !16, !17}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !23}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12, !17, !16}
!30 = distinct !{!30, !12, !16, !17}
!31 = distinct !{!31, !12, !17, !16}
!32 = distinct !{!32, !12, !16, !17}
!33 = distinct !{!33, !12, !17, !16}
!34 = distinct !{!34, !12, !16, !17}
!35 = distinct !{!35, !12, !17, !16}
!36 = distinct !{!36, !12, !16, !17}
!37 = distinct !{!37, !12, !17, !16}
!38 = distinct !{!38, !12, !16, !17}
!39 = distinct !{!39, !12, !17, !16}
!40 = distinct !{!40, !12, !16, !17}
!41 = distinct !{!41, !12, !17, !16}
!42 = distinct !{!42, !12, !16, !17}
!43 = distinct !{!43, !12, !17, !16}
!44 = distinct !{!44, !12, !16, !17}
!45 = distinct !{!45, !12, !17, !16}
!46 = distinct !{!46, !12, !16, !17}
!47 = distinct !{!47, !12, !17, !16}
!48 = distinct !{!48, !12, !16, !17}
!49 = distinct !{!49, !12, !17, !16}
!50 = distinct !{!50, !12}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass