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

@.str.189 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [70 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22spline1dgriddiff2cubicEPNS_9ae_vectorES1_lldldS1_S1_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, i64 noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #3 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca double, align 8
  %16 = alloca i64, align 8
  %17 = alloca double, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.alglib_impl::ae_frame", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca %"struct.alglib_impl::ae_vector", align 8
  %26 = alloca %"struct.alglib_impl::ae_vector", align 8
  %27 = alloca %"struct.alglib_impl::ae_vector", align 8
  %28 = alloca %"struct.alglib_impl::ae_vector", align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store i64 %2, ptr %13, align 8, !tbaa !9
  store i64 %3, ptr %14, align 8, !tbaa !9
  store double %4, ptr %15, align 8, !tbaa !11
  store i64 %5, ptr %16, align 8, !tbaa !9
  store double %6, ptr %17, align 8, !tbaa !11
  store ptr %7, ptr %18, align 8, !tbaa !5
  store ptr %8, ptr %19, align 8, !tbaa !5
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, 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
  %37 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %37, ptr noundef %21)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 64, 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 %26, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 64, i1 false)
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %22, ptr noundef %38, ptr noundef %39, i1 noundef zeroext true)
  store ptr %22, ptr %11, align 8, !tbaa !5
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %23, ptr noundef %40, ptr noundef %41, i1 noundef zeroext true)
  store ptr %23, ptr %12, align 8, !tbaa !5
  %42 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %42)
  %43 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %43)
  %44 = load ptr, ptr %20, 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 %44, i1 noundef zeroext true)
  %45 = load ptr, ptr %20, 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 %45, i1 noundef zeroext true)
  %46 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %26, i64 noundef 0, i64 noundef 3, ptr noundef %46, i1 noundef zeroext true)
  %47 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %27, i64 noundef 0, i64 noundef 3, ptr noundef %47, i1 noundef zeroext true)
  %48 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %28, i64 noundef 0, i64 noundef 3, ptr noundef %48, i1 noundef zeroext true)
  %49 = load ptr, ptr %20, 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 %49, i1 noundef zeroext true)
  %50 = load i64, ptr %14, align 8, !tbaa !9
  %51 = icmp eq i64 %50, -1
  br i1 %51, label %61, label %52

52:                                               ; preds = %10
  %53 = load i64, ptr %14, align 8, !tbaa !9
  %54 = icmp eq i64 %53, 0
  br i1 %54, label %61, label %55

55:                                               ; preds = %52
  %56 = load i64, ptr %14, align 8, !tbaa !9
  %57 = icmp eq i64 %56, 1
  br i1 %57, label %61, label %58

58:                                               ; preds = %55
  %59 = load i64, ptr %14, align 8, !tbaa !9
  %60 = icmp eq i64 %59, 2
  br label %61

61:                                               ; preds = %58, %55, %52, %10
  %62 = phi i1 [ true, %55 ], [ true, %52 ], [ true, %10 ], [ %60, %58 ]
  %63 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %62, ptr noundef @.str.189, ptr noundef %63)
  %64 = load i64, ptr %16, align 8, !tbaa !9
  %65 = icmp eq i64 %64, -1
  br i1 %65, label %75, label %66

66:                                               ; preds = %61
  %67 = load i64, ptr %16, align 8, !tbaa !9
  %68 = icmp eq i64 %67, 0
  br i1 %68, label %75, label %69

69:                                               ; preds = %66
  %70 = load i64, ptr %16, align 8, !tbaa !9
  %71 = icmp eq i64 %70, 1
  br i1 %71, label %75, label %72

72:                                               ; preds = %69
  %73 = load i64, ptr %16, align 8, !tbaa !9
  %74 = icmp eq i64 %73, 2
  br label %75

75:                                               ; preds = %72, %69, %66, %61
  %76 = phi i1 [ true, %69 ], [ true, %66 ], [ true, %61 ], [ %74, %72 ]
  %77 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %76, ptr noundef @.str.190, ptr noundef %77)
  %78 = load i64, ptr %16, align 8, !tbaa !9
  %79 = icmp eq i64 %78, -1
  br i1 %79, label %80, label %83

80:                                               ; preds = %75
  %81 = load i64, ptr %14, align 8, !tbaa !9
  %82 = icmp eq i64 %81, -1
  br i1 %82, label %91, label %83

83:                                               ; preds = %80, %75
  %84 = load i64, ptr %16, align 8, !tbaa !9
  %85 = icmp ne i64 %84, -1
  br i1 %85, label %86, label %89

86:                                               ; preds = %83
  %87 = load i64, ptr %14, align 8, !tbaa !9
  %88 = icmp ne i64 %87, -1
  br label %89

89:                                               ; preds = %86, %83
  %90 = phi i1 [ false, %83 ], [ %88, %86 ]
  br label %91

91:                                               ; preds = %89, %80
  %92 = phi i1 [ true, %80 ], [ %90, %89 ]
  %93 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %92, ptr noundef @.str.191, ptr noundef %93)
  %94 = load i64, ptr %14, align 8, !tbaa !9
  %95 = icmp eq i64 %94, 1
  br i1 %95, label %99, label %96

96:                                               ; preds = %91
  %97 = load i64, ptr %14, align 8, !tbaa !9
  %98 = icmp eq i64 %97, 2
  br i1 %98, label %99, label %104

99:                                               ; preds = %96, %91
  %100 = load double, ptr %15, align 8, !tbaa !11
  %101 = load ptr, ptr %20, align 8, !tbaa !5
  %102 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %100, ptr noundef %101)
  %103 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %102, ptr noundef @.str.192, ptr noundef %103)
  br label %104

104:                                              ; preds = %99, %96
  %105 = load i64, ptr %16, align 8, !tbaa !9
  %106 = icmp eq i64 %105, 1
  br i1 %106, label %110, label %107

107:                                              ; preds = %104
  %108 = load i64, ptr %16, align 8, !tbaa !9
  %109 = icmp eq i64 %108, 2
  br i1 %109, label %110, label %115

110:                                              ; preds = %107, %104
  %111 = load double, ptr %17, align 8, !tbaa !11
  %112 = load ptr, ptr %20, align 8, !tbaa !5
  %113 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %111, ptr noundef %112)
  %114 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %113, ptr noundef @.str.193, ptr noundef %114)
  br label %115

115:                                              ; preds = %110, %107
  %116 = load i64, ptr %13, align 8, !tbaa !9
  %117 = icmp sge i64 %116, 2
  %118 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %117, ptr noundef @.str.194, ptr noundef %118)
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %119, i32 0, i32 0
  %121 = load i64, ptr %120, align 8, !tbaa !13
  %122 = load i64, ptr %13, align 8, !tbaa !9
  %123 = icmp sge i64 %121, %122
  %124 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %123, ptr noundef @.str.195, ptr noundef %124)
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %125, i32 0, i32 0
  %127 = load i64, ptr %126, align 8, !tbaa !13
  %128 = load i64, ptr %13, align 8, !tbaa !9
  %129 = icmp sge i64 %127, %128
  %130 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %129, ptr noundef @.str.196, ptr noundef %130)
  %131 = load i64, ptr %13, align 8, !tbaa !9
  store i64 %131, ptr %31, align 8, !tbaa !9
  %132 = load i64, ptr %14, align 8, !tbaa !9
  %133 = icmp eq i64 %132, -1
  br i1 %133, label %134, label %137

134:                                              ; preds = %115
  %135 = load i64, ptr %13, align 8, !tbaa !9
  %136 = sub nsw i64 %135, 1
  store i64 %136, ptr %31, align 8, !tbaa !9
  br label %137

137:                                              ; preds = %134, %115
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load i64, ptr %13, align 8, !tbaa !9
  %140 = load ptr, ptr %20, align 8, !tbaa !5
  %141 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %138, i64 noundef %139, ptr noundef %140)
  %142 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %141, ptr noundef @.str.197, ptr noundef %142)
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  %144 = load i64, ptr %31, align 8, !tbaa !9
  %145 = load ptr, ptr %20, align 8, !tbaa !5
  %146 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %143, i64 noundef %144, ptr noundef %145)
  %147 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %146, ptr noundef @.str.198, ptr noundef %147)
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load i64, ptr %13, align 8, !tbaa !9
  %151 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_implL24spline1d_heapsortppointsEPNS_9ae_vectorES1_S1_lPNS_8ae_stateE(ptr noundef %148, ptr noundef %149, ptr noundef %29, i64 noundef %150, ptr noundef %151)
  %152 = load ptr, ptr %11, align 8, !tbaa !5
  %153 = load i64, ptr %13, align 8, !tbaa !9
  %154 = load ptr, ptr %20, align 8, !tbaa !5
  %155 = call noundef zeroext i1 @_ZN11alglib_impl11aredistinctEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %152, i64 noundef %153, ptr noundef %154)
  %156 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %155, ptr noundef @.str.199, ptr noundef %156)
  %157 = load ptr, ptr %11, align 8, !tbaa !5
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = load i64, ptr %13, align 8, !tbaa !9
  %160 = load i64, ptr %14, align 8, !tbaa !9
  %161 = load double, ptr %15, align 8, !tbaa !11
  %162 = load i64, ptr %16, align 8, !tbaa !9
  %163 = load double, ptr %17, align 8, !tbaa !11
  %164 = load ptr, ptr %18, align 8, !tbaa !5
  %165 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_implL38spline1d_spline1dgriddiffcubicinternalEPNS_9ae_vectorES1_lldldS1_S1_S1_S1_S1_S1_PNS_8ae_stateE(ptr noundef %157, ptr noundef %158, i64 noundef %159, i64 noundef %160, double noundef %161, i64 noundef %162, double noundef %163, ptr noundef %164, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %165)
  %166 = load ptr, ptr %19, align 8, !tbaa !5
  %167 = load i64, ptr %13, align 8, !tbaa !9
  %168 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %166, i64 noundef %167, ptr noundef %168)
  store double 0.000000e+00, ptr %32, align 8, !tbaa !11
  store double 0.000000e+00, ptr %35, align 8, !tbaa !11
  store double 0.000000e+00, ptr %36, align 8, !tbaa !11
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %169

169:                                              ; preds = %273, %137
  %170 = load i64, ptr %30, align 8, !tbaa !9
  %171 = load i64, ptr %13, align 8, !tbaa !9
  %172 = sub nsw i64 %171, 2
  %173 = icmp sle i64 %170, %172
  br i1 %173, label %174, label %276

174:                                              ; preds = %169
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %175, i32 0, i32 4
  %177 = load ptr, ptr %176, align 8, !tbaa !17
  %178 = load i64, ptr %30, align 8, !tbaa !9
  %179 = add nsw i64 %178, 1
  %180 = getelementptr inbounds double, ptr %177, i64 %179
  %181 = load double, ptr %180, align 8, !tbaa !11
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %182, i32 0, i32 4
  %184 = load ptr, ptr %183, align 8, !tbaa !17
  %185 = load i64, ptr %30, align 8, !tbaa !9
  %186 = getelementptr inbounds double, ptr %184, i64 %185
  %187 = load double, ptr %186, align 8, !tbaa !11
  %188 = fsub double %181, %187
  store double %188, ptr %32, align 8, !tbaa !11
  %189 = load double, ptr %32, align 8, !tbaa !11
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  %191 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %189, ptr noundef %190)
  store double %191, ptr %33, align 8, !tbaa !11
  %192 = load double, ptr %32, align 8, !tbaa !11
  %193 = load double, ptr %33, align 8, !tbaa !11
  %194 = fmul double %192, %193
  store double %194, ptr %34, align 8, !tbaa !11
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %195, i32 0, i32 4
  %197 = load ptr, ptr %196, align 8, !tbaa !17
  %198 = load i64, ptr %30, align 8, !tbaa !9
  %199 = add nsw i64 %198, 1
  %200 = getelementptr inbounds double, ptr %197, i64 %199
  %201 = load double, ptr %200, align 8, !tbaa !11
  %202 = load ptr, ptr %12, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %202, i32 0, i32 4
  %204 = load ptr, ptr %203, align 8, !tbaa !17
  %205 = load i64, ptr %30, align 8, !tbaa !9
  %206 = getelementptr inbounds double, ptr %204, i64 %205
  %207 = load double, ptr %206, align 8, !tbaa !11
  %208 = fsub double %201, %207
  %209 = load ptr, ptr %18, align 8, !tbaa !5
  %210 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %209, i32 0, i32 4
  %211 = load ptr, ptr %210, align 8, !tbaa !17
  %212 = load i64, ptr %30, align 8, !tbaa !9
  %213 = getelementptr inbounds double, ptr %211, i64 %212
  %214 = load double, ptr %213, align 8, !tbaa !11
  %215 = fmul double 2.000000e+00, %214
  %216 = load double, ptr %32, align 8, !tbaa !11
  %217 = fmul double %215, %216
  %218 = fneg double %217
  %219 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %208, double %218)
  %220 = load ptr, ptr %18, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %220, i32 0, i32 4
  %222 = load ptr, ptr %221, align 8, !tbaa !17
  %223 = load i64, ptr %30, align 8, !tbaa !9
  %224 = add nsw i64 %223, 1
  %225 = getelementptr inbounds double, ptr %222, i64 %224
  %226 = load double, ptr %225, align 8, !tbaa !11
  %227 = load double, ptr %32, align 8, !tbaa !11
  %228 = fneg double %226
  %229 = call double @llvm.fmuladd.f64(double %228, double %227, double %219)
  %230 = load double, ptr %33, align 8, !tbaa !11
  %231 = fdiv double %229, %230
  store double %231, ptr %35, align 8, !tbaa !11
  %232 = load ptr, ptr %12, align 8, !tbaa !5
  %233 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %232, i32 0, i32 4
  %234 = load ptr, ptr %233, align 8, !tbaa !17
  %235 = load i64, ptr %30, align 8, !tbaa !9
  %236 = getelementptr inbounds double, ptr %234, i64 %235
  %237 = load double, ptr %236, align 8, !tbaa !11
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %238, i32 0, i32 4
  %240 = load ptr, ptr %239, align 8, !tbaa !17
  %241 = load i64, ptr %30, align 8, !tbaa !9
  %242 = add nsw i64 %241, 1
  %243 = getelementptr inbounds double, ptr %240, i64 %242
  %244 = load double, ptr %243, align 8, !tbaa !11
  %245 = fsub double %237, %244
  %246 = load ptr, ptr %18, align 8, !tbaa !5
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %246, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !17
  %249 = load i64, ptr %30, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %248, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !11
  %252 = load double, ptr %32, align 8, !tbaa !11
  %253 = fmul double %251, %252
  %254 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %245, double %253)
  %255 = load ptr, ptr %18, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %255, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !17
  %258 = load i64, ptr %30, align 8, !tbaa !9
  %259 = add nsw i64 %258, 1
  %260 = getelementptr inbounds double, ptr %257, i64 %259
  %261 = load double, ptr %260, align 8, !tbaa !11
  %262 = load double, ptr %32, align 8, !tbaa !11
  %263 = call double @llvm.fmuladd.f64(double %261, double %262, double %254)
  %264 = load double, ptr %34, align 8, !tbaa !11
  %265 = fdiv double %263, %264
  store double %265, ptr %36, align 8, !tbaa !11
  %266 = load double, ptr %35, align 8, !tbaa !11
  %267 = fmul double 2.000000e+00, %266
  %268 = load ptr, ptr %19, align 8, !tbaa !5
  %269 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %268, i32 0, i32 4
  %270 = load ptr, ptr %269, align 8, !tbaa !17
  %271 = load i64, ptr %30, align 8, !tbaa !9
  %272 = getelementptr inbounds double, ptr %270, i64 %271
  store double %267, ptr %272, align 8, !tbaa !11
  br label %273

273:                                              ; preds = %174
  %274 = load i64, ptr %30, align 8, !tbaa !9
  %275 = add nsw i64 %274, 1
  store i64 %275, ptr %30, align 8, !tbaa !9
  br label %169, !llvm.loop !18

276:                                              ; preds = %169
  %277 = load double, ptr %35, align 8, !tbaa !11
  %278 = load double, ptr %36, align 8, !tbaa !11
  %279 = fmul double 6.000000e+00, %278
  %280 = load double, ptr %32, align 8, !tbaa !11
  %281 = fmul double %279, %280
  %282 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %277, double %281)
  %283 = load ptr, ptr %19, 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 !17
  %286 = load i64, ptr %13, align 8, !tbaa !9
  %287 = sub nsw i64 %286, 1
  %288 = getelementptr inbounds double, ptr %285, i64 %287
  store double %282, ptr %288, align 8, !tbaa !11
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 0
  %290 = load i64, ptr %289, align 8, !tbaa !13
  %291 = load i64, ptr %13, align 8, !tbaa !9
  %292 = icmp slt i64 %290, %291
  br i1 %292, label %293, label %296

293:                                              ; preds = %276
  %294 = load i64, ptr %13, align 8, !tbaa !9
  %295 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %28, i64 noundef %294, ptr noundef %295)
  br label %296

296:                                              ; preds = %293, %276
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %297

297:                                              ; preds = %317, %296
  %298 = load i64, ptr %30, align 8, !tbaa !9
  %299 = load i64, ptr %13, align 8, !tbaa !9
  %300 = sub nsw i64 %299, 1
  %301 = icmp sle i64 %298, %300
  br i1 %301, label %302, label %320

302:                                              ; preds = %297
  %303 = load ptr, ptr %18, align 8, !tbaa !5
  %304 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %303, i32 0, i32 4
  %305 = load ptr, ptr %304, align 8, !tbaa !17
  %306 = load i64, ptr %30, align 8, !tbaa !9
  %307 = getelementptr inbounds double, ptr %305, i64 %306
  %308 = load double, ptr %307, align 8, !tbaa !11
  %309 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %310 = load ptr, ptr %309, align 8, !tbaa !17
  %311 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %312 = load ptr, ptr %311, align 8, !tbaa !17
  %313 = load i64, ptr %30, align 8, !tbaa !9
  %314 = getelementptr inbounds i64, ptr %312, i64 %313
  %315 = load i64, ptr %314, align 8, !tbaa !9
  %316 = getelementptr inbounds double, ptr %310, i64 %315
  store double %308, ptr %316, align 8, !tbaa !11
  br label %317

317:                                              ; preds = %302
  %318 = load i64, ptr %30, align 8, !tbaa !9
  %319 = add nsw i64 %318, 1
  store i64 %319, ptr %30, align 8, !tbaa !9
  br label %297, !llvm.loop !20

320:                                              ; preds = %297
  %321 = load ptr, ptr %18, align 8, !tbaa !5
  %322 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %321, i32 0, i32 4
  %323 = load ptr, ptr %322, align 8, !tbaa !17
  %324 = getelementptr inbounds double, ptr %323, i64 0
  %325 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %326 = load ptr, ptr %325, align 8, !tbaa !17
  %327 = getelementptr inbounds double, ptr %326, i64 0
  %328 = load i64, ptr %13, align 8, !tbaa !9
  %329 = sub nsw i64 %328, 1
  %330 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %329)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %324, i64 noundef 1, ptr noundef %327, i64 noundef 1, i64 noundef %330)
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %331

331:                                              ; preds = %351, %320
  %332 = load i64, ptr %30, align 8, !tbaa !9
  %333 = load i64, ptr %13, align 8, !tbaa !9
  %334 = sub nsw i64 %333, 1
  %335 = icmp sle i64 %332, %334
  br i1 %335, label %336, label %354

336:                                              ; preds = %331
  %337 = load ptr, ptr %19, 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 !17
  %340 = load i64, ptr %30, align 8, !tbaa !9
  %341 = getelementptr inbounds double, ptr %339, i64 %340
  %342 = load double, ptr %341, align 8, !tbaa !11
  %343 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %344 = load ptr, ptr %343, align 8, !tbaa !17
  %345 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %346 = load ptr, ptr %345, align 8, !tbaa !17
  %347 = load i64, ptr %30, align 8, !tbaa !9
  %348 = getelementptr inbounds i64, ptr %346, i64 %347
  %349 = load i64, ptr %348, align 8, !tbaa !9
  %350 = getelementptr inbounds double, ptr %344, i64 %349
  store double %342, ptr %350, align 8, !tbaa !11
  br label %351

351:                                              ; preds = %336
  %352 = load i64, ptr %30, align 8, !tbaa !9
  %353 = add nsw i64 %352, 1
  store i64 %353, ptr %30, align 8, !tbaa !9
  br label %331, !llvm.loop !21

354:                                              ; preds = %331
  %355 = load ptr, ptr %19, align 8, !tbaa !5
  %356 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %355, i32 0, i32 4
  %357 = load ptr, ptr %356, align 8, !tbaa !17
  %358 = getelementptr inbounds double, ptr %357, i64 0
  %359 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %360 = load ptr, ptr %359, align 8, !tbaa !17
  %361 = getelementptr inbounds double, ptr %360, i64 0
  %362 = load i64, ptr %13, align 8, !tbaa !9
  %363 = sub nsw i64 %362, 1
  %364 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %363)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %358, i64 noundef 1, ptr noundef %361, i64 noundef 1, i64 noundef %364)
  %365 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %365)
  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 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  ret void
}

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

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr 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) #4

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_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_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) #2

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #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_impl11aredistinctEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

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

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !15, i64 16, !16, i64 24, !7, i64 56}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}


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

@.str.189 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [70 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22spline1dgriddiff2cubicEPNS_9ae_vectorES1_lldldS1_S1_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, i64 noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) local_unnamed_addr #3 {
  %11 = alloca %"struct.alglib_impl::ae_frame", 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::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 64, 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 64, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %9, ptr noundef nonnull %11)
  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(64) %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %19, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %12, ptr noundef %0, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %13, ptr noundef %1, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %7)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %8)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 3, ptr noundef %9, 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 %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %17, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %18, i64 noundef 0, i64 noundef 3, ptr noundef %9, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %19, i64 noundef 0, i64 noundef 2, ptr noundef %9, i1 noundef zeroext true)
  %20 = icmp eq i64 %3, -1
  %21 = add i64 %3, 1
  %spec.select = icmp ult i64 %21, 4
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select, ptr noundef nonnull @.str.189, ptr noundef %9)
  %22 = add i64 %5, 1
  %23 = icmp ult i64 %22, 4
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %23, ptr noundef nonnull @.str.190, ptr noundef %9)
  %24 = and i64 %5, %3
  %or.cond9 = icmp eq i64 %24, -1
  br i1 %or.cond9, label %29, label %25

25:                                               ; preds = %10
  %26 = icmp ne i64 %5, -1
  %27 = icmp ne i64 %3, -1
  %28 = and i1 %27, %26
  br label %29

29:                                               ; preds = %10, %25
  %30 = phi i1 [ %28, %25 ], [ true, %10 ]
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %30, ptr noundef nonnull @.str.191, ptr noundef %9)
  %31 = add i64 %3, -1
  %or.cond11 = icmp ult i64 %31, 2
  br i1 %or.cond11, label %32, label %34

32:                                               ; preds = %29
  %33 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %4, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %33, ptr noundef nonnull @.str.192, ptr noundef %9)
  br label %34

34:                                               ; preds = %29, %32
  %35 = add i64 %5, -1
  %or.cond13 = icmp ult i64 %35, 2
  br i1 %or.cond13, label %36, label %38

36:                                               ; preds = %34
  %37 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %6, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %37, ptr noundef nonnull @.str.193, ptr noundef %9)
  br label %38

38:                                               ; preds = %34, %36
  %39 = icmp sgt i64 %2, 1
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef nonnull @.str.194, ptr noundef %9)
  %40 = load i64, ptr %12, align 8, !tbaa !5
  %41 = icmp sge i64 %40, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %41, ptr noundef nonnull @.str.195, ptr noundef %9)
  %42 = load i64, ptr %13, align 8, !tbaa !5
  %43 = icmp sge i64 %42, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %43, ptr noundef nonnull @.str.196, ptr noundef %9)
  %44 = add i64 %2, -1
  %spec.select160 = select i1 %20, i64 %44, i64 %2
  %45 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %2, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %45, ptr noundef nonnull @.str.197, ptr noundef %9)
  %46 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %spec.select160, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %46, ptr noundef nonnull @.str.198, ptr noundef %9)
  call void @_ZN11alglib_implL24spline1d_heapsortppointsEPNS_9ae_vectorES1_S1_lPNS_8ae_stateE(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %19, i64 noundef %2, ptr noundef %9)
  %47 = call noundef zeroext i1 @_ZN11alglib_impl11aredistinctEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %2, ptr noundef %9)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %47, ptr noundef nonnull @.str.199, ptr noundef %9)
  call void @_ZN11alglib_implL38spline1d_spline1dgriddiffcubicinternalEPNS_9ae_vectorES1_lldldS1_S1_S1_S1_S1_S1_PNS_8ae_stateE(ptr noundef nonnull %12, ptr noundef nonnull %13, i64 noundef %2, i64 noundef %3, double noundef %4, i64 noundef %5, double noundef %6, ptr noundef %7, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %9)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %8, i64 noundef %2, ptr noundef %9)
  %.not161 = icmp slt i64 %2, 2
  br i1 %.not161, label %89, label %.lr.ph

.lr.ph:                                           ; preds = %38
  %48 = getelementptr inbounds i8, ptr %12, i64 56
  %49 = getelementptr inbounds i8, ptr %13, i64 56
  %50 = getelementptr inbounds i8, ptr %7, i64 56
  %51 = getelementptr inbounds i8, ptr %8, i64 56
  br label %52

52:                                               ; preds = %.lr.ph, %52
  %.0153162 = phi i64 [ 0, %.lr.ph ], [ %54, %52 ]
  %53 = load ptr, ptr %48, align 8, !tbaa !13
  %54 = add nuw nsw i64 %.0153162, 1
  %55 = getelementptr inbounds double, ptr %53, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !14
  %57 = getelementptr inbounds double, ptr %53, i64 %.0153162
  %58 = load double, ptr %57, align 8, !tbaa !14
  %59 = fsub double %56, %58
  %60 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %59, ptr noundef %9)
  %61 = load ptr, ptr %49, align 8, !tbaa !13
  %62 = getelementptr inbounds double, ptr %61, i64 %54
  %63 = load double, ptr %62, align 8, !tbaa !14
  %64 = getelementptr inbounds double, ptr %61, i64 %.0153162
  %65 = load double, ptr %64, align 8, !tbaa !14
  %66 = fsub double %63, %65
  %67 = load ptr, ptr %50, align 8, !tbaa !13
  %68 = getelementptr inbounds double, ptr %67, i64 %.0153162
  %69 = load double, ptr %68, align 8, !tbaa !14
  %70 = fmul double %69, -2.000000e+00
  %71 = fmul double %59, %70
  %72 = call double @llvm.fmuladd.f64(double %66, double 3.000000e+00, double %71)
  %73 = getelementptr inbounds double, ptr %67, i64 %54
  %74 = load double, ptr %73, align 8, !tbaa !14
  %75 = fneg double %74
  %76 = call double @llvm.fmuladd.f64(double %75, double %59, double %72)
  %77 = fdiv double %76, %60
  %78 = fmul double %77, 2.000000e+00
  %79 = load ptr, ptr %51, align 8, !tbaa !13
  %80 = getelementptr inbounds double, ptr %79, i64 %.0153162
  store double %78, ptr %80, align 8, !tbaa !14
  %exitcond.not = icmp eq i64 %54, %44
  br i1 %exitcond.not, label %._crit_edge, label %52, !llvm.loop !16

._crit_edge:                                      ; preds = %52
  %81 = fmul double %59, %60
  %82 = fsub double %65, %63
  %83 = fmul double %59, %69
  %84 = call double @llvm.fmuladd.f64(double %82, double 2.000000e+00, double %83)
  %85 = call double @llvm.fmuladd.f64(double %74, double %59, double %84)
  %86 = fdiv double %85, %81
  %87 = fmul double %86, 6.000000e+00
  %88 = fmul double %59, %87
  br label %89

89:                                               ; preds = %._crit_edge, %38
  %.0150.lcssa = phi double [ %77, %._crit_edge ], [ 0.000000e+00, %38 ]
  %90 = phi double [ %88, %._crit_edge ], [ 0.000000e+00, %38 ]
  %91 = call double @llvm.fmuladd.f64(double %.0150.lcssa, double 2.000000e+00, double %90)
  %92 = getelementptr inbounds i8, ptr %8, i64 56
  %93 = load ptr, ptr %92, align 8, !tbaa !13
  %94 = getelementptr inbounds double, ptr %93, i64 %44
  store double %91, ptr %94, align 8, !tbaa !14
  %95 = load i64, ptr %18, align 8, !tbaa !5
  %96 = icmp slt i64 %95, %2
  br i1 %96, label %97, label %98

97:                                               ; preds = %89
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %2, ptr noundef %9)
  br label %98

98:                                               ; preds = %97, %89
  %.not158.not175 = icmp sgt i64 %2, 0
  br i1 %.not158.not175, label %.lr.ph178, label %._crit_edge179

.lr.ph178:                                        ; preds = %98
  %99 = getelementptr inbounds i8, ptr %7, i64 56
  %100 = getelementptr inbounds i8, ptr %18, i64 56
  %101 = getelementptr inbounds i8, ptr %19, i64 56
  %xtraiter = and i64 %2, 1
  %102 = icmp eq i64 %44, 0
  br i1 %102, label %._crit_edge179.loopexit.unr-lcssa, label %.lr.ph178.new

.lr.ph178.new:                                    ; preds = %.lr.ph178
  %unroll_iter = and i64 %2, 9223372036854775806
  br label %103

103:                                              ; preds = %103, %.lr.ph178.new
  %.1176 = phi i64 [ 0, %.lr.ph178.new ], [ %121, %103 ]
  %niter = phi i64 [ 0, %.lr.ph178.new ], [ %niter.next.1, %103 ]
  %104 = load ptr, ptr %99, align 8, !tbaa !13
  %105 = getelementptr inbounds double, ptr %104, i64 %.1176
  %106 = load double, ptr %105, align 8, !tbaa !14
  %107 = load ptr, ptr %100, align 8, !tbaa !13
  %108 = load ptr, ptr %101, align 8, !tbaa !13
  %109 = getelementptr inbounds i64, ptr %108, i64 %.1176
  %110 = load i64, ptr %109, align 8, !tbaa !18
  %111 = getelementptr inbounds double, ptr %107, i64 %110
  store double %106, ptr %111, align 8, !tbaa !14
  %112 = or disjoint i64 %.1176, 1
  %113 = load ptr, ptr %99, align 8, !tbaa !13
  %114 = getelementptr inbounds double, ptr %113, i64 %112
  %115 = load double, ptr %114, align 8, !tbaa !14
  %116 = load ptr, ptr %100, align 8, !tbaa !13
  %117 = load ptr, ptr %101, align 8, !tbaa !13
  %118 = getelementptr inbounds i64, ptr %117, i64 %112
  %119 = load i64, ptr %118, align 8, !tbaa !18
  %120 = getelementptr inbounds double, ptr %116, i64 %119
  store double %115, ptr %120, align 8, !tbaa !14
  %121 = add nuw nsw i64 %.1176, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge179.loopexit.unr-lcssa, label %103, !llvm.loop !19

._crit_edge179.loopexit.unr-lcssa:                ; preds = %103, %.lr.ph178
  %.1176.unr = phi i64 [ 0, %.lr.ph178 ], [ %121, %103 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge179, label %._crit_edge179.loopexit.epilog-lcssa

._crit_edge179.loopexit.epilog-lcssa:             ; preds = %._crit_edge179.loopexit.unr-lcssa
  %122 = load ptr, ptr %99, align 8, !tbaa !13
  %123 = getelementptr inbounds double, ptr %122, i64 %.1176.unr
  %124 = load double, ptr %123, align 8, !tbaa !14
  %125 = load ptr, ptr %100, align 8, !tbaa !13
  %126 = load ptr, ptr %101, align 8, !tbaa !13
  %127 = getelementptr inbounds i64, ptr %126, i64 %.1176.unr
  %128 = load i64, ptr %127, align 8, !tbaa !18
  %129 = getelementptr inbounds double, ptr %125, i64 %128
  store double %124, ptr %129, align 8, !tbaa !14
  br label %._crit_edge179

._crit_edge179:                                   ; preds = %._crit_edge179.loopexit.epilog-lcssa, %._crit_edge179.loopexit.unr-lcssa, %98
  %130 = getelementptr inbounds i8, ptr %7, i64 56
  %131 = load ptr, ptr %130, align 8, !tbaa !13
  %132 = getelementptr inbounds i8, ptr %18, i64 56
  %133 = load ptr, ptr %132, align 8, !tbaa !13
  %134 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %44)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %131, i64 noundef 1, ptr noundef %133, i64 noundef 1, i64 noundef %134)
  br i1 %.not158.not175, label %.lr.ph183, label %._crit_edge184

.lr.ph183:                                        ; preds = %._crit_edge179
  %135 = getelementptr inbounds i8, ptr %19, i64 56
  %xtraiter212 = and i64 %2, 1
  %136 = icmp eq i64 %44, 0
  br i1 %136, label %._crit_edge184.loopexit.unr-lcssa, label %.lr.ph183.new

.lr.ph183.new:                                    ; preds = %.lr.ph183
  %unroll_iter214 = and i64 %2, 9223372036854775806
  br label %137

137:                                              ; preds = %137, %.lr.ph183.new
  %.2181 = phi i64 [ 0, %.lr.ph183.new ], [ %155, %137 ]
  %niter215 = phi i64 [ 0, %.lr.ph183.new ], [ %niter215.next.1, %137 ]
  %138 = load ptr, ptr %92, align 8, !tbaa !13
  %139 = getelementptr inbounds double, ptr %138, i64 %.2181
  %140 = load double, ptr %139, align 8, !tbaa !14
  %141 = load ptr, ptr %132, align 8, !tbaa !13
  %142 = load ptr, ptr %135, align 8, !tbaa !13
  %143 = getelementptr inbounds i64, ptr %142, i64 %.2181
  %144 = load i64, ptr %143, align 8, !tbaa !18
  %145 = getelementptr inbounds double, ptr %141, i64 %144
  store double %140, ptr %145, align 8, !tbaa !14
  %146 = or disjoint i64 %.2181, 1
  %147 = load ptr, ptr %92, align 8, !tbaa !13
  %148 = getelementptr inbounds double, ptr %147, i64 %146
  %149 = load double, ptr %148, align 8, !tbaa !14
  %150 = load ptr, ptr %132, align 8, !tbaa !13
  %151 = load ptr, ptr %135, align 8, !tbaa !13
  %152 = getelementptr inbounds i64, ptr %151, i64 %146
  %153 = load i64, ptr %152, align 8, !tbaa !18
  %154 = getelementptr inbounds double, ptr %150, i64 %153
  store double %149, ptr %154, align 8, !tbaa !14
  %155 = add nuw nsw i64 %.2181, 2
  %niter215.next.1 = add i64 %niter215, 2
  %niter215.ncmp.1 = icmp eq i64 %niter215.next.1, %unroll_iter214
  br i1 %niter215.ncmp.1, label %._crit_edge184.loopexit.unr-lcssa, label %137, !llvm.loop !20

._crit_edge184.loopexit.unr-lcssa:                ; preds = %137, %.lr.ph183
  %.2181.unr = phi i64 [ 0, %.lr.ph183 ], [ %155, %137 ]
  %lcmp.mod213.not = icmp eq i64 %xtraiter212, 0
  br i1 %lcmp.mod213.not, label %._crit_edge184, label %._crit_edge184.loopexit.epilog-lcssa

._crit_edge184.loopexit.epilog-lcssa:             ; preds = %._crit_edge184.loopexit.unr-lcssa
  %156 = load ptr, ptr %92, align 8, !tbaa !13
  %157 = getelementptr inbounds double, ptr %156, i64 %.2181.unr
  %158 = load double, ptr %157, align 8, !tbaa !14
  %159 = load ptr, ptr %132, align 8, !tbaa !13
  %160 = load ptr, ptr %135, align 8, !tbaa !13
  %161 = getelementptr inbounds i64, ptr %160, i64 %.2181.unr
  %162 = load i64, ptr %161, align 8, !tbaa !18
  %163 = getelementptr inbounds double, ptr %159, i64 %162
  store double %158, ptr %163, align 8, !tbaa !14
  br label %._crit_edge184

._crit_edge184:                                   ; preds = %._crit_edge184.loopexit.epilog-lcssa, %._crit_edge184.loopexit.unr-lcssa, %._crit_edge179
  %164 = load ptr, ptr %92, align 8, !tbaa !13
  %165 = load ptr, ptr %132, align 8, !tbaa !13
  %166 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %44)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %164, i64 noundef 1, ptr noundef %165, i64 noundef 1, i64 noundef %166)
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %9)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, 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 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  ret void
}

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

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr 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) #4

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_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_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) 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_impl11aredistinctEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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

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

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


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