; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (interpolation)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::lsfitreport" = type { double, i64, i64, double, double, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::polynomialfitreport" = type { double, double, double, double, double }

@.str.424 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.425 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.426 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.427 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.428 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.429 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.430 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.431 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.432 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.433 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.434 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.435 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.436 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.437 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.438 = external hidden unnamed_addr constant [44 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 noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef, double noundef, ptr noundef) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl15polynomialfitwcEPNS_9ae_vectorES1_S1_lS1_S1_S1_llPlPNS_22barycentricinterpolantEPNS_19polynomialfitreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7, i64 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #3 {
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.alglib_impl::ae_frame", align 8
  %28 = alloca %"struct.alglib_impl::ae_vector", align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::ae_vector", align 8
  %32 = alloca %"struct.alglib_impl::ae_vector", align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca %"struct.alglib_impl::ae_vector", align 8
  %38 = alloca %"struct.alglib_impl::ae_vector", align 8
  %39 = alloca %"struct.alglib_impl::ae_vector", align 8
  %40 = alloca %"struct.alglib_impl::ae_vector", align 8
  %41 = alloca %"struct.alglib_impl::ae_vector", align 8
  %42 = alloca %"struct.alglib_impl::ae_vector", align 8
  %43 = alloca %"struct.alglib_impl::ae_vector", align 8
  %44 = alloca %"struct.alglib_impl::ae_vector", align 8
  %45 = alloca %"struct.alglib_impl::ae_vector", align 8
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = alloca i64, align 8
  %52 = alloca %"struct.alglib_impl::lsfitreport", align 8
  %53 = alloca i32, align 4
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store i64 %3, ptr %17, align 8, !tbaa !9
  store ptr %4, ptr %18, align 8, !tbaa !5
  store ptr %5, ptr %19, align 8, !tbaa !5
  store ptr %6, ptr %20, align 8, !tbaa !5
  store i64 %7, ptr %21, align 8, !tbaa !9
  store i64 %8, ptr %22, align 8, !tbaa !9
  store ptr %9, ptr %23, align 8, !tbaa !5
  store ptr %10, ptr %24, align 8, !tbaa !5
  store ptr %11, ptr %25, align 8, !tbaa !5
  store ptr %12, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, 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 64, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 344, ptr %52) #5
  %54 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %54, ptr noundef %27)
  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)
  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 %32, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %38, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %39, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %40, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %41, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %42, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %43, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %44, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %45, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %52, i8 0, i64 344, i1 false)
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  %56 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %28, ptr noundef %55, ptr noundef %56, i1 noundef zeroext true)
  store ptr %28, ptr %14, align 8, !tbaa !5
  %57 = load ptr, ptr %15, align 8, !tbaa !5
  %58 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %29, ptr noundef %57, ptr noundef %58, i1 noundef zeroext true)
  store ptr %29, ptr %15, align 8, !tbaa !5
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %30, ptr noundef %59, ptr noundef %60, i1 noundef zeroext true)
  store ptr %30, ptr %16, align 8, !tbaa !5
  %61 = load ptr, ptr %18, align 8, !tbaa !5
  %62 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %31, ptr noundef %61, ptr noundef %62, i1 noundef zeroext true)
  store ptr %31, ptr %18, align 8, !tbaa !5
  %63 = load ptr, ptr %19, align 8, !tbaa !5
  %64 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %32, ptr noundef %63, ptr noundef %64, i1 noundef zeroext true)
  store ptr %32, ptr %19, align 8, !tbaa !5
  %65 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 0, ptr %65, align 8, !tbaa !9
  %66 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl29_barycentricinterpolant_clearEPv(ptr noundef %66)
  %67 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN11alglib_impl26_polynomialfitreport_clearEPv(ptr noundef %67)
  %68 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %37, i64 noundef 0, i64 noundef 3, ptr noundef %68, i1 noundef zeroext true)
  %69 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %38, i64 noundef 0, i64 noundef 3, ptr noundef %69, i1 noundef zeroext true)
  %70 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %39, i64 noundef 0, i64 noundef 3, ptr noundef %70, i1 noundef zeroext true)
  %71 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %40, i64 noundef 0, i64 noundef 3, ptr noundef %71, i1 noundef zeroext true)
  %72 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %41, i64 noundef 0, i64 noundef 3, ptr noundef %72, i1 noundef zeroext true)
  %73 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %42, i64 noundef 0, i64 noundef 3, ptr noundef %73, i1 noundef zeroext true)
  %74 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %43, i64 noundef 0, i64 noundef 3, ptr noundef %74, i1 noundef zeroext true)
  %75 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %44, i64 noundef 0, i64 noundef 3, ptr noundef %75, i1 noundef zeroext true)
  %76 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %45, i64 noundef 0, i64 noundef 3, ptr noundef %76, i1 noundef zeroext true)
  %77 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl17_lsfitreport_initEPvPNS_8ae_stateEb(ptr noundef %52, ptr noundef %77, i1 noundef zeroext true)
  %78 = load i64, ptr %17, align 8, !tbaa !9
  %79 = icmp sgt i64 %78, 0
  %80 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %79, ptr noundef @.str.424, ptr noundef %80)
  %81 = load i64, ptr %22, align 8, !tbaa !9
  %82 = icmp sgt i64 %81, 0
  %83 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %82, ptr noundef @.str.425, ptr noundef %83)
  %84 = load i64, ptr %21, align 8, !tbaa !9
  %85 = icmp sge i64 %84, 0
  %86 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %85, ptr noundef @.str.426, ptr noundef %86)
  %87 = load i64, ptr %21, align 8, !tbaa !9
  %88 = load i64, ptr %22, align 8, !tbaa !9
  %89 = icmp slt i64 %87, %88
  %90 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %89, ptr noundef @.str.427, ptr noundef %90)
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %91, i32 0, i32 0
  %93 = load i64, ptr %92, align 8, !tbaa !11
  %94 = load i64, ptr %17, align 8, !tbaa !9
  %95 = icmp sge i64 %93, %94
  %96 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %95, ptr noundef @.str.428, ptr noundef %96)
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %97, i32 0, i32 0
  %99 = load i64, ptr %98, align 8, !tbaa !11
  %100 = load i64, ptr %17, align 8, !tbaa !9
  %101 = icmp sge i64 %99, %100
  %102 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %101, ptr noundef @.str.429, ptr noundef %102)
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %103, i32 0, i32 0
  %105 = load i64, ptr %104, align 8, !tbaa !11
  %106 = load i64, ptr %17, align 8, !tbaa !9
  %107 = icmp sge i64 %105, %106
  %108 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %107, ptr noundef @.str.430, ptr noundef %108)
  %109 = load ptr, ptr %18, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %109, i32 0, i32 0
  %111 = load i64, ptr %110, align 8, !tbaa !11
  %112 = load i64, ptr %21, align 8, !tbaa !9
  %113 = icmp sge i64 %111, %112
  %114 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %113, ptr noundef @.str.431, ptr noundef %114)
  %115 = load ptr, ptr %19, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %115, i32 0, i32 0
  %117 = load i64, ptr %116, align 8, !tbaa !11
  %118 = load i64, ptr %21, align 8, !tbaa !9
  %119 = icmp sge i64 %117, %118
  %120 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %119, ptr noundef @.str.432, ptr noundef %120)
  %121 = load ptr, ptr %20, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %121, i32 0, i32 0
  %123 = load i64, ptr %122, align 8, !tbaa !11
  %124 = load i64, ptr %21, align 8, !tbaa !9
  %125 = icmp sge i64 %123, %124
  %126 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %125, ptr noundef @.str.433, ptr noundef %126)
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = load i64, ptr %17, align 8, !tbaa !9
  %129 = load ptr, ptr %26, align 8, !tbaa !5
  %130 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %127, i64 noundef %128, ptr noundef %129)
  %131 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %130, ptr noundef @.str.434, ptr noundef %131)
  %132 = load ptr, ptr %15, align 8, !tbaa !5
  %133 = load i64, ptr %17, align 8, !tbaa !9
  %134 = load ptr, ptr %26, align 8, !tbaa !5
  %135 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %132, i64 noundef %133, ptr noundef %134)
  %136 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %135, ptr noundef @.str.435, ptr noundef %136)
  %137 = load ptr, ptr %16, align 8, !tbaa !5
  %138 = load i64, ptr %17, align 8, !tbaa !9
  %139 = load ptr, ptr %26, align 8, !tbaa !5
  %140 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %137, i64 noundef %138, ptr noundef %139)
  %141 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %140, ptr noundef @.str.434, ptr noundef %141)
  %142 = load ptr, ptr %18, align 8, !tbaa !5
  %143 = load i64, ptr %21, align 8, !tbaa !9
  %144 = load ptr, ptr %26, align 8, !tbaa !5
  %145 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %142, i64 noundef %143, ptr noundef %144)
  %146 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %145, ptr noundef @.str.436, ptr noundef %146)
  %147 = load ptr, ptr %19, align 8, !tbaa !5
  %148 = load i64, ptr %21, align 8, !tbaa !9
  %149 = load ptr, ptr %26, align 8, !tbaa !5
  %150 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %147, i64 noundef %148, ptr noundef %149)
  %151 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %150, ptr noundef @.str.437, ptr noundef %151)
  store i64 0, ptr %46, align 8, !tbaa !9
  br label %152

152:                                              ; preds = %176, %13
  %153 = load i64, ptr %46, align 8, !tbaa !9
  %154 = load i64, ptr %21, align 8, !tbaa !9
  %155 = sub nsw i64 %154, 1
  %156 = icmp sle i64 %153, %155
  br i1 %156, label %157, label %179

157:                                              ; preds = %152
  %158 = load ptr, ptr %20, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %158, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !15
  %161 = load i64, ptr %46, align 8, !tbaa !9
  %162 = getelementptr inbounds i64, ptr %160, i64 %161
  %163 = load i64, ptr %162, align 8, !tbaa !9
  %164 = icmp eq i64 %163, 0
  br i1 %164, label %173, label %165

165:                                              ; preds = %157
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %166, i32 0, i32 4
  %168 = load ptr, ptr %167, align 8, !tbaa !15
  %169 = load i64, ptr %46, align 8, !tbaa !9
  %170 = getelementptr inbounds i64, ptr %168, i64 %169
  %171 = load i64, ptr %170, align 8, !tbaa !9
  %172 = icmp eq i64 %171, 1
  br label %173

173:                                              ; preds = %165, %157
  %174 = phi i1 [ true, %157 ], [ %172, %165 ]
  %175 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %174, ptr noundef @.str.438, ptr noundef %175)
  br label %176

176:                                              ; preds = %173
  %177 = load i64, ptr %46, align 8, !tbaa !9
  %178 = add nsw i64 %177, 1
  store i64 %178, ptr %46, align 8, !tbaa !9
  br label %152, !llvm.loop !16

179:                                              ; preds = %152
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = load ptr, ptr %15, align 8, !tbaa !5
  %182 = load ptr, ptr %16, align 8, !tbaa !5
  %183 = load i64, ptr %17, align 8, !tbaa !9
  %184 = load ptr, ptr %18, align 8, !tbaa !5
  %185 = load ptr, ptr %19, align 8, !tbaa !5
  %186 = load ptr, ptr %20, align 8, !tbaa !5
  %187 = load i64, ptr %21, align 8, !tbaa !9
  %188 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_S1_lPdS2_S2_S2_S1_S1_PNS_8ae_stateE(ptr noundef %180, ptr noundef %181, ptr noundef %182, i64 noundef %183, ptr noundef %184, ptr noundef %185, ptr noundef %186, i64 noundef %187, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %188)
  %189 = load ptr, ptr %14, align 8, !tbaa !5
  %190 = load ptr, ptr %15, align 8, !tbaa !5
  %191 = load ptr, ptr %16, align 8, !tbaa !5
  %192 = load i64, ptr %17, align 8, !tbaa !9
  %193 = load ptr, ptr %18, align 8, !tbaa !5
  %194 = load ptr, ptr %19, align 8, !tbaa !5
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  %196 = load i64, ptr %21, align 8, !tbaa !9
  %197 = load i64, ptr %22, align 8, !tbaa !9
  %198 = load ptr, ptr %23, align 8, !tbaa !5
  %199 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_implL26lsfit_internalchebyshevfitEPNS_9ae_vectorES1_S1_lS1_S1_S1_llPlS1_PNS_11lsfitreportEPNS_8ae_stateE(ptr noundef %189, ptr noundef %190, ptr noundef %191, i64 noundef %192, ptr noundef %193, ptr noundef %194, ptr noundef %195, i64 noundef %196, i64 noundef %197, ptr noundef %198, ptr noundef %41, ptr noundef %52, ptr noundef %199)
  %200 = load ptr, ptr %23, align 8, !tbaa !5
  %201 = load i64, ptr %200, align 8, !tbaa !9
  %202 = icmp slt i64 %201, 0
  br i1 %202, label %203, label %205

203:                                              ; preds = %179
  %204 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %204)
  store i32 1, ptr %53, align 4
  br label %451

205:                                              ; preds = %179
  %206 = load i64, ptr %22, align 8, !tbaa !9
  %207 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %43, i64 noundef %206, ptr noundef %207)
  %208 = load i64, ptr %22, align 8, !tbaa !9
  %209 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %44, i64 noundef %208, ptr noundef %209)
  %210 = load i64, ptr %22, align 8, !tbaa !9
  %211 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %45, i64 noundef %210, ptr noundef %211)
  %212 = load i64, ptr %22, align 8, !tbaa !9
  %213 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %42, i64 noundef %212, ptr noundef %213)
  store double 1.000000e+00, ptr %50, align 8, !tbaa !18
  store i64 0, ptr %46, align 8, !tbaa !9
  br label %214

214:                                              ; preds = %331, %205
  %215 = load i64, ptr %46, align 8, !tbaa !9
  %216 = load i64, ptr %22, align 8, !tbaa !9
  %217 = sub nsw i64 %216, 1
  %218 = icmp sle i64 %215, %217
  br i1 %218, label %219, label %334

219:                                              ; preds = %214
  %220 = load i64, ptr %22, align 8, !tbaa !9
  %221 = icmp ne i64 %220, 1
  br i1 %221, label %222, label %232

222:                                              ; preds = %219
  %223 = load i64, ptr %46, align 8, !tbaa !9
  %224 = sitofp i64 %223 to double
  %225 = fmul double 0x400921FB54442D18, %224
  %226 = load i64, ptr %22, align 8, !tbaa !9
  %227 = sub nsw i64 %226, 1
  %228 = sitofp i64 %227 to double
  %229 = fdiv double %225, %228
  %230 = load ptr, ptr %26, align 8, !tbaa !5
  %231 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %229, ptr noundef %230)
  store double %231, ptr %48, align 8, !tbaa !18
  br label %233

232:                                              ; preds = %219
  store double 0.000000e+00, ptr %48, align 8, !tbaa !18
  br label %233

233:                                              ; preds = %232, %222
  store double 0.000000e+00, ptr %49, align 8, !tbaa !18
  store i64 0, ptr %47, align 8, !tbaa !9
  br label %234

234:                                              ; preds = %291, %233
  %235 = load i64, ptr %47, align 8, !tbaa !9
  %236 = load i64, ptr %22, align 8, !tbaa !9
  %237 = sub nsw i64 %236, 1
  %238 = icmp sle i64 %235, %237
  br i1 %238, label %239, label %294

239:                                              ; preds = %234
  %240 = load i64, ptr %47, align 8, !tbaa !9
  %241 = icmp eq i64 %240, 0
  br i1 %241, label %242, label %247

242:                                              ; preds = %239
  %243 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %42, i32 0, i32 4
  %244 = load ptr, ptr %243, align 8, !tbaa !15
  %245 = load i64, ptr %47, align 8, !tbaa !9
  %246 = getelementptr inbounds double, ptr %244, i64 %245
  store double 1.000000e+00, ptr %246, align 8, !tbaa !18
  br label %278

247:                                              ; preds = %239
  %248 = load i64, ptr %47, align 8, !tbaa !9
  %249 = icmp eq i64 %248, 1
  br i1 %249, label %250, label %256

250:                                              ; preds = %247
  %251 = load double, ptr %48, align 8, !tbaa !18
  %252 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %42, i32 0, i32 4
  %253 = load ptr, ptr %252, align 8, !tbaa !15
  %254 = load i64, ptr %47, align 8, !tbaa !9
  %255 = getelementptr inbounds double, ptr %253, i64 %254
  store double %251, ptr %255, align 8, !tbaa !18
  br label %277

256:                                              ; preds = %247
  %257 = load double, ptr %48, align 8, !tbaa !18
  %258 = fmul double 2.000000e+00, %257
  %259 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %42, i32 0, i32 4
  %260 = load ptr, ptr %259, align 8, !tbaa !15
  %261 = load i64, ptr %47, align 8, !tbaa !9
  %262 = sub nsw i64 %261, 1
  %263 = getelementptr inbounds double, ptr %260, i64 %262
  %264 = load double, ptr %263, align 8, !tbaa !18
  %265 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %42, i32 0, i32 4
  %266 = load ptr, ptr %265, align 8, !tbaa !15
  %267 = load i64, ptr %47, align 8, !tbaa !9
  %268 = sub nsw i64 %267, 2
  %269 = getelementptr inbounds double, ptr %266, i64 %268
  %270 = load double, ptr %269, align 8, !tbaa !18
  %271 = fneg double %270
  %272 = call double @llvm.fmuladd.f64(double %258, double %264, double %271)
  %273 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %42, i32 0, i32 4
  %274 = load ptr, ptr %273, align 8, !tbaa !15
  %275 = load i64, ptr %47, align 8, !tbaa !9
  %276 = getelementptr inbounds double, ptr %274, i64 %275
  store double %272, ptr %276, align 8, !tbaa !18
  br label %277

277:                                              ; preds = %256, %250
  br label %278

278:                                              ; preds = %277, %242
  %279 = load double, ptr %49, align 8, !tbaa !18
  %280 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %41, i32 0, i32 4
  %281 = load ptr, ptr %280, align 8, !tbaa !15
  %282 = load i64, ptr %47, align 8, !tbaa !9
  %283 = getelementptr inbounds double, ptr %281, i64 %282
  %284 = load double, ptr %283, align 8, !tbaa !18
  %285 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %42, i32 0, i32 4
  %286 = load ptr, ptr %285, align 8, !tbaa !15
  %287 = load i64, ptr %47, align 8, !tbaa !9
  %288 = getelementptr inbounds double, ptr %286, i64 %287
  %289 = load double, ptr %288, align 8, !tbaa !18
  %290 = call double @llvm.fmuladd.f64(double %284, double %289, double %279)
  store double %290, ptr %49, align 8, !tbaa !18
  br label %291

291:                                              ; preds = %278
  %292 = load i64, ptr %47, align 8, !tbaa !9
  %293 = add nsw i64 %292, 1
  store i64 %293, ptr %47, align 8, !tbaa !9
  br label %234, !llvm.loop !20

294:                                              ; preds = %234
  %295 = load double, ptr %48, align 8, !tbaa !18
  %296 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %43, i32 0, i32 4
  %297 = load ptr, ptr %296, align 8, !tbaa !15
  %298 = load i64, ptr %46, align 8, !tbaa !9
  %299 = getelementptr inbounds double, ptr %297, i64 %298
  store double %295, ptr %299, align 8, !tbaa !18
  %300 = load double, ptr %49, align 8, !tbaa !18
  %301 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %44, i32 0, i32 4
  %302 = load ptr, ptr %301, align 8, !tbaa !15
  %303 = load i64, ptr %46, align 8, !tbaa !9
  %304 = getelementptr inbounds double, ptr %302, i64 %303
  store double %300, ptr %304, align 8, !tbaa !18
  %305 = load double, ptr %50, align 8, !tbaa !18
  %306 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %45, i32 0, i32 4
  %307 = load ptr, ptr %306, align 8, !tbaa !15
  %308 = load i64, ptr %46, align 8, !tbaa !9
  %309 = getelementptr inbounds double, ptr %307, i64 %308
  store double %305, ptr %309, align 8, !tbaa !18
  %310 = load i64, ptr %46, align 8, !tbaa !9
  %311 = icmp eq i64 %310, 0
  br i1 %311, label %317, label %312

312:                                              ; preds = %294
  %313 = load i64, ptr %46, align 8, !tbaa !9
  %314 = load i64, ptr %22, align 8, !tbaa !9
  %315 = sub nsw i64 %314, 1
  %316 = icmp eq i64 %313, %315
  br i1 %316, label %317, label %328

317:                                              ; preds = %312, %294
  %318 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %45, i32 0, i32 4
  %319 = load ptr, ptr %318, align 8, !tbaa !15
  %320 = load i64, ptr %46, align 8, !tbaa !9
  %321 = getelementptr inbounds double, ptr %319, i64 %320
  %322 = load double, ptr %321, align 8, !tbaa !18
  %323 = fmul double 5.000000e-01, %322
  %324 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %45, i32 0, i32 4
  %325 = load ptr, ptr %324, align 8, !tbaa !15
  %326 = load i64, ptr %46, align 8, !tbaa !9
  %327 = getelementptr inbounds double, ptr %325, i64 %326
  store double %323, ptr %327, align 8, !tbaa !18
  br label %328

328:                                              ; preds = %317, %312
  %329 = load double, ptr %50, align 8, !tbaa !18
  %330 = fneg double %329
  store double %330, ptr %50, align 8, !tbaa !18
  br label %331

331:                                              ; preds = %328
  %332 = load i64, ptr %46, align 8, !tbaa !9
  %333 = add nsw i64 %332, 1
  store i64 %333, ptr %46, align 8, !tbaa !9
  br label %214, !llvm.loop !21

334:                                              ; preds = %214
  %335 = load i64, ptr %22, align 8, !tbaa !9
  %336 = load ptr, ptr %24, align 8, !tbaa !5
  %337 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %43, ptr noundef %44, ptr noundef %45, i64 noundef %335, ptr noundef %336, ptr noundef %337)
  %338 = load ptr, ptr %24, align 8, !tbaa !5
  %339 = load double, ptr %34, align 8, !tbaa !18
  %340 = load double, ptr %33, align 8, !tbaa !18
  %341 = fsub double %339, %340
  %342 = fdiv double 2.000000e+00, %341
  %343 = load double, ptr %33, align 8, !tbaa !18
  %344 = load double, ptr %34, align 8, !tbaa !18
  %345 = fadd double %343, %344
  %346 = fneg double %345
  %347 = load double, ptr %34, align 8, !tbaa !18
  %348 = load double, ptr %33, align 8, !tbaa !18
  %349 = fsub double %347, %348
  %350 = fdiv double %346, %349
  %351 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %338, double noundef %342, double noundef %350, ptr noundef %351)
  %352 = load ptr, ptr %24, align 8, !tbaa !5
  %353 = load double, ptr %36, align 8, !tbaa !18
  %354 = load double, ptr %35, align 8, !tbaa !18
  %355 = fsub double %353, %354
  %356 = load double, ptr %35, align 8, !tbaa !18
  %357 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %352, double noundef %355, double noundef %356, ptr noundef %357)
  %358 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %52, i32 0, i32 0
  %359 = load double, ptr %358, align 8, !tbaa !22
  %360 = load ptr, ptr %25, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %360, i32 0, i32 0
  store double %359, ptr %361, align 8, !tbaa !25
  %362 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %52, i32 0, i32 3
  %363 = load double, ptr %362, align 8, !tbaa !27
  %364 = load double, ptr %36, align 8, !tbaa !18
  %365 = load double, ptr %35, align 8, !tbaa !18
  %366 = fsub double %364, %365
  %367 = fmul double %363, %366
  %368 = load ptr, ptr %25, align 8, !tbaa !5
  %369 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %368, i32 0, i32 1
  store double %367, ptr %369, align 8, !tbaa !28
  %370 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %52, i32 0, i32 4
  %371 = load double, ptr %370, align 8, !tbaa !29
  %372 = load double, ptr %36, align 8, !tbaa !18
  %373 = load double, ptr %35, align 8, !tbaa !18
  %374 = fsub double %372, %373
  %375 = fmul double %371, %374
  %376 = load ptr, ptr %25, align 8, !tbaa !5
  %377 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %376, i32 0, i32 2
  store double %375, ptr %377, align 8, !tbaa !30
  %378 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %52, i32 0, i32 6
  %379 = load double, ptr %378, align 8, !tbaa !31
  %380 = load double, ptr %36, align 8, !tbaa !18
  %381 = load double, ptr %35, align 8, !tbaa !18
  %382 = fsub double %380, %381
  %383 = fmul double %379, %382
  %384 = load ptr, ptr %25, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %384, i32 0, i32 4
  store double %383, ptr %385, align 8, !tbaa !32
  %386 = load ptr, ptr %25, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %386, i32 0, i32 3
  store double 0.000000e+00, ptr %387, align 8, !tbaa !33
  store i64 0, ptr %51, align 8, !tbaa !9
  store i64 0, ptr %46, align 8, !tbaa !9
  br label %388

388:                                              ; preds = %434, %334
  %389 = load i64, ptr %46, align 8, !tbaa !9
  %390 = load i64, ptr %17, align 8, !tbaa !9
  %391 = sub nsw i64 %390, 1
  %392 = icmp sle i64 %389, %391
  br i1 %392, label %393, label %437

393:                                              ; preds = %388
  %394 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %395 = load ptr, ptr %394, align 8, !tbaa !15
  %396 = load i64, ptr %46, align 8, !tbaa !9
  %397 = getelementptr inbounds double, ptr %395, i64 %396
  %398 = load double, ptr %397, align 8, !tbaa !18
  %399 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %398, double noundef 0.000000e+00)
  br i1 %399, label %400, label %433

400:                                              ; preds = %393
  %401 = load ptr, ptr %25, align 8, !tbaa !5
  %402 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %401, i32 0, i32 3
  %403 = load double, ptr %402, align 8, !tbaa !33
  %404 = load ptr, ptr %24, align 8, !tbaa !5
  %405 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %406 = load ptr, ptr %405, align 8, !tbaa !15
  %407 = load i64, ptr %46, align 8, !tbaa !9
  %408 = getelementptr inbounds double, ptr %406, i64 %407
  %409 = load double, ptr %408, align 8, !tbaa !18
  %410 = load ptr, ptr %26, align 8, !tbaa !5
  %411 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %404, double noundef %409, ptr noundef %410)
  %412 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %413 = load ptr, ptr %412, align 8, !tbaa !15
  %414 = load i64, ptr %46, align 8, !tbaa !9
  %415 = getelementptr inbounds double, ptr %413, i64 %414
  %416 = load double, ptr %415, align 8, !tbaa !18
  %417 = fsub double %411, %416
  %418 = load ptr, ptr %26, align 8, !tbaa !5
  %419 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %417, ptr noundef %418)
  %420 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %421 = load ptr, ptr %420, align 8, !tbaa !15
  %422 = load i64, ptr %46, align 8, !tbaa !9
  %423 = getelementptr inbounds double, ptr %421, i64 %422
  %424 = load double, ptr %423, align 8, !tbaa !18
  %425 = load ptr, ptr %26, align 8, !tbaa !5
  %426 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %424, ptr noundef %425)
  %427 = fdiv double %419, %426
  %428 = fadd double %403, %427
  %429 = load ptr, ptr %25, align 8, !tbaa !5
  %430 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %429, i32 0, i32 3
  store double %428, ptr %430, align 8, !tbaa !33
  %431 = load i64, ptr %51, align 8, !tbaa !9
  %432 = add nsw i64 %431, 1
  store i64 %432, ptr %51, align 8, !tbaa !9
  br label %433

433:                                              ; preds = %400, %393
  br label %434

434:                                              ; preds = %433
  %435 = load i64, ptr %46, align 8, !tbaa !9
  %436 = add nsw i64 %435, 1
  store i64 %436, ptr %46, align 8, !tbaa !9
  br label %388, !llvm.loop !34

437:                                              ; preds = %388
  %438 = load i64, ptr %51, align 8, !tbaa !9
  %439 = icmp ne i64 %438, 0
  br i1 %439, label %440, label %449

440:                                              ; preds = %437
  %441 = load ptr, ptr %25, align 8, !tbaa !5
  %442 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %441, i32 0, i32 3
  %443 = load double, ptr %442, align 8, !tbaa !33
  %444 = load i64, ptr %51, align 8, !tbaa !9
  %445 = sitofp i64 %444 to double
  %446 = fdiv double %443, %445
  %447 = load ptr, ptr %25, align 8, !tbaa !5
  %448 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %447, i32 0, i32 3
  store double %446, ptr %448, align 8, !tbaa !33
  br label %449

449:                                              ; preds = %440, %437
  %450 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %450)
  store i32 0, ptr %53, align 4
  br label %451

451:                                              ; preds = %449, %203
  call void @llvm.lifetime.end.p0(i64 344, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  %452 = load i32, ptr %53, align 4
  switch i32 %452, label %454 [
    i32 0, label %453
    i32 1, label %453
  ]

453:                                              ; preds = %451, %451
  ret void

454:                                              ; preds = %451
  unreachable
}

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_impl7ae_fabsEdPNS_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 zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) #2

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

declare noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef, ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL26lsfit_internalchebyshevfitEPNS_9ae_vectorES1_S1_lS1_S1_S1_llPlS1_PNS_11lsfitreportEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 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, !10, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = !{!23, !19, i64 0}
!23 = !{!"_ZTSN11alglib_impl11lsfitreportE", !19, i64 0, !10, i64 8, !10, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !24, i64 64, !12, i64 144, !12, i64 208, !12, i64 272, !19, i64 336}
!24 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !14, i64 40, !7, i64 72}
!25 = !{!26, !19, i64 0}
!26 = !{!"_ZTSN11alglib_impl19polynomialfitreportE", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32}
!27 = !{!23, !19, i64 24}
!28 = !{!26, !19, i64 8}
!29 = !{!23, !19, i64 32}
!30 = !{!26, !19, i64 16}
!31 = !{!23, !19, i64 48}
!32 = !{!26, !19, i64 32}
!33 = !{!26, !19, i64 24}
!34 = distinct !{!34, !17}


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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::lsfitreport" = type { double, i64, i64, double, double, double, double, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }

@.str.424 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.425 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.426 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.427 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.428 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.429 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.430 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.431 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.432 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.433 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.434 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.435 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.436 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.437 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.438 = external hidden unnamed_addr constant [44 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 noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef, double noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl15polynomialfitwcEPNS_9ae_vectorES1_S1_lS1_S1_S1_llPlPNS_22barycentricinterpolantEPNS_19polynomialfitreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7, i64 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) local_unnamed_addr #3 {
  %14 = alloca %"struct.alglib_impl::ae_frame", 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
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, 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 %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::ae_vector", align 8
  %32 = alloca %"struct.alglib_impl::ae_vector", align 8
  %33 = alloca %"struct.alglib_impl::lsfitreport", align 8
  call void @llvm.lifetime.start.p0(i64 32, 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 @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %32) #5
  call void @llvm.lifetime.start.p0(i64 344, ptr nonnull %33) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %12, ptr noundef nonnull %14)
  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 @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %25, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %26, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %28, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %29, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %30, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %31, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %32, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(344) %33, i8 0, i64 344, i1 false)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %15, ptr noundef %0, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %16, ptr noundef %1, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %17, ptr noundef %2, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %18, ptr noundef %4, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %19, ptr noundef %5, ptr noundef %12, i1 noundef zeroext true)
  store i64 0, ptr %9, align 8, !tbaa !5
  call void @_ZN11alglib_impl29_barycentricinterpolant_clearEPv(ptr noundef %10)
  call void @_ZN11alglib_impl26_polynomialfitreport_clearEPv(ptr noundef %11)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %24, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %25, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %26, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %27, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %28, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %29, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %30, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %31, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %32, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_lsfitreport_initEPvPNS_8ae_stateEb(ptr noundef nonnull %33, ptr noundef %12, i1 noundef zeroext true)
  %34 = icmp sgt i64 %3, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %34, ptr noundef nonnull @.str.424, ptr noundef %12)
  %35 = icmp sgt i64 %8, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %35, ptr noundef nonnull @.str.425, ptr noundef %12)
  %36 = icmp sgt i64 %7, -1
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %36, ptr noundef nonnull @.str.426, ptr noundef %12)
  %37 = icmp slt i64 %7, %8
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %37, ptr noundef nonnull @.str.427, ptr noundef %12)
  %38 = load i64, ptr %15, align 8, !tbaa !9
  %39 = icmp sge i64 %38, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef nonnull @.str.428, ptr noundef %12)
  %40 = load i64, ptr %16, align 8, !tbaa !9
  %41 = icmp sge i64 %40, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %41, ptr noundef nonnull @.str.429, ptr noundef %12)
  %42 = load i64, ptr %17, align 8, !tbaa !9
  %43 = icmp sge i64 %42, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %43, ptr noundef nonnull @.str.430, ptr noundef %12)
  %44 = load i64, ptr %18, align 8, !tbaa !9
  %45 = icmp sge i64 %44, %7
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %45, ptr noundef nonnull @.str.431, ptr noundef %12)
  %46 = load i64, ptr %19, align 8, !tbaa !9
  %47 = icmp sge i64 %46, %7
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %47, ptr noundef nonnull @.str.432, ptr noundef %12)
  %48 = load i64, ptr %6, align 8, !tbaa !9
  %49 = icmp sge i64 %48, %7
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %49, ptr noundef nonnull @.str.433, ptr noundef %12)
  %50 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %3, ptr noundef %12)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %50, ptr noundef nonnull @.str.434, ptr noundef %12)
  %51 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %3, ptr noundef %12)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %51, ptr noundef nonnull @.str.435, ptr noundef %12)
  %52 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef %3, ptr noundef %12)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %52, ptr noundef nonnull @.str.434, ptr noundef %12)
  %53 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %7, ptr noundef %12)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %53, ptr noundef nonnull @.str.436, ptr noundef %12)
  %54 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %19, i64 noundef %7, ptr noundef %12)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %54, ptr noundef nonnull @.str.437, ptr noundef %12)
  %.not.not185 = icmp sgt i64 %7, 0
  br i1 %.not.not185, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %13
  %55 = getelementptr inbounds i8, ptr %6, i64 56
  br label %56

56:                                               ; preds = %.lr.ph, %56
  %.0177186 = phi i64 [ 0, %.lr.ph ], [ %60, %56 ]
  %57 = load ptr, ptr %55, align 8, !tbaa !14
  %58 = getelementptr inbounds i64, ptr %57, i64 %.0177186
  %59 = load i64, ptr %58, align 8, !tbaa !5
  %spec.select = icmp ult i64 %59, 2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %spec.select, ptr noundef nonnull @.str.438, ptr noundef %12)
  %60 = add nuw nsw i64 %.0177186, 1
  %exitcond.not = icmp eq i64 %60, %7
  br i1 %exitcond.not, label %._crit_edge, label %56, !llvm.loop !15

._crit_edge:                                      ; preds = %56, %13
  call void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_S1_lPdS2_S2_S2_S1_S1_PNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, i64 noundef %3, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %6, i64 noundef %7, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %25, ptr noundef %12)
  call void @_ZN11alglib_implL26lsfit_internalchebyshevfitEPNS_9ae_vectorES1_S1_lS1_S1_S1_llPlS1_PNS_11lsfitreportEPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, i64 noundef %3, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %6, i64 noundef %7, i64 noundef %8, ptr noundef nonnull %9, ptr noundef nonnull %28, ptr noundef nonnull %33, ptr noundef %12)
  %61 = load i64, ptr %9, align 8, !tbaa !5
  %62 = icmp slt i64 %61, 0
  br i1 %62, label %._crit_edge209.thread, label %63

63:                                               ; preds = %._crit_edge
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %30, i64 noundef %8, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %31, i64 noundef %8, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %32, i64 noundef %8, ptr noundef %12)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef %8, ptr noundef %12)
  %64 = add nsw i64 %8, -1
  br i1 %35, label %.lr.ph197, label %._crit_edge198

.lr.ph197:                                        ; preds = %63
  %.not183 = icmp eq i64 %8, 1
  %65 = uitofp nneg i64 %64 to double
  %66 = getelementptr inbounds i8, ptr %29, i64 56
  %67 = getelementptr inbounds i8, ptr %28, i64 56
  %68 = getelementptr inbounds i8, ptr %30, i64 56
  %69 = getelementptr inbounds i8, ptr %31, i64 56
  %70 = getelementptr inbounds i8, ptr %32, i64 56
  br label %71

71:                                               ; preds = %83, %.lr.ph197
  %.0173195.us = phi double [ 1.000000e+00, %.lr.ph197 ], [ %84, %83 ]
  %.1178194.us = phi i64 [ 0, %.lr.ph197 ], [ %85, %83 ]
  br i1 %.not183, label %.lr.ph191.us, label %72

72:                                               ; preds = %71
  %73 = uitofp nneg i64 %.1178194.us to double
  %74 = fmul double %73, 0x400921FB54442D18
  %75 = fdiv double %74, %65
  %76 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %75, ptr noundef %12)
  br label %.lr.ph191.us

.lr.ph191.us:                                     ; preds = %72, %71
  %.0175.us = phi double [ %76, %72 ], [ 0.000000e+00, %71 ]
  %77 = fmul double %.0175.us, 2.000000e+00
  br label %86

78:                                               ; preds = %._crit_edge192.us
  %79 = load ptr, ptr %70, align 8, !tbaa !14
  %80 = getelementptr inbounds double, ptr %79, i64 %.1178194.us
  %81 = load double, ptr %80, align 8, !tbaa !17
  %82 = fmul double %81, 5.000000e-01
  store double %82, ptr %80, align 8, !tbaa !17
  br label %83

83:                                               ; preds = %78, %._crit_edge192.us
  %84 = fneg double %.0173195.us
  %85 = add nuw nsw i64 %.1178194.us, 1
  %exitcond211.not = icmp eq i64 %85, %8
  br i1 %exitcond211.not, label %._crit_edge198, label %71, !llvm.loop !19

86:                                               ; preds = %.lr.ph191.us, %99
  %.0174189.us = phi double [ 0.000000e+00, %.lr.ph191.us ], [ %106, %99 ]
  %.0176188.us = phi i64 [ 0, %.lr.ph191.us ], [ %107, %99 ]
  %87 = load ptr, ptr %66, align 8, !tbaa !14
  switch i64 %.0176188.us, label %91 [
    i64 0, label %90
    i64 1, label %88
  ]

88:                                               ; preds = %86
  %89 = getelementptr inbounds i8, ptr %87, i64 8
  store double %.0175.us, ptr %89, align 8, !tbaa !17
  br label %99

90:                                               ; preds = %86
  store double 1.000000e+00, ptr %87, align 8, !tbaa !17
  br label %99

91:                                               ; preds = %86
  %92 = getelementptr double, ptr %87, i64 %.0176188.us
  %93 = getelementptr i8, ptr %92, i64 -8
  %94 = load double, ptr %93, align 8, !tbaa !17
  %95 = getelementptr i8, ptr %92, i64 -16
  %96 = load double, ptr %95, align 8, !tbaa !17
  %97 = fneg double %96
  %98 = call double @llvm.fmuladd.f64(double %77, double %94, double %97)
  store double %98, ptr %92, align 8, !tbaa !17
  br label %99

99:                                               ; preds = %91, %90, %88
  %100 = load ptr, ptr %67, align 8, !tbaa !14
  %101 = getelementptr inbounds double, ptr %100, i64 %.0176188.us
  %102 = load double, ptr %101, align 8, !tbaa !17
  %103 = load ptr, ptr %66, align 8, !tbaa !14
  %104 = getelementptr inbounds double, ptr %103, i64 %.0176188.us
  %105 = load double, ptr %104, align 8, !tbaa !17
  %106 = call double @llvm.fmuladd.f64(double %102, double %105, double %.0174189.us)
  %107 = add nuw nsw i64 %.0176188.us, 1
  %exitcond210.not = icmp eq i64 %107, %8
  br i1 %exitcond210.not, label %._crit_edge192.us, label %86, !llvm.loop !20

._crit_edge192.us:                                ; preds = %99
  %108 = load ptr, ptr %68, align 8, !tbaa !14
  %109 = getelementptr inbounds double, ptr %108, i64 %.1178194.us
  store double %.0175.us, ptr %109, align 8, !tbaa !17
  %110 = load ptr, ptr %69, align 8, !tbaa !14
  %111 = getelementptr inbounds double, ptr %110, i64 %.1178194.us
  store double %106, ptr %111, align 8, !tbaa !17
  %112 = load ptr, ptr %70, align 8, !tbaa !14
  %113 = getelementptr inbounds double, ptr %112, i64 %.1178194.us
  store double %.0173195.us, ptr %113, align 8, !tbaa !17
  %114 = icmp eq i64 %.1178194.us, 0
  %115 = icmp eq i64 %.1178194.us, %64
  %or.cond.us = select i1 %114, i1 true, i1 %115
  br i1 %or.cond.us, label %78, label %83

._crit_edge198:                                   ; preds = %83, %63
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %30, ptr noundef nonnull %31, ptr noundef nonnull %32, i64 noundef %8, ptr noundef %10, ptr noundef %12)
  %116 = load double, ptr %21, align 8, !tbaa !17
  %117 = load double, ptr %20, align 8, !tbaa !17
  %118 = fsub double %116, %117
  %119 = fdiv double 2.000000e+00, %118
  %120 = fadd double %116, %117
  %121 = fneg double %120
  %122 = fdiv double %121, %118
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %10, double noundef %119, double noundef %122, ptr noundef %12)
  %123 = load double, ptr %23, align 8, !tbaa !17
  %124 = load double, ptr %22, align 8, !tbaa !17
  %125 = fsub double %123, %124
  call void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %10, double noundef %125, double noundef %124, ptr noundef %12)
  %126 = load double, ptr %33, align 8, !tbaa !21
  store double %126, ptr %11, align 8, !tbaa !24
  %127 = getelementptr inbounds i8, ptr %33, i64 24
  %128 = load double, ptr %23, align 8, !tbaa !17
  %129 = load double, ptr %22, align 8, !tbaa !17
  %130 = fsub double %128, %129
  %131 = getelementptr inbounds i8, ptr %11, i64 8
  %132 = load <2 x double>, ptr %127, align 8, !tbaa !17
  %133 = insertelement <2 x double> poison, double %130, i64 0
  %134 = shufflevector <2 x double> %133, <2 x double> poison, <2 x i32> zeroinitializer
  %135 = fmul <2 x double> %132, %134
  store <2 x double> %135, ptr %131, align 8, !tbaa !17
  %136 = getelementptr inbounds i8, ptr %33, i64 48
  %137 = load double, ptr %136, align 8, !tbaa !26
  %138 = fmul double %130, %137
  %139 = getelementptr inbounds i8, ptr %11, i64 32
  store double %138, ptr %139, align 8, !tbaa !27
  %140 = getelementptr inbounds i8, ptr %11, i64 24
  store double 0.000000e+00, ptr %140, align 8, !tbaa !28
  br i1 %34, label %.lr.ph208, label %._crit_edge209.thread

.lr.ph208:                                        ; preds = %._crit_edge198
  %141 = getelementptr inbounds i8, ptr %25, i64 56
  %142 = getelementptr inbounds i8, ptr %24, i64 56
  br label %143

143:                                              ; preds = %.lr.ph208, %166
  %.0206 = phi i64 [ 0, %.lr.ph208 ], [ %.1, %166 ]
  %.2205 = phi i64 [ 0, %.lr.ph208 ], [ %167, %166 ]
  %144 = load ptr, ptr %141, align 8, !tbaa !14
  %145 = getelementptr inbounds double, ptr %144, i64 %.2205
  %146 = load double, ptr %145, align 8, !tbaa !17
  %147 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %146, double noundef 0.000000e+00)
  br i1 %147, label %148, label %166

148:                                              ; preds = %143
  %149 = load double, ptr %140, align 8, !tbaa !28
  %150 = load ptr, ptr %142, align 8, !tbaa !14
  %151 = getelementptr inbounds double, ptr %150, i64 %.2205
  %152 = load double, ptr %151, align 8, !tbaa !17
  %153 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %10, double noundef %152, ptr noundef %12)
  %154 = load ptr, ptr %141, align 8, !tbaa !14
  %155 = getelementptr inbounds double, ptr %154, i64 %.2205
  %156 = load double, ptr %155, align 8, !tbaa !17
  %157 = fsub double %153, %156
  %158 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %157, ptr noundef %12)
  %159 = load ptr, ptr %141, align 8, !tbaa !14
  %160 = getelementptr inbounds double, ptr %159, i64 %.2205
  %161 = load double, ptr %160, align 8, !tbaa !17
  %162 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %161, ptr noundef %12)
  %163 = fdiv double %158, %162
  %164 = fadd double %149, %163
  store double %164, ptr %140, align 8, !tbaa !28
  %165 = add nsw i64 %.0206, 1
  br label %166

166:                                              ; preds = %143, %148
  %.1 = phi i64 [ %165, %148 ], [ %.0206, %143 ]
  %167 = add nuw nsw i64 %.2205, 1
  %exitcond212.not = icmp eq i64 %167, %3
  br i1 %exitcond212.not, label %._crit_edge209, label %143, !llvm.loop !29

._crit_edge209:                                   ; preds = %166
  %.not = icmp eq i64 %.1, 0
  br i1 %.not, label %._crit_edge209.thread, label %168

168:                                              ; preds = %._crit_edge209
  %169 = load double, ptr %140, align 8, !tbaa !28
  %170 = sitofp i64 %.1 to double
  %171 = fdiv double %169, %170
  store double %171, ptr %140, align 8, !tbaa !28
  br label %._crit_edge209.thread

._crit_edge209.thread:                            ; preds = %._crit_edge209, %168, %._crit_edge198, %._crit_edge
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %12)
  call void @llvm.lifetime.end.p0(i64 344, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  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 32, ptr nonnull %14) #5
  ret void
}

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_impl7ae_fabsEdPNS_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 zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) local_unnamed_addr #2

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

declare noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL26lsfit_internalchebyshevfitEPNS_9ae_vectorES1_S1_lS1_S1_S1_llPlS1_PNS_11lsfitreportEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !11, i64 16, !12, i64 24, !7, i64 56}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = !{!22, !18, i64 0}
!22 = !{!"_ZTSN11alglib_impl11lsfitreportE", !18, i64 0, !6, i64 8, !6, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !23, i64 64, !10, i64 144, !10, i64 208, !10, i64 272, !18, i64 336}
!23 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !12, i64 40, !7, i64 72}
!24 = !{!25, !18, i64 0}
!25 = !{!"_ZTSN11alglib_impl19polynomialfitreportE", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32}
!26 = !{!22, !18, i64 48}
!27 = !{!25, !18, i64 32}
!28 = !{!25, !18, i64 24}
!29 = distinct !{!29, !16}


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