; LLVM IR from venumb/ZSPACE :: cpp/depends/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_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::rbfv1report" = type { i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::rbfv2report" = type { i64, double, double }
%"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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::rbfmodel" = type { i64, i64, i64, %"struct.alglib_impl::rbfv1model", %"struct.alglib_impl::rbfv2model", double, double, double, i64, i64, i64, double, double, i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::ae_vector", i64, i8 }
%"struct.alglib_impl::rbfv1model" = type { i64, i64, i64, i64, %"struct.alglib_impl::kdtree", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::kdtree" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"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::kdtreerequestbuffer", i64 }
%"struct.alglib_impl::kdtreerequestbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, i8, double, 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", double }
%"struct.alglib_impl::rbfv2model" = type { i64, i64, 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_matrix", double, i64, double, i64, %"struct.alglib_impl::rbfv2calcbuffer" }
%"struct.alglib_impl::rbfv2calcbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::rbfreport" = type { double, double, i64, i64, i64, i64, i64, i64 }

@.str.798 = external hidden unnamed_addr constant [39 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13rbfbuildmodelEPNS_8rbfmodelEPNS_9rbfreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.alglib_impl::ae_frame", align 8
  %8 = alloca %"struct.alglib_impl::rbfv1report", align 8
  %9 = alloca %"struct.alglib_impl::rbfv2report", align 8
  %10 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %15, ptr noundef %7)
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 48, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 64, i1 false)
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_rbfreport_clearEPv(ptr noundef %16)
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl17_rbfv1report_initEPvPNS_8ae_stateEb(ptr noundef %8, ptr noundef %17, i1 noundef zeroext true)
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl17_rbfv2report_initEPvPNS_8ae_stateEb(ptr noundef %9, ptr noundef %18, i1 noundef zeroext true)
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %10, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %19, i1 noundef zeroext true)
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %11, i64 noundef 0, i64 noundef 3, ptr noundef %20, i1 noundef zeroext true)
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_implL21rbf_clearreportfieldsEPNS_9rbfreportEPNS_8ae_stateE(ptr noundef %21, ptr noundef %22)
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %23, i32 0, i32 20
  store i64 0, ptr %24, align 8, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %25, i32 0, i32 21
  store i8 0, ptr %26, align 8, !tbaa !22
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %27, i32 0, i32 10
  %29 = load i64, ptr %28, align 8, !tbaa !23
  %30 = icmp eq i64 %29, 0
  br i1 %30, label %31, label %49

31:                                               ; preds = %3
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !24
  %35 = icmp slt i64 %34, 2
  br i1 %35, label %46, label %36

36:                                               ; preds = %31
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %37, i32 0, i32 0
  %39 = load i64, ptr %38, align 8, !tbaa !24
  %40 = icmp sgt i64 %39, 3
  br i1 %40, label %46, label %41

41:                                               ; preds = %36
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %42, i32 0, i32 18
  %44 = load i8, ptr %43, align 8, !tbaa !25, !range !26, !noundef !27
  %45 = trunc i8 %44 to i1
  br i1 %45, label %46, label %47

46:                                               ; preds = %41, %36, %31
  store i64 3, ptr %13, align 8, !tbaa !28
  br label %48

47:                                               ; preds = %41
  store i64 1, ptr %13, align 8, !tbaa !28
  br label %48

48:                                               ; preds = %47, %46
  br label %53

49:                                               ; preds = %3
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %50, i32 0, i32 10
  %52 = load i64, ptr %51, align 8, !tbaa !23
  store i64 %52, ptr %13, align 8, !tbaa !28
  br label %53

53:                                               ; preds = %49, %48
  %54 = load i64, ptr %13, align 8, !tbaa !28
  %55 = icmp eq i64 %54, 1
  br i1 %55, label %59, label %56

56:                                               ; preds = %53
  %57 = load i64, ptr %13, align 8, !tbaa !28
  %58 = icmp eq i64 %57, 2
  br i1 %58, label %59, label %233

59:                                               ; preds = %56, %53
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %60, i32 0, i32 0
  %62 = load i64, ptr %61, align 8, !tbaa !24
  %63 = icmp slt i64 %62, 2
  br i1 %63, label %74, label %64

64:                                               ; preds = %59
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %65, i32 0, i32 0
  %67 = load i64, ptr %66, align 8, !tbaa !24
  %68 = icmp sgt i64 %67, 3
  br i1 %68, label %74, label %69

69:                                               ; preds = %64
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %70, i32 0, i32 18
  %72 = load i8, ptr %71, align 8, !tbaa !25, !range !26, !noundef !27
  %73 = trunc i8 %72 to i1
  br i1 %73, label %74, label %78

74:                                               ; preds = %69, %64, %59
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %75, i32 0, i32 7
  store i64 -3, ptr %76, align 8, !tbaa !29
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %77)
  store i32 1, ptr %14, align 4
  br label %319

78:                                               ; preds = %69
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %79, i32 0, i32 0
  %81 = load i64, ptr %80, align 8, !tbaa !24
  %82 = icmp eq i64 %81, 2
  br i1 %82, label %83, label %169

83:                                               ; preds = %78
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %84, i32 0, i32 15
  %86 = load i64, ptr %85, align 8, !tbaa !31
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %10, i64 noundef %86, i64 noundef 3, ptr noundef %87)
  store i64 0, ptr %12, align 8, !tbaa !28
  br label %88

88:                                               ; preds = %132, %83
  %89 = load i64, ptr %12, align 8, !tbaa !28
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %90, i32 0, i32 15
  %92 = load i64, ptr %91, align 8, !tbaa !31
  %93 = sub nsw i64 %92, 1
  %94 = icmp sle i64 %89, %93
  br i1 %94, label %95, label %135

95:                                               ; preds = %88
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %96, i32 0, i32 16
  %98 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %97, i32 0, i32 6
  %99 = load ptr, ptr %98, align 8, !tbaa !32
  %100 = load i64, ptr %12, align 8, !tbaa !28
  %101 = getelementptr inbounds ptr, ptr %99, i64 %100
  %102 = load ptr, ptr %101, align 8, !tbaa !5
  %103 = getelementptr inbounds double, ptr %102, i64 0
  %104 = load double, ptr %103, align 8, !tbaa !33
  %105 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %106 = load ptr, ptr %105, align 8, !tbaa !32
  %107 = load i64, ptr %12, align 8, !tbaa !28
  %108 = getelementptr inbounds ptr, ptr %106, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds double, ptr %109, i64 0
  store double %104, ptr %110, align 8, !tbaa !33
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %111, i32 0, i32 16
  %113 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %112, i32 0, i32 6
  %114 = load ptr, ptr %113, align 8, !tbaa !32
  %115 = load i64, ptr %12, align 8, !tbaa !28
  %116 = getelementptr inbounds ptr, ptr %114, i64 %115
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  %118 = getelementptr inbounds double, ptr %117, i64 1
  %119 = load double, ptr %118, align 8, !tbaa !33
  %120 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %121 = load ptr, ptr %120, align 8, !tbaa !32
  %122 = load i64, ptr %12, align 8, !tbaa !28
  %123 = getelementptr inbounds ptr, ptr %121, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = getelementptr inbounds double, ptr %124, i64 1
  store double %119, ptr %125, align 8, !tbaa !33
  %126 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %10, i32 0, i32 6
  %127 = load ptr, ptr %126, align 8, !tbaa !32
  %128 = load i64, ptr %12, align 8, !tbaa !28
  %129 = getelementptr inbounds ptr, ptr %127, i64 %128
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  %131 = getelementptr inbounds double, ptr %130, i64 2
  store double 0.000000e+00, ptr %131, align 8, !tbaa !33
  br label %132

132:                                              ; preds = %95
  %133 = load i64, ptr %12, align 8, !tbaa !28
  %134 = add nsw i64 %133, 1
  store i64 %134, ptr %12, align 8, !tbaa !28
  br label %88, !llvm.loop !34

135:                                              ; preds = %88
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %136, i32 0, i32 17
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %138, i32 0, i32 15
  %140 = load i64, ptr %139, align 8, !tbaa !31
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %141, i32 0, i32 9
  %143 = load i64, ptr %142, align 8, !tbaa !36
  %144 = load i64, ptr %13, align 8, !tbaa !28
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %145, i32 0, i32 8
  %147 = load i64, ptr %146, align 8, !tbaa !37
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %148, i32 0, i32 6
  %150 = load double, ptr %149, align 8, !tbaa !38
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %151, i32 0, i32 7
  %153 = load double, ptr %152, align 8, !tbaa !39
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %154, i32 0, i32 5
  %156 = load double, ptr %155, align 8, !tbaa !40
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %157, i32 0, i32 11
  %159 = load double, ptr %158, align 8, !tbaa !41
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %160, i32 0, i32 12
  %162 = load double, ptr %161, align 8, !tbaa !42
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %163, i32 0, i32 13
  %165 = load i64, ptr %164, align 8, !tbaa !43
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %166, i32 0, i32 3
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rbfv1buildmodelEPNS_9ae_matrixES1_lllldddddlPNS_10rbfv1modelEPNS_11rbfv1reportEPNS_8ae_stateE(ptr noundef %10, ptr noundef %137, i64 noundef %140, i64 noundef %143, i64 noundef %144, i64 noundef %147, double noundef %150, double noundef %153, double noundef %156, double noundef %159, double noundef %162, i64 noundef %165, ptr noundef %167, ptr noundef %8, ptr noundef %168)
  br label %205

169:                                              ; preds = %78
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %170, i32 0, i32 16
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %172, i32 0, i32 17
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %174, i32 0, i32 15
  %176 = load i64, ptr %175, align 8, !tbaa !31
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %177, i32 0, i32 9
  %179 = load i64, ptr %178, align 8, !tbaa !36
  %180 = load i64, ptr %13, align 8, !tbaa !28
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %181, i32 0, i32 8
  %183 = load i64, ptr %182, align 8, !tbaa !37
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %184, i32 0, i32 6
  %186 = load double, ptr %185, align 8, !tbaa !38
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %187, i32 0, i32 7
  %189 = load double, ptr %188, align 8, !tbaa !39
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %190, i32 0, i32 5
  %192 = load double, ptr %191, align 8, !tbaa !40
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %193, i32 0, i32 11
  %195 = load double, ptr %194, align 8, !tbaa !41
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %196, i32 0, i32 12
  %198 = load double, ptr %197, align 8, !tbaa !42
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %199, i32 0, i32 13
  %201 = load i64, ptr %200, align 8, !tbaa !43
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %202, i32 0, i32 3
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rbfv1buildmodelEPNS_9ae_matrixES1_lllldddddlPNS_10rbfv1modelEPNS_11rbfv1reportEPNS_8ae_stateE(ptr noundef %171, ptr noundef %173, i64 noundef %176, i64 noundef %179, i64 noundef %180, i64 noundef %183, double noundef %186, double noundef %189, double noundef %192, double noundef %195, double noundef %198, i64 noundef %201, ptr noundef %203, ptr noundef %8, ptr noundef %204)
  br label %205

205:                                              ; preds = %169, %135
  %206 = load ptr, ptr %4, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %206, i32 0, i32 2
  store i64 1, ptr %207, align 8, !tbaa !44
  %208 = getelementptr inbounds %"struct.alglib_impl::rbfv1report", ptr %8, i32 0, i32 0
  %209 = load i64, ptr %208, align 8, !tbaa !45
  %210 = load ptr, ptr %5, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %210, i32 0, i32 2
  store i64 %209, ptr %211, align 8, !tbaa !47
  %212 = getelementptr inbounds %"struct.alglib_impl::rbfv1report", ptr %8, i32 0, i32 1
  %213 = load i64, ptr %212, align 8, !tbaa !48
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %214, i32 0, i32 3
  store i64 %213, ptr %215, align 8, !tbaa !49
  %216 = getelementptr inbounds %"struct.alglib_impl::rbfv1report", ptr %8, i32 0, i32 2
  %217 = load i64, ptr %216, align 8, !tbaa !50
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %218, i32 0, i32 4
  store i64 %217, ptr %219, align 8, !tbaa !51
  %220 = getelementptr inbounds %"struct.alglib_impl::rbfv1report", ptr %8, i32 0, i32 3
  %221 = load i64, ptr %220, align 8, !tbaa !52
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %222, i32 0, i32 5
  store i64 %221, ptr %223, align 8, !tbaa !53
  %224 = getelementptr inbounds %"struct.alglib_impl::rbfv1report", ptr %8, i32 0, i32 4
  %225 = load i64, ptr %224, align 8, !tbaa !54
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %226, i32 0, i32 6
  store i64 %225, ptr %227, align 8, !tbaa !55
  %228 = getelementptr inbounds %"struct.alglib_impl::rbfv1report", ptr %8, i32 0, i32 5
  %229 = load i64, ptr %228, align 8, !tbaa !56
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %230, i32 0, i32 7
  store i64 %229, ptr %231, align 8, !tbaa !29
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %232)
  store i32 1, ptr %14, align 4
  br label %319

233:                                              ; preds = %56
  %234 = load i64, ptr %13, align 8, !tbaa !28
  %235 = icmp eq i64 %234, 3
  br i1 %235, label %236, label %316

236:                                              ; preds = %233
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %237, i32 0, i32 0
  %239 = load i64, ptr %238, align 8, !tbaa !24
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %11, i64 noundef %239, ptr noundef %240)
  store i64 0, ptr %12, align 8, !tbaa !28
  br label %241

241:                                              ; preds = %271, %236
  %242 = load i64, ptr %12, align 8, !tbaa !28
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %243, i32 0, i32 0
  %245 = load i64, ptr %244, align 8, !tbaa !24
  %246 = sub nsw i64 %245, 1
  %247 = icmp sle i64 %242, %246
  br i1 %247, label %248, label %274

248:                                              ; preds = %241
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %249, i32 0, i32 18
  %251 = load i8, ptr %250, align 8, !tbaa !25, !range !26, !noundef !27
  %252 = trunc i8 %251 to i1
  br i1 %252, label %253, label %265

253:                                              ; preds = %248
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  %255 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %254, i32 0, i32 19
  %256 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %255, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !32
  %258 = load i64, ptr %12, align 8, !tbaa !28
  %259 = getelementptr inbounds double, ptr %257, i64 %258
  %260 = load double, ptr %259, align 8, !tbaa !33
  %261 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %11, i32 0, i32 4
  %262 = load ptr, ptr %261, align 8, !tbaa !32
  %263 = load i64, ptr %12, align 8, !tbaa !28
  %264 = getelementptr inbounds double, ptr %262, i64 %263
  store double %260, ptr %264, align 8, !tbaa !33
  br label %270

265:                                              ; preds = %248
  %266 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %11, i32 0, i32 4
  %267 = load ptr, ptr %266, align 8, !tbaa !32
  %268 = load i64, ptr %12, align 8, !tbaa !28
  %269 = getelementptr inbounds double, ptr %267, i64 %268
  store double 1.000000e+00, ptr %269, align 8, !tbaa !33
  br label %270

270:                                              ; preds = %265, %253
  br label %271

271:                                              ; preds = %270
  %272 = load i64, ptr %12, align 8, !tbaa !28
  %273 = add nsw i64 %272, 1
  store i64 %273, ptr %12, align 8, !tbaa !28
  br label %241, !llvm.loop !57

274:                                              ; preds = %241
  %275 = load ptr, ptr %4, align 8, !tbaa !5
  %276 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %275, i32 0, i32 16
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %277, i32 0, i32 17
  %279 = load ptr, ptr %4, align 8, !tbaa !5
  %280 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %279, i32 0, i32 15
  %281 = load i64, ptr %280, align 8, !tbaa !31
  %282 = load ptr, ptr %4, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %282, i32 0, i32 9
  %284 = load i64, ptr %283, align 8, !tbaa !36
  %285 = load ptr, ptr %4, align 8, !tbaa !5
  %286 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %285, i32 0, i32 8
  %287 = load i64, ptr %286, align 8, !tbaa !37
  %288 = load ptr, ptr %4, align 8, !tbaa !5
  %289 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %288, i32 0, i32 6
  %290 = load double, ptr %289, align 8, !tbaa !38
  %291 = load ptr, ptr %4, align 8, !tbaa !5
  %292 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %291, i32 0, i32 5
  %293 = load double, ptr %292, align 8, !tbaa !40
  %294 = load ptr, ptr %4, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %294, i32 0, i32 4
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  %297 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %296, i32 0, i32 20
  %298 = load ptr, ptr %4, align 8, !tbaa !5
  %299 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %298, i32 0, i32 21
  %300 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl22rbfv2buildhierarchicalEPNS_9ae_matrixES1_lPNS_9ae_vectorEllddPNS_10rbfv2modelEPlPbPNS_11rbfv2reportEPNS_8ae_stateE(ptr noundef %276, ptr noundef %278, i64 noundef %281, ptr noundef %11, i64 noundef %284, i64 noundef %287, double noundef %290, double noundef %293, ptr noundef %295, ptr noundef %297, ptr noundef %299, ptr noundef %9, ptr noundef %300)
  %301 = load ptr, ptr %4, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %301, i32 0, i32 2
  store i64 2, ptr %302, align 8, !tbaa !44
  %303 = getelementptr inbounds %"struct.alglib_impl::rbfv2report", ptr %9, i32 0, i32 0
  %304 = load i64, ptr %303, align 8, !tbaa !58
  %305 = load ptr, ptr %5, align 8, !tbaa !5
  %306 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %305, i32 0, i32 7
  store i64 %304, ptr %306, align 8, !tbaa !29
  %307 = getelementptr inbounds %"struct.alglib_impl::rbfv2report", ptr %9, i32 0, i32 2
  %308 = load double, ptr %307, align 8, !tbaa !60
  %309 = load ptr, ptr %5, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %309, i32 0, i32 0
  store double %308, ptr %310, align 8, !tbaa !61
  %311 = getelementptr inbounds %"struct.alglib_impl::rbfv2report", ptr %9, i32 0, i32 1
  %312 = load double, ptr %311, align 8, !tbaa !62
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.alglib_impl::rbfreport", ptr %313, i32 0, i32 1
  store double %312, ptr %314, align 8, !tbaa !63
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %315)
  store i32 1, ptr %14, align 4
  br label %319

316:                                              ; preds = %233
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.798, ptr noundef %317)
  %318 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %318)
  store i32 0, ptr %14, align 4
  br label %319

319:                                              ; preds = %316, %274, %205, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  %320 = load i32, ptr %14, align 4
  switch i32 %320, label %322 [
    i32 0, label %321
    i32 1, label %321
  ]

321:                                              ; preds = %319, %319
  ret void

322:                                              ; preds = %319
  unreachable
}

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

declare void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17_rbfv2report_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17_rbfv1report_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL21rbf_clearreportfieldsEPNS_9rbfreportEPNS_8ae_stateE(ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 2816}
!10 = !{!"_ZTSN11alglib_impl8rbfmodelE", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !20, i64 1512, !19, i64 2496, !19, i64 2504, !19, i64 2512, !11, i64 2520, !11, i64 2528, !11, i64 2536, !19, i64 2544, !19, i64 2552, !11, i64 2560, !11, i64 2568, !11, i64 2576, !14, i64 2584, !14, i64 2664, !15, i64 2744, !17, i64 2752, !11, i64 2816, !15, i64 2824}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !13, i64 32, !14, i64 1032, !14, i64 1112, !19, i64 1192, !14, i64 1200, !17, i64 1280, !14, i64 1344, !17, i64 1424}
!13 = !{!"_ZTSN11alglib_impl6kdtreeE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !14, i64 32, !17, i64 112, !17, i64 176, !17, i64 240, !17, i64 304, !17, i64 368, !18, i64 432, !11, i64 992}
!14 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !15, i64 32, !16, i64 40, !7, i64 72}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !15, i64 16, !16, i64 24, !7, i64 56}
!18 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !17, i64 0, !17, i64 64, !17, i64 128, !11, i64 192, !19, i64 200, !15, i64 208, !19, i64 216, !11, i64 224, !17, i64 232, !17, i64 296, !17, i64 360, !17, i64 424, !17, i64 488, !19, i64 552}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTSN11alglib_impl10rbfv2modelE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !17, i64 32, !17, i64 96, !17, i64 160, !17, i64 224, !17, i64 288, !17, i64 352, !17, i64 416, !17, i64 480, !14, i64 544, !19, i64 624, !11, i64 632, !19, i64 640, !11, i64 648, !21, i64 656}
!21 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !17, i64 0, !17, i64 64, !17, i64 128, !19, i64 192, !17, i64 200, !17, i64 264}
!22 = !{!10, !15, i64 2824}
!23 = !{!10, !11, i64 2536}
!24 = !{!10, !11, i64 0}
!25 = !{!10, !15, i64 2744}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!11, !11, i64 0}
!29 = !{!30, !11, i64 56}
!30 = !{!"_ZTSN11alglib_impl9rbfreportE", !19, i64 0, !19, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!31 = !{!10, !11, i64 2576}
!32 = !{!7, !7, i64 0}
!33 = !{!19, !19, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!10, !11, i64 2528}
!37 = !{!10, !11, i64 2520}
!38 = !{!10, !19, i64 2504}
!39 = !{!10, !19, i64 2512}
!40 = !{!10, !19, i64 2496}
!41 = !{!10, !19, i64 2544}
!42 = !{!10, !19, i64 2552}
!43 = !{!10, !11, i64 2560}
!44 = !{!10, !11, i64 16}
!45 = !{!46, !11, i64 0}
!46 = !{!"_ZTSN11alglib_impl11rbfv1reportE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!47 = !{!30, !11, i64 16}
!48 = !{!46, !11, i64 8}
!49 = !{!30, !11, i64 24}
!50 = !{!46, !11, i64 16}
!51 = !{!30, !11, i64 32}
!52 = !{!46, !11, i64 24}
!53 = !{!30, !11, i64 40}
!54 = !{!46, !11, i64 32}
!55 = !{!30, !11, i64 48}
!56 = !{!46, !11, i64 40}
!57 = distinct !{!57, !35}
!58 = !{!59, !11, i64 0}
!59 = !{!"_ZTSN11alglib_impl11rbfv2reportE", !11, i64 0, !19, i64 8, !19, i64 16}
!60 = !{!59, !19, i64 16}
!61 = !{!30, !19, i64 0}
!62 = !{!59, !19, i64 8}
!63 = !{!30, !19, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::rbfv1report" = type { i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::rbfv2report" = type { i64, double, double }
%"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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.798 = external hidden unnamed_addr constant [39 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress 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) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13rbfbuildmodelEPNS_8rbfmodelEPNS_9rbfreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 {
  %4 = alloca %"struct.alglib_impl::ae_frame", align 8
  %5 = alloca %"struct.alglib_impl::rbfv1report", align 16
  %6 = alloca %"struct.alglib_impl::rbfv2report", align 8
  %7 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %2, ptr noundef nonnull %4)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %5, i8 0, i64 48, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %6, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %7, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl16_rbfreport_clearEPv(ptr noundef %1)
  call void @_ZN11alglib_impl17_rbfv1report_initEPvPNS_8ae_stateEb(ptr noundef nonnull %5, ptr noundef %2, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_rbfv2report_initEPvPNS_8ae_stateEb(ptr noundef nonnull %6, ptr noundef %2, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %2, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 3, ptr noundef %2, i1 noundef zeroext true)
  call void @_ZN11alglib_implL21rbf_clearreportfieldsEPNS_9rbfreportEPNS_8ae_stateE(ptr noundef %1, ptr noundef %2)
  %9 = getelementptr inbounds i8, ptr %0, i64 2816
  store i64 0, ptr %9, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 2824
  store i8 0, ptr %10, align 8, !tbaa !21
  %11 = getelementptr inbounds i8, ptr %0, i64 2536
  %12 = load i64, ptr %11, align 8, !tbaa !22
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %14, label %21

14:                                               ; preds = %3
  %15 = load i64, ptr %0, align 8, !tbaa !23
  %16 = add i64 %15, -4
  %or.cond104 = icmp ult i64 %16, -2
  br i1 %or.cond104, label %.thread113, label %17

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %0, i64 2744
  %19 = load i8, ptr %18, align 8, !tbaa !24, !range !25, !noundef !26
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %.thread113, label %.thread109.thread

21:                                               ; preds = %3
  %or.cond = icmp ult i64 %12, 3
  br i1 %or.cond, label %.thread109, label %109

.thread109:                                       ; preds = %21
  %.pre = load i64, ptr %0, align 8, !tbaa !23
  %.pre125 = add i64 %.pre, -4
  %22 = icmp ult i64 %.pre125, -2
  br i1 %22, label %27, label %.thread109.thread

.thread109.thread:                                ; preds = %17, %.thread109
  %.0112128 = phi i64 [ %12, %.thread109 ], [ 1, %17 ]
  %23 = phi i64 [ %.pre, %.thread109 ], [ %15, %17 ]
  %24 = getelementptr inbounds i8, ptr %0, i64 2744
  %25 = load i8, ptr %24, align 8, !tbaa !24, !range !25, !noundef !26
  %26 = trunc nuw i8 %25 to i1
  br i1 %26, label %27, label %29

27:                                               ; preds = %.thread109.thread, %.thread109
  %28 = getelementptr inbounds i8, ptr %1, i64 56
  store i64 -3, ptr %28, align 8, !tbaa !27
  br label %185

29:                                               ; preds = %.thread109.thread
  %30 = icmp eq i64 %23, 2
  br i1 %30, label %31, label %77

31:                                               ; preds = %29
  %32 = getelementptr inbounds i8, ptr %0, i64 2576
  %33 = load i64, ptr %32, align 8, !tbaa !29
  call void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %33, i64 noundef 3, ptr noundef %2)
  %34 = load i64, ptr %32, align 8, !tbaa !29
  %.not.not103115 = icmp sgt i64 %34, 0
  br i1 %.not.not103115, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %31
  %35 = getelementptr inbounds i8, ptr %0, i64 2656
  %36 = getelementptr inbounds i8, ptr %7, i64 72
  br label %37

37:                                               ; preds = %.lr.ph, %37
  %.099116 = phi i64 [ 0, %.lr.ph ], [ %58, %37 ]
  %38 = load ptr, ptr %35, align 8, !tbaa !30
  %39 = getelementptr inbounds ptr, ptr %38, i64 %.099116
  %40 = load ptr, ptr %39, align 8, !tbaa !31
  %41 = load double, ptr %40, align 8, !tbaa !32
  %42 = load ptr, ptr %36, align 8, !tbaa !30
  %43 = getelementptr inbounds ptr, ptr %42, i64 %.099116
  %44 = load ptr, ptr %43, align 8, !tbaa !31
  store double %41, ptr %44, align 8, !tbaa !32
  %45 = load ptr, ptr %35, align 8, !tbaa !30
  %46 = getelementptr inbounds ptr, ptr %45, i64 %.099116
  %47 = load ptr, ptr %46, align 8, !tbaa !31
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = load double, ptr %48, align 8, !tbaa !32
  %50 = load ptr, ptr %36, align 8, !tbaa !30
  %51 = getelementptr inbounds ptr, ptr %50, i64 %.099116
  %52 = load ptr, ptr %51, align 8, !tbaa !31
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  store double %49, ptr %53, align 8, !tbaa !32
  %54 = load ptr, ptr %36, align 8, !tbaa !30
  %55 = getelementptr inbounds ptr, ptr %54, i64 %.099116
  %56 = load ptr, ptr %55, align 8, !tbaa !31
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  store double 0.000000e+00, ptr %57, align 8, !tbaa !32
  %58 = add nuw nsw i64 %.099116, 1
  %exitcond.not = icmp eq i64 %58, %34
  br i1 %exitcond.not, label %._crit_edge, label %37, !llvm.loop !33

._crit_edge:                                      ; preds = %37, %31
  %59 = getelementptr inbounds i8, ptr %0, i64 2664
  %60 = getelementptr inbounds i8, ptr %0, i64 2528
  %61 = load i64, ptr %60, align 8, !tbaa !35
  %62 = getelementptr inbounds i8, ptr %0, i64 2520
  %63 = load i64, ptr %62, align 8, !tbaa !36
  %64 = getelementptr inbounds i8, ptr %0, i64 2504
  %65 = load double, ptr %64, align 8, !tbaa !37
  %66 = getelementptr inbounds i8, ptr %0, i64 2512
  %67 = load double, ptr %66, align 8, !tbaa !38
  %68 = getelementptr inbounds i8, ptr %0, i64 2496
  %69 = load double, ptr %68, align 8, !tbaa !39
  %70 = getelementptr inbounds i8, ptr %0, i64 2544
  %71 = load double, ptr %70, align 8, !tbaa !40
  %72 = getelementptr inbounds i8, ptr %0, i64 2552
  %73 = load double, ptr %72, align 8, !tbaa !41
  %74 = getelementptr inbounds i8, ptr %0, i64 2560
  %75 = load i64, ptr %74, align 8, !tbaa !42
  %76 = getelementptr inbounds i8, ptr %0, i64 24
  call void @_ZN11alglib_impl15rbfv1buildmodelEPNS_9ae_matrixES1_lllldddddlPNS_10rbfv1modelEPNS_11rbfv1reportEPNS_8ae_stateE(ptr noundef nonnull %7, ptr noundef nonnull %59, i64 noundef %34, i64 noundef %61, i64 noundef %.0112128, i64 noundef %63, double noundef %65, double noundef %67, double noundef %69, double noundef %71, double noundef %73, i64 noundef %75, ptr noundef nonnull %76, ptr noundef nonnull %5, ptr noundef %2)
  br label %99

77:                                               ; preds = %29
  %78 = getelementptr inbounds i8, ptr %0, i64 2584
  %79 = getelementptr inbounds i8, ptr %0, i64 2664
  %80 = getelementptr inbounds i8, ptr %0, i64 2576
  %81 = load i64, ptr %80, align 8, !tbaa !29
  %82 = getelementptr inbounds i8, ptr %0, i64 2528
  %83 = load i64, ptr %82, align 8, !tbaa !35
  %84 = getelementptr inbounds i8, ptr %0, i64 2520
  %85 = load i64, ptr %84, align 8, !tbaa !36
  %86 = getelementptr inbounds i8, ptr %0, i64 2504
  %87 = load double, ptr %86, align 8, !tbaa !37
  %88 = getelementptr inbounds i8, ptr %0, i64 2512
  %89 = load double, ptr %88, align 8, !tbaa !38
  %90 = getelementptr inbounds i8, ptr %0, i64 2496
  %91 = load double, ptr %90, align 8, !tbaa !39
  %92 = getelementptr inbounds i8, ptr %0, i64 2544
  %93 = load double, ptr %92, align 8, !tbaa !40
  %94 = getelementptr inbounds i8, ptr %0, i64 2552
  %95 = load double, ptr %94, align 8, !tbaa !41
  %96 = getelementptr inbounds i8, ptr %0, i64 2560
  %97 = load i64, ptr %96, align 8, !tbaa !42
  %98 = getelementptr inbounds i8, ptr %0, i64 24
  call void @_ZN11alglib_impl15rbfv1buildmodelEPNS_9ae_matrixES1_lllldddddlPNS_10rbfv1modelEPNS_11rbfv1reportEPNS_8ae_stateE(ptr noundef nonnull %78, ptr noundef nonnull %79, i64 noundef %81, i64 noundef %83, i64 noundef %.0112128, i64 noundef %85, double noundef %87, double noundef %89, double noundef %91, double noundef %93, double noundef %95, i64 noundef %97, ptr noundef nonnull %98, ptr noundef nonnull %5, ptr noundef %2)
  br label %99

99:                                               ; preds = %77, %._crit_edge
  %100 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 1, ptr %100, align 8, !tbaa !43
  %101 = getelementptr inbounds i8, ptr %1, i64 16
  %102 = load <2 x i64>, ptr %5, align 16, !tbaa !44
  store <2 x i64> %102, ptr %101, align 8, !tbaa !44
  %103 = getelementptr inbounds i8, ptr %5, i64 16
  %104 = getelementptr inbounds i8, ptr %1, i64 32
  %105 = load <2 x i64>, ptr %103, align 16, !tbaa !44
  store <2 x i64> %105, ptr %104, align 8, !tbaa !44
  %106 = getelementptr inbounds i8, ptr %5, i64 32
  %107 = getelementptr inbounds i8, ptr %1, i64 48
  %108 = load <2 x i64>, ptr %106, align 16, !tbaa !44
  store <2 x i64> %108, ptr %107, align 8, !tbaa !44
  br label %185

109:                                              ; preds = %21
  %110 = icmp eq i64 %12, 3
  br i1 %110, label %..thread113_crit_edge, label %184

..thread113_crit_edge:                            ; preds = %109
  %.pre124 = load i64, ptr %0, align 8, !tbaa !23
  br label %.thread113

.thread113:                                       ; preds = %..thread113_crit_edge, %14, %17
  %111 = phi i64 [ %.pre124, %..thread113_crit_edge ], [ %15, %14 ], [ %15, %17 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %111, ptr noundef %2)
  %112 = load i64, ptr %0, align 8, !tbaa !23
  %.not.not117 = icmp sgt i64 %112, 0
  br i1 %.not.not117, label %.lr.ph119, label %._crit_edge120

.lr.ph119:                                        ; preds = %.thread113
  %113 = getelementptr inbounds i8, ptr %0, i64 2744
  %114 = load i8, ptr %113, align 8, !tbaa !24, !range !25, !noundef !26
  %115 = trunc nuw i8 %114 to i1
  %116 = getelementptr inbounds i8, ptr %8, i64 56
  %117 = getelementptr inbounds i8, ptr %0, i64 2808
  br i1 %115, label %.lr.ph119.split.us.preheader, label %.lr.ph119.split.preheader

.lr.ph119.split.preheader:                        ; preds = %.lr.ph119
  %xtraiter = and i64 %112, 3
  %118 = icmp ult i64 %112, 4
  br i1 %118, label %._crit_edge120.loopexit131.unr-lcssa, label %.lr.ph119.split.preheader.new

.lr.ph119.split.preheader.new:                    ; preds = %.lr.ph119.split.preheader
  %unroll_iter = and i64 %112, 9223372036854775804
  br label %.lr.ph119.split

.lr.ph119.split.us.preheader:                     ; preds = %.lr.ph119
  %xtraiter132 = and i64 %112, 3
  %119 = icmp ult i64 %112, 4
  br i1 %119, label %._crit_edge120.loopexit.unr-lcssa, label %.lr.ph119.split.us.preheader.new

.lr.ph119.split.us.preheader.new:                 ; preds = %.lr.ph119.split.us.preheader
  %unroll_iter135 = and i64 %112, 9223372036854775804
  br label %.lr.ph119.split.us

.lr.ph119.split.us:                               ; preds = %.lr.ph119.split.us, %.lr.ph119.split.us.preheader.new
  %.1118.us = phi i64 [ 0, %.lr.ph119.split.us.preheader.new ], [ %143, %.lr.ph119.split.us ]
  %niter136 = phi i64 [ 0, %.lr.ph119.split.us.preheader.new ], [ %niter136.next.3, %.lr.ph119.split.us ]
  %120 = load ptr, ptr %117, align 8, !tbaa !30
  %121 = getelementptr inbounds double, ptr %120, i64 %.1118.us
  %122 = load double, ptr %121, align 8, !tbaa !32
  %123 = load ptr, ptr %116, align 8, !tbaa !30
  %124 = getelementptr inbounds double, ptr %123, i64 %.1118.us
  store double %122, ptr %124, align 8, !tbaa !32
  %125 = or disjoint i64 %.1118.us, 1
  %126 = load ptr, ptr %117, align 8, !tbaa !30
  %127 = getelementptr inbounds double, ptr %126, i64 %125
  %128 = load double, ptr %127, align 8, !tbaa !32
  %129 = load ptr, ptr %116, align 8, !tbaa !30
  %130 = getelementptr inbounds double, ptr %129, i64 %125
  store double %128, ptr %130, align 8, !tbaa !32
  %131 = or disjoint i64 %.1118.us, 2
  %132 = load ptr, ptr %117, align 8, !tbaa !30
  %133 = getelementptr inbounds double, ptr %132, i64 %131
  %134 = load double, ptr %133, align 8, !tbaa !32
  %135 = load ptr, ptr %116, align 8, !tbaa !30
  %136 = getelementptr inbounds double, ptr %135, i64 %131
  store double %134, ptr %136, align 8, !tbaa !32
  %137 = or disjoint i64 %.1118.us, 3
  %138 = load ptr, ptr %117, align 8, !tbaa !30
  %139 = getelementptr inbounds double, ptr %138, i64 %137
  %140 = load double, ptr %139, align 8, !tbaa !32
  %141 = load ptr, ptr %116, align 8, !tbaa !30
  %142 = getelementptr inbounds double, ptr %141, i64 %137
  store double %140, ptr %142, align 8, !tbaa !32
  %143 = add nuw nsw i64 %.1118.us, 4
  %niter136.next.3 = add i64 %niter136, 4
  %niter136.ncmp.3 = icmp eq i64 %niter136.next.3, %unroll_iter135
  br i1 %niter136.ncmp.3, label %._crit_edge120.loopexit.unr-lcssa, label %.lr.ph119.split.us, !llvm.loop !45

.lr.ph119.split:                                  ; preds = %.lr.ph119.split, %.lr.ph119.split.preheader.new
  %.1118 = phi i64 [ 0, %.lr.ph119.split.preheader.new ], [ %155, %.lr.ph119.split ]
  %niter = phi i64 [ 0, %.lr.ph119.split.preheader.new ], [ %niter.next.3, %.lr.ph119.split ]
  %144 = load ptr, ptr %116, align 8, !tbaa !30
  %145 = getelementptr inbounds double, ptr %144, i64 %.1118
  store double 1.000000e+00, ptr %145, align 8, !tbaa !32
  %146 = or disjoint i64 %.1118, 1
  %147 = load ptr, ptr %116, align 8, !tbaa !30
  %148 = getelementptr inbounds double, ptr %147, i64 %146
  store double 1.000000e+00, ptr %148, align 8, !tbaa !32
  %149 = or disjoint i64 %.1118, 2
  %150 = load ptr, ptr %116, align 8, !tbaa !30
  %151 = getelementptr inbounds double, ptr %150, i64 %149
  store double 1.000000e+00, ptr %151, align 8, !tbaa !32
  %152 = or disjoint i64 %.1118, 3
  %153 = load ptr, ptr %116, align 8, !tbaa !30
  %154 = getelementptr inbounds double, ptr %153, i64 %152
  store double 1.000000e+00, ptr %154, align 8, !tbaa !32
  %155 = add nuw nsw i64 %.1118, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge120.loopexit131.unr-lcssa, label %.lr.ph119.split, !llvm.loop !45

._crit_edge120.loopexit.unr-lcssa:                ; preds = %.lr.ph119.split.us, %.lr.ph119.split.us.preheader
  %.1118.us.unr = phi i64 [ 0, %.lr.ph119.split.us.preheader ], [ %143, %.lr.ph119.split.us ]
  %lcmp.mod134.not = icmp eq i64 %xtraiter132, 0
  br i1 %lcmp.mod134.not, label %._crit_edge120, label %.lr.ph119.split.us.epil

.lr.ph119.split.us.epil:                          ; preds = %._crit_edge120.loopexit.unr-lcssa, %.lr.ph119.split.us.epil
  %.1118.us.epil = phi i64 [ %161, %.lr.ph119.split.us.epil ], [ %.1118.us.unr, %._crit_edge120.loopexit.unr-lcssa ]
  %epil.iter133 = phi i64 [ %epil.iter133.next, %.lr.ph119.split.us.epil ], [ 0, %._crit_edge120.loopexit.unr-lcssa ]
  %156 = load ptr, ptr %117, align 8, !tbaa !30
  %157 = getelementptr inbounds double, ptr %156, i64 %.1118.us.epil
  %158 = load double, ptr %157, align 8, !tbaa !32
  %159 = load ptr, ptr %116, align 8, !tbaa !30
  %160 = getelementptr inbounds double, ptr %159, i64 %.1118.us.epil
  store double %158, ptr %160, align 8, !tbaa !32
  %161 = add nuw nsw i64 %.1118.us.epil, 1
  %epil.iter133.next = add i64 %epil.iter133, 1
  %epil.iter133.cmp.not = icmp eq i64 %epil.iter133.next, %xtraiter132
  br i1 %epil.iter133.cmp.not, label %._crit_edge120, label %.lr.ph119.split.us.epil, !llvm.loop !46

._crit_edge120.loopexit131.unr-lcssa:             ; preds = %.lr.ph119.split, %.lr.ph119.split.preheader
  %.1118.unr = phi i64 [ 0, %.lr.ph119.split.preheader ], [ %155, %.lr.ph119.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge120, label %.lr.ph119.split.epil

.lr.ph119.split.epil:                             ; preds = %._crit_edge120.loopexit131.unr-lcssa, %.lr.ph119.split.epil
  %.1118.epil = phi i64 [ %164, %.lr.ph119.split.epil ], [ %.1118.unr, %._crit_edge120.loopexit131.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph119.split.epil ], [ 0, %._crit_edge120.loopexit131.unr-lcssa ]
  %162 = load ptr, ptr %116, align 8, !tbaa !30
  %163 = getelementptr inbounds double, ptr %162, i64 %.1118.epil
  store double 1.000000e+00, ptr %163, align 8, !tbaa !32
  %164 = add nuw nsw i64 %.1118.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge120, label %.lr.ph119.split.epil, !llvm.loop !48

._crit_edge120:                                   ; preds = %._crit_edge120.loopexit131.unr-lcssa, %.lr.ph119.split.epil, %._crit_edge120.loopexit.unr-lcssa, %.lr.ph119.split.us.epil, %.thread113
  %165 = getelementptr inbounds i8, ptr %0, i64 2584
  %166 = getelementptr inbounds i8, ptr %0, i64 2664
  %167 = getelementptr inbounds i8, ptr %0, i64 2576
  %168 = load i64, ptr %167, align 8, !tbaa !29
  %169 = getelementptr inbounds i8, ptr %0, i64 2528
  %170 = load i64, ptr %169, align 8, !tbaa !35
  %171 = getelementptr inbounds i8, ptr %0, i64 2520
  %172 = load i64, ptr %171, align 8, !tbaa !36
  %173 = getelementptr inbounds i8, ptr %0, i64 2504
  %174 = load double, ptr %173, align 8, !tbaa !37
  %175 = getelementptr inbounds i8, ptr %0, i64 2496
  %176 = load double, ptr %175, align 8, !tbaa !39
  %177 = getelementptr inbounds i8, ptr %0, i64 1512
  call void @_ZN11alglib_impl22rbfv2buildhierarchicalEPNS_9ae_matrixES1_lPNS_9ae_vectorEllddPNS_10rbfv2modelEPlPbPNS_11rbfv2reportEPNS_8ae_stateE(ptr noundef nonnull %165, ptr noundef nonnull %166, i64 noundef %168, ptr noundef nonnull %8, i64 noundef %170, i64 noundef %172, double noundef %174, double noundef %176, ptr noundef nonnull %177, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef %2)
  %178 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 2, ptr %178, align 8, !tbaa !43
  %179 = load i64, ptr %6, align 8, !tbaa !49
  %180 = getelementptr inbounds i8, ptr %1, i64 56
  store i64 %179, ptr %180, align 8, !tbaa !27
  %181 = getelementptr inbounds i8, ptr %6, i64 8
  %182 = load <2 x double>, ptr %181, align 8, !tbaa !32
  %183 = shufflevector <2 x double> %182, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  store <2 x double> %183, ptr %1, align 8, !tbaa !32
  br label %185

184:                                              ; preds = %109
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.798, ptr noundef %2)
  br label %185

185:                                              ; preds = %184, %._crit_edge120, %99, %27
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %2)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  ret void
}

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

declare void @_ZN11alglib_impl23rmatrixsetlengthatleastEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl22rbfv2buildhierarchicalEPNS_9ae_matrixES1_lPNS_9ae_vectorEllddPNS_10rbfv2modelEPlPbPNS_11rbfv2reportEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17_rbfv2report_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15rbfv1buildmodelEPNS_9ae_matrixES1_lllldddddlPNS_10rbfv1modelEPNS_11rbfv1reportEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17_rbfv1report_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl16_rbfreport_clearEPv(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL21rbf_clearreportfieldsEPNS_9rbfreportEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !7, i64 2816}
!6 = !{!"_ZTSN11alglib_impl8rbfmodelE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !19, i64 1512, !18, i64 2496, !18, i64 2504, !18, i64 2512, !7, i64 2520, !7, i64 2528, !7, i64 2536, !18, i64 2544, !18, i64 2552, !7, i64 2560, !7, i64 2568, !7, i64 2576, !12, i64 2584, !12, i64 2664, !13, i64 2744, !16, i64 2752, !7, i64 2816, !13, i64 2824}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !12, i64 1032, !12, i64 1112, !18, i64 1192, !12, i64 1200, !16, i64 1280, !12, i64 1344, !16, i64 1424}
!11 = !{!"_ZTSN11alglib_impl6kdtreeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !16, i64 112, !16, i64 176, !16, i64 240, !16, i64 304, !16, i64 368, !17, i64 432, !7, i64 992}
!12 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !13, i64 32, !14, i64 40, !8, i64 72}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !13, i64 16, !14, i64 24, !8, i64 56}
!17 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !16, i64 0, !16, i64 64, !16, i64 128, !7, i64 192, !18, i64 200, !13, i64 208, !18, i64 216, !7, i64 224, !16, i64 232, !16, i64 296, !16, i64 360, !16, i64 424, !16, i64 488, !18, i64 552}
!18 = !{!"double", !8, i64 0}
!19 = !{!"_ZTSN11alglib_impl10rbfv2modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !16, i64 32, !16, i64 96, !16, i64 160, !16, i64 224, !16, i64 288, !16, i64 352, !16, i64 416, !16, i64 480, !12, i64 544, !18, i64 624, !7, i64 632, !18, i64 640, !7, i64 648, !20, i64 656}
!20 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !16, i64 0, !16, i64 64, !16, i64 128, !18, i64 192, !16, i64 200, !16, i64 264}
!21 = !{!6, !13, i64 2824}
!22 = !{!6, !7, i64 2536}
!23 = !{!6, !7, i64 0}
!24 = !{!6, !13, i64 2744}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !7, i64 56}
!28 = !{!"_ZTSN11alglib_impl9rbfreportE", !18, i64 0, !18, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!29 = !{!6, !7, i64 2576}
!30 = !{!8, !8, i64 0}
!31 = !{!15, !15, i64 0}
!32 = !{!18, !18, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!6, !7, i64 2528}
!36 = !{!6, !7, i64 2520}
!37 = !{!6, !18, i64 2504}
!38 = !{!6, !18, i64 2512}
!39 = !{!6, !18, i64 2496}
!40 = !{!6, !18, i64 2544}
!41 = !{!6, !18, i64 2552}
!42 = !{!6, !7, i64 2560}
!43 = !{!6, !7, i64 16}
!44 = !{!7, !7, i64 0}
!45 = distinct !{!45, !34}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.unroll.disable"}
!48 = distinct !{!48, !47}
!49 = !{!50, !7, i64 0}
!50 = !{!"_ZTSN11alglib_impl11rbfv2reportE", !7, i64 0, !18, i64 8, !18, i64 16}


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