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

@.str.850 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.851 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.852 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.853 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.854 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.855 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.856 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.857 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.858 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rbfgridcalc2vxEPNS_8rbfmodelEPNS_9ae_vectorElS3_lS3_bS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i1 noundef zeroext %6, ptr noundef %7, ptr noundef %8) #3 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.alglib_impl::ae_frame", align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"struct.alglib_impl::hqrndstate", align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca %"struct.alglib_impl::ae_vector", align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, 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 %"struct.alglib_impl::rbfcalcbuffer", align 8
  %34 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i64 %2, ptr %12, align 8, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !5
  store i64 %4, ptr %14, align 8, !tbaa !9
  store ptr %5, ptr %15, align 8, !tbaa !5
  %35 = zext i1 %6 to i8
  store i8 %35, ptr %16, align 1, !tbaa !11
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 1104, ptr %33) #4
  %36 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %36, ptr noundef %19)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %25, 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 %33, i8 0, i64 1104, i1 false)
  %37 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef %23, ptr noundef %37, i1 noundef zeroext true)
  %38 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %24, i64 noundef 0, i64 noundef 3, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %25, i64 noundef 0, i64 noundef 3, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %30, i64 noundef 0, i64 noundef 3, ptr noundef %40, i1 noundef zeroext true)
  %41 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %31, i64 noundef 0, i64 noundef 3, ptr noundef %41, i1 noundef zeroext true)
  %42 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl19_rbfcalcbuffer_initEPvPNS_8ae_stateEb(ptr noundef %33, ptr noundef %42, i1 noundef zeroext true)
  %43 = load i64, ptr %12, align 8, !tbaa !9
  %44 = icmp sgt i64 %43, 0
  %45 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %44, ptr noundef @.str.850, ptr noundef %45)
  %46 = load i64, ptr %14, align 8, !tbaa !9
  %47 = icmp sgt i64 %46, 0
  %48 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %47, ptr noundef @.str.851, ptr noundef %48)
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %49, i32 0, i32 0
  %51 = load i64, ptr %50, align 8, !tbaa !13
  %52 = load i64, ptr %12, align 8, !tbaa !9
  %53 = icmp sge i64 %51, %52
  %54 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %53, ptr noundef @.str.852, ptr noundef %54)
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %55, i32 0, i32 0
  %57 = load i64, ptr %56, align 8, !tbaa !13
  %58 = load i64, ptr %14, align 8, !tbaa !9
  %59 = icmp sge i64 %57, %58
  %60 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %59, ptr noundef @.str.853, ptr noundef %60)
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = load i64, ptr %12, align 8, !tbaa !9
  %63 = load ptr, ptr %18, align 8, !tbaa !5
  %64 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %61, i64 noundef %62, ptr noundef %63)
  %65 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %64, ptr noundef @.str.854, ptr noundef %65)
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  %67 = load i64, ptr %14, align 8, !tbaa !9
  %68 = load ptr, ptr %18, align 8, !tbaa !5
  %69 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %66, i64 noundef %67, ptr noundef %68)
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %69, ptr noundef @.str.855, ptr noundef %70)
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %92, %9
  %72 = load i64, ptr %26, align 8, !tbaa !9
  %73 = load i64, ptr %12, align 8, !tbaa !9
  %74 = sub nsw i64 %73, 2
  %75 = icmp sle i64 %72, %74
  br i1 %75, label %76, label %95

76:                                               ; preds = %71
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %77, i32 0, i32 4
  %79 = load ptr, ptr %78, align 8, !tbaa !16
  %80 = load i64, ptr %26, align 8, !tbaa !9
  %81 = getelementptr inbounds double, ptr %79, i64 %80
  %82 = load double, ptr %81, align 8, !tbaa !17
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %83, i32 0, i32 4
  %85 = load ptr, ptr %84, align 8, !tbaa !16
  %86 = load i64, ptr %26, align 8, !tbaa !9
  %87 = add nsw i64 %86, 1
  %88 = getelementptr inbounds double, ptr %85, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !17
  %90 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %82, double noundef %89)
  %91 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %90, ptr noundef @.str.856, ptr noundef %91)
  br label %92

92:                                               ; preds = %76
  %93 = load i64, ptr %26, align 8, !tbaa !9
  %94 = add nsw i64 %93, 1
  store i64 %94, ptr %26, align 8, !tbaa !9
  br label %71, !llvm.loop !19

95:                                               ; preds = %71
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %96

96:                                               ; preds = %117, %95
  %97 = load i64, ptr %26, 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 %26, 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 %26, 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 %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %115, ptr noundef @.str.857, ptr noundef %116)
  br label %117

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

120:                                              ; preds = %96
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %121, i32 0, i32 0
  %123 = load i64, ptr %122, align 8, !tbaa !22
  store i64 %123, ptr %20, align 8, !tbaa !9
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %124, i32 0, i32 1
  %126 = load i64, ptr %125, align 8, !tbaa !30
  store i64 %126, ptr %21, align 8, !tbaa !9
  %127 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9hqrndseedEllPNS_10hqrndstateEPNS_8ae_stateE(i64 noundef 325, i64 noundef 46345, ptr noundef %23, ptr noundef %127)
  %128 = load i64, ptr %21, align 8, !tbaa !9
  %129 = load i64, ptr %12, align 8, !tbaa !9
  %130 = mul nsw i64 %128, %129
  %131 = load i64, ptr %14, align 8, !tbaa !9
  %132 = mul nsw i64 %130, %131
  store i64 %132, ptr %22, align 8, !tbaa !9
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = load i64, ptr %22, align 8, !tbaa !9
  %135 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %133, i64 noundef %134, ptr noundef %135)
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %147, %120
  %137 = load i64, ptr %26, align 8, !tbaa !9
  %138 = load i64, ptr %22, align 8, !tbaa !9
  %139 = sub nsw i64 %138, 1
  %140 = icmp sle i64 %137, %139
  br i1 %140, label %141, label %150

141:                                              ; preds = %136
  %142 = load ptr, ptr %17, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %142, i32 0, i32 4
  %144 = load ptr, ptr %143, align 8, !tbaa !16
  %145 = load i64, ptr %26, align 8, !tbaa !9
  %146 = getelementptr inbounds double, ptr %144, i64 %145
  store double 0.000000e+00, ptr %146, align 8, !tbaa !17
  br label %147

147:                                              ; preds = %141
  %148 = load i64, ptr %26, align 8, !tbaa !9
  %149 = add nsw i64 %148, 1
  store i64 %149, ptr %26, align 8, !tbaa !9
  br label %136, !llvm.loop !31

150:                                              ; preds = %136
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %151, i32 0, i32 0
  %153 = load i64, ptr %152, align 8, !tbaa !22
  %154 = icmp ne i64 %153, 2
  br i1 %154, label %155, label %157

155:                                              ; preds = %150
  %156 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %156)
  store i32 1, ptr %34, align 4
  br label %296

157:                                              ; preds = %150
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %158, i32 0, i32 2
  %160 = load i64, ptr %159, align 8, !tbaa !32
  %161 = icmp eq i64 %160, 2
  br i1 %161, label %162, label %183

162:                                              ; preds = %157
  %163 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef 1, ptr noundef %163)
  %164 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %165 = load ptr, ptr %164, align 8, !tbaa !16
  %166 = getelementptr inbounds double, ptr %165, i64 0
  store double 0.000000e+00, ptr %166, align 8, !tbaa !17
  %167 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %25, i64 noundef 1, ptr noundef %167)
  %168 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %169 = load ptr, ptr %168, align 8, !tbaa !16
  %170 = getelementptr inbounds double, ptr %169, i64 0
  store double 0.000000e+00, ptr %170, align 8, !tbaa !17
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %171, i32 0, i32 4
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = load i64, ptr %12, align 8, !tbaa !9
  %175 = load ptr, ptr %13, align 8, !tbaa !5
  %176 = load i64, ptr %14, align 8, !tbaa !9
  %177 = load ptr, ptr %15, align 8, !tbaa !5
  %178 = load i8, ptr %16, align 1, !tbaa !11, !range !33, !noundef !34
  %179 = trunc i8 %178 to i1
  %180 = load ptr, ptr %17, align 8, !tbaa !5
  %181 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl15rbfv2gridcalcvxEPNS_10rbfv2modelEPNS_9ae_vectorElS3_lS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef %172, ptr noundef %173, i64 noundef %174, ptr noundef %175, i64 noundef %176, ptr noundef %24, i64 noundef 1, ptr noundef %25, i64 noundef 1, ptr noundef %177, i1 noundef zeroext %179, ptr noundef %180, ptr noundef %181)
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %182)
  store i32 1, ptr %34, align 4
  br label %296

183:                                              ; preds = %157
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %184, i32 0, i32 2
  %186 = load i64, ptr %185, align 8, !tbaa !32
  %187 = icmp eq i64 %186, 1
  br i1 %187, label %188, label %293

188:                                              ; preds = %183
  %189 = load i64, ptr %20, align 8, !tbaa !9
  %190 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %30, i64 noundef %189, ptr noundef %190)
  %191 = load ptr, ptr %10, align 8, !tbaa !5
  %192 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl19rbfcreatecalcbufferEPNS_8rbfmodelEPNS_13rbfcalcbufferEPNS_8ae_stateE(ptr noundef %191, ptr noundef %33, ptr noundef %192)
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %193

193:                                              ; preds = %288, %188
  %194 = load i64, ptr %26, align 8, !tbaa !9
  %195 = load i64, ptr %12, align 8, !tbaa !9
  %196 = sub nsw i64 %195, 1
  %197 = icmp sle i64 %194, %196
  br i1 %197, label %198, label %291

198:                                              ; preds = %193
  store i64 0, ptr %27, align 8, !tbaa !9
  br label %199

199:                                              ; preds = %284, %198
  %200 = load i64, ptr %27, align 8, !tbaa !9
  %201 = load i64, ptr %14, align 8, !tbaa !9
  %202 = sub nsw i64 %201, 1
  %203 = icmp sle i64 %200, %202
  br i1 %203, label %204, label %287

204:                                              ; preds = %199
  %205 = load i64, ptr %26, align 8, !tbaa !9
  %206 = load i64, ptr %27, align 8, !tbaa !9
  %207 = load i64, ptr %12, align 8, !tbaa !9
  %208 = mul nsw i64 %206, %207
  %209 = add nsw i64 %205, %208
  store i64 %209, ptr %28, align 8, !tbaa !9
  %210 = load i64, ptr %21, align 8, !tbaa !9
  %211 = load i64, ptr %28, align 8, !tbaa !9
  %212 = mul nsw i64 %210, %211
  store i64 %212, ptr %32, align 8, !tbaa !9
  %213 = load i8, ptr %16, align 1, !tbaa !11, !range !33, !noundef !34
  %214 = trunc i8 %213 to i1
  br i1 %214, label %215, label %241

215:                                              ; preds = %204
  %216 = load ptr, ptr %15, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %216, i32 0, i32 4
  %218 = load ptr, ptr %217, align 8, !tbaa !16
  %219 = load i64, ptr %28, align 8, !tbaa !9
  %220 = getelementptr inbounds i8, ptr %218, i64 %219
  %221 = load i8, ptr %220, align 1, !tbaa !11, !range !33, !noundef !34
  %222 = trunc i8 %221 to i1
  br i1 %222, label %241, label %223

223:                                              ; preds = %215
  store i64 0, ptr %29, align 8, !tbaa !9
  br label %224

224:                                              ; preds = %237, %223
  %225 = load i64, ptr %29, align 8, !tbaa !9
  %226 = load i64, ptr %21, align 8, !tbaa !9
  %227 = sub nsw i64 %226, 1
  %228 = icmp sle i64 %225, %227
  br i1 %228, label %229, label %240

229:                                              ; preds = %224
  %230 = load ptr, ptr %17, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %230, i32 0, i32 4
  %232 = load ptr, ptr %231, align 8, !tbaa !16
  %233 = load i64, ptr %29, align 8, !tbaa !9
  %234 = load i64, ptr %32, align 8, !tbaa !9
  %235 = add nsw i64 %233, %234
  %236 = getelementptr inbounds double, ptr %232, i64 %235
  store double 0.000000e+00, ptr %236, align 8, !tbaa !17
  br label %237

237:                                              ; preds = %229
  %238 = load i64, ptr %29, align 8, !tbaa !9
  %239 = add nsw i64 %238, 1
  store i64 %239, ptr %29, align 8, !tbaa !9
  br label %224, !llvm.loop !35

240:                                              ; preds = %224
  br label %284

241:                                              ; preds = %215, %204
  %242 = load ptr, ptr %11, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %242, i32 0, i32 4
  %244 = load ptr, ptr %243, align 8, !tbaa !16
  %245 = load i64, ptr %26, align 8, !tbaa !9
  %246 = getelementptr inbounds double, ptr %244, i64 %245
  %247 = load double, ptr %246, align 8, !tbaa !17
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %249 = load ptr, ptr %248, align 8, !tbaa !16
  %250 = getelementptr inbounds double, ptr %249, i64 0
  store double %247, ptr %250, align 8, !tbaa !17
  %251 = load ptr, ptr %13, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %251, i32 0, i32 4
  %253 = load ptr, ptr %252, align 8, !tbaa !16
  %254 = load i64, ptr %27, align 8, !tbaa !9
  %255 = getelementptr inbounds double, ptr %253, i64 %254
  %256 = load double, ptr %255, align 8, !tbaa !17
  %257 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !16
  %259 = getelementptr inbounds double, ptr %258, i64 1
  store double %256, ptr %259, align 8, !tbaa !17
  %260 = load ptr, ptr %10, align 8, !tbaa !5
  %261 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl12rbftscalcbufEPNS_8rbfmodelEPNS_13rbfcalcbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef %260, ptr noundef %33, ptr noundef %30, ptr noundef %31, ptr noundef %261)
  store i64 0, ptr %29, align 8, !tbaa !9
  br label %262

262:                                              ; preds = %280, %241
  %263 = load i64, ptr %29, align 8, !tbaa !9
  %264 = load i64, ptr %21, align 8, !tbaa !9
  %265 = sub nsw i64 %264, 1
  %266 = icmp sle i64 %263, %265
  br i1 %266, label %267, label %283

267:                                              ; preds = %262
  %268 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %31, i32 0, i32 4
  %269 = load ptr, ptr %268, align 8, !tbaa !16
  %270 = load i64, ptr %29, align 8, !tbaa !9
  %271 = getelementptr inbounds double, ptr %269, i64 %270
  %272 = load double, ptr %271, align 8, !tbaa !17
  %273 = load ptr, ptr %17, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %273, i32 0, i32 4
  %275 = load ptr, ptr %274, align 8, !tbaa !16
  %276 = load i64, ptr %29, align 8, !tbaa !9
  %277 = load i64, ptr %32, align 8, !tbaa !9
  %278 = add nsw i64 %276, %277
  %279 = getelementptr inbounds double, ptr %275, i64 %278
  store double %272, ptr %279, align 8, !tbaa !17
  br label %280

280:                                              ; preds = %267
  %281 = load i64, ptr %29, align 8, !tbaa !9
  %282 = add nsw i64 %281, 1
  store i64 %282, ptr %29, align 8, !tbaa !9
  br label %262, !llvm.loop !36

283:                                              ; preds = %262
  br label %284

284:                                              ; preds = %283, %240
  %285 = load i64, ptr %27, align 8, !tbaa !9
  %286 = add nsw i64 %285, 1
  store i64 %286, ptr %27, align 8, !tbaa !9
  br label %199, !llvm.loop !37

287:                                              ; preds = %199
  br label %288

288:                                              ; preds = %287
  %289 = load i64, ptr %26, align 8, !tbaa !9
  %290 = add nsw i64 %289, 1
  store i64 %290, ptr %26, align 8, !tbaa !9
  br label %193, !llvm.loop !38

291:                                              ; preds = %193
  %292 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %292)
  store i32 1, ptr %34, align 4
  br label %296

293:                                              ; preds = %183
  %294 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.858, ptr noundef %294)
  %295 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %295)
  store i32 0, ptr %34, align 4
  br label %296

296:                                              ; preds = %293, %291, %162, %155
  call void @llvm.lifetime.end.p0(i64 1104, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #4
  %297 = load i32, ptr %34, align 4
  switch i32 %297, label %299 [
    i32 0, label %298
    i32 1, label %298
  ]

298:                                              ; preds = %296, %296
  ret void

299:                                              ; preds = %296
  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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !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 = !{!23, !10, i64 0}
!23 = !{!"_ZTSN11alglib_impl8rbfmodelE", !10, i64 0, !10, i64 8, !10, i64 16, !24, i64 24, !28, 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, !26, i64 2584, !26, i64 2664, !12, i64 2744, !14, i64 2752, !10, i64 2816, !12, i64 2824}
!24 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !25, i64 32, !26, i64 1032, !26, i64 1112, !18, i64 1192, !26, i64 1200, !14, i64 1280, !26, i64 1344, !14, i64 1424}
!25 = !{!"_ZTSN11alglib_impl6kdtreeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !26, i64 32, !14, i64 112, !14, i64 176, !14, i64 240, !14, i64 304, !14, i64 368, !27, i64 432, !10, i64 992}
!26 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !15, i64 40, !7, i64 72}
!27 = !{!"_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}
!28 = !{!"_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, !26, i64 544, !18, i64 624, !10, i64 632, !18, i64 640, !10, i64 648, !29, i64 656}
!29 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !14, i64 0, !14, i64 64, !14, i64 128, !18, i64 192, !14, i64 200, !14, i64 264}
!30 = !{!23, !10, i64 8}
!31 = distinct !{!31, !20}
!32 = !{!23, !10, i64 16}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = distinct !{!35, !20}
!36 = distinct !{!36, !20}
!37 = distinct !{!37, !20}
!38 = distinct !{!38, !20}


; 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::hqrndstate" = type { i64, i64, i64 }
%"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::rbfcalcbuffer" = type { i64, %"struct.alglib_impl::rbfv1calcbuffer", %"struct.alglib_impl::rbfv2calcbuffer" }
%"struct.alglib_impl::rbfv1calcbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::kdtreerequestbuffer" }
%"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::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::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.850 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.851 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.852 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.853 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.854 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.855 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.856 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.857 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.858 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14rbfgridcalc2vxEPNS_8rbfmodelEPNS_9ae_vectorElS3_lS3_bS3_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i1 noundef zeroext %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #3 {
  %10 = alloca %"struct.alglib_impl::ae_frame", align 8
  %11 = alloca %"struct.alglib_impl::hqrndstate", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", 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 %"struct.alglib_impl::rbfcalcbuffer", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 1104, ptr nonnull %16) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %8, ptr noundef nonnull %10)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  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(1104) %16, i8 0, i64 1104, i1 false)
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef nonnull %11, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19_rbfcalcbuffer_initEPvPNS_8ae_stateEb(ptr noundef nonnull %16, ptr noundef %8, i1 noundef zeroext true)
  %17 = icmp sgt i64 %2, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %17, ptr noundef nonnull @.str.850, ptr noundef %8)
  %18 = icmp sgt i64 %4, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %18, ptr noundef nonnull @.str.851, ptr noundef %8)
  %19 = load i64, ptr %1, align 8, !tbaa !5
  %20 = icmp sge i64 %19, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %20, ptr noundef nonnull @.str.852, ptr noundef %8)
  %21 = load i64, ptr %3, align 8, !tbaa !5
  %22 = icmp sge i64 %21, %4
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef nonnull @.str.853, ptr noundef %8)
  %23 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %1, i64 noundef %2, ptr noundef %8)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %23, ptr noundef nonnull @.str.854, ptr noundef %8)
  %24 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %4, ptr noundef %8)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %24, ptr noundef nonnull @.str.855, ptr noundef %8)
  %.not124 = icmp slt i64 %2, 2
  br i1 %.not124, label %.preheader123, label %.lr.ph

.lr.ph:                                           ; preds = %9
  %25 = getelementptr inbounds i8, ptr %1, i64 56
  %26 = add nsw i64 %2, -2
  br label %29

.preheader123:                                    ; preds = %29, %9
  %.not114126 = icmp slt i64 %4, 2
  br i1 %.not114126, label %._crit_edge, label %.lr.ph128

.lr.ph128:                                        ; preds = %.preheader123
  %27 = getelementptr inbounds i8, ptr %3, i64 56
  %28 = add nsw i64 %4, -2
  br label %37

29:                                               ; preds = %.lr.ph, %29
  %.0125 = phi i64 [ 0, %.lr.ph ], [ %33, %29 ]
  %30 = load ptr, ptr %25, align 8, !tbaa !13
  %31 = getelementptr inbounds double, ptr %30, i64 %.0125
  %32 = load double, ptr %31, align 8, !tbaa !14
  %33 = add nuw nsw i64 %.0125, 1
  %34 = getelementptr inbounds double, ptr %30, i64 %33
  %35 = load double, ptr %34, align 8, !tbaa !14
  %36 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %32, double noundef %35)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %36, ptr noundef nonnull @.str.856, ptr noundef %8)
  %exitcond.not = icmp eq i64 %.0125, %26
  br i1 %exitcond.not, label %.preheader123, label %29, !llvm.loop !16

37:                                               ; preds = %.lr.ph128, %37
  %.1127 = phi i64 [ 0, %.lr.ph128 ], [ %41, %37 ]
  %38 = load ptr, ptr %27, align 8, !tbaa !13
  %39 = getelementptr inbounds double, ptr %38, i64 %.1127
  %40 = load double, ptr %39, align 8, !tbaa !14
  %41 = add nuw nsw i64 %.1127, 1
  %42 = getelementptr inbounds double, ptr %38, i64 %41
  %43 = load double, ptr %42, align 8, !tbaa !14
  %44 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %40, double noundef %43)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %44, ptr noundef nonnull @.str.857, ptr noundef %8)
  %exitcond174.not = icmp eq i64 %.1127, %28
  br i1 %exitcond174.not, label %._crit_edge, label %37, !llvm.loop !18

._crit_edge:                                      ; preds = %37, %.preheader123
  %45 = load i64, ptr %0, align 8, !tbaa !19
  %46 = getelementptr inbounds i8, ptr %0, i64 8
  %47 = load i64, ptr %46, align 8, !tbaa !27
  %.fr = freeze i64 %47
  call void @_ZN11alglib_impl9hqrndseedEllPNS_10hqrndstateEPNS_8ae_stateE(i64 noundef 325, i64 noundef 46345, ptr noundef nonnull %11, ptr noundef %8)
  %48 = mul i64 %4, %2
  %49 = mul i64 %48, %.fr
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %7, i64 noundef %49, ptr noundef %8)
  %.not115.not129 = icmp sgt i64 %49, 0
  br i1 %.not115.not129, label %.lr.ph132, label %._crit_edge133

.lr.ph132:                                        ; preds = %._crit_edge
  %50 = getelementptr inbounds i8, ptr %7, i64 56
  %xtraiter = and i64 %49, 3
  %51 = icmp ult i64 %49, 4
  br i1 %51, label %._crit_edge133.loopexit.unr-lcssa, label %.lr.ph132.new

.lr.ph132.new:                                    ; preds = %.lr.ph132
  %unroll_iter = and i64 %49, 9223372036854775804
  br label %52

52:                                               ; preds = %52, %.lr.ph132.new
  %.2130 = phi i64 [ 0, %.lr.ph132.new ], [ %64, %52 ]
  %niter = phi i64 [ 0, %.lr.ph132.new ], [ %niter.next.3, %52 ]
  %53 = load ptr, ptr %50, align 8, !tbaa !13
  %54 = getelementptr inbounds double, ptr %53, i64 %.2130
  store double 0.000000e+00, ptr %54, align 8, !tbaa !14
  %55 = or disjoint i64 %.2130, 1
  %56 = load ptr, ptr %50, align 8, !tbaa !13
  %57 = getelementptr inbounds double, ptr %56, i64 %55
  store double 0.000000e+00, ptr %57, align 8, !tbaa !14
  %58 = or disjoint i64 %.2130, 2
  %59 = load ptr, ptr %50, align 8, !tbaa !13
  %60 = getelementptr inbounds double, ptr %59, i64 %58
  store double 0.000000e+00, ptr %60, align 8, !tbaa !14
  %61 = or disjoint i64 %.2130, 3
  %62 = load ptr, ptr %50, align 8, !tbaa !13
  %63 = getelementptr inbounds double, ptr %62, i64 %61
  store double 0.000000e+00, ptr %63, align 8, !tbaa !14
  %64 = add nuw nsw i64 %.2130, 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_edge133.loopexit.unr-lcssa, label %52, !llvm.loop !28

._crit_edge133.loopexit.unr-lcssa:                ; preds = %52, %.lr.ph132
  %.2130.unr = phi i64 [ 0, %.lr.ph132 ], [ %64, %52 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge133, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge133.loopexit.unr-lcssa, %.epil.preheader
  %.2130.epil = phi i64 [ %67, %.epil.preheader ], [ %.2130.unr, %._crit_edge133.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge133.loopexit.unr-lcssa ]
  %65 = load ptr, ptr %50, align 8, !tbaa !13
  %66 = getelementptr inbounds double, ptr %65, i64 %.2130.epil
  store double 0.000000e+00, ptr %66, align 8, !tbaa !14
  %67 = add nuw nsw i64 %.2130.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_edge133, label %.epil.preheader, !llvm.loop !29

._crit_edge133:                                   ; preds = %._crit_edge133.loopexit.unr-lcssa, %.epil.preheader, %._crit_edge
  %68 = load i64, ptr %0, align 8, !tbaa !19
  %.not116 = icmp eq i64 %68, 2
  br i1 %.not116, label %69, label %._crit_edge156

69:                                               ; preds = %._crit_edge133
  %70 = getelementptr inbounds i8, ptr %0, i64 16
  %71 = load i64, ptr %70, align 8, !tbaa !31
  switch i64 %71, label %240 [
    i64 2, label %72
    i64 1, label %78
  ]

72:                                               ; preds = %69
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef 1, ptr noundef %8)
  %73 = getelementptr inbounds i8, ptr %12, i64 56
  %74 = load ptr, ptr %73, align 8, !tbaa !13
  store double 0.000000e+00, ptr %74, align 8, !tbaa !14
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef 1, ptr noundef %8)
  %75 = getelementptr inbounds i8, ptr %13, i64 56
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  store double 0.000000e+00, ptr %76, align 8, !tbaa !14
  %77 = getelementptr inbounds i8, ptr %0, i64 1512
  call void @_ZN11alglib_impl15rbfv2gridcalcvxEPNS_10rbfv2modelEPNS_9ae_vectorElS3_lS3_lS3_lS3_bS3_PNS_8ae_stateE(ptr noundef nonnull %77, ptr noundef nonnull %1, i64 noundef %2, ptr noundef nonnull %3, i64 noundef %4, ptr noundef nonnull %12, i64 noundef 1, ptr noundef nonnull %13, i64 noundef 1, ptr noundef %5, i1 noundef zeroext %6, ptr noundef %7, ptr noundef %8)
  br label %._crit_edge156

78:                                               ; preds = %69
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %45, ptr noundef %8)
  call void @_ZN11alglib_impl19rbfcreatecalcbufferEPNS_8rbfmodelEPNS_13rbfcalcbufferEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %16, ptr noundef %8)
  br i1 %17, label %.preheader122.lr.ph, label %._crit_edge156

.preheader122.lr.ph:                              ; preds = %78
  %79 = getelementptr inbounds i8, ptr %5, i64 56
  %.not119.not134 = icmp sgt i64 %.fr, 0
  %80 = getelementptr inbounds i8, ptr %7, i64 56
  %81 = getelementptr inbounds i8, ptr %1, i64 56
  %82 = getelementptr inbounds i8, ptr %14, i64 56
  %83 = getelementptr inbounds i8, ptr %3, i64 56
  %84 = getelementptr inbounds i8, ptr %15, i64 56
  br i1 %18, label %.preheader122.lr.ph.split.us, label %._crit_edge156

.preheader122.lr.ph.split.us:                     ; preds = %.preheader122.lr.ph
  br i1 %6, label %.preheader122.lr.ph.split.us.split.us, label %.preheader122.lr.ph.split.us.split

.preheader122.lr.ph.split.us.split.us:            ; preds = %.preheader122.lr.ph.split.us
  br i1 %.not119.not134, label %.preheader122.us.us.us.us.preheader, label %.preheader122.us.us

.preheader122.us.us.us.us.preheader:              ; preds = %.preheader122.lr.ph.split.us.split.us
  %xtraiter209 = and i64 %.fr, 3
  %85 = icmp ult i64 %.fr, 4
  %unroll_iter212 = and i64 %.fr, 9223372036854775804
  %lcmp.mod211.not = icmp eq i64 %xtraiter209, 0
  %xtraiter215 = and i64 %.fr, 3
  %86 = icmp ult i64 %.fr, 4
  %unroll_iter218 = and i64 %.fr, 9223372036854775804
  %lcmp.mod217.not = icmp eq i64 %xtraiter215, 0
  br label %.preheader122.us.us.us.us

.preheader122.us.us.us.us:                        ; preds = %.preheader122.us.us.us.us.preheader, %._crit_edge144.split.us.us.us.split.us.us.split.us.us
  %.3153.us.us.us.us = phi i64 [ %160, %._crit_edge144.split.us.us.us.split.us.us.split.us.us ], [ 0, %.preheader122.us.us.us.us.preheader ]
  br label %87

87:                                               ; preds = %..loopexit121_crit_edge.us.us.us.us.us.us.us, %.preheader122.us.us.us.us
  %.0112142.us.us.us.us.us.us.us = phi i64 [ 0, %.preheader122.us.us.us.us ], [ %131, %..loopexit121_crit_edge.us.us.us.us.us.us.us ]
  %88 = mul nuw nsw i64 %.0112142.us.us.us.us.us.us.us, %2
  %89 = add nuw nsw i64 %88, %.3153.us.us.us.us
  %90 = mul nuw nsw i64 %89, %.fr
  %91 = load ptr, ptr %79, align 8, !tbaa !13
  %92 = getelementptr inbounds i8, ptr %91, i64 %89
  %93 = load i8, ptr %92, align 1, !tbaa !32, !range !33, !noundef !34
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %.lr.ph140.us.us.us.us.us.us.us, label %.preheader.us.us.us.us.us.us.us.preheader

.preheader.us.us.us.us.us.us.us.preheader:        ; preds = %87
  br i1 %85, label %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit199.unr-lcssa, label %.preheader.us.us.us.us.us.us.us

.preheader.us.us.us.us.us.us.us:                  ; preds = %.preheader.us.us.us.us.us.us.us.preheader, %.preheader.us.us.us.us.us.us.us
  %.0110135.us.us.us.us.us.us.us = phi i64 [ %110, %.preheader.us.us.us.us.us.us.us ], [ 0, %.preheader.us.us.us.us.us.us.us.preheader ]
  %niter213 = phi i64 [ %niter213.next.3, %.preheader.us.us.us.us.us.us.us ], [ 0, %.preheader.us.us.us.us.us.us.us.preheader ]
  %95 = load ptr, ptr %80, align 8, !tbaa !13
  %96 = getelementptr double, ptr %95, i64 %.0110135.us.us.us.us.us.us.us
  %97 = getelementptr double, ptr %96, i64 %90
  store double 0.000000e+00, ptr %97, align 8, !tbaa !14
  %98 = or disjoint i64 %.0110135.us.us.us.us.us.us.us, 1
  %99 = load ptr, ptr %80, align 8, !tbaa !13
  %100 = getelementptr double, ptr %99, i64 %98
  %101 = getelementptr double, ptr %100, i64 %90
  store double 0.000000e+00, ptr %101, align 8, !tbaa !14
  %102 = or disjoint i64 %.0110135.us.us.us.us.us.us.us, 2
  %103 = load ptr, ptr %80, align 8, !tbaa !13
  %104 = getelementptr double, ptr %103, i64 %102
  %105 = getelementptr double, ptr %104, i64 %90
  store double 0.000000e+00, ptr %105, align 8, !tbaa !14
  %106 = or disjoint i64 %.0110135.us.us.us.us.us.us.us, 3
  %107 = load ptr, ptr %80, align 8, !tbaa !13
  %108 = getelementptr double, ptr %107, i64 %106
  %109 = getelementptr double, ptr %108, i64 %90
  store double 0.000000e+00, ptr %109, align 8, !tbaa !14
  %110 = add nuw nsw i64 %.0110135.us.us.us.us.us.us.us, 4
  %niter213.next.3 = add i64 %niter213, 4
  %niter213.ncmp.3 = icmp eq i64 %niter213.next.3, %unroll_iter212
  br i1 %niter213.ncmp.3, label %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit199.unr-lcssa, label %.preheader.us.us.us.us.us.us.us, !llvm.loop !35

.lr.ph140.us.us.us.us.us.us.us:                   ; preds = %87
  %111 = load ptr, ptr %81, align 8, !tbaa !13
  %112 = getelementptr inbounds double, ptr %111, i64 %.3153.us.us.us.us
  %113 = load double, ptr %112, align 8, !tbaa !14
  %114 = load ptr, ptr %82, align 8, !tbaa !13
  store double %113, ptr %114, align 8, !tbaa !14
  %115 = load ptr, ptr %83, align 8, !tbaa !13
  %116 = getelementptr inbounds double, ptr %115, i64 %.0112142.us.us.us.us.us.us.us
  %117 = load double, ptr %116, align 8, !tbaa !14
  %118 = load ptr, ptr %82, align 8, !tbaa !13
  %119 = getelementptr inbounds i8, ptr %118, i64 8
  store double %117, ptr %119, align 8, !tbaa !14
  call void @_ZN11alglib_impl12rbftscalcbufEPNS_8rbfmodelEPNS_13rbfcalcbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %16, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %8)
  br i1 %86, label %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit.unr-lcssa, label %.lr.ph140.us.us.us.us.us.us.us.new

..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit.unr-lcssa: ; preds = %.lr.ph140.us.us.us.us.us.us.us.new, %.lr.ph140.us.us.us.us.us.us.us
  %.1111138.us.us.us.us.us.us.us.unr = phi i64 [ 0, %.lr.ph140.us.us.us.us.us.us.us ], [ %159, %.lr.ph140.us.us.us.us.us.us.us.new ]
  br i1 %lcmp.mod217.not, label %..loopexit121_crit_edge.us.us.us.us.us.us.us, label %.epil.preheader214

.epil.preheader214:                               ; preds = %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit.unr-lcssa, %.epil.preheader214
  %.1111138.us.us.us.us.us.us.us.epil = phi i64 [ %126, %.epil.preheader214 ], [ %.1111138.us.us.us.us.us.us.us.unr, %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit.unr-lcssa ]
  %epil.iter216 = phi i64 [ %epil.iter216.next, %.epil.preheader214 ], [ 0, %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit.unr-lcssa ]
  %120 = load ptr, ptr %84, align 8, !tbaa !13
  %121 = getelementptr inbounds double, ptr %120, i64 %.1111138.us.us.us.us.us.us.us.epil
  %122 = load double, ptr %121, align 8, !tbaa !14
  %123 = load ptr, ptr %80, align 8, !tbaa !13
  %124 = getelementptr double, ptr %123, i64 %.1111138.us.us.us.us.us.us.us.epil
  %125 = getelementptr double, ptr %124, i64 %90
  store double %122, ptr %125, align 8, !tbaa !14
  %126 = add nuw nsw i64 %.1111138.us.us.us.us.us.us.us.epil, 1
  %epil.iter216.next = add i64 %epil.iter216, 1
  %epil.iter216.cmp.not = icmp eq i64 %epil.iter216.next, %xtraiter215
  br i1 %epil.iter216.cmp.not, label %..loopexit121_crit_edge.us.us.us.us.us.us.us, label %.epil.preheader214, !llvm.loop !36

..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit199.unr-lcssa: ; preds = %.preheader.us.us.us.us.us.us.us, %.preheader.us.us.us.us.us.us.us.preheader
  %.0110135.us.us.us.us.us.us.us.unr = phi i64 [ 0, %.preheader.us.us.us.us.us.us.us.preheader ], [ %110, %.preheader.us.us.us.us.us.us.us ]
  br i1 %lcmp.mod211.not, label %..loopexit121_crit_edge.us.us.us.us.us.us.us, label %.preheader.us.us.us.us.us.us.us.epil

.preheader.us.us.us.us.us.us.us.epil:             ; preds = %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit199.unr-lcssa, %.preheader.us.us.us.us.us.us.us.epil
  %.0110135.us.us.us.us.us.us.us.epil = phi i64 [ %130, %.preheader.us.us.us.us.us.us.us.epil ], [ %.0110135.us.us.us.us.us.us.us.unr, %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit199.unr-lcssa ]
  %epil.iter210 = phi i64 [ %epil.iter210.next, %.preheader.us.us.us.us.us.us.us.epil ], [ 0, %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit199.unr-lcssa ]
  %127 = load ptr, ptr %80, align 8, !tbaa !13
  %128 = getelementptr double, ptr %127, i64 %.0110135.us.us.us.us.us.us.us.epil
  %129 = getelementptr double, ptr %128, i64 %90
  store double 0.000000e+00, ptr %129, align 8, !tbaa !14
  %130 = add nuw nsw i64 %.0110135.us.us.us.us.us.us.us.epil, 1
  %epil.iter210.next = add i64 %epil.iter210, 1
  %epil.iter210.cmp.not = icmp eq i64 %epil.iter210.next, %xtraiter209
  br i1 %epil.iter210.cmp.not, label %..loopexit121_crit_edge.us.us.us.us.us.us.us, label %.preheader.us.us.us.us.us.us.us.epil, !llvm.loop !37

..loopexit121_crit_edge.us.us.us.us.us.us.us:     ; preds = %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit199.unr-lcssa, %.preheader.us.us.us.us.us.us.us.epil, %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit.unr-lcssa, %.epil.preheader214
  %131 = add nuw nsw i64 %.0112142.us.us.us.us.us.us.us, 1
  %exitcond189.not = icmp eq i64 %131, %4
  br i1 %exitcond189.not, label %._crit_edge144.split.us.us.us.split.us.us.split.us.us, label %87, !llvm.loop !38

.lr.ph140.us.us.us.us.us.us.us.new:               ; preds = %.lr.ph140.us.us.us.us.us.us.us, %.lr.ph140.us.us.us.us.us.us.us.new
  %.1111138.us.us.us.us.us.us.us = phi i64 [ %159, %.lr.ph140.us.us.us.us.us.us.us.new ], [ 0, %.lr.ph140.us.us.us.us.us.us.us ]
  %niter219 = phi i64 [ %niter219.next.3, %.lr.ph140.us.us.us.us.us.us.us.new ], [ 0, %.lr.ph140.us.us.us.us.us.us.us ]
  %132 = load ptr, ptr %84, align 8, !tbaa !13
  %133 = getelementptr inbounds double, ptr %132, i64 %.1111138.us.us.us.us.us.us.us
  %134 = load double, ptr %133, align 8, !tbaa !14
  %135 = load ptr, ptr %80, align 8, !tbaa !13
  %136 = getelementptr double, ptr %135, i64 %.1111138.us.us.us.us.us.us.us
  %137 = getelementptr double, ptr %136, i64 %90
  store double %134, ptr %137, align 8, !tbaa !14
  %138 = or disjoint i64 %.1111138.us.us.us.us.us.us.us, 1
  %139 = load ptr, ptr %84, align 8, !tbaa !13
  %140 = getelementptr inbounds double, ptr %139, i64 %138
  %141 = load double, ptr %140, align 8, !tbaa !14
  %142 = load ptr, ptr %80, align 8, !tbaa !13
  %143 = getelementptr double, ptr %142, i64 %138
  %144 = getelementptr double, ptr %143, i64 %90
  store double %141, ptr %144, align 8, !tbaa !14
  %145 = or disjoint i64 %.1111138.us.us.us.us.us.us.us, 2
  %146 = load ptr, ptr %84, align 8, !tbaa !13
  %147 = getelementptr inbounds double, ptr %146, i64 %145
  %148 = load double, ptr %147, align 8, !tbaa !14
  %149 = load ptr, ptr %80, align 8, !tbaa !13
  %150 = getelementptr double, ptr %149, i64 %145
  %151 = getelementptr double, ptr %150, i64 %90
  store double %148, ptr %151, align 8, !tbaa !14
  %152 = or disjoint i64 %.1111138.us.us.us.us.us.us.us, 3
  %153 = load ptr, ptr %84, align 8, !tbaa !13
  %154 = getelementptr inbounds double, ptr %153, i64 %152
  %155 = load double, ptr %154, align 8, !tbaa !14
  %156 = load ptr, ptr %80, align 8, !tbaa !13
  %157 = getelementptr double, ptr %156, i64 %152
  %158 = getelementptr double, ptr %157, i64 %90
  store double %155, ptr %158, align 8, !tbaa !14
  %159 = add nuw nsw i64 %.1111138.us.us.us.us.us.us.us, 4
  %niter219.next.3 = add i64 %niter219, 4
  %niter219.ncmp.3 = icmp eq i64 %niter219.next.3, %unroll_iter218
  br i1 %niter219.ncmp.3, label %..loopexit121_crit_edge.us.us.us.us.us.us.us.loopexit.unr-lcssa, label %.lr.ph140.us.us.us.us.us.us.us.new, !llvm.loop !39

._crit_edge144.split.us.us.us.split.us.us.split.us.us: ; preds = %..loopexit121_crit_edge.us.us.us.us.us.us.us
  %160 = add nuw nsw i64 %.3153.us.us.us.us, 1
  %exitcond190.not = icmp eq i64 %160, %2
  br i1 %exitcond190.not, label %._crit_edge156, label %.preheader122.us.us.us.us, !llvm.loop !40

.preheader122.us.us:                              ; preds = %.preheader122.lr.ph.split.us.split.us, %._crit_edge144.split.us.us.us.split
  %.3153.us.us = phi i64 [ %178, %._crit_edge144.split.us.us.us.split ], [ 0, %.preheader122.lr.ph.split.us.split.us ]
  br label %161

161:                                              ; preds = %.loopexit121.us.us.us, %.preheader122.us.us
  %.0112142.us.us.us = phi i64 [ 0, %.preheader122.us.us ], [ %177, %.loopexit121.us.us.us ]
  %162 = mul nuw nsw i64 %.0112142.us.us.us, %2
  %163 = load ptr, ptr %79, align 8, !tbaa !13
  %164 = getelementptr inbounds i8, ptr %163, i64 %162
  %165 = getelementptr inbounds i8, ptr %164, i64 %.3153.us.us
  %166 = load i8, ptr %165, align 1, !tbaa !32, !range !33, !noundef !34
  %167 = trunc nuw i8 %166 to i1
  br i1 %167, label %.loopexit.us.us.us, label %.loopexit121.us.us.us

.loopexit.us.us.us:                               ; preds = %161
  %168 = load ptr, ptr %81, align 8, !tbaa !13
  %169 = getelementptr inbounds double, ptr %168, i64 %.3153.us.us
  %170 = load double, ptr %169, align 8, !tbaa !14
  %171 = load ptr, ptr %82, align 8, !tbaa !13
  store double %170, ptr %171, align 8, !tbaa !14
  %172 = load ptr, ptr %83, align 8, !tbaa !13
  %173 = getelementptr inbounds double, ptr %172, i64 %.0112142.us.us.us
  %174 = load double, ptr %173, align 8, !tbaa !14
  %175 = load ptr, ptr %82, align 8, !tbaa !13
  %176 = getelementptr inbounds i8, ptr %175, i64 8
  store double %174, ptr %176, align 8, !tbaa !14
  call void @_ZN11alglib_impl12rbftscalcbufEPNS_8rbfmodelEPNS_13rbfcalcbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %16, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %8)
  br label %.loopexit121.us.us.us

.loopexit121.us.us.us:                            ; preds = %161, %.loopexit.us.us.us
  %177 = add nuw nsw i64 %.0112142.us.us.us, 1
  %exitcond182.not = icmp eq i64 %177, %4
  br i1 %exitcond182.not, label %._crit_edge144.split.us.us.us.split, label %161, !llvm.loop !38

._crit_edge144.split.us.us.us.split:              ; preds = %.loopexit121.us.us.us
  %178 = add nuw nsw i64 %.3153.us.us, 1
  %exitcond183.not = icmp eq i64 %178, %2
  br i1 %exitcond183.not, label %._crit_edge156, label %.preheader122.us.us, !llvm.loop !40

.preheader122.lr.ph.split.us.split:               ; preds = %.preheader122.lr.ph.split.us
  br i1 %.not119.not134, label %.preheader122.us.us164.preheader, label %.preheader122.us

.preheader122.us.us164.preheader:                 ; preds = %.preheader122.lr.ph.split.us.split
  %xtraiter204 = and i64 %.fr, 3
  %179 = icmp ult i64 %.fr, 4
  %unroll_iter207 = and i64 %.fr, 9223372036854775804
  %lcmp.mod206.not = icmp eq i64 %xtraiter204, 0
  br label %.preheader122.us.us164

.preheader122.us.us164:                           ; preds = %.preheader122.us.us164.preheader, %._crit_edge144.split.split.us.us.us
  %.3153.us.us165 = phi i64 [ %228, %._crit_edge144.split.split.us.us.us ], [ 0, %.preheader122.us.us164.preheader ]
  br label %.lr.ph140.us150.us.us

.lr.ph140.us150.us.us:                            ; preds = %..loopexit_crit_edge.us151.us.us, %.preheader122.us.us164
  %.0112142.us145.us.us = phi i64 [ 0, %.preheader122.us.us164 ], [ %227, %..loopexit_crit_edge.us151.us.us ]
  %180 = mul nuw nsw i64 %.0112142.us145.us.us, %2
  %181 = add nuw nsw i64 %180, %.3153.us.us165
  %182 = mul nuw nsw i64 %181, %.fr
  %183 = load ptr, ptr %81, align 8, !tbaa !13
  %184 = getelementptr inbounds double, ptr %183, i64 %.3153.us.us165
  %185 = load double, ptr %184, align 8, !tbaa !14
  %186 = load ptr, ptr %82, align 8, !tbaa !13
  store double %185, ptr %186, align 8, !tbaa !14
  %187 = load ptr, ptr %83, align 8, !tbaa !13
  %188 = getelementptr inbounds double, ptr %187, i64 %.0112142.us145.us.us
  %189 = load double, ptr %188, align 8, !tbaa !14
  %190 = load ptr, ptr %82, align 8, !tbaa !13
  %191 = getelementptr inbounds i8, ptr %190, i64 8
  store double %189, ptr %191, align 8, !tbaa !14
  call void @_ZN11alglib_impl12rbftscalcbufEPNS_8rbfmodelEPNS_13rbfcalcbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %16, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %8)
  br i1 %179, label %..loopexit_crit_edge.us151.us.us.unr-lcssa, label %.lr.ph140.us150.us.us.new

.lr.ph140.us150.us.us.new:                        ; preds = %.lr.ph140.us150.us.us, %.lr.ph140.us150.us.us.new
  %.1111138.us146.us.us = phi i64 [ %219, %.lr.ph140.us150.us.us.new ], [ 0, %.lr.ph140.us150.us.us ]
  %niter208 = phi i64 [ %niter208.next.3, %.lr.ph140.us150.us.us.new ], [ 0, %.lr.ph140.us150.us.us ]
  %192 = load ptr, ptr %84, align 8, !tbaa !13
  %193 = getelementptr inbounds double, ptr %192, i64 %.1111138.us146.us.us
  %194 = load double, ptr %193, align 8, !tbaa !14
  %195 = load ptr, ptr %80, align 8, !tbaa !13
  %196 = getelementptr double, ptr %195, i64 %.1111138.us146.us.us
  %197 = getelementptr double, ptr %196, i64 %182
  store double %194, ptr %197, align 8, !tbaa !14
  %198 = or disjoint i64 %.1111138.us146.us.us, 1
  %199 = load ptr, ptr %84, align 8, !tbaa !13
  %200 = getelementptr inbounds double, ptr %199, i64 %198
  %201 = load double, ptr %200, align 8, !tbaa !14
  %202 = load ptr, ptr %80, align 8, !tbaa !13
  %203 = getelementptr double, ptr %202, i64 %198
  %204 = getelementptr double, ptr %203, i64 %182
  store double %201, ptr %204, align 8, !tbaa !14
  %205 = or disjoint i64 %.1111138.us146.us.us, 2
  %206 = load ptr, ptr %84, align 8, !tbaa !13
  %207 = getelementptr inbounds double, ptr %206, i64 %205
  %208 = load double, ptr %207, align 8, !tbaa !14
  %209 = load ptr, ptr %80, align 8, !tbaa !13
  %210 = getelementptr double, ptr %209, i64 %205
  %211 = getelementptr double, ptr %210, i64 %182
  store double %208, ptr %211, align 8, !tbaa !14
  %212 = or disjoint i64 %.1111138.us146.us.us, 3
  %213 = load ptr, ptr %84, align 8, !tbaa !13
  %214 = getelementptr inbounds double, ptr %213, i64 %212
  %215 = load double, ptr %214, align 8, !tbaa !14
  %216 = load ptr, ptr %80, align 8, !tbaa !13
  %217 = getelementptr double, ptr %216, i64 %212
  %218 = getelementptr double, ptr %217, i64 %182
  store double %215, ptr %218, align 8, !tbaa !14
  %219 = add nuw nsw i64 %.1111138.us146.us.us, 4
  %niter208.next.3 = add i64 %niter208, 4
  %niter208.ncmp.3 = icmp eq i64 %niter208.next.3, %unroll_iter207
  br i1 %niter208.ncmp.3, label %..loopexit_crit_edge.us151.us.us.unr-lcssa, label %.lr.ph140.us150.us.us.new, !llvm.loop !39

..loopexit_crit_edge.us151.us.us.unr-lcssa:       ; preds = %.lr.ph140.us150.us.us.new, %.lr.ph140.us150.us.us
  %.1111138.us146.us.us.unr = phi i64 [ 0, %.lr.ph140.us150.us.us ], [ %219, %.lr.ph140.us150.us.us.new ]
  br i1 %lcmp.mod206.not, label %..loopexit_crit_edge.us151.us.us, label %.epil.preheader203

.epil.preheader203:                               ; preds = %..loopexit_crit_edge.us151.us.us.unr-lcssa, %.epil.preheader203
  %.1111138.us146.us.us.epil = phi i64 [ %226, %.epil.preheader203 ], [ %.1111138.us146.us.us.unr, %..loopexit_crit_edge.us151.us.us.unr-lcssa ]
  %epil.iter205 = phi i64 [ %epil.iter205.next, %.epil.preheader203 ], [ 0, %..loopexit_crit_edge.us151.us.us.unr-lcssa ]
  %220 = load ptr, ptr %84, align 8, !tbaa !13
  %221 = getelementptr inbounds double, ptr %220, i64 %.1111138.us146.us.us.epil
  %222 = load double, ptr %221, align 8, !tbaa !14
  %223 = load ptr, ptr %80, align 8, !tbaa !13
  %224 = getelementptr double, ptr %223, i64 %.1111138.us146.us.us.epil
  %225 = getelementptr double, ptr %224, i64 %182
  store double %222, ptr %225, align 8, !tbaa !14
  %226 = add nuw nsw i64 %.1111138.us146.us.us.epil, 1
  %epil.iter205.next = add i64 %epil.iter205, 1
  %epil.iter205.cmp.not = icmp eq i64 %epil.iter205.next, %xtraiter204
  br i1 %epil.iter205.cmp.not, label %..loopexit_crit_edge.us151.us.us, label %.epil.preheader203, !llvm.loop !41

..loopexit_crit_edge.us151.us.us:                 ; preds = %.epil.preheader203, %..loopexit_crit_edge.us151.us.us.unr-lcssa
  %227 = add nuw nsw i64 %.0112142.us145.us.us, 1
  %exitcond179.not = icmp eq i64 %227, %4
  br i1 %exitcond179.not, label %._crit_edge144.split.split.us.us.us, label %.lr.ph140.us150.us.us, !llvm.loop !38

._crit_edge144.split.split.us.us.us:              ; preds = %..loopexit_crit_edge.us151.us.us
  %228 = add nuw nsw i64 %.3153.us.us165, 1
  %exitcond180.not = icmp eq i64 %228, %2
  br i1 %exitcond180.not, label %._crit_edge156, label %.preheader122.us.us164, !llvm.loop !40

.preheader122.us:                                 ; preds = %.preheader122.lr.ph.split.us.split, %._crit_edge144.split.split.us160
  %.3153.us = phi i64 [ %239, %._crit_edge144.split.split.us160 ], [ 0, %.preheader122.lr.ph.split.us.split ]
  br label %.loopexit.us157

.loopexit.us157:                                  ; preds = %.preheader122.us, %.loopexit.us157
  %.0112142.us158 = phi i64 [ 0, %.preheader122.us ], [ %238, %.loopexit.us157 ]
  %229 = load ptr, ptr %81, align 8, !tbaa !13
  %230 = getelementptr inbounds double, ptr %229, i64 %.3153.us
  %231 = load double, ptr %230, align 8, !tbaa !14
  %232 = load ptr, ptr %82, align 8, !tbaa !13
  store double %231, ptr %232, align 8, !tbaa !14
  %233 = load ptr, ptr %83, align 8, !tbaa !13
  %234 = getelementptr inbounds double, ptr %233, i64 %.0112142.us158
  %235 = load double, ptr %234, align 8, !tbaa !14
  %236 = load ptr, ptr %82, align 8, !tbaa !13
  %237 = getelementptr inbounds i8, ptr %236, i64 8
  store double %235, ptr %237, align 8, !tbaa !14
  call void @_ZN11alglib_impl12rbftscalcbufEPNS_8rbfmodelEPNS_13rbfcalcbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %16, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %8)
  %238 = add nuw nsw i64 %.0112142.us158, 1
  %exitcond176.not = icmp eq i64 %238, %4
  br i1 %exitcond176.not, label %._crit_edge144.split.split.us160, label %.loopexit.us157, !llvm.loop !38

._crit_edge144.split.split.us160:                 ; preds = %.loopexit.us157
  %239 = add nuw nsw i64 %.3153.us, 1
  %exitcond177.not = icmp eq i64 %239, %2
  br i1 %exitcond177.not, label %._crit_edge156, label %.preheader122.us, !llvm.loop !40

240:                                              ; preds = %69
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.858, ptr noundef %8)
  br label %._crit_edge156

._crit_edge156:                                   ; preds = %._crit_edge144.split.split.us160, %._crit_edge144.split.split.us.us.us, %._crit_edge144.split.us.us.us.split, %._crit_edge144.split.us.us.us.split.us.us.split.us.us, %78, %.preheader122.lr.ph, %._crit_edge133, %240, %72
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %8)
  call void @llvm.lifetime.end.p0(i64 1104, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #4
  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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!20, !7, i64 0}
!20 = !{!"_ZTSN11alglib_impl8rbfmodelE", !7, i64 0, !7, i64 8, !7, i64 16, !21, i64 24, !25, 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, !23, i64 2584, !23, i64 2664, !10, i64 2744, !6, i64 2752, !7, i64 2816, !10, i64 2824}
!21 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !22, i64 32, !23, i64 1032, !23, i64 1112, !15, i64 1192, !23, i64 1200, !6, i64 1280, !23, i64 1344, !6, i64 1424}
!22 = !{!"_ZTSN11alglib_impl6kdtreeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !23, i64 32, !6, i64 112, !6, i64 176, !6, i64 240, !6, i64 304, !6, i64 368, !24, i64 432, !7, i64 992}
!23 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!24 = !{!"_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}
!25 = !{!"_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, !23, i64 544, !15, i64 624, !7, i64 632, !15, i64 640, !7, i64 648, !26, i64 656}
!26 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !15, i64 192, !6, i64 200, !6, i64 264}
!27 = !{!20, !7, i64 8}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.unroll.disable"}
!31 = !{!20, !7, i64 16}
!32 = !{!10, !10, i64 0}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = distinct !{!35, !17}
!36 = distinct !{!36, !30}
!37 = distinct !{!37, !30}
!38 = distinct !{!38, !17}
!39 = distinct !{!39, !17}
!40 = distinct !{!40, !17}
!41 = distinct !{!41, !30}


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