; 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_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::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::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::rbfv1calcbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::kdtreerequestbuffer" }

@.str.680 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.681 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZN11alglib_implL10rbfv1_mxnxE = external hidden global i64, align 8
@_ZN11alglib_implL18rbfv1_rbffarradiusE = external hidden global double, align 8

; 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 void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rbfv1tscalcbufEPNS_10rbfv1modelEPNS_15rbfv1calcbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  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
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 0
  %22 = load i64, ptr %21, align 8, !tbaa !9
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %23, i32 0, i32 1
  %25 = load i64, ptr %24, align 8, !tbaa !14
  %26 = icmp sge i64 %22, %25
  %27 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef @.str.680, ptr noundef %27)
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %29, i32 0, i32 1
  %31 = load i64, ptr %30, align 8, !tbaa !14
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %28, i64 noundef %31, ptr noundef %32)
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %33, ptr noundef @.str.681, ptr noundef %34)
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 0
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %38, i32 0, i32 0
  %40 = load i64, ptr %39, align 8, !tbaa !20
  %41 = icmp slt i64 %37, %40
  br i1 %41, label %42, label %48

42:                                               ; preds = %5
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %44, i32 0, i32 0
  %46 = load i64, ptr %45, align 8, !tbaa !20
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %43, i64 noundef %46, ptr noundef %47)
  br label %48

48:                                               ; preds = %42, %5
  store i64 0, ptr %11, align 8, !tbaa !21
  br label %49

49:                                               ; preds = %112, %48
  %50 = load i64, ptr %11, align 8, !tbaa !21
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %51, i32 0, i32 0
  %53 = load i64, ptr %52, align 8, !tbaa !20
  %54 = sub nsw i64 %53, 1
  %55 = icmp sle i64 %50, %54
  br i1 %55, label %56, label %115

56:                                               ; preds = %49
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %57, i32 0, i32 8
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %58, i32 0, i32 6
  %60 = load ptr, ptr %59, align 8, !tbaa !22
  %61 = load i64, ptr %11, align 8, !tbaa !21
  %62 = getelementptr inbounds ptr, ptr %60, i64 %61
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = load i64, ptr @_ZN11alglib_implL10rbfv1_mxnxE, align 8, !tbaa !21
  %65 = getelementptr inbounds double, ptr %63, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !23
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %67, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !22
  %70 = load i64, ptr %11, align 8, !tbaa !21
  %71 = getelementptr inbounds double, ptr %69, i64 %70
  store double %66, ptr %71, align 8, !tbaa !23
  store i64 0, ptr %12, align 8, !tbaa !21
  br label %72

72:                                               ; preds = %108, %56
  %73 = load i64, ptr %12, align 8, !tbaa !21
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %74, i32 0, i32 1
  %76 = load i64, ptr %75, align 8, !tbaa !14
  %77 = sub nsw i64 %76, 1
  %78 = icmp sle i64 %73, %77
  br i1 %78, label %79, label %111

79:                                               ; preds = %72
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %80, i32 0, i32 4
  %82 = load ptr, ptr %81, align 8, !tbaa !22
  %83 = load i64, ptr %11, align 8, !tbaa !21
  %84 = getelementptr inbounds double, ptr %82, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !23
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %86, i32 0, i32 8
  %88 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %87, i32 0, i32 6
  %89 = load ptr, ptr %88, align 8, !tbaa !22
  %90 = load i64, ptr %11, align 8, !tbaa !21
  %91 = getelementptr inbounds ptr, ptr %89, i64 %90
  %92 = load ptr, ptr %91, align 8, !tbaa !5
  %93 = load i64, ptr %12, align 8, !tbaa !21
  %94 = getelementptr inbounds double, ptr %92, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !23
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %96, i32 0, i32 4
  %98 = load ptr, ptr %97, align 8, !tbaa !22
  %99 = load i64, ptr %12, align 8, !tbaa !21
  %100 = getelementptr inbounds double, ptr %98, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !23
  %102 = call double @llvm.fmuladd.f64(double %95, double %101, double %85)
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %103, i32 0, i32 4
  %105 = load ptr, ptr %104, align 8, !tbaa !22
  %106 = load i64, ptr %11, align 8, !tbaa !21
  %107 = getelementptr inbounds double, ptr %105, i64 %106
  store double %102, ptr %107, align 8, !tbaa !23
  br label %108

108:                                              ; preds = %79
  %109 = load i64, ptr %12, align 8, !tbaa !21
  %110 = add nsw i64 %109, 1
  store i64 %110, ptr %12, align 8, !tbaa !21
  br label %72, !llvm.loop !24

111:                                              ; preds = %72
  br label %112

112:                                              ; preds = %111
  %113 = load i64, ptr %11, align 8, !tbaa !21
  %114 = add nsw i64 %113, 1
  store i64 %114, ptr %11, align 8, !tbaa !21
  br label %49, !llvm.loop !26

115:                                              ; preds = %49
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %116, i32 0, i32 2
  %118 = load i64, ptr %117, align 8, !tbaa !27
  %119 = icmp eq i64 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %115
  store i32 1, ptr %19, align 4
  br label %342

121:                                              ; preds = %115
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %122, i32 0, i32 0
  %124 = load i64, ptr @_ZN11alglib_implL10rbfv1_mxnxE, align 8, !tbaa !21
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %123, i64 noundef %124, ptr noundef %125)
  store i64 0, ptr %11, align 8, !tbaa !21
  br label %126

126:                                              ; preds = %138, %121
  %127 = load i64, ptr %11, align 8, !tbaa !21
  %128 = load i64, ptr @_ZN11alglib_implL10rbfv1_mxnxE, align 8, !tbaa !21
  %129 = sub nsw i64 %128, 1
  %130 = icmp sle i64 %127, %129
  br i1 %130, label %131, label %141

131:                                              ; preds = %126
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %133, i32 0, i32 4
  %135 = load ptr, ptr %134, align 8, !tbaa !22
  %136 = load i64, ptr %11, align 8, !tbaa !21
  %137 = getelementptr inbounds double, ptr %135, i64 %136
  store double 0.000000e+00, ptr %137, align 8, !tbaa !23
  br label %138

138:                                              ; preds = %131
  %139 = load i64, ptr %11, align 8, !tbaa !21
  %140 = add nsw i64 %139, 1
  store i64 %140, ptr %11, align 8, !tbaa !21
  br label %126, !llvm.loop !28

141:                                              ; preds = %126
  store i64 0, ptr %11, align 8, !tbaa !21
  br label %142

142:                                              ; preds = %162, %141
  %143 = load i64, ptr %11, align 8, !tbaa !21
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %144, i32 0, i32 1
  %146 = load i64, ptr %145, align 8, !tbaa !14
  %147 = sub nsw i64 %146, 1
  %148 = icmp sle i64 %143, %147
  br i1 %148, label %149, label %165

149:                                              ; preds = %142
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %150, i32 0, i32 4
  %152 = load ptr, ptr %151, align 8, !tbaa !22
  %153 = load i64, ptr %11, align 8, !tbaa !21
  %154 = getelementptr inbounds double, ptr %152, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !23
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %157, i32 0, i32 4
  %159 = load ptr, ptr %158, align 8, !tbaa !22
  %160 = load i64, ptr %11, align 8, !tbaa !21
  %161 = getelementptr inbounds double, ptr %159, i64 %160
  store double %155, ptr %161, align 8, !tbaa !23
  br label %162

162:                                              ; preds = %149
  %163 = load i64, ptr %11, align 8, !tbaa !21
  %164 = add nsw i64 %163, 1
  store i64 %164, ptr %11, align 8, !tbaa !21
  br label %142, !llvm.loop !29

165:                                              ; preds = %142
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %166, i32 0, i32 4
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %168, i32 0, i32 3
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %170, i32 0, i32 0
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %172, i32 0, i32 7
  %174 = load double, ptr %173, align 8, !tbaa !30
  %175 = load double, ptr @_ZN11alglib_implL18rbfv1_rbffarradiusE, align 8, !tbaa !23
  %176 = fmul double %174, %175
  %177 = load ptr, ptr %10, align 8, !tbaa !5
  %178 = call noundef i64 @_ZN11alglib_impl16kdtreetsqueryrnnEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEdbPNS_8ae_stateE(ptr noundef %167, ptr noundef %169, ptr noundef %171, double noundef %176, i1 noundef zeroext true, ptr noundef %177)
  store i64 %178, ptr %14, align 8, !tbaa !21
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %179, i32 0, i32 4
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %181, i32 0, i32 3
  %183 = load ptr, ptr %7, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %183, i32 0, i32 1
  %185 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl21kdtreetsqueryresultsxEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %180, ptr noundef %182, ptr noundef %184, ptr noundef %185)
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %186, i32 0, i32 4
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %188, i32 0, i32 3
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %190, i32 0, i32 2
  %192 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl24kdtreetsqueryresultstagsEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %187, ptr noundef %189, ptr noundef %191, ptr noundef %192)
  store i64 0, ptr %11, align 8, !tbaa !21
  br label %193

193:                                              ; preds = %338, %165
  %194 = load i64, ptr %11, align 8, !tbaa !21
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %195, i32 0, i32 0
  %197 = load i64, ptr %196, align 8, !tbaa !20
  %198 = sub nsw i64 %197, 1
  %199 = icmp sle i64 %194, %198
  br i1 %199, label %200, label %341

200:                                              ; preds = %193
  store i64 0, ptr %12, align 8, !tbaa !21
  br label %201

201:                                              ; preds = %334, %200
  %202 = load i64, ptr %12, align 8, !tbaa !21
  %203 = load i64, ptr %14, align 8, !tbaa !21
  %204 = sub nsw i64 %203, 1
  %205 = icmp sle i64 %202, %204
  br i1 %205, label %206, label %337

206:                                              ; preds = %201
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %207, i32 0, i32 2
  %209 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %208, i32 0, i32 4
  %210 = load ptr, ptr %209, align 8, !tbaa !22
  %211 = load i64, ptr %12, align 8, !tbaa !21
  %212 = getelementptr inbounds i64, ptr %210, i64 %211
  %213 = load i64, ptr %212, align 8, !tbaa !21
  store i64 %213, ptr %15, align 8, !tbaa !21
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %214, i32 0, i32 6
  %216 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %215, i32 0, i32 6
  %217 = load ptr, ptr %216, align 8, !tbaa !22
  %218 = load i64, ptr %15, align 8, !tbaa !21
  %219 = getelementptr inbounds ptr, ptr %217, i64 %218
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  %221 = getelementptr inbounds double, ptr %220, i64 0
  %222 = load double, ptr %221, align 8, !tbaa !23
  store double %222, ptr %17, align 8, !tbaa !23
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %224, i32 0, i32 4
  %226 = load ptr, ptr %225, align 8, !tbaa !22
  %227 = getelementptr inbounds double, ptr %226, i64 0
  %228 = load double, ptr %227, align 8, !tbaa !23
  %229 = load ptr, ptr %7, align 8, !tbaa !5
  %230 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %229, i32 0, i32 1
  %231 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %230, i32 0, i32 6
  %232 = load ptr, ptr %231, align 8, !tbaa !22
  %233 = load i64, ptr %12, align 8, !tbaa !21
  %234 = getelementptr inbounds ptr, ptr %232, i64 %233
  %235 = load ptr, ptr %234, align 8, !tbaa !5
  %236 = getelementptr inbounds double, ptr %235, i64 0
  %237 = load double, ptr %236, align 8, !tbaa !23
  %238 = fsub double %228, %237
  %239 = load ptr, ptr %10, align 8, !tbaa !5
  %240 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %238, ptr noundef %239)
  %241 = load ptr, ptr %7, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %241, i32 0, i32 0
  %243 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %242, i32 0, i32 4
  %244 = load ptr, ptr %243, align 8, !tbaa !22
  %245 = getelementptr inbounds double, ptr %244, i64 1
  %246 = load double, ptr %245, align 8, !tbaa !23
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %247, i32 0, i32 1
  %249 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %248, i32 0, i32 6
  %250 = load ptr, ptr %249, align 8, !tbaa !22
  %251 = load i64, ptr %12, align 8, !tbaa !21
  %252 = getelementptr inbounds ptr, ptr %250, i64 %251
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  %254 = getelementptr inbounds double, ptr %253, i64 1
  %255 = load double, ptr %254, align 8, !tbaa !23
  %256 = fsub double %246, %255
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %256, ptr noundef %257)
  %259 = fadd double %240, %258
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %260, i32 0, i32 0
  %262 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %261, i32 0, i32 4
  %263 = load ptr, ptr %262, align 8, !tbaa !22
  %264 = getelementptr inbounds double, ptr %263, i64 2
  %265 = load double, ptr %264, align 8, !tbaa !23
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = getelementptr inbounds %"struct.alglib_impl::rbfv1calcbuffer", ptr %266, i32 0, i32 1
  %268 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %267, i32 0, i32 6
  %269 = load ptr, ptr %268, align 8, !tbaa !22
  %270 = load i64, ptr %12, align 8, !tbaa !21
  %271 = getelementptr inbounds ptr, ptr %269, i64 %270
  %272 = load ptr, ptr %271, align 8, !tbaa !5
  %273 = getelementptr inbounds double, ptr %272, i64 2
  %274 = load double, ptr %273, align 8, !tbaa !23
  %275 = fsub double %265, %274
  %276 = load ptr, ptr %10, align 8, !tbaa !5
  %277 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %275, ptr noundef %276)
  %278 = fadd double %259, %277
  %279 = fneg double %278
  %280 = load double, ptr %17, align 8, !tbaa !23
  %281 = load ptr, ptr %10, align 8, !tbaa !5
  %282 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %280, ptr noundef %281)
  %283 = fdiv double %279, %282
  %284 = load ptr, ptr %10, align 8, !tbaa !5
  %285 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %283, ptr noundef %284)
  store double %285, ptr %18, align 8, !tbaa !23
  store i64 0, ptr %13, align 8, !tbaa !21
  br label %286

286:                                              ; preds = %330, %206
  %287 = load i64, ptr %13, align 8, !tbaa !21
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %288, i32 0, i32 3
  %290 = load i64, ptr %289, align 8, !tbaa !31
  %291 = sub nsw i64 %290, 1
  %292 = icmp sle i64 %287, %291
  br i1 %292, label %293, label %333

293:                                              ; preds = %286
  %294 = load ptr, ptr %9, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %294, i32 0, i32 4
  %296 = load ptr, ptr %295, align 8, !tbaa !22
  %297 = load i64, ptr %11, align 8, !tbaa !21
  %298 = getelementptr inbounds double, ptr %296, i64 %297
  %299 = load double, ptr %298, align 8, !tbaa !23
  %300 = load double, ptr %18, align 8, !tbaa !23
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %301, i32 0, i32 6
  %303 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %302, i32 0, i32 6
  %304 = load ptr, ptr %303, align 8, !tbaa !22
  %305 = load i64, ptr %15, align 8, !tbaa !21
  %306 = getelementptr inbounds ptr, ptr %304, i64 %305
  %307 = load ptr, ptr %306, align 8, !tbaa !5
  %308 = load i64, ptr %13, align 8, !tbaa !21
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %309, i32 0, i32 0
  %311 = load i64, ptr %310, align 8, !tbaa !20
  %312 = mul nsw i64 %308, %311
  %313 = add nsw i64 1, %312
  %314 = load i64, ptr %11, align 8, !tbaa !21
  %315 = add nsw i64 %313, %314
  %316 = getelementptr inbounds double, ptr %307, i64 %315
  %317 = load double, ptr %316, align 8, !tbaa !23
  %318 = call double @llvm.fmuladd.f64(double %300, double %317, double %299)
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  %320 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %319, i32 0, i32 4
  %321 = load ptr, ptr %320, align 8, !tbaa !22
  %322 = load i64, ptr %11, align 8, !tbaa !21
  %323 = getelementptr inbounds double, ptr %321, i64 %322
  store double %318, ptr %323, align 8, !tbaa !23
  %324 = load double, ptr %18, align 8, !tbaa !23
  %325 = load double, ptr %18, align 8, !tbaa !23
  %326 = fmul double %324, %325
  store double %326, ptr %16, align 8, !tbaa !23
  %327 = load double, ptr %16, align 8, !tbaa !23
  %328 = load double, ptr %16, align 8, !tbaa !23
  %329 = fmul double %327, %328
  store double %329, ptr %18, align 8, !tbaa !23
  br label %330

330:                                              ; preds = %293
  %331 = load i64, ptr %13, align 8, !tbaa !21
  %332 = add nsw i64 %331, 1
  store i64 %332, ptr %13, align 8, !tbaa !21
  br label %286, !llvm.loop !32

333:                                              ; preds = %286
  br label %334

334:                                              ; preds = %333
  %335 = load i64, ptr %12, align 8, !tbaa !21
  %336 = add nsw i64 %335, 1
  store i64 %336, ptr %12, align 8, !tbaa !21
  br label %201, !llvm.loop !33

337:                                              ; preds = %201
  br label %338

338:                                              ; preds = %337
  %339 = load i64, ptr %11, align 8, !tbaa !21
  %340 = add nsw i64 %339, 1
  store i64 %340, ptr %11, align 8, !tbaa !21
  br label %193, !llvm.loop !34

341:                                              ; preds = %193
  store i32 0, ptr %19, align 4
  br label %342

342:                                              ; preds = %341, %120
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %343 = load i32, ptr %19, align 4
  switch i32 %343, label %345 [
    i32 0, label %344
    i32 1, label %344
  ]

344:                                              ; preds = %342, %342
  ret void

345:                                              ; preds = %342
  unreachable
}

declare void @_ZN11alglib_impl21kdtreetsqueryresultsxEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl24kdtreetsqueryresultstagsEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr 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_impl10rbfv1modelE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !16, i64 32, !17, i64 1032, !17, i64 1112, !19, i64 1192, !17, i64 1200, !10, i64 1280, !17, i64 1344, !10, i64 1424}
!16 = !{!"_ZTSN11alglib_impl6kdtreeE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !17, i64 32, !10, i64 112, !10, i64 176, !10, i64 240, !10, i64 304, !10, i64 368, !18, i64 432, !11, i64 992}
!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_impl19kdtreerequestbufferE", !10, i64 0, !10, i64 64, !10, i64 128, !11, i64 192, !19, i64 200, !12, i64 208, !19, i64 216, !11, i64 224, !10, i64 232, !10, i64 296, !10, i64 360, !10, i64 424, !10, i64 488, !19, i64 552}
!19 = !{!"double", !7, i64 0}
!20 = !{!15, !11, i64 0}
!21 = !{!11, !11, i64 0}
!22 = !{!7, !7, i64 0}
!23 = !{!19, !19, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!15, !11, i64 16}
!28 = distinct !{!28, !25}
!29 = distinct !{!29, !25}
!30 = !{!15, !19, i64 1192}
!31 = !{!15, !11, i64 24}
!32 = distinct !{!32, !25}
!33 = distinct !{!33, !25}
!34 = distinct !{!34, !25}


; 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.680 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.681 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZN11alglib_implL10rbfv1_mxnxE = external hidden local_unnamed_addr global i64, align 8
@_ZN11alglib_implL18rbfv1_rbffarradiusE = external hidden local_unnamed_addr global double, align 8

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

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

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 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

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

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

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

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

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

15:                                               ; preds = %5
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %13, ptr noundef %4)
  %.pre = load i64, ptr %0, align 8, !tbaa !19
  br label %16

16:                                               ; preds = %15, %5
  %17 = phi i64 [ %.pre, %15 ], [ %13, %5 ]
  %.not.not113 = icmp sgt i64 %17, 0
  br i1 %.not.not113, label %.lr.ph116, label %._crit_edge117

.lr.ph116:                                        ; preds = %16
  %18 = getelementptr inbounds i8, ptr %0, i64 1272
  %19 = load i64, ptr @_ZN11alglib_implL10rbfv1_mxnxE, align 8, !tbaa !20
  %20 = getelementptr inbounds i8, ptr %3, i64 56
  %21 = load i64, ptr %7, align 8, !tbaa !13
  %.not.not109111 = icmp sgt i64 %21, 0
  %22 = getelementptr inbounds i8, ptr %2, i64 56
  br i1 %.not.not109111, label %.lr.ph.us.preheader, label %.lr.ph116.split.preheader

.lr.ph116.split.preheader:                        ; preds = %.lr.ph116
  %xtraiter = and i64 %17, 1
  %23 = icmp eq i64 %17, 1
  br i1 %23, label %._crit_edge117.loopexit145.unr-lcssa, label %.lr.ph116.split.preheader.new

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

.lr.ph.us.preheader:                              ; preds = %.lr.ph116
  %xtraiter146 = and i64 %21, 1
  %24 = icmp eq i64 %21, 1
  %unroll_iter148 = and i64 %21, 9223372036854775806
  %lcmp.mod147.not = icmp eq i64 %xtraiter146, 0
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %.099114.us = phi i64 [ %70, %._crit_edge.us ], [ 0, %.lr.ph.us.preheader ]
  %25 = load ptr, ptr %18, align 8, !tbaa !21
  %26 = getelementptr inbounds ptr, ptr %25, i64 %.099114.us
  %27 = load ptr, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds double, ptr %27, i64 %19
  %29 = load double, ptr %28, align 8, !tbaa !23
  %30 = load ptr, ptr %20, align 8, !tbaa !21
  %31 = getelementptr inbounds double, ptr %30, i64 %.099114.us
  store double %29, ptr %31, align 8, !tbaa !23
  br i1 %24, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new

.lr.ph.us.new:                                    ; preds = %.lr.ph.us, %.lr.ph.us.new
  %.0100112.us = phi i64 [ %57, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %niter149 = phi i64 [ %niter149.next.1, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %32 = load ptr, ptr %20, align 8, !tbaa !21
  %33 = getelementptr inbounds double, ptr %32, i64 %.099114.us
  %34 = load double, ptr %33, align 8, !tbaa !23
  %35 = load ptr, ptr %18, align 8, !tbaa !21
  %36 = getelementptr inbounds ptr, ptr %35, i64 %.099114.us
  %37 = load ptr, ptr %36, align 8, !tbaa !22
  %38 = getelementptr inbounds double, ptr %37, i64 %.0100112.us
  %39 = load double, ptr %38, align 8, !tbaa !23
  %40 = load ptr, ptr %22, align 8, !tbaa !21
  %41 = getelementptr inbounds double, ptr %40, i64 %.0100112.us
  %42 = load double, ptr %41, align 8, !tbaa !23
  %43 = tail call double @llvm.fmuladd.f64(double %39, double %42, double %34)
  store double %43, ptr %33, align 8, !tbaa !23
  %44 = or disjoint i64 %.0100112.us, 1
  %45 = load ptr, ptr %20, align 8, !tbaa !21
  %46 = getelementptr inbounds double, ptr %45, i64 %.099114.us
  %47 = load double, ptr %46, align 8, !tbaa !23
  %48 = load ptr, ptr %18, align 8, !tbaa !21
  %49 = getelementptr inbounds ptr, ptr %48, i64 %.099114.us
  %50 = load ptr, ptr %49, align 8, !tbaa !22
  %51 = getelementptr inbounds double, ptr %50, i64 %44
  %52 = load double, ptr %51, align 8, !tbaa !23
  %53 = load ptr, ptr %22, align 8, !tbaa !21
  %54 = getelementptr inbounds double, ptr %53, i64 %44
  %55 = load double, ptr %54, align 8, !tbaa !23
  %56 = tail call double @llvm.fmuladd.f64(double %52, double %55, double %47)
  store double %56, ptr %46, align 8, !tbaa !23
  %57 = add nuw nsw i64 %.0100112.us, 2
  %niter149.next.1 = add i64 %niter149, 2
  %niter149.ncmp.1 = icmp eq i64 %niter149.next.1, %unroll_iter148
  br i1 %niter149.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new, !llvm.loop !24

._crit_edge.us.unr-lcssa:                         ; preds = %.lr.ph.us.new, %.lr.ph.us
  %.0100112.us.unr = phi i64 [ 0, %.lr.ph.us ], [ %57, %.lr.ph.us.new ]
  br i1 %lcmp.mod147.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %58 = load ptr, ptr %20, align 8, !tbaa !21
  %59 = getelementptr inbounds double, ptr %58, i64 %.099114.us
  %60 = load double, ptr %59, align 8, !tbaa !23
  %61 = load ptr, ptr %18, align 8, !tbaa !21
  %62 = getelementptr inbounds ptr, ptr %61, i64 %.099114.us
  %63 = load ptr, ptr %62, align 8, !tbaa !22
  %64 = getelementptr inbounds double, ptr %63, i64 %.0100112.us.unr
  %65 = load double, ptr %64, align 8, !tbaa !23
  %66 = load ptr, ptr %22, align 8, !tbaa !21
  %67 = getelementptr inbounds double, ptr %66, i64 %.0100112.us.unr
  %68 = load double, ptr %67, align 8, !tbaa !23
  %69 = tail call double @llvm.fmuladd.f64(double %65, double %68, double %60)
  store double %69, ptr %59, align 8, !tbaa !23
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %70 = add nuw nsw i64 %.099114.us, 1
  %exitcond138.not = icmp eq i64 %70, %17
  br i1 %exitcond138.not, label %._crit_edge117, label %.lr.ph.us, !llvm.loop !26

.lr.ph116.split:                                  ; preds = %.lr.ph116.split, %.lr.ph116.split.preheader.new
  %.099114 = phi i64 [ 0, %.lr.ph116.split.preheader.new ], [ %86, %.lr.ph116.split ]
  %niter = phi i64 [ 0, %.lr.ph116.split.preheader.new ], [ %niter.next.1, %.lr.ph116.split ]
  %71 = load ptr, ptr %18, align 8, !tbaa !21
  %72 = getelementptr inbounds ptr, ptr %71, i64 %.099114
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = getelementptr inbounds double, ptr %73, i64 %19
  %75 = load double, ptr %74, align 8, !tbaa !23
  %76 = load ptr, ptr %20, align 8, !tbaa !21
  %77 = getelementptr inbounds double, ptr %76, i64 %.099114
  store double %75, ptr %77, align 8, !tbaa !23
  %78 = or disjoint i64 %.099114, 1
  %79 = load ptr, ptr %18, align 8, !tbaa !21
  %80 = getelementptr inbounds ptr, ptr %79, i64 %78
  %81 = load ptr, ptr %80, align 8, !tbaa !22
  %82 = getelementptr inbounds double, ptr %81, i64 %19
  %83 = load double, ptr %82, align 8, !tbaa !23
  %84 = load ptr, ptr %20, align 8, !tbaa !21
  %85 = getelementptr inbounds double, ptr %84, i64 %78
  store double %83, ptr %85, align 8, !tbaa !23
  %86 = add nuw nsw i64 %.099114, 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_edge117.loopexit145.unr-lcssa, label %.lr.ph116.split, !llvm.loop !26

._crit_edge117.loopexit145.unr-lcssa:             ; preds = %.lr.ph116.split, %.lr.ph116.split.preheader
  %.099114.unr = phi i64 [ 0, %.lr.ph116.split.preheader ], [ %86, %.lr.ph116.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge117, label %.lr.ph116.split.epil

.lr.ph116.split.epil:                             ; preds = %._crit_edge117.loopexit145.unr-lcssa
  %87 = load ptr, ptr %18, align 8, !tbaa !21
  %88 = getelementptr inbounds ptr, ptr %87, i64 %.099114.unr
  %89 = load ptr, ptr %88, align 8, !tbaa !22
  %90 = getelementptr inbounds double, ptr %89, i64 %19
  %91 = load double, ptr %90, align 8, !tbaa !23
  %92 = load ptr, ptr %20, align 8, !tbaa !21
  %93 = getelementptr inbounds double, ptr %92, i64 %.099114.unr
  store double %91, ptr %93, align 8, !tbaa !23
  br label %._crit_edge117

._crit_edge117:                                   ; preds = %.lr.ph116.split.epil, %._crit_edge117.loopexit145.unr-lcssa, %._crit_edge.us, %16
  %94 = getelementptr inbounds i8, ptr %0, i64 16
  %95 = load i64, ptr %94, align 8, !tbaa !27
  %96 = icmp eq i64 %95, 0
  br i1 %96, label %.loopexit, label %97

97:                                               ; preds = %._crit_edge117
  %98 = load i64, ptr @_ZN11alglib_implL10rbfv1_mxnxE, align 8, !tbaa !20
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %1, i64 noundef %98, ptr noundef %4)
  %99 = load i64, ptr @_ZN11alglib_implL10rbfv1_mxnxE, align 8, !tbaa !20
  %.not.not104118 = icmp sgt i64 %99, 0
  br i1 %.not.not104118, label %.lr.ph, label %.preheader110

.lr.ph:                                           ; preds = %97
  %100 = getelementptr inbounds i8, ptr %1, i64 56
  %xtraiter151 = and i64 %99, 3
  %101 = icmp ult i64 %99, 4
  br i1 %101, label %.preheader110.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter153 = and i64 %99, 9223372036854775804
  br label %109

.preheader110.loopexit.unr-lcssa:                 ; preds = %109, %.lr.ph
  %.1119.unr = phi i64 [ 0, %.lr.ph ], [ %121, %109 ]
  %lcmp.mod152.not = icmp eq i64 %xtraiter151, 0
  br i1 %lcmp.mod152.not, label %.preheader110, label %.epil.preheader150

.epil.preheader150:                               ; preds = %.preheader110.loopexit.unr-lcssa, %.epil.preheader150
  %.1119.epil = phi i64 [ %104, %.epil.preheader150 ], [ %.1119.unr, %.preheader110.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader150 ], [ 0, %.preheader110.loopexit.unr-lcssa ]
  %102 = load ptr, ptr %100, align 8, !tbaa !21
  %103 = getelementptr inbounds double, ptr %102, i64 %.1119.epil
  store double 0.000000e+00, ptr %103, align 8, !tbaa !23
  %104 = add nuw nsw i64 %.1119.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter151
  br i1 %epil.iter.cmp.not, label %.preheader110, label %.epil.preheader150, !llvm.loop !28

.preheader110:                                    ; preds = %.preheader110.loopexit.unr-lcssa, %.epil.preheader150, %97
  %105 = load i64, ptr %7, align 8, !tbaa !13
  %.not.not105120 = icmp sgt i64 %105, 0
  br i1 %.not.not105120, label %.lr.ph122, label %._crit_edge

.lr.ph122:                                        ; preds = %.preheader110
  %106 = getelementptr inbounds i8, ptr %2, i64 56
  %107 = getelementptr inbounds i8, ptr %1, i64 56
  %xtraiter156 = and i64 %105, 3
  %108 = icmp ult i64 %105, 4
  br i1 %108, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph122.new

.lr.ph122.new:                                    ; preds = %.lr.ph122
  %unroll_iter159 = and i64 %105, 9223372036854775804
  br label %122

109:                                              ; preds = %109, %.lr.ph.new
  %.1119 = phi i64 [ 0, %.lr.ph.new ], [ %121, %109 ]
  %niter154 = phi i64 [ 0, %.lr.ph.new ], [ %niter154.next.3, %109 ]
  %110 = load ptr, ptr %100, align 8, !tbaa !21
  %111 = getelementptr inbounds double, ptr %110, i64 %.1119
  store double 0.000000e+00, ptr %111, align 8, !tbaa !23
  %112 = or disjoint i64 %.1119, 1
  %113 = load ptr, ptr %100, align 8, !tbaa !21
  %114 = getelementptr inbounds double, ptr %113, i64 %112
  store double 0.000000e+00, ptr %114, align 8, !tbaa !23
  %115 = or disjoint i64 %.1119, 2
  %116 = load ptr, ptr %100, align 8, !tbaa !21
  %117 = getelementptr inbounds double, ptr %116, i64 %115
  store double 0.000000e+00, ptr %117, align 8, !tbaa !23
  %118 = or disjoint i64 %.1119, 3
  %119 = load ptr, ptr %100, align 8, !tbaa !21
  %120 = getelementptr inbounds double, ptr %119, i64 %118
  store double 0.000000e+00, ptr %120, align 8, !tbaa !23
  %121 = add nuw nsw i64 %.1119, 4
  %niter154.next.3 = add i64 %niter154, 4
  %niter154.ncmp.3 = icmp eq i64 %niter154.next.3, %unroll_iter153
  br i1 %niter154.ncmp.3, label %.preheader110.loopexit.unr-lcssa, label %109, !llvm.loop !30

122:                                              ; preds = %122, %.lr.ph122.new
  %.2121 = phi i64 [ 0, %.lr.ph122.new ], [ %146, %122 ]
  %niter160 = phi i64 [ 0, %.lr.ph122.new ], [ %niter160.next.3, %122 ]
  %123 = load ptr, ptr %106, align 8, !tbaa !21
  %124 = getelementptr inbounds double, ptr %123, i64 %.2121
  %125 = load double, ptr %124, align 8, !tbaa !23
  %126 = load ptr, ptr %107, align 8, !tbaa !21
  %127 = getelementptr inbounds double, ptr %126, i64 %.2121
  store double %125, ptr %127, align 8, !tbaa !23
  %128 = or disjoint i64 %.2121, 1
  %129 = load ptr, ptr %106, align 8, !tbaa !21
  %130 = getelementptr inbounds double, ptr %129, i64 %128
  %131 = load double, ptr %130, align 8, !tbaa !23
  %132 = load ptr, ptr %107, align 8, !tbaa !21
  %133 = getelementptr inbounds double, ptr %132, i64 %128
  store double %131, ptr %133, align 8, !tbaa !23
  %134 = or disjoint i64 %.2121, 2
  %135 = load ptr, ptr %106, align 8, !tbaa !21
  %136 = getelementptr inbounds double, ptr %135, i64 %134
  %137 = load double, ptr %136, align 8, !tbaa !23
  %138 = load ptr, ptr %107, align 8, !tbaa !21
  %139 = getelementptr inbounds double, ptr %138, i64 %134
  store double %137, ptr %139, align 8, !tbaa !23
  %140 = or disjoint i64 %.2121, 3
  %141 = load ptr, ptr %106, align 8, !tbaa !21
  %142 = getelementptr inbounds double, ptr %141, i64 %140
  %143 = load double, ptr %142, align 8, !tbaa !23
  %144 = load ptr, ptr %107, align 8, !tbaa !21
  %145 = getelementptr inbounds double, ptr %144, i64 %140
  store double %143, ptr %145, align 8, !tbaa !23
  %146 = add nuw nsw i64 %.2121, 4
  %niter160.next.3 = add i64 %niter160, 4
  %niter160.ncmp.3 = icmp eq i64 %niter160.next.3, %unroll_iter159
  br i1 %niter160.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %122, !llvm.loop !31

._crit_edge.loopexit.unr-lcssa:                   ; preds = %122, %.lr.ph122
  %.2121.unr = phi i64 [ 0, %.lr.ph122 ], [ %146, %122 ]
  %lcmp.mod158.not = icmp eq i64 %xtraiter156, 0
  br i1 %lcmp.mod158.not, label %._crit_edge, label %.epil.preheader155

.epil.preheader155:                               ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader155
  %.2121.epil = phi i64 [ %152, %.epil.preheader155 ], [ %.2121.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter157 = phi i64 [ %epil.iter157.next, %.epil.preheader155 ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %147 = load ptr, ptr %106, align 8, !tbaa !21
  %148 = getelementptr inbounds double, ptr %147, i64 %.2121.epil
  %149 = load double, ptr %148, align 8, !tbaa !23
  %150 = load ptr, ptr %107, align 8, !tbaa !21
  %151 = getelementptr inbounds double, ptr %150, i64 %.2121.epil
  store double %149, ptr %151, align 8, !tbaa !23
  %152 = add nuw nsw i64 %.2121.epil, 1
  %epil.iter157.next = add i64 %epil.iter157, 1
  %epil.iter157.cmp.not = icmp eq i64 %epil.iter157.next, %xtraiter156
  br i1 %epil.iter157.cmp.not, label %._crit_edge, label %.epil.preheader155, !llvm.loop !32

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader155, %.preheader110
  %153 = getelementptr inbounds i8, ptr %0, i64 32
  %154 = getelementptr inbounds i8, ptr %1, i64 208
  %155 = getelementptr inbounds i8, ptr %0, i64 1192
  %156 = load double, ptr %155, align 8, !tbaa !33
  %157 = load double, ptr @_ZN11alglib_implL18rbfv1_rbffarradiusE, align 8, !tbaa !23
  %158 = fmul double %156, %157
  %159 = tail call noundef i64 @_ZN11alglib_impl16kdtreetsqueryrnnEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEdbPNS_8ae_stateE(ptr noundef nonnull %153, ptr noundef nonnull %154, ptr noundef %1, double noundef %158, i1 noundef zeroext true, ptr noundef %4)
  %160 = getelementptr inbounds i8, ptr %1, i64 64
  tail call void @_ZN11alglib_impl21kdtreetsqueryresultsxEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef nonnull %153, ptr noundef nonnull %154, ptr noundef nonnull %160, ptr noundef %4)
  %161 = getelementptr inbounds i8, ptr %1, i64 144
  tail call void @_ZN11alglib_impl24kdtreetsqueryresultstagsEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %153, ptr noundef nonnull %154, ptr noundef nonnull %161, ptr noundef %4)
  %162 = load i64, ptr %0, align 8, !tbaa !19
  %.not.not106133 = icmp sgt i64 %162, 0
  br i1 %.not.not106133, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %._crit_edge
  %.not.not107129 = icmp sgt i64 %159, 0
  %163 = getelementptr inbounds i8, ptr %1, i64 200
  %164 = getelementptr inbounds i8, ptr %0, i64 1184
  %165 = getelementptr inbounds i8, ptr %1, i64 56
  %166 = getelementptr inbounds i8, ptr %1, i64 136
  %167 = getelementptr inbounds i8, ptr %0, i64 24
  %168 = getelementptr inbounds i8, ptr %3, i64 56
  br i1 %.not.not107129, label %.preheader.us, label %.loopexit

.preheader.us:                                    ; preds = %.preheader.lr.ph, %._crit_edge132.us
  %.3134.us = phi i64 [ %258, %._crit_edge132.us ], [ 0, %.preheader.lr.ph ]
  br label %169

169:                                              ; preds = %.preheader.us, %._crit_edge128.us
  %.1101130.us = phi i64 [ 0, %.preheader.us ], [ %224, %._crit_edge128.us ]
  %170 = load ptr, ptr %163, align 8, !tbaa !21
  %171 = getelementptr inbounds i64, ptr %170, i64 %.1101130.us
  %172 = load i64, ptr %171, align 8, !tbaa !20
  %173 = load ptr, ptr %164, align 8, !tbaa !21
  %174 = getelementptr inbounds ptr, ptr %173, i64 %172
  %175 = load ptr, ptr %174, align 8, !tbaa !22
  %176 = load double, ptr %175, align 8, !tbaa !23
  %177 = load ptr, ptr %165, align 8, !tbaa !21
  %178 = load double, ptr %177, align 8, !tbaa !23
  %179 = load ptr, ptr %166, align 8, !tbaa !21
  %180 = getelementptr inbounds ptr, ptr %179, i64 %.1101130.us
  %181 = load ptr, ptr %180, align 8, !tbaa !22
  %182 = load double, ptr %181, align 8, !tbaa !23
  %183 = fsub double %178, %182
  %184 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %183, ptr noundef %4)
  %185 = load ptr, ptr %165, align 8, !tbaa !21
  %186 = getelementptr inbounds i8, ptr %185, i64 8
  %187 = load double, ptr %186, align 8, !tbaa !23
  %188 = load ptr, ptr %166, align 8, !tbaa !21
  %189 = getelementptr inbounds ptr, ptr %188, i64 %.1101130.us
  %190 = load ptr, ptr %189, align 8, !tbaa !22
  %191 = getelementptr inbounds i8, ptr %190, i64 8
  %192 = load double, ptr %191, align 8, !tbaa !23
  %193 = fsub double %187, %192
  %194 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %193, ptr noundef %4)
  %195 = fadd double %184, %194
  %196 = load ptr, ptr %165, align 8, !tbaa !21
  %197 = getelementptr inbounds i8, ptr %196, i64 16
  %198 = load double, ptr %197, align 8, !tbaa !23
  %199 = load ptr, ptr %166, align 8, !tbaa !21
  %200 = getelementptr inbounds ptr, ptr %199, i64 %.1101130.us
  %201 = load ptr, ptr %200, align 8, !tbaa !22
  %202 = getelementptr inbounds i8, ptr %201, i64 16
  %203 = load double, ptr %202, align 8, !tbaa !23
  %204 = fsub double %198, %203
  %205 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %204, ptr noundef %4)
  %206 = fadd double %195, %205
  %207 = fneg double %206
  %208 = tail call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %176, ptr noundef %4)
  %209 = fdiv double %207, %208
  %210 = tail call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %209, ptr noundef %4)
  %211 = load i64, ptr %167, align 8, !tbaa !34
  %.not.not108123.us = icmp sgt i64 %211, 0
  br i1 %.not.not108123.us, label %.lr.ph127.us, label %._crit_edge128.us

._crit_edge128.us.loopexit.unr-lcssa:             ; preds = %225, %.lr.ph127.us
  %.0125.us.unr = phi double [ %210, %.lr.ph127.us ], [ %254, %225 ]
  %.0102124.us.unr = phi i64 [ 0, %.lr.ph127.us ], [ %255, %225 ]
  %lcmp.mod164.not = icmp eq i64 %xtraiter162, 0
  br i1 %lcmp.mod164.not, label %._crit_edge128.us, label %._crit_edge128.us.loopexit.epilog-lcssa

._crit_edge128.us.loopexit.epilog-lcssa:          ; preds = %._crit_edge128.us.loopexit.unr-lcssa
  %212 = load ptr, ptr %168, align 8, !tbaa !21
  %213 = getelementptr inbounds double, ptr %212, i64 %.3134.us
  %214 = load double, ptr %213, align 8, !tbaa !23
  %215 = load ptr, ptr %164, align 8, !tbaa !21
  %216 = getelementptr inbounds ptr, ptr %215, i64 %172
  %217 = load ptr, ptr %216, align 8, !tbaa !22
  %218 = mul nsw i64 %256, %.0102124.us.unr
  %219 = getelementptr double, ptr %217, i64 %218
  %220 = getelementptr i8, ptr %219, i64 8
  %221 = getelementptr double, ptr %220, i64 %.3134.us
  %222 = load double, ptr %221, align 8, !tbaa !23
  %223 = tail call double @llvm.fmuladd.f64(double %.0125.us.unr, double %222, double %214)
  store double %223, ptr %213, align 8, !tbaa !23
  br label %._crit_edge128.us

._crit_edge128.us:                                ; preds = %._crit_edge128.us.loopexit.epilog-lcssa, %._crit_edge128.us.loopexit.unr-lcssa, %169
  %224 = add nuw nsw i64 %.1101130.us, 1
  %exitcond142.not = icmp eq i64 %224, %159
  br i1 %exitcond142.not, label %._crit_edge132.us, label %169, !llvm.loop !35

225:                                              ; preds = %225, %.lr.ph127.us.new
  %.0125.us = phi double [ %210, %.lr.ph127.us.new ], [ %254, %225 ]
  %.0102124.us = phi i64 [ 0, %.lr.ph127.us.new ], [ %255, %225 ]
  %niter166 = phi i64 [ 0, %.lr.ph127.us.new ], [ %niter166.next.1, %225 ]
  %226 = load ptr, ptr %168, align 8, !tbaa !21
  %227 = getelementptr inbounds double, ptr %226, i64 %.3134.us
  %228 = load double, ptr %227, align 8, !tbaa !23
  %229 = load ptr, ptr %164, align 8, !tbaa !21
  %230 = getelementptr inbounds ptr, ptr %229, i64 %172
  %231 = load ptr, ptr %230, align 8, !tbaa !22
  %232 = mul nsw i64 %256, %.0102124.us
  %233 = getelementptr double, ptr %231, i64 %232
  %234 = getelementptr i8, ptr %233, i64 8
  %235 = getelementptr double, ptr %234, i64 %.3134.us
  %236 = load double, ptr %235, align 8, !tbaa !23
  %237 = tail call double @llvm.fmuladd.f64(double %.0125.us, double %236, double %228)
  store double %237, ptr %227, align 8, !tbaa !23
  %238 = fmul double %.0125.us, %.0125.us
  %239 = fmul double %238, %238
  %240 = or disjoint i64 %.0102124.us, 1
  %241 = load ptr, ptr %168, align 8, !tbaa !21
  %242 = getelementptr inbounds double, ptr %241, i64 %.3134.us
  %243 = load double, ptr %242, align 8, !tbaa !23
  %244 = load ptr, ptr %164, align 8, !tbaa !21
  %245 = getelementptr inbounds ptr, ptr %244, i64 %172
  %246 = load ptr, ptr %245, align 8, !tbaa !22
  %247 = mul nsw i64 %256, %240
  %248 = getelementptr double, ptr %246, i64 %247
  %249 = getelementptr i8, ptr %248, i64 8
  %250 = getelementptr double, ptr %249, i64 %.3134.us
  %251 = load double, ptr %250, align 8, !tbaa !23
  %252 = tail call double @llvm.fmuladd.f64(double %239, double %251, double %243)
  store double %252, ptr %242, align 8, !tbaa !23
  %253 = fmul double %239, %239
  %254 = fmul double %253, %253
  %255 = add nuw nsw i64 %.0102124.us, 2
  %niter166.next.1 = add i64 %niter166, 2
  %niter166.ncmp.1 = icmp eq i64 %niter166.next.1, %unroll_iter165
  br i1 %niter166.ncmp.1, label %._crit_edge128.us.loopexit.unr-lcssa, label %225, !llvm.loop !36

.lr.ph127.us:                                     ; preds = %169
  %256 = load i64, ptr %0, align 8, !tbaa !19
  %xtraiter162 = and i64 %211, 1
  %257 = icmp eq i64 %211, 1
  br i1 %257, label %._crit_edge128.us.loopexit.unr-lcssa, label %.lr.ph127.us.new

.lr.ph127.us.new:                                 ; preds = %.lr.ph127.us
  %unroll_iter165 = and i64 %211, 9223372036854775806
  br label %225

._crit_edge132.us:                                ; preds = %._crit_edge128.us
  %258 = add nuw nsw i64 %.3134.us, 1
  %259 = load i64, ptr %0, align 8, !tbaa !19
  %.not.not106.us = icmp slt i64 %258, %259
  br i1 %.not.not106.us, label %.preheader.us, label %.loopexit, !llvm.loop !37

.loopexit:                                        ; preds = %._crit_edge132.us, %.preheader.lr.ph, %._crit_edge, %._crit_edge117
  ret void
}

declare void @_ZN11alglib_impl21kdtreetsqueryresultsxEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl24kdtreetsqueryresultstagsEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, ptr 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_impl10rbfv1modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !15, i64 32, !16, i64 1032, !16, i64 1112, !18, i64 1192, !16, i64 1200, !6, i64 1280, !16, i64 1344, !6, i64 1424}
!15 = !{!"_ZTSN11alglib_impl6kdtreeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !16, i64 32, !6, i64 112, !6, i64 176, !6, i64 240, !6, i64 304, !6, i64 368, !17, i64 432, !7, i64 992}
!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_impl19kdtreerequestbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !7, i64 192, !18, i64 200, !10, i64 208, !18, i64 216, !7, i64 224, !6, i64 232, !6, i64 296, !6, i64 360, !6, i64 424, !6, i64 488, !18, i64 552}
!18 = !{!"double", !8, i64 0}
!19 = !{!14, !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!12, !12, i64 0}
!23 = !{!18, !18, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!14, !7, i64 16}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.unroll.disable"}
!30 = distinct !{!30, !25}
!31 = distinct !{!31, !25}
!32 = distinct !{!32, !29}
!33 = !{!14, !18, i64 1192}
!34 = !{!14, !7, i64 24}
!35 = distinct !{!35, !25}
!36 = distinct !{!36, !25}
!37 = distinct !{!37, !25}


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