; 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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::gridcalc3v1buf" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::kdtreerequestbuffer", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"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::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }
%"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::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" }

@.str.825 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.826 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.827 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.828 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.829 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.830 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.831 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.832 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.833 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.834 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.835 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.836 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.858 = external hidden unnamed_addr constant [39 x i8], align 1
@_ZN11alglib_implL16rbf_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 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

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) #2

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

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

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

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

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double 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_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) #2

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

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

declare noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15rbfv2gridcalcvxEPNS_10rbfv2modelEPNS_9ae_vectorElS3_lS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl18rbfv1gridcalc3vrecEPNS_10rbfv1modelEPNS_9ae_vectorElS3_lS3_lS3_llS3_llS3_llS3_bddPNS_14ae_shared_poolES3_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl23_gridcalc3v1buf_destroyEPv(ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rbfgridcalc3vxEPNS_8rbfmodelEPNS_9ae_vectorElS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, i1 noundef zeroext %8, ptr noundef %9, ptr noundef %10) #4 {
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"struct.alglib_impl::ae_frame", align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca double, align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::ae_vector", align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca %"struct.alglib_impl::gridcalc3v1buf", align 8
  %41 = alloca %"struct.alglib_impl::ae_shared_pool", align 8
  %42 = alloca %"struct.alglib_impl::hqrndstate", align 8
  %43 = alloca %"struct.alglib_impl::ae_vector", align 8
  %44 = alloca i32, align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store i64 %2, ptr %14, align 8, !tbaa !9
  store ptr %3, ptr %15, align 8, !tbaa !5
  store i64 %4, ptr %16, align 8, !tbaa !9
  store ptr %5, ptr %17, align 8, !tbaa !5
  store i64 %6, ptr %18, align 8, !tbaa !9
  store ptr %7, ptr %19, align 8, !tbaa !5
  %45 = zext i1 %8 to i8
  store i8 %45, ptr %20, align 1, !tbaa !11
  store ptr %9, ptr %21, align 8, !tbaa !5
  store ptr %10, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 1344, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 144, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %43) #5
  %46 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %46, ptr noundef %23)
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %30, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %31, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %40, i8 0, i64 1344, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %41, i8 0, i64 144, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %42, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %43, i8 0, i64 64, i1 false)
  %47 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %29, i64 noundef 0, i64 noundef 2, ptr noundef %47, i1 noundef zeroext true)
  %48 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %30, i64 noundef 0, i64 noundef 2, ptr noundef %48, i1 noundef zeroext true)
  %49 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %31, i64 noundef 0, i64 noundef 2, ptr noundef %49, i1 noundef zeroext true)
  %50 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20_gridcalc3v1buf_initEPvPNS_8ae_stateEb(ptr noundef %40, ptr noundef %50, i1 noundef zeroext true)
  %51 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_shared_pool_initEPvPNS_8ae_stateEb(ptr noundef %41, ptr noundef %51, i1 noundef zeroext true)
  %52 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef %42, ptr noundef %52, i1 noundef zeroext true)
  %53 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %43, i64 noundef 0, i64 noundef 3, ptr noundef %53, i1 noundef zeroext true)
  %54 = load i64, ptr %14, align 8, !tbaa !9
  %55 = icmp sgt i64 %54, 0
  %56 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %55, ptr noundef @.str.825, ptr noundef %56)
  %57 = load i64, ptr %16, align 8, !tbaa !9
  %58 = icmp sgt i64 %57, 0
  %59 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %58, ptr noundef @.str.826, ptr noundef %59)
  %60 = load i64, ptr %18, align 8, !tbaa !9
  %61 = icmp sgt i64 %60, 0
  %62 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %61, ptr noundef @.str.827, ptr noundef %62)
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 0
  %65 = load i64, ptr %64, align 8, !tbaa !13
  %66 = load i64, ptr %14, align 8, !tbaa !9
  %67 = icmp sge i64 %65, %66
  %68 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %67, ptr noundef @.str.828, ptr noundef %68)
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 0
  %71 = load i64, ptr %70, align 8, !tbaa !13
  %72 = load i64, ptr %16, align 8, !tbaa !9
  %73 = icmp sge i64 %71, %72
  %74 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %73, ptr noundef @.str.829, ptr noundef %74)
  %75 = load ptr, ptr %17, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %75, i32 0, i32 0
  %77 = load i64, ptr %76, align 8, !tbaa !13
  %78 = load i64, ptr %18, align 8, !tbaa !9
  %79 = icmp sge i64 %77, %78
  %80 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %79, ptr noundef @.str.830, ptr noundef %80)
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = load i64, ptr %14, align 8, !tbaa !9
  %83 = load ptr, ptr %22, align 8, !tbaa !5
  %84 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %81, i64 noundef %82, ptr noundef %83)
  %85 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %84, ptr noundef @.str.831, ptr noundef %85)
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = load i64, ptr %16, align 8, !tbaa !9
  %88 = load ptr, ptr %22, align 8, !tbaa !5
  %89 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %86, i64 noundef %87, ptr noundef %88)
  %90 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %89, ptr noundef @.str.832, ptr noundef %90)
  %91 = load ptr, ptr %17, align 8, !tbaa !5
  %92 = load i64, ptr %18, align 8, !tbaa !9
  %93 = load ptr, ptr %22, align 8, !tbaa !5
  %94 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %91, i64 noundef %92, ptr noundef %93)
  %95 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %94, ptr noundef @.str.833, ptr noundef %95)
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %96

96:                                               ; preds = %117, %11
  %97 = load i64, ptr %24, align 8, !tbaa !9
  %98 = load i64, ptr %14, align 8, !tbaa !9
  %99 = sub nsw i64 %98, 2
  %100 = icmp sle i64 %97, %99
  br i1 %100, label %101, label %120

101:                                              ; preds = %96
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %102, i32 0, i32 4
  %104 = load ptr, ptr %103, align 8, !tbaa !16
  %105 = load i64, ptr %24, align 8, !tbaa !9
  %106 = getelementptr inbounds double, ptr %104, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !17
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %108, i32 0, i32 4
  %110 = load ptr, ptr %109, align 8, !tbaa !16
  %111 = load i64, ptr %24, align 8, !tbaa !9
  %112 = add nsw i64 %111, 1
  %113 = getelementptr inbounds double, ptr %110, i64 %112
  %114 = load double, ptr %113, align 8, !tbaa !17
  %115 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %107, double noundef %114)
  %116 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %115, ptr noundef @.str.834, ptr noundef %116)
  br label %117

117:                                              ; preds = %101
  %118 = load i64, ptr %24, align 8, !tbaa !9
  %119 = add nsw i64 %118, 1
  store i64 %119, ptr %24, align 8, !tbaa !9
  br label %96, !llvm.loop !19

120:                                              ; preds = %96
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %121

121:                                              ; preds = %142, %120
  %122 = load i64, ptr %24, align 8, !tbaa !9
  %123 = load i64, ptr %16, align 8, !tbaa !9
  %124 = sub nsw i64 %123, 2
  %125 = icmp sle i64 %122, %124
  br i1 %125, label %126, label %145

126:                                              ; preds = %121
  %127 = load ptr, ptr %15, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %127, i32 0, i32 4
  %129 = load ptr, ptr %128, align 8, !tbaa !16
  %130 = load i64, ptr %24, align 8, !tbaa !9
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !17
  %133 = load ptr, ptr %15, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %133, i32 0, i32 4
  %135 = load ptr, ptr %134, align 8, !tbaa !16
  %136 = load i64, ptr %24, align 8, !tbaa !9
  %137 = add nsw i64 %136, 1
  %138 = getelementptr inbounds double, ptr %135, i64 %137
  %139 = load double, ptr %138, align 8, !tbaa !17
  %140 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %132, double noundef %139)
  %141 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %140, ptr noundef @.str.835, ptr noundef %141)
  br label %142

142:                                              ; preds = %126
  %143 = load i64, ptr %24, align 8, !tbaa !9
  %144 = add nsw i64 %143, 1
  store i64 %144, ptr %24, align 8, !tbaa !9
  br label %121, !llvm.loop !21

145:                                              ; preds = %121
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %146

146:                                              ; preds = %167, %145
  %147 = load i64, ptr %24, align 8, !tbaa !9
  %148 = load i64, ptr %18, align 8, !tbaa !9
  %149 = sub nsw i64 %148, 2
  %150 = icmp sle i64 %147, %149
  br i1 %150, label %151, label %170

151:                                              ; preds = %146
  %152 = load ptr, ptr %17, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %152, i32 0, i32 4
  %154 = load ptr, ptr %153, align 8, !tbaa !16
  %155 = load i64, ptr %24, align 8, !tbaa !9
  %156 = getelementptr inbounds double, ptr %154, i64 %155
  %157 = load double, ptr %156, align 8, !tbaa !17
  %158 = load ptr, ptr %17, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %158, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !16
  %161 = load i64, ptr %24, align 8, !tbaa !9
  %162 = add nsw i64 %161, 1
  %163 = getelementptr inbounds double, ptr %160, i64 %162
  %164 = load double, ptr %163, align 8, !tbaa !17
  %165 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %157, double noundef %164)
  %166 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %165, ptr noundef @.str.836, ptr noundef %166)
  br label %167

167:                                              ; preds = %151
  %168 = load i64, ptr %24, align 8, !tbaa !9
  %169 = add nsw i64 %168, 1
  store i64 %169, ptr %24, align 8, !tbaa !9
  br label %146, !llvm.loop !22

170:                                              ; preds = %146
  %171 = load ptr, ptr %12, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %171, i32 0, i32 0
  %173 = load i64, ptr %172, align 8, !tbaa !23
  store i64 %173, ptr %26, align 8, !tbaa !9
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %174, i32 0, i32 1
  %176 = load i64, ptr %175, align 8, !tbaa !31
  store i64 %176, ptr %27, align 8, !tbaa !9
  %177 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9hqrndseedEllPNS_10hqrndstateEPNS_8ae_stateE(i64 noundef 325, i64 noundef 46345, ptr noundef %42, ptr noundef %177)
  %178 = load i64, ptr %27, align 8, !tbaa !9
  %179 = load i64, ptr %14, align 8, !tbaa !9
  %180 = mul nsw i64 %178, %179
  %181 = load i64, ptr %16, align 8, !tbaa !9
  %182 = mul nsw i64 %180, %181
  %183 = load i64, ptr %18, align 8, !tbaa !9
  %184 = mul nsw i64 %182, %183
  store i64 %184, ptr %25, align 8, !tbaa !9
  %185 = load ptr, ptr %21, align 8, !tbaa !5
  %186 = load i64, ptr %25, align 8, !tbaa !9
  %187 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %185, i64 noundef %186, ptr noundef %187)
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %188

188:                                              ; preds = %199, %170
  %189 = load i64, ptr %24, align 8, !tbaa !9
  %190 = load i64, ptr %25, align 8, !tbaa !9
  %191 = sub nsw i64 %190, 1
  %192 = icmp sle i64 %189, %191
  br i1 %192, label %193, label %202

193:                                              ; preds = %188
  %194 = load ptr, ptr %21, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %194, i32 0, i32 4
  %196 = load ptr, ptr %195, align 8, !tbaa !16
  %197 = load i64, ptr %24, align 8, !tbaa !9
  %198 = getelementptr inbounds double, ptr %196, i64 %197
  store double 0.000000e+00, ptr %198, align 8, !tbaa !17
  br label %199

199:                                              ; preds = %193
  %200 = load i64, ptr %24, align 8, !tbaa !9
  %201 = add nsw i64 %200, 1
  store i64 %201, ptr %24, align 8, !tbaa !9
  br label %188, !llvm.loop !32

202:                                              ; preds = %188
  %203 = load ptr, ptr %12, align 8, !tbaa !5
  %204 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %203, i32 0, i32 0
  %205 = load i64, ptr %204, align 8, !tbaa !23
  %206 = icmp ne i64 %205, 3
  br i1 %206, label %207, label %209

207:                                              ; preds = %202
  %208 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %208)
  store i32 1, ptr %44, align 4
  br label %548

209:                                              ; preds = %202
  %210 = load ptr, ptr %12, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %210, i32 0, i32 2
  %212 = load i64, ptr %211, align 8, !tbaa !33
  %213 = icmp eq i64 %212, 1
  br i1 %213, label %214, label %521

214:                                              ; preds = %209
  %215 = load ptr, ptr %12, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %215, i32 0, i32 3
  %217 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %216, i32 0, i32 2
  %218 = load i64, ptr %217, align 8, !tbaa !34
  %219 = icmp eq i64 %218, 0
  br i1 %219, label %220, label %222

220:                                              ; preds = %214
  %221 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %221)
  store i32 1, ptr %44, align 4
  br label %548

222:                                              ; preds = %214
  %223 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 1
  %224 = load i64, ptr %26, align 8, !tbaa !9
  %225 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %223, i64 noundef %224, ptr noundef %225)
  %226 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 0
  %227 = load i64, ptr %26, align 8, !tbaa !9
  %228 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %226, i64 noundef %227, ptr noundef %228)
  %229 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 2
  %230 = load i64, ptr %27, align 8, !tbaa !9
  %231 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %229, i64 noundef %230, ptr noundef %231)
  %232 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 7
  %233 = load i64, ptr %14, align 8, !tbaa !9
  %234 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %232, i64 noundef %233, ptr noundef %234)
  %235 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 8
  %236 = load i64, ptr %16, align 8, !tbaa !9
  %237 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %235, i64 noundef %236, ptr noundef %237)
  %238 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 9
  %239 = load i64, ptr %18, align 8, !tbaa !9
  %240 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %238, i64 noundef %239, ptr noundef %240)
  %241 = load ptr, ptr %12, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %241, i32 0, i32 3
  %243 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %242, i32 0, i32 4
  %244 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 10
  %245 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl25kdtreecreaterequestbufferEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_8ae_stateE(ptr noundef %243, ptr noundef %244, ptr noundef %245)
  %246 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ae_shared_pool_set_seedEPNS_14ae_shared_poolEPvlPFvS2_PNS_8ae_stateEbEPFvS2_S2_S4_bEPFvS2_ES4_(ptr noundef %41, ptr noundef %40, i64 noundef 1344, ptr noundef @_ZN11alglib_impl20_gridcalc3v1buf_initEPvPNS_8ae_stateEb, ptr noundef @_ZN11alglib_impl25_gridcalc3v1buf_init_copyEPvS0_PNS_8ae_stateEb, ptr noundef @_ZN11alglib_impl23_gridcalc3v1buf_destroyEPv, ptr noundef %246)
  %247 = load ptr, ptr %12, align 8, !tbaa !5
  %248 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %247, i32 0, i32 3
  %249 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %248, i32 0, i32 7
  %250 = load double, ptr %249, align 8, !tbaa !35
  store double %250, ptr %28, align 8, !tbaa !17
  %251 = load double, ptr %28, align 8, !tbaa !17
  %252 = fmul double 2.000000e+00, %251
  store double %252, ptr %35, align 8, !tbaa !17
  store i64 8, ptr %39, align 8, !tbaa !9
  %253 = load double, ptr %28, align 8, !tbaa !17
  %254 = load double, ptr @_ZN11alglib_implL16rbf_rbffarradiusE, align 8, !tbaa !17
  %255 = load ptr, ptr %12, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %255, i32 0, i32 0
  %257 = load i64, ptr %256, align 8, !tbaa !23
  %258 = sitofp i64 %257 to double
  %259 = load ptr, ptr %22, align 8, !tbaa !5
  %260 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %258, ptr noundef %259)
  %261 = fmul double 5.000000e-01, %260
  %262 = load double, ptr %35, align 8, !tbaa !17
  %263 = fmul double %261, %262
  %264 = call double @llvm.fmuladd.f64(double %253, double %254, double %263)
  store double %264, ptr %36, align 8, !tbaa !17
  store i64 100, ptr %38, align 8, !tbaa !9
  store double 0.000000e+00, ptr %37, align 8, !tbaa !17
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %265

265:                                              ; preds = %321, %222
  %266 = load i64, ptr %24, align 8, !tbaa !9
  %267 = load i64, ptr %38, align 8, !tbaa !9
  %268 = sub nsw i64 %267, 1
  %269 = icmp sle i64 %266, %268
  br i1 %269, label %270, label %324

270:                                              ; preds = %265
  %271 = load ptr, ptr %13, align 8, !tbaa !5
  %272 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %271, i32 0, i32 4
  %273 = load ptr, ptr %272, align 8, !tbaa !16
  %274 = load i64, ptr %14, align 8, !tbaa !9
  %275 = load ptr, ptr %22, align 8, !tbaa !5
  %276 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef %42, i64 noundef %274, ptr noundef %275)
  %277 = getelementptr inbounds double, ptr %273, i64 %276
  %278 = load double, ptr %277, align 8, !tbaa !17
  %279 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 0
  %280 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %279, i32 0, i32 4
  %281 = load ptr, ptr %280, align 8, !tbaa !16
  %282 = getelementptr inbounds double, ptr %281, i64 0
  store double %278, ptr %282, align 8, !tbaa !17
  %283 = load ptr, ptr %15, align 8, !tbaa !5
  %284 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %283, i32 0, i32 4
  %285 = load ptr, ptr %284, align 8, !tbaa !16
  %286 = load i64, ptr %16, align 8, !tbaa !9
  %287 = load ptr, ptr %22, align 8, !tbaa !5
  %288 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef %42, i64 noundef %286, ptr noundef %287)
  %289 = getelementptr inbounds double, ptr %285, i64 %288
  %290 = load double, ptr %289, align 8, !tbaa !17
  %291 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 0
  %292 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %291, i32 0, i32 4
  %293 = load ptr, ptr %292, align 8, !tbaa !16
  %294 = getelementptr inbounds double, ptr %293, i64 1
  store double %290, ptr %294, align 8, !tbaa !17
  %295 = load ptr, ptr %17, align 8, !tbaa !5
  %296 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %295, i32 0, i32 4
  %297 = load ptr, ptr %296, align 8, !tbaa !16
  %298 = load i64, ptr %18, align 8, !tbaa !9
  %299 = load ptr, ptr %22, align 8, !tbaa !5
  %300 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef %42, i64 noundef %298, ptr noundef %299)
  %301 = getelementptr inbounds double, ptr %297, i64 %300
  %302 = load double, ptr %301, align 8, !tbaa !17
  %303 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 0
  %304 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %303, i32 0, i32 4
  %305 = load ptr, ptr %304, align 8, !tbaa !16
  %306 = getelementptr inbounds double, ptr %305, i64 2
  store double %302, ptr %306, align 8, !tbaa !17
  %307 = load double, ptr %37, align 8, !tbaa !17
  %308 = load ptr, ptr %12, align 8, !tbaa !5
  %309 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %308, i32 0, i32 3
  %310 = getelementptr inbounds %"struct.alglib_impl::rbfv1model", ptr %309, i32 0, i32 4
  %311 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 10
  %312 = getelementptr inbounds %"struct.alglib_impl::gridcalc3v1buf", ptr %40, i32 0, i32 0
  %313 = load double, ptr %36, align 8, !tbaa !17
  %314 = load ptr, ptr %22, align 8, !tbaa !5
  %315 = call noundef i64 @_ZN11alglib_impl16kdtreetsqueryrnnEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEdbPNS_8ae_stateE(ptr noundef %310, ptr noundef %311, ptr noundef %312, double noundef %313, i1 noundef zeroext true, ptr noundef %314)
  %316 = sitofp i64 %315 to double
  %317 = load i64, ptr %38, align 8, !tbaa !9
  %318 = sitofp i64 %317 to double
  %319 = fdiv double %316, %318
  %320 = fadd double %307, %319
  store double %320, ptr %37, align 8, !tbaa !17
  br label %321

321:                                              ; preds = %270
  %322 = load i64, ptr %24, align 8, !tbaa !9
  %323 = add nsw i64 %322, 1
  store i64 %323, ptr %24, align 8, !tbaa !9
  br label %265, !llvm.loop !36

324:                                              ; preds = %265
  %325 = load i64, ptr %14, align 8, !tbaa !9
  %326 = add nsw i64 %325, 1
  %327 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %29, i64 noundef %326, ptr noundef %327)
  store i64 0, ptr %32, align 8, !tbaa !9
  %328 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %329 = load ptr, ptr %328, align 8, !tbaa !16
  %330 = getelementptr inbounds i64, ptr %329, i64 0
  store i64 0, ptr %330, align 8, !tbaa !9
  store i64 1, ptr %24, align 8, !tbaa !9
  br label %331

331:                                              ; preds = %374, %324
  %332 = load i64, ptr %24, align 8, !tbaa !9
  %333 = load i64, ptr %14, align 8, !tbaa !9
  %334 = sub nsw i64 %333, 1
  %335 = icmp sle i64 %332, %334
  br i1 %335, label %336, label %377

336:                                              ; preds = %331
  %337 = load ptr, ptr %13, align 8, !tbaa !5
  %338 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %337, i32 0, i32 4
  %339 = load ptr, ptr %338, align 8, !tbaa !16
  %340 = load i64, ptr %24, align 8, !tbaa !9
  %341 = getelementptr inbounds double, ptr %339, i64 %340
  %342 = load double, ptr %341, align 8, !tbaa !17
  %343 = load ptr, ptr %13, align 8, !tbaa !5
  %344 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %343, i32 0, i32 4
  %345 = load ptr, ptr %344, align 8, !tbaa !16
  %346 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %347 = load ptr, ptr %346, align 8, !tbaa !16
  %348 = load i64, ptr %32, align 8, !tbaa !9
  %349 = getelementptr inbounds i64, ptr %347, i64 %348
  %350 = load i64, ptr %349, align 8, !tbaa !9
  %351 = getelementptr inbounds double, ptr %345, i64 %350
  %352 = load double, ptr %351, align 8, !tbaa !17
  %353 = fsub double %342, %352
  %354 = load double, ptr %35, align 8, !tbaa !17
  %355 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %353, double noundef %354)
  br i1 %355, label %366, label %356

356:                                              ; preds = %336
  %357 = load i64, ptr %24, align 8, !tbaa !9
  %358 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %359 = load ptr, ptr %358, align 8, !tbaa !16
  %360 = load i64, ptr %32, align 8, !tbaa !9
  %361 = getelementptr inbounds i64, ptr %359, i64 %360
  %362 = load i64, ptr %361, align 8, !tbaa !9
  %363 = sub nsw i64 %357, %362
  %364 = load i64, ptr %39, align 8, !tbaa !9
  %365 = icmp sge i64 %363, %364
  br i1 %365, label %366, label %373

366:                                              ; preds = %356, %336
  %367 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %32, ptr noundef %367)
  %368 = load i64, ptr %24, align 8, !tbaa !9
  %369 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %370 = load ptr, ptr %369, align 8, !tbaa !16
  %371 = load i64, ptr %32, align 8, !tbaa !9
  %372 = getelementptr inbounds i64, ptr %370, i64 %371
  store i64 %368, ptr %372, align 8, !tbaa !9
  br label %373

373:                                              ; preds = %366, %356
  br label %374

374:                                              ; preds = %373
  %375 = load i64, ptr %24, align 8, !tbaa !9
  %376 = add nsw i64 %375, 1
  store i64 %376, ptr %24, align 8, !tbaa !9
  br label %331, !llvm.loop !37

377:                                              ; preds = %331
  %378 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %32, ptr noundef %378)
  %379 = load i64, ptr %14, align 8, !tbaa !9
  %380 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %381 = load ptr, ptr %380, align 8, !tbaa !16
  %382 = load i64, ptr %32, align 8, !tbaa !9
  %383 = getelementptr inbounds i64, ptr %381, i64 %382
  store i64 %379, ptr %383, align 8, !tbaa !9
  %384 = load i64, ptr %16, align 8, !tbaa !9
  %385 = add nsw i64 %384, 1
  %386 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef %385, ptr noundef %386)
  store i64 0, ptr %33, align 8, !tbaa !9
  %387 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %388 = load ptr, ptr %387, align 8, !tbaa !16
  %389 = getelementptr inbounds i64, ptr %388, i64 0
  store i64 0, ptr %389, align 8, !tbaa !9
  store i64 1, ptr %24, align 8, !tbaa !9
  br label %390

390:                                              ; preds = %433, %377
  %391 = load i64, ptr %24, align 8, !tbaa !9
  %392 = load i64, ptr %16, align 8, !tbaa !9
  %393 = sub nsw i64 %392, 1
  %394 = icmp sle i64 %391, %393
  br i1 %394, label %395, label %436

395:                                              ; preds = %390
  %396 = load ptr, ptr %15, align 8, !tbaa !5
  %397 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %396, i32 0, i32 4
  %398 = load ptr, ptr %397, align 8, !tbaa !16
  %399 = load i64, ptr %24, align 8, !tbaa !9
  %400 = getelementptr inbounds double, ptr %398, i64 %399
  %401 = load double, ptr %400, align 8, !tbaa !17
  %402 = load ptr, ptr %15, align 8, !tbaa !5
  %403 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %402, i32 0, i32 4
  %404 = load ptr, ptr %403, align 8, !tbaa !16
  %405 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %406 = load ptr, ptr %405, align 8, !tbaa !16
  %407 = load i64, ptr %33, align 8, !tbaa !9
  %408 = getelementptr inbounds i64, ptr %406, i64 %407
  %409 = load i64, ptr %408, align 8, !tbaa !9
  %410 = getelementptr inbounds double, ptr %404, i64 %409
  %411 = load double, ptr %410, align 8, !tbaa !17
  %412 = fsub double %401, %411
  %413 = load double, ptr %35, align 8, !tbaa !17
  %414 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %412, double noundef %413)
  br i1 %414, label %425, label %415

415:                                              ; preds = %395
  %416 = load i64, ptr %24, align 8, !tbaa !9
  %417 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %418 = load ptr, ptr %417, align 8, !tbaa !16
  %419 = load i64, ptr %33, align 8, !tbaa !9
  %420 = getelementptr inbounds i64, ptr %418, i64 %419
  %421 = load i64, ptr %420, align 8, !tbaa !9
  %422 = sub nsw i64 %416, %421
  %423 = load i64, ptr %39, align 8, !tbaa !9
  %424 = icmp sge i64 %422, %423
  br i1 %424, label %425, label %432

425:                                              ; preds = %415, %395
  %426 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %33, ptr noundef %426)
  %427 = load i64, ptr %24, align 8, !tbaa !9
  %428 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %429 = load ptr, ptr %428, align 8, !tbaa !16
  %430 = load i64, ptr %33, align 8, !tbaa !9
  %431 = getelementptr inbounds i64, ptr %429, i64 %430
  store i64 %427, ptr %431, align 8, !tbaa !9
  br label %432

432:                                              ; preds = %425, %415
  br label %433

433:                                              ; preds = %432
  %434 = load i64, ptr %24, align 8, !tbaa !9
  %435 = add nsw i64 %434, 1
  store i64 %435, ptr %24, align 8, !tbaa !9
  br label %390, !llvm.loop !38

436:                                              ; preds = %390
  %437 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %33, ptr noundef %437)
  %438 = load i64, ptr %16, align 8, !tbaa !9
  %439 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %440 = load ptr, ptr %439, align 8, !tbaa !16
  %441 = load i64, ptr %33, align 8, !tbaa !9
  %442 = getelementptr inbounds i64, ptr %440, i64 %441
  store i64 %438, ptr %442, align 8, !tbaa !9
  %443 = load i64, ptr %18, align 8, !tbaa !9
  %444 = add nsw i64 %443, 1
  %445 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %31, i64 noundef %444, ptr noundef %445)
  store i64 0, ptr %34, align 8, !tbaa !9
  %446 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %447 = load ptr, ptr %446, align 8, !tbaa !16
  %448 = getelementptr inbounds i64, ptr %447, i64 0
  store i64 0, ptr %448, align 8, !tbaa !9
  store i64 1, ptr %24, align 8, !tbaa !9
  br label %449

449:                                              ; preds = %492, %436
  %450 = load i64, ptr %24, align 8, !tbaa !9
  %451 = load i64, ptr %18, align 8, !tbaa !9
  %452 = sub nsw i64 %451, 1
  %453 = icmp sle i64 %450, %452
  br i1 %453, label %454, label %495

454:                                              ; preds = %449
  %455 = load ptr, ptr %17, align 8, !tbaa !5
  %456 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %455, i32 0, i32 4
  %457 = load ptr, ptr %456, align 8, !tbaa !16
  %458 = load i64, ptr %24, align 8, !tbaa !9
  %459 = getelementptr inbounds double, ptr %457, i64 %458
  %460 = load double, ptr %459, align 8, !tbaa !17
  %461 = load ptr, ptr %17, align 8, !tbaa !5
  %462 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %461, i32 0, i32 4
  %463 = load ptr, ptr %462, align 8, !tbaa !16
  %464 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %465 = load ptr, ptr %464, align 8, !tbaa !16
  %466 = load i64, ptr %34, align 8, !tbaa !9
  %467 = getelementptr inbounds i64, ptr %465, i64 %466
  %468 = load i64, ptr %467, align 8, !tbaa !9
  %469 = getelementptr inbounds double, ptr %463, i64 %468
  %470 = load double, ptr %469, align 8, !tbaa !17
  %471 = fsub double %460, %470
  %472 = load double, ptr %35, align 8, !tbaa !17
  %473 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %471, double noundef %472)
  br i1 %473, label %484, label %474

474:                                              ; preds = %454
  %475 = load i64, ptr %24, align 8, !tbaa !9
  %476 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %477 = load ptr, ptr %476, align 8, !tbaa !16
  %478 = load i64, ptr %34, align 8, !tbaa !9
  %479 = getelementptr inbounds i64, ptr %477, i64 %478
  %480 = load i64, ptr %479, align 8, !tbaa !9
  %481 = sub nsw i64 %475, %480
  %482 = load i64, ptr %39, align 8, !tbaa !9
  %483 = icmp sge i64 %481, %482
  br i1 %483, label %484, label %491

484:                                              ; preds = %474, %454
  %485 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %34, ptr noundef %485)
  %486 = load i64, ptr %24, align 8, !tbaa !9
  %487 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %488 = load ptr, ptr %487, align 8, !tbaa !16
  %489 = load i64, ptr %34, align 8, !tbaa !9
  %490 = getelementptr inbounds i64, ptr %488, i64 %489
  store i64 %486, ptr %490, align 8, !tbaa !9
  br label %491

491:                                              ; preds = %484, %474
  br label %492

492:                                              ; preds = %491
  %493 = load i64, ptr %24, align 8, !tbaa !9
  %494 = add nsw i64 %493, 1
  store i64 %494, ptr %24, align 8, !tbaa !9
  br label %449, !llvm.loop !39

495:                                              ; preds = %449
  %496 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef %34, ptr noundef %496)
  %497 = load i64, ptr %18, align 8, !tbaa !9
  %498 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %499 = load ptr, ptr %498, align 8, !tbaa !16
  %500 = load i64, ptr %34, align 8, !tbaa !9
  %501 = getelementptr inbounds i64, ptr %499, i64 %500
  store i64 %497, ptr %501, align 8, !tbaa !9
  %502 = load ptr, ptr %12, align 8, !tbaa !5
  %503 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %502, i32 0, i32 3
  %504 = load ptr, ptr %13, align 8, !tbaa !5
  %505 = load i64, ptr %14, align 8, !tbaa !9
  %506 = load ptr, ptr %15, align 8, !tbaa !5
  %507 = load i64, ptr %16, align 8, !tbaa !9
  %508 = load ptr, ptr %17, align 8, !tbaa !5
  %509 = load i64, ptr %18, align 8, !tbaa !9
  %510 = load i64, ptr %32, align 8, !tbaa !9
  %511 = load i64, ptr %33, align 8, !tbaa !9
  %512 = load i64, ptr %34, align 8, !tbaa !9
  %513 = load ptr, ptr %19, align 8, !tbaa !5
  %514 = load i8, ptr %20, align 1, !tbaa !11, !range !40, !noundef !41
  %515 = trunc i8 %514 to i1
  %516 = load double, ptr %36, align 8, !tbaa !17
  %517 = load double, ptr %37, align 8, !tbaa !17
  %518 = load ptr, ptr %21, align 8, !tbaa !5
  %519 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl18rbfv1gridcalc3vrecEPNS_10rbfv1modelEPNS_9ae_vectorElS3_lS3_lS3_llS3_llS3_llS3_bddPNS_14ae_shared_poolES3_PNS_8ae_stateE(ptr noundef %503, ptr noundef %504, i64 noundef %505, ptr noundef %506, i64 noundef %507, ptr noundef %508, i64 noundef %509, ptr noundef %29, i64 noundef 0, i64 noundef %510, ptr noundef %30, i64 noundef 0, i64 noundef %511, ptr noundef %31, i64 noundef 0, i64 noundef %512, ptr noundef %513, i1 noundef zeroext %515, double noundef %516, double noundef %517, ptr noundef %41, ptr noundef %518, ptr noundef %519)
  %520 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %520)
  store i32 1, ptr %44, align 4
  br label %548

521:                                              ; preds = %209
  %522 = load ptr, ptr %12, align 8, !tbaa !5
  %523 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %522, i32 0, i32 2
  %524 = load i64, ptr %523, align 8, !tbaa !33
  %525 = icmp eq i64 %524, 2
  br i1 %525, label %526, label %545

526:                                              ; preds = %521
  %527 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %43, i64 noundef 1, ptr noundef %527)
  %528 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %43, i32 0, i32 4
  %529 = load ptr, ptr %528, align 8, !tbaa !16
  %530 = getelementptr inbounds double, ptr %529, i64 0
  store double 0.000000e+00, ptr %530, align 8, !tbaa !17
  %531 = load ptr, ptr %12, align 8, !tbaa !5
  %532 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %531, i32 0, i32 4
  %533 = load ptr, ptr %13, align 8, !tbaa !5
  %534 = load i64, ptr %14, align 8, !tbaa !9
  %535 = load ptr, ptr %15, align 8, !tbaa !5
  %536 = load i64, ptr %16, align 8, !tbaa !9
  %537 = load ptr, ptr %17, align 8, !tbaa !5
  %538 = load i64, ptr %18, align 8, !tbaa !9
  %539 = load ptr, ptr %19, align 8, !tbaa !5
  %540 = load i8, ptr %20, align 1, !tbaa !11, !range !40, !noundef !41
  %541 = trunc i8 %540 to i1
  %542 = load ptr, ptr %21, align 8, !tbaa !5
  %543 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rbfv2gridcalcvxEPNS_10rbfv2modelEPNS_9ae_vectorElS3_lS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef %532, ptr noundef %533, i64 noundef %534, ptr noundef %535, i64 noundef %536, ptr noundef %537, i64 noundef %538, ptr noundef %43, i64 noundef 1, ptr noundef %539, i1 noundef zeroext %541, ptr noundef %542, ptr noundef %543)
  %544 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %544)
  store i32 1, ptr %44, align 4
  br label %548

545:                                              ; preds = %521
  %546 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.858, ptr noundef %546)
  %547 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %547)
  store i32 0, ptr %44, align 4
  br label %548

548:                                              ; preds = %545, %526, %495, %220, %207
  call void @llvm.lifetime.end.p0(i64 64, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 1344, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  %549 = load i32, ptr %44, align 4
  switch i32 %549, label %551 [
    i32 0, label %550
    i32 1, label %550
  ]

550:                                              ; preds = %548, %548
  ret void

551:                                              ; preds = %548
  unreachable
}

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !12, i64 16, !15, i64 24, !7, i64 56}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = !{!24, !10, i64 0}
!24 = !{!"_ZTSN11alglib_impl8rbfmodelE", !10, i64 0, !10, i64 8, !10, i64 16, !25, i64 24, !29, i64 1512, !18, i64 2496, !18, i64 2504, !18, i64 2512, !10, i64 2520, !10, i64 2528, !10, i64 2536, !18, i64 2544, !18, i64 2552, !10, i64 2560, !10, i64 2568, !10, i64 2576, !27, i64 2584, !27, i64 2664, !12, i64 2744, !14, i64 2752, !10, i64 2816, !12, i64 2824}
!25 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !26, i64 32, !27, i64 1032, !27, i64 1112, !18, i64 1192, !27, i64 1200, !14, i64 1280, !27, i64 1344, !14, i64 1424}
!26 = !{!"_ZTSN11alglib_impl6kdtreeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !27, i64 32, !14, i64 112, !14, i64 176, !14, i64 240, !14, i64 304, !14, i64 368, !28, i64 432, !10, i64 992}
!27 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !15, i64 40, !7, i64 72}
!28 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !14, i64 0, !14, i64 64, !14, i64 128, !10, i64 192, !18, i64 200, !12, i64 208, !18, i64 216, !10, i64 224, !14, i64 232, !14, i64 296, !14, i64 360, !14, i64 424, !14, i64 488, !18, i64 552}
!29 = !{!"_ZTSN11alglib_impl10rbfv2modelE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !14, i64 32, !14, i64 96, !14, i64 160, !14, i64 224, !14, i64 288, !14, i64 352, !14, i64 416, !14, i64 480, !27, i64 544, !18, i64 624, !10, i64 632, !18, i64 640, !10, i64 648, !30, i64 656}
!30 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !14, i64 0, !14, i64 64, !14, i64 128, !18, i64 192, !14, i64 200, !14, i64 264}
!31 = !{!24, !10, i64 8}
!32 = distinct !{!32, !20}
!33 = !{!24, !10, i64 16}
!34 = !{!24, !10, i64 40}
!35 = !{!24, !18, i64 1216}
!36 = distinct !{!36, !20}
!37 = distinct !{!37, !20}
!38 = distinct !{!38, !20}
!39 = distinct !{!39, !20}
!40 = !{i8 0, i8 2}
!41 = !{}


; 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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::gridcalc3v1buf" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::kdtreerequestbuffer", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"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::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }

@.str.825 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.826 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.827 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.828 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.829 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.830 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.831 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.832 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.833 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.834 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.835 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.836 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.858 = external hidden unnamed_addr constant [39 x i8], align 1
@_ZN11alglib_implL16rbf_rbffarradiusE = external hidden local_unnamed_addr global double, align 8

; 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

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) local_unnamed_addr #2

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

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

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

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

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double 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_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

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) local_unnamed_addr #2

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

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

declare noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15rbfv2gridcalcvxEPNS_10rbfv2modelEPNS_9ae_vectorElS3_lS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl18rbfv1gridcalc3vrecEPNS_10rbfv1modelEPNS_9ae_vectorElS3_lS3_lS3_llS3_llS3_llS3_bddPNS_14ae_shared_poolES3_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl23_gridcalc3v1buf_destroyEPv(ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rbfgridcalc3vxEPNS_8rbfmodelEPNS_9ae_vectorElS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, i1 noundef zeroext %8, ptr noundef %9, ptr noundef %10) local_unnamed_addr #4 {
  %12 = alloca %"struct.alglib_impl::ae_frame", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca %"struct.alglib_impl::gridcalc3v1buf", align 8
  %20 = alloca %"struct.alglib_impl::ae_shared_pool", align 8
  %21 = alloca %"struct.alglib_impl::hqrndstate", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 1344, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %10, ptr noundef nonnull %12)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1344) %19, i8 0, i64 1344, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(144) %20, i8 0, i64 144, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %21, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %22, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 2, ptr noundef %10, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 2, ptr noundef %10, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 2, ptr noundef %10, i1 noundef zeroext true)
  call void @_ZN11alglib_impl20_gridcalc3v1buf_initEPvPNS_8ae_stateEb(ptr noundef nonnull %19, ptr noundef %10, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_shared_pool_initEPvPNS_8ae_stateEb(ptr noundef nonnull %20, ptr noundef %10, i1 noundef zeroext true)
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef nonnull %21, ptr noundef %10, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %22, i64 noundef 0, i64 noundef 3, ptr noundef %10, i1 noundef zeroext true)
  %23 = icmp sgt i64 %2, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %23, ptr noundef nonnull @.str.825, ptr noundef %10)
  %24 = icmp sgt i64 %4, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %24, ptr noundef nonnull @.str.826, ptr noundef %10)
  %25 = icmp sgt i64 %6, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %25, ptr noundef nonnull @.str.827, ptr noundef %10)
  %26 = load i64, ptr %1, align 8, !tbaa !5
  %27 = icmp sge i64 %26, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %27, ptr noundef nonnull @.str.828, ptr noundef %10)
  %28 = load i64, ptr %3, align 8, !tbaa !5
  %29 = icmp sge i64 %28, %4
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %29, ptr noundef nonnull @.str.829, ptr noundef %10)
  %30 = load i64, ptr %5, align 8, !tbaa !5
  %31 = icmp sge i64 %30, %6
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %31, ptr noundef nonnull @.str.830, ptr noundef %10)
  %32 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %1, i64 noundef %2, ptr noundef %10)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %32, ptr noundef nonnull @.str.831, ptr noundef %10)
  %33 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %4, ptr noundef %10)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %33, ptr noundef nonnull @.str.832, ptr noundef %10)
  %34 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %6, ptr noundef %10)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %34, ptr noundef nonnull @.str.833, ptr noundef %10)
  %.not201 = icmp slt i64 %2, 2
  br i1 %.not201, label %.preheader200, label %.lr.ph

.lr.ph:                                           ; preds = %11
  %35 = getelementptr inbounds i8, ptr %1, i64 56
  %36 = add nsw i64 %2, -2
  br label %39

.preheader200:                                    ; preds = %39, %11
  %.not193203 = icmp slt i64 %4, 2
  br i1 %.not193203, label %.preheader, label %.lr.ph205

.lr.ph205:                                        ; preds = %.preheader200
  %37 = getelementptr inbounds i8, ptr %3, i64 56
  %38 = add nsw i64 %4, -2
  br label %49

39:                                               ; preds = %.lr.ph, %39
  %.0202 = phi i64 [ 0, %.lr.ph ], [ %43, %39 ]
  %40 = load ptr, ptr %35, align 8, !tbaa !13
  %41 = getelementptr inbounds double, ptr %40, i64 %.0202
  %42 = load double, ptr %41, align 8, !tbaa !14
  %43 = add nuw nsw i64 %.0202, 1
  %44 = getelementptr inbounds double, ptr %40, i64 %43
  %45 = load double, ptr %44, align 8, !tbaa !14
  %46 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %42, double noundef %45)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %46, ptr noundef nonnull @.str.834, ptr noundef %10)
  %exitcond.not = icmp eq i64 %.0202, %36
  br i1 %exitcond.not, label %.preheader200, label %39, !llvm.loop !16

.preheader:                                       ; preds = %49, %.preheader200
  %.not194206 = icmp slt i64 %6, 2
  br i1 %.not194206, label %._crit_edge, label %.lr.ph208

.lr.ph208:                                        ; preds = %.preheader
  %47 = getelementptr inbounds i8, ptr %5, i64 56
  %48 = add nsw i64 %6, -2
  br label %57

49:                                               ; preds = %.lr.ph205, %49
  %.1204 = phi i64 [ 0, %.lr.ph205 ], [ %53, %49 ]
  %50 = load ptr, ptr %37, align 8, !tbaa !13
  %51 = getelementptr inbounds double, ptr %50, i64 %.1204
  %52 = load double, ptr %51, align 8, !tbaa !14
  %53 = add nuw nsw i64 %.1204, 1
  %54 = getelementptr inbounds double, ptr %50, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !14
  %56 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %52, double noundef %55)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %56, ptr noundef nonnull @.str.835, ptr noundef %10)
  %exitcond231.not = icmp eq i64 %.1204, %38
  br i1 %exitcond231.not, label %.preheader, label %49, !llvm.loop !18

57:                                               ; preds = %.lr.ph208, %57
  %.2207 = phi i64 [ 0, %.lr.ph208 ], [ %61, %57 ]
  %58 = load ptr, ptr %47, align 8, !tbaa !13
  %59 = getelementptr inbounds double, ptr %58, i64 %.2207
  %60 = load double, ptr %59, align 8, !tbaa !14
  %61 = add nuw nsw i64 %.2207, 1
  %62 = getelementptr inbounds double, ptr %58, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !14
  %64 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %60, double noundef %63)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %64, ptr noundef nonnull @.str.836, ptr noundef %10)
  %exitcond232.not = icmp eq i64 %.2207, %48
  br i1 %exitcond232.not, label %._crit_edge, label %57, !llvm.loop !19

._crit_edge:                                      ; preds = %57, %.preheader
  %65 = load i64, ptr %0, align 8, !tbaa !20
  %66 = getelementptr inbounds i8, ptr %0, i64 8
  %67 = load i64, ptr %66, align 8, !tbaa !28
  call void @_ZN11alglib_impl9hqrndseedEllPNS_10hqrndstateEPNS_8ae_stateE(i64 noundef 325, i64 noundef 46345, ptr noundef nonnull %21, ptr noundef %10)
  %68 = mul i64 %4, %2
  %69 = mul i64 %68, %6
  %70 = mul i64 %69, %67
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %9, i64 noundef %70, ptr noundef %10)
  %.not195.not209 = icmp sgt i64 %70, 0
  br i1 %.not195.not209, label %.lr.ph212, label %._crit_edge213

.lr.ph212:                                        ; preds = %._crit_edge
  %71 = getelementptr inbounds i8, ptr %9, i64 56
  %xtraiter = and i64 %70, 3
  %72 = icmp ult i64 %70, 4
  br i1 %72, label %._crit_edge213.loopexit.unr-lcssa, label %.lr.ph212.new

.lr.ph212.new:                                    ; preds = %.lr.ph212
  %unroll_iter = and i64 %70, 9223372036854775804
  br label %73

73:                                               ; preds = %73, %.lr.ph212.new
  %.3210 = phi i64 [ 0, %.lr.ph212.new ], [ %85, %73 ]
  %niter = phi i64 [ 0, %.lr.ph212.new ], [ %niter.next.3, %73 ]
  %74 = load ptr, ptr %71, align 8, !tbaa !13
  %75 = getelementptr inbounds double, ptr %74, i64 %.3210
  store double 0.000000e+00, ptr %75, align 8, !tbaa !14
  %76 = or disjoint i64 %.3210, 1
  %77 = load ptr, ptr %71, align 8, !tbaa !13
  %78 = getelementptr inbounds double, ptr %77, i64 %76
  store double 0.000000e+00, ptr %78, align 8, !tbaa !14
  %79 = or disjoint i64 %.3210, 2
  %80 = load ptr, ptr %71, align 8, !tbaa !13
  %81 = getelementptr inbounds double, ptr %80, i64 %79
  store double 0.000000e+00, ptr %81, align 8, !tbaa !14
  %82 = or disjoint i64 %.3210, 3
  %83 = load ptr, ptr %71, align 8, !tbaa !13
  %84 = getelementptr inbounds double, ptr %83, i64 %82
  store double 0.000000e+00, ptr %84, align 8, !tbaa !14
  %85 = add nuw nsw i64 %.3210, 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_edge213.loopexit.unr-lcssa, label %73, !llvm.loop !29

._crit_edge213.loopexit.unr-lcssa:                ; preds = %73, %.lr.ph212
  %.3210.unr = phi i64 [ 0, %.lr.ph212 ], [ %85, %73 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge213, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge213.loopexit.unr-lcssa, %.epil.preheader
  %.3210.epil = phi i64 [ %88, %.epil.preheader ], [ %.3210.unr, %._crit_edge213.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge213.loopexit.unr-lcssa ]
  %86 = load ptr, ptr %71, align 8, !tbaa !13
  %87 = getelementptr inbounds double, ptr %86, i64 %.3210.epil
  store double 0.000000e+00, ptr %87, align 8, !tbaa !14
  %88 = add nuw nsw i64 %.3210.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_edge213, label %.epil.preheader, !llvm.loop !30

._crit_edge213:                                   ; preds = %._crit_edge213.loopexit.unr-lcssa, %.epil.preheader, %._crit_edge
  %89 = load i64, ptr %0, align 8, !tbaa !20
  %.not196 = icmp eq i64 %89, 3
  br i1 %.not196, label %90, label %242

90:                                               ; preds = %._crit_edge213
  %91 = getelementptr inbounds i8, ptr %0, i64 16
  %92 = load i64, ptr %91, align 8, !tbaa !32
  switch i64 %92, label %241 [
    i64 1, label %93
    i64 2, label %237
  ]

93:                                               ; preds = %90
  %94 = getelementptr inbounds i8, ptr %0, i64 24
  %95 = getelementptr inbounds i8, ptr %0, i64 40
  %96 = load i64, ptr %95, align 8, !tbaa !33
  %97 = icmp eq i64 %96, 0
  br i1 %97, label %242, label %98

98:                                               ; preds = %93
  %99 = getelementptr inbounds i8, ptr %19, i64 64
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %99, i64 noundef %65, ptr noundef %10)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef %65, ptr noundef %10)
  %100 = getelementptr inbounds i8, ptr %19, i64 128
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %100, i64 noundef %67, ptr noundef %10)
  %101 = getelementptr inbounds i8, ptr %19, i64 448
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %101, i64 noundef %2, ptr noundef %10)
  %102 = getelementptr inbounds i8, ptr %19, i64 512
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %102, i64 noundef %4, ptr noundef %10)
  %103 = getelementptr inbounds i8, ptr %19, i64 576
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %103, i64 noundef %6, ptr noundef %10)
  %104 = getelementptr inbounds i8, ptr %0, i64 56
  %105 = getelementptr inbounds i8, ptr %19, i64 640
  call void @_ZN11alglib_impl25kdtreecreaterequestbufferEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_8ae_stateE(ptr noundef nonnull %104, ptr noundef nonnull %105, ptr noundef %10)
  call void @_ZN11alglib_impl23ae_shared_pool_set_seedEPNS_14ae_shared_poolEPvlPFvS2_PNS_8ae_stateEbEPFvS2_S2_S4_bEPFvS2_ES4_(ptr noundef nonnull %20, ptr noundef nonnull %19, i64 noundef 1344, ptr noundef nonnull @_ZN11alglib_impl20_gridcalc3v1buf_initEPvPNS_8ae_stateEb, ptr noundef nonnull @_ZN11alglib_impl25_gridcalc3v1buf_init_copyEPvS0_PNS_8ae_stateEb, ptr noundef nonnull @_ZN11alglib_impl23_gridcalc3v1buf_destroyEPv, ptr noundef %10)
  %106 = getelementptr inbounds i8, ptr %0, i64 1216
  %107 = load double, ptr %106, align 8, !tbaa !34
  %108 = fmul double %107, 2.000000e+00
  %109 = load double, ptr @_ZN11alglib_implL16rbf_rbffarradiusE, align 8, !tbaa !14
  %110 = load i64, ptr %0, align 8, !tbaa !20
  %111 = sitofp i64 %110 to double
  %112 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %111, ptr noundef %10)
  %113 = fmul double %112, 5.000000e-01
  %114 = fmul double %108, %113
  %115 = call double @llvm.fmuladd.f64(double %107, double %109, double %114)
  %116 = getelementptr inbounds i8, ptr %1, i64 56
  %117 = getelementptr inbounds i8, ptr %19, i64 56
  %118 = getelementptr inbounds i8, ptr %3, i64 56
  %119 = getelementptr inbounds i8, ptr %5, i64 56
  br label %120

120:                                              ; preds = %98, %120
  %.4215 = phi i64 [ 0, %98 ], [ %142, %120 ]
  %.0191214 = phi double [ 0.000000e+00, %98 ], [ %141, %120 ]
  %121 = load ptr, ptr %116, align 8, !tbaa !13
  %122 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %2, ptr noundef %10)
  %123 = getelementptr inbounds double, ptr %121, i64 %122
  %124 = load double, ptr %123, align 8, !tbaa !14
  %125 = load ptr, ptr %117, align 8, !tbaa !13
  store double %124, ptr %125, align 8, !tbaa !14
  %126 = load ptr, ptr %118, align 8, !tbaa !13
  %127 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %4, ptr noundef %10)
  %128 = getelementptr inbounds double, ptr %126, i64 %127
  %129 = load double, ptr %128, align 8, !tbaa !14
  %130 = load ptr, ptr %117, align 8, !tbaa !13
  %131 = getelementptr inbounds i8, ptr %130, i64 8
  store double %129, ptr %131, align 8, !tbaa !14
  %132 = load ptr, ptr %119, align 8, !tbaa !13
  %133 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %21, i64 noundef %6, ptr noundef %10)
  %134 = getelementptr inbounds double, ptr %132, i64 %133
  %135 = load double, ptr %134, align 8, !tbaa !14
  %136 = load ptr, ptr %117, align 8, !tbaa !13
  %137 = getelementptr inbounds i8, ptr %136, i64 16
  store double %135, ptr %137, align 8, !tbaa !14
  %138 = call noundef i64 @_ZN11alglib_impl16kdtreetsqueryrnnEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEdbPNS_8ae_stateE(ptr noundef nonnull %104, ptr noundef nonnull %105, ptr noundef nonnull %19, double noundef %115, i1 noundef zeroext true, ptr noundef %10)
  %139 = sitofp i64 %138 to double
  %140 = fdiv double %139, 1.000000e+02
  %141 = fadd double %.0191214, %140
  %142 = add nuw nsw i64 %.4215, 1
  %exitcond234.not = icmp eq i64 %142, 100
  br i1 %exitcond234.not, label %143, label %120, !llvm.loop !35

143:                                              ; preds = %120
  %144 = add nsw i64 %2, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %144, ptr noundef %10)
  store i64 0, ptr %16, align 8, !tbaa !36
  %145 = getelementptr inbounds i8, ptr %13, i64 56
  %146 = load ptr, ptr %145, align 8, !tbaa !13
  store i64 0, ptr %146, align 8, !tbaa !36
  %.not197.not216 = icmp sgt i64 %2, 1
  br i1 %.not197.not216, label %.lr.ph219, label %._crit_edge220

.lr.ph219:                                        ; preds = %143, %169
  %.5217 = phi i64 [ %170, %169 ], [ 1, %143 ]
  %147 = load ptr, ptr %116, align 8, !tbaa !13
  %148 = getelementptr inbounds double, ptr %147, i64 %.5217
  %149 = load double, ptr %148, align 8, !tbaa !14
  %150 = load ptr, ptr %145, align 8, !tbaa !13
  %151 = load i64, ptr %16, align 8, !tbaa !36
  %152 = getelementptr inbounds i64, ptr %150, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !36
  %154 = getelementptr inbounds double, ptr %147, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !14
  %156 = fsub double %149, %155
  %157 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %156, double noundef %108)
  br i1 %157, label %165, label %158

158:                                              ; preds = %.lr.ph219
  %159 = load ptr, ptr %145, align 8, !tbaa !13
  %160 = load i64, ptr %16, align 8, !tbaa !36
  %161 = getelementptr inbounds i64, ptr %159, i64 %160
  %162 = load i64, ptr %161, align 8, !tbaa !36
  %163 = sub nsw i64 %.5217, %162
  %164 = icmp sgt i64 %163, 7
  br i1 %164, label %165, label %169

165:                                              ; preds = %158, %.lr.ph219
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %16, ptr noundef %10)
  %166 = load ptr, ptr %145, align 8, !tbaa !13
  %167 = load i64, ptr %16, align 8, !tbaa !36
  %168 = getelementptr inbounds i64, ptr %166, i64 %167
  store i64 %.5217, ptr %168, align 8, !tbaa !36
  br label %169

169:                                              ; preds = %158, %165
  %170 = add nuw nsw i64 %.5217, 1
  %exitcond235.not = icmp eq i64 %170, %2
  br i1 %exitcond235.not, label %._crit_edge220, label %.lr.ph219, !llvm.loop !37

._crit_edge220:                                   ; preds = %169, %143
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %16, ptr noundef %10)
  %171 = load ptr, ptr %145, align 8, !tbaa !13
  %172 = load i64, ptr %16, align 8, !tbaa !36
  %173 = getelementptr inbounds i64, ptr %171, i64 %172
  store i64 %2, ptr %173, align 8, !tbaa !36
  %174 = add nsw i64 %4, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %174, ptr noundef %10)
  store i64 0, ptr %17, align 8, !tbaa !36
  %175 = getelementptr inbounds i8, ptr %14, i64 56
  %176 = load ptr, ptr %175, align 8, !tbaa !13
  store i64 0, ptr %176, align 8, !tbaa !36
  %.not198.not221 = icmp sgt i64 %4, 1
  br i1 %.not198.not221, label %.lr.ph224, label %._crit_edge225

.lr.ph224:                                        ; preds = %._crit_edge220, %199
  %.6222 = phi i64 [ %200, %199 ], [ 1, %._crit_edge220 ]
  %177 = load ptr, ptr %118, align 8, !tbaa !13
  %178 = getelementptr inbounds double, ptr %177, i64 %.6222
  %179 = load double, ptr %178, align 8, !tbaa !14
  %180 = load ptr, ptr %175, align 8, !tbaa !13
  %181 = load i64, ptr %17, align 8, !tbaa !36
  %182 = getelementptr inbounds i64, ptr %180, i64 %181
  %183 = load i64, ptr %182, align 8, !tbaa !36
  %184 = getelementptr inbounds double, ptr %177, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !14
  %186 = fsub double %179, %185
  %187 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %186, double noundef %108)
  br i1 %187, label %195, label %188

188:                                              ; preds = %.lr.ph224
  %189 = load ptr, ptr %175, align 8, !tbaa !13
  %190 = load i64, ptr %17, align 8, !tbaa !36
  %191 = getelementptr inbounds i64, ptr %189, i64 %190
  %192 = load i64, ptr %191, align 8, !tbaa !36
  %193 = sub nsw i64 %.6222, %192
  %194 = icmp sgt i64 %193, 7
  br i1 %194, label %195, label %199

195:                                              ; preds = %188, %.lr.ph224
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef %10)
  %196 = load ptr, ptr %175, align 8, !tbaa !13
  %197 = load i64, ptr %17, align 8, !tbaa !36
  %198 = getelementptr inbounds i64, ptr %196, i64 %197
  store i64 %.6222, ptr %198, align 8, !tbaa !36
  br label %199

199:                                              ; preds = %188, %195
  %200 = add nuw nsw i64 %.6222, 1
  %exitcond236.not = icmp eq i64 %200, %4
  br i1 %exitcond236.not, label %._crit_edge225, label %.lr.ph224, !llvm.loop !38

._crit_edge225:                                   ; preds = %199, %._crit_edge220
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %17, ptr noundef %10)
  %201 = load ptr, ptr %175, align 8, !tbaa !13
  %202 = load i64, ptr %17, align 8, !tbaa !36
  %203 = getelementptr inbounds i64, ptr %201, i64 %202
  store i64 %4, ptr %203, align 8, !tbaa !36
  %204 = add nsw i64 %6, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %204, ptr noundef %10)
  store i64 0, ptr %18, align 8, !tbaa !36
  %205 = getelementptr inbounds i8, ptr %15, i64 56
  %206 = load ptr, ptr %205, align 8, !tbaa !13
  store i64 0, ptr %206, align 8, !tbaa !36
  %.not199.not226 = icmp sgt i64 %6, 1
  br i1 %.not199.not226, label %.lr.ph229, label %._crit_edge230

.lr.ph229:                                        ; preds = %._crit_edge225, %229
  %.7227 = phi i64 [ %230, %229 ], [ 1, %._crit_edge225 ]
  %207 = load ptr, ptr %119, align 8, !tbaa !13
  %208 = getelementptr inbounds double, ptr %207, i64 %.7227
  %209 = load double, ptr %208, align 8, !tbaa !14
  %210 = load ptr, ptr %205, align 8, !tbaa !13
  %211 = load i64, ptr %18, align 8, !tbaa !36
  %212 = getelementptr inbounds i64, ptr %210, i64 %211
  %213 = load i64, ptr %212, align 8, !tbaa !36
  %214 = getelementptr inbounds double, ptr %207, i64 %213
  %215 = load double, ptr %214, align 8, !tbaa !14
  %216 = fsub double %209, %215
  %217 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %216, double noundef %108)
  br i1 %217, label %225, label %218

218:                                              ; preds = %.lr.ph229
  %219 = load ptr, ptr %205, align 8, !tbaa !13
  %220 = load i64, ptr %18, align 8, !tbaa !36
  %221 = getelementptr inbounds i64, ptr %219, i64 %220
  %222 = load i64, ptr %221, align 8, !tbaa !36
  %223 = sub nsw i64 %.7227, %222
  %224 = icmp sgt i64 %223, 7
  br i1 %224, label %225, label %229

225:                                              ; preds = %218, %.lr.ph229
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %10)
  %226 = load ptr, ptr %205, align 8, !tbaa !13
  %227 = load i64, ptr %18, align 8, !tbaa !36
  %228 = getelementptr inbounds i64, ptr %226, i64 %227
  store i64 %.7227, ptr %228, align 8, !tbaa !36
  br label %229

229:                                              ; preds = %218, %225
  %230 = add nuw nsw i64 %.7227, 1
  %exitcond237.not = icmp eq i64 %230, %6
  br i1 %exitcond237.not, label %._crit_edge230, label %.lr.ph229, !llvm.loop !39

._crit_edge230:                                   ; preds = %229, %._crit_edge225
  call void @_ZN11alglib_impl3incEPlPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %10)
  %231 = load ptr, ptr %205, align 8, !tbaa !13
  %232 = load i64, ptr %18, align 8, !tbaa !36
  %233 = getelementptr inbounds i64, ptr %231, i64 %232
  store i64 %6, ptr %233, align 8, !tbaa !36
  %234 = load i64, ptr %16, align 8, !tbaa !36
  %235 = load i64, ptr %17, align 8, !tbaa !36
  %236 = load i64, ptr %18, align 8, !tbaa !36
  call void @_ZN11alglib_impl18rbfv1gridcalc3vrecEPNS_10rbfv1modelEPNS_9ae_vectorElS3_lS3_lS3_llS3_llS3_llS3_bddPNS_14ae_shared_poolES3_PNS_8ae_stateE(ptr noundef nonnull %94, ptr noundef nonnull %1, i64 noundef %2, ptr noundef nonnull %3, i64 noundef %4, ptr noundef nonnull %5, i64 noundef %6, ptr noundef nonnull %13, i64 noundef 0, i64 noundef %234, ptr noundef nonnull %14, i64 noundef 0, i64 noundef %235, ptr noundef nonnull %15, i64 noundef 0, i64 noundef %236, ptr noundef %7, i1 noundef zeroext %8, double noundef %115, double noundef %141, ptr noundef nonnull %20, ptr noundef %9, ptr noundef %10)
  br label %242

237:                                              ; preds = %90
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %22, i64 noundef 1, ptr noundef %10)
  %238 = getelementptr inbounds i8, ptr %22, i64 56
  %239 = load ptr, ptr %238, align 8, !tbaa !13
  store double 0.000000e+00, ptr %239, align 8, !tbaa !14
  %240 = getelementptr inbounds i8, ptr %0, i64 1512
  call void @_ZN11alglib_impl15rbfv2gridcalcvxEPNS_10rbfv2modelEPNS_9ae_vectorElS3_lS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef nonnull %240, ptr noundef nonnull %1, i64 noundef %2, ptr noundef nonnull %3, i64 noundef %4, ptr noundef nonnull %5, i64 noundef %6, ptr noundef nonnull %22, i64 noundef 1, ptr noundef %7, i1 noundef zeroext %8, ptr noundef %9, ptr noundef %10)
  br label %242

241:                                              ; preds = %90
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.858, ptr noundef %10)
  br label %242

242:                                              ; preds = %93, %._crit_edge213, %241, %237, %._crit_edge230
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %10)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 1344, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  ret void
}

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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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 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 = !{!8, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = !{!21, !7, i64 0}
!21 = !{!"_ZTSN11alglib_impl8rbfmodelE", !7, i64 0, !7, i64 8, !7, i64 16, !22, i64 24, !26, i64 1512, !15, i64 2496, !15, i64 2504, !15, i64 2512, !7, i64 2520, !7, i64 2528, !7, i64 2536, !15, i64 2544, !15, i64 2552, !7, i64 2560, !7, i64 2568, !7, i64 2576, !24, i64 2584, !24, i64 2664, !10, i64 2744, !6, i64 2752, !7, i64 2816, !10, i64 2824}
!22 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !23, i64 32, !24, i64 1032, !24, i64 1112, !15, i64 1192, !24, i64 1200, !6, i64 1280, !24, i64 1344, !6, i64 1424}
!23 = !{!"_ZTSN11alglib_impl6kdtreeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !24, i64 32, !6, i64 112, !6, i64 176, !6, i64 240, !6, i64 304, !6, i64 368, !25, i64 432, !7, i64 992}
!24 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!25 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !7, i64 192, !15, i64 200, !10, i64 208, !15, i64 216, !7, i64 224, !6, i64 232, !6, i64 296, !6, i64 360, !6, i64 424, !6, i64 488, !15, i64 552}
!26 = !{!"_ZTSN11alglib_impl10rbfv2modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !6, i64 32, !6, i64 96, !6, i64 160, !6, i64 224, !6, i64 288, !6, i64 352, !6, i64 416, !6, i64 480, !24, i64 544, !15, i64 624, !7, i64 632, !15, i64 640, !7, i64 648, !27, i64 656}
!27 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !15, i64 192, !6, i64 200, !6, i64 264}
!28 = !{!21, !7, i64 8}
!29 = distinct !{!29, !17}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.unroll.disable"}
!32 = !{!21, !7, i64 16}
!33 = !{!21, !7, i64 40}
!34 = !{!21, !15, i64 1216}
!35 = distinct !{!35, !17}
!36 = !{!7, !7, i64 0}
!37 = distinct !{!37, !17}
!38 = distinct !{!38, !17}
!39 = distinct !{!39, !17}


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