; LLVM IR from Dimandragon/non-parametric-dsp :: 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 { i64, 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 { i64, double, double, double, double, double }

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

139:                                              ; preds = %163, %12
  %140 = load i64, ptr %44, align 8, !tbaa !9
  %141 = load i64, ptr %20, align 8, !tbaa !9
  %142 = sub nsw i64 %141, 1
  %143 = icmp sle i64 %140, %142
  br i1 %143, label %144, label %166

144:                                              ; preds = %139
  %145 = load ptr, ptr %19, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %145, i32 0, i32 4
  %147 = load ptr, ptr %146, align 8, !tbaa !15
  %148 = load i64, ptr %44, align 8, !tbaa !9
  %149 = getelementptr inbounds i64, ptr %147, i64 %148
  %150 = load i64, ptr %149, align 8, !tbaa !9
  %151 = icmp eq i64 %150, 0
  br i1 %151, label %160, label %152

152:                                              ; preds = %144
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %153, i32 0, i32 4
  %155 = load ptr, ptr %154, align 8, !tbaa !15
  %156 = load i64, ptr %44, align 8, !tbaa !9
  %157 = getelementptr inbounds i64, ptr %155, i64 %156
  %158 = load i64, ptr %157, align 8, !tbaa !9
  %159 = icmp eq i64 %158, 1
  br label %160

160:                                              ; preds = %152, %144
  %161 = phi i1 [ true, %144 ], [ %159, %152 ]
  %162 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %161, ptr noundef @.str.439, ptr noundef %162)
  br label %163

163:                                              ; preds = %160
  %164 = load i64, ptr %44, align 8, !tbaa !9
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr %44, align 8, !tbaa !9
  br label %139, !llvm.loop !16

166:                                              ; preds = %139
  %167 = load i64, ptr %16, align 8, !tbaa !9
  %168 = load ptr, ptr %19, align 8, !tbaa !5
  %169 = load i64, ptr %20, align 8, !tbaa !9
  %170 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_PKS0_lPdS4_S4_S4_S1_S1_PNS_8ae_stateE(ptr noundef %26, ptr noundef %27, ptr noundef %28, i64 noundef %167, ptr noundef %29, ptr noundef %30, ptr noundef %168, i64 noundef %169, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %170)
  %171 = load i64, ptr %16, align 8, !tbaa !9
  %172 = load ptr, ptr %19, align 8, !tbaa !5
  %173 = load i64, ptr %20, align 8, !tbaa !9
  %174 = load i64, ptr %21, align 8, !tbaa !9
  %175 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_implL26lsfit_internalchebyshevfitEPKNS_9ae_vectorES2_S2_lS2_S2_S2_llPS0_PNS_11lsfitreportEPNS_8ae_stateE(ptr noundef %26, ptr noundef %27, ptr noundef %28, i64 noundef %171, ptr noundef %29, ptr noundef %30, ptr noundef %172, i64 noundef %173, i64 noundef %174, ptr noundef %39, ptr noundef %50, ptr noundef %175)
  %176 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %50, i32 0, i32 0
  %177 = load i64, ptr %176, align 8, !tbaa !18
  %178 = load ptr, ptr %23, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %178, i32 0, i32 0
  store i64 %177, ptr %179, align 8, !tbaa !22
  %180 = load ptr, ptr %23, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %180, i32 0, i32 0
  %182 = load i64, ptr %181, align 8, !tbaa !22
  %183 = icmp sle i64 %182, 0
  br i1 %183, label %184, label %186

184:                                              ; preds = %166
  %185 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %185)
  store i32 1, ptr %51, align 4
  br label %432

186:                                              ; preds = %166
  %187 = load i64, ptr %21, align 8, !tbaa !9
  %188 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %41, i64 noundef %187, ptr noundef %188)
  %189 = load i64, ptr %21, align 8, !tbaa !9
  %190 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %42, i64 noundef %189, ptr noundef %190)
  %191 = load i64, ptr %21, align 8, !tbaa !9
  %192 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %43, i64 noundef %191, ptr noundef %192)
  %193 = load i64, ptr %21, align 8, !tbaa !9
  %194 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %40, i64 noundef %193, ptr noundef %194)
  store double 1.000000e+00, ptr %48, align 8, !tbaa !24
  store i64 0, ptr %44, align 8, !tbaa !9
  br label %195

195:                                              ; preds = %312, %186
  %196 = load i64, ptr %44, align 8, !tbaa !9
  %197 = load i64, ptr %21, align 8, !tbaa !9
  %198 = sub nsw i64 %197, 1
  %199 = icmp sle i64 %196, %198
  br i1 %199, label %200, label %315

200:                                              ; preds = %195
  %201 = load i64, ptr %21, align 8, !tbaa !9
  %202 = icmp ne i64 %201, 1
  br i1 %202, label %203, label %213

203:                                              ; preds = %200
  %204 = load i64, ptr %44, align 8, !tbaa !9
  %205 = sitofp i64 %204 to double
  %206 = fmul double 0x400921FB54442D18, %205
  %207 = load i64, ptr %21, align 8, !tbaa !9
  %208 = sub nsw i64 %207, 1
  %209 = sitofp i64 %208 to double
  %210 = fdiv double %206, %209
  %211 = load ptr, ptr %24, align 8, !tbaa !5
  %212 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %210, ptr noundef %211)
  store double %212, ptr %46, align 8, !tbaa !24
  br label %214

213:                                              ; preds = %200
  store double 0.000000e+00, ptr %46, align 8, !tbaa !24
  br label %214

214:                                              ; preds = %213, %203
  store double 0.000000e+00, ptr %47, align 8, !tbaa !24
  store i64 0, ptr %45, align 8, !tbaa !9
  br label %215

215:                                              ; preds = %272, %214
  %216 = load i64, ptr %45, align 8, !tbaa !9
  %217 = load i64, ptr %21, align 8, !tbaa !9
  %218 = sub nsw i64 %217, 1
  %219 = icmp sle i64 %216, %218
  br i1 %219, label %220, label %275

220:                                              ; preds = %215
  %221 = load i64, ptr %45, align 8, !tbaa !9
  %222 = icmp eq i64 %221, 0
  br i1 %222, label %223, label %228

223:                                              ; preds = %220
  %224 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %40, i32 0, i32 4
  %225 = load ptr, ptr %224, align 8, !tbaa !15
  %226 = load i64, ptr %45, align 8, !tbaa !9
  %227 = getelementptr inbounds double, ptr %225, i64 %226
  store double 1.000000e+00, ptr %227, align 8, !tbaa !24
  br label %259

228:                                              ; preds = %220
  %229 = load i64, ptr %45, align 8, !tbaa !9
  %230 = icmp eq i64 %229, 1
  br i1 %230, label %231, label %237

231:                                              ; preds = %228
  %232 = load double, ptr %46, align 8, !tbaa !24
  %233 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %40, i32 0, i32 4
  %234 = load ptr, ptr %233, align 8, !tbaa !15
  %235 = load i64, ptr %45, align 8, !tbaa !9
  %236 = getelementptr inbounds double, ptr %234, i64 %235
  store double %232, ptr %236, align 8, !tbaa !24
  br label %258

237:                                              ; preds = %228
  %238 = load double, ptr %46, align 8, !tbaa !24
  %239 = fmul double 2.000000e+00, %238
  %240 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %40, i32 0, i32 4
  %241 = load ptr, ptr %240, align 8, !tbaa !15
  %242 = load i64, ptr %45, align 8, !tbaa !9
  %243 = sub nsw i64 %242, 1
  %244 = getelementptr inbounds double, ptr %241, i64 %243
  %245 = load double, ptr %244, align 8, !tbaa !24
  %246 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %40, i32 0, i32 4
  %247 = load ptr, ptr %246, align 8, !tbaa !15
  %248 = load i64, ptr %45, align 8, !tbaa !9
  %249 = sub nsw i64 %248, 2
  %250 = getelementptr inbounds double, ptr %247, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !24
  %252 = fneg double %251
  %253 = call double @llvm.fmuladd.f64(double %239, double %245, double %252)
  %254 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %40, i32 0, i32 4
  %255 = load ptr, ptr %254, align 8, !tbaa !15
  %256 = load i64, ptr %45, align 8, !tbaa !9
  %257 = getelementptr inbounds double, ptr %255, i64 %256
  store double %253, ptr %257, align 8, !tbaa !24
  br label %258

258:                                              ; preds = %237, %231
  br label %259

259:                                              ; preds = %258, %223
  %260 = load double, ptr %47, align 8, !tbaa !24
  %261 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %262 = load ptr, ptr %261, align 8, !tbaa !15
  %263 = load i64, ptr %45, align 8, !tbaa !9
  %264 = getelementptr inbounds double, ptr %262, i64 %263
  %265 = load double, ptr %264, align 8, !tbaa !24
  %266 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %40, i32 0, i32 4
  %267 = load ptr, ptr %266, align 8, !tbaa !15
  %268 = load i64, ptr %45, align 8, !tbaa !9
  %269 = getelementptr inbounds double, ptr %267, i64 %268
  %270 = load double, ptr %269, align 8, !tbaa !24
  %271 = call double @llvm.fmuladd.f64(double %265, double %270, double %260)
  store double %271, ptr %47, align 8, !tbaa !24
  br label %272

272:                                              ; preds = %259
  %273 = load i64, ptr %45, align 8, !tbaa !9
  %274 = add nsw i64 %273, 1
  store i64 %274, ptr %45, align 8, !tbaa !9
  br label %215, !llvm.loop !25

275:                                              ; preds = %215
  %276 = load double, ptr %46, align 8, !tbaa !24
  %277 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %41, i32 0, i32 4
  %278 = load ptr, ptr %277, align 8, !tbaa !15
  %279 = load i64, ptr %44, align 8, !tbaa !9
  %280 = getelementptr inbounds double, ptr %278, i64 %279
  store double %276, ptr %280, align 8, !tbaa !24
  %281 = load double, ptr %47, align 8, !tbaa !24
  %282 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %42, i32 0, i32 4
  %283 = load ptr, ptr %282, align 8, !tbaa !15
  %284 = load i64, ptr %44, align 8, !tbaa !9
  %285 = getelementptr inbounds double, ptr %283, i64 %284
  store double %281, ptr %285, align 8, !tbaa !24
  %286 = load double, ptr %48, align 8, !tbaa !24
  %287 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %43, i32 0, i32 4
  %288 = load ptr, ptr %287, align 8, !tbaa !15
  %289 = load i64, ptr %44, align 8, !tbaa !9
  %290 = getelementptr inbounds double, ptr %288, i64 %289
  store double %286, ptr %290, align 8, !tbaa !24
  %291 = load i64, ptr %44, align 8, !tbaa !9
  %292 = icmp eq i64 %291, 0
  br i1 %292, label %298, label %293

293:                                              ; preds = %275
  %294 = load i64, ptr %44, align 8, !tbaa !9
  %295 = load i64, ptr %21, align 8, !tbaa !9
  %296 = sub nsw i64 %295, 1
  %297 = icmp eq i64 %294, %296
  br i1 %297, label %298, label %309

298:                                              ; preds = %293, %275
  %299 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %43, i32 0, i32 4
  %300 = load ptr, ptr %299, align 8, !tbaa !15
  %301 = load i64, ptr %44, align 8, !tbaa !9
  %302 = getelementptr inbounds double, ptr %300, i64 %301
  %303 = load double, ptr %302, align 8, !tbaa !24
  %304 = fmul double 5.000000e-01, %303
  %305 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %43, i32 0, i32 4
  %306 = load ptr, ptr %305, align 8, !tbaa !15
  %307 = load i64, ptr %44, align 8, !tbaa !9
  %308 = getelementptr inbounds double, ptr %306, i64 %307
  store double %304, ptr %308, align 8, !tbaa !24
  br label %309

309:                                              ; preds = %298, %293
  %310 = load double, ptr %48, align 8, !tbaa !24
  %311 = fneg double %310
  store double %311, ptr %48, align 8, !tbaa !24
  br label %312

312:                                              ; preds = %309
  %313 = load i64, ptr %44, align 8, !tbaa !9
  %314 = add nsw i64 %313, 1
  store i64 %314, ptr %44, align 8, !tbaa !9
  br label %195, !llvm.loop !26

315:                                              ; preds = %195
  %316 = load i64, ptr %21, align 8, !tbaa !9
  %317 = load ptr, ptr %22, align 8, !tbaa !5
  %318 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl19barycentricbuildxywEPKNS_9ae_vectorES2_S2_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %41, ptr noundef %42, ptr noundef %43, i64 noundef %316, ptr noundef %317, ptr noundef %318)
  %319 = load ptr, ptr %22, align 8, !tbaa !5
  %320 = load double, ptr %32, align 8, !tbaa !24
  %321 = load double, ptr %31, align 8, !tbaa !24
  %322 = fsub double %320, %321
  %323 = fdiv double 2.000000e+00, %322
  %324 = load double, ptr %31, align 8, !tbaa !24
  %325 = load double, ptr %32, align 8, !tbaa !24
  %326 = fadd double %324, %325
  %327 = fneg double %326
  %328 = load double, ptr %32, align 8, !tbaa !24
  %329 = load double, ptr %31, align 8, !tbaa !24
  %330 = fsub double %328, %329
  %331 = fdiv double %327, %330
  %332 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %319, double noundef %323, double noundef %331, ptr noundef %332)
  %333 = load ptr, ptr %22, align 8, !tbaa !5
  %334 = load double, ptr %34, align 8, !tbaa !24
  %335 = load double, ptr %33, align 8, !tbaa !24
  %336 = fsub double %334, %335
  %337 = load double, ptr %33, align 8, !tbaa !24
  %338 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %333, double noundef %336, double noundef %337, ptr noundef %338)
  %339 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %50, i32 0, i32 1
  %340 = load double, ptr %339, align 8, !tbaa !27
  %341 = load ptr, ptr %23, align 8, !tbaa !5
  %342 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %341, i32 0, i32 1
  store double %340, ptr %342, align 8, !tbaa !28
  %343 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %50, i32 0, i32 4
  %344 = load double, ptr %343, align 8, !tbaa !29
  %345 = load double, ptr %34, align 8, !tbaa !24
  %346 = load double, ptr %33, align 8, !tbaa !24
  %347 = fsub double %345, %346
  %348 = fmul double %344, %347
  %349 = load ptr, ptr %23, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %349, i32 0, i32 2
  store double %348, ptr %350, align 8, !tbaa !30
  %351 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %50, i32 0, i32 5
  %352 = load double, ptr %351, align 8, !tbaa !31
  %353 = load double, ptr %34, align 8, !tbaa !24
  %354 = load double, ptr %33, align 8, !tbaa !24
  %355 = fsub double %353, %354
  %356 = fmul double %352, %355
  %357 = load ptr, ptr %23, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %357, i32 0, i32 3
  store double %356, ptr %358, align 8, !tbaa !32
  %359 = getelementptr inbounds %"struct.alglib_impl::lsfitreport", ptr %50, i32 0, i32 7
  %360 = load double, ptr %359, align 8, !tbaa !33
  %361 = load double, ptr %34, align 8, !tbaa !24
  %362 = load double, ptr %33, align 8, !tbaa !24
  %363 = fsub double %361, %362
  %364 = fmul double %360, %363
  %365 = load ptr, ptr %23, align 8, !tbaa !5
  %366 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %365, i32 0, i32 5
  store double %364, ptr %366, align 8, !tbaa !34
  %367 = load ptr, ptr %23, align 8, !tbaa !5
  %368 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %367, i32 0, i32 4
  store double 0.000000e+00, ptr %368, align 8, !tbaa !35
  store i64 0, ptr %49, align 8, !tbaa !9
  store i64 0, ptr %44, align 8, !tbaa !9
  br label %369

369:                                              ; preds = %415, %315
  %370 = load i64, ptr %44, align 8, !tbaa !9
  %371 = load i64, ptr %16, align 8, !tbaa !9
  %372 = sub nsw i64 %371, 1
  %373 = icmp sle i64 %370, %372
  br i1 %373, label %374, label %418

374:                                              ; preds = %369
  %375 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %376 = load ptr, ptr %375, align 8, !tbaa !15
  %377 = load i64, ptr %44, align 8, !tbaa !9
  %378 = getelementptr inbounds double, ptr %376, i64 %377
  %379 = load double, ptr %378, align 8, !tbaa !24
  %380 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %379, double noundef 0.000000e+00)
  br i1 %380, label %381, label %414

381:                                              ; preds = %374
  %382 = load ptr, ptr %23, align 8, !tbaa !5
  %383 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %382, i32 0, i32 4
  %384 = load double, ptr %383, align 8, !tbaa !35
  %385 = load ptr, ptr %22, align 8, !tbaa !5
  %386 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %35, i32 0, i32 4
  %387 = load ptr, ptr %386, align 8, !tbaa !15
  %388 = load i64, ptr %44, align 8, !tbaa !9
  %389 = getelementptr inbounds double, ptr %387, i64 %388
  %390 = load double, ptr %389, align 8, !tbaa !24
  %391 = load ptr, ptr %24, align 8, !tbaa !5
  %392 = call noundef double @_ZN11alglib_impl15barycentriccalcEPKNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %385, double noundef %390, ptr noundef %391)
  %393 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %394 = load ptr, ptr %393, align 8, !tbaa !15
  %395 = load i64, ptr %44, align 8, !tbaa !9
  %396 = getelementptr inbounds double, ptr %394, i64 %395
  %397 = load double, ptr %396, align 8, !tbaa !24
  %398 = fsub double %392, %397
  %399 = load ptr, ptr %24, align 8, !tbaa !5
  %400 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %398, ptr noundef %399)
  %401 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %402 = load ptr, ptr %401, align 8, !tbaa !15
  %403 = load i64, ptr %44, align 8, !tbaa !9
  %404 = getelementptr inbounds double, ptr %402, i64 %403
  %405 = load double, ptr %404, align 8, !tbaa !24
  %406 = load ptr, ptr %24, align 8, !tbaa !5
  %407 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %405, ptr noundef %406)
  %408 = fdiv double %400, %407
  %409 = fadd double %384, %408
  %410 = load ptr, ptr %23, align 8, !tbaa !5
  %411 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %410, i32 0, i32 4
  store double %409, ptr %411, align 8, !tbaa !35
  %412 = load i64, ptr %49, align 8, !tbaa !9
  %413 = add nsw i64 %412, 1
  store i64 %413, ptr %49, align 8, !tbaa !9
  br label %414

414:                                              ; preds = %381, %374
  br label %415

415:                                              ; preds = %414
  %416 = load i64, ptr %44, align 8, !tbaa !9
  %417 = add nsw i64 %416, 1
  store i64 %417, ptr %44, align 8, !tbaa !9
  br label %369, !llvm.loop !36

418:                                              ; preds = %369
  %419 = load i64, ptr %49, align 8, !tbaa !9
  %420 = icmp ne i64 %419, 0
  br i1 %420, label %421, label %430

421:                                              ; preds = %418
  %422 = load ptr, ptr %23, align 8, !tbaa !5
  %423 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %422, i32 0, i32 4
  %424 = load double, ptr %423, align 8, !tbaa !35
  %425 = load i64, ptr %49, align 8, !tbaa !9
  %426 = sitofp i64 %425 to double
  %427 = fdiv double %424, %426
  %428 = load ptr, ptr %23, align 8, !tbaa !5
  %429 = getelementptr inbounds %"struct.alglib_impl::polynomialfitreport", ptr %428, i32 0, i32 4
  store double %427, ptr %429, align 8, !tbaa !35
  br label %430

430:                                              ; preds = %421, %418
  %431 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %431)
  store i32 0, ptr %51, align 4
  br label %432

432:                                              ; preds = %430, %184
  call void @llvm.lifetime.end.p0(i64 352, 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 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 64, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 64, 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 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 64, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #5
  %433 = load i32, ptr %51, align 4
  switch i32 %433, label %435 [
    i32 0, label %434
    i32 1, label %434
  ]

434:                                              ; preds = %432, %432
  ret void

435:                                              ; preds = %432
  unreachable
}

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

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr 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_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_PKS0_lPdS4_S4_S4_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_internalchebyshevfitEPKNS_9ae_vectorES2_S2_lS2_S2_S2_llPS0_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) #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, !10, i64 0}
!19 = !{!"_ZTSN11alglib_impl11lsfitreportE", !10, i64 0, !20, i64 8, !10, i64 16, !10, i64 24, !20, i64 32, !20, i64 40, !20, i64 48, !20, i64 56, !20, i64 64, !21, i64 72, !12, i64 152, !12, i64 216, !12, i64 280, !20, i64 344}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !14, i64 40, !7, i64 72}
!22 = !{!23, !10, i64 0}
!23 = !{!"_ZTSN11alglib_impl19polynomialfitreportE", !10, i64 0, !20, i64 8, !20, i64 16, !20, i64 24, !20, i64 32, !20, i64 40}
!24 = !{!20, !20, i64 0}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}
!27 = !{!19, !20, i64 8}
!28 = !{!23, !20, i64 8}
!29 = !{!19, !20, i64 32}
!30 = !{!23, !20, i64 16}
!31 = !{!19, !20, i64 40}
!32 = !{!23, !20, i64 24}
!33 = !{!19, !20, i64 56}
!34 = !{!23, !20, i64 40}
!35 = !{!23, !20, i64 32}
!36 = distinct !{!36, !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 { i64, 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.425 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.426 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.427 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.428 = external hidden unnamed_addr constant [23 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 [30 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 [31 x i8], align 1
@.str.435 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.436 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.437 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.438 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.439 = 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_impl15barycentriccalcEPKNS_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_impl19barycentricbuildxywEPKNS_9ae_vectorES2_S2_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_impl15polynomialfitwcEPKNS_9ae_vectorES2_S2_lS2_S2_S2_llPNS_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) local_unnamed_addr #3 {
  %13 = alloca %"struct.alglib_impl::ae_frame", 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 double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, 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 %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca %"struct.alglib_impl::ae_vector", align 8
  %32 = alloca %"struct.alglib_impl::lsfitreport", align 8
  call void @llvm.lifetime.start.p0(i64 32, 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 8, 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 64, 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 352, ptr nonnull %32) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %11, ptr noundef nonnull %13)
  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) %23, 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(352) %32, i8 0, i64 352, i1 false)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %14, ptr noundef %0, ptr noundef %11, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %15, ptr noundef %1, ptr noundef %11, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %16, ptr noundef %2, ptr noundef %11, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %17, ptr noundef %4, ptr noundef %11, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %18, ptr noundef %5, ptr noundef %11, i1 noundef zeroext true)
  call void @_ZN11alglib_impl29_barycentricinterpolant_clearEPv(ptr noundef %9)
  call void @_ZN11alglib_impl26_polynomialfitreport_clearEPv(ptr noundef %10)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %23, i64 noundef 0, i64 noundef 3, ptr noundef %11, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %24, i64 noundef 0, i64 noundef 3, ptr noundef %11, 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 %11, 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 %11, 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 %11, 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 %11, 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 %11, 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 %11, 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 %11, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_lsfitreport_initEPvPNS_8ae_stateEb(ptr noundef nonnull %32, ptr noundef %11, i1 noundef zeroext true)
  %33 = icmp sgt i64 %3, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %33, ptr noundef nonnull @.str.425, ptr noundef %11)
  %34 = icmp sgt i64 %8, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %34, ptr noundef nonnull @.str.426, ptr noundef %11)
  %35 = icmp sgt i64 %7, -1
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %35, ptr noundef nonnull @.str.427, ptr noundef %11)
  %36 = icmp slt i64 %7, %8
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %36, ptr noundef nonnull @.str.428, ptr noundef %11)
  %37 = load i64, ptr %14, align 8, !tbaa !5
  %38 = icmp sge i64 %37, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %38, ptr noundef nonnull @.str.429, ptr noundef %11)
  %39 = load i64, ptr %15, align 8, !tbaa !5
  %40 = icmp sge i64 %39, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %40, ptr noundef nonnull @.str.430, ptr noundef %11)
  %41 = load i64, ptr %16, align 8, !tbaa !5
  %42 = icmp sge i64 %41, %3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %42, ptr noundef nonnull @.str.431, ptr noundef %11)
  %43 = load i64, ptr %17, align 8, !tbaa !5
  %44 = icmp sge i64 %43, %7
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %44, ptr noundef nonnull @.str.432, ptr noundef %11)
  %45 = load i64, ptr %18, align 8, !tbaa !5
  %46 = icmp sge i64 %45, %7
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %46, ptr noundef nonnull @.str.433, ptr noundef %11)
  %47 = load i64, ptr %6, align 8, !tbaa !5
  %48 = icmp sge i64 %47, %7
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %48, ptr noundef nonnull @.str.434, ptr noundef %11)
  %49 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %3, ptr noundef %11)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %49, ptr noundef nonnull @.str.435, ptr noundef %11)
  %50 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %3, ptr noundef %11)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %50, ptr noundef nonnull @.str.436, ptr noundef %11)
  %51 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %3, ptr noundef %11)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %51, ptr noundef nonnull @.str.435, ptr noundef %11)
  %52 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef %7, ptr noundef %11)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %52, ptr noundef nonnull @.str.437, ptr noundef %11)
  %53 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %7, ptr noundef %11)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %53, ptr noundef nonnull @.str.438, ptr noundef %11)
  %.not.not164 = icmp sgt i64 %7, 0
  br i1 %.not.not164, label %.lr.ph, label %._crit_edge

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

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

._crit_edge:                                      ; preds = %55, %12
  call void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_PKS0_lPdS4_S4_S4_S1_S1_PNS_8ae_stateE(ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, i64 noundef %3, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %6, i64 noundef %7, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef %11)
  call void @_ZN11alglib_implL26lsfit_internalchebyshevfitEPKNS_9ae_vectorES2_S2_lS2_S2_S2_llPS0_PNS_11lsfitreportEPNS_8ae_stateE(ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, i64 noundef %3, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %6, i64 noundef %7, i64 noundef %8, ptr noundef nonnull %27, ptr noundef nonnull %32, ptr noundef %11)
  %60 = load i64, ptr %32, align 8, !tbaa !17
  store i64 %60, ptr %10, align 8, !tbaa !21
  %61 = icmp slt i64 %60, 1
  br i1 %61, label %._crit_edge188.thread, label %62

62:                                               ; preds = %._crit_edge
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %29, i64 noundef %8, ptr noundef %11)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %30, i64 noundef %8, ptr noundef %11)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %31, i64 noundef %8, ptr noundef %11)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %28, i64 noundef %8, ptr noundef %11)
  %63 = add nsw i64 %8, -1
  br i1 %34, label %.lr.ph176, label %._crit_edge177

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

70:                                               ; preds = %82, %.lr.ph176
  %.0152174.us = phi double [ 1.000000e+00, %.lr.ph176 ], [ %83, %82 ]
  %.1157173.us = phi i64 [ 0, %.lr.ph176 ], [ %84, %82 ]
  br i1 %.not162, label %.lr.ph170.us, label %71

71:                                               ; preds = %70
  %72 = uitofp nneg i64 %.1157173.us to double
  %73 = fmul double %72, 0x400921FB54442D18
  %74 = fdiv double %73, %64
  %75 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %74, ptr noundef %11)
  br label %.lr.ph170.us

.lr.ph170.us:                                     ; preds = %71, %70
  %.0154.us = phi double [ %75, %71 ], [ 0.000000e+00, %70 ]
  %76 = fmul double %.0154.us, 2.000000e+00
  br label %85

77:                                               ; preds = %._crit_edge171.us
  %78 = load ptr, ptr %69, align 8, !tbaa !13
  %79 = getelementptr inbounds double, ptr %78, i64 %.1157173.us
  %80 = load double, ptr %79, align 8, !tbaa !23
  %81 = fmul double %80, 5.000000e-01
  store double %81, ptr %79, align 8, !tbaa !23
  br label %82

82:                                               ; preds = %77, %._crit_edge171.us
  %83 = fneg double %.0152174.us
  %84 = add nuw nsw i64 %.1157173.us, 1
  %exitcond190.not = icmp eq i64 %84, %8
  br i1 %exitcond190.not, label %._crit_edge177, label %70, !llvm.loop !24

85:                                               ; preds = %.lr.ph170.us, %98
  %.0153168.us = phi double [ 0.000000e+00, %.lr.ph170.us ], [ %105, %98 ]
  %.0155167.us = phi i64 [ 0, %.lr.ph170.us ], [ %106, %98 ]
  %86 = load ptr, ptr %65, align 8, !tbaa !13
  switch i64 %.0155167.us, label %90 [
    i64 0, label %89
    i64 1, label %87
  ]

87:                                               ; preds = %85
  %88 = getelementptr inbounds i8, ptr %86, i64 8
  store double %.0154.us, ptr %88, align 8, !tbaa !23
  br label %98

89:                                               ; preds = %85
  store double 1.000000e+00, ptr %86, align 8, !tbaa !23
  br label %98

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

98:                                               ; preds = %90, %89, %87
  %99 = load ptr, ptr %66, align 8, !tbaa !13
  %100 = getelementptr inbounds double, ptr %99, i64 %.0155167.us
  %101 = load double, ptr %100, align 8, !tbaa !23
  %102 = load ptr, ptr %65, align 8, !tbaa !13
  %103 = getelementptr inbounds double, ptr %102, i64 %.0155167.us
  %104 = load double, ptr %103, align 8, !tbaa !23
  %105 = call double @llvm.fmuladd.f64(double %101, double %104, double %.0153168.us)
  %106 = add nuw nsw i64 %.0155167.us, 1
  %exitcond189.not = icmp eq i64 %106, %8
  br i1 %exitcond189.not, label %._crit_edge171.us, label %85, !llvm.loop !25

._crit_edge171.us:                                ; preds = %98
  %107 = load ptr, ptr %67, align 8, !tbaa !13
  %108 = getelementptr inbounds double, ptr %107, i64 %.1157173.us
  store double %.0154.us, ptr %108, align 8, !tbaa !23
  %109 = load ptr, ptr %68, align 8, !tbaa !13
  %110 = getelementptr inbounds double, ptr %109, i64 %.1157173.us
  store double %105, ptr %110, align 8, !tbaa !23
  %111 = load ptr, ptr %69, align 8, !tbaa !13
  %112 = getelementptr inbounds double, ptr %111, i64 %.1157173.us
  store double %.0152174.us, ptr %112, align 8, !tbaa !23
  %113 = icmp eq i64 %.1157173.us, 0
  %114 = icmp eq i64 %.1157173.us, %63
  %or.cond.us = select i1 %113, i1 true, i1 %114
  br i1 %or.cond.us, label %77, label %82

._crit_edge177:                                   ; preds = %82, %62
  call void @_ZN11alglib_impl19barycentricbuildxywEPKNS_9ae_vectorES2_S2_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %29, ptr noundef nonnull %30, ptr noundef nonnull %31, i64 noundef %8, ptr noundef %9, ptr noundef %11)
  %115 = load double, ptr %20, align 8, !tbaa !23
  %116 = load double, ptr %19, align 8, !tbaa !23
  %117 = fsub double %115, %116
  %118 = fdiv double 2.000000e+00, %117
  %119 = fadd double %115, %116
  %120 = fneg double %119
  %121 = fdiv double %120, %117
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %9, double noundef %118, double noundef %121, ptr noundef %11)
  %122 = load double, ptr %22, align 8, !tbaa !23
  %123 = load double, ptr %21, align 8, !tbaa !23
  %124 = fsub double %122, %123
  call void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %9, double noundef %124, double noundef %123, ptr noundef %11)
  %125 = getelementptr inbounds i8, ptr %32, i64 8
  %126 = load double, ptr %125, align 8, !tbaa !26
  %127 = getelementptr inbounds i8, ptr %10, i64 8
  store double %126, ptr %127, align 8, !tbaa !27
  %128 = getelementptr inbounds i8, ptr %32, i64 32
  %129 = load double, ptr %22, align 8, !tbaa !23
  %130 = load double, ptr %21, align 8, !tbaa !23
  %131 = fsub double %129, %130
  %132 = getelementptr inbounds i8, ptr %10, i64 16
  %133 = load <2 x double>, ptr %128, align 8, !tbaa !23
  %134 = insertelement <2 x double> poison, double %131, i64 0
  %135 = shufflevector <2 x double> %134, <2 x double> poison, <2 x i32> zeroinitializer
  %136 = fmul <2 x double> %133, %135
  store <2 x double> %136, ptr %132, align 8, !tbaa !23
  %137 = getelementptr inbounds i8, ptr %32, i64 56
  %138 = load double, ptr %137, align 8, !tbaa !28
  %139 = fmul double %131, %138
  %140 = getelementptr inbounds i8, ptr %10, i64 40
  store double %139, ptr %140, align 8, !tbaa !29
  %141 = getelementptr inbounds i8, ptr %10, i64 32
  store double 0.000000e+00, ptr %141, align 8, !tbaa !30
  br i1 %33, label %.lr.ph187, label %._crit_edge188.thread

.lr.ph187:                                        ; preds = %._crit_edge177
  %142 = getelementptr inbounds i8, ptr %24, i64 56
  %143 = getelementptr inbounds i8, ptr %23, i64 56
  br label %144

144:                                              ; preds = %.lr.ph187, %167
  %.0185 = phi i64 [ 0, %.lr.ph187 ], [ %.1, %167 ]
  %.2184 = phi i64 [ 0, %.lr.ph187 ], [ %168, %167 ]
  %145 = load ptr, ptr %142, align 8, !tbaa !13
  %146 = getelementptr inbounds double, ptr %145, i64 %.2184
  %147 = load double, ptr %146, align 8, !tbaa !23
  %148 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %147, double noundef 0.000000e+00)
  br i1 %148, label %149, label %167

149:                                              ; preds = %144
  %150 = load double, ptr %141, align 8, !tbaa !30
  %151 = load ptr, ptr %143, align 8, !tbaa !13
  %152 = getelementptr inbounds double, ptr %151, i64 %.2184
  %153 = load double, ptr %152, align 8, !tbaa !23
  %154 = call noundef double @_ZN11alglib_impl15barycentriccalcEPKNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %9, double noundef %153, ptr noundef %11)
  %155 = load ptr, ptr %142, align 8, !tbaa !13
  %156 = getelementptr inbounds double, ptr %155, i64 %.2184
  %157 = load double, ptr %156, align 8, !tbaa !23
  %158 = fsub double %154, %157
  %159 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %158, ptr noundef %11)
  %160 = load ptr, ptr %142, align 8, !tbaa !13
  %161 = getelementptr inbounds double, ptr %160, i64 %.2184
  %162 = load double, ptr %161, align 8, !tbaa !23
  %163 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %162, ptr noundef %11)
  %164 = fdiv double %159, %163
  %165 = fadd double %150, %164
  store double %165, ptr %141, align 8, !tbaa !30
  %166 = add nsw i64 %.0185, 1
  br label %167

167:                                              ; preds = %144, %149
  %.1 = phi i64 [ %166, %149 ], [ %.0185, %144 ]
  %168 = add nuw nsw i64 %.2184, 1
  %exitcond191.not = icmp eq i64 %168, %3
  br i1 %exitcond191.not, label %._crit_edge188, label %144, !llvm.loop !31

._crit_edge188:                                   ; preds = %167
  %.not = icmp eq i64 %.1, 0
  br i1 %.not, label %._crit_edge188.thread, label %169

169:                                              ; preds = %._crit_edge188
  %170 = load double, ptr %141, align 8, !tbaa !30
  %171 = sitofp i64 %.1 to double
  %172 = fdiv double %170, %171
  store double %172, ptr %141, align 8, !tbaa !30
  br label %._crit_edge188.thread

._crit_edge188.thread:                            ; preds = %._crit_edge188, %169, %._crit_edge177, %._crit_edge
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %11)
  call void @llvm.lifetime.end.p0(i64 352, 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 64, 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 8, 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 32, ptr nonnull %13) #5
  ret void
}

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double 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 zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double 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 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_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl12lsfitscalexyEPNS_9ae_vectorES1_S1_lS1_S1_PKS0_lPdS4_S4_S4_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_internalchebyshevfitEPKNS_9ae_vectorES2_S2_lS2_S2_S2_llPS0_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) 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 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !7, i64 0}
!18 = !{!"_ZTSN11alglib_impl11lsfitreportE", !7, i64 0, !19, i64 8, !7, i64 16, !7, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !20, i64 72, !6, i64 152, !6, i64 216, !6, i64 280, !19, i64 344}
!19 = !{!"double", !8, i64 0}
!20 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!21 = !{!22, !7, i64 0}
!22 = !{!"_ZTSN11alglib_impl19polynomialfitreportE", !7, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40}
!23 = !{!19, !19, i64 0}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = !{!18, !19, i64 8}
!27 = !{!22, !19, i64 8}
!28 = !{!18, !19, i64 56}
!29 = !{!22, !19, i64 40}
!30 = !{!22, !19, i64 32}
!31 = distinct !{!31, !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