; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src (interpolation)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::rbfv3model" = type { i64, i64, i64, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::rbf3evaluator", %"struct.alglib_impl::rbf3fastevaluator", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rbfv3calcbuffer", i8, double }
%"struct.alglib_impl::rbf3evaluator" = type { i64, i64, %"struct.alglib_impl::ae_matrix", i64, i64, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::rbf3fastevaluator" = type { i64, i64, i64, i64, i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::ae_obj_array", %"struct.alglib_impl::biharmonicevaluator", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_matrix", i8, i64, i64, i64 }
%"struct.alglib_impl::ae_obj_array" = type { i64, i64, i8, ptr, ptr, ptr, ptr, %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::biharmonicevaluator" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::rbfv3calcbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rbf3evaluatorbuffer", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::rbf3evaluatorbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }

@.str.790 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.791 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.795 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.796 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) #1

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

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

declare void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef, double noundef) #1

declare void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl10rmergemulvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL21rbfv3_computerowchunkEPKNS_13rbf3evaluatorEPKNS_9ae_vectorEPNS_19rbf3evaluatorbufferElldlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rbfv3tshessbufEPKNS_10rbfv3modelEPNS_15rbfv3calcbufferEPKNS_9ae_vectorEPS5_S8_S8_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #3 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca double, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %33, i32 0, i32 0
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %36, i32 0, i32 1
  %38 = load i64, ptr %37, align 8, !tbaa !14
  %39 = icmp sge i64 %35, %38
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef @.str.790, ptr noundef %40)
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %42, i32 0, i32 1
  %44 = load i64, ptr %43, align 8, !tbaa !14
  %45 = load ptr, ptr %14, align 8, !tbaa !5
  %46 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %41, i64 noundef %44, ptr noundef %45)
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %46, ptr noundef @.str.791, ptr noundef %47)
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %48, i32 0, i32 1
  %50 = load i64, ptr %49, align 8, !tbaa !14
  store i64 %50, ptr %15, align 8, !tbaa !26
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %51, i32 0, i32 0
  %53 = load i64, ptr %52, align 8, !tbaa !27
  store i64 %53, ptr %16, align 8, !tbaa !26
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 0
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = load i64, ptr %16, align 8, !tbaa !26
  %58 = icmp slt i64 %56, %57
  br i1 %58, label %59, label %63

59:                                               ; preds = %7
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = load i64, ptr %16, align 8, !tbaa !26
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %60, i64 noundef %61, ptr noundef %62)
  br label %63

63:                                               ; preds = %59, %7
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %64, i32 0, i32 0
  %66 = load i64, ptr %65, align 8, !tbaa !9
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %67, i32 0, i32 0
  %69 = load i64, ptr %68, align 8, !tbaa !27
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %70, i32 0, i32 1
  %72 = load i64, ptr %71, align 8, !tbaa !14
  %73 = mul nsw i64 %69, %72
  %74 = icmp slt i64 %66, %73
  br i1 %74, label %75, label %85

75:                                               ; preds = %63
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %77, i32 0, i32 0
  %79 = load i64, ptr %78, align 8, !tbaa !27
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %80, i32 0, i32 1
  %82 = load i64, ptr %81, align 8, !tbaa !14
  %83 = mul nsw i64 %79, %82
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %76, i64 noundef %83, ptr noundef %84)
  br label %85

85:                                               ; preds = %75, %63
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %86, i32 0, i32 0
  %88 = load i64, ptr %87, align 8, !tbaa !9
  %89 = load i64, ptr %16, align 8, !tbaa !26
  %90 = load i64, ptr %15, align 8, !tbaa !26
  %91 = mul nsw i64 %89, %90
  %92 = load i64, ptr %15, align 8, !tbaa !26
  %93 = mul nsw i64 %91, %92
  %94 = icmp slt i64 %88, %93
  br i1 %94, label %95, label %103

95:                                               ; preds = %85
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = load i64, ptr %16, align 8, !tbaa !26
  %98 = load i64, ptr %15, align 8, !tbaa !26
  %99 = mul nsw i64 %97, %98
  %100 = load i64, ptr %15, align 8, !tbaa !26
  %101 = mul nsw i64 %99, %100
  %102 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %96, i64 noundef %101, ptr noundef %102)
  br label %103

103:                                              ; preds = %95, %85
  store i64 0, ptr %17, align 8, !tbaa !26
  br label %104

104:                                              ; preds = %182, %103
  %105 = load i64, ptr %17, align 8, !tbaa !26
  %106 = load i64, ptr %16, align 8, !tbaa !26
  %107 = sub nsw i64 %106, 1
  %108 = icmp sle i64 %105, %107
  br i1 %108, label %109, label %185

109:                                              ; preds = %104
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %110, i32 0, i32 5
  %112 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %111, i32 0, i32 6
  %113 = load ptr, ptr %112, align 8, !tbaa !28
  %114 = load i64, ptr %17, align 8, !tbaa !26
  %115 = getelementptr inbounds ptr, ptr %113, i64 %114
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  %117 = load i64, ptr %15, align 8, !tbaa !26
  %118 = getelementptr inbounds double, ptr %116, i64 %117
  %119 = load double, ptr %118, align 8, !tbaa !29
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %120, i32 0, i32 4
  %122 = load ptr, ptr %121, align 8, !tbaa !28
  %123 = load i64, ptr %17, align 8, !tbaa !26
  %124 = getelementptr inbounds double, ptr %122, i64 %123
  store double %119, ptr %124, align 8, !tbaa !29
  store i64 0, ptr %18, align 8, !tbaa !26
  br label %125

125:                                              ; preds = %178, %109
  %126 = load i64, ptr %18, align 8, !tbaa !26
  %127 = load i64, ptr %15, align 8, !tbaa !26
  %128 = sub nsw i64 %127, 1
  %129 = icmp sle i64 %126, %128
  br i1 %129, label %130, label %181

130:                                              ; preds = %125
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %131, i32 0, i32 4
  %133 = load ptr, ptr %132, align 8, !tbaa !28
  %134 = load i64, ptr %17, align 8, !tbaa !26
  %135 = getelementptr inbounds double, ptr %133, i64 %134
  %136 = load double, ptr %135, align 8, !tbaa !29
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %137, i32 0, i32 5
  %139 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %138, i32 0, i32 6
  %140 = load ptr, ptr %139, align 8, !tbaa !28
  %141 = load i64, ptr %17, align 8, !tbaa !26
  %142 = getelementptr inbounds ptr, ptr %140, i64 %141
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = load i64, ptr %18, align 8, !tbaa !26
  %145 = getelementptr inbounds double, ptr %143, i64 %144
  %146 = load double, ptr %145, align 8, !tbaa !29
  %147 = load ptr, ptr %10, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %147, i32 0, i32 4
  %149 = load ptr, ptr %148, align 8, !tbaa !28
  %150 = load i64, ptr %18, align 8, !tbaa !26
  %151 = getelementptr inbounds double, ptr %149, i64 %150
  %152 = load double, ptr %151, align 8, !tbaa !29
  %153 = call double @llvm.fmuladd.f64(double %146, double %152, double %136)
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %154, i32 0, i32 4
  %156 = load ptr, ptr %155, align 8, !tbaa !28
  %157 = load i64, ptr %17, align 8, !tbaa !26
  %158 = getelementptr inbounds double, ptr %156, i64 %157
  store double %153, ptr %158, align 8, !tbaa !29
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %159, i32 0, i32 5
  %161 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %160, i32 0, i32 6
  %162 = load ptr, ptr %161, align 8, !tbaa !28
  %163 = load i64, ptr %17, align 8, !tbaa !26
  %164 = getelementptr inbounds ptr, ptr %162, i64 %163
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = load i64, ptr %18, align 8, !tbaa !26
  %167 = getelementptr inbounds double, ptr %165, i64 %166
  %168 = load double, ptr %167, align 8, !tbaa !29
  %169 = load ptr, ptr %12, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %169, i32 0, i32 4
  %171 = load ptr, ptr %170, align 8, !tbaa !28
  %172 = load i64, ptr %17, align 8, !tbaa !26
  %173 = load i64, ptr %15, align 8, !tbaa !26
  %174 = mul nsw i64 %172, %173
  %175 = load i64, ptr %18, align 8, !tbaa !26
  %176 = add nsw i64 %174, %175
  %177 = getelementptr inbounds double, ptr %171, i64 %176
  store double %168, ptr %177, align 8, !tbaa !29
  br label %178

178:                                              ; preds = %130
  %179 = load i64, ptr %18, align 8, !tbaa !26
  %180 = add nsw i64 %179, 1
  store i64 %180, ptr %18, align 8, !tbaa !26
  br label %125, !llvm.loop !30

181:                                              ; preds = %125
  br label %182

182:                                              ; preds = %181
  %183 = load i64, ptr %17, align 8, !tbaa !26
  %184 = add nsw i64 %183, 1
  store i64 %184, ptr %17, align 8, !tbaa !26
  br label %104, !llvm.loop !32

185:                                              ; preds = %104
  %186 = load i64, ptr %16, align 8, !tbaa !26
  %187 = load i64, ptr %15, align 8, !tbaa !26
  %188 = mul nsw i64 %186, %187
  %189 = load i64, ptr %15, align 8, !tbaa !26
  %190 = mul nsw i64 %188, %189
  %191 = load ptr, ptr %13, align 8, !tbaa !5
  %192 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %190, double noundef 0.000000e+00, ptr noundef %191, ptr noundef %192)
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %193, i32 0, i32 8
  %195 = load i64, ptr %194, align 8, !tbaa !33
  %196 = icmp eq i64 %195, 0
  br i1 %196, label %197, label %198

197:                                              ; preds = %185
  store i32 1, ptr %32, align 4
  br label %843

198:                                              ; preds = %185
  store i64 0, ptr %18, align 8, !tbaa !26
  br label %199

199:                                              ; preds = %225, %198
  %200 = load i64, ptr %18, align 8, !tbaa !26
  %201 = load i64, ptr %15, align 8, !tbaa !26
  %202 = sub nsw i64 %201, 1
  %203 = icmp sle i64 %200, %202
  br i1 %203, label %204, label %228

204:                                              ; preds = %199
  %205 = load ptr, ptr %10, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %205, i32 0, i32 4
  %207 = load ptr, ptr %206, align 8, !tbaa !28
  %208 = load i64, ptr %18, align 8, !tbaa !26
  %209 = getelementptr inbounds double, ptr %207, i64 %208
  %210 = load double, ptr %209, align 8, !tbaa !29
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %211, i32 0, i32 4
  %213 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %212, i32 0, i32 4
  %214 = load ptr, ptr %213, align 8, !tbaa !28
  %215 = load i64, ptr %18, align 8, !tbaa !26
  %216 = getelementptr inbounds double, ptr %214, i64 %215
  %217 = load double, ptr %216, align 8, !tbaa !29
  %218 = fdiv double %210, %217
  %219 = load ptr, ptr %9, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %219, i32 0, i32 0
  %221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %220, i32 0, i32 4
  %222 = load ptr, ptr %221, align 8, !tbaa !28
  %223 = load i64, ptr %18, align 8, !tbaa !26
  %224 = getelementptr inbounds double, ptr %222, i64 %223
  store double %218, ptr %224, align 8, !tbaa !29
  br label %225

225:                                              ; preds = %204
  %226 = load i64, ptr %18, align 8, !tbaa !26
  %227 = add nsw i64 %226, 1
  store i64 %227, ptr %18, align 8, !tbaa !26
  br label %199, !llvm.loop !34

228:                                              ; preds = %199
  store i64 0, ptr %17, align 8, !tbaa !26
  br label %229

229:                                              ; preds = %272, %228
  %230 = load i64, ptr %17, align 8, !tbaa !26
  %231 = load i64, ptr %16, align 8, !tbaa !26
  %232 = sub nsw i64 %231, 1
  %233 = icmp sle i64 %230, %232
  br i1 %233, label %234, label %275

234:                                              ; preds = %229
  store i64 0, ptr %18, align 8, !tbaa !26
  br label %235

235:                                              ; preds = %268, %234
  %236 = load i64, ptr %18, align 8, !tbaa !26
  %237 = load i64, ptr %15, align 8, !tbaa !26
  %238 = sub nsw i64 %237, 1
  %239 = icmp sle i64 %236, %238
  br i1 %239, label %240, label %271

240:                                              ; preds = %235
  %241 = load ptr, ptr %12, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %241, i32 0, i32 4
  %243 = load ptr, ptr %242, align 8, !tbaa !28
  %244 = load i64, ptr %17, align 8, !tbaa !26
  %245 = load i64, ptr %15, align 8, !tbaa !26
  %246 = mul nsw i64 %244, %245
  %247 = load i64, ptr %18, align 8, !tbaa !26
  %248 = add nsw i64 %246, %247
  %249 = getelementptr inbounds double, ptr %243, i64 %248
  %250 = load double, ptr %249, align 8, !tbaa !29
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %251, i32 0, i32 4
  %253 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %252, i32 0, i32 4
  %254 = load ptr, ptr %253, align 8, !tbaa !28
  %255 = load i64, ptr %18, align 8, !tbaa !26
  %256 = getelementptr inbounds double, ptr %254, i64 %255
  %257 = load double, ptr %256, align 8, !tbaa !29
  %258 = fmul double %250, %257
  %259 = load ptr, ptr %12, align 8, !tbaa !5
  %260 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %259, i32 0, i32 4
  %261 = load ptr, ptr %260, align 8, !tbaa !28
  %262 = load i64, ptr %17, align 8, !tbaa !26
  %263 = load i64, ptr %15, align 8, !tbaa !26
  %264 = mul nsw i64 %262, %263
  %265 = load i64, ptr %18, align 8, !tbaa !26
  %266 = add nsw i64 %264, %265
  %267 = getelementptr inbounds double, ptr %261, i64 %266
  store double %258, ptr %267, align 8, !tbaa !29
  br label %268

268:                                              ; preds = %240
  %269 = load i64, ptr %18, align 8, !tbaa !26
  %270 = add nsw i64 %269, 1
  store i64 %270, ptr %18, align 8, !tbaa !26
  br label %235, !llvm.loop !35

271:                                              ; preds = %235
  br label %272

272:                                              ; preds = %271
  %273 = load i64, ptr %17, align 8, !tbaa !26
  %274 = add nsw i64 %273, 1
  store i64 %274, ptr %17, align 8, !tbaa !26
  br label %229, !llvm.loop !36

275:                                              ; preds = %229
  store i8 0, ptr %23, align 1, !tbaa !37
  store i8 0, ptr %24, align 1, !tbaa !37
  %276 = load i64, ptr %15, align 8, !tbaa !26
  %277 = load ptr, ptr %9, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %277, i32 0, i32 0
  %279 = load ptr, ptr %14, align 8, !tbaa !5
  %280 = call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %276, ptr noundef %278, ptr noundef %279)
  %281 = fadd double %280, 1.000000e+00
  %282 = load ptr, ptr %14, align 8, !tbaa !5
  %283 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef 5.000000e-14, ptr noundef %282)
  %284 = fmul double %281, %283
  store double %284, ptr %25, align 8, !tbaa !29
  %285 = load ptr, ptr %8, align 8, !tbaa !5
  %286 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %285, i32 0, i32 2
  %287 = load i64, ptr %286, align 8, !tbaa !38
  %288 = icmp eq i64 %287, 1
  br i1 %288, label %294, label %289

289:                                              ; preds = %275
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  %291 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %290, i32 0, i32 2
  %292 = load i64, ptr %291, align 8, !tbaa !38
  %293 = icmp eq i64 %292, 2
  br label %294

294:                                              ; preds = %289, %275
  %295 = phi i1 [ true, %275 ], [ %293, %289 ]
  %296 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %295, ptr noundef @.str.795, ptr noundef %296)
  %297 = load ptr, ptr %8, align 8, !tbaa !5
  %298 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %297, i32 0, i32 2
  %299 = load i64, ptr %298, align 8, !tbaa !38
  %300 = icmp ne i64 %299, 1
  br i1 %300, label %306, label %301

301:                                              ; preds = %294
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %302, i32 0, i32 3
  %304 = load double, ptr %303, align 8, !tbaa !39
  %305 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %304, double noundef 0.000000e+00)
  br label %306

306:                                              ; preds = %301, %294
  %307 = phi i1 [ true, %294 ], [ %305, %301 ]
  %308 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %307, ptr noundef @.str.796, ptr noundef %308)
  %309 = load ptr, ptr %8, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %309, i32 0, i32 9
  %311 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluator", ptr %310, i32 0, i32 6
  %312 = load i64, ptr %311, align 8, !tbaa !40
  store i64 %312, ptr %30, align 8, !tbaa !26
  %313 = load i64, ptr %30, align 8, !tbaa !26
  %314 = load ptr, ptr %9, align 8, !tbaa !5
  %315 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %314, i32 0, i32 1
  %316 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %315, i32 0, i32 3
  %317 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %313, ptr noundef %316, ptr noundef %317)
  %318 = load i64, ptr %30, align 8, !tbaa !26
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  %320 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %319, i32 0, i32 1
  %321 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %320, i32 0, i32 4
  %322 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %318, ptr noundef %321, ptr noundef %322)
  %323 = load i64, ptr %30, align 8, !tbaa !26
  %324 = load ptr, ptr %9, align 8, !tbaa !5
  %325 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %324, i32 0, i32 1
  %326 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %325, i32 0, i32 6
  %327 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %323, ptr noundef %326, ptr noundef %327)
  %328 = load i64, ptr %30, align 8, !tbaa !26
  %329 = load ptr, ptr %9, align 8, !tbaa !5
  %330 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %329, i32 0, i32 1
  %331 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %330, i32 0, i32 7
  %332 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %328, ptr noundef %331, ptr noundef %332)
  %333 = load i64, ptr %15, align 8, !tbaa !26
  %334 = load i64, ptr %30, align 8, !tbaa !26
  %335 = load ptr, ptr %9, align 8, !tbaa !5
  %336 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %335, i32 0, i32 1
  %337 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %336, i32 0, i32 10
  %338 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %333, i64 noundef %334, ptr noundef %337, ptr noundef %338)
  %339 = load i64, ptr %30, align 8, !tbaa !26
  %340 = load ptr, ptr %9, align 8, !tbaa !5
  %341 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %340, i32 0, i32 1
  %342 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %341, i32 0, i32 5
  %343 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %339, double noundef 1.000000e+50, ptr noundef %342, ptr noundef %343)
  store i64 0, ptr %26, align 8, !tbaa !26
  store i64 0, ptr %27, align 8, !tbaa !26
  store i64 0, ptr %28, align 8, !tbaa !26
  store double 1.000000e-50, ptr %31, align 8, !tbaa !29
  %344 = load ptr, ptr %8, align 8, !tbaa !5
  %345 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %344, i32 0, i32 2
  %346 = load i64, ptr %345, align 8, !tbaa !38
  %347 = icmp eq i64 %346, 1
  br i1 %347, label %348, label %354

348:                                              ; preds = %306
  %349 = load ptr, ptr %8, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %349, i32 0, i32 3
  %351 = load double, ptr %350, align 8, !tbaa !39
  %352 = load ptr, ptr %14, align 8, !tbaa !5
  %353 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %351, ptr noundef %352)
  store double %353, ptr %31, align 8, !tbaa !29
  br label %354

354:                                              ; preds = %348, %306
  br label %355

355:                                              ; preds = %607, %354
  %356 = load i64, ptr %26, align 8, !tbaa !26
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %357, i32 0, i32 8
  %359 = load i64, ptr %358, align 8, !tbaa !33
  %360 = icmp slt i64 %356, %359
  br i1 %360, label %361, label %617

361:                                              ; preds = %355
  %362 = load i64, ptr %30, align 8, !tbaa !26
  %363 = load ptr, ptr %8, align 8, !tbaa !5
  %364 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %363, i32 0, i32 8
  %365 = load i64, ptr %364, align 8, !tbaa !33
  %366 = load i64, ptr %26, align 8, !tbaa !26
  %367 = sub nsw i64 %365, %366
  %368 = load ptr, ptr %14, align 8, !tbaa !5
  %369 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %362, i64 noundef %367, ptr noundef %368)
  store i64 %369, ptr %29, align 8, !tbaa !26
  %370 = load ptr, ptr %8, align 8, !tbaa !5
  %371 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %370, i32 0, i32 9
  %372 = load ptr, ptr %9, align 8, !tbaa !5
  %373 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %372, i32 0, i32 0
  %374 = load ptr, ptr %9, align 8, !tbaa !5
  %375 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %374, i32 0, i32 1
  %376 = load i64, ptr %29, align 8, !tbaa !26
  %377 = load i64, ptr %27, align 8, !tbaa !26
  %378 = load double, ptr %31, align 8, !tbaa !29
  %379 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_implL21rbfv3_computerowchunkEPKNS_13rbf3evaluatorEPKNS_9ae_vectorEPNS_19rbf3evaluatorbufferElldlPNS_8ae_stateE(ptr noundef %371, ptr noundef %373, ptr noundef %375, i64 noundef %376, i64 noundef %377, double noundef %378, i64 noundef 2, ptr noundef %379)
  store i64 0, ptr %17, align 8, !tbaa !26
  br label %380

380:                                              ; preds = %604, %361
  %381 = load i64, ptr %17, align 8, !tbaa !26
  %382 = load i64, ptr %16, align 8, !tbaa !26
  %383 = sub nsw i64 %382, 1
  %384 = icmp sle i64 %381, %383
  br i1 %384, label %385, label %607

385:                                              ; preds = %380
  %386 = load ptr, ptr %11, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %386, i32 0, i32 4
  %388 = load ptr, ptr %387, align 8, !tbaa !28
  %389 = load i64, ptr %17, align 8, !tbaa !26
  %390 = getelementptr inbounds double, ptr %388, i64 %389
  %391 = load double, ptr %390, align 8, !tbaa !29
  %392 = load i64, ptr %29, align 8, !tbaa !26
  %393 = load ptr, ptr %9, align 8, !tbaa !5
  %394 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %393, i32 0, i32 1
  %395 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %394, i32 0, i32 3
  %396 = load ptr, ptr %8, align 8, !tbaa !5
  %397 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %396, i32 0, i32 11
  %398 = load i64, ptr %28, align 8, !tbaa !26
  %399 = load i64, ptr %17, align 8, !tbaa !26
  %400 = add nsw i64 %398, %399
  %401 = load ptr, ptr %14, align 8, !tbaa !5
  %402 = call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %392, ptr noundef %395, ptr noundef %397, i64 noundef %400, ptr noundef %401)
  %403 = fadd double %391, %402
  %404 = load ptr, ptr %11, align 8, !tbaa !5
  %405 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %404, i32 0, i32 4
  %406 = load ptr, ptr %405, align 8, !tbaa !28
  %407 = load i64, ptr %17, align 8, !tbaa !26
  %408 = getelementptr inbounds double, ptr %406, i64 %407
  store double %403, ptr %408, align 8, !tbaa !29
  store i64 0, ptr %20, align 8, !tbaa !26
  br label %409

409:                                              ; preds = %463, %385
  %410 = load i64, ptr %20, align 8, !tbaa !26
  %411 = load i64, ptr %15, align 8, !tbaa !26
  %412 = sub nsw i64 %411, 1
  %413 = icmp sle i64 %410, %412
  br i1 %413, label %414, label %466

414:                                              ; preds = %409
  %415 = load i64, ptr %29, align 8, !tbaa !26
  %416 = load ptr, ptr %9, align 8, !tbaa !5
  %417 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %416, i32 0, i32 1
  %418 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %417, i32 0, i32 10
  %419 = load i64, ptr %20, align 8, !tbaa !26
  %420 = load ptr, ptr %9, align 8, !tbaa !5
  %421 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %420, i32 0, i32 1
  %422 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %421, i32 0, i32 4
  %423 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rcopyrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %415, ptr noundef %418, i64 noundef %419, ptr noundef %422, ptr noundef %423)
  %424 = load i64, ptr %29, align 8, !tbaa !26
  %425 = load ptr, ptr %9, align 8, !tbaa !5
  %426 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %425, i32 0, i32 1
  %427 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %426, i32 0, i32 6
  %428 = load ptr, ptr %9, align 8, !tbaa !5
  %429 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %428, i32 0, i32 1
  %430 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %429, i32 0, i32 4
  %431 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rmergemulvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %424, ptr noundef %427, ptr noundef %430, ptr noundef %431)
  %432 = load ptr, ptr %12, align 8, !tbaa !5
  %433 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %432, i32 0, i32 4
  %434 = load ptr, ptr %433, align 8, !tbaa !28
  %435 = load i64, ptr %17, align 8, !tbaa !26
  %436 = load i64, ptr %15, align 8, !tbaa !26
  %437 = mul nsw i64 %435, %436
  %438 = load i64, ptr %20, align 8, !tbaa !26
  %439 = add nsw i64 %437, %438
  %440 = getelementptr inbounds double, ptr %434, i64 %439
  %441 = load double, ptr %440, align 8, !tbaa !29
  %442 = load i64, ptr %29, align 8, !tbaa !26
  %443 = load ptr, ptr %9, align 8, !tbaa !5
  %444 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %443, i32 0, i32 1
  %445 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %444, i32 0, i32 4
  %446 = load ptr, ptr %8, align 8, !tbaa !5
  %447 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %446, i32 0, i32 11
  %448 = load i64, ptr %28, align 8, !tbaa !26
  %449 = load i64, ptr %17, align 8, !tbaa !26
  %450 = add nsw i64 %448, %449
  %451 = load ptr, ptr %14, align 8, !tbaa !5
  %452 = call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %442, ptr noundef %445, ptr noundef %447, i64 noundef %450, ptr noundef %451)
  %453 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %452, double %441)
  %454 = load ptr, ptr %12, align 8, !tbaa !5
  %455 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %454, i32 0, i32 4
  %456 = load ptr, ptr %455, align 8, !tbaa !28
  %457 = load i64, ptr %17, align 8, !tbaa !26
  %458 = load i64, ptr %15, align 8, !tbaa !26
  %459 = mul nsw i64 %457, %458
  %460 = load i64, ptr %20, align 8, !tbaa !26
  %461 = add nsw i64 %459, %460
  %462 = getelementptr inbounds double, ptr %456, i64 %461
  store double %453, ptr %462, align 8, !tbaa !29
  br label %463

463:                                              ; preds = %414
  %464 = load i64, ptr %20, align 8, !tbaa !26
  %465 = add nsw i64 %464, 1
  store i64 %465, ptr %20, align 8, !tbaa !26
  br label %409, !llvm.loop !41

466:                                              ; preds = %409
  store i64 0, ptr %20, align 8, !tbaa !26
  br label %467

467:                                              ; preds = %600, %466
  %468 = load i64, ptr %20, align 8, !tbaa !26
  %469 = load i64, ptr %15, align 8, !tbaa !26
  %470 = sub nsw i64 %469, 1
  %471 = icmp sle i64 %468, %470
  br i1 %471, label %472, label %603

472:                                              ; preds = %467
  store i64 0, ptr %21, align 8, !tbaa !26
  br label %473

473:                                              ; preds = %596, %472
  %474 = load i64, ptr %21, align 8, !tbaa !26
  %475 = load i64, ptr %15, align 8, !tbaa !26
  %476 = sub nsw i64 %475, 1
  %477 = icmp sle i64 %474, %476
  br i1 %477, label %478, label %599

478:                                              ; preds = %473
  %479 = load i64, ptr %29, align 8, !tbaa !26
  %480 = load ptr, ptr %9, align 8, !tbaa !5
  %481 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %480, i32 0, i32 1
  %482 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %481, i32 0, i32 7
  %483 = load ptr, ptr %9, align 8, !tbaa !5
  %484 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %483, i32 0, i32 1
  %485 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %484, i32 0, i32 4
  %486 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %479, ptr noundef %482, ptr noundef %485, ptr noundef %486)
  %487 = load i64, ptr %29, align 8, !tbaa !26
  %488 = load ptr, ptr %9, align 8, !tbaa !5
  %489 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %488, i32 0, i32 1
  %490 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %489, i32 0, i32 10
  %491 = load i64, ptr %20, align 8, !tbaa !26
  %492 = load ptr, ptr %9, align 8, !tbaa !5
  %493 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %492, i32 0, i32 1
  %494 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %493, i32 0, i32 4
  %495 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmergemulrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %487, ptr noundef %490, i64 noundef %491, ptr noundef %494, ptr noundef %495)
  %496 = load i64, ptr %29, align 8, !tbaa !26
  %497 = load ptr, ptr %9, align 8, !tbaa !5
  %498 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %497, i32 0, i32 1
  %499 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %498, i32 0, i32 10
  %500 = load i64, ptr %21, align 8, !tbaa !26
  %501 = load ptr, ptr %9, align 8, !tbaa !5
  %502 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %501, i32 0, i32 1
  %503 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %502, i32 0, i32 4
  %504 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl11rmergemulrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %496, ptr noundef %499, i64 noundef %500, ptr noundef %503, ptr noundef %504)
  %505 = load ptr, ptr %13, align 8, !tbaa !5
  %506 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %505, i32 0, i32 4
  %507 = load ptr, ptr %506, align 8, !tbaa !28
  %508 = load i64, ptr %17, align 8, !tbaa !26
  %509 = load i64, ptr %15, align 8, !tbaa !26
  %510 = mul nsw i64 %508, %509
  %511 = load i64, ptr %15, align 8, !tbaa !26
  %512 = mul nsw i64 %510, %511
  %513 = load i64, ptr %20, align 8, !tbaa !26
  %514 = load i64, ptr %15, align 8, !tbaa !26
  %515 = mul nsw i64 %513, %514
  %516 = add nsw i64 %512, %515
  %517 = load i64, ptr %21, align 8, !tbaa !26
  %518 = add nsw i64 %516, %517
  %519 = getelementptr inbounds double, ptr %507, i64 %518
  %520 = load double, ptr %519, align 8, !tbaa !29
  %521 = load i64, ptr %29, align 8, !tbaa !26
  %522 = load ptr, ptr %9, align 8, !tbaa !5
  %523 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %522, i32 0, i32 1
  %524 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %523, i32 0, i32 4
  %525 = load ptr, ptr %8, align 8, !tbaa !5
  %526 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %525, i32 0, i32 11
  %527 = load i64, ptr %28, align 8, !tbaa !26
  %528 = load i64, ptr %17, align 8, !tbaa !26
  %529 = add nsw i64 %527, %528
  %530 = load ptr, ptr %14, align 8, !tbaa !5
  %531 = call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %521, ptr noundef %524, ptr noundef %526, i64 noundef %529, ptr noundef %530)
  %532 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %531, double %520)
  %533 = load ptr, ptr %13, align 8, !tbaa !5
  %534 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %533, i32 0, i32 4
  %535 = load ptr, ptr %534, align 8, !tbaa !28
  %536 = load i64, ptr %17, align 8, !tbaa !26
  %537 = load i64, ptr %15, align 8, !tbaa !26
  %538 = mul nsw i64 %536, %537
  %539 = load i64, ptr %15, align 8, !tbaa !26
  %540 = mul nsw i64 %538, %539
  %541 = load i64, ptr %20, align 8, !tbaa !26
  %542 = load i64, ptr %15, align 8, !tbaa !26
  %543 = mul nsw i64 %541, %542
  %544 = add nsw i64 %540, %543
  %545 = load i64, ptr %21, align 8, !tbaa !26
  %546 = add nsw i64 %544, %545
  %547 = getelementptr inbounds double, ptr %535, i64 %546
  store double %532, ptr %547, align 8, !tbaa !29
  %548 = load i64, ptr %20, align 8, !tbaa !26
  %549 = load i64, ptr %21, align 8, !tbaa !26
  %550 = icmp eq i64 %548, %549
  br i1 %550, label %551, label %595

551:                                              ; preds = %478
  %552 = load ptr, ptr %13, align 8, !tbaa !5
  %553 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %552, i32 0, i32 4
  %554 = load ptr, ptr %553, align 8, !tbaa !28
  %555 = load i64, ptr %17, align 8, !tbaa !26
  %556 = load i64, ptr %15, align 8, !tbaa !26
  %557 = mul nsw i64 %555, %556
  %558 = load i64, ptr %15, align 8, !tbaa !26
  %559 = mul nsw i64 %557, %558
  %560 = load i64, ptr %20, align 8, !tbaa !26
  %561 = load i64, ptr %15, align 8, !tbaa !26
  %562 = mul nsw i64 %560, %561
  %563 = add nsw i64 %559, %562
  %564 = load i64, ptr %21, align 8, !tbaa !26
  %565 = add nsw i64 %563, %564
  %566 = getelementptr inbounds double, ptr %554, i64 %565
  %567 = load double, ptr %566, align 8, !tbaa !29
  %568 = load i64, ptr %29, align 8, !tbaa !26
  %569 = load ptr, ptr %9, align 8, !tbaa !5
  %570 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %569, i32 0, i32 1
  %571 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %570, i32 0, i32 6
  %572 = load ptr, ptr %8, align 8, !tbaa !5
  %573 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %572, i32 0, i32 11
  %574 = load i64, ptr %28, align 8, !tbaa !26
  %575 = load i64, ptr %17, align 8, !tbaa !26
  %576 = add nsw i64 %574, %575
  %577 = load ptr, ptr %14, align 8, !tbaa !5
  %578 = call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %568, ptr noundef %571, ptr noundef %573, i64 noundef %576, ptr noundef %577)
  %579 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %578, double %567)
  %580 = load ptr, ptr %13, align 8, !tbaa !5
  %581 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %580, i32 0, i32 4
  %582 = load ptr, ptr %581, align 8, !tbaa !28
  %583 = load i64, ptr %17, align 8, !tbaa !26
  %584 = load i64, ptr %15, align 8, !tbaa !26
  %585 = mul nsw i64 %583, %584
  %586 = load i64, ptr %15, align 8, !tbaa !26
  %587 = mul nsw i64 %585, %586
  %588 = load i64, ptr %20, align 8, !tbaa !26
  %589 = load i64, ptr %15, align 8, !tbaa !26
  %590 = mul nsw i64 %588, %589
  %591 = add nsw i64 %587, %590
  %592 = load i64, ptr %21, align 8, !tbaa !26
  %593 = add nsw i64 %591, %592
  %594 = getelementptr inbounds double, ptr %582, i64 %593
  store double %579, ptr %594, align 8, !tbaa !29
  br label %595

595:                                              ; preds = %551, %478
  br label %596

596:                                              ; preds = %595
  %597 = load i64, ptr %21, align 8, !tbaa !26
  %598 = add nsw i64 %597, 1
  store i64 %598, ptr %21, align 8, !tbaa !26
  br label %473, !llvm.loop !42

599:                                              ; preds = %473
  br label %600

600:                                              ; preds = %599
  %601 = load i64, ptr %20, align 8, !tbaa !26
  %602 = add nsw i64 %601, 1
  store i64 %602, ptr %20, align 8, !tbaa !26
  br label %467, !llvm.loop !43

603:                                              ; preds = %467
  br label %604

604:                                              ; preds = %603
  %605 = load i64, ptr %17, align 8, !tbaa !26
  %606 = add nsw i64 %605, 1
  store i64 %606, ptr %17, align 8, !tbaa !26
  br label %380, !llvm.loop !44

607:                                              ; preds = %380
  %608 = load i64, ptr %26, align 8, !tbaa !26
  %609 = load i64, ptr %29, align 8, !tbaa !26
  %610 = add nsw i64 %608, %609
  store i64 %610, ptr %26, align 8, !tbaa !26
  %611 = load i64, ptr %27, align 8, !tbaa !26
  %612 = load i64, ptr %15, align 8, !tbaa !26
  %613 = add nsw i64 %611, %612
  store i64 %613, ptr %27, align 8, !tbaa !26
  %614 = load i64, ptr %28, align 8, !tbaa !26
  %615 = load i64, ptr %16, align 8, !tbaa !26
  %616 = add nsw i64 %614, %615
  store i64 %616, ptr %28, align 8, !tbaa !26
  br label %355, !llvm.loop !45

617:                                              ; preds = %355
  store i8 0, ptr %22, align 1, !tbaa !37
  %618 = load ptr, ptr %8, align 8, !tbaa !5
  %619 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %618, i32 0, i32 2
  %620 = load i64, ptr %619, align 8, !tbaa !38
  %621 = icmp eq i64 %620, 1
  br i1 %621, label %622, label %627

622:                                              ; preds = %617
  %623 = load ptr, ptr %8, align 8, !tbaa !5
  %624 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %623, i32 0, i32 3
  %625 = load double, ptr %624, align 8, !tbaa !39
  %626 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %625, double noundef 0.000000e+00)
  br i1 %626, label %632, label %627

627:                                              ; preds = %622, %617
  %628 = load ptr, ptr %8, align 8, !tbaa !5
  %629 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %628, i32 0, i32 2
  %630 = load i64, ptr %629, align 8, !tbaa !38
  %631 = icmp eq i64 %630, 2
  br i1 %631, label %632, label %659

632:                                              ; preds = %627, %622
  store i64 0, ptr %17, align 8, !tbaa !26
  br label %633

633:                                              ; preds = %655, %632
  %634 = load i64, ptr %17, align 8, !tbaa !26
  %635 = load i64, ptr %30, align 8, !tbaa !26
  %636 = sub nsw i64 %635, 1
  %637 = icmp sle i64 %634, %636
  br i1 %637, label %638, label %658

638:                                              ; preds = %633
  %639 = load i8, ptr %22, align 1, !tbaa !37, !range !46, !noundef !47
  %640 = trunc i8 %639 to i1
  br i1 %640, label %652, label %641

641:                                              ; preds = %638
  %642 = load ptr, ptr %9, align 8, !tbaa !5
  %643 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %642, i32 0, i32 1
  %644 = getelementptr inbounds %"struct.alglib_impl::rbf3evaluatorbuffer", ptr %643, i32 0, i32 5
  %645 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %644, i32 0, i32 4
  %646 = load ptr, ptr %645, align 8, !tbaa !28
  %647 = load i64, ptr %17, align 8, !tbaa !26
  %648 = getelementptr inbounds double, ptr %646, i64 %647
  %649 = load double, ptr %648, align 8, !tbaa !29
  %650 = load double, ptr %25, align 8, !tbaa !29
  %651 = fcmp ole double %649, %650
  br label %652

652:                                              ; preds = %641, %638
  %653 = phi i1 [ true, %638 ], [ %651, %641 ]
  %654 = zext i1 %653 to i8
  store i8 %654, ptr %22, align 1, !tbaa !37
  br label %655

655:                                              ; preds = %652
  %656 = load i64, ptr %17, align 8, !tbaa !26
  %657 = add nsw i64 %656, 1
  store i64 %657, ptr %17, align 8, !tbaa !26
  br label %633, !llvm.loop !48

658:                                              ; preds = %633
  br label %659

659:                                              ; preds = %658, %627
  %660 = load i8, ptr %22, align 1, !tbaa !37, !range !46, !noundef !47
  %661 = trunc i8 %660 to i1
  br i1 %661, label %662, label %674

662:                                              ; preds = %659
  %663 = load ptr, ptr %8, align 8, !tbaa !5
  %664 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %663, i32 0, i32 2
  %665 = load i64, ptr %664, align 8, !tbaa !38
  %666 = icmp eq i64 %665, 1
  br i1 %666, label %667, label %672

667:                                              ; preds = %662
  %668 = load ptr, ptr %8, align 8, !tbaa !5
  %669 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %668, i32 0, i32 3
  %670 = load double, ptr %669, align 8, !tbaa !39
  %671 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %670, double noundef 0.000000e+00)
  br label %672

672:                                              ; preds = %667, %662
  %673 = phi i1 [ false, %662 ], [ %671, %667 ]
  br label %674

674:                                              ; preds = %672, %659
  %675 = phi i1 [ false, %659 ], [ %673, %672 ]
  %676 = zext i1 %675 to i8
  store i8 %676, ptr %23, align 1, !tbaa !37
  %677 = load i8, ptr %22, align 1, !tbaa !37, !range !46, !noundef !47
  %678 = trunc i8 %677 to i1
  br i1 %678, label %679, label %696

679:                                              ; preds = %674
  %680 = load ptr, ptr %8, align 8, !tbaa !5
  %681 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %680, i32 0, i32 2
  %682 = load i64, ptr %681, align 8, !tbaa !38
  %683 = icmp eq i64 %682, 1
  br i1 %683, label %684, label %689

684:                                              ; preds = %679
  %685 = load ptr, ptr %8, align 8, !tbaa !5
  %686 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %685, i32 0, i32 3
  %687 = load double, ptr %686, align 8, !tbaa !39
  %688 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %687, double noundef 0.000000e+00)
  br i1 %688, label %694, label %689

689:                                              ; preds = %684, %679
  %690 = load ptr, ptr %8, align 8, !tbaa !5
  %691 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %690, i32 0, i32 2
  %692 = load i64, ptr %691, align 8, !tbaa !38
  %693 = icmp eq i64 %692, 2
  br label %694

694:                                              ; preds = %689, %684
  %695 = phi i1 [ true, %684 ], [ %693, %689 ]
  br label %696

696:                                              ; preds = %694, %674
  %697 = phi i1 [ false, %674 ], [ %695, %694 ]
  %698 = zext i1 %697 to i8
  store i8 %698, ptr %24, align 1, !tbaa !37
  %699 = load i8, ptr %23, align 1, !tbaa !37, !range !46, !noundef !47
  %700 = trunc i8 %699 to i1
  br i1 %700, label %701, label %707

701:                                              ; preds = %696
  %702 = load i64, ptr %16, align 8, !tbaa !26
  %703 = load i64, ptr %15, align 8, !tbaa !26
  %704 = mul nsw i64 %702, %703
  %705 = load ptr, ptr %12, align 8, !tbaa !5
  %706 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %704, double noundef 0.000000e+00, ptr noundef %705, ptr noundef %706)
  br label %707

707:                                              ; preds = %701, %696
  %708 = load i8, ptr %24, align 1, !tbaa !37, !range !46, !noundef !47
  %709 = trunc i8 %708 to i1
  br i1 %709, label %710, label %718

710:                                              ; preds = %707
  %711 = load i64, ptr %16, align 8, !tbaa !26
  %712 = load i64, ptr %15, align 8, !tbaa !26
  %713 = mul nsw i64 %711, %712
  %714 = load i64, ptr %15, align 8, !tbaa !26
  %715 = mul nsw i64 %713, %714
  %716 = load ptr, ptr %13, align 8, !tbaa !5
  %717 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %715, double noundef 0.000000e+00, ptr noundef %716, ptr noundef %717)
  br label %718

718:                                              ; preds = %710, %707
  store i64 0, ptr %17, align 8, !tbaa !26
  br label %719

719:                                              ; preds = %762, %718
  %720 = load i64, ptr %17, align 8, !tbaa !26
  %721 = load i64, ptr %16, align 8, !tbaa !26
  %722 = sub nsw i64 %721, 1
  %723 = icmp sle i64 %720, %722
  br i1 %723, label %724, label %765

724:                                              ; preds = %719
  store i64 0, ptr %18, align 8, !tbaa !26
  br label %725

725:                                              ; preds = %758, %724
  %726 = load i64, ptr %18, align 8, !tbaa !26
  %727 = load i64, ptr %15, align 8, !tbaa !26
  %728 = sub nsw i64 %727, 1
  %729 = icmp sle i64 %726, %728
  br i1 %729, label %730, label %761

730:                                              ; preds = %725
  %731 = load ptr, ptr %12, align 8, !tbaa !5
  %732 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %731, i32 0, i32 4
  %733 = load ptr, ptr %732, align 8, !tbaa !28
  %734 = load i64, ptr %17, align 8, !tbaa !26
  %735 = load i64, ptr %15, align 8, !tbaa !26
  %736 = mul nsw i64 %734, %735
  %737 = load i64, ptr %18, align 8, !tbaa !26
  %738 = add nsw i64 %736, %737
  %739 = getelementptr inbounds double, ptr %733, i64 %738
  %740 = load double, ptr %739, align 8, !tbaa !29
  %741 = load ptr, ptr %8, align 8, !tbaa !5
  %742 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %741, i32 0, i32 4
  %743 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %742, i32 0, i32 4
  %744 = load ptr, ptr %743, align 8, !tbaa !28
  %745 = load i64, ptr %18, align 8, !tbaa !26
  %746 = getelementptr inbounds double, ptr %744, i64 %745
  %747 = load double, ptr %746, align 8, !tbaa !29
  %748 = fdiv double %740, %747
  %749 = load ptr, ptr %12, align 8, !tbaa !5
  %750 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %749, i32 0, i32 4
  %751 = load ptr, ptr %750, align 8, !tbaa !28
  %752 = load i64, ptr %17, align 8, !tbaa !26
  %753 = load i64, ptr %15, align 8, !tbaa !26
  %754 = mul nsw i64 %752, %753
  %755 = load i64, ptr %18, align 8, !tbaa !26
  %756 = add nsw i64 %754, %755
  %757 = getelementptr inbounds double, ptr %751, i64 %756
  store double %748, ptr %757, align 8, !tbaa !29
  br label %758

758:                                              ; preds = %730
  %759 = load i64, ptr %18, align 8, !tbaa !26
  %760 = add nsw i64 %759, 1
  store i64 %760, ptr %18, align 8, !tbaa !26
  br label %725, !llvm.loop !49

761:                                              ; preds = %725
  br label %762

762:                                              ; preds = %761
  %763 = load i64, ptr %17, align 8, !tbaa !26
  %764 = add nsw i64 %763, 1
  store i64 %764, ptr %17, align 8, !tbaa !26
  br label %719, !llvm.loop !50

765:                                              ; preds = %719
  store i64 0, ptr %17, align 8, !tbaa !26
  br label %766

766:                                              ; preds = %839, %765
  %767 = load i64, ptr %17, align 8, !tbaa !26
  %768 = load i64, ptr %16, align 8, !tbaa !26
  %769 = sub nsw i64 %768, 1
  %770 = icmp sle i64 %767, %769
  br i1 %770, label %771, label %842

771:                                              ; preds = %766
  store i64 0, ptr %18, align 8, !tbaa !26
  br label %772

772:                                              ; preds = %835, %771
  %773 = load i64, ptr %18, align 8, !tbaa !26
  %774 = load i64, ptr %15, align 8, !tbaa !26
  %775 = sub nsw i64 %774, 1
  %776 = icmp sle i64 %773, %775
  br i1 %776, label %777, label %838

777:                                              ; preds = %772
  store i64 0, ptr %19, align 8, !tbaa !26
  br label %778

778:                                              ; preds = %831, %777
  %779 = load i64, ptr %19, align 8, !tbaa !26
  %780 = load i64, ptr %15, align 8, !tbaa !26
  %781 = sub nsw i64 %780, 1
  %782 = icmp sle i64 %779, %781
  br i1 %782, label %783, label %834

783:                                              ; preds = %778
  %784 = load ptr, ptr %13, align 8, !tbaa !5
  %785 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %784, i32 0, i32 4
  %786 = load ptr, ptr %785, align 8, !tbaa !28
  %787 = load i64, ptr %17, align 8, !tbaa !26
  %788 = load i64, ptr %15, align 8, !tbaa !26
  %789 = mul nsw i64 %787, %788
  %790 = load i64, ptr %15, align 8, !tbaa !26
  %791 = mul nsw i64 %789, %790
  %792 = load i64, ptr %18, align 8, !tbaa !26
  %793 = load i64, ptr %15, align 8, !tbaa !26
  %794 = mul nsw i64 %792, %793
  %795 = add nsw i64 %791, %794
  %796 = load i64, ptr %19, align 8, !tbaa !26
  %797 = add nsw i64 %795, %796
  %798 = getelementptr inbounds double, ptr %786, i64 %797
  %799 = load double, ptr %798, align 8, !tbaa !29
  %800 = load ptr, ptr %8, align 8, !tbaa !5
  %801 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %800, i32 0, i32 4
  %802 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %801, i32 0, i32 4
  %803 = load ptr, ptr %802, align 8, !tbaa !28
  %804 = load i64, ptr %18, align 8, !tbaa !26
  %805 = getelementptr inbounds double, ptr %803, i64 %804
  %806 = load double, ptr %805, align 8, !tbaa !29
  %807 = load ptr, ptr %8, align 8, !tbaa !5
  %808 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %807, i32 0, i32 4
  %809 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %808, i32 0, i32 4
  %810 = load ptr, ptr %809, align 8, !tbaa !28
  %811 = load i64, ptr %19, align 8, !tbaa !26
  %812 = getelementptr inbounds double, ptr %810, i64 %811
  %813 = load double, ptr %812, align 8, !tbaa !29
  %814 = fmul double %806, %813
  %815 = fdiv double %799, %814
  %816 = load ptr, ptr %13, align 8, !tbaa !5
  %817 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %816, i32 0, i32 4
  %818 = load ptr, ptr %817, align 8, !tbaa !28
  %819 = load i64, ptr %17, align 8, !tbaa !26
  %820 = load i64, ptr %15, align 8, !tbaa !26
  %821 = mul nsw i64 %819, %820
  %822 = load i64, ptr %15, align 8, !tbaa !26
  %823 = mul nsw i64 %821, %822
  %824 = load i64, ptr %18, align 8, !tbaa !26
  %825 = load i64, ptr %15, align 8, !tbaa !26
  %826 = mul nsw i64 %824, %825
  %827 = add nsw i64 %823, %826
  %828 = load i64, ptr %19, align 8, !tbaa !26
  %829 = add nsw i64 %827, %828
  %830 = getelementptr inbounds double, ptr %818, i64 %829
  store double %815, ptr %830, align 8, !tbaa !29
  br label %831

831:                                              ; preds = %783
  %832 = load i64, ptr %19, align 8, !tbaa !26
  %833 = add nsw i64 %832, 1
  store i64 %833, ptr %19, align 8, !tbaa !26
  br label %778, !llvm.loop !51

834:                                              ; preds = %778
  br label %835

835:                                              ; preds = %834
  %836 = load i64, ptr %18, align 8, !tbaa !26
  %837 = add nsw i64 %836, 1
  store i64 %837, ptr %18, align 8, !tbaa !26
  br label %772, !llvm.loop !52

838:                                              ; preds = %772
  br label %839

839:                                              ; preds = %838
  %840 = load i64, ptr %17, align 8, !tbaa !26
  %841 = add nsw i64 %840, 1
  store i64 %841, ptr %17, align 8, !tbaa !26
  br label %766, !llvm.loop !53

842:                                              ; preds = %766
  store i32 0, ptr %32, align 4
  br label %843

843:                                              ; preds = %842, %197
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  %844 = load i32, ptr %32, align 4
  switch i32 %844, label %846 [
    i32 0, label %845
    i32 1, label %845
  ]

845:                                              ; preds = %843, %843
  ret void

846:                                              ; preds = %843
  unreachable
}

declare void @_ZN11alglib_impl7rcopyrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl11rmergemulrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !12, i64 16, !13, i64 24, !7, i64 56}
!11 = !{!"long", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!14 = !{!15, !11, i64 8}
!15 = !{!"_ZTSN11alglib_impl10rbfv3modelE", !11, i64 0, !11, i64 8, !11, i64 16, !16, i64 24, !10, i64 32, !17, i64 96, !10, i64 176, !10, i64 240, !11, i64 304, !18, i64 312, !21, i64 864, !17, i64 2440, !24, i64 2520, !12, i64 3720, !16, i64 3728}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !7, i64 72}
!18 = !{!"_ZTSN11alglib_impl13rbf3evaluatorE", !11, i64 0, !11, i64 8, !17, i64 16, !11, i64 96, !11, i64 104, !16, i64 112, !11, i64 120, !10, i64 128, !17, i64 192, !17, i64 272, !19, i64 352, !10, i64 488}
!19 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !20, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !11, i64 80, !6, i64 88, !6, i64 96, !13, i64 104}
!20 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !13, i64 8, !12, i64 40}
!21 = !{!"_ZTSN11alglib_impl17rbf3fastevaluatorE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !16, i64 40, !17, i64 48, !10, i64 128, !17, i64 192, !12, i64 272, !22, i64 280, !23, i64 416, !19, i64 1328, !17, i64 1464, !12, i64 1544, !11, i64 1552, !11, i64 1560, !11, i64 1568}
!22 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !11, i64 0, !11, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !20, i64 56, !13, i64 104}
!23 = !{!"_ZTSN11alglib_impl19biharmonicevaluatorE", !11, i64 0, !11, i64 8, !10, i64 16, !10, i64 80, !10, i64 144, !10, i64 208, !10, i64 272, !10, i64 336, !10, i64 400, !10, i64 464, !10, i64 528, !10, i64 592, !10, i64 656, !10, i64 720, !10, i64 784, !10, i64 848}
!24 = !{!"_ZTSN11alglib_impl15rbfv3calcbufferE", !10, i64 0, !25, i64 64, !10, i64 784, !10, i64 848, !17, i64 912, !17, i64 992, !10, i64 1072, !10, i64 1136}
!25 = !{!"_ZTSN11alglib_impl19rbf3evaluatorbufferE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !10, i64 256, !10, i64 320, !10, i64 384, !10, i64 448, !10, i64 512, !10, i64 576, !17, i64 640}
!26 = !{!11, !11, i64 0}
!27 = !{!15, !11, i64 0}
!28 = !{!7, !7, i64 0}
!29 = !{!16, !16, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = !{!15, !11, i64 304}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !31}
!36 = distinct !{!36, !31}
!37 = !{!12, !12, i64 0}
!38 = !{!15, !11, i64 16}
!39 = !{!15, !16, i64 24}
!40 = !{!15, !11, i64 432}
!41 = distinct !{!41, !31}
!42 = distinct !{!42, !31}
!43 = distinct !{!43, !31}
!44 = distinct !{!44, !31}
!45 = distinct !{!45, !31}
!46 = !{i8 0, i8 2}
!47 = !{}
!48 = distinct !{!48, !31}
!49 = distinct !{!49, !31}
!50 = distinct !{!50, !31}
!51 = distinct !{!51, !31}
!52 = distinct !{!52, !31}
!53 = distinct !{!53, !31}


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

@.str.790 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.791 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.795 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.796 = external hidden unnamed_addr constant [44 x i8], align 1

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) local_unnamed_addr #0

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

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef, double noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl10rmergemulvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL21rbfv3_computerowchunkEPKNS_13rbf3evaluatorEPKNS_9ae_vectorEPNS_19rbf3evaluatorbufferElldlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rbfv3tshessbufEPKNS_10rbfv3modelEPNS_15rbfv3calcbufferEPKNS_9ae_vectorEPS5_S8_S8_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #2 {
  %8 = load i64, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !13
  %11 = icmp sge i64 %8, %10
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %11, ptr noundef nonnull @.str.790, ptr noundef %6)
  %12 = load i64, ptr %9, align 8, !tbaa !13
  %13 = tail call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %2, i64 noundef %12, ptr noundef %6)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %13, ptr noundef nonnull @.str.791, ptr noundef %6)
  %14 = load i64, ptr %9, align 8, !tbaa !13
  %15 = load i64, ptr %0, align 8, !tbaa !25
  %16 = load i64, ptr %3, align 8, !tbaa !5
  %17 = icmp slt i64 %16, %15
  br i1 %17, label %18, label %19

18:                                               ; preds = %7
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %15, ptr noundef %6)
  %.pre = load i64, ptr %0, align 8, !tbaa !25
  %.pre442 = load i64, ptr %9, align 8, !tbaa !13
  br label %19

19:                                               ; preds = %18, %7
  %20 = phi i64 [ %.pre442, %18 ], [ %14, %7 ]
  %21 = phi i64 [ %.pre, %18 ], [ %15, %7 ]
  %22 = load i64, ptr %4, align 8, !tbaa !5
  %23 = mul nsw i64 %20, %21
  %24 = icmp slt i64 %22, %23
  br i1 %24, label %25, label %26

25:                                               ; preds = %19
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %23, ptr noundef %6)
  br label %26

26:                                               ; preds = %25, %19
  %27 = load i64, ptr %5, align 8, !tbaa !5
  %28 = mul nsw i64 %15, %14
  %29 = mul nsw i64 %28, %14
  %30 = icmp slt i64 %27, %29
  br i1 %30, label %31, label %32

31:                                               ; preds = %26
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %29, ptr noundef %6)
  br label %32

32:                                               ; preds = %31, %26
  %.not.not369 = icmp sgt i64 %15, 0
  br i1 %.not.not369, label %.lr.ph372, label %._crit_edge373

.lr.ph372:                                        ; preds = %32
  %33 = getelementptr inbounds i8, ptr %0, i64 168
  %34 = getelementptr inbounds i8, ptr %3, i64 56
  %.not346.not367 = icmp sgt i64 %14, 0
  %35 = getelementptr inbounds i8, ptr %2, i64 56
  %36 = getelementptr inbounds i8, ptr %4, i64 56
  br i1 %.not346.not367, label %.lr.ph.us, label %.lr.ph372.split.preheader

.lr.ph372.split.preheader:                        ; preds = %.lr.ph372
  %xtraiter = and i64 %15, 1
  %37 = icmp eq i64 %15, 1
  br i1 %37, label %._crit_edge373.loopexit448.unr-lcssa, label %.lr.ph372.split.preheader.new

.lr.ph372.split.preheader.new:                    ; preds = %.lr.ph372.split.preheader
  %unroll_iter = and i64 %15, 9223372036854775806
  br label %.lr.ph372.split

.lr.ph.us:                                        ; preds = %.lr.ph372, %._crit_edge.us
  %.0311370.us = phi i64 [ %68, %._crit_edge.us ], [ 0, %.lr.ph372 ]
  %38 = load ptr, ptr %33, align 8, !tbaa !26
  %39 = getelementptr inbounds ptr, ptr %38, i64 %.0311370.us
  %40 = load ptr, ptr %39, align 8, !tbaa !27
  %41 = getelementptr inbounds double, ptr %40, i64 %14
  %42 = load double, ptr %41, align 8, !tbaa !28
  %43 = load ptr, ptr %34, align 8, !tbaa !26
  %44 = getelementptr inbounds double, ptr %43, i64 %.0311370.us
  store double %42, ptr %44, align 8, !tbaa !28
  %45 = mul nuw nsw i64 %.0311370.us, %14
  br label %46

46:                                               ; preds = %.lr.ph.us, %46
  %.0312368.us = phi i64 [ 0, %.lr.ph.us ], [ %67, %46 ]
  %47 = load ptr, ptr %34, align 8, !tbaa !26
  %48 = getelementptr inbounds double, ptr %47, i64 %.0311370.us
  %49 = load double, ptr %48, align 8, !tbaa !28
  %50 = load ptr, ptr %33, align 8, !tbaa !26
  %51 = getelementptr inbounds ptr, ptr %50, i64 %.0311370.us
  %52 = load ptr, ptr %51, align 8, !tbaa !27
  %53 = getelementptr inbounds double, ptr %52, i64 %.0312368.us
  %54 = load double, ptr %53, align 8, !tbaa !28
  %55 = load ptr, ptr %35, align 8, !tbaa !26
  %56 = getelementptr inbounds double, ptr %55, i64 %.0312368.us
  %57 = load double, ptr %56, align 8, !tbaa !28
  %58 = tail call double @llvm.fmuladd.f64(double %54, double %57, double %49)
  store double %58, ptr %48, align 8, !tbaa !28
  %59 = load ptr, ptr %33, align 8, !tbaa !26
  %60 = getelementptr inbounds ptr, ptr %59, i64 %.0311370.us
  %61 = load ptr, ptr %60, align 8, !tbaa !27
  %62 = getelementptr inbounds double, ptr %61, i64 %.0312368.us
  %63 = load double, ptr %62, align 8, !tbaa !28
  %64 = load ptr, ptr %36, align 8, !tbaa !26
  %65 = getelementptr double, ptr %64, i64 %45
  %66 = getelementptr double, ptr %65, i64 %.0312368.us
  store double %63, ptr %66, align 8, !tbaa !28
  %67 = add nuw nsw i64 %.0312368.us, 1
  %exitcond427.not = icmp eq i64 %67, %14
  br i1 %exitcond427.not, label %._crit_edge.us, label %46, !llvm.loop !29

._crit_edge.us:                                   ; preds = %46
  %68 = add nuw nsw i64 %.0311370.us, 1
  %exitcond428.not = icmp eq i64 %68, %15
  br i1 %exitcond428.not, label %._crit_edge373, label %.lr.ph.us, !llvm.loop !31

.lr.ph372.split:                                  ; preds = %.lr.ph372.split, %.lr.ph372.split.preheader.new
  %.0311370 = phi i64 [ 0, %.lr.ph372.split.preheader.new ], [ %84, %.lr.ph372.split ]
  %niter = phi i64 [ 0, %.lr.ph372.split.preheader.new ], [ %niter.next.1, %.lr.ph372.split ]
  %69 = load ptr, ptr %33, align 8, !tbaa !26
  %70 = getelementptr inbounds ptr, ptr %69, i64 %.0311370
  %71 = load ptr, ptr %70, align 8, !tbaa !27
  %72 = getelementptr inbounds double, ptr %71, i64 %14
  %73 = load double, ptr %72, align 8, !tbaa !28
  %74 = load ptr, ptr %34, align 8, !tbaa !26
  %75 = getelementptr inbounds double, ptr %74, i64 %.0311370
  store double %73, ptr %75, align 8, !tbaa !28
  %76 = or disjoint i64 %.0311370, 1
  %77 = load ptr, ptr %33, align 8, !tbaa !26
  %78 = getelementptr inbounds ptr, ptr %77, i64 %76
  %79 = load ptr, ptr %78, align 8, !tbaa !27
  %80 = getelementptr inbounds double, ptr %79, i64 %14
  %81 = load double, ptr %80, align 8, !tbaa !28
  %82 = load ptr, ptr %34, align 8, !tbaa !26
  %83 = getelementptr inbounds double, ptr %82, i64 %76
  store double %81, ptr %83, align 8, !tbaa !28
  %84 = add nuw nsw i64 %.0311370, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge373.loopexit448.unr-lcssa, label %.lr.ph372.split, !llvm.loop !31

._crit_edge373.loopexit448.unr-lcssa:             ; preds = %.lr.ph372.split, %.lr.ph372.split.preheader
  %.0311370.unr = phi i64 [ 0, %.lr.ph372.split.preheader ], [ %84, %.lr.ph372.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge373, label %.lr.ph372.split.epil

.lr.ph372.split.epil:                             ; preds = %._crit_edge373.loopexit448.unr-lcssa
  %85 = load ptr, ptr %33, align 8, !tbaa !26
  %86 = getelementptr inbounds ptr, ptr %85, i64 %.0311370.unr
  %87 = load ptr, ptr %86, align 8, !tbaa !27
  %88 = getelementptr inbounds double, ptr %87, i64 %14
  %89 = load double, ptr %88, align 8, !tbaa !28
  %90 = load ptr, ptr %34, align 8, !tbaa !26
  %91 = getelementptr inbounds double, ptr %90, i64 %.0311370.unr
  store double %89, ptr %91, align 8, !tbaa !28
  br label %._crit_edge373

._crit_edge373:                                   ; preds = %.lr.ph372.split.epil, %._crit_edge373.loopexit448.unr-lcssa, %._crit_edge.us, %32
  tail call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %29, double noundef 0.000000e+00, ptr noundef nonnull %5, ptr noundef %6)
  %92 = getelementptr inbounds i8, ptr %0, i64 304
  %93 = load i64, ptr %92, align 8, !tbaa !32
  %94 = icmp eq i64 %93, 0
  br i1 %94, label %.loopexit, label %.preheader366

.preheader366:                                    ; preds = %._crit_edge373
  %.not.not333374 = icmp sgt i64 %14, 0
  br i1 %.not.not333374, label %.lr.ph, label %._crit_edge381

.lr.ph:                                           ; preds = %.preheader366
  %95 = getelementptr inbounds i8, ptr %2, i64 56
  %96 = getelementptr inbounds i8, ptr %0, i64 88
  %97 = getelementptr inbounds i8, ptr %1, i64 56
  %98 = add nsw i64 %14, -1
  %xtraiter449 = and i64 %14, 1
  %99 = icmp eq i64 %98, 0
  br i1 %99, label %.preheader365.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter451 = and i64 %14, 9223372036854775806
  br label %140

.preheader365.unr-lcssa:                          ; preds = %140, %.lr.ph
  %.1313375.unr = phi i64 [ 0, %.lr.ph ], [ %160, %140 ]
  %lcmp.mod450.not = icmp eq i64 %xtraiter449, 0
  br i1 %lcmp.mod450.not, label %.preheader365, label %.preheader365.epilog-lcssa

.preheader365.epilog-lcssa:                       ; preds = %.preheader365.unr-lcssa
  %100 = load ptr, ptr %95, align 8, !tbaa !26
  %101 = getelementptr inbounds double, ptr %100, i64 %.1313375.unr
  %102 = load double, ptr %101, align 8, !tbaa !28
  %103 = load ptr, ptr %96, align 8, !tbaa !26
  %104 = getelementptr inbounds double, ptr %103, i64 %.1313375.unr
  %105 = load double, ptr %104, align 8, !tbaa !28
  %106 = fdiv double %102, %105
  %107 = load ptr, ptr %97, align 8, !tbaa !26
  %108 = getelementptr inbounds double, ptr %107, i64 %.1313375.unr
  store double %106, ptr %108, align 8, !tbaa !28
  br label %.preheader365

.preheader365:                                    ; preds = %.preheader365.unr-lcssa, %.preheader365.epilog-lcssa
  br i1 %.not.not369, label %.preheader364.lr.ph, label %._crit_edge381

.preheader364.lr.ph:                              ; preds = %.preheader365
  %109 = getelementptr inbounds i8, ptr %4, i64 56
  %110 = getelementptr inbounds i8, ptr %0, i64 88
  br i1 %.not.not333374, label %.preheader364.us.preheader, label %._crit_edge381

.preheader364.us.preheader:                       ; preds = %.preheader364.lr.ph
  %xtraiter454 = and i64 %14, 1
  %111 = icmp eq i64 %98, 0
  %unroll_iter456 = and i64 %14, 9223372036854775806
  %lcmp.mod455.not = icmp eq i64 %xtraiter454, 0
  br label %.preheader364.us

.preheader364.us:                                 ; preds = %.preheader364.us.preheader, %._crit_edge.us382
  %.1380.us = phi i64 [ %139, %._crit_edge.us382 ], [ 0, %.preheader364.us.preheader ]
  %112 = mul nuw nsw i64 %.1380.us, %14
  br i1 %111, label %._crit_edge.us382.unr-lcssa, label %.preheader364.us.new

.preheader364.us.new:                             ; preds = %.preheader364.us, %.preheader364.us.new
  %.2314377.us = phi i64 [ %130, %.preheader364.us.new ], [ 0, %.preheader364.us ]
  %niter457 = phi i64 [ %niter457.next.1, %.preheader364.us.new ], [ 0, %.preheader364.us ]
  %113 = load ptr, ptr %109, align 8, !tbaa !26
  %114 = getelementptr double, ptr %113, i64 %112
  %115 = getelementptr double, ptr %114, i64 %.2314377.us
  %116 = load double, ptr %115, align 8, !tbaa !28
  %117 = load ptr, ptr %110, align 8, !tbaa !26
  %118 = getelementptr inbounds double, ptr %117, i64 %.2314377.us
  %119 = load double, ptr %118, align 8, !tbaa !28
  %120 = fmul double %116, %119
  store double %120, ptr %115, align 8, !tbaa !28
  %121 = or disjoint i64 %.2314377.us, 1
  %122 = load ptr, ptr %109, align 8, !tbaa !26
  %123 = getelementptr double, ptr %122, i64 %112
  %124 = getelementptr double, ptr %123, i64 %121
  %125 = load double, ptr %124, align 8, !tbaa !28
  %126 = load ptr, ptr %110, align 8, !tbaa !26
  %127 = getelementptr inbounds double, ptr %126, i64 %121
  %128 = load double, ptr %127, align 8, !tbaa !28
  %129 = fmul double %125, %128
  store double %129, ptr %124, align 8, !tbaa !28
  %130 = add nuw nsw i64 %.2314377.us, 2
  %niter457.next.1 = add i64 %niter457, 2
  %niter457.ncmp.1 = icmp eq i64 %niter457.next.1, %unroll_iter456
  br i1 %niter457.ncmp.1, label %._crit_edge.us382.unr-lcssa, label %.preheader364.us.new, !llvm.loop !33

._crit_edge.us382.unr-lcssa:                      ; preds = %.preheader364.us.new, %.preheader364.us
  %.2314377.us.unr = phi i64 [ 0, %.preheader364.us ], [ %130, %.preheader364.us.new ]
  br i1 %lcmp.mod455.not, label %._crit_edge.us382, label %._crit_edge.us382.epilog-lcssa

._crit_edge.us382.epilog-lcssa:                   ; preds = %._crit_edge.us382.unr-lcssa
  %131 = load ptr, ptr %109, align 8, !tbaa !26
  %132 = getelementptr double, ptr %131, i64 %112
  %133 = getelementptr double, ptr %132, i64 %.2314377.us.unr
  %134 = load double, ptr %133, align 8, !tbaa !28
  %135 = load ptr, ptr %110, align 8, !tbaa !26
  %136 = getelementptr inbounds double, ptr %135, i64 %.2314377.us.unr
  %137 = load double, ptr %136, align 8, !tbaa !28
  %138 = fmul double %134, %137
  store double %138, ptr %133, align 8, !tbaa !28
  br label %._crit_edge.us382

._crit_edge.us382:                                ; preds = %._crit_edge.us382.unr-lcssa, %._crit_edge.us382.epilog-lcssa
  %139 = add nuw nsw i64 %.1380.us, 1
  %exitcond431.not = icmp eq i64 %139, %15
  br i1 %exitcond431.not, label %._crit_edge381, label %.preheader364.us, !llvm.loop !34

140:                                              ; preds = %140, %.lr.ph.new
  %.1313375 = phi i64 [ 0, %.lr.ph.new ], [ %160, %140 ]
  %niter452 = phi i64 [ 0, %.lr.ph.new ], [ %niter452.next.1, %140 ]
  %141 = load ptr, ptr %95, align 8, !tbaa !26
  %142 = getelementptr inbounds double, ptr %141, i64 %.1313375
  %143 = load double, ptr %142, align 8, !tbaa !28
  %144 = load ptr, ptr %96, align 8, !tbaa !26
  %145 = getelementptr inbounds double, ptr %144, i64 %.1313375
  %146 = load double, ptr %145, align 8, !tbaa !28
  %147 = fdiv double %143, %146
  %148 = load ptr, ptr %97, align 8, !tbaa !26
  %149 = getelementptr inbounds double, ptr %148, i64 %.1313375
  store double %147, ptr %149, align 8, !tbaa !28
  %150 = or disjoint i64 %.1313375, 1
  %151 = load ptr, ptr %95, align 8, !tbaa !26
  %152 = getelementptr inbounds double, ptr %151, i64 %150
  %153 = load double, ptr %152, align 8, !tbaa !28
  %154 = load ptr, ptr %96, align 8, !tbaa !26
  %155 = getelementptr inbounds double, ptr %154, i64 %150
  %156 = load double, ptr %155, align 8, !tbaa !28
  %157 = fdiv double %153, %156
  %158 = load ptr, ptr %97, align 8, !tbaa !26
  %159 = getelementptr inbounds double, ptr %158, i64 %150
  store double %157, ptr %159, align 8, !tbaa !28
  %160 = add nuw nsw i64 %.1313375, 2
  %niter452.next.1 = add i64 %niter452, 2
  %niter452.ncmp.1 = icmp eq i64 %niter452.next.1, %unroll_iter451
  br i1 %niter452.ncmp.1, label %.preheader365.unr-lcssa, label %140, !llvm.loop !35

._crit_edge381:                                   ; preds = %._crit_edge.us382, %.preheader366, %.preheader364.lr.ph, %.preheader365
  %161 = tail call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %14, ptr noundef %1, ptr noundef %6)
  %162 = fadd double %161, 1.000000e+00
  %163 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef 5.000000e-14, ptr noundef %6)
  %164 = fmul double %162, %163
  %165 = getelementptr inbounds i8, ptr %0, i64 16
  %166 = load i64, ptr %165, align 8, !tbaa !36
  %167 = add i64 %166, -1
  %spec.select = icmp ult i64 %167, 2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select, ptr noundef nonnull @.str.795, ptr noundef %6)
  %168 = load i64, ptr %165, align 8, !tbaa !36
  %.not = icmp eq i64 %168, 1
  br i1 %.not, label %169, label %173

169:                                              ; preds = %._crit_edge381
  %170 = getelementptr inbounds i8, ptr %0, i64 24
  %171 = load double, ptr %170, align 8, !tbaa !37
  %172 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %171, double noundef 0.000000e+00)
  br label %173

173:                                              ; preds = %169, %._crit_edge381
  %174 = phi i1 [ true, %._crit_edge381 ], [ %172, %169 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %174, ptr noundef nonnull @.str.796, ptr noundef %6)
  %175 = getelementptr inbounds i8, ptr %0, i64 312
  %176 = getelementptr inbounds i8, ptr %0, i64 432
  %177 = load i64, ptr %176, align 8, !tbaa !38
  %178 = getelementptr inbounds i8, ptr %1, i64 64
  %179 = getelementptr inbounds i8, ptr %1, i64 256
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %177, ptr noundef nonnull %179, ptr noundef %6)
  %180 = getelementptr inbounds i8, ptr %1, i64 320
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %177, ptr noundef nonnull %180, ptr noundef %6)
  %181 = getelementptr inbounds i8, ptr %1, i64 448
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %177, ptr noundef nonnull %181, ptr noundef %6)
  %182 = getelementptr inbounds i8, ptr %1, i64 512
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %177, ptr noundef nonnull %182, ptr noundef %6)
  %183 = getelementptr inbounds i8, ptr %1, i64 704
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef %14, i64 noundef %177, ptr noundef nonnull %183, ptr noundef %6)
  %184 = getelementptr inbounds i8, ptr %1, i64 384
  tail call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %177, double noundef 1.000000e+50, ptr noundef nonnull %184, ptr noundef %6)
  %185 = load i64, ptr %165, align 8, !tbaa !36
  %186 = icmp eq i64 %185, 1
  br i1 %186, label %187, label %191

187:                                              ; preds = %173
  %188 = getelementptr inbounds i8, ptr %0, i64 24
  %189 = load double, ptr %188, align 8, !tbaa !37
  %190 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %189, ptr noundef %6)
  br label %191

191:                                              ; preds = %187, %173
  %.0 = phi double [ %190, %187 ], [ 1.000000e-50, %173 ]
  %192 = load i64, ptr %92, align 8, !tbaa !32
  %193 = icmp sgt i64 %192, 0
  br i1 %193, label %.lr.ph400, label %._crit_edge401

.lr.ph400:                                        ; preds = %191
  %194 = getelementptr inbounds i8, ptr %3, i64 56
  %195 = getelementptr inbounds i8, ptr %0, i64 2440
  %196 = getelementptr inbounds i8, ptr %4, i64 56
  %197 = getelementptr inbounds i8, ptr %5, i64 56
  br label %198

198:                                              ; preds = %.lr.ph400, %._crit_edge
  %199 = phi i64 [ %192, %.lr.ph400 ], [ %249, %._crit_edge ]
  %.0317398 = phi i64 [ 0, %.lr.ph400 ], [ %248, %._crit_edge ]
  %.0318397 = phi i64 [ 0, %.lr.ph400 ], [ %247, %._crit_edge ]
  %.0319396 = phi i64 [ 0, %.lr.ph400 ], [ %246, %._crit_edge ]
  %200 = sub nsw i64 %199, %.0319396
  %201 = tail call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %177, i64 noundef %200, ptr noundef %6)
  tail call void @_ZN11alglib_implL21rbfv3_computerowchunkEPKNS_13rbf3evaluatorEPKNS_9ae_vectorEPNS_19rbf3evaluatorbufferElldlPNS_8ae_stateE(ptr noundef nonnull %175, ptr noundef %1, ptr noundef nonnull %178, i64 noundef %201, i64 noundef %.0318397, double noundef %.0, i64 noundef 2, ptr noundef %6)
  br i1 %.not.not369, label %.lr.ph395, label %._crit_edge

.lr.ph395:                                        ; preds = %198, %._crit_edge391.split.us
  %.2394 = phi i64 [ %245, %._crit_edge391.split.us ], [ 0, %198 ]
  %202 = load ptr, ptr %194, align 8, !tbaa !26
  %203 = getelementptr inbounds double, ptr %202, i64 %.2394
  %204 = load double, ptr %203, align 8, !tbaa !28
  %205 = add nsw i64 %.2394, %.0317398
  %206 = tail call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %179, ptr noundef nonnull %195, i64 noundef %205, ptr noundef %6)
  %207 = fadd double %204, %206
  %208 = load ptr, ptr %194, align 8, !tbaa !26
  %209 = getelementptr inbounds double, ptr %208, i64 %.2394
  store double %207, ptr %209, align 8, !tbaa !28
  br i1 %.not.not333374, label %.lr.ph385, label %._crit_edge391.split.us

.lr.ph385:                                        ; preds = %.lr.ph395
  %210 = mul nuw nsw i64 %.2394, %14
  br label %235

.preheader363:                                    ; preds = %235
  br i1 %.not.not333374, label %.preheader362.lr.ph, label %._crit_edge391.split.us

.preheader362.lr.ph:                              ; preds = %.preheader363
  %211 = mul nuw nsw i64 %.2394, %14
  br label %.preheader362.us

.preheader362.us:                                 ; preds = %._crit_edge.us392, %.preheader362.lr.ph
  %.1325390.us = phi i64 [ 0, %.preheader362.lr.ph ], [ %234, %._crit_edge.us392 ]
  %212 = add nuw i64 %.1325390.us, %211
  %213 = mul i64 %212, %14
  br label %214

214:                                              ; preds = %.preheader362.us, %232
  %.0323387.us = phi i64 [ 0, %.preheader362.us ], [ %233, %232 ]
  tail call void @_ZN11alglib_impl6rcopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %182, ptr noundef nonnull %180, ptr noundef %6)
  tail call void @_ZN11alglib_impl11rmergemulrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %183, i64 noundef %.1325390.us, ptr noundef nonnull %180, ptr noundef %6)
  tail call void @_ZN11alglib_impl11rmergemulrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %183, i64 noundef %.0323387.us, ptr noundef nonnull %180, ptr noundef %6)
  %215 = load ptr, ptr %197, align 8, !tbaa !26
  %216 = add nsw i64 %.0323387.us, %213
  %217 = getelementptr inbounds double, ptr %215, i64 %216
  %218 = load double, ptr %217, align 8, !tbaa !28
  %219 = tail call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %180, ptr noundef nonnull %195, i64 noundef %205, ptr noundef %6)
  %220 = tail call double @llvm.fmuladd.f64(double %219, double 4.000000e+00, double %218)
  %221 = load ptr, ptr %197, align 8, !tbaa !26
  %222 = getelementptr inbounds double, ptr %221, i64 %216
  store double %220, ptr %222, align 8, !tbaa !28
  %223 = icmp eq i64 %.1325390.us, %.0323387.us
  br i1 %223, label %224, label %232

224:                                              ; preds = %214
  %225 = load ptr, ptr %197, align 8, !tbaa !26
  %226 = getelementptr inbounds double, ptr %225, i64 %216
  %227 = load double, ptr %226, align 8, !tbaa !28
  %228 = tail call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %181, ptr noundef nonnull %195, i64 noundef %205, ptr noundef %6)
  %229 = tail call double @llvm.fmuladd.f64(double %228, double 2.000000e+00, double %227)
  %230 = load ptr, ptr %197, align 8, !tbaa !26
  %231 = getelementptr inbounds double, ptr %230, i64 %216
  store double %229, ptr %231, align 8, !tbaa !28
  br label %232

232:                                              ; preds = %224, %214
  %233 = add nuw nsw i64 %.0323387.us, 1
  %exitcond433.not = icmp eq i64 %233, %14
  br i1 %exitcond433.not, label %._crit_edge.us392, label %214, !llvm.loop !39

._crit_edge.us392:                                ; preds = %232
  %234 = add nuw nsw i64 %.1325390.us, 1
  %exitcond434.not = icmp eq i64 %234, %14
  br i1 %exitcond434.not, label %._crit_edge391.split.us, label %.preheader362.us, !llvm.loop !40

235:                                              ; preds = %.lr.ph385, %235
  %.0324384 = phi i64 [ 0, %.lr.ph385 ], [ %244, %235 ]
  tail call void @_ZN11alglib_impl7rcopyrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %183, i64 noundef %.0324384, ptr noundef nonnull %180, ptr noundef %6)
  tail call void @_ZN11alglib_impl10rmergemulvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %181, ptr noundef nonnull %180, ptr noundef %6)
  %236 = load ptr, ptr %196, align 8, !tbaa !26
  %237 = add nuw nsw i64 %.0324384, %210
  %238 = getelementptr inbounds double, ptr %236, i64 %237
  %239 = load double, ptr %238, align 8, !tbaa !28
  %240 = tail call noundef double @_ZN11alglib_impl6rdotvrElPKNS_9ae_vectorEPKNS_9ae_matrixElPNS_8ae_stateE(i64 noundef %201, ptr noundef nonnull %180, ptr noundef nonnull %195, i64 noundef %205, ptr noundef %6)
  %241 = tail call double @llvm.fmuladd.f64(double %240, double 2.000000e+00, double %239)
  %242 = load ptr, ptr %196, align 8, !tbaa !26
  %243 = getelementptr inbounds double, ptr %242, i64 %237
  store double %241, ptr %243, align 8, !tbaa !28
  %244 = add nuw nsw i64 %.0324384, 1
  %exitcond432.not = icmp eq i64 %244, %14
  br i1 %exitcond432.not, label %.preheader363, label %235, !llvm.loop !41

._crit_edge391.split.us:                          ; preds = %._crit_edge.us392, %.lr.ph395, %.preheader363
  %245 = add nuw nsw i64 %.2394, 1
  %exitcond435.not = icmp eq i64 %245, %15
  br i1 %exitcond435.not, label %._crit_edge, label %.lr.ph395, !llvm.loop !42

._crit_edge:                                      ; preds = %._crit_edge391.split.us, %198
  %246 = add nsw i64 %201, %.0319396
  %247 = add nsw i64 %.0318397, %14
  %248 = add nsw i64 %.0317398, %15
  %249 = load i64, ptr %92, align 8, !tbaa !32
  %250 = icmp slt i64 %246, %249
  br i1 %250, label %198, label %._crit_edge401, !llvm.loop !43

._crit_edge401:                                   ; preds = %._crit_edge, %191
  %251 = load i64, ptr %165, align 8, !tbaa !36
  %252 = icmp eq i64 %251, 1
  br i1 %252, label %253, label %257

253:                                              ; preds = %._crit_edge401
  %254 = getelementptr inbounds i8, ptr %0, i64 24
  %255 = load double, ptr %254, align 8, !tbaa !37
  %256 = tail call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %255, double noundef 0.000000e+00)
  br i1 %256, label %260, label %thread-pre-split

thread-pre-split:                                 ; preds = %253
  %.pr = load i64, ptr %165, align 8, !tbaa !36
  br label %257

257:                                              ; preds = %thread-pre-split, %._crit_edge401
  %258 = phi i64 [ %.pr, %thread-pre-split ], [ %251, %._crit_edge401 ]
  %259 = icmp eq i64 %258, 2
  %.not335.not402 = icmp sgt i64 %177, 0
  %or.cond = and i1 %259, %.not335.not402
  br i1 %or.cond, label %.lr.ph406, label %.thread356

260:                                              ; preds = %253
  %.not335.not402.old = icmp sgt i64 %177, 0
  br i1 %.not335.not402.old, label %.lr.ph406, label %.thread356

.lr.ph406:                                        ; preds = %257, %260
  %261 = getelementptr inbounds i8, ptr %1, i64 440
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %.lr.ph406
  %.3404 = phi i64 [ 0, %.lr.ph406 ], [ %.3404.be, %.backedge.backedge ]
  %.0321403 = phi i1 [ false, %.lr.ph406 ], [ %.0321403.be, %.backedge.backedge ]
  br i1 %.0321403, label %.thread, label %262

262:                                              ; preds = %.backedge
  %263 = load ptr, ptr %261, align 8, !tbaa !26
  %264 = getelementptr inbounds double, ptr %263, i64 %.3404
  %265 = load double, ptr %264, align 8, !tbaa !28
  %266 = fcmp ole double %265, %164
  %267 = add nuw nsw i64 %.3404, 1
  %exitcond436.not = icmp eq i64 %267, %177
  br i1 %exitcond436.not, label %._crit_edge407, label %.backedge.backedge

.backedge.backedge:                               ; preds = %262, %.thread
  %.3404.be = phi i64 [ %267, %262 ], [ %268, %.thread ]
  %.0321403.be = phi i1 [ %266, %262 ], [ true, %.thread ]
  br label %.backedge, !llvm.loop !44

.thread:                                          ; preds = %.backedge
  %268 = add nuw nsw i64 %.3404, 1
  %exitcond436.not444 = icmp eq i64 %268, %177
  br i1 %exitcond436.not444, label %._crit_edge407.thread, label %.backedge.backedge

._crit_edge407:                                   ; preds = %262
  br i1 %266, label %._crit_edge407.thread, label %.thread356

._crit_edge407.thread:                            ; preds = %.thread, %._crit_edge407
  %269 = load i64, ptr %165, align 8, !tbaa !36
  switch i64 %269, label %.thread356 [
    i64 1, label %270
    i64 2, label %.thread355
  ]

270:                                              ; preds = %._crit_edge407.thread
  %271 = getelementptr inbounds i8, ptr %0, i64 24
  %272 = load double, ptr %271, align 8, !tbaa !37
  %273 = tail call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %272, double noundef 0.000000e+00)
  %.pr349 = load i64, ptr %165, align 8, !tbaa !36
  %274 = icmp eq i64 %.pr349, 1
  br i1 %274, label %275, label %.thread350

275:                                              ; preds = %270
  %276 = load double, ptr %271, align 8, !tbaa !37
  %277 = tail call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %276, double noundef 0.000000e+00)
  br i1 %277, label %280, label %..thread350_crit_edge

..thread350_crit_edge:                            ; preds = %275
  %.pre443 = load i64, ptr %165, align 8, !tbaa !36
  br label %.thread350

.thread350:                                       ; preds = %..thread350_crit_edge, %270
  %278 = phi i64 [ %.pre443, %..thread350_crit_edge ], [ %.pr349, %270 ]
  %279 = icmp eq i64 %278, 2
  br i1 %273, label %281, label %282

280:                                              ; preds = %275
  br i1 %273, label %.thread358, label %.thread355

.thread358:                                       ; preds = %280
  tail call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %28, double noundef 0.000000e+00, ptr noundef nonnull %4, ptr noundef %6)
  br label %.thread355

281:                                              ; preds = %.thread350
  tail call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %28, double noundef 0.000000e+00, ptr noundef nonnull %4, ptr noundef %6)
  br i1 %279, label %.thread355, label %.thread356

282:                                              ; preds = %.thread350
  br i1 %279, label %.thread355, label %.thread356

.thread355:                                       ; preds = %._crit_edge407.thread, %.thread358, %280, %281, %282
  tail call void @_ZN11alglib_impl5rsetvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %29, double noundef 0.000000e+00, ptr noundef nonnull %5, ptr noundef %6)
  br label %.thread356

.thread356:                                       ; preds = %._crit_edge407.thread, %260, %._crit_edge407, %257, %281, %.thread355, %282
  br i1 %.not.not369, label %.preheader361.lr.ph, label %.loopexit

.preheader361.lr.ph:                              ; preds = %.thread356
  %283 = getelementptr inbounds i8, ptr %4, i64 56
  %284 = getelementptr inbounds i8, ptr %0, i64 88
  br i1 %.not.not333374, label %.preheader361.us.preheader, label %.loopexit

.preheader361.us.preheader:                       ; preds = %.preheader361.lr.ph
  %285 = add nsw i64 %14, -1
  %xtraiter459 = and i64 %14, 1
  %286 = icmp eq i64 %285, 0
  %unroll_iter461 = and i64 %14, 9223372036854775806
  %lcmp.mod460.not = icmp eq i64 %xtraiter459, 0
  br label %.preheader361.us

.preheader361.us:                                 ; preds = %.preheader361.us.preheader, %._crit_edge411.us
  %.4413.us = phi i64 [ %314, %._crit_edge411.us ], [ 0, %.preheader361.us.preheader ]
  %287 = mul nuw nsw i64 %.4413.us, %14
  br i1 %286, label %._crit_edge411.us.unr-lcssa, label %.preheader361.us.new

.preheader361.us.new:                             ; preds = %.preheader361.us, %.preheader361.us.new
  %.3315409.us = phi i64 [ %305, %.preheader361.us.new ], [ 0, %.preheader361.us ]
  %niter462 = phi i64 [ %niter462.next.1, %.preheader361.us.new ], [ 0, %.preheader361.us ]
  %288 = load ptr, ptr %283, align 8, !tbaa !26
  %289 = getelementptr double, ptr %288, i64 %287
  %290 = getelementptr double, ptr %289, i64 %.3315409.us
  %291 = load double, ptr %290, align 8, !tbaa !28
  %292 = load ptr, ptr %284, align 8, !tbaa !26
  %293 = getelementptr inbounds double, ptr %292, i64 %.3315409.us
  %294 = load double, ptr %293, align 8, !tbaa !28
  %295 = fdiv double %291, %294
  store double %295, ptr %290, align 8, !tbaa !28
  %296 = or disjoint i64 %.3315409.us, 1
  %297 = load ptr, ptr %283, align 8, !tbaa !26
  %298 = getelementptr double, ptr %297, i64 %287
  %299 = getelementptr double, ptr %298, i64 %296
  %300 = load double, ptr %299, align 8, !tbaa !28
  %301 = load ptr, ptr %284, align 8, !tbaa !26
  %302 = getelementptr inbounds double, ptr %301, i64 %296
  %303 = load double, ptr %302, align 8, !tbaa !28
  %304 = fdiv double %300, %303
  store double %304, ptr %299, align 8, !tbaa !28
  %305 = add nuw nsw i64 %.3315409.us, 2
  %niter462.next.1 = add i64 %niter462, 2
  %niter462.ncmp.1 = icmp eq i64 %niter462.next.1, %unroll_iter461
  br i1 %niter462.ncmp.1, label %._crit_edge411.us.unr-lcssa, label %.preheader361.us.new, !llvm.loop !45

._crit_edge411.us.unr-lcssa:                      ; preds = %.preheader361.us.new, %.preheader361.us
  %.3315409.us.unr = phi i64 [ 0, %.preheader361.us ], [ %305, %.preheader361.us.new ]
  br i1 %lcmp.mod460.not, label %._crit_edge411.us, label %._crit_edge411.us.epilog-lcssa

._crit_edge411.us.epilog-lcssa:                   ; preds = %._crit_edge411.us.unr-lcssa
  %306 = load ptr, ptr %283, align 8, !tbaa !26
  %307 = getelementptr double, ptr %306, i64 %287
  %308 = getelementptr double, ptr %307, i64 %.3315409.us.unr
  %309 = load double, ptr %308, align 8, !tbaa !28
  %310 = load ptr, ptr %284, align 8, !tbaa !26
  %311 = getelementptr inbounds double, ptr %310, i64 %.3315409.us.unr
  %312 = load double, ptr %311, align 8, !tbaa !28
  %313 = fdiv double %309, %312
  store double %313, ptr %308, align 8, !tbaa !28
  br label %._crit_edge411.us

._crit_edge411.us:                                ; preds = %._crit_edge411.us.unr-lcssa, %._crit_edge411.us.epilog-lcssa
  %314 = add nuw nsw i64 %.4413.us, 1
  %exitcond438.not = icmp eq i64 %314, %15
  br i1 %exitcond438.not, label %.preheader360, label %.preheader361.us, !llvm.loop !46

.preheader360:                                    ; preds = %._crit_edge411.us
  br i1 %.not.not369, label %.preheader359.lr.ph, label %.loopexit

.preheader359.lr.ph:                              ; preds = %.preheader360
  %315 = getelementptr inbounds i8, ptr %5, i64 56
  %316 = getelementptr inbounds i8, ptr %0, i64 88
  br i1 %.not.not333374, label %.preheader359.us.preheader, label %.loopexit

.preheader359.us.preheader:                       ; preds = %.preheader359.lr.ph
  %xtraiter464 = and i64 %14, 1
  %317 = icmp eq i64 %285, 0
  %unroll_iter466 = and i64 %14, 9223372036854775806
  %lcmp.mod465.not = icmp eq i64 %xtraiter464, 0
  br label %.preheader359.us

.preheader359.us:                                 ; preds = %.preheader359.us.preheader, %._crit_edge420.split.us.us
  %.5422.us = phi i64 [ %357, %._crit_edge420.split.us.us ], [ 0, %.preheader359.us.preheader ]
  %318 = mul nuw nsw i64 %.5422.us, %14
  br label %.preheader.us.us

.preheader.us.us:                                 ; preds = %._crit_edge417.us.us, %.preheader359.us
  %.4316419.us.us = phi i64 [ 0, %.preheader359.us ], [ %356, %._crit_edge417.us.us ]
  %319 = add nuw i64 %.4316419.us.us, %318
  %320 = mul i64 %319, %14
  br i1 %317, label %._crit_edge417.us.us.unr-lcssa, label %.preheader.us.us.new

.preheader.us.us.new:                             ; preds = %.preheader.us.us, %.preheader.us.us.new
  %.0320415.us.us = phi i64 [ %344, %.preheader.us.us.new ], [ 0, %.preheader.us.us ]
  %niter467 = phi i64 [ %niter467.next.1, %.preheader.us.us.new ], [ 0, %.preheader.us.us ]
  %321 = load ptr, ptr %315, align 8, !tbaa !26
  %322 = getelementptr double, ptr %321, i64 %320
  %323 = getelementptr double, ptr %322, i64 %.0320415.us.us
  %324 = load double, ptr %323, align 8, !tbaa !28
  %325 = load ptr, ptr %316, align 8, !tbaa !26
  %326 = getelementptr inbounds double, ptr %325, i64 %.4316419.us.us
  %327 = load double, ptr %326, align 8, !tbaa !28
  %328 = getelementptr inbounds double, ptr %325, i64 %.0320415.us.us
  %329 = load double, ptr %328, align 8, !tbaa !28
  %330 = fmul double %327, %329
  %331 = fdiv double %324, %330
  store double %331, ptr %323, align 8, !tbaa !28
  %332 = or disjoint i64 %.0320415.us.us, 1
  %333 = load ptr, ptr %315, align 8, !tbaa !26
  %334 = getelementptr double, ptr %333, i64 %320
  %335 = getelementptr double, ptr %334, i64 %332
  %336 = load double, ptr %335, align 8, !tbaa !28
  %337 = load ptr, ptr %316, align 8, !tbaa !26
  %338 = getelementptr inbounds double, ptr %337, i64 %.4316419.us.us
  %339 = load double, ptr %338, align 8, !tbaa !28
  %340 = getelementptr inbounds double, ptr %337, i64 %332
  %341 = load double, ptr %340, align 8, !tbaa !28
  %342 = fmul double %339, %341
  %343 = fdiv double %336, %342
  store double %343, ptr %335, align 8, !tbaa !28
  %344 = add nuw nsw i64 %.0320415.us.us, 2
  %niter467.next.1 = add i64 %niter467, 2
  %niter467.ncmp.1 = icmp eq i64 %niter467.next.1, %unroll_iter466
  br i1 %niter467.ncmp.1, label %._crit_edge417.us.us.unr-lcssa, label %.preheader.us.us.new, !llvm.loop !47

._crit_edge417.us.us.unr-lcssa:                   ; preds = %.preheader.us.us.new, %.preheader.us.us
  %.0320415.us.us.unr = phi i64 [ 0, %.preheader.us.us ], [ %344, %.preheader.us.us.new ]
  br i1 %lcmp.mod465.not, label %._crit_edge417.us.us, label %._crit_edge417.us.us.epilog-lcssa

._crit_edge417.us.us.epilog-lcssa:                ; preds = %._crit_edge417.us.us.unr-lcssa
  %345 = load ptr, ptr %315, align 8, !tbaa !26
  %346 = getelementptr double, ptr %345, i64 %320
  %347 = getelementptr double, ptr %346, i64 %.0320415.us.us.unr
  %348 = load double, ptr %347, align 8, !tbaa !28
  %349 = load ptr, ptr %316, align 8, !tbaa !26
  %350 = getelementptr inbounds double, ptr %349, i64 %.4316419.us.us
  %351 = load double, ptr %350, align 8, !tbaa !28
  %352 = getelementptr inbounds double, ptr %349, i64 %.0320415.us.us.unr
  %353 = load double, ptr %352, align 8, !tbaa !28
  %354 = fmul double %351, %353
  %355 = fdiv double %348, %354
  store double %355, ptr %347, align 8, !tbaa !28
  br label %._crit_edge417.us.us

._crit_edge417.us.us:                             ; preds = %._crit_edge417.us.us.unr-lcssa, %._crit_edge417.us.us.epilog-lcssa
  %356 = add nuw nsw i64 %.4316419.us.us, 1
  %exitcond440.not = icmp eq i64 %356, %14
  br i1 %exitcond440.not, label %._crit_edge420.split.us.us, label %.preheader.us.us, !llvm.loop !48

._crit_edge420.split.us.us:                       ; preds = %._crit_edge417.us.us
  %357 = add nuw nsw i64 %.5422.us, 1
  %exitcond441.not = icmp eq i64 %357, %15
  br i1 %exitcond441.not, label %.loopexit, label %.preheader359.us, !llvm.loop !49

.loopexit:                                        ; preds = %._crit_edge420.split.us.us, %.preheader361.lr.ph, %.thread356, %.preheader359.lr.ph, %.preheader360, %._crit_edge373
  ret void
}

declare void @_ZN11alglib_impl7rcopyrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl11rmergemulrvElPKNS_9ae_matrixElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

attributes #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 speculatable willreturn memory(none) }
attributes #2 = { 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" }

!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, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !8, i64 56}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"_ZTSN11alglib_impl10rbfv3modelE", !7, i64 0, !7, i64 8, !7, i64 16, !15, i64 24, !6, i64 32, !16, i64 96, !6, i64 176, !6, i64 240, !7, i64 304, !17, i64 312, !20, i64 864, !16, i64 2440, !23, i64 2520, !10, i64 3720, !15, i64 3728}
!15 = !{!"double", !8, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!17 = !{!"_ZTSN11alglib_impl13rbf3evaluatorE", !7, i64 0, !7, i64 8, !16, i64 16, !7, i64 96, !7, i64 104, !15, i64 112, !7, i64 120, !6, i64 128, !16, i64 192, !16, i64 272, !18, i64 352, !6, i64 488}
!18 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !19, i64 0, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !7, i64 80, !12, i64 88, !12, i64 96, !11, i64 104}
!19 = !{!"_ZTSN11alglib_impl7ae_lockE", !12, i64 0, !11, i64 8, !10, i64 40}
!20 = !{!"_ZTSN11alglib_impl17rbf3fastevaluatorE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !15, i64 40, !16, i64 48, !6, i64 128, !16, i64 192, !10, i64 272, !21, i64 280, !22, i64 416, !18, i64 1328, !16, i64 1464, !10, i64 1544, !7, i64 1552, !7, i64 1560, !7, i64 1568}
!21 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !7, i64 0, !7, i64 8, !10, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !19, i64 56, !11, i64 104}
!22 = !{!"_ZTSN11alglib_impl19biharmonicevaluatorE", !7, i64 0, !7, i64 8, !6, i64 16, !6, i64 80, !6, i64 144, !6, i64 208, !6, i64 272, !6, i64 336, !6, i64 400, !6, i64 464, !6, i64 528, !6, i64 592, !6, i64 656, !6, i64 720, !6, i64 784, !6, i64 848}
!23 = !{!"_ZTSN11alglib_impl15rbfv3calcbufferE", !6, i64 0, !24, i64 64, !6, i64 784, !6, i64 848, !16, i64 912, !16, i64 992, !6, i64 1072, !6, i64 1136}
!24 = !{!"_ZTSN11alglib_impl19rbf3evaluatorbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !6, i64 192, !6, i64 256, !6, i64 320, !6, i64 384, !6, i64 448, !6, i64 512, !6, i64 576, !16, i64 640}
!25 = !{!14, !7, i64 0}
!26 = !{!8, !8, i64 0}
!27 = !{!12, !12, i64 0}
!28 = !{!15, !15, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = !{!14, !7, i64 304}
!33 = distinct !{!33, !30}
!34 = distinct !{!34, !30}
!35 = distinct !{!35, !30}
!36 = !{!14, !7, i64 16}
!37 = !{!14, !15, i64 24}
!38 = !{!14, !7, i64 432}
!39 = distinct !{!39, !30}
!40 = distinct !{!40, !30}
!41 = distinct !{!41, !30}
!42 = distinct !{!42, !30}
!43 = distinct !{!43, !30}
!44 = distinct !{!44, !30}
!45 = distinct !{!45, !30}
!46 = distinct !{!46, !30}
!47 = distinct !{!47, !30}
!48 = distinct !{!48, !30}
!49 = distinct !{!49, !30}


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