; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z10testratintbPN11alglib_impl8ae_stateE)

; 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::barycentricinterpolant" = type { i64, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.611 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.612 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.613 = external hidden unnamed_addr constant [42 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

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

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

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #1

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

declare noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef, ptr noundef) #1

declare i32 @printf(ptr noundef, ...) #1

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #1

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

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) #1

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

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

declare noundef double @_ZN11alglib_impl6ae_sinEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10testratintbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #4 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i64, align 8
  %12 = alloca %"struct.alglib_impl::barycentricinterpolant", align 8
  %13 = alloca %"struct.alglib_impl::barycentricinterpolant", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca %"struct.alglib_impl::ae_vector", align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca i8, align 1
  %46 = zext i1 %0 to i8
  store i8 %46, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 208, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 208, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #5
  %47 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %47, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 208, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 208, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %20, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 64, i1 false)
  %48 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl28_barycentricinterpolant_initEPvPNS_8ae_stateEb(ptr noundef %12, ptr noundef %48, i1 noundef zeroext true)
  %49 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl28_barycentricinterpolant_initEPvPNS_8ae_stateEb(ptr noundef %13, ptr noundef %49, i1 noundef zeroext true)
  %50 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %14, i64 noundef 0, i64 noundef 3, ptr noundef %50, i1 noundef zeroext true)
  %51 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %15, i64 noundef 0, i64 noundef 3, ptr noundef %51, i1 noundef zeroext true)
  %52 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %16, i64 noundef 0, i64 noundef 3, ptr noundef %52, i1 noundef zeroext true)
  %53 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %17, i64 noundef 0, i64 noundef 3, ptr noundef %53, i1 noundef zeroext true)
  %54 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %18, i64 noundef 0, i64 noundef 3, ptr noundef %54, i1 noundef zeroext true)
  %55 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %19, i64 noundef 0, i64 noundef 3, ptr noundef %55, i1 noundef zeroext true)
  %56 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %20, i64 noundef 0, i64 noundef 3, ptr noundef %56, i1 noundef zeroext true)
  %57 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %21, i64 noundef 0, i64 noundef 3, ptr noundef %57, i1 noundef zeroext true)
  %58 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %22, i64 noundef 0, i64 noundef 2, ptr noundef %58, i1 noundef zeroext true)
  store i8 0, ptr %8, align 1, !tbaa !5
  store i8 0, ptr %7, align 1, !tbaa !5
  store i8 0, ptr %6, align 1, !tbaa !5
  store i64 5, ptr %11, align 8, !tbaa !11
  store double 5.000000e-10, ptr %9, align 8, !tbaa !13
  store double 1.300000e+00, ptr %10, align 8, !tbaa !13
  store i64 1, ptr %26, align 8, !tbaa !11
  br label %59

59:                                               ; preds = %699, %2
  %60 = load i64, ptr %26, align 8, !tbaa !11
  %61 = icmp sle i64 %60, 10
  br i1 %61, label %62, label %702

62:                                               ; preds = %59
  store i64 1, ptr %32, align 8, !tbaa !11
  br label %63

63:                                               ; preds = %695, %62
  %64 = load i64, ptr %32, align 8, !tbaa !11
  %65 = load i64, ptr %11, align 8, !tbaa !11
  %66 = icmp sle i64 %64, %65
  br i1 %66, label %67, label %698

67:                                               ; preds = %63
  %68 = load ptr, ptr %4, align 8, !tbaa !9
  %69 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %68)
  %70 = call double @llvm.fmuladd.f64(double 4.000000e-01, double %69, double 1.000000e+00)
  %71 = fsub double %70, 2.000000e-01
  store double %71, ptr %38, align 8, !tbaa !13
  %72 = load ptr, ptr %4, align 8, !tbaa !9
  %73 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %72)
  %74 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %73, double -1.000000e+00)
  store double %74, ptr %39, align 8, !tbaa !13
  %75 = load ptr, ptr %4, align 8, !tbaa !9
  %76 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %75)
  %77 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %76, double -1.000000e+00)
  store double %77, ptr %40, align 8, !tbaa !13
  %78 = load ptr, ptr %4, align 8, !tbaa !9
  %79 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %78)
  %80 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %79, double -1.000000e+00)
  store double %80, ptr %41, align 8, !tbaa !13
  %81 = load i64, ptr %26, align 8, !tbaa !11
  %82 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef %81, ptr noundef %82)
  %83 = load i64, ptr %26, align 8, !tbaa !11
  %84 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef %83, ptr noundef %84)
  %85 = load i64, ptr %26, align 8, !tbaa !11
  %86 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef %85, ptr noundef %86)
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %87

87:                                               ; preds = %150, %67
  %88 = load i64, ptr %28, align 8, !tbaa !11
  %89 = load i64, ptr %26, align 8, !tbaa !11
  %90 = sub nsw i64 %89, 1
  %91 = icmp sle i64 %88, %90
  br i1 %91, label %92, label %153

92:                                               ; preds = %87
  %93 = load i64, ptr %26, align 8, !tbaa !11
  %94 = icmp eq i64 %93, 1
  br i1 %94, label %95, label %100

95:                                               ; preds = %92
  %96 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %97 = load ptr, ptr %96, align 8, !tbaa !15
  %98 = load i64, ptr %28, align 8, !tbaa !11
  %99 = getelementptr inbounds double, ptr %97, i64 %98
  store double 0.000000e+00, ptr %99, align 8, !tbaa !13
  br label %116

100:                                              ; preds = %92
  %101 = load double, ptr %38, align 8, !tbaa !13
  %102 = load i64, ptr %28, align 8, !tbaa !11
  %103 = sitofp i64 %102 to double
  %104 = fmul double %103, 0x400921FB54442D18
  %105 = load i64, ptr %26, align 8, !tbaa !11
  %106 = sub nsw i64 %105, 1
  %107 = sitofp i64 %106 to double
  %108 = fdiv double %104, %107
  %109 = load ptr, ptr %4, align 8, !tbaa !9
  %110 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %108, ptr noundef %109)
  %111 = fmul double %101, %110
  %112 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %113 = load ptr, ptr %112, align 8, !tbaa !15
  %114 = load i64, ptr %28, align 8, !tbaa !11
  %115 = getelementptr inbounds double, ptr %113, i64 %114
  store double %111, ptr %115, align 8, !tbaa !13
  br label %116

116:                                              ; preds = %100, %95
  %117 = load double, ptr %39, align 8, !tbaa !13
  %118 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %119 = load ptr, ptr %118, align 8, !tbaa !15
  %120 = load i64, ptr %28, align 8, !tbaa !11
  %121 = getelementptr inbounds double, ptr %119, i64 %120
  %122 = load double, ptr %121, align 8, !tbaa !13
  %123 = fmul double %117, %122
  %124 = load ptr, ptr %4, align 8, !tbaa !9
  %125 = call noundef double @_ZN11alglib_impl6ae_sinEdPNS_8ae_stateE(double noundef %123, ptr noundef %124)
  %126 = load double, ptr %40, align 8, !tbaa !13
  %127 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = load i64, ptr %28, align 8, !tbaa !11
  %130 = getelementptr inbounds double, ptr %128, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !13
  %132 = fmul double %126, %131
  %133 = load ptr, ptr %4, align 8, !tbaa !9
  %134 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %132, ptr noundef %133)
  %135 = fadd double %125, %134
  %136 = load double, ptr %41, align 8, !tbaa !13
  %137 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %138 = load ptr, ptr %137, align 8, !tbaa !15
  %139 = load i64, ptr %28, align 8, !tbaa !11
  %140 = getelementptr inbounds double, ptr %138, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !13
  %142 = fmul double %136, %141
  %143 = load ptr, ptr %4, align 8, !tbaa !9
  %144 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %142, ptr noundef %143)
  %145 = fadd double %135, %144
  %146 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %147 = load ptr, ptr %146, align 8, !tbaa !15
  %148 = load i64, ptr %28, align 8, !tbaa !11
  %149 = getelementptr inbounds double, ptr %147, i64 %148
  store double %145, ptr %149, align 8, !tbaa !13
  br label %150

150:                                              ; preds = %116
  %151 = load i64, ptr %28, align 8, !tbaa !11
  %152 = add nsw i64 %151, 1
  store i64 %152, ptr %28, align 8, !tbaa !11
  br label %87, !llvm.loop !16

153:                                              ; preds = %87
  store i64 0, ptr %29, align 8, !tbaa !11
  br label %154

154:                                              ; preds = %200, %153
  %155 = load i64, ptr %29, align 8, !tbaa !11
  %156 = load i64, ptr %26, align 8, !tbaa !11
  %157 = sub nsw i64 %156, 1
  %158 = icmp sle i64 %155, %157
  br i1 %158, label %159, label %203

159:                                              ; preds = %154
  %160 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %161 = load ptr, ptr %160, align 8, !tbaa !15
  %162 = load i64, ptr %29, align 8, !tbaa !11
  %163 = getelementptr inbounds double, ptr %161, i64 %162
  store double 1.000000e+00, ptr %163, align 8, !tbaa !13
  store i64 0, ptr %30, align 8, !tbaa !11
  br label %164

164:                                              ; preds = %196, %159
  %165 = load i64, ptr %30, align 8, !tbaa !11
  %166 = load i64, ptr %26, align 8, !tbaa !11
  %167 = sub nsw i64 %166, 1
  %168 = icmp sle i64 %165, %167
  br i1 %168, label %169, label %199

169:                                              ; preds = %164
  %170 = load i64, ptr %30, align 8, !tbaa !11
  %171 = load i64, ptr %29, align 8, !tbaa !11
  %172 = icmp ne i64 %170, %171
  br i1 %172, label %173, label %195

173:                                              ; preds = %169
  %174 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %175 = load ptr, ptr %174, align 8, !tbaa !15
  %176 = load i64, ptr %29, align 8, !tbaa !11
  %177 = getelementptr inbounds double, ptr %175, i64 %176
  %178 = load double, ptr %177, align 8, !tbaa !13
  %179 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %180 = load ptr, ptr %179, align 8, !tbaa !15
  %181 = load i64, ptr %29, align 8, !tbaa !11
  %182 = getelementptr inbounds double, ptr %180, i64 %181
  %183 = load double, ptr %182, align 8, !tbaa !13
  %184 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %185 = load ptr, ptr %184, align 8, !tbaa !15
  %186 = load i64, ptr %30, align 8, !tbaa !11
  %187 = getelementptr inbounds double, ptr %185, i64 %186
  %188 = load double, ptr %187, align 8, !tbaa !13
  %189 = fsub double %183, %188
  %190 = fdiv double %178, %189
  %191 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %192 = load ptr, ptr %191, align 8, !tbaa !15
  %193 = load i64, ptr %29, align 8, !tbaa !11
  %194 = getelementptr inbounds double, ptr %192, i64 %193
  store double %190, ptr %194, align 8, !tbaa !13
  br label %195

195:                                              ; preds = %173, %169
  br label %196

196:                                              ; preds = %195
  %197 = load i64, ptr %30, align 8, !tbaa !11
  %198 = add nsw i64 %197, 1
  store i64 %198, ptr %30, align 8, !tbaa !11
  br label %164, !llvm.loop !18

199:                                              ; preds = %164
  br label %200

200:                                              ; preds = %199
  %201 = load i64, ptr %29, align 8, !tbaa !11
  %202 = add nsw i64 %201, 1
  store i64 %202, ptr %29, align 8, !tbaa !11
  br label %154, !llvm.loop !19

203:                                              ; preds = %154
  %204 = load i64, ptr %26, align 8, !tbaa !11
  %205 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, ptr noundef %18, i64 noundef %204, ptr noundef %12, ptr noundef %205)
  %206 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %13, ptr noundef %206)
  %207 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl17barycentricunpackEPNS_22barycentricinterpolantEPlPNS_9ae_vectorES4_S4_PNS_8ae_stateE(ptr noundef %12, ptr noundef %27, ptr noundef %15, ptr noundef %17, ptr noundef %19, ptr noundef %207)
  %208 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %209 = trunc i8 %208 to i1
  br i1 %209, label %214, label %210

210:                                              ; preds = %203
  %211 = load i64, ptr %27, align 8, !tbaa !11
  %212 = load i64, ptr %26, align 8, !tbaa !11
  %213 = icmp ne i64 %211, %212
  br label %214

214:                                              ; preds = %210, %203
  %215 = phi i1 [ true, %203 ], [ %213, %210 ]
  %216 = zext i1 %215 to i8
  store i8 %216, ptr %7, align 1, !tbaa !5
  %217 = load i64, ptr %27, align 8, !tbaa !11
  %218 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %15, ptr noundef %17, ptr noundef %19, i64 noundef %217, ptr noundef %13, ptr noundef %218)
  %219 = load ptr, ptr %4, align 8, !tbaa !9
  %220 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %219)
  %221 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %220, double -1.000000e+00)
  store double %221, ptr %34, align 8, !tbaa !13
  %222 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %223 = trunc i8 %222 to i1
  br i1 %223, label %236, label %224

224:                                              ; preds = %214
  %225 = load double, ptr %34, align 8, !tbaa !13
  %226 = load ptr, ptr %4, align 8, !tbaa !9
  %227 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %225, ptr noundef %226)
  %228 = load double, ptr %34, align 8, !tbaa !13
  %229 = load ptr, ptr %4, align 8, !tbaa !9
  %230 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %13, double noundef %228, ptr noundef %229)
  %231 = fsub double %227, %230
  %232 = load ptr, ptr %4, align 8, !tbaa !9
  %233 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %231, ptr noundef %232)
  %234 = load double, ptr %9, align 8, !tbaa !13
  %235 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %233, double noundef %234)
  br label %236

236:                                              ; preds = %224, %214
  %237 = phi i1 [ true, %214 ], [ %235, %224 ]
  %238 = zext i1 %237 to i8
  store i8 %238, ptr %7, align 1, !tbaa !5
  %239 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %13, ptr noundef %239)
  %240 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef %12, ptr noundef %13, ptr noundef %240)
  %241 = load ptr, ptr %4, align 8, !tbaa !9
  %242 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %241)
  %243 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %242, double -1.000000e+00)
  store double %243, ptr %34, align 8, !tbaa !13
  %244 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %245 = trunc i8 %244 to i1
  br i1 %245, label %258, label %246

246:                                              ; preds = %236
  %247 = load double, ptr %34, align 8, !tbaa !13
  %248 = load ptr, ptr %4, align 8, !tbaa !9
  %249 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %247, ptr noundef %248)
  %250 = load double, ptr %34, align 8, !tbaa !13
  %251 = load ptr, ptr %4, align 8, !tbaa !9
  %252 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %13, double noundef %250, ptr noundef %251)
  %253 = fsub double %249, %252
  %254 = load ptr, ptr %4, align 8, !tbaa !9
  %255 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %253, ptr noundef %254)
  %256 = load double, ptr %9, align 8, !tbaa !13
  %257 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %255, double noundef %256)
  br label %258

258:                                              ; preds = %246, %236
  %259 = phi i1 [ true, %236 ], [ %257, %246 ]
  %260 = zext i1 %259 to i8
  store i8 %260, ptr %7, align 1, !tbaa !5
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %261

261:                                              ; preds = %481, %258
  %262 = load i64, ptr %28, align 8, !tbaa !11
  %263 = load i64, ptr %26, align 8, !tbaa !11
  %264 = sub nsw i64 %263, 1
  %265 = icmp sle i64 %262, %264
  br i1 %265, label %266, label %484

266:                                              ; preds = %261
  %267 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %268 = trunc i8 %267 to i1
  br i1 %268, label %295, label %269

269:                                              ; preds = %266
  %270 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %271 = load ptr, ptr %270, align 8, !tbaa !15
  %272 = load i64, ptr %28, align 8, !tbaa !11
  %273 = getelementptr inbounds double, ptr %271, i64 %272
  %274 = load double, ptr %273, align 8, !tbaa !13
  %275 = load ptr, ptr %4, align 8, !tbaa !9
  %276 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %274, ptr noundef %275)
  %277 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %278 = load ptr, ptr %277, align 8, !tbaa !15
  %279 = load i64, ptr %28, align 8, !tbaa !11
  %280 = getelementptr inbounds double, ptr %278, i64 %279
  %281 = load double, ptr %280, align 8, !tbaa !13
  %282 = fsub double %276, %281
  %283 = load ptr, ptr %4, align 8, !tbaa !9
  %284 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %282, ptr noundef %283)
  %285 = load double, ptr %9, align 8, !tbaa !13
  %286 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %287 = load ptr, ptr %286, align 8, !tbaa !15
  %288 = load i64, ptr %28, align 8, !tbaa !11
  %289 = getelementptr inbounds double, ptr %287, i64 %288
  %290 = load double, ptr %289, align 8, !tbaa !13
  %291 = load ptr, ptr %4, align 8, !tbaa !9
  %292 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %290, ptr noundef %291)
  %293 = fmul double %285, %292
  %294 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %284, double noundef %293)
  br label %295

295:                                              ; preds = %269, %266
  %296 = phi i1 [ true, %266 ], [ %294, %269 ]
  %297 = zext i1 %296 to i8
  store i8 %297, ptr %7, align 1, !tbaa !5
  %298 = load ptr, ptr %4, align 8, !tbaa !9
  %299 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %298)
  %300 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %299, double -1.000000e+00)
  store double %300, ptr %34, align 8, !tbaa !13
  %301 = load i64, ptr %26, align 8, !tbaa !11
  %302 = load double, ptr %34, align 8, !tbaa !13
  %303 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testratintunit_poldiff2PN11alglib_impl9ae_vectorES1_ldPdS2_S2_PNS_8ae_stateE(ptr noundef %14, ptr noundef %16, i64 noundef %301, double noundef %302, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %303)
  %304 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %305 = trunc i8 %304 to i1
  br i1 %305, label %322, label %306

306:                                              ; preds = %295
  %307 = load double, ptr %34, align 8, !tbaa !13
  %308 = load ptr, ptr %4, align 8, !tbaa !9
  %309 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %307, ptr noundef %308)
  %310 = load double, ptr %38, align 8, !tbaa !13
  %311 = fsub double %309, %310
  %312 = load ptr, ptr %4, align 8, !tbaa !9
  %313 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %311, ptr noundef %312)
  %314 = load double, ptr %9, align 8, !tbaa !13
  %315 = load double, ptr %38, align 8, !tbaa !13
  %316 = load ptr, ptr %4, align 8, !tbaa !9
  %317 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %315, ptr noundef %316)
  %318 = load ptr, ptr %4, align 8, !tbaa !9
  %319 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %317, double noundef 1.000000e+00, ptr noundef %318)
  %320 = fmul double %314, %319
  %321 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %313, double noundef %320)
  br label %322

322:                                              ; preds = %306, %295
  %323 = phi i1 [ true, %295 ], [ %321, %306 ]
  %324 = zext i1 %323 to i8
  store i8 %324, ptr %7, align 1, !tbaa !5
  store double 3.000000e+00, ptr %34, align 8, !tbaa !13
  store i64 100, ptr %30, align 8, !tbaa !11
  store double 0.000000e+00, ptr %24, align 8, !tbaa !13
  store i64 0, ptr %29, align 8, !tbaa !11
  br label %325

325:                                              ; preds = %388, %322
  %326 = load i64, ptr %29, align 8, !tbaa !11
  %327 = load i64, ptr %30, align 8, !tbaa !11
  %328 = sub nsw i64 %327, 1
  %329 = icmp sle i64 %326, %328
  br i1 %329, label %330, label %391

330:                                              ; preds = %325
  %331 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %332 = load ptr, ptr %331, align 8, !tbaa !15
  %333 = load i64, ptr %28, align 8, !tbaa !11
  %334 = getelementptr inbounds double, ptr %332, i64 %333
  %335 = load double, ptr %334, align 8, !tbaa !13
  %336 = load double, ptr %34, align 8, !tbaa !13
  %337 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %338 = load ptr, ptr %337, align 8, !tbaa !15
  %339 = load i64, ptr %28, align 8, !tbaa !11
  %340 = getelementptr inbounds double, ptr %338, i64 %339
  %341 = load double, ptr %340, align 8, !tbaa !13
  %342 = fsub double %336, %341
  %343 = load i64, ptr %29, align 8, !tbaa !11
  %344 = sitofp i64 %343 to double
  %345 = fmul double %342, %344
  %346 = load i64, ptr %30, align 8, !tbaa !11
  %347 = sitofp i64 %346 to double
  %348 = fdiv double %345, %347
  %349 = fadd double %335, %348
  store double %349, ptr %39, align 8, !tbaa !13
  %350 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %351 = load ptr, ptr %350, align 8, !tbaa !15
  %352 = load i64, ptr %28, align 8, !tbaa !11
  %353 = getelementptr inbounds double, ptr %351, i64 %352
  %354 = load double, ptr %353, align 8, !tbaa !13
  %355 = load double, ptr %34, align 8, !tbaa !13
  %356 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %357 = load ptr, ptr %356, align 8, !tbaa !15
  %358 = load i64, ptr %28, align 8, !tbaa !11
  %359 = getelementptr inbounds double, ptr %357, i64 %358
  %360 = load double, ptr %359, align 8, !tbaa !13
  %361 = fsub double %355, %360
  %362 = load i64, ptr %29, align 8, !tbaa !11
  %363 = add nsw i64 %362, 1
  %364 = sitofp i64 %363 to double
  %365 = fmul double %361, %364
  %366 = load i64, ptr %30, align 8, !tbaa !11
  %367 = sitofp i64 %366 to double
  %368 = fdiv double %365, %367
  %369 = fadd double %354, %368
  store double %369, ptr %40, align 8, !tbaa !13
  %370 = load double, ptr %24, align 8, !tbaa !13
  %371 = load double, ptr %40, align 8, !tbaa !13
  %372 = load ptr, ptr %4, align 8, !tbaa !9
  %373 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %371, ptr noundef %372)
  %374 = load double, ptr %39, align 8, !tbaa !13
  %375 = load ptr, ptr %4, align 8, !tbaa !9
  %376 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %374, ptr noundef %375)
  %377 = fsub double %373, %376
  %378 = load ptr, ptr %4, align 8, !tbaa !9
  %379 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %377, ptr noundef %378)
  %380 = load double, ptr %40, align 8, !tbaa !13
  %381 = load double, ptr %39, align 8, !tbaa !13
  %382 = fsub double %380, %381
  %383 = load ptr, ptr %4, align 8, !tbaa !9
  %384 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %382, ptr noundef %383)
  %385 = fdiv double %379, %384
  %386 = load ptr, ptr %4, align 8, !tbaa !9
  %387 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %370, double noundef %385, ptr noundef %386)
  store double %387, ptr %24, align 8, !tbaa !13
  br label %388

388:                                              ; preds = %330
  %389 = load i64, ptr %29, align 8, !tbaa !11
  %390 = add nsw i64 %389, 1
  store i64 %390, ptr %29, align 8, !tbaa !11
  br label %325, !llvm.loop !22

391:                                              ; preds = %325
  %392 = load i64, ptr %30, align 8, !tbaa !11
  %393 = mul nsw i64 2, %392
  store i64 %393, ptr %30, align 8, !tbaa !11
  store double 0.000000e+00, ptr %25, align 8, !tbaa !13
  store i64 0, ptr %29, align 8, !tbaa !11
  br label %394

394:                                              ; preds = %457, %391
  %395 = load i64, ptr %29, align 8, !tbaa !11
  %396 = load i64, ptr %30, align 8, !tbaa !11
  %397 = sub nsw i64 %396, 1
  %398 = icmp sle i64 %395, %397
  br i1 %398, label %399, label %460

399:                                              ; preds = %394
  %400 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %401 = load ptr, ptr %400, align 8, !tbaa !15
  %402 = load i64, ptr %28, align 8, !tbaa !11
  %403 = getelementptr inbounds double, ptr %401, i64 %402
  %404 = load double, ptr %403, align 8, !tbaa !13
  %405 = load double, ptr %34, align 8, !tbaa !13
  %406 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %407 = load ptr, ptr %406, align 8, !tbaa !15
  %408 = load i64, ptr %28, align 8, !tbaa !11
  %409 = getelementptr inbounds double, ptr %407, i64 %408
  %410 = load double, ptr %409, align 8, !tbaa !13
  %411 = fsub double %405, %410
  %412 = load i64, ptr %29, align 8, !tbaa !11
  %413 = sitofp i64 %412 to double
  %414 = fmul double %411, %413
  %415 = load i64, ptr %30, align 8, !tbaa !11
  %416 = sitofp i64 %415 to double
  %417 = fdiv double %414, %416
  %418 = fadd double %404, %417
  store double %418, ptr %39, align 8, !tbaa !13
  %419 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %420 = load ptr, ptr %419, align 8, !tbaa !15
  %421 = load i64, ptr %28, align 8, !tbaa !11
  %422 = getelementptr inbounds double, ptr %420, i64 %421
  %423 = load double, ptr %422, align 8, !tbaa !13
  %424 = load double, ptr %34, align 8, !tbaa !13
  %425 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %426 = load ptr, ptr %425, align 8, !tbaa !15
  %427 = load i64, ptr %28, align 8, !tbaa !11
  %428 = getelementptr inbounds double, ptr %426, i64 %427
  %429 = load double, ptr %428, align 8, !tbaa !13
  %430 = fsub double %424, %429
  %431 = load i64, ptr %29, align 8, !tbaa !11
  %432 = add nsw i64 %431, 1
  %433 = sitofp i64 %432 to double
  %434 = fmul double %430, %433
  %435 = load i64, ptr %30, align 8, !tbaa !11
  %436 = sitofp i64 %435 to double
  %437 = fdiv double %434, %436
  %438 = fadd double %423, %437
  store double %438, ptr %40, align 8, !tbaa !13
  %439 = load double, ptr %25, align 8, !tbaa !13
  %440 = load double, ptr %40, align 8, !tbaa !13
  %441 = load ptr, ptr %4, align 8, !tbaa !9
  %442 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %440, ptr noundef %441)
  %443 = load double, ptr %39, align 8, !tbaa !13
  %444 = load ptr, ptr %4, align 8, !tbaa !9
  %445 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %443, ptr noundef %444)
  %446 = fsub double %442, %445
  %447 = load ptr, ptr %4, align 8, !tbaa !9
  %448 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %446, ptr noundef %447)
  %449 = load double, ptr %40, align 8, !tbaa !13
  %450 = load double, ptr %39, align 8, !tbaa !13
  %451 = fsub double %449, %450
  %452 = load ptr, ptr %4, align 8, !tbaa !9
  %453 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %451, ptr noundef %452)
  %454 = fdiv double %448, %453
  %455 = load ptr, ptr %4, align 8, !tbaa !9
  %456 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %439, double noundef %454, ptr noundef %455)
  store double %456, ptr %25, align 8, !tbaa !13
  br label %457

457:                                              ; preds = %399
  %458 = load i64, ptr %29, align 8, !tbaa !11
  %459 = add nsw i64 %458, 1
  store i64 %459, ptr %29, align 8, !tbaa !11
  br label %394, !llvm.loop !23

460:                                              ; preds = %394
  %461 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %462 = trunc i8 %461 to i1
  br i1 %462, label %478, label %463

463:                                              ; preds = %460
  %464 = load double, ptr %25, align 8, !tbaa !13
  %465 = load double, ptr %10, align 8, !tbaa !13
  %466 = load double, ptr %24, align 8, !tbaa !13
  %467 = fmul double %465, %466
  %468 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %464, double noundef %467)
  br i1 %468, label %469, label %476

469:                                              ; preds = %463
  %470 = load double, ptr %24, align 8, !tbaa !13
  %471 = load double, ptr %9, align 8, !tbaa !13
  %472 = load i64, ptr %30, align 8, !tbaa !11
  %473 = sitofp i64 %472 to double
  %474 = fmul double %471, %473
  %475 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %470, double noundef %474)
  br label %476

476:                                              ; preds = %469, %463
  %477 = phi i1 [ false, %463 ], [ %475, %469 ]
  br label %478

478:                                              ; preds = %476, %460
  %479 = phi i1 [ true, %460 ], [ %477, %476 ]
  %480 = zext i1 %479 to i8
  store i8 %480, ptr %7, align 1, !tbaa !5
  br label %481

481:                                              ; preds = %478
  %482 = load i64, ptr %28, align 8, !tbaa !11
  %483 = add nsw i64 %482, 1
  store i64 %483, ptr %28, align 8, !tbaa !11
  br label %261, !llvm.loop !24

484:                                              ; preds = %261
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %485

485:                                              ; preds = %598, %484
  %486 = load i64, ptr %28, align 8, !tbaa !11
  %487 = load i64, ptr %26, align 8, !tbaa !11
  %488 = sub nsw i64 %487, 1
  %489 = icmp sle i64 %486, %488
  br i1 %489, label %490, label %601

490:                                              ; preds = %485
  %491 = load ptr, ptr %4, align 8, !tbaa !9
  %492 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %491)
  %493 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %492, double -1.000000e+00)
  store double %493, ptr %34, align 8, !tbaa !13
  %494 = load i64, ptr %26, align 8, !tbaa !11
  %495 = load double, ptr %34, align 8, !tbaa !13
  %496 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testratintunit_poldiff2PN11alglib_impl9ae_vectorES1_ldPdS2_S2_PNS_8ae_stateE(ptr noundef %14, ptr noundef %16, i64 noundef %494, double noundef %495, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %496)
  store double 0.000000e+00, ptr %42, align 8, !tbaa !13
  store double 0.000000e+00, ptr %43, align 8, !tbaa !13
  store double 0.000000e+00, ptr %44, align 8, !tbaa !13
  %497 = load double, ptr %34, align 8, !tbaa !13
  %498 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef %12, double noundef %497, ptr noundef %42, ptr noundef %43, ptr noundef %498)
  %499 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %500 = trunc i8 %499 to i1
  br i1 %500, label %515, label %501

501:                                              ; preds = %490
  %502 = load double, ptr %38, align 8, !tbaa !13
  %503 = load double, ptr %42, align 8, !tbaa !13
  %504 = fsub double %502, %503
  %505 = load ptr, ptr %4, align 8, !tbaa !9
  %506 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %504, ptr noundef %505)
  %507 = load double, ptr %9, align 8, !tbaa !13
  %508 = load double, ptr %38, align 8, !tbaa !13
  %509 = load ptr, ptr %4, align 8, !tbaa !9
  %510 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %508, ptr noundef %509)
  %511 = load ptr, ptr %4, align 8, !tbaa !9
  %512 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %510, double noundef 1.000000e+00, ptr noundef %511)
  %513 = fmul double %507, %512
  %514 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %506, double noundef %513)
  br label %515

515:                                              ; preds = %501, %490
  %516 = phi i1 [ true, %490 ], [ %514, %501 ]
  %517 = zext i1 %516 to i8
  store i8 %517, ptr %7, align 1, !tbaa !5
  %518 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %519 = trunc i8 %518 to i1
  br i1 %519, label %534, label %520

520:                                              ; preds = %515
  %521 = load double, ptr %39, align 8, !tbaa !13
  %522 = load double, ptr %43, align 8, !tbaa !13
  %523 = fsub double %521, %522
  %524 = load ptr, ptr %4, align 8, !tbaa !9
  %525 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %523, ptr noundef %524)
  %526 = load double, ptr %9, align 8, !tbaa !13
  %527 = load double, ptr %39, align 8, !tbaa !13
  %528 = load ptr, ptr %4, align 8, !tbaa !9
  %529 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %527, ptr noundef %528)
  %530 = load ptr, ptr %4, align 8, !tbaa !9
  %531 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %529, double noundef 1.000000e+00, ptr noundef %530)
  %532 = fmul double %526, %531
  %533 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %525, double noundef %532)
  br label %534

534:                                              ; preds = %520, %515
  %535 = phi i1 [ true, %515 ], [ %533, %520 ]
  %536 = zext i1 %535 to i8
  store i8 %536, ptr %7, align 1, !tbaa !5
  store double 0.000000e+00, ptr %42, align 8, !tbaa !13
  store double 0.000000e+00, ptr %43, align 8, !tbaa !13
  store double 0.000000e+00, ptr %44, align 8, !tbaa !13
  %537 = load double, ptr %34, align 8, !tbaa !13
  %538 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl16barycentricdiff2EPNS_22barycentricinterpolantEdPdS2_S2_PNS_8ae_stateE(ptr noundef %12, double noundef %537, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %538)
  %539 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %540 = trunc i8 %539 to i1
  br i1 %540, label %555, label %541

541:                                              ; preds = %534
  %542 = load double, ptr %38, align 8, !tbaa !13
  %543 = load double, ptr %42, align 8, !tbaa !13
  %544 = fsub double %542, %543
  %545 = load ptr, ptr %4, align 8, !tbaa !9
  %546 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %544, ptr noundef %545)
  %547 = load double, ptr %9, align 8, !tbaa !13
  %548 = load double, ptr %38, align 8, !tbaa !13
  %549 = load ptr, ptr %4, align 8, !tbaa !9
  %550 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %548, ptr noundef %549)
  %551 = load ptr, ptr %4, align 8, !tbaa !9
  %552 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %550, double noundef 1.000000e+00, ptr noundef %551)
  %553 = fmul double %547, %552
  %554 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %546, double noundef %553)
  br label %555

555:                                              ; preds = %541, %534
  %556 = phi i1 [ true, %534 ], [ %554, %541 ]
  %557 = zext i1 %556 to i8
  store i8 %557, ptr %7, align 1, !tbaa !5
  %558 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %559 = trunc i8 %558 to i1
  br i1 %559, label %574, label %560

560:                                              ; preds = %555
  %561 = load double, ptr %39, align 8, !tbaa !13
  %562 = load double, ptr %43, align 8, !tbaa !13
  %563 = fsub double %561, %562
  %564 = load ptr, ptr %4, align 8, !tbaa !9
  %565 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %563, ptr noundef %564)
  %566 = load double, ptr %9, align 8, !tbaa !13
  %567 = load double, ptr %39, align 8, !tbaa !13
  %568 = load ptr, ptr %4, align 8, !tbaa !9
  %569 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %567, ptr noundef %568)
  %570 = load ptr, ptr %4, align 8, !tbaa !9
  %571 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %569, double noundef 1.000000e+00, ptr noundef %570)
  %572 = fmul double %566, %571
  %573 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %565, double noundef %572)
  br label %574

574:                                              ; preds = %560, %555
  %575 = phi i1 [ true, %555 ], [ %573, %560 ]
  %576 = zext i1 %575 to i8
  store i8 %576, ptr %7, align 1, !tbaa !5
  %577 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %578 = trunc i8 %577 to i1
  br i1 %578, label %595, label %579

579:                                              ; preds = %574
  %580 = load double, ptr %40, align 8, !tbaa !13
  %581 = load double, ptr %44, align 8, !tbaa !13
  %582 = fsub double %580, %581
  %583 = load ptr, ptr %4, align 8, !tbaa !9
  %584 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %582, ptr noundef %583)
  %585 = load double, ptr %9, align 8, !tbaa !13
  %586 = load ptr, ptr %4, align 8, !tbaa !9
  %587 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %585, ptr noundef %586)
  %588 = load double, ptr %40, align 8, !tbaa !13
  %589 = load ptr, ptr %4, align 8, !tbaa !9
  %590 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %588, ptr noundef %589)
  %591 = load ptr, ptr %4, align 8, !tbaa !9
  %592 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %590, double noundef 1.000000e+00, ptr noundef %591)
  %593 = fmul double %587, %592
  %594 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %584, double noundef %593)
  br label %595

595:                                              ; preds = %579, %574
  %596 = phi i1 [ true, %574 ], [ %594, %579 ]
  %597 = zext i1 %596 to i8
  store i8 %597, ptr %7, align 1, !tbaa !5
  br label %598

598:                                              ; preds = %595
  %599 = load i64, ptr %28, align 8, !tbaa !11
  %600 = add nsw i64 %599, 1
  store i64 %600, ptr %28, align 8, !tbaa !11
  br label %485, !llvm.loop !25

601:                                              ; preds = %485
  %602 = load ptr, ptr %4, align 8, !tbaa !9
  %603 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %602)
  %604 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %603, double -1.000000e+00)
  store double %604, ptr %34, align 8, !tbaa !13
  %605 = load ptr, ptr %4, align 8, !tbaa !9
  %606 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %605)
  %607 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %606, double -1.000000e+00)
  store double %607, ptr %35, align 8, !tbaa !13
  %608 = load ptr, ptr %4, align 8, !tbaa !9
  %609 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %608)
  %610 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %609, double -1.000000e+00)
  store double %610, ptr %36, align 8, !tbaa !13
  %611 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %13, ptr noundef %611)
  %612 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef %12, ptr noundef %13, ptr noundef %612)
  %613 = load double, ptr %35, align 8, !tbaa !13
  %614 = load double, ptr %36, align 8, !tbaa !13
  %615 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %13, double noundef %613, double noundef %614, ptr noundef %615)
  %616 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %617 = trunc i8 %616 to i1
  br i1 %617, label %633, label %618

618:                                              ; preds = %601
  %619 = load double, ptr %35, align 8, !tbaa !13
  %620 = load double, ptr %34, align 8, !tbaa !13
  %621 = load double, ptr %36, align 8, !tbaa !13
  %622 = call double @llvm.fmuladd.f64(double %619, double %620, double %621)
  %623 = load ptr, ptr %4, align 8, !tbaa !9
  %624 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %622, ptr noundef %623)
  %625 = load double, ptr %34, align 8, !tbaa !13
  %626 = load ptr, ptr %4, align 8, !tbaa !9
  %627 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %13, double noundef %625, ptr noundef %626)
  %628 = fsub double %624, %627
  %629 = load ptr, ptr %4, align 8, !tbaa !9
  %630 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %628, ptr noundef %629)
  %631 = load double, ptr %9, align 8, !tbaa !13
  %632 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %630, double noundef %631)
  br label %633

633:                                              ; preds = %618, %601
  %634 = phi i1 [ true, %601 ], [ %632, %618 ]
  %635 = zext i1 %634 to i8
  store i8 %635, ptr %7, align 1, !tbaa !5
  store double 0.000000e+00, ptr %35, align 8, !tbaa !13
  %636 = load ptr, ptr %4, align 8, !tbaa !9
  %637 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %636)
  %638 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %637, double -1.000000e+00)
  store double %638, ptr %36, align 8, !tbaa !13
  %639 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %13, ptr noundef %639)
  %640 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef %12, ptr noundef %13, ptr noundef %640)
  %641 = load double, ptr %35, align 8, !tbaa !13
  %642 = load double, ptr %36, align 8, !tbaa !13
  %643 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %13, double noundef %641, double noundef %642, ptr noundef %643)
  %644 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %645 = trunc i8 %644 to i1
  br i1 %645, label %661, label %646

646:                                              ; preds = %633
  %647 = load double, ptr %35, align 8, !tbaa !13
  %648 = load double, ptr %34, align 8, !tbaa !13
  %649 = load double, ptr %36, align 8, !tbaa !13
  %650 = call double @llvm.fmuladd.f64(double %647, double %648, double %649)
  %651 = load ptr, ptr %4, align 8, !tbaa !9
  %652 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %650, ptr noundef %651)
  %653 = load double, ptr %34, align 8, !tbaa !13
  %654 = load ptr, ptr %4, align 8, !tbaa !9
  %655 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %13, double noundef %653, ptr noundef %654)
  %656 = fsub double %652, %655
  %657 = load ptr, ptr %4, align 8, !tbaa !9
  %658 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %656, ptr noundef %657)
  %659 = load double, ptr %9, align 8, !tbaa !13
  %660 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %658, double noundef %659)
  br label %661

661:                                              ; preds = %646, %633
  %662 = phi i1 [ true, %633 ], [ %660, %646 ]
  %663 = zext i1 %662 to i8
  store i8 %663, ptr %7, align 1, !tbaa !5
  %664 = load ptr, ptr %4, align 8, !tbaa !9
  %665 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %664)
  %666 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %665, double -1.000000e+00)
  store double %666, ptr %35, align 8, !tbaa !13
  %667 = load ptr, ptr %4, align 8, !tbaa !9
  %668 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %667)
  %669 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %668, double -1.000000e+00)
  store double %669, ptr %36, align 8, !tbaa !13
  %670 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %13, ptr noundef %670)
  %671 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef %12, ptr noundef %13, ptr noundef %671)
  %672 = load double, ptr %35, align 8, !tbaa !13
  %673 = load double, ptr %36, align 8, !tbaa !13
  %674 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef %13, double noundef %672, double noundef %673, ptr noundef %674)
  %675 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %676 = trunc i8 %675 to i1
  br i1 %676, label %692, label %677

677:                                              ; preds = %661
  %678 = load double, ptr %35, align 8, !tbaa !13
  %679 = load double, ptr %34, align 8, !tbaa !13
  %680 = load ptr, ptr %4, align 8, !tbaa !9
  %681 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %679, ptr noundef %680)
  %682 = load double, ptr %36, align 8, !tbaa !13
  %683 = call double @llvm.fmuladd.f64(double %678, double %681, double %682)
  %684 = load double, ptr %34, align 8, !tbaa !13
  %685 = load ptr, ptr %4, align 8, !tbaa !9
  %686 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %13, double noundef %684, ptr noundef %685)
  %687 = fsub double %683, %686
  %688 = load ptr, ptr %4, align 8, !tbaa !9
  %689 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %687, ptr noundef %688)
  %690 = load double, ptr %9, align 8, !tbaa !13
  %691 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %689, double noundef %690)
  br label %692

692:                                              ; preds = %677, %661
  %693 = phi i1 [ true, %661 ], [ %691, %677 ]
  %694 = zext i1 %693 to i8
  store i8 %694, ptr %7, align 1, !tbaa !5
  br label %695

695:                                              ; preds = %692
  %696 = load i64, ptr %32, align 8, !tbaa !11
  %697 = add nsw i64 %696, 1
  store i64 %697, ptr %32, align 8, !tbaa !11
  br label %63, !llvm.loop !26

698:                                              ; preds = %63
  br label %699

699:                                              ; preds = %698
  %700 = load i64, ptr %26, align 8, !tbaa !11
  %701 = add nsw i64 %700, 1
  store i64 %701, ptr %26, align 8, !tbaa !11
  br label %59, !llvm.loop !27

702:                                              ; preds = %59
  store i64 0, ptr %32, align 8, !tbaa !11
  br label %703

703:                                              ; preds = %897, %702
  %704 = load i64, ptr %32, align 8, !tbaa !11
  %705 = icmp sle i64 %704, 3
  br i1 %705, label %706, label %900

706:                                              ; preds = %703
  %707 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef 4, ptr noundef %707)
  %708 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef 4, ptr noundef %708)
  %709 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef 4, ptr noundef %709)
  store double 1.000000e+00, ptr %23, align 8, !tbaa !13
  %710 = load i64, ptr %32, align 8, !tbaa !11
  %711 = srem i64 %710, 2
  %712 = icmp eq i64 %711, 0
  br i1 %712, label %713, label %714

713:                                              ; preds = %706
  store double 0x210BE08D0527E1E, ptr %23, align 8, !tbaa !13
  br label %714

714:                                              ; preds = %713, %706
  %715 = load i64, ptr %32, align 8, !tbaa !11
  %716 = srem i64 %715, 2
  %717 = icmp eq i64 %716, 1
  br i1 %717, label %718, label %719

718:                                              ; preds = %714
  store double 0x7DCE94C85C298C4D, ptr %23, align 8, !tbaa !13
  br label %719

719:                                              ; preds = %718, %714
  %720 = load double, ptr %23, align 8, !tbaa !13
  %721 = fmul double 0.000000e+00, %720
  %722 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %723 = load ptr, ptr %722, align 8, !tbaa !15
  %724 = getelementptr inbounds double, ptr %723, i64 0
  store double %721, ptr %724, align 8, !tbaa !13
  %725 = load double, ptr %23, align 8, !tbaa !13
  %726 = fmul double 1.000000e+00, %725
  %727 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %728 = load ptr, ptr %727, align 8, !tbaa !15
  %729 = getelementptr inbounds double, ptr %728, i64 1
  store double %726, ptr %729, align 8, !tbaa !13
  %730 = load double, ptr %23, align 8, !tbaa !13
  %731 = fmul double 2.000000e+00, %730
  %732 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %733 = load ptr, ptr %732, align 8, !tbaa !15
  %734 = getelementptr inbounds double, ptr %733, i64 2
  store double %731, ptr %734, align 8, !tbaa !13
  %735 = load double, ptr %23, align 8, !tbaa !13
  %736 = fmul double 3.000000e+00, %735
  %737 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %738 = load ptr, ptr %737, align 8, !tbaa !15
  %739 = getelementptr inbounds double, ptr %738, i64 3
  store double %736, ptr %739, align 8, !tbaa !13
  %740 = load double, ptr %23, align 8, !tbaa !13
  %741 = fmul double 0.000000e+00, %740
  %742 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %743 = load ptr, ptr %742, align 8, !tbaa !15
  %744 = getelementptr inbounds double, ptr %743, i64 0
  store double %741, ptr %744, align 8, !tbaa !13
  %745 = load double, ptr %23, align 8, !tbaa !13
  %746 = fmul double 1.000000e+00, %745
  %747 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %748 = load ptr, ptr %747, align 8, !tbaa !15
  %749 = getelementptr inbounds double, ptr %748, i64 1
  store double %746, ptr %749, align 8, !tbaa !13
  %750 = load double, ptr %23, align 8, !tbaa !13
  %751 = fmul double 2.000000e+00, %750
  %752 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %753 = load ptr, ptr %752, align 8, !tbaa !15
  %754 = getelementptr inbounds double, ptr %753, i64 2
  store double %751, ptr %754, align 8, !tbaa !13
  %755 = load double, ptr %23, align 8, !tbaa !13
  %756 = fmul double 3.000000e+00, %755
  %757 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %758 = load ptr, ptr %757, align 8, !tbaa !15
  %759 = getelementptr inbounds double, ptr %758, i64 3
  store double %756, ptr %759, align 8, !tbaa !13
  %760 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %761 = load ptr, ptr %760, align 8, !tbaa !15
  %762 = getelementptr inbounds double, ptr %761, i64 1
  %763 = load double, ptr %762, align 8, !tbaa !13
  %764 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %765 = load ptr, ptr %764, align 8, !tbaa !15
  %766 = getelementptr inbounds double, ptr %765, i64 0
  %767 = load double, ptr %766, align 8, !tbaa !13
  %768 = fsub double %763, %767
  %769 = fdiv double -1.000000e+00, %768
  %770 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %771 = load ptr, ptr %770, align 8, !tbaa !15
  %772 = getelementptr inbounds double, ptr %771, i64 0
  store double %769, ptr %772, align 8, !tbaa !13
  %773 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %774 = load ptr, ptr %773, align 8, !tbaa !15
  %775 = getelementptr inbounds double, ptr %774, i64 1
  %776 = load double, ptr %775, align 8, !tbaa !13
  %777 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %778 = load ptr, ptr %777, align 8, !tbaa !15
  %779 = getelementptr inbounds double, ptr %778, i64 0
  %780 = load double, ptr %779, align 8, !tbaa !13
  %781 = fsub double %776, %780
  %782 = fdiv double 1.000000e+00, %781
  %783 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %784 = load ptr, ptr %783, align 8, !tbaa !15
  %785 = getelementptr inbounds double, ptr %784, i64 2
  %786 = load double, ptr %785, align 8, !tbaa !13
  %787 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %788 = load ptr, ptr %787, align 8, !tbaa !15
  %789 = getelementptr inbounds double, ptr %788, i64 1
  %790 = load double, ptr %789, align 8, !tbaa !13
  %791 = fsub double %786, %790
  %792 = fdiv double 1.000000e+00, %791
  %793 = fadd double %782, %792
  %794 = fmul double 1.000000e+00, %793
  %795 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %796 = load ptr, ptr %795, align 8, !tbaa !15
  %797 = getelementptr inbounds double, ptr %796, i64 1
  store double %794, ptr %797, align 8, !tbaa !13
  %798 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %799 = load ptr, ptr %798, align 8, !tbaa !15
  %800 = getelementptr inbounds double, ptr %799, i64 2
  %801 = load double, ptr %800, align 8, !tbaa !13
  %802 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %803 = load ptr, ptr %802, align 8, !tbaa !15
  %804 = getelementptr inbounds double, ptr %803, i64 1
  %805 = load double, ptr %804, align 8, !tbaa !13
  %806 = fsub double %801, %805
  %807 = fdiv double 1.000000e+00, %806
  %808 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %809 = load ptr, ptr %808, align 8, !tbaa !15
  %810 = getelementptr inbounds double, ptr %809, i64 3
  %811 = load double, ptr %810, align 8, !tbaa !13
  %812 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %813 = load ptr, ptr %812, align 8, !tbaa !15
  %814 = getelementptr inbounds double, ptr %813, i64 2
  %815 = load double, ptr %814, align 8, !tbaa !13
  %816 = fsub double %811, %815
  %817 = fdiv double 1.000000e+00, %816
  %818 = fadd double %807, %817
  %819 = fmul double -1.000000e+00, %818
  %820 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %821 = load ptr, ptr %820, align 8, !tbaa !15
  %822 = getelementptr inbounds double, ptr %821, i64 2
  store double %819, ptr %822, align 8, !tbaa !13
  %823 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %824 = load ptr, ptr %823, align 8, !tbaa !15
  %825 = getelementptr inbounds double, ptr %824, i64 3
  %826 = load double, ptr %825, align 8, !tbaa !13
  %827 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %828 = load ptr, ptr %827, align 8, !tbaa !15
  %829 = getelementptr inbounds double, ptr %828, i64 2
  %830 = load double, ptr %829, align 8, !tbaa !13
  %831 = fsub double %826, %830
  %832 = fdiv double 1.000000e+00, %831
  %833 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %834 = load ptr, ptr %833, align 8, !tbaa !15
  %835 = getelementptr inbounds double, ptr %834, i64 3
  store double %832, ptr %835, align 8, !tbaa !13
  store double 0.000000e+00, ptr %38, align 8, !tbaa !13
  %836 = load i64, ptr %32, align 8, !tbaa !11
  %837 = sdiv i64 %836, 2
  %838 = icmp eq i64 %837, 0
  br i1 %838, label %839, label %840

839:                                              ; preds = %719
  store double 0.000000e+00, ptr %38, align 8, !tbaa !13
  br label %840

840:                                              ; preds = %839, %719
  %841 = load i64, ptr %32, align 8, !tbaa !11
  %842 = sdiv i64 %841, 2
  %843 = icmp eq i64 %842, 1
  br i1 %843, label %844, label %847

844:                                              ; preds = %840
  %845 = load double, ptr %23, align 8, !tbaa !13
  %846 = fmul double 6.000000e-01, %845
  store double %846, ptr %38, align 8, !tbaa !13
  br label %847

847:                                              ; preds = %844, %840
  %848 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, ptr noundef %18, i64 noundef 4, ptr noundef %12, ptr noundef %848)
  %849 = load double, ptr %38, align 8, !tbaa !13
  %850 = load ptr, ptr %4, align 8, !tbaa !9
  %851 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %849, ptr noundef %850)
  store double %851, ptr %34, align 8, !tbaa !13
  store double 0.000000e+00, ptr %42, align 8, !tbaa !13
  store double 0.000000e+00, ptr %43, align 8, !tbaa !13
  store double 0.000000e+00, ptr %44, align 8, !tbaa !13
  %852 = load double, ptr %38, align 8, !tbaa !13
  %853 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef %12, double noundef %852, ptr noundef %42, ptr noundef %43, ptr noundef %853)
  %854 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %855 = trunc i8 %854 to i1
  br i1 %855, label %866, label %856

856:                                              ; preds = %847
  %857 = load double, ptr %34, align 8, !tbaa !13
  %858 = load double, ptr %38, align 8, !tbaa !13
  %859 = fsub double %857, %858
  %860 = load ptr, ptr %4, align 8, !tbaa !9
  %861 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %859, ptr noundef %860)
  %862 = load double, ptr %9, align 8, !tbaa !13
  %863 = load double, ptr %38, align 8, !tbaa !13
  %864 = fmul double %862, %863
  %865 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %861, double noundef %864)
  br label %866

866:                                              ; preds = %856, %847
  %867 = phi i1 [ true, %847 ], [ %865, %856 ]
  %868 = zext i1 %867 to i8
  store i8 %868, ptr %7, align 1, !tbaa !5
  %869 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %870 = trunc i8 %869 to i1
  br i1 %870, label %881, label %871

871:                                              ; preds = %866
  %872 = load double, ptr %42, align 8, !tbaa !13
  %873 = load double, ptr %38, align 8, !tbaa !13
  %874 = fsub double %872, %873
  %875 = load ptr, ptr %4, align 8, !tbaa !9
  %876 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %874, ptr noundef %875)
  %877 = load double, ptr %9, align 8, !tbaa !13
  %878 = load double, ptr %38, align 8, !tbaa !13
  %879 = fmul double %877, %878
  %880 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %876, double noundef %879)
  br label %881

881:                                              ; preds = %871, %866
  %882 = phi i1 [ true, %866 ], [ %880, %871 ]
  %883 = zext i1 %882 to i8
  store i8 %883, ptr %7, align 1, !tbaa !5
  %884 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %885 = trunc i8 %884 to i1
  br i1 %885, label %894, label %886

886:                                              ; preds = %881
  %887 = load double, ptr %43, align 8, !tbaa !13
  %888 = fsub double %887, 1.000000e+00
  %889 = load ptr, ptr %4, align 8, !tbaa !9
  %890 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %888, ptr noundef %889)
  %891 = load double, ptr %9, align 8, !tbaa !13
  %892 = fmul double 1.000000e+03, %891
  %893 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %890, double noundef %892)
  br label %894

894:                                              ; preds = %886, %881
  %895 = phi i1 [ true, %881 ], [ %893, %886 ]
  %896 = zext i1 %895 to i8
  store i8 %896, ptr %7, align 1, !tbaa !5
  br label %897

897:                                              ; preds = %894
  %898 = load i64, ptr %32, align 8, !tbaa !11
  %899 = add nsw i64 %898, 1
  store i64 %899, ptr %32, align 8, !tbaa !11
  br label %703, !llvm.loop !28

900:                                              ; preds = %703
  %901 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef 4, ptr noundef %901)
  %902 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef 4, ptr noundef %902)
  %903 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef 4, ptr noundef %903)
  store double 0x7DCE94C85C298C4D, ptr %23, align 8, !tbaa !13
  %904 = load double, ptr %23, align 8, !tbaa !13
  %905 = fmul double 0.000000e+00, %904
  %906 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %907 = load ptr, ptr %906, align 8, !tbaa !15
  %908 = getelementptr inbounds double, ptr %907, i64 0
  store double %905, ptr %908, align 8, !tbaa !13
  %909 = load double, ptr %23, align 8, !tbaa !13
  %910 = fmul double 1.000000e+00, %909
  %911 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %912 = load ptr, ptr %911, align 8, !tbaa !15
  %913 = getelementptr inbounds double, ptr %912, i64 1
  store double %910, ptr %913, align 8, !tbaa !13
  %914 = load double, ptr %23, align 8, !tbaa !13
  %915 = fmul double 2.000000e+00, %914
  %916 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %917 = load ptr, ptr %916, align 8, !tbaa !15
  %918 = getelementptr inbounds double, ptr %917, i64 2
  store double %915, ptr %918, align 8, !tbaa !13
  %919 = load double, ptr %23, align 8, !tbaa !13
  %920 = fmul double 3.000000e+00, %919
  %921 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %922 = load ptr, ptr %921, align 8, !tbaa !15
  %923 = getelementptr inbounds double, ptr %922, i64 3
  store double %920, ptr %923, align 8, !tbaa !13
  %924 = load double, ptr %23, align 8, !tbaa !13
  %925 = fmul double 0.000000e+00, %924
  %926 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %927 = load ptr, ptr %926, align 8, !tbaa !15
  %928 = getelementptr inbounds double, ptr %927, i64 0
  store double %925, ptr %928, align 8, !tbaa !13
  %929 = load double, ptr %23, align 8, !tbaa !13
  %930 = fmul double 1.000000e+00, %929
  %931 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %932 = load ptr, ptr %931, align 8, !tbaa !15
  %933 = getelementptr inbounds double, ptr %932, i64 1
  store double %930, ptr %933, align 8, !tbaa !13
  %934 = load double, ptr %23, align 8, !tbaa !13
  %935 = fmul double 2.000000e+00, %934
  %936 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %937 = load ptr, ptr %936, align 8, !tbaa !15
  %938 = getelementptr inbounds double, ptr %937, i64 2
  store double %935, ptr %938, align 8, !tbaa !13
  %939 = load double, ptr %23, align 8, !tbaa !13
  %940 = fmul double 3.000000e+00, %939
  %941 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %942 = load ptr, ptr %941, align 8, !tbaa !15
  %943 = getelementptr inbounds double, ptr %942, i64 3
  store double %940, ptr %943, align 8, !tbaa !13
  %944 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %945 = load ptr, ptr %944, align 8, !tbaa !15
  %946 = getelementptr inbounds double, ptr %945, i64 1
  %947 = load double, ptr %946, align 8, !tbaa !13
  %948 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %949 = load ptr, ptr %948, align 8, !tbaa !15
  %950 = getelementptr inbounds double, ptr %949, i64 0
  %951 = load double, ptr %950, align 8, !tbaa !13
  %952 = fsub double %947, %951
  %953 = fdiv double -1.000000e+00, %952
  %954 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %955 = load ptr, ptr %954, align 8, !tbaa !15
  %956 = getelementptr inbounds double, ptr %955, i64 0
  store double %953, ptr %956, align 8, !tbaa !13
  %957 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %958 = load ptr, ptr %957, align 8, !tbaa !15
  %959 = getelementptr inbounds double, ptr %958, i64 1
  %960 = load double, ptr %959, align 8, !tbaa !13
  %961 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %962 = load ptr, ptr %961, align 8, !tbaa !15
  %963 = getelementptr inbounds double, ptr %962, i64 0
  %964 = load double, ptr %963, align 8, !tbaa !13
  %965 = fsub double %960, %964
  %966 = fdiv double 1.000000e+00, %965
  %967 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %968 = load ptr, ptr %967, align 8, !tbaa !15
  %969 = getelementptr inbounds double, ptr %968, i64 2
  %970 = load double, ptr %969, align 8, !tbaa !13
  %971 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %972 = load ptr, ptr %971, align 8, !tbaa !15
  %973 = getelementptr inbounds double, ptr %972, i64 1
  %974 = load double, ptr %973, align 8, !tbaa !13
  %975 = fsub double %970, %974
  %976 = fdiv double 1.000000e+00, %975
  %977 = fadd double %966, %976
  %978 = fmul double 1.000000e+00, %977
  %979 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %980 = load ptr, ptr %979, align 8, !tbaa !15
  %981 = getelementptr inbounds double, ptr %980, i64 1
  store double %978, ptr %981, align 8, !tbaa !13
  %982 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %983 = load ptr, ptr %982, align 8, !tbaa !15
  %984 = getelementptr inbounds double, ptr %983, i64 2
  %985 = load double, ptr %984, align 8, !tbaa !13
  %986 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %987 = load ptr, ptr %986, align 8, !tbaa !15
  %988 = getelementptr inbounds double, ptr %987, i64 1
  %989 = load double, ptr %988, align 8, !tbaa !13
  %990 = fsub double %985, %989
  %991 = fdiv double 1.000000e+00, %990
  %992 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %993 = load ptr, ptr %992, align 8, !tbaa !15
  %994 = getelementptr inbounds double, ptr %993, i64 3
  %995 = load double, ptr %994, align 8, !tbaa !13
  %996 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %997 = load ptr, ptr %996, align 8, !tbaa !15
  %998 = getelementptr inbounds double, ptr %997, i64 2
  %999 = load double, ptr %998, align 8, !tbaa !13
  %1000 = fsub double %995, %999
  %1001 = fdiv double 1.000000e+00, %1000
  %1002 = fadd double %991, %1001
  %1003 = fmul double -1.000000e+00, %1002
  %1004 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1005 = load ptr, ptr %1004, align 8, !tbaa !15
  %1006 = getelementptr inbounds double, ptr %1005, i64 2
  store double %1003, ptr %1006, align 8, !tbaa !13
  %1007 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1008 = load ptr, ptr %1007, align 8, !tbaa !15
  %1009 = getelementptr inbounds double, ptr %1008, i64 3
  %1010 = load double, ptr %1009, align 8, !tbaa !13
  %1011 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1012 = load ptr, ptr %1011, align 8, !tbaa !15
  %1013 = getelementptr inbounds double, ptr %1012, i64 2
  %1014 = load double, ptr %1013, align 8, !tbaa !13
  %1015 = fsub double %1010, %1014
  %1016 = fdiv double 1.000000e+00, %1015
  %1017 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1018 = load ptr, ptr %1017, align 8, !tbaa !15
  %1019 = getelementptr inbounds double, ptr %1018, i64 3
  store double %1016, ptr %1019, align 8, !tbaa !13
  store double 0x210BE08D0527E1E, ptr %38, align 8, !tbaa !13
  %1020 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, ptr noundef %18, i64 noundef 4, ptr noundef %12, ptr noundef %1020)
  %1021 = load double, ptr %38, align 8, !tbaa !13
  %1022 = load ptr, ptr %4, align 8, !tbaa !9
  %1023 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %1021, ptr noundef %1022)
  store double %1023, ptr %34, align 8, !tbaa !13
  store double 0.000000e+00, ptr %42, align 8, !tbaa !13
  store double 0.000000e+00, ptr %43, align 8, !tbaa !13
  store double 0.000000e+00, ptr %44, align 8, !tbaa !13
  %1024 = load double, ptr %38, align 8, !tbaa !13
  %1025 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef %12, double noundef %1024, ptr noundef %42, ptr noundef %43, ptr noundef %1025)
  %1026 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %1027 = trunc i8 %1026 to i1
  br i1 %1027, label %1037, label %1028

1028:                                             ; preds = %900
  %1029 = load double, ptr %34, align 8, !tbaa !13
  %1030 = load ptr, ptr %4, align 8, !tbaa !9
  %1031 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1029, ptr noundef %1030)
  %1032 = load double, ptr %38, align 8, !tbaa !13
  %1033 = load double, ptr %9, align 8, !tbaa !13
  %1034 = fadd double 1.000000e+00, %1033
  %1035 = fmul double %1032, %1034
  %1036 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1031, double noundef %1035)
  br label %1037

1037:                                             ; preds = %1028, %900
  %1038 = phi i1 [ true, %900 ], [ %1036, %1028 ]
  %1039 = zext i1 %1038 to i8
  store i8 %1039, ptr %7, align 1, !tbaa !5
  %1040 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %1041 = trunc i8 %1040 to i1
  br i1 %1041, label %1051, label %1042

1042:                                             ; preds = %1037
  %1043 = load double, ptr %42, align 8, !tbaa !13
  %1044 = load ptr, ptr %4, align 8, !tbaa !9
  %1045 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1043, ptr noundef %1044)
  %1046 = load double, ptr %38, align 8, !tbaa !13
  %1047 = load double, ptr %9, align 8, !tbaa !13
  %1048 = fadd double 1.000000e+00, %1047
  %1049 = fmul double %1046, %1048
  %1050 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1045, double noundef %1049)
  br label %1051

1051:                                             ; preds = %1042, %1037
  %1052 = phi i1 [ true, %1037 ], [ %1050, %1042 ]
  %1053 = zext i1 %1052 to i8
  store i8 %1053, ptr %7, align 1, !tbaa !5
  %1054 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %1055 = trunc i8 %1054 to i1
  br i1 %1055, label %1064, label %1056

1056:                                             ; preds = %1051
  %1057 = load double, ptr %43, align 8, !tbaa !13
  %1058 = fsub double %1057, 1.000000e+00
  %1059 = load ptr, ptr %4, align 8, !tbaa !9
  %1060 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1058, ptr noundef %1059)
  %1061 = load double, ptr %9, align 8, !tbaa !13
  %1062 = fmul double 1.000000e+03, %1061
  %1063 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1060, double noundef %1062)
  br label %1064

1064:                                             ; preds = %1056, %1051
  %1065 = phi i1 [ true, %1051 ], [ %1063, %1056 ]
  %1066 = zext i1 %1065 to i8
  store i8 %1066, ptr %7, align 1, !tbaa !5
  %1067 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef 4, ptr noundef %1067)
  %1068 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef 4, ptr noundef %1068)
  %1069 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef 4, ptr noundef %1069)
  store double 2.000000e-300, ptr %23, align 8, !tbaa !13
  %1070 = load double, ptr %23, align 8, !tbaa !13
  %1071 = fmul double 0.000000e+00, %1070
  %1072 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1073 = load ptr, ptr %1072, align 8, !tbaa !15
  %1074 = getelementptr inbounds double, ptr %1073, i64 0
  store double %1071, ptr %1074, align 8, !tbaa !13
  %1075 = load double, ptr %23, align 8, !tbaa !13
  %1076 = fmul double 1.000000e+00, %1075
  %1077 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1078 = load ptr, ptr %1077, align 8, !tbaa !15
  %1079 = getelementptr inbounds double, ptr %1078, i64 1
  store double %1076, ptr %1079, align 8, !tbaa !13
  %1080 = load double, ptr %23, align 8, !tbaa !13
  %1081 = fmul double 2.000000e+00, %1080
  %1082 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1083 = load ptr, ptr %1082, align 8, !tbaa !15
  %1084 = getelementptr inbounds double, ptr %1083, i64 2
  store double %1081, ptr %1084, align 8, !tbaa !13
  %1085 = load double, ptr %23, align 8, !tbaa !13
  %1086 = fmul double 3.000000e+00, %1085
  %1087 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1088 = load ptr, ptr %1087, align 8, !tbaa !15
  %1089 = getelementptr inbounds double, ptr %1088, i64 3
  store double %1086, ptr %1089, align 8, !tbaa !13
  %1090 = load double, ptr %23, align 8, !tbaa !13
  %1091 = fmul double 0.000000e+00, %1090
  %1092 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1093 = load ptr, ptr %1092, align 8, !tbaa !15
  %1094 = getelementptr inbounds double, ptr %1093, i64 0
  store double %1091, ptr %1094, align 8, !tbaa !13
  %1095 = load double, ptr %23, align 8, !tbaa !13
  %1096 = fmul double 1.000000e+00, %1095
  %1097 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1098 = load ptr, ptr %1097, align 8, !tbaa !15
  %1099 = getelementptr inbounds double, ptr %1098, i64 1
  store double %1096, ptr %1099, align 8, !tbaa !13
  %1100 = load double, ptr %23, align 8, !tbaa !13
  %1101 = fmul double 2.000000e+00, %1100
  %1102 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1103 = load ptr, ptr %1102, align 8, !tbaa !15
  %1104 = getelementptr inbounds double, ptr %1103, i64 2
  store double %1101, ptr %1104, align 8, !tbaa !13
  %1105 = load double, ptr %23, align 8, !tbaa !13
  %1106 = fmul double 3.000000e+00, %1105
  %1107 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1108 = load ptr, ptr %1107, align 8, !tbaa !15
  %1109 = getelementptr inbounds double, ptr %1108, i64 3
  store double %1106, ptr %1109, align 8, !tbaa !13
  %1110 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1111 = load ptr, ptr %1110, align 8, !tbaa !15
  %1112 = getelementptr inbounds double, ptr %1111, i64 1
  %1113 = load double, ptr %1112, align 8, !tbaa !13
  %1114 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1115 = load ptr, ptr %1114, align 8, !tbaa !15
  %1116 = getelementptr inbounds double, ptr %1115, i64 0
  %1117 = load double, ptr %1116, align 8, !tbaa !13
  %1118 = fsub double %1113, %1117
  %1119 = fdiv double -1.000000e+00, %1118
  %1120 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1121 = load ptr, ptr %1120, align 8, !tbaa !15
  %1122 = getelementptr inbounds double, ptr %1121, i64 0
  store double %1119, ptr %1122, align 8, !tbaa !13
  %1123 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1124 = load ptr, ptr %1123, align 8, !tbaa !15
  %1125 = getelementptr inbounds double, ptr %1124, i64 1
  %1126 = load double, ptr %1125, align 8, !tbaa !13
  %1127 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1128 = load ptr, ptr %1127, align 8, !tbaa !15
  %1129 = getelementptr inbounds double, ptr %1128, i64 0
  %1130 = load double, ptr %1129, align 8, !tbaa !13
  %1131 = fsub double %1126, %1130
  %1132 = fdiv double 1.000000e+00, %1131
  %1133 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1134 = load ptr, ptr %1133, align 8, !tbaa !15
  %1135 = getelementptr inbounds double, ptr %1134, i64 2
  %1136 = load double, ptr %1135, align 8, !tbaa !13
  %1137 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1138 = load ptr, ptr %1137, align 8, !tbaa !15
  %1139 = getelementptr inbounds double, ptr %1138, i64 1
  %1140 = load double, ptr %1139, align 8, !tbaa !13
  %1141 = fsub double %1136, %1140
  %1142 = fdiv double 1.000000e+00, %1141
  %1143 = fadd double %1132, %1142
  %1144 = fmul double 1.000000e+00, %1143
  %1145 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1146 = load ptr, ptr %1145, align 8, !tbaa !15
  %1147 = getelementptr inbounds double, ptr %1146, i64 1
  store double %1144, ptr %1147, align 8, !tbaa !13
  %1148 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1149 = load ptr, ptr %1148, align 8, !tbaa !15
  %1150 = getelementptr inbounds double, ptr %1149, i64 2
  %1151 = load double, ptr %1150, align 8, !tbaa !13
  %1152 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1153 = load ptr, ptr %1152, align 8, !tbaa !15
  %1154 = getelementptr inbounds double, ptr %1153, i64 1
  %1155 = load double, ptr %1154, align 8, !tbaa !13
  %1156 = fsub double %1151, %1155
  %1157 = fdiv double 1.000000e+00, %1156
  %1158 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1159 = load ptr, ptr %1158, align 8, !tbaa !15
  %1160 = getelementptr inbounds double, ptr %1159, i64 3
  %1161 = load double, ptr %1160, align 8, !tbaa !13
  %1162 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1163 = load ptr, ptr %1162, align 8, !tbaa !15
  %1164 = getelementptr inbounds double, ptr %1163, i64 2
  %1165 = load double, ptr %1164, align 8, !tbaa !13
  %1166 = fsub double %1161, %1165
  %1167 = fdiv double 1.000000e+00, %1166
  %1168 = fadd double %1157, %1167
  %1169 = fmul double -1.000000e+00, %1168
  %1170 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1171 = load ptr, ptr %1170, align 8, !tbaa !15
  %1172 = getelementptr inbounds double, ptr %1171, i64 2
  store double %1169, ptr %1172, align 8, !tbaa !13
  %1173 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1174 = load ptr, ptr %1173, align 8, !tbaa !15
  %1175 = getelementptr inbounds double, ptr %1174, i64 3
  %1176 = load double, ptr %1175, align 8, !tbaa !13
  %1177 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1178 = load ptr, ptr %1177, align 8, !tbaa !15
  %1179 = getelementptr inbounds double, ptr %1178, i64 2
  %1180 = load double, ptr %1179, align 8, !tbaa !13
  %1181 = fsub double %1176, %1180
  %1182 = fdiv double 1.000000e+00, %1181
  %1183 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1184 = load ptr, ptr %1183, align 8, !tbaa !15
  %1185 = getelementptr inbounds double, ptr %1184, i64 3
  store double %1182, ptr %1185, align 8, !tbaa !13
  store double 1.000000e-300, ptr %38, align 8, !tbaa !13
  %1186 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, ptr noundef %18, i64 noundef 4, ptr noundef %12, ptr noundef %1186)
  %1187 = load double, ptr %38, align 8, !tbaa !13
  %1188 = load ptr, ptr %4, align 8, !tbaa !9
  %1189 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %1187, ptr noundef %1188)
  store double %1189, ptr %34, align 8, !tbaa !13
  %1190 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %1191 = trunc i8 %1190 to i1
  br i1 %1191, label %1202, label %1192

1192:                                             ; preds = %1064
  %1193 = load double, ptr %34, align 8, !tbaa !13
  %1194 = load double, ptr %38, align 8, !tbaa !13
  %1195 = fsub double %1193, %1194
  %1196 = load ptr, ptr %4, align 8, !tbaa !9
  %1197 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1195, ptr noundef %1196)
  %1198 = load double, ptr %38, align 8, !tbaa !13
  %1199 = fdiv double %1197, %1198
  %1200 = load double, ptr %9, align 8, !tbaa !13
  %1201 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1199, double noundef %1200)
  br label %1202

1202:                                             ; preds = %1192, %1064
  %1203 = phi i1 [ true, %1064 ], [ %1201, %1192 ]
  %1204 = zext i1 %1203 to i8
  store i8 %1204, ptr %7, align 1, !tbaa !5
  store double 0.000000e+00, ptr %33, align 8, !tbaa !13
  store i64 1, ptr %32, align 8, !tbaa !11
  br label %1205

1205:                                             ; preds = %1241, %1202
  %1206 = load i64, ptr %32, align 8, !tbaa !11
  %1207 = load i64, ptr %11, align 8, !tbaa !11
  %1208 = sub nsw i64 %1207, 1
  %1209 = icmp sle i64 %1206, %1208
  br i1 %1209, label %1210, label %1244

1210:                                             ; preds = %1205
  %1211 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef 1, ptr noundef %1211)
  %1212 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef 1, ptr noundef %1212)
  %1213 = load ptr, ptr %4, align 8, !tbaa !9
  %1214 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1213)
  %1215 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1214, double -1.000000e+00)
  %1216 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1217 = load ptr, ptr %1216, align 8, !tbaa !15
  %1218 = getelementptr inbounds double, ptr %1217, i64 0
  store double %1215, ptr %1218, align 8, !tbaa !13
  %1219 = load ptr, ptr %4, align 8, !tbaa !9
  %1220 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1219)
  %1221 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1220, double -1.000000e+00)
  %1222 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1223 = load ptr, ptr %1222, align 8, !tbaa !15
  %1224 = getelementptr inbounds double, ptr %1223, i64 0
  store double %1221, ptr %1224, align 8, !tbaa !13
  %1225 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, i64 noundef 1, i64 noundef 1, ptr noundef %12, ptr noundef %1225)
  %1226 = load double, ptr %33, align 8, !tbaa !13
  %1227 = load ptr, ptr %4, align 8, !tbaa !9
  %1228 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1227)
  %1229 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1228, double -1.000000e+00)
  %1230 = load ptr, ptr %4, align 8, !tbaa !9
  %1231 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %1229, ptr noundef %1230)
  %1232 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1233 = load ptr, ptr %1232, align 8, !tbaa !15
  %1234 = getelementptr inbounds double, ptr %1233, i64 0
  %1235 = load double, ptr %1234, align 8, !tbaa !13
  %1236 = fsub double %1231, %1235
  %1237 = load ptr, ptr %4, align 8, !tbaa !9
  %1238 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1236, ptr noundef %1237)
  %1239 = load ptr, ptr %4, align 8, !tbaa !9
  %1240 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1226, double noundef %1238, ptr noundef %1239)
  store double %1240, ptr %33, align 8, !tbaa !13
  br label %1241

1241:                                             ; preds = %1210
  %1242 = load i64, ptr %32, align 8, !tbaa !11
  %1243 = add nsw i64 %1242, 1
  store i64 %1243, ptr %32, align 8, !tbaa !11
  br label %1205, !llvm.loop !29

1244:                                             ; preds = %1205
  store i64 2, ptr %26, align 8, !tbaa !11
  br label %1245

1245:                                             ; preds = %1783, %1244
  %1246 = load i64, ptr %26, align 8, !tbaa !11
  %1247 = icmp sle i64 %1246, 10
  br i1 %1247, label %1248, label %1786

1248:                                             ; preds = %1245
  %1249 = load i64, ptr %26, align 8, !tbaa !11
  %1250 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef %1249, ptr noundef %1250)
  %1251 = load i64, ptr %26, align 8, !tbaa !11
  %1252 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef %1251, ptr noundef %1252)
  %1253 = load i64, ptr %26, align 8, !tbaa !11
  %1254 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef %1253, ptr noundef %1254)
  %1255 = load i64, ptr %26, align 8, !tbaa !11
  %1256 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %19, i64 noundef %1255, ptr noundef %1256)
  store i64 1, ptr %32, align 8, !tbaa !11
  br label %1257

1257:                                             ; preds = %1499, %1248
  %1258 = load i64, ptr %32, align 8, !tbaa !11
  %1259 = load i64, ptr %11, align 8, !tbaa !11
  %1260 = icmp sle i64 %1258, %1259
  br i1 %1260, label %1261, label %1502

1261:                                             ; preds = %1257
  %1262 = load ptr, ptr %4, align 8, !tbaa !9
  %1263 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1262)
  %1264 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %1263, double -1.000000e+00)
  store double %1264, ptr %35, align 8, !tbaa !13
  %1265 = load ptr, ptr %4, align 8, !tbaa !9
  %1266 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1265)
  %1267 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %1266, double 1.000000e+00)
  store double %1267, ptr %36, align 8, !tbaa !13
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %1268

1268:                                             ; preds = %1292, %1261
  %1269 = load i64, ptr %28, align 8, !tbaa !11
  %1270 = load i64, ptr %26, align 8, !tbaa !11
  %1271 = sub nsw i64 %1270, 1
  %1272 = icmp sle i64 %1269, %1271
  br i1 %1272, label %1273, label %1295

1273:                                             ; preds = %1268
  %1274 = load double, ptr %36, align 8, !tbaa !13
  %1275 = load double, ptr %35, align 8, !tbaa !13
  %1276 = fsub double %1274, %1275
  %1277 = load i64, ptr %28, align 8, !tbaa !11
  %1278 = sitofp i64 %1277 to double
  %1279 = fmul double %1276, %1278
  %1280 = load i64, ptr %26, align 8, !tbaa !11
  %1281 = sub nsw i64 %1280, 1
  %1282 = sitofp i64 %1281 to double
  %1283 = fdiv double %1279, %1282
  %1284 = load double, ptr %35, align 8, !tbaa !13
  %1285 = fadd double %1283, %1284
  %1286 = load ptr, ptr %4, align 8, !tbaa !9
  %1287 = call noundef double @_ZN11alglib_impl7ae_atanEdPNS_8ae_stateE(double noundef %1285, ptr noundef %1286)
  %1288 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1289 = load ptr, ptr %1288, align 8, !tbaa !15
  %1290 = load i64, ptr %28, align 8, !tbaa !11
  %1291 = getelementptr inbounds double, ptr %1289, i64 %1290
  store double %1287, ptr %1291, align 8, !tbaa !13
  br label %1292

1292:                                             ; preds = %1273
  %1293 = load i64, ptr %28, align 8, !tbaa !11
  %1294 = add nsw i64 %1293, 1
  store i64 %1294, ptr %28, align 8, !tbaa !11
  br label %1268, !llvm.loop !30

1295:                                             ; preds = %1268
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %1296

1296:                                             ; preds = %1309, %1295
  %1297 = load i64, ptr %28, align 8, !tbaa !11
  %1298 = load i64, ptr %26, align 8, !tbaa !11
  %1299 = sub nsw i64 %1298, 1
  %1300 = icmp sle i64 %1297, %1299
  br i1 %1300, label %1301, label %1312

1301:                                             ; preds = %1296
  %1302 = load ptr, ptr %4, align 8, !tbaa !9
  %1303 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1302)
  %1304 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1303, double -1.000000e+00)
  %1305 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1306 = load ptr, ptr %1305, align 8, !tbaa !15
  %1307 = load i64, ptr %28, align 8, !tbaa !11
  %1308 = getelementptr inbounds double, ptr %1306, i64 %1307
  store double %1304, ptr %1308, align 8, !tbaa !13
  br label %1309

1309:                                             ; preds = %1301
  %1310 = load i64, ptr %28, align 8, !tbaa !11
  %1311 = add nsw i64 %1310, 1
  store i64 %1311, ptr %28, align 8, !tbaa !11
  br label %1296, !llvm.loop !31

1312:                                             ; preds = %1296
  %1313 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1314 = load ptr, ptr %1313, align 8, !tbaa !15
  %1315 = getelementptr inbounds double, ptr %1314, i64 1
  %1316 = load double, ptr %1315, align 8, !tbaa !13
  %1317 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1318 = load ptr, ptr %1317, align 8, !tbaa !15
  %1319 = getelementptr inbounds double, ptr %1318, i64 0
  %1320 = load double, ptr %1319, align 8, !tbaa !13
  %1321 = fsub double %1316, %1320
  %1322 = fdiv double -1.000000e+00, %1321
  %1323 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1324 = load ptr, ptr %1323, align 8, !tbaa !15
  %1325 = getelementptr inbounds double, ptr %1324, i64 0
  store double %1322, ptr %1325, align 8, !tbaa !13
  store double 1.000000e+00, ptr %37, align 8, !tbaa !13
  store i64 1, ptr %28, align 8, !tbaa !11
  br label %1326

1326:                                             ; preds = %1367, %1312
  %1327 = load i64, ptr %28, align 8, !tbaa !11
  %1328 = load i64, ptr %26, align 8, !tbaa !11
  %1329 = sub nsw i64 %1328, 2
  %1330 = icmp sle i64 %1327, %1329
  br i1 %1330, label %1331, label %1370

1331:                                             ; preds = %1326
  %1332 = load double, ptr %37, align 8, !tbaa !13
  %1333 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1334 = load ptr, ptr %1333, align 8, !tbaa !15
  %1335 = load i64, ptr %28, align 8, !tbaa !11
  %1336 = getelementptr inbounds double, ptr %1334, i64 %1335
  %1337 = load double, ptr %1336, align 8, !tbaa !13
  %1338 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1339 = load ptr, ptr %1338, align 8, !tbaa !15
  %1340 = load i64, ptr %28, align 8, !tbaa !11
  %1341 = sub nsw i64 %1340, 1
  %1342 = getelementptr inbounds double, ptr %1339, i64 %1341
  %1343 = load double, ptr %1342, align 8, !tbaa !13
  %1344 = fsub double %1337, %1343
  %1345 = fdiv double 1.000000e+00, %1344
  %1346 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1347 = load ptr, ptr %1346, align 8, !tbaa !15
  %1348 = load i64, ptr %28, align 8, !tbaa !11
  %1349 = add nsw i64 %1348, 1
  %1350 = getelementptr inbounds double, ptr %1347, i64 %1349
  %1351 = load double, ptr %1350, align 8, !tbaa !13
  %1352 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1353 = load ptr, ptr %1352, align 8, !tbaa !15
  %1354 = load i64, ptr %28, align 8, !tbaa !11
  %1355 = getelementptr inbounds double, ptr %1353, i64 %1354
  %1356 = load double, ptr %1355, align 8, !tbaa !13
  %1357 = fsub double %1351, %1356
  %1358 = fdiv double 1.000000e+00, %1357
  %1359 = fadd double %1345, %1358
  %1360 = fmul double %1332, %1359
  %1361 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1362 = load ptr, ptr %1361, align 8, !tbaa !15
  %1363 = load i64, ptr %28, align 8, !tbaa !11
  %1364 = getelementptr inbounds double, ptr %1362, i64 %1363
  store double %1360, ptr %1364, align 8, !tbaa !13
  %1365 = load double, ptr %37, align 8, !tbaa !13
  %1366 = fneg double %1365
  store double %1366, ptr %37, align 8, !tbaa !13
  br label %1367

1367:                                             ; preds = %1331
  %1368 = load i64, ptr %28, align 8, !tbaa !11
  %1369 = add nsw i64 %1368, 1
  store i64 %1369, ptr %28, align 8, !tbaa !11
  br label %1326, !llvm.loop !32

1370:                                             ; preds = %1326
  %1371 = load double, ptr %37, align 8, !tbaa !13
  %1372 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1373 = load ptr, ptr %1372, align 8, !tbaa !15
  %1374 = load i64, ptr %26, align 8, !tbaa !11
  %1375 = sub nsw i64 %1374, 1
  %1376 = getelementptr inbounds double, ptr %1373, i64 %1375
  %1377 = load double, ptr %1376, align 8, !tbaa !13
  %1378 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1379 = load ptr, ptr %1378, align 8, !tbaa !15
  %1380 = load i64, ptr %26, align 8, !tbaa !11
  %1381 = sub nsw i64 %1380, 2
  %1382 = getelementptr inbounds double, ptr %1379, i64 %1381
  %1383 = load double, ptr %1382, align 8, !tbaa !13
  %1384 = fsub double %1377, %1383
  %1385 = fdiv double %1371, %1384
  %1386 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1387 = load ptr, ptr %1386, align 8, !tbaa !15
  %1388 = load i64, ptr %26, align 8, !tbaa !11
  %1389 = sub nsw i64 %1388, 1
  %1390 = getelementptr inbounds double, ptr %1387, i64 %1389
  store double %1385, ptr %1390, align 8, !tbaa !13
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %1391

1391:                                             ; preds = %1462, %1370
  %1392 = load i64, ptr %28, align 8, !tbaa !11
  %1393 = load i64, ptr %26, align 8, !tbaa !11
  %1394 = sub nsw i64 %1393, 1
  %1395 = icmp sle i64 %1392, %1394
  br i1 %1395, label %1396, label %1465

1396:                                             ; preds = %1391
  %1397 = load i64, ptr %26, align 8, !tbaa !11
  %1398 = load ptr, ptr %4, align 8, !tbaa !9
  %1399 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %1397, ptr noundef %1398)
  store i64 %1399, ptr %30, align 8, !tbaa !11
  %1400 = load i64, ptr %30, align 8, !tbaa !11
  %1401 = load i64, ptr %28, align 8, !tbaa !11
  %1402 = icmp ne i64 %1400, %1401
  br i1 %1402, label %1403, label %1461

1403:                                             ; preds = %1396
  %1404 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1405 = load ptr, ptr %1404, align 8, !tbaa !15
  %1406 = load i64, ptr %28, align 8, !tbaa !11
  %1407 = getelementptr inbounds double, ptr %1405, i64 %1406
  %1408 = load double, ptr %1407, align 8, !tbaa !13
  store double %1408, ptr %34, align 8, !tbaa !13
  %1409 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1410 = load ptr, ptr %1409, align 8, !tbaa !15
  %1411 = load i64, ptr %30, align 8, !tbaa !11
  %1412 = getelementptr inbounds double, ptr %1410, i64 %1411
  %1413 = load double, ptr %1412, align 8, !tbaa !13
  %1414 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1415 = load ptr, ptr %1414, align 8, !tbaa !15
  %1416 = load i64, ptr %28, align 8, !tbaa !11
  %1417 = getelementptr inbounds double, ptr %1415, i64 %1416
  store double %1413, ptr %1417, align 8, !tbaa !13
  %1418 = load double, ptr %34, align 8, !tbaa !13
  %1419 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1420 = load ptr, ptr %1419, align 8, !tbaa !15
  %1421 = load i64, ptr %30, align 8, !tbaa !11
  %1422 = getelementptr inbounds double, ptr %1420, i64 %1421
  store double %1418, ptr %1422, align 8, !tbaa !13
  %1423 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1424 = load ptr, ptr %1423, align 8, !tbaa !15
  %1425 = load i64, ptr %28, align 8, !tbaa !11
  %1426 = getelementptr inbounds double, ptr %1424, i64 %1425
  %1427 = load double, ptr %1426, align 8, !tbaa !13
  store double %1427, ptr %34, align 8, !tbaa !13
  %1428 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1429 = load ptr, ptr %1428, align 8, !tbaa !15
  %1430 = load i64, ptr %30, align 8, !tbaa !11
  %1431 = getelementptr inbounds double, ptr %1429, i64 %1430
  %1432 = load double, ptr %1431, align 8, !tbaa !13
  %1433 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1434 = load ptr, ptr %1433, align 8, !tbaa !15
  %1435 = load i64, ptr %28, align 8, !tbaa !11
  %1436 = getelementptr inbounds double, ptr %1434, i64 %1435
  store double %1432, ptr %1436, align 8, !tbaa !13
  %1437 = load double, ptr %34, align 8, !tbaa !13
  %1438 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1439 = load ptr, ptr %1438, align 8, !tbaa !15
  %1440 = load i64, ptr %30, align 8, !tbaa !11
  %1441 = getelementptr inbounds double, ptr %1439, i64 %1440
  store double %1437, ptr %1441, align 8, !tbaa !13
  %1442 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1443 = load ptr, ptr %1442, align 8, !tbaa !15
  %1444 = load i64, ptr %28, align 8, !tbaa !11
  %1445 = getelementptr inbounds double, ptr %1443, i64 %1444
  %1446 = load double, ptr %1445, align 8, !tbaa !13
  store double %1446, ptr %34, align 8, !tbaa !13
  %1447 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1448 = load ptr, ptr %1447, align 8, !tbaa !15
  %1449 = load i64, ptr %30, align 8, !tbaa !11
  %1450 = getelementptr inbounds double, ptr %1448, i64 %1449
  %1451 = load double, ptr %1450, align 8, !tbaa !13
  %1452 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1453 = load ptr, ptr %1452, align 8, !tbaa !15
  %1454 = load i64, ptr %28, align 8, !tbaa !11
  %1455 = getelementptr inbounds double, ptr %1453, i64 %1454
  store double %1451, ptr %1455, align 8, !tbaa !13
  %1456 = load double, ptr %34, align 8, !tbaa !13
  %1457 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1458 = load ptr, ptr %1457, align 8, !tbaa !15
  %1459 = load i64, ptr %30, align 8, !tbaa !11
  %1460 = getelementptr inbounds double, ptr %1458, i64 %1459
  store double %1456, ptr %1460, align 8, !tbaa !13
  br label %1461

1461:                                             ; preds = %1403, %1396
  br label %1462

1462:                                             ; preds = %1461
  %1463 = load i64, ptr %28, align 8, !tbaa !11
  %1464 = add nsw i64 %1463, 1
  store i64 %1464, ptr %28, align 8, !tbaa !11
  br label %1391, !llvm.loop !33

1465:                                             ; preds = %1391
  %1466 = load i64, ptr %26, align 8, !tbaa !11
  %1467 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, i64 noundef %1466, i64 noundef 1, ptr noundef %12, ptr noundef %1467)
  %1468 = load i64, ptr %26, align 8, !tbaa !11
  %1469 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, ptr noundef %18, i64 noundef %1468, ptr noundef %13, ptr noundef %1469)
  store i64 1, ptr %28, align 8, !tbaa !11
  br label %1470

1470:                                             ; preds = %1495, %1465
  %1471 = load i64, ptr %28, align 8, !tbaa !11
  %1472 = load i64, ptr %26, align 8, !tbaa !11
  %1473 = mul nsw i64 2, %1472
  %1474 = icmp sle i64 %1471, %1473
  br i1 %1474, label %1475, label %1498

1475:                                             ; preds = %1470
  %1476 = load double, ptr %35, align 8, !tbaa !13
  %1477 = load double, ptr %36, align 8, !tbaa !13
  %1478 = load double, ptr %35, align 8, !tbaa !13
  %1479 = fsub double %1477, %1478
  %1480 = load ptr, ptr %4, align 8, !tbaa !9
  %1481 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1480)
  %1482 = call double @llvm.fmuladd.f64(double %1479, double %1481, double %1476)
  store double %1482, ptr %34, align 8, !tbaa !13
  %1483 = load double, ptr %33, align 8, !tbaa !13
  %1484 = load double, ptr %34, align 8, !tbaa !13
  %1485 = load ptr, ptr %4, align 8, !tbaa !9
  %1486 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %1484, ptr noundef %1485)
  %1487 = load double, ptr %34, align 8, !tbaa !13
  %1488 = load ptr, ptr %4, align 8, !tbaa !9
  %1489 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %13, double noundef %1487, ptr noundef %1488)
  %1490 = fsub double %1486, %1489
  %1491 = load ptr, ptr %4, align 8, !tbaa !9
  %1492 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1490, ptr noundef %1491)
  %1493 = load ptr, ptr %4, align 8, !tbaa !9
  %1494 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1483, double noundef %1492, ptr noundef %1493)
  store double %1494, ptr %33, align 8, !tbaa !13
  br label %1495

1495:                                             ; preds = %1475
  %1496 = load i64, ptr %28, align 8, !tbaa !11
  %1497 = add nsw i64 %1496, 1
  store i64 %1497, ptr %28, align 8, !tbaa !11
  br label %1470, !llvm.loop !34

1498:                                             ; preds = %1470
  br label %1499

1499:                                             ; preds = %1498
  %1500 = load i64, ptr %32, align 8, !tbaa !11
  %1501 = add nsw i64 %1500, 1
  store i64 %1501, ptr %32, align 8, !tbaa !11
  br label %1257, !llvm.loop !35

1502:                                             ; preds = %1257
  store i64 0, ptr %31, align 8, !tbaa !11
  br label %1503

1503:                                             ; preds = %1779, %1502
  %1504 = load i64, ptr %31, align 8, !tbaa !11
  %1505 = icmp sle i64 %1504, 2
  br i1 %1505, label %1506, label %1782

1506:                                             ; preds = %1503
  store i64 1, ptr %32, align 8, !tbaa !11
  br label %1507

1507:                                             ; preds = %1775, %1506
  %1508 = load i64, ptr %32, align 8, !tbaa !11
  %1509 = load i64, ptr %11, align 8, !tbaa !11
  %1510 = icmp sle i64 %1508, %1509
  br i1 %1510, label %1511, label %1778

1511:                                             ; preds = %1507
  %1512 = load i64, ptr %26, align 8, !tbaa !11
  %1513 = load i64, ptr %31, align 8, !tbaa !11
  %1514 = mul nsw i64 2, %1513
  %1515 = icmp slt i64 %1512, %1514
  br i1 %1515, label %1516, label %1517

1516:                                             ; preds = %1511
  br label %1775

1517:                                             ; preds = %1511
  %1518 = load ptr, ptr %4, align 8, !tbaa !9
  %1519 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1518)
  %1520 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %1519, double -1.000000e+00)
  store double %1520, ptr %35, align 8, !tbaa !13
  %1521 = load ptr, ptr %4, align 8, !tbaa !9
  %1522 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1521)
  %1523 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %1522, double 1.000000e+00)
  store double %1523, ptr %36, align 8, !tbaa !13
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %1524

1524:                                             ; preds = %1546, %1517
  %1525 = load i64, ptr %28, align 8, !tbaa !11
  %1526 = load i64, ptr %26, align 8, !tbaa !11
  %1527 = sub nsw i64 %1526, 1
  %1528 = icmp sle i64 %1525, %1527
  br i1 %1528, label %1529, label %1549

1529:                                             ; preds = %1524
  %1530 = load double, ptr %36, align 8, !tbaa !13
  %1531 = load double, ptr %35, align 8, !tbaa !13
  %1532 = fsub double %1530, %1531
  %1533 = load i64, ptr %28, align 8, !tbaa !11
  %1534 = sitofp i64 %1533 to double
  %1535 = fmul double %1532, %1534
  %1536 = load i64, ptr %26, align 8, !tbaa !11
  %1537 = sub nsw i64 %1536, 1
  %1538 = sitofp i64 %1537 to double
  %1539 = fdiv double %1535, %1538
  %1540 = load double, ptr %35, align 8, !tbaa !13
  %1541 = fadd double %1539, %1540
  %1542 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1543 = load ptr, ptr %1542, align 8, !tbaa !15
  %1544 = load i64, ptr %28, align 8, !tbaa !11
  %1545 = getelementptr inbounds double, ptr %1543, i64 %1544
  store double %1541, ptr %1545, align 8, !tbaa !13
  br label %1546

1546:                                             ; preds = %1529
  %1547 = load i64, ptr %28, align 8, !tbaa !11
  %1548 = add nsw i64 %1547, 1
  store i64 %1548, ptr %28, align 8, !tbaa !11
  br label %1524, !llvm.loop !36

1549:                                             ; preds = %1524
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %1550

1550:                                             ; preds = %1563, %1549
  %1551 = load i64, ptr %28, align 8, !tbaa !11
  %1552 = load i64, ptr %26, align 8, !tbaa !11
  %1553 = sub nsw i64 %1552, 1
  %1554 = icmp sle i64 %1551, %1553
  br i1 %1554, label %1555, label %1566

1555:                                             ; preds = %1550
  %1556 = load ptr, ptr %4, align 8, !tbaa !9
  %1557 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1556)
  %1558 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %1557, double -1.000000e+00)
  %1559 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1560 = load ptr, ptr %1559, align 8, !tbaa !15
  %1561 = load i64, ptr %28, align 8, !tbaa !11
  %1562 = getelementptr inbounds double, ptr %1560, i64 %1561
  store double %1558, ptr %1562, align 8, !tbaa !13
  br label %1563

1563:                                             ; preds = %1555
  %1564 = load i64, ptr %28, align 8, !tbaa !11
  %1565 = add nsw i64 %1564, 1
  store i64 %1565, ptr %28, align 8, !tbaa !11
  br label %1550, !llvm.loop !37

1566:                                             ; preds = %1550
  store double 1.000000e+00, ptr %37, align 8, !tbaa !13
  %1567 = load i64, ptr %31, align 8, !tbaa !11
  %1568 = icmp eq i64 %1567, 0
  br i1 %1568, label %1569, label %1587

1569:                                             ; preds = %1566
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %1570

1570:                                             ; preds = %1583, %1569
  %1571 = load i64, ptr %28, align 8, !tbaa !11
  %1572 = load i64, ptr %26, align 8, !tbaa !11
  %1573 = sub nsw i64 %1572, 1
  %1574 = icmp sle i64 %1571, %1573
  br i1 %1574, label %1575, label %1586

1575:                                             ; preds = %1570
  %1576 = load double, ptr %37, align 8, !tbaa !13
  %1577 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1578 = load ptr, ptr %1577, align 8, !tbaa !15
  %1579 = load i64, ptr %28, align 8, !tbaa !11
  %1580 = getelementptr inbounds double, ptr %1578, i64 %1579
  store double %1576, ptr %1580, align 8, !tbaa !13
  %1581 = load double, ptr %37, align 8, !tbaa !13
  %1582 = fneg double %1581
  store double %1582, ptr %37, align 8, !tbaa !13
  br label %1583

1583:                                             ; preds = %1575
  %1584 = load i64, ptr %28, align 8, !tbaa !11
  %1585 = add nsw i64 %1584, 1
  store i64 %1585, ptr %28, align 8, !tbaa !11
  br label %1570, !llvm.loop !38

1586:                                             ; preds = %1570
  br label %1587

1587:                                             ; preds = %1586, %1566
  %1588 = load i64, ptr %31, align 8, !tbaa !11
  %1589 = icmp eq i64 %1588, 1
  br i1 %1589, label %1590, label %1620

1590:                                             ; preds = %1587
  %1591 = load double, ptr %37, align 8, !tbaa !13
  %1592 = fneg double %1591
  %1593 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1594 = load ptr, ptr %1593, align 8, !tbaa !15
  %1595 = getelementptr inbounds double, ptr %1594, i64 0
  store double %1592, ptr %1595, align 8, !tbaa !13
  store i64 1, ptr %28, align 8, !tbaa !11
  br label %1596

1596:                                             ; preds = %1610, %1590
  %1597 = load i64, ptr %28, align 8, !tbaa !11
  %1598 = load i64, ptr %26, align 8, !tbaa !11
  %1599 = sub nsw i64 %1598, 2
  %1600 = icmp sle i64 %1597, %1599
  br i1 %1600, label %1601, label %1613

1601:                                             ; preds = %1596
  %1602 = load double, ptr %37, align 8, !tbaa !13
  %1603 = fmul double 2.000000e+00, %1602
  %1604 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1605 = load ptr, ptr %1604, align 8, !tbaa !15
  %1606 = load i64, ptr %28, align 8, !tbaa !11
  %1607 = getelementptr inbounds double, ptr %1605, i64 %1606
  store double %1603, ptr %1607, align 8, !tbaa !13
  %1608 = load double, ptr %37, align 8, !tbaa !13
  %1609 = fneg double %1608
  store double %1609, ptr %37, align 8, !tbaa !13
  br label %1610

1610:                                             ; preds = %1601
  %1611 = load i64, ptr %28, align 8, !tbaa !11
  %1612 = add nsw i64 %1611, 1
  store i64 %1612, ptr %28, align 8, !tbaa !11
  br label %1596, !llvm.loop !39

1613:                                             ; preds = %1596
  %1614 = load double, ptr %37, align 8, !tbaa !13
  %1615 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1616 = load ptr, ptr %1615, align 8, !tbaa !15
  %1617 = load i64, ptr %26, align 8, !tbaa !11
  %1618 = sub nsw i64 %1617, 1
  %1619 = getelementptr inbounds double, ptr %1616, i64 %1618
  store double %1614, ptr %1619, align 8, !tbaa !13
  br label %1620

1620:                                             ; preds = %1613, %1587
  %1621 = load i64, ptr %31, align 8, !tbaa !11
  %1622 = icmp eq i64 %1621, 2
  br i1 %1622, label %1623, label %1665

1623:                                             ; preds = %1620
  %1624 = load double, ptr %37, align 8, !tbaa !13
  %1625 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1626 = load ptr, ptr %1625, align 8, !tbaa !15
  %1627 = getelementptr inbounds double, ptr %1626, i64 0
  store double %1624, ptr %1627, align 8, !tbaa !13
  %1628 = load double, ptr %37, align 8, !tbaa !13
  %1629 = fmul double -3.000000e+00, %1628
  %1630 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1631 = load ptr, ptr %1630, align 8, !tbaa !15
  %1632 = getelementptr inbounds double, ptr %1631, i64 1
  store double %1629, ptr %1632, align 8, !tbaa !13
  store i64 2, ptr %28, align 8, !tbaa !11
  br label %1633

1633:                                             ; preds = %1647, %1623
  %1634 = load i64, ptr %28, align 8, !tbaa !11
  %1635 = load i64, ptr %26, align 8, !tbaa !11
  %1636 = sub nsw i64 %1635, 3
  %1637 = icmp sle i64 %1634, %1636
  br i1 %1637, label %1638, label %1650

1638:                                             ; preds = %1633
  %1639 = load double, ptr %37, align 8, !tbaa !13
  %1640 = fmul double 4.000000e+00, %1639
  %1641 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1642 = load ptr, ptr %1641, align 8, !tbaa !15
  %1643 = load i64, ptr %28, align 8, !tbaa !11
  %1644 = getelementptr inbounds double, ptr %1642, i64 %1643
  store double %1640, ptr %1644, align 8, !tbaa !13
  %1645 = load double, ptr %37, align 8, !tbaa !13
  %1646 = fneg double %1645
  store double %1646, ptr %37, align 8, !tbaa !13
  br label %1647

1647:                                             ; preds = %1638
  %1648 = load i64, ptr %28, align 8, !tbaa !11
  %1649 = add nsw i64 %1648, 1
  store i64 %1649, ptr %28, align 8, !tbaa !11
  br label %1633, !llvm.loop !40

1650:                                             ; preds = %1633
  %1651 = load double, ptr %37, align 8, !tbaa !13
  %1652 = fmul double 3.000000e+00, %1651
  %1653 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1654 = load ptr, ptr %1653, align 8, !tbaa !15
  %1655 = load i64, ptr %26, align 8, !tbaa !11
  %1656 = sub nsw i64 %1655, 2
  %1657 = getelementptr inbounds double, ptr %1654, i64 %1656
  store double %1652, ptr %1657, align 8, !tbaa !13
  %1658 = load double, ptr %37, align 8, !tbaa !13
  %1659 = fneg double %1658
  %1660 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1661 = load ptr, ptr %1660, align 8, !tbaa !15
  %1662 = load i64, ptr %26, align 8, !tbaa !11
  %1663 = sub nsw i64 %1662, 1
  %1664 = getelementptr inbounds double, ptr %1661, i64 %1663
  store double %1659, ptr %1664, align 8, !tbaa !13
  br label %1665

1665:                                             ; preds = %1650, %1620
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %1666

1666:                                             ; preds = %1737, %1665
  %1667 = load i64, ptr %28, align 8, !tbaa !11
  %1668 = load i64, ptr %26, align 8, !tbaa !11
  %1669 = sub nsw i64 %1668, 1
  %1670 = icmp sle i64 %1667, %1669
  br i1 %1670, label %1671, label %1740

1671:                                             ; preds = %1666
  %1672 = load i64, ptr %26, align 8, !tbaa !11
  %1673 = load ptr, ptr %4, align 8, !tbaa !9
  %1674 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %1672, ptr noundef %1673)
  store i64 %1674, ptr %30, align 8, !tbaa !11
  %1675 = load i64, ptr %30, align 8, !tbaa !11
  %1676 = load i64, ptr %28, align 8, !tbaa !11
  %1677 = icmp ne i64 %1675, %1676
  br i1 %1677, label %1678, label %1736

1678:                                             ; preds = %1671
  %1679 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1680 = load ptr, ptr %1679, align 8, !tbaa !15
  %1681 = load i64, ptr %28, align 8, !tbaa !11
  %1682 = getelementptr inbounds double, ptr %1680, i64 %1681
  %1683 = load double, ptr %1682, align 8, !tbaa !13
  store double %1683, ptr %34, align 8, !tbaa !13
  %1684 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1685 = load ptr, ptr %1684, align 8, !tbaa !15
  %1686 = load i64, ptr %30, align 8, !tbaa !11
  %1687 = getelementptr inbounds double, ptr %1685, i64 %1686
  %1688 = load double, ptr %1687, align 8, !tbaa !13
  %1689 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1690 = load ptr, ptr %1689, align 8, !tbaa !15
  %1691 = load i64, ptr %28, align 8, !tbaa !11
  %1692 = getelementptr inbounds double, ptr %1690, i64 %1691
  store double %1688, ptr %1692, align 8, !tbaa !13
  %1693 = load double, ptr %34, align 8, !tbaa !13
  %1694 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %1695 = load ptr, ptr %1694, align 8, !tbaa !15
  %1696 = load i64, ptr %30, align 8, !tbaa !11
  %1697 = getelementptr inbounds double, ptr %1695, i64 %1696
  store double %1693, ptr %1697, align 8, !tbaa !13
  %1698 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1699 = load ptr, ptr %1698, align 8, !tbaa !15
  %1700 = load i64, ptr %28, align 8, !tbaa !11
  %1701 = getelementptr inbounds double, ptr %1699, i64 %1700
  %1702 = load double, ptr %1701, align 8, !tbaa !13
  store double %1702, ptr %34, align 8, !tbaa !13
  %1703 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1704 = load ptr, ptr %1703, align 8, !tbaa !15
  %1705 = load i64, ptr %30, align 8, !tbaa !11
  %1706 = getelementptr inbounds double, ptr %1704, i64 %1705
  %1707 = load double, ptr %1706, align 8, !tbaa !13
  %1708 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1709 = load ptr, ptr %1708, align 8, !tbaa !15
  %1710 = load i64, ptr %28, align 8, !tbaa !11
  %1711 = getelementptr inbounds double, ptr %1709, i64 %1710
  store double %1707, ptr %1711, align 8, !tbaa !13
  %1712 = load double, ptr %34, align 8, !tbaa !13
  %1713 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %1714 = load ptr, ptr %1713, align 8, !tbaa !15
  %1715 = load i64, ptr %30, align 8, !tbaa !11
  %1716 = getelementptr inbounds double, ptr %1714, i64 %1715
  store double %1712, ptr %1716, align 8, !tbaa !13
  %1717 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1718 = load ptr, ptr %1717, align 8, !tbaa !15
  %1719 = load i64, ptr %28, align 8, !tbaa !11
  %1720 = getelementptr inbounds double, ptr %1718, i64 %1719
  %1721 = load double, ptr %1720, align 8, !tbaa !13
  store double %1721, ptr %34, align 8, !tbaa !13
  %1722 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1723 = load ptr, ptr %1722, align 8, !tbaa !15
  %1724 = load i64, ptr %30, align 8, !tbaa !11
  %1725 = getelementptr inbounds double, ptr %1723, i64 %1724
  %1726 = load double, ptr %1725, align 8, !tbaa !13
  %1727 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1728 = load ptr, ptr %1727, align 8, !tbaa !15
  %1729 = load i64, ptr %28, align 8, !tbaa !11
  %1730 = getelementptr inbounds double, ptr %1728, i64 %1729
  store double %1726, ptr %1730, align 8, !tbaa !13
  %1731 = load double, ptr %34, align 8, !tbaa !13
  %1732 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %1733 = load ptr, ptr %1732, align 8, !tbaa !15
  %1734 = load i64, ptr %30, align 8, !tbaa !11
  %1735 = getelementptr inbounds double, ptr %1733, i64 %1734
  store double %1731, ptr %1735, align 8, !tbaa !13
  br label %1736

1736:                                             ; preds = %1678, %1671
  br label %1737

1737:                                             ; preds = %1736
  %1738 = load i64, ptr %28, align 8, !tbaa !11
  %1739 = add nsw i64 %1738, 1
  store i64 %1739, ptr %28, align 8, !tbaa !11
  br label %1666, !llvm.loop !41

1740:                                             ; preds = %1666
  %1741 = load i64, ptr %26, align 8, !tbaa !11
  %1742 = load i64, ptr %31, align 8, !tbaa !11
  %1743 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, i64 noundef %1741, i64 noundef %1742, ptr noundef %12, ptr noundef %1743)
  %1744 = load i64, ptr %26, align 8, !tbaa !11
  %1745 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef %14, ptr noundef %16, ptr noundef %18, i64 noundef %1744, ptr noundef %13, ptr noundef %1745)
  store i64 1, ptr %28, align 8, !tbaa !11
  br label %1746

1746:                                             ; preds = %1771, %1740
  %1747 = load i64, ptr %28, align 8, !tbaa !11
  %1748 = load i64, ptr %26, align 8, !tbaa !11
  %1749 = mul nsw i64 2, %1748
  %1750 = icmp sle i64 %1747, %1749
  br i1 %1750, label %1751, label %1774

1751:                                             ; preds = %1746
  %1752 = load double, ptr %35, align 8, !tbaa !13
  %1753 = load double, ptr %36, align 8, !tbaa !13
  %1754 = load double, ptr %35, align 8, !tbaa !13
  %1755 = fsub double %1753, %1754
  %1756 = load ptr, ptr %4, align 8, !tbaa !9
  %1757 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1756)
  %1758 = call double @llvm.fmuladd.f64(double %1755, double %1757, double %1752)
  store double %1758, ptr %34, align 8, !tbaa !13
  %1759 = load double, ptr %33, align 8, !tbaa !13
  %1760 = load double, ptr %34, align 8, !tbaa !13
  %1761 = load ptr, ptr %4, align 8, !tbaa !9
  %1762 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %12, double noundef %1760, ptr noundef %1761)
  %1763 = load double, ptr %34, align 8, !tbaa !13
  %1764 = load ptr, ptr %4, align 8, !tbaa !9
  %1765 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef %13, double noundef %1763, ptr noundef %1764)
  %1766 = fsub double %1762, %1765
  %1767 = load ptr, ptr %4, align 8, !tbaa !9
  %1768 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %1766, ptr noundef %1767)
  %1769 = load ptr, ptr %4, align 8, !tbaa !9
  %1770 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %1759, double noundef %1768, ptr noundef %1769)
  store double %1770, ptr %33, align 8, !tbaa !13
  br label %1771

1771:                                             ; preds = %1751
  %1772 = load i64, ptr %28, align 8, !tbaa !11
  %1773 = add nsw i64 %1772, 1
  store i64 %1773, ptr %28, align 8, !tbaa !11
  br label %1746, !llvm.loop !42

1774:                                             ; preds = %1746
  br label %1775

1775:                                             ; preds = %1774, %1516
  %1776 = load i64, ptr %32, align 8, !tbaa !11
  %1777 = add nsw i64 %1776, 1
  store i64 %1777, ptr %32, align 8, !tbaa !11
  br label %1507, !llvm.loop !43

1778:                                             ; preds = %1507
  br label %1779

1779:                                             ; preds = %1778
  %1780 = load i64, ptr %31, align 8, !tbaa !11
  %1781 = add nsw i64 %1780, 1
  store i64 %1781, ptr %31, align 8, !tbaa !11
  br label %1503, !llvm.loop !44

1782:                                             ; preds = %1503
  br label %1783

1783:                                             ; preds = %1782
  %1784 = load i64, ptr %26, align 8, !tbaa !11
  %1785 = add nsw i64 %1784, 1
  store i64 %1785, ptr %26, align 8, !tbaa !11
  br label %1245, !llvm.loop !45

1786:                                             ; preds = %1245
  %1787 = load double, ptr %33, align 8, !tbaa !13
  %1788 = load double, ptr %9, align 8, !tbaa !13
  %1789 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %1787, double noundef %1788)
  br i1 %1789, label %1790, label %1791

1790:                                             ; preds = %1786
  store i8 1, ptr %8, align 1, !tbaa !5
  br label %1791

1791:                                             ; preds = %1790, %1786
  %1792 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %1793 = trunc i8 %1792 to i1
  br i1 %1793, label %1797, label %1794

1794:                                             ; preds = %1791
  %1795 = load i8, ptr %8, align 1, !tbaa !5, !range !20, !noundef !21
  %1796 = trunc i8 %1795 to i1
  br label %1797

1797:                                             ; preds = %1794, %1791
  %1798 = phi i1 [ true, %1791 ], [ %1796, %1794 ]
  %1799 = zext i1 %1798 to i8
  store i8 %1799, ptr %6, align 1, !tbaa !5
  %1800 = load i8, ptr %3, align 1, !tbaa !5, !range !20, !noundef !21
  %1801 = trunc i8 %1800 to i1
  br i1 %1801, label %1828, label %1802

1802:                                             ; preds = %1797
  %1803 = call i32 (ptr, ...) @printf(ptr noundef @.str.611)
  %1804 = call i32 (ptr, ...) @printf(ptr noundef @.str.612)
  %1805 = load i8, ptr %7, align 1, !tbaa !5, !range !20, !noundef !21
  %1806 = trunc i8 %1805 to i1
  br i1 %1806, label %1807, label %1809

1807:                                             ; preds = %1802
  %1808 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %1811

1809:                                             ; preds = %1802
  %1810 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %1811

1811:                                             ; preds = %1809, %1807
  %1812 = call i32 (ptr, ...) @printf(ptr noundef @.str.613)
  %1813 = load i8, ptr %8, align 1, !tbaa !5, !range !20, !noundef !21
  %1814 = trunc i8 %1813 to i1
  br i1 %1814, label %1815, label %1817

1815:                                             ; preds = %1811
  %1816 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %1819

1817:                                             ; preds = %1811
  %1818 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %1819

1819:                                             ; preds = %1817, %1815
  %1820 = load i8, ptr %6, align 1, !tbaa !5, !range !20, !noundef !21
  %1821 = trunc i8 %1820 to i1
  br i1 %1821, label %1822, label %1824

1822:                                             ; preds = %1819
  %1823 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %1826

1824:                                             ; preds = %1819
  %1825 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %1826

1826:                                             ; preds = %1824, %1822
  %1827 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %1828

1828:                                             ; preds = %1826, %1797
  %1829 = load i8, ptr %6, align 1, !tbaa !5, !range !20, !noundef !21
  %1830 = trunc i8 %1829 to i1
  %1831 = xor i1 %1830, true
  %1832 = zext i1 %1831 to i8
  store i8 %1832, ptr %45, align 1, !tbaa !5
  %1833 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1833)
  %1834 = load i8, ptr %45, align 1, !tbaa !5, !range !20, !noundef !21
  %1835 = trunc i8 %1834 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 208, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 208, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  ret i1 %1835
}

declare void @_ZN11alglib_impl28_barycentricinterpolant_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #1

declare void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef) #4

declare void @_ZN11alglib_impl17barycentricunpackEPNS_22barycentricinterpolantEPlPNS_9ae_vectorES4_S4_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef, double noundef, ptr noundef) #1

declare void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) #1

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

declare void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl16barycentricdiff2EPNS_22barycentricinterpolantEdPdS2_S2_PNS_8ae_stateE(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) #1

declare void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) #1

declare void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl7ae_atanEdPNS_8ae_stateE(double noundef, ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}
!27 = distinct !{!27, !17}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !17}
!30 = distinct !{!30, !17}
!31 = distinct !{!31, !17}
!32 = distinct !{!32, !17}
!33 = distinct !{!33, !17}
!34 = distinct !{!34, !17}
!35 = distinct !{!35, !17}
!36 = distinct !{!36, !17}
!37 = distinct !{!37, !17}
!38 = distinct !{!38, !17}
!39 = distinct !{!39, !17}
!40 = distinct !{!40, !17}
!41 = distinct !{!41, !17}
!42 = distinct !{!42, !17}
!43 = distinct !{!43, !17}
!44 = distinct !{!44, !17}
!45 = distinct !{!45, !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::barycentricinterpolant" = type { i64, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.611 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.612 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.613 = external hidden unnamed_addr constant [42 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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 #1

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

declare noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

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

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

declare noundef double @_ZN11alglib_impl6ae_sinEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10testratintbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca %"struct.alglib_impl::barycentricinterpolant", align 8
  %5 = alloca %"struct.alglib_impl::barycentricinterpolant", align 8
  %6 = alloca %"struct.alglib_impl::ae_vector", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  %9 = alloca %"struct.alglib_impl::ae_vector", align 8
  %10 = alloca %"struct.alglib_impl::ae_vector", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(208) %4, i8 0, i64 208, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(208) %5, i8 0, i64 208, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %6, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %10, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl28_barycentricinterpolant_initEPvPNS_8ae_stateEb(ptr noundef nonnull %4, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl28_barycentricinterpolant_initEPvPNS_8ae_stateEb(ptr noundef nonnull %5, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %9, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %10, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 2, ptr noundef %1, i1 noundef zeroext true)
  %22 = getelementptr inbounds i8, ptr %6, i64 56
  %23 = getelementptr inbounds i8, ptr %8, i64 56
  %24 = getelementptr inbounds i8, ptr %10, i64 56
  br label %.preheader593

.preheader593:                                    ; preds = %2, %323
  %indvar = phi i64 [ 0, %2 ], [ %indvar.next, %323 ]
  %.0610 = phi i1 [ false, %2 ], [ %321, %323 ]
  %.0539609 = phi i64 [ 1, %2 ], [ %324, %323 ]
  %25 = add nsw i64 %.0539609, -1
  %26 = icmp eq i64 %.0539609, 1
  %27 = sitofp i64 %25 to double
  %xtraiter = and i64 %.0539609, 1
  %28 = icmp eq i64 %indvar, 0
  %unroll_iter = and i64 %.0539609, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %29

29:                                               ; preds = %.preheader593, %320
  %.1608 = phi i1 [ %.0610, %.preheader593 ], [ %321, %320 ]
  %.0521607 = phi i64 [ 1, %.preheader593 ], [ %322, %320 ]
  %30 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %31 = call double @llvm.fmuladd.f64(double %30, double 4.000000e-01, double 1.000000e+00)
  %32 = fadd double %31, -2.000000e-01
  store double %32, ptr %16, align 8, !tbaa !5
  %33 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %34 = call double @llvm.fmuladd.f64(double %33, double 2.000000e+00, double -1.000000e+00)
  store double %34, ptr %17, align 8, !tbaa !5
  %35 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %36 = call double @llvm.fmuladd.f64(double %35, double 2.000000e+00, double -1.000000e+00)
  store double %36, ptr %18, align 8, !tbaa !5
  %37 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %38 = call double @llvm.fmuladd.f64(double %37, double 2.000000e+00, double -1.000000e+00)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %.0539609, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0539609, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %.0539609, ptr noundef %1)
  br label %39

39:                                               ; preds = %29, %47
  %.0531596 = phi i64 [ 0, %29 ], [ %71, %47 ]
  br i1 %26, label %47, label %40

40:                                               ; preds = %39
  %41 = load double, ptr %16, align 8, !tbaa !5
  %42 = uitofp nneg i64 %.0531596 to double
  %43 = fmul double %42, 0x400921FB54442D18
  %44 = fdiv double %43, %27
  %45 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %44, ptr noundef %1)
  %46 = fmul double %41, %45
  br label %47

47:                                               ; preds = %39, %40
  %.sink = phi double [ %46, %40 ], [ 0.000000e+00, %39 ]
  %48 = load ptr, ptr %22, align 8, !tbaa !9
  %49 = getelementptr inbounds double, ptr %48, i64 %.0531596
  store double %.sink, ptr %49, align 8, !tbaa !5
  %50 = load double, ptr %17, align 8, !tbaa !5
  %51 = load ptr, ptr %22, align 8, !tbaa !9
  %52 = getelementptr inbounds double, ptr %51, i64 %.0531596
  %53 = load double, ptr %52, align 8, !tbaa !5
  %54 = fmul double %50, %53
  %55 = call noundef double @_ZN11alglib_impl6ae_sinEdPNS_8ae_stateE(double noundef %54, ptr noundef %1)
  %56 = load double, ptr %18, align 8, !tbaa !5
  %57 = load ptr, ptr %22, align 8, !tbaa !9
  %58 = getelementptr inbounds double, ptr %57, i64 %.0531596
  %59 = load double, ptr %58, align 8, !tbaa !5
  %60 = fmul double %56, %59
  %61 = call noundef double @_ZN11alglib_impl6ae_cosEdPNS_8ae_stateE(double noundef %60, ptr noundef %1)
  %62 = fadd double %55, %61
  %63 = load ptr, ptr %22, align 8, !tbaa !9
  %64 = getelementptr inbounds double, ptr %63, i64 %.0531596
  %65 = load double, ptr %64, align 8, !tbaa !5
  %66 = fmul double %38, %65
  %67 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %66, ptr noundef %1)
  %68 = fadd double %62, %67
  %69 = load ptr, ptr %23, align 8, !tbaa !9
  %70 = getelementptr inbounds double, ptr %69, i64 %.0531596
  store double %68, ptr %70, align 8, !tbaa !5
  %71 = add nuw nsw i64 %.0531596, 1
  %exitcond.not = icmp eq i64 %71, %.0539609
  br i1 %exitcond.not, label %.preheader592, label %39, !llvm.loop !10

.preheader592:                                    ; preds = %47, %.epilog-lcssa
  %.0528598 = phi i64 [ %111, %.epilog-lcssa ], [ 0, %47 ]
  %72 = load ptr, ptr %24, align 8, !tbaa !9
  %73 = getelementptr inbounds double, ptr %72, i64 %.0528598
  store double 1.000000e+00, ptr %73, align 8, !tbaa !5
  br i1 %28, label %.unr-lcssa, label %.preheader592.new

.preheader592.new:                                ; preds = %.preheader592, %98
  %.0527597 = phi i64 [ %99, %98 ], [ 0, %.preheader592 ]
  %niter = phi i64 [ %niter.next.1, %98 ], [ 0, %.preheader592 ]
  %.not572 = icmp eq i64 %.0527597, %.0528598
  br i1 %.not572, label %85, label %74

74:                                               ; preds = %.preheader592.new
  %75 = load ptr, ptr %24, align 8, !tbaa !9
  %76 = getelementptr inbounds double, ptr %75, i64 %.0528598
  %77 = load double, ptr %76, align 8, !tbaa !5
  %78 = load ptr, ptr %22, align 8, !tbaa !9
  %79 = getelementptr inbounds double, ptr %78, i64 %.0528598
  %80 = load double, ptr %79, align 8, !tbaa !5
  %81 = getelementptr inbounds double, ptr %78, i64 %.0527597
  %82 = load double, ptr %81, align 8, !tbaa !5
  %83 = fsub double %80, %82
  %84 = fdiv double %77, %83
  store double %84, ptr %76, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %.preheader592.new, %74
  %86 = or disjoint i64 %.0527597, 1
  %.not572.1 = icmp eq i64 %86, %.0528598
  br i1 %.not572.1, label %98, label %87

87:                                               ; preds = %85
  %88 = load ptr, ptr %24, align 8, !tbaa !9
  %89 = getelementptr inbounds double, ptr %88, i64 %.0528598
  %90 = load double, ptr %89, align 8, !tbaa !5
  %91 = load ptr, ptr %22, align 8, !tbaa !9
  %92 = getelementptr inbounds double, ptr %91, i64 %.0528598
  %93 = load double, ptr %92, align 8, !tbaa !5
  %94 = getelementptr inbounds double, ptr %91, i64 %86
  %95 = load double, ptr %94, align 8, !tbaa !5
  %96 = fsub double %93, %95
  %97 = fdiv double %90, %96
  store double %97, ptr %89, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %87, %85
  %99 = add nuw nsw i64 %.0527597, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.unr-lcssa, label %.preheader592.new, !llvm.loop !12

.unr-lcssa:                                       ; preds = %98, %.preheader592
  %.0527597.unr = phi i64 [ 0, %.preheader592 ], [ %99, %98 ]
  %.not572.epil = icmp eq i64 %.0527597.unr, %.0528598
  %or.cond = select i1 %lcmp.mod.not, i1 true, i1 %.not572.epil
  br i1 %or.cond, label %.epilog-lcssa, label %100

100:                                              ; preds = %.unr-lcssa
  %101 = load ptr, ptr %24, align 8, !tbaa !9
  %102 = getelementptr inbounds double, ptr %101, i64 %.0528598
  %103 = load double, ptr %102, align 8, !tbaa !5
  %104 = load ptr, ptr %22, align 8, !tbaa !9
  %105 = getelementptr inbounds double, ptr %104, i64 %.0528598
  %106 = load double, ptr %105, align 8, !tbaa !5
  %107 = getelementptr inbounds double, ptr %104, i64 %.0527597.unr
  %108 = load double, ptr %107, align 8, !tbaa !5
  %109 = fsub double %106, %108
  %110 = fdiv double %103, %109
  store double %110, ptr %102, align 8, !tbaa !5
  br label %.epilog-lcssa

.epilog-lcssa:                                    ; preds = %100, %.unr-lcssa
  %111 = add nuw nsw i64 %.0528598, 1
  %exitcond678.not = icmp eq i64 %111, %.0539609
  br i1 %exitcond678.not, label %112, label %.preheader592, !llvm.loop !13

112:                                              ; preds = %.epilog-lcssa
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef %.0539609, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl17barycentricunpackEPNS_22barycentricinterpolantEPlPNS_9ae_vectorES4_S4_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %15, ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %11, ptr noundef %1)
  %113 = load i64, ptr %15, align 8
  %114 = icmp ne i64 %113, %.0539609
  %115 = or i1 %114, %.1608
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %11, i64 noundef %113, ptr noundef nonnull %5, ptr noundef %1)
  %116 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  br i1 %115, label %124, label %117

117:                                              ; preds = %112
  %118 = call double @llvm.fmuladd.f64(double %116, double 2.000000e+00, double -1.000000e+00)
  %119 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %118, ptr noundef %1)
  %120 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %118, ptr noundef %1)
  %121 = fsub double %119, %120
  %122 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %121, ptr noundef %1)
  %123 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %122, double noundef 5.000000e-10)
  br label %124

124:                                              ; preds = %117, %112
  %125 = phi i1 [ true, %112 ], [ %123, %117 ]
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1)
  %126 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  br i1 %125, label %.preheader740, label %127

127:                                              ; preds = %124
  %128 = call double @llvm.fmuladd.f64(double %126, double 2.000000e+00, double -1.000000e+00)
  %129 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %128, ptr noundef %1)
  %130 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %128, ptr noundef %1)
  %131 = fsub double %129, %130
  %132 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %131, ptr noundef %1)
  %133 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %132, double noundef 5.000000e-10)
  br label %.preheader740

.preheader740:                                    ; preds = %127, %124
  %.2.in604.ph = phi i1 [ %133, %127 ], [ true, %124 ]
  br label %134

134:                                              ; preds = %.preheader740, %226
  %.2.in604 = phi i1 [ %227, %226 ], [ %.2.in604.ph, %.preheader740 ]
  %.1532603 = phi i64 [ %228, %226 ], [ 0, %.preheader740 ]
  br i1 %.2.in604, label %151, label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %22, align 8, !tbaa !9
  %137 = getelementptr inbounds double, ptr %136, i64 %.1532603
  %138 = load double, ptr %137, align 8, !tbaa !5
  %139 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %138, ptr noundef %1)
  %140 = load ptr, ptr %23, align 8, !tbaa !9
  %141 = getelementptr inbounds double, ptr %140, i64 %.1532603
  %142 = load double, ptr %141, align 8, !tbaa !5
  %143 = fsub double %139, %142
  %144 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %143, ptr noundef %1)
  %145 = load ptr, ptr %23, align 8, !tbaa !9
  %146 = getelementptr inbounds double, ptr %145, i64 %.1532603
  %147 = load double, ptr %146, align 8, !tbaa !5
  %148 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %147, ptr noundef %1)
  %149 = fmul double %148, 5.000000e-10
  %150 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %144, double noundef %149)
  br label %151

151:                                              ; preds = %135, %134
  %152 = phi i1 [ true, %134 ], [ %150, %135 ]
  %153 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %154 = call double @llvm.fmuladd.f64(double %153, double 2.000000e+00, double -1.000000e+00)
  call void @_ZL23testratintunit_poldiff2PN11alglib_impl9ae_vectorES1_ldPdS2_S2_PNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef %.0539609, double noundef %154, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %1)
  br i1 %152, label %165, label %155

155:                                              ; preds = %151
  %156 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %154, ptr noundef %1)
  %157 = load double, ptr %16, align 8, !tbaa !5
  %158 = fsub double %156, %157
  %159 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %158, ptr noundef %1)
  %160 = load double, ptr %16, align 8, !tbaa !5
  %161 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %160, ptr noundef %1)
  %162 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %161, double noundef 1.000000e+00, ptr noundef %1)
  %163 = fmul double %162, 5.000000e-10
  %164 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %159, double noundef %163)
  br label %165

165:                                              ; preds = %155, %151
  %166 = phi i1 [ true, %151 ], [ %164, %155 ]
  br label %167

167:                                              ; preds = %165, %167
  %.1529600 = phi i64 [ 0, %165 ], [ %178, %167 ]
  %.0542599 = phi double [ 0.000000e+00, %165 ], [ %193, %167 ]
  %168 = load ptr, ptr %22, align 8, !tbaa !9
  %169 = getelementptr inbounds double, ptr %168, i64 %.1532603
  %170 = load double, ptr %169, align 8, !tbaa !5
  %171 = fsub double 3.000000e+00, %170
  %172 = uitofp nneg i64 %.1529600 to double
  %173 = fmul double %171, %172
  %174 = fdiv double %173, 1.000000e+02
  %175 = fadd double %170, %174
  store double %175, ptr %17, align 8, !tbaa !5
  %176 = load double, ptr %169, align 8, !tbaa !5
  %177 = fsub double 3.000000e+00, %176
  %178 = add nuw nsw i64 %.1529600, 1
  %179 = uitofp nneg i64 %178 to double
  %180 = fmul double %177, %179
  %181 = fdiv double %180, 1.000000e+02
  %182 = fadd double %176, %181
  store double %182, ptr %18, align 8, !tbaa !5
  %183 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %182, ptr noundef %1)
  %184 = load double, ptr %17, align 8, !tbaa !5
  %185 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %184, ptr noundef %1)
  %186 = fsub double %183, %185
  %187 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %186, ptr noundef %1)
  %188 = load double, ptr %18, align 8, !tbaa !5
  %189 = load double, ptr %17, align 8, !tbaa !5
  %190 = fsub double %188, %189
  %191 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %190, ptr noundef %1)
  %192 = fdiv double %187, %191
  %193 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0542599, double noundef %192, ptr noundef %1)
  %exitcond679.not = icmp eq i64 %178, 100
  br i1 %exitcond679.not, label %.preheader590, label %167, !llvm.loop !14

.preheader590:                                    ; preds = %167, %.preheader590
  %.2530602 = phi i64 [ %204, %.preheader590 ], [ 0, %167 ]
  %.0541601 = phi double [ %219, %.preheader590 ], [ 0.000000e+00, %167 ]
  %194 = load ptr, ptr %22, align 8, !tbaa !9
  %195 = getelementptr inbounds double, ptr %194, i64 %.1532603
  %196 = load double, ptr %195, align 8, !tbaa !5
  %197 = fsub double 3.000000e+00, %196
  %198 = uitofp nneg i64 %.2530602 to double
  %199 = fmul double %197, %198
  %200 = fdiv double %199, 2.000000e+02
  %201 = fadd double %196, %200
  store double %201, ptr %17, align 8, !tbaa !5
  %202 = load double, ptr %195, align 8, !tbaa !5
  %203 = fsub double 3.000000e+00, %202
  %204 = add nuw nsw i64 %.2530602, 1
  %205 = uitofp nneg i64 %204 to double
  %206 = fmul double %203, %205
  %207 = fdiv double %206, 2.000000e+02
  %208 = fadd double %202, %207
  store double %208, ptr %18, align 8, !tbaa !5
  %209 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %208, ptr noundef %1)
  %210 = load double, ptr %17, align 8, !tbaa !5
  %211 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %210, ptr noundef %1)
  %212 = fsub double %209, %211
  %213 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %212, ptr noundef %1)
  %214 = load double, ptr %18, align 8, !tbaa !5
  %215 = load double, ptr %17, align 8, !tbaa !5
  %216 = fsub double %214, %215
  %217 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %216, ptr noundef %1)
  %218 = fdiv double %213, %217
  %219 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0541601, double noundef %218, ptr noundef %1)
  %exitcond680.not = icmp eq i64 %204, 200
  br i1 %exitcond680.not, label %220, label %.preheader590, !llvm.loop !15

220:                                              ; preds = %.preheader590
  br i1 %166, label %226, label %221

221:                                              ; preds = %220
  %222 = fmul double %193, 1.300000e+00
  %223 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %219, double noundef %222)
  br i1 %223, label %224, label %226

224:                                              ; preds = %221
  %225 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %193, double noundef 0x3E7AD7F29ABCAF49)
  br label %226

226:                                              ; preds = %221, %224, %220
  %227 = phi i1 [ true, %220 ], [ false, %221 ], [ %225, %224 ]
  %228 = add nuw nsw i64 %.1532603, 1
  %exitcond681.not = icmp eq i64 %228, %.0539609
  br i1 %exitcond681.not, label %.preheader591, label %134, !llvm.loop !16

.preheader591:                                    ; preds = %226, %.critedge576
  %.3606 = phi i1 [ %280, %.critedge576 ], [ %227, %226 ]
  %.2533605 = phi i64 [ %281, %.critedge576 ], [ 0, %226 ]
  %229 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %230 = call double @llvm.fmuladd.f64(double %229, double 2.000000e+00, double -1.000000e+00)
  call void @_ZL23testratintunit_poldiff2PN11alglib_impl9ae_vectorES1_ldPdS2_S2_PNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef %.0539609, double noundef %230, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %1)
  store double 0.000000e+00, ptr %19, align 8, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  store double 0.000000e+00, ptr %21, align 8, !tbaa !5
  call void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef nonnull %4, double noundef %230, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef %1)
  br i1 %.3606, label %.critedge573, label %231

231:                                              ; preds = %.preheader591
  %232 = load double, ptr %16, align 8, !tbaa !5
  %233 = load double, ptr %19, align 8, !tbaa !5
  %234 = fsub double %232, %233
  %235 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %234, ptr noundef %1)
  %236 = load double, ptr %16, align 8, !tbaa !5
  %237 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %236, ptr noundef %1)
  %238 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %237, double noundef 1.000000e+00, ptr noundef %1)
  %239 = fmul double %238, 5.000000e-10
  %240 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %235, double noundef %239)
  br i1 %240, label %.critedge573, label %.critedge

.critedge:                                        ; preds = %231
  %241 = load double, ptr %17, align 8, !tbaa !5
  %242 = load double, ptr %20, align 8, !tbaa !5
  %243 = fsub double %241, %242
  %244 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %243, ptr noundef %1)
  %245 = load double, ptr %17, align 8, !tbaa !5
  %246 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %245, ptr noundef %1)
  %247 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %246, double noundef 1.000000e+00, ptr noundef %1)
  %248 = fmul double %247, 5.000000e-10
  %249 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %244, double noundef %248)
  store double 0.000000e+00, ptr %19, align 8, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  store double 0.000000e+00, ptr %21, align 8, !tbaa !5
  call void @_ZN11alglib_impl16barycentricdiff2EPNS_22barycentricinterpolantEdPdS2_S2_PNS_8ae_stateE(ptr noundef nonnull %4, double noundef %230, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef %1)
  br i1 %249, label %.critedge576, label %250

250:                                              ; preds = %.critedge
  %251 = load double, ptr %16, align 8, !tbaa !5
  %252 = load double, ptr %19, align 8, !tbaa !5
  %253 = fsub double %251, %252
  %254 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %253, ptr noundef %1)
  %255 = load double, ptr %16, align 8, !tbaa !5
  %256 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %255, ptr noundef %1)
  %257 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %256, double noundef 1.000000e+00, ptr noundef %1)
  %258 = fmul double %257, 5.000000e-10
  %259 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %254, double noundef %258)
  br i1 %259, label %.critedge576, label %.critedge575

.critedge573:                                     ; preds = %.preheader591, %231
  store double 0.000000e+00, ptr %19, align 8, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  store double 0.000000e+00, ptr %21, align 8, !tbaa !5
  call void @_ZN11alglib_impl16barycentricdiff2EPNS_22barycentricinterpolantEdPdS2_S2_PNS_8ae_stateE(ptr noundef nonnull %4, double noundef %230, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef %1)
  br label %.critedge576

.critedge575:                                     ; preds = %250
  %260 = load double, ptr %17, align 8, !tbaa !5
  %261 = load double, ptr %20, align 8, !tbaa !5
  %262 = fsub double %260, %261
  %263 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %262, ptr noundef %1)
  %264 = load double, ptr %17, align 8, !tbaa !5
  %265 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %264, ptr noundef %1)
  %266 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %265, double noundef 1.000000e+00, ptr noundef %1)
  %267 = fmul double %266, 5.000000e-10
  %268 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %263, double noundef %267)
  br i1 %268, label %.critedge576, label %269

269:                                              ; preds = %.critedge575
  %270 = load double, ptr %18, align 8, !tbaa !5
  %271 = load double, ptr %21, align 8, !tbaa !5
  %272 = fsub double %270, %271
  %273 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %272, ptr noundef %1)
  %274 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e-10, ptr noundef %1)
  %275 = load double, ptr %18, align 8, !tbaa !5
  %276 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %275, ptr noundef %1)
  %277 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %276, double noundef 1.000000e+00, ptr noundef %1)
  %278 = fmul double %274, %277
  %279 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %273, double noundef %278)
  br label %.critedge576

.critedge576:                                     ; preds = %250, %.critedge573, %.critedge, %269, %.critedge575
  %280 = phi i1 [ true, %.critedge575 ], [ %279, %269 ], [ true, %.critedge ], [ true, %.critedge573 ], [ true, %250 ]
  %281 = add nuw nsw i64 %.2533605, 1
  %exitcond682.not = icmp eq i64 %281, %.0539609
  br i1 %exitcond682.not, label %282, label %.preheader591, !llvm.loop !17

282:                                              ; preds = %.critedge576
  %283 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %284 = call double @llvm.fmuladd.f64(double %283, double 2.000000e+00, double -1.000000e+00)
  %285 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %286 = call double @llvm.fmuladd.f64(double %285, double 2.000000e+00, double -1.000000e+00)
  %287 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %288 = call double @llvm.fmuladd.f64(double %287, double 2.000000e+00, double -1.000000e+00)
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %286, double noundef %288, ptr noundef %1)
  br i1 %280, label %296, label %289

289:                                              ; preds = %282
  %290 = call double @llvm.fmuladd.f64(double %286, double %284, double %288)
  %291 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %290, ptr noundef %1)
  %292 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %284, ptr noundef %1)
  %293 = fsub double %291, %292
  %294 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %293, ptr noundef %1)
  %295 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %294, double noundef 5.000000e-10)
  br label %296

296:                                              ; preds = %289, %282
  %297 = phi i1 [ true, %282 ], [ %295, %289 ]
  %298 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %299 = call double @llvm.fmuladd.f64(double %298, double 2.000000e+00, double -1.000000e+00)
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef nonnull %5, double noundef 0.000000e+00, double noundef %299, ptr noundef %1)
  br i1 %297, label %307, label %300

300:                                              ; preds = %296
  %301 = call double @llvm.fmuladd.f64(double %284, double 0.000000e+00, double %299)
  %302 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %301, ptr noundef %1)
  %303 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %284, ptr noundef %1)
  %304 = fsub double %302, %303
  %305 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %304, ptr noundef %1)
  %306 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %305, double noundef 5.000000e-10)
  br label %307

307:                                              ; preds = %300, %296
  %308 = phi i1 [ true, %296 ], [ %306, %300 ]
  %309 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %310 = call double @llvm.fmuladd.f64(double %309, double 2.000000e+00, double -1.000000e+00)
  %311 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %312 = call double @llvm.fmuladd.f64(double %311, double 2.000000e+00, double -1.000000e+00)
  call void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %310, double noundef %312, ptr noundef %1)
  br i1 %308, label %320, label %313

313:                                              ; preds = %307
  %314 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %284, ptr noundef %1)
  %315 = call double @llvm.fmuladd.f64(double %310, double %314, double %312)
  %316 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %284, ptr noundef %1)
  %317 = fsub double %315, %316
  %318 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %317, ptr noundef %1)
  %319 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %318, double noundef 5.000000e-10)
  br label %320

320:                                              ; preds = %313, %307
  %321 = phi i1 [ true, %307 ], [ %319, %313 ]
  %322 = add nuw nsw i64 %.0521607, 1
  %exitcond683.not = icmp eq i64 %322, 6
  br i1 %exitcond683.not, label %323, label %29, !llvm.loop !18

323:                                              ; preds = %320
  %324 = add nuw nsw i64 %.0539609, 1
  %exitcond684.not = icmp eq i64 %324, 11
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond684.not, label %.preheader589, label %.preheader593, !llvm.loop !19

.preheader589:                                    ; preds = %323, %.critedge579
  %.4612 = phi i1 [ %407, %.critedge579 ], [ %321, %323 ]
  %.1522611 = phi i64 [ %408, %.critedge579 ], [ 0, %323 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 4, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 4, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef 4, ptr noundef %1)
  %325 = and i64 %.1522611, 1
  %.not565 = icmp eq i64 %325, 0
  %spec.store.select2 = select i1 %.not565, double 0x210BE08D0527E1E, double 0x7DCE94C85C298C4D
  %326 = load ptr, ptr %22, align 8, !tbaa !9
  store double 0.000000e+00, ptr %326, align 8, !tbaa !5
  %327 = load ptr, ptr %22, align 8, !tbaa !9
  %328 = getelementptr inbounds i8, ptr %327, i64 8
  store double %spec.store.select2, ptr %328, align 8, !tbaa !5
  %329 = fmul double %spec.store.select2, 2.000000e+00
  %330 = load ptr, ptr %22, align 8, !tbaa !9
  %331 = getelementptr inbounds i8, ptr %330, i64 16
  store double %329, ptr %331, align 8, !tbaa !5
  %332 = fmul double %spec.store.select2, 3.000000e+00
  %333 = load ptr, ptr %22, align 8, !tbaa !9
  %334 = getelementptr inbounds i8, ptr %333, i64 24
  store double %332, ptr %334, align 8, !tbaa !5
  %335 = load ptr, ptr %23, align 8, !tbaa !9
  store double 0.000000e+00, ptr %335, align 8, !tbaa !5
  %336 = load ptr, ptr %23, align 8, !tbaa !9
  %337 = getelementptr inbounds i8, ptr %336, i64 8
  store double %spec.store.select2, ptr %337, align 8, !tbaa !5
  %338 = load ptr, ptr %23, align 8, !tbaa !9
  %339 = getelementptr inbounds i8, ptr %338, i64 16
  store double %329, ptr %339, align 8, !tbaa !5
  %340 = load ptr, ptr %23, align 8, !tbaa !9
  %341 = getelementptr inbounds i8, ptr %340, i64 24
  store double %332, ptr %341, align 8, !tbaa !5
  %342 = load ptr, ptr %22, align 8, !tbaa !9
  %343 = getelementptr inbounds i8, ptr %342, i64 8
  %344 = load double, ptr %343, align 8, !tbaa !5
  %345 = load double, ptr %342, align 8, !tbaa !5
  %346 = fsub double %344, %345
  %347 = fdiv double -1.000000e+00, %346
  %348 = load ptr, ptr %24, align 8, !tbaa !9
  store double %347, ptr %348, align 8, !tbaa !5
  %349 = load ptr, ptr %22, align 8, !tbaa !9
  %350 = getelementptr inbounds i8, ptr %349, i64 8
  %351 = load double, ptr %349, align 8, !tbaa !5
  %352 = load <2 x double>, ptr %350, align 8, !tbaa !5
  %353 = insertelement <2 x double> poison, double %351, i64 0
  %354 = shufflevector <2 x double> %353, <2 x double> %352, <2 x i32> <i32 0, i32 2>
  %355 = fsub <2 x double> %352, %354
  %356 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %355
  %shift = shufflevector <2 x double> %356, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %357 = fadd <2 x double> %356, %shift
  %358 = extractelement <2 x double> %357, i64 0
  %359 = load ptr, ptr %24, align 8, !tbaa !9
  %360 = getelementptr inbounds i8, ptr %359, i64 8
  store double %358, ptr %360, align 8, !tbaa !5
  %361 = load ptr, ptr %22, align 8, !tbaa !9
  %362 = getelementptr inbounds i8, ptr %361, i64 16
  %363 = getelementptr inbounds i8, ptr %361, i64 8
  %364 = load double, ptr %363, align 8, !tbaa !5
  %365 = load <2 x double>, ptr %362, align 8, !tbaa !5
  %366 = insertelement <2 x double> poison, double %364, i64 0
  %367 = shufflevector <2 x double> %366, <2 x double> %365, <2 x i32> <i32 0, i32 2>
  %368 = fsub <2 x double> %365, %367
  %369 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %368
  %shift727 = shufflevector <2 x double> %369, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %370 = fadd <2 x double> %369, %shift727
  %371 = extractelement <2 x double> %370, i64 0
  %372 = fneg double %371
  %373 = load ptr, ptr %24, align 8, !tbaa !9
  %374 = getelementptr inbounds i8, ptr %373, i64 16
  store double %372, ptr %374, align 8, !tbaa !5
  %375 = load ptr, ptr %22, align 8, !tbaa !9
  %376 = getelementptr inbounds i8, ptr %375, i64 24
  %377 = load double, ptr %376, align 8, !tbaa !5
  %378 = getelementptr inbounds i8, ptr %375, i64 16
  %379 = load double, ptr %378, align 8, !tbaa !5
  %380 = fsub double %377, %379
  %381 = fdiv double 1.000000e+00, %380
  %382 = load ptr, ptr %24, align 8, !tbaa !9
  %383 = getelementptr inbounds i8, ptr %382, i64 24
  store double %381, ptr %383, align 8, !tbaa !5
  %.not566 = icmp ult i64 %.1522611, 2
  %384 = fmul double %spec.store.select2, 6.000000e-01
  %storemerge = select i1 %.not566, double 0.000000e+00, double %384
  store double %storemerge, ptr %16, align 8
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef 4, ptr noundef nonnull %4, ptr noundef %1)
  %385 = load double, ptr %16, align 8, !tbaa !5
  %386 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %385, ptr noundef %1)
  store double 0.000000e+00, ptr %19, align 8, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  store double 0.000000e+00, ptr %21, align 8, !tbaa !5
  %387 = load double, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef nonnull %4, double noundef %387, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef %1)
  br i1 %.4612, label %.critedge579, label %388

388:                                              ; preds = %.preheader589
  %389 = load double, ptr %16, align 8, !tbaa !5
  %390 = fsub double %386, %389
  %391 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %390, ptr noundef %1)
  %392 = load double, ptr %16, align 8, !tbaa !5
  %393 = fmul double %392, 5.000000e-10
  %394 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %391, double noundef %393)
  br i1 %394, label %.critedge579, label %.critedge578

.critedge578:                                     ; preds = %388
  %395 = load double, ptr %19, align 8, !tbaa !5
  %396 = load double, ptr %16, align 8, !tbaa !5
  %397 = fsub double %395, %396
  %398 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %397, ptr noundef %1)
  %399 = load double, ptr %16, align 8, !tbaa !5
  %400 = fmul double %399, 5.000000e-10
  %401 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %398, double noundef %400)
  br i1 %401, label %.critedge579, label %402

402:                                              ; preds = %.critedge578
  %403 = load double, ptr %20, align 8, !tbaa !5
  %404 = fadd double %403, -1.000000e+00
  %405 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %404, ptr noundef %1)
  %406 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %405, double noundef 0x3EA0C6F7A0B5ED8E)
  br label %.critedge579

.critedge579:                                     ; preds = %388, %.preheader589, %402, %.critedge578
  %407 = phi i1 [ true, %.critedge578 ], [ %406, %402 ], [ true, %.preheader589 ], [ true, %388 ]
  %408 = add nuw nsw i64 %.1522611, 1
  %exitcond685.not = icmp eq i64 %408, 4
  br i1 %exitcond685.not, label %409, label %.preheader589, !llvm.loop !20

409:                                              ; preds = %.critedge579
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 4, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 4, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef 4, ptr noundef %1)
  %410 = load ptr, ptr %22, align 8, !tbaa !9
  store double 0.000000e+00, ptr %410, align 8, !tbaa !5
  %411 = load ptr, ptr %22, align 8, !tbaa !9
  %412 = getelementptr inbounds i8, ptr %411, i64 8
  store double 0x7DCE94C85C298C4D, ptr %412, align 8, !tbaa !5
  %413 = load ptr, ptr %22, align 8, !tbaa !9
  %414 = getelementptr inbounds i8, ptr %413, i64 16
  store double 0x7DDE94C85C298C4D, ptr %414, align 8, !tbaa !5
  %415 = load ptr, ptr %22, align 8, !tbaa !9
  %416 = getelementptr inbounds i8, ptr %415, i64 24
  store double 0x7DE6EF96451F293A, ptr %416, align 8, !tbaa !5
  %417 = load ptr, ptr %23, align 8, !tbaa !9
  store double 0.000000e+00, ptr %417, align 8, !tbaa !5
  %418 = load ptr, ptr %23, align 8, !tbaa !9
  %419 = getelementptr inbounds i8, ptr %418, i64 8
  store double 0x7DCE94C85C298C4D, ptr %419, align 8, !tbaa !5
  %420 = load ptr, ptr %23, align 8, !tbaa !9
  %421 = getelementptr inbounds i8, ptr %420, i64 16
  store double 0x7DDE94C85C298C4D, ptr %421, align 8, !tbaa !5
  %422 = load ptr, ptr %23, align 8, !tbaa !9
  %423 = getelementptr inbounds i8, ptr %422, i64 24
  store double 0x7DE6EF96451F293A, ptr %423, align 8, !tbaa !5
  %424 = load ptr, ptr %22, align 8, !tbaa !9
  %425 = getelementptr inbounds i8, ptr %424, i64 8
  %426 = load double, ptr %425, align 8, !tbaa !5
  %427 = load double, ptr %424, align 8, !tbaa !5
  %428 = fsub double %426, %427
  %429 = fdiv double -1.000000e+00, %428
  %430 = load ptr, ptr %24, align 8, !tbaa !9
  store double %429, ptr %430, align 8, !tbaa !5
  %431 = load ptr, ptr %22, align 8, !tbaa !9
  %432 = getelementptr inbounds i8, ptr %431, i64 8
  %433 = load double, ptr %431, align 8, !tbaa !5
  %434 = load <2 x double>, ptr %432, align 8, !tbaa !5
  %435 = insertelement <2 x double> poison, double %433, i64 0
  %436 = shufflevector <2 x double> %435, <2 x double> %434, <2 x i32> <i32 0, i32 2>
  %437 = fsub <2 x double> %434, %436
  %438 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %437
  %shift728 = shufflevector <2 x double> %438, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %439 = fadd <2 x double> %438, %shift728
  %440 = extractelement <2 x double> %439, i64 0
  %441 = load ptr, ptr %24, align 8, !tbaa !9
  %442 = getelementptr inbounds i8, ptr %441, i64 8
  store double %440, ptr %442, align 8, !tbaa !5
  %443 = load ptr, ptr %22, align 8, !tbaa !9
  %444 = getelementptr inbounds i8, ptr %443, i64 16
  %445 = getelementptr inbounds i8, ptr %443, i64 8
  %446 = load double, ptr %445, align 8, !tbaa !5
  %447 = load <2 x double>, ptr %444, align 8, !tbaa !5
  %448 = insertelement <2 x double> poison, double %446, i64 0
  %449 = shufflevector <2 x double> %448, <2 x double> %447, <2 x i32> <i32 0, i32 2>
  %450 = fsub <2 x double> %447, %449
  %451 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %450
  %shift729 = shufflevector <2 x double> %451, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %452 = fadd <2 x double> %451, %shift729
  %453 = extractelement <2 x double> %452, i64 0
  %454 = fneg double %453
  %455 = load ptr, ptr %24, align 8, !tbaa !9
  %456 = getelementptr inbounds i8, ptr %455, i64 16
  store double %454, ptr %456, align 8, !tbaa !5
  %457 = load ptr, ptr %22, align 8, !tbaa !9
  %458 = getelementptr inbounds i8, ptr %457, i64 24
  %459 = load double, ptr %458, align 8, !tbaa !5
  %460 = getelementptr inbounds i8, ptr %457, i64 16
  %461 = load double, ptr %460, align 8, !tbaa !5
  %462 = fsub double %459, %461
  %463 = fdiv double 1.000000e+00, %462
  %464 = load ptr, ptr %24, align 8, !tbaa !9
  %465 = getelementptr inbounds i8, ptr %464, i64 24
  store double %463, ptr %465, align 8, !tbaa !5
  store double 0x210BE08D0527E1E, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef 4, ptr noundef nonnull %4, ptr noundef %1)
  %466 = load double, ptr %16, align 8, !tbaa !5
  %467 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %466, ptr noundef %1)
  store double 0.000000e+00, ptr %19, align 8, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  store double 0.000000e+00, ptr %21, align 8, !tbaa !5
  %468 = load double, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef nonnull %4, double noundef %468, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef %1)
  br i1 %407, label %.critedge582, label %469

469:                                              ; preds = %409
  %470 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %467, ptr noundef %1)
  %471 = load double, ptr %16, align 8, !tbaa !5
  %472 = fmul double %471, 0x3FF0000000225C18
  %473 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %470, double noundef %472)
  br i1 %473, label %.critedge582, label %.critedge581

.critedge581:                                     ; preds = %469
  %474 = load double, ptr %19, align 8, !tbaa !5
  %475 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %474, ptr noundef %1)
  %476 = load double, ptr %16, align 8, !tbaa !5
  %477 = fmul double %476, 0x3FF0000000225C18
  %478 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %475, double noundef %477)
  br i1 %478, label %.critedge582, label %479

479:                                              ; preds = %.critedge581
  %480 = load double, ptr %20, align 8, !tbaa !5
  %481 = fadd double %480, -1.000000e+00
  %482 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %481, ptr noundef %1)
  %483 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %482, double noundef 0x3EA0C6F7A0B5ED8E)
  br label %.critedge582

.critedge582:                                     ; preds = %469, %409, %479, %.critedge581
  %484 = phi i1 [ true, %.critedge581 ], [ %483, %479 ], [ true, %409 ], [ true, %469 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 4, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 4, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef 4, ptr noundef %1)
  %485 = load ptr, ptr %22, align 8, !tbaa !9
  store double 0.000000e+00, ptr %485, align 8, !tbaa !5
  %486 = load ptr, ptr %22, align 8, !tbaa !9
  %487 = getelementptr inbounds i8, ptr %486, i64 8
  store double 2.000000e-300, ptr %487, align 8, !tbaa !5
  %488 = load ptr, ptr %22, align 8, !tbaa !9
  %489 = getelementptr inbounds i8, ptr %488, i64 16
  store double 4.000000e-300, ptr %489, align 8, !tbaa !5
  %490 = load ptr, ptr %22, align 8, !tbaa !9
  %491 = getelementptr inbounds i8, ptr %490, i64 24
  store double 6.000000e-300, ptr %491, align 8, !tbaa !5
  %492 = load ptr, ptr %23, align 8, !tbaa !9
  store double 0.000000e+00, ptr %492, align 8, !tbaa !5
  %493 = load ptr, ptr %23, align 8, !tbaa !9
  %494 = getelementptr inbounds i8, ptr %493, i64 8
  store double 2.000000e-300, ptr %494, align 8, !tbaa !5
  %495 = load ptr, ptr %23, align 8, !tbaa !9
  %496 = getelementptr inbounds i8, ptr %495, i64 16
  store double 4.000000e-300, ptr %496, align 8, !tbaa !5
  %497 = load ptr, ptr %23, align 8, !tbaa !9
  %498 = getelementptr inbounds i8, ptr %497, i64 24
  store double 6.000000e-300, ptr %498, align 8, !tbaa !5
  %499 = load ptr, ptr %22, align 8, !tbaa !9
  %500 = getelementptr inbounds i8, ptr %499, i64 8
  %501 = load double, ptr %500, align 8, !tbaa !5
  %502 = load double, ptr %499, align 8, !tbaa !5
  %503 = fsub double %501, %502
  %504 = fdiv double -1.000000e+00, %503
  %505 = load ptr, ptr %24, align 8, !tbaa !9
  store double %504, ptr %505, align 8, !tbaa !5
  %506 = load ptr, ptr %22, align 8, !tbaa !9
  %507 = getelementptr inbounds i8, ptr %506, i64 8
  %508 = load double, ptr %506, align 8, !tbaa !5
  %509 = load <2 x double>, ptr %507, align 8, !tbaa !5
  %510 = insertelement <2 x double> poison, double %508, i64 0
  %511 = shufflevector <2 x double> %510, <2 x double> %509, <2 x i32> <i32 0, i32 2>
  %512 = fsub <2 x double> %509, %511
  %513 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %512
  %shift730 = shufflevector <2 x double> %513, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %514 = fadd <2 x double> %513, %shift730
  %515 = extractelement <2 x double> %514, i64 0
  %516 = load ptr, ptr %24, align 8, !tbaa !9
  %517 = getelementptr inbounds i8, ptr %516, i64 8
  store double %515, ptr %517, align 8, !tbaa !5
  %518 = load ptr, ptr %22, align 8, !tbaa !9
  %519 = getelementptr inbounds i8, ptr %518, i64 16
  %520 = getelementptr inbounds i8, ptr %518, i64 8
  %521 = load double, ptr %520, align 8, !tbaa !5
  %522 = load <2 x double>, ptr %519, align 8, !tbaa !5
  %523 = insertelement <2 x double> poison, double %521, i64 0
  %524 = shufflevector <2 x double> %523, <2 x double> %522, <2 x i32> <i32 0, i32 2>
  %525 = fsub <2 x double> %522, %524
  %526 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %525
  %shift731 = shufflevector <2 x double> %526, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %527 = fadd <2 x double> %526, %shift731
  %528 = extractelement <2 x double> %527, i64 0
  %529 = fneg double %528
  %530 = load ptr, ptr %24, align 8, !tbaa !9
  %531 = getelementptr inbounds i8, ptr %530, i64 16
  store double %529, ptr %531, align 8, !tbaa !5
  %532 = load ptr, ptr %22, align 8, !tbaa !9
  %533 = getelementptr inbounds i8, ptr %532, i64 24
  %534 = load double, ptr %533, align 8, !tbaa !5
  %535 = getelementptr inbounds i8, ptr %532, i64 16
  %536 = load double, ptr %535, align 8, !tbaa !5
  %537 = fsub double %534, %536
  %538 = fdiv double 1.000000e+00, %537
  %539 = load ptr, ptr %24, align 8, !tbaa !9
  %540 = getelementptr inbounds i8, ptr %539, i64 24
  store double %538, ptr %540, align 8, !tbaa !5
  store double 1.000000e-300, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef 4, ptr noundef nonnull %4, ptr noundef %1)
  %541 = load double, ptr %16, align 8, !tbaa !5
  %542 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %541, ptr noundef %1)
  br i1 %484, label %.preheader588.preheader, label %543

543:                                              ; preds = %.critedge582
  %544 = load double, ptr %16, align 8, !tbaa !5
  %545 = fsub double %542, %544
  %546 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %545, ptr noundef %1)
  %547 = load double, ptr %16, align 8, !tbaa !5
  %548 = fdiv double %546, %547
  %549 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %548, double noundef 5.000000e-10)
  br label %.preheader588.preheader

.preheader588.preheader:                          ; preds = %543, %.critedge582
  %550 = phi i1 [ true, %.critedge582 ], [ %549, %543 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 1, ptr noundef %1)
  %551 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %552 = call double @llvm.fmuladd.f64(double %551, double 2.000000e+00, double -1.000000e+00)
  %553 = load ptr, ptr %22, align 8, !tbaa !9
  store double %552, ptr %553, align 8, !tbaa !5
  %554 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %555 = call double @llvm.fmuladd.f64(double %554, double 2.000000e+00, double -1.000000e+00)
  %556 = load ptr, ptr %23, align 8, !tbaa !9
  store double %555, ptr %556, align 8, !tbaa !5
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef 1, i64 noundef 1, ptr noundef nonnull %4, ptr noundef %1)
  %557 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %558 = call double @llvm.fmuladd.f64(double %557, double 2.000000e+00, double -1.000000e+00)
  %559 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %558, ptr noundef %1)
  %560 = load ptr, ptr %23, align 8, !tbaa !9
  %561 = load double, ptr %560, align 8, !tbaa !5
  %562 = fsub double %559, %561
  %563 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %562, ptr noundef %1)
  %564 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef 0.000000e+00, double noundef %563, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 1, ptr noundef %1)
  %565 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %566 = call double @llvm.fmuladd.f64(double %565, double 2.000000e+00, double -1.000000e+00)
  %567 = load ptr, ptr %22, align 8, !tbaa !9
  store double %566, ptr %567, align 8, !tbaa !5
  %568 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %569 = call double @llvm.fmuladd.f64(double %568, double 2.000000e+00, double -1.000000e+00)
  %570 = load ptr, ptr %23, align 8, !tbaa !9
  store double %569, ptr %570, align 8, !tbaa !5
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef 1, i64 noundef 1, ptr noundef nonnull %4, ptr noundef %1)
  %571 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %572 = call double @llvm.fmuladd.f64(double %571, double 2.000000e+00, double -1.000000e+00)
  %573 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %572, ptr noundef %1)
  %574 = load ptr, ptr %23, align 8, !tbaa !9
  %575 = load double, ptr %574, align 8, !tbaa !5
  %576 = fsub double %573, %575
  %577 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %576, ptr noundef %1)
  %578 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %564, double noundef %577, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 1, ptr noundef %1)
  %579 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %580 = call double @llvm.fmuladd.f64(double %579, double 2.000000e+00, double -1.000000e+00)
  %581 = load ptr, ptr %22, align 8, !tbaa !9
  store double %580, ptr %581, align 8, !tbaa !5
  %582 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %583 = call double @llvm.fmuladd.f64(double %582, double 2.000000e+00, double -1.000000e+00)
  %584 = load ptr, ptr %23, align 8, !tbaa !9
  store double %583, ptr %584, align 8, !tbaa !5
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef 1, i64 noundef 1, ptr noundef nonnull %4, ptr noundef %1)
  %585 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %586 = call double @llvm.fmuladd.f64(double %585, double 2.000000e+00, double -1.000000e+00)
  %587 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %586, ptr noundef %1)
  %588 = load ptr, ptr %23, align 8, !tbaa !9
  %589 = load double, ptr %588, align 8, !tbaa !5
  %590 = fsub double %587, %589
  %591 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %590, ptr noundef %1)
  %592 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %578, double noundef %591, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef 1, ptr noundef %1)
  %593 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %594 = call double @llvm.fmuladd.f64(double %593, double 2.000000e+00, double -1.000000e+00)
  %595 = load ptr, ptr %22, align 8, !tbaa !9
  store double %594, ptr %595, align 8, !tbaa !5
  %596 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %597 = call double @llvm.fmuladd.f64(double %596, double 2.000000e+00, double -1.000000e+00)
  %598 = load ptr, ptr %23, align 8, !tbaa !9
  store double %597, ptr %598, align 8, !tbaa !5
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef 1, i64 noundef 1, ptr noundef nonnull %4, ptr noundef %1)
  %599 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %600 = call double @llvm.fmuladd.f64(double %599, double 2.000000e+00, double -1.000000e+00)
  %601 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %600, ptr noundef %1)
  %602 = load ptr, ptr %23, align 8, !tbaa !9
  %603 = load double, ptr %602, align 8, !tbaa !5
  %604 = fsub double %601, %603
  %605 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %604, ptr noundef %1)
  %606 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %592, double noundef %605, ptr noundef %1)
  br label %.preheader588

.preheader588:                                    ; preds = %.preheader588.preheader, %952
  %indvars.iv696 = phi i64 [ 0, %.preheader588.preheader ], [ %indvars.iv.next697, %952 ]
  %indvars.iv = phi i64 [ 1, %.preheader588.preheader ], [ %indvars.iv.next, %952 ]
  %.1516661 = phi double [ %606, %.preheader588.preheader ], [ %.us-phi, %952 ]
  %.1540660 = phi i64 [ 2, %.preheader588.preheader ], [ %953, %952 ]
  %607 = add nsw i64 %indvars.iv696, -2
  %608 = add nsw i64 %indvars.iv696, -3
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %.1540660, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.1540660, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %.1540660, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %.1540660, ptr noundef %1)
  %609 = add nsw i64 %.1540660, -1
  %610 = sitofp i64 %609 to double
  %.not561617 = icmp ult i64 %.1540660, 3
  %611 = shl nuw nsw i64 %.1540660, 1
  %exitcond689.not = icmp eq i64 %indvars.iv, 2
  %exitcond689.not.1 = icmp eq i64 %indvars.iv, 3
  %exitcond689.not.2 = icmp eq i64 %indvars.iv, 4
  %exitcond689.not.3 = icmp eq i64 %indvars.iv, 5
  %exitcond689.not.4 = icmp eq i64 %indvars.iv, 6
  %exitcond689.not.5 = icmp eq i64 %indvars.iv, 7
  %exitcond689.not.6 = icmp eq i64 %indvars.iv, 8
  br label %614

.preheader587:                                    ; preds = %._crit_edge627
  %.not555642 = icmp ult i64 %.1540660, 5
  %xtraiter747 = and i64 %.1540660, 1
  %unroll_iter749 = and i64 %.1540660, 9223372036854775806
  %lcmp.mod748.not = icmp eq i64 %xtraiter747, 0
  %xtraiter751 = and i64 %.1540660, 3
  %612 = icmp ult i64 %indvars.iv696, 2
  %unroll_iter754 = and i64 %.1540660, 9223372036854775804
  %lcmp.mod752.not = icmp eq i64 %xtraiter751, 0
  %exitcond695.not = icmp eq i64 %indvars.iv, 2
  %exitcond695.not.1 = icmp eq i64 %indvars.iv, 3
  %exitcond695.not.2 = icmp eq i64 %indvars.iv, 4
  %exitcond695.not.3 = icmp eq i64 %indvars.iv, 5
  %exitcond695.not.4 = icmp eq i64 %indvars.iv, 6
  %exitcond695.not.5 = icmp eq i64 %indvars.iv, 7
  %exitcond695.not.6 = icmp eq i64 %indvars.iv, 8
  %xtraiter756 = and i64 %607, 3
  %613 = icmp ult i64 %608, 3
  %unroll_iter760 = and i64 %607, -4
  %lcmp.mod758.not = icmp eq i64 %xtraiter756, 0
  br label %.preheader585

614:                                              ; preds = %.preheader588, %._crit_edge627
  %.2517630 = phi double [ %.1516661, %.preheader588 ], [ %792, %._crit_edge627 ]
  %.3524629 = phi i64 [ 1, %.preheader588 ], [ %794, %._crit_edge627 ]
  %615 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %616 = call double @llvm.fmuladd.f64(double %615, double -1.000000e+00, double -1.000000e+00)
  %617 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %618 = fadd double %617, 1.000000e+00
  %619 = fsub double %618, %616
  br label %620

620:                                              ; preds = %614, %620
  %.3534615 = phi i64 [ 0, %614 ], [ %628, %620 ]
  %621 = uitofp nneg i64 %.3534615 to double
  %622 = fmul double %619, %621
  %623 = fdiv double %622, %610
  %624 = fadd double %616, %623
  %625 = call noundef double @_ZN11alglib_impl7ae_atanEdPNS_8ae_stateE(double noundef %624, ptr noundef %1)
  %626 = load ptr, ptr %22, align 8, !tbaa !9
  %627 = getelementptr inbounds double, ptr %626, i64 %.3534615
  store double %625, ptr %627, align 8, !tbaa !5
  %628 = add nuw nsw i64 %.3534615, 1
  %exitcond687.not = icmp eq i64 %628, %.1540660
  br i1 %exitcond687.not, label %.preheader586, label %620, !llvm.loop !21

.preheader586:                                    ; preds = %620, %.preheader586
  %.4535616 = phi i64 [ %633, %.preheader586 ], [ 0, %620 ]
  %629 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %630 = call double @llvm.fmuladd.f64(double %629, double 2.000000e+00, double -1.000000e+00)
  %631 = load ptr, ptr %23, align 8, !tbaa !9
  %632 = getelementptr inbounds double, ptr %631, i64 %.4535616
  store double %630, ptr %632, align 8, !tbaa !5
  %633 = add nuw nsw i64 %.4535616, 1
  %exitcond688.not = icmp eq i64 %633, %.1540660
  br i1 %exitcond688.not, label %634, label %.preheader586, !llvm.loop !22

634:                                              ; preds = %.preheader586
  %635 = load ptr, ptr %22, align 8, !tbaa !9
  %636 = getelementptr inbounds i8, ptr %635, i64 8
  %637 = load double, ptr %636, align 8, !tbaa !5
  %638 = load double, ptr %635, align 8, !tbaa !5
  %639 = fsub double %637, %638
  %640 = fdiv double -1.000000e+00, %639
  %641 = load ptr, ptr %24, align 8, !tbaa !9
  store double %640, ptr %641, align 8, !tbaa !5
  br i1 %.not561617, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %634
  %642 = load ptr, ptr %22, align 8, !tbaa !9
  %643 = getelementptr inbounds i8, ptr %642, i64 8
  %644 = load double, ptr %642, align 8, !tbaa !5
  %645 = load <2 x double>, ptr %643, align 8, !tbaa !5
  %646 = insertelement <2 x double> poison, double %644, i64 0
  %647 = shufflevector <2 x double> %646, <2 x double> %645, <2 x i32> <i32 0, i32 2>
  %648 = fsub <2 x double> %645, %647
  %649 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %648
  %shift732 = shufflevector <2 x double> %649, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %650 = fadd <2 x double> %649, %shift732
  %651 = extractelement <2 x double> %650, i64 0
  %652 = load ptr, ptr %24, align 8, !tbaa !9
  %653 = getelementptr inbounds i8, ptr %652, i64 8
  store double %651, ptr %653, align 8, !tbaa !5
  br i1 %exitcond689.not, label %._crit_edge, label %.lr.ph.1, !llvm.loop !23

.lr.ph.1:                                         ; preds = %.lr.ph
  %654 = load ptr, ptr %22, align 8, !tbaa !9
  %655 = getelementptr inbounds i8, ptr %654, i64 16
  %656 = getelementptr i8, ptr %654, i64 8
  %657 = load double, ptr %656, align 8, !tbaa !5
  %658 = load <2 x double>, ptr %655, align 8, !tbaa !5
  %659 = insertelement <2 x double> poison, double %657, i64 0
  %660 = shufflevector <2 x double> %659, <2 x double> %658, <2 x i32> <i32 0, i32 2>
  %661 = fsub <2 x double> %658, %660
  %662 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %661
  %shift732.1 = shufflevector <2 x double> %662, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %663 = fadd <2 x double> %662, %shift732.1
  %664 = extractelement <2 x double> %663, i64 0
  %665 = fneg double %664
  %666 = load ptr, ptr %24, align 8, !tbaa !9
  %667 = getelementptr inbounds i8, ptr %666, i64 16
  store double %665, ptr %667, align 8, !tbaa !5
  br i1 %exitcond689.not.1, label %._crit_edge, label %.lr.ph.2, !llvm.loop !23

.lr.ph.2:                                         ; preds = %.lr.ph.1
  %668 = load ptr, ptr %22, align 8, !tbaa !9
  %669 = getelementptr inbounds i8, ptr %668, i64 24
  %670 = getelementptr i8, ptr %668, i64 16
  %671 = load double, ptr %670, align 8, !tbaa !5
  %672 = load <2 x double>, ptr %669, align 8, !tbaa !5
  %673 = insertelement <2 x double> poison, double %671, i64 0
  %674 = shufflevector <2 x double> %673, <2 x double> %672, <2 x i32> <i32 0, i32 2>
  %675 = fsub <2 x double> %672, %674
  %676 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %675
  %shift732.2 = shufflevector <2 x double> %676, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %677 = fadd <2 x double> %676, %shift732.2
  %678 = extractelement <2 x double> %677, i64 0
  %679 = load ptr, ptr %24, align 8, !tbaa !9
  %680 = getelementptr inbounds i8, ptr %679, i64 24
  store double %678, ptr %680, align 8, !tbaa !5
  br i1 %exitcond689.not.2, label %._crit_edge, label %.lr.ph.3, !llvm.loop !23

.lr.ph.3:                                         ; preds = %.lr.ph.2
  %681 = load ptr, ptr %22, align 8, !tbaa !9
  %682 = getelementptr inbounds i8, ptr %681, i64 32
  %683 = getelementptr i8, ptr %681, i64 24
  %684 = load double, ptr %683, align 8, !tbaa !5
  %685 = load <2 x double>, ptr %682, align 8, !tbaa !5
  %686 = insertelement <2 x double> poison, double %684, i64 0
  %687 = shufflevector <2 x double> %686, <2 x double> %685, <2 x i32> <i32 0, i32 2>
  %688 = fsub <2 x double> %685, %687
  %689 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %688
  %shift732.3 = shufflevector <2 x double> %689, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %690 = fadd <2 x double> %689, %shift732.3
  %691 = extractelement <2 x double> %690, i64 0
  %692 = fneg double %691
  %693 = load ptr, ptr %24, align 8, !tbaa !9
  %694 = getelementptr inbounds i8, ptr %693, i64 32
  store double %692, ptr %694, align 8, !tbaa !5
  br i1 %exitcond689.not.3, label %._crit_edge, label %.lr.ph.4, !llvm.loop !23

.lr.ph.4:                                         ; preds = %.lr.ph.3
  %695 = load ptr, ptr %22, align 8, !tbaa !9
  %696 = getelementptr inbounds i8, ptr %695, i64 40
  %697 = getelementptr i8, ptr %695, i64 32
  %698 = load double, ptr %697, align 8, !tbaa !5
  %699 = load <2 x double>, ptr %696, align 8, !tbaa !5
  %700 = insertelement <2 x double> poison, double %698, i64 0
  %701 = shufflevector <2 x double> %700, <2 x double> %699, <2 x i32> <i32 0, i32 2>
  %702 = fsub <2 x double> %699, %701
  %703 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %702
  %shift732.4 = shufflevector <2 x double> %703, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %704 = fadd <2 x double> %703, %shift732.4
  %705 = extractelement <2 x double> %704, i64 0
  %706 = load ptr, ptr %24, align 8, !tbaa !9
  %707 = getelementptr inbounds i8, ptr %706, i64 40
  store double %705, ptr %707, align 8, !tbaa !5
  br i1 %exitcond689.not.4, label %._crit_edge, label %.lr.ph.5, !llvm.loop !23

.lr.ph.5:                                         ; preds = %.lr.ph.4
  %708 = load ptr, ptr %22, align 8, !tbaa !9
  %709 = getelementptr inbounds i8, ptr %708, i64 48
  %710 = getelementptr i8, ptr %708, i64 40
  %711 = load double, ptr %710, align 8, !tbaa !5
  %712 = load <2 x double>, ptr %709, align 8, !tbaa !5
  %713 = insertelement <2 x double> poison, double %711, i64 0
  %714 = shufflevector <2 x double> %713, <2 x double> %712, <2 x i32> <i32 0, i32 2>
  %715 = fsub <2 x double> %712, %714
  %716 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %715
  %shift732.5 = shufflevector <2 x double> %716, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %717 = fadd <2 x double> %716, %shift732.5
  %718 = extractelement <2 x double> %717, i64 0
  %719 = fneg double %718
  %720 = load ptr, ptr %24, align 8, !tbaa !9
  %721 = getelementptr inbounds i8, ptr %720, i64 48
  store double %719, ptr %721, align 8, !tbaa !5
  br i1 %exitcond689.not.5, label %._crit_edge, label %.lr.ph.6, !llvm.loop !23

.lr.ph.6:                                         ; preds = %.lr.ph.5
  %722 = load ptr, ptr %22, align 8, !tbaa !9
  %723 = getelementptr inbounds i8, ptr %722, i64 56
  %724 = getelementptr i8, ptr %722, i64 48
  %725 = load double, ptr %724, align 8, !tbaa !5
  %726 = load <2 x double>, ptr %723, align 8, !tbaa !5
  %727 = insertelement <2 x double> poison, double %725, i64 0
  %728 = shufflevector <2 x double> %727, <2 x double> %726, <2 x i32> <i32 0, i32 2>
  %729 = fsub <2 x double> %726, %728
  %730 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %729
  %shift732.6 = shufflevector <2 x double> %730, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %731 = fadd <2 x double> %730, %shift732.6
  %732 = extractelement <2 x double> %731, i64 0
  %733 = load ptr, ptr %24, align 8, !tbaa !9
  %734 = getelementptr inbounds i8, ptr %733, i64 56
  store double %732, ptr %734, align 8, !tbaa !5
  br i1 %exitcond689.not.6, label %._crit_edge, label %.lr.ph.7, !llvm.loop !23

.lr.ph.7:                                         ; preds = %.lr.ph.6
  %735 = load ptr, ptr %22, align 8, !tbaa !9
  %736 = getelementptr inbounds i8, ptr %735, i64 64
  %737 = getelementptr i8, ptr %735, i64 56
  %738 = load double, ptr %737, align 8, !tbaa !5
  %739 = load <2 x double>, ptr %736, align 8, !tbaa !5
  %740 = insertelement <2 x double> poison, double %738, i64 0
  %741 = shufflevector <2 x double> %740, <2 x double> %739, <2 x i32> <i32 0, i32 2>
  %742 = fsub <2 x double> %739, %741
  %743 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %742
  %shift732.7 = shufflevector <2 x double> %743, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %744 = fadd <2 x double> %743, %shift732.7
  %745 = extractelement <2 x double> %744, i64 0
  %746 = fneg double %745
  %747 = load ptr, ptr %24, align 8, !tbaa !9
  %748 = getelementptr inbounds i8, ptr %747, i64 64
  store double %746, ptr %748, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph.1, %.lr.ph.2, %.lr.ph.3, %.lr.ph.4, %.lr.ph.5, %.lr.ph.6, %.lr.ph.7, %634
  %.0510.lcssa = phi double [ 1.000000e+00, %634 ], [ -1.000000e+00, %.lr.ph ], [ 1.000000e+00, %.lr.ph.1 ], [ -1.000000e+00, %.lr.ph.2 ], [ 1.000000e+00, %.lr.ph.3 ], [ -1.000000e+00, %.lr.ph.4 ], [ 1.000000e+00, %.lr.ph.5 ], [ -1.000000e+00, %.lr.ph.6 ], [ 1.000000e+00, %.lr.ph.7 ]
  %749 = load ptr, ptr %22, align 8, !tbaa !9
  %750 = getelementptr inbounds double, ptr %749, i64 %609
  %751 = load double, ptr %750, align 8, !tbaa !5
  %752 = getelementptr double, ptr %749, i64 %.1540660
  %753 = getelementptr i8, ptr %752, i64 -16
  %754 = load double, ptr %753, align 8, !tbaa !5
  %755 = fsub double %751, %754
  %756 = fdiv double %.0510.lcssa, %755
  %757 = load ptr, ptr %24, align 8, !tbaa !9
  %758 = getelementptr inbounds double, ptr %757, i64 %609
  store double %756, ptr %758, align 8, !tbaa !5
  br label %759

759:                                              ; preds = %._crit_edge, %783
  %.6537621 = phi i64 [ 0, %._crit_edge ], [ %784, %783 ]
  %760 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %.1540660, ptr noundef %1)
  %.not564 = icmp eq i64 %760, %.6537621
  br i1 %.not564, label %783, label %761

761:                                              ; preds = %759
  %762 = load ptr, ptr %22, align 8, !tbaa !9
  %763 = getelementptr inbounds double, ptr %762, i64 %.6537621
  %764 = load double, ptr %763, align 8, !tbaa !5
  %765 = getelementptr inbounds double, ptr %762, i64 %760
  %766 = load double, ptr %765, align 8, !tbaa !5
  store double %766, ptr %763, align 8, !tbaa !5
  %767 = load ptr, ptr %22, align 8, !tbaa !9
  %768 = getelementptr inbounds double, ptr %767, i64 %760
  store double %764, ptr %768, align 8, !tbaa !5
  %769 = load ptr, ptr %23, align 8, !tbaa !9
  %770 = getelementptr inbounds double, ptr %769, i64 %.6537621
  %771 = load double, ptr %770, align 8, !tbaa !5
  %772 = getelementptr inbounds double, ptr %769, i64 %760
  %773 = load double, ptr %772, align 8, !tbaa !5
  store double %773, ptr %770, align 8, !tbaa !5
  %774 = load ptr, ptr %23, align 8, !tbaa !9
  %775 = getelementptr inbounds double, ptr %774, i64 %760
  store double %771, ptr %775, align 8, !tbaa !5
  %776 = load ptr, ptr %24, align 8, !tbaa !9
  %777 = getelementptr inbounds double, ptr %776, i64 %.6537621
  %778 = load double, ptr %777, align 8, !tbaa !5
  %779 = getelementptr inbounds double, ptr %776, i64 %760
  %780 = load double, ptr %779, align 8, !tbaa !5
  store double %780, ptr %777, align 8, !tbaa !5
  %781 = load ptr, ptr %24, align 8, !tbaa !9
  %782 = getelementptr inbounds double, ptr %781, i64 %760
  store double %778, ptr %782, align 8, !tbaa !5
  br label %783

783:                                              ; preds = %759, %761
  %784 = add nuw nsw i64 %.6537621, 1
  %exitcond690.not = icmp eq i64 %784, %.1540660
  br i1 %exitcond690.not, label %.lr.ph626, label %759, !llvm.loop !24

.lr.ph626:                                        ; preds = %783
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef %.1540660, i64 noundef 1, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef %.1540660, ptr noundef nonnull %5, ptr noundef %1)
  br label %785

785:                                              ; preds = %.lr.ph626, %785
  %.3518624 = phi double [ %.2517630, %.lr.ph626 ], [ %792, %785 ]
  %.7538623 = phi i64 [ 1, %.lr.ph626 ], [ %793, %785 ]
  %786 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %787 = call double @llvm.fmuladd.f64(double %619, double %786, double %616)
  %788 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %787, ptr noundef %1)
  %789 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %787, ptr noundef %1)
  %790 = fsub double %788, %789
  %791 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %790, ptr noundef %1)
  %792 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.3518624, double noundef %791, ptr noundef %1)
  %793 = add nuw nsw i64 %.7538623, 1
  %.not563.not = icmp ult i64 %.7538623, %611
  br i1 %.not563.not, label %785, label %._crit_edge627, !llvm.loop !25

._crit_edge627:                                   ; preds = %785
  %794 = add nuw nsw i64 %.3524629, 1
  %exitcond691.not = icmp eq i64 %794, 6
  br i1 %exitcond691.not, label %.preheader587, label %614, !llvm.loop !26

.preheader585:                                    ; preds = %.preheader587, %.split.us
  %.4519659 = phi double [ %792, %.preheader587 ], [ %.us-phi, %.split.us ]
  %.0526658 = phi i64 [ 0, %.preheader587 ], [ %951, %.split.us ]
  %795 = shl nuw nsw i64 %.0526658, 1
  %796 = icmp ult i64 %.1540660, %795
  %797 = icmp eq i64 %.0526658, 0
  %798 = icmp eq i64 %.0526658, 1
  %799 = icmp eq i64 %.0526658, 2
  br i1 %796, label %.split.us, label %.preheader585.split

.preheader585.split:                              ; preds = %.preheader585, %.loopexit
  %.5520657 = phi double [ %948, %.loopexit ], [ %.4519659, %.preheader585 ]
  %.4525656 = phi i64 [ %950, %.loopexit ], [ 1, %.preheader585 ]
  %800 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %801 = call double @llvm.fmuladd.f64(double %800, double -1.000000e+00, double -1.000000e+00)
  %802 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %803 = fadd double %802, 1.000000e+00
  %804 = fsub double %803, %801
  br label %805

805:                                              ; preds = %805, %.preheader585.split
  %.8631 = phi i64 [ 0, %.preheader585.split ], [ %819, %805 ]
  %niter750 = phi i64 [ 0, %.preheader585.split ], [ %niter750.next.1, %805 ]
  %806 = uitofp nneg i64 %.8631 to double
  %807 = fmul double %804, %806
  %808 = fdiv double %807, %610
  %809 = fadd double %801, %808
  %810 = load ptr, ptr %22, align 8, !tbaa !9
  %811 = getelementptr inbounds double, ptr %810, i64 %.8631
  store double %809, ptr %811, align 8, !tbaa !5
  %812 = or disjoint i64 %.8631, 1
  %813 = uitofp nneg i64 %812 to double
  %814 = fmul double %804, %813
  %815 = fdiv double %814, %610
  %816 = fadd double %801, %815
  %817 = load ptr, ptr %22, align 8, !tbaa !9
  %818 = getelementptr inbounds double, ptr %817, i64 %812
  store double %816, ptr %818, align 8, !tbaa !5
  %819 = add nuw nsw i64 %.8631, 2
  %niter750.next.1 = add i64 %niter750, 2
  %niter750.ncmp.1 = icmp eq i64 %niter750.next.1, %unroll_iter749
  br i1 %niter750.ncmp.1, label %.preheader584.preheader.unr-lcssa, label %805, !llvm.loop !27

.preheader584.preheader.unr-lcssa:                ; preds = %805
  br i1 %lcmp.mod748.not, label %.preheader584.preheader, label %.preheader584.preheader.epilog-lcssa

.preheader584.preheader.epilog-lcssa:             ; preds = %.preheader584.preheader.unr-lcssa
  %820 = uitofp nneg i64 %819 to double
  %821 = fmul double %804, %820
  %822 = fdiv double %821, %610
  %823 = fadd double %801, %822
  %824 = load ptr, ptr %22, align 8, !tbaa !9
  %825 = getelementptr inbounds double, ptr %824, i64 %819
  store double %823, ptr %825, align 8, !tbaa !5
  br label %.preheader584.preheader

.preheader584.preheader:                          ; preds = %.preheader584.preheader.unr-lcssa, %.preheader584.preheader.epilog-lcssa
  br label %.preheader584

.preheader584:                                    ; preds = %.preheader584.preheader, %.preheader584
  %.9632 = phi i64 [ %830, %.preheader584 ], [ 0, %.preheader584.preheader ]
  %826 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %827 = call double @llvm.fmuladd.f64(double %826, double 2.000000e+00, double -1.000000e+00)
  %828 = load ptr, ptr %23, align 8, !tbaa !9
  %829 = getelementptr inbounds double, ptr %828, i64 %.9632
  store double %827, ptr %829, align 8, !tbaa !5
  %830 = add nuw nsw i64 %.9632, 1
  %exitcond693.not = icmp eq i64 %830, %.1540660
  br i1 %exitcond693.not, label %831, label %.preheader584, !llvm.loop !28

831:                                              ; preds = %.preheader584
  br i1 %797, label %.preheader.preheader, label %.loopexit583

.preheader.preheader:                             ; preds = %831
  br i1 %612, label %.loopexit583.loopexit.unr-lcssa, label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %.10633 = phi i64 [ %843, %.preheader ], [ 0, %.preheader.preheader ]
  %niter755 = phi i64 [ %niter755.next.3, %.preheader ], [ 0, %.preheader.preheader ]
  %832 = load ptr, ptr %24, align 8, !tbaa !9
  %833 = getelementptr inbounds double, ptr %832, i64 %.10633
  store double 1.000000e+00, ptr %833, align 8, !tbaa !5
  %834 = or disjoint i64 %.10633, 1
  %835 = load ptr, ptr %24, align 8, !tbaa !9
  %836 = getelementptr inbounds double, ptr %835, i64 %834
  store double -1.000000e+00, ptr %836, align 8, !tbaa !5
  %837 = or disjoint i64 %.10633, 2
  %838 = load ptr, ptr %24, align 8, !tbaa !9
  %839 = getelementptr inbounds double, ptr %838, i64 %837
  store double 1.000000e+00, ptr %839, align 8, !tbaa !5
  %840 = or disjoint i64 %.10633, 3
  %841 = load ptr, ptr %24, align 8, !tbaa !9
  %842 = getelementptr inbounds double, ptr %841, i64 %840
  store double -1.000000e+00, ptr %842, align 8, !tbaa !5
  %843 = add nuw nsw i64 %.10633, 4
  %niter755.next.3 = add i64 %niter755, 4
  %niter755.ncmp.3 = icmp eq i64 %niter755.next.3, %unroll_iter754
  br i1 %niter755.ncmp.3, label %.loopexit583.loopexit.unr-lcssa, label %.preheader, !llvm.loop !29

.loopexit583.loopexit.unr-lcssa:                  ; preds = %.preheader, %.preheader.preheader
  %.10633.unr = phi i64 [ 0, %.preheader.preheader ], [ %843, %.preheader ]
  br i1 %lcmp.mod752.not, label %.loopexit583, label %.preheader.epil

.preheader.epil:                                  ; preds = %.loopexit583.loopexit.unr-lcssa, %.preheader.epil
  %.1511634.epil = phi double [ %846, %.preheader.epil ], [ 1.000000e+00, %.loopexit583.loopexit.unr-lcssa ]
  %.10633.epil = phi i64 [ %847, %.preheader.epil ], [ %.10633.unr, %.loopexit583.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.preheader.epil ], [ 0, %.loopexit583.loopexit.unr-lcssa ]
  %844 = load ptr, ptr %24, align 8, !tbaa !9
  %845 = getelementptr inbounds double, ptr %844, i64 %.10633.epil
  store double %.1511634.epil, ptr %845, align 8, !tbaa !5
  %846 = fneg double %.1511634.epil
  %847 = add nuw nsw i64 %.10633.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter751
  br i1 %epil.iter.cmp.not, label %.loopexit583, label %.preheader.epil, !llvm.loop !30

.loopexit583:                                     ; preds = %.loopexit583.loopexit.unr-lcssa, %.preheader.epil, %831
  %.2512 = phi double [ 1.000000e+00, %831 ], [ 1.000000e+00, %.loopexit583.loopexit.unr-lcssa ], [ %846, %.preheader.epil ]
  br i1 %798, label %848, label %881

848:                                              ; preds = %.loopexit583
  %849 = fneg double %.2512
  %850 = load ptr, ptr %24, align 8, !tbaa !9
  store double %849, ptr %850, align 8, !tbaa !5
  br i1 %.not561617, label %._crit_edge640, label %.lr.ph639

.lr.ph639:                                        ; preds = %848
  %851 = fmul double %.2512, 2.000000e+00
  %852 = load ptr, ptr %24, align 8, !tbaa !9
  %853 = getelementptr inbounds i8, ptr %852, i64 8
  store double %851, ptr %853, align 8, !tbaa !5
  %854 = fneg double %.2512
  br i1 %exitcond695.not, label %._crit_edge640, label %.lr.ph639.1, !llvm.loop !32

.lr.ph639.1:                                      ; preds = %.lr.ph639
  %855 = fmul double %.2512, -2.000000e+00
  %856 = load ptr, ptr %24, align 8, !tbaa !9
  %857 = getelementptr inbounds i8, ptr %856, i64 16
  store double %855, ptr %857, align 8, !tbaa !5
  br i1 %exitcond695.not.1, label %._crit_edge640, label %.lr.ph639.2, !llvm.loop !32

.lr.ph639.2:                                      ; preds = %.lr.ph639.1
  %858 = fmul double %.2512, 2.000000e+00
  %859 = load ptr, ptr %24, align 8, !tbaa !9
  %860 = getelementptr inbounds i8, ptr %859, i64 24
  store double %858, ptr %860, align 8, !tbaa !5
  %861 = fneg double %.2512
  br i1 %exitcond695.not.2, label %._crit_edge640, label %.lr.ph639.3, !llvm.loop !32

.lr.ph639.3:                                      ; preds = %.lr.ph639.2
  %862 = fmul double %.2512, -2.000000e+00
  %863 = load ptr, ptr %24, align 8, !tbaa !9
  %864 = getelementptr inbounds i8, ptr %863, i64 32
  store double %862, ptr %864, align 8, !tbaa !5
  br i1 %exitcond695.not.3, label %._crit_edge640, label %.lr.ph639.4, !llvm.loop !32

.lr.ph639.4:                                      ; preds = %.lr.ph639.3
  %865 = fmul double %.2512, 2.000000e+00
  %866 = load ptr, ptr %24, align 8, !tbaa !9
  %867 = getelementptr inbounds i8, ptr %866, i64 40
  store double %865, ptr %867, align 8, !tbaa !5
  %868 = fneg double %.2512
  br i1 %exitcond695.not.4, label %._crit_edge640, label %.lr.ph639.5, !llvm.loop !32

.lr.ph639.5:                                      ; preds = %.lr.ph639.4
  %869 = fmul double %.2512, -2.000000e+00
  %870 = load ptr, ptr %24, align 8, !tbaa !9
  %871 = getelementptr inbounds i8, ptr %870, i64 48
  store double %869, ptr %871, align 8, !tbaa !5
  br i1 %exitcond695.not.5, label %._crit_edge640, label %.lr.ph639.6, !llvm.loop !32

.lr.ph639.6:                                      ; preds = %.lr.ph639.5
  %872 = fmul double %.2512, 2.000000e+00
  %873 = load ptr, ptr %24, align 8, !tbaa !9
  %874 = getelementptr inbounds i8, ptr %873, i64 56
  store double %872, ptr %874, align 8, !tbaa !5
  %875 = fneg double %.2512
  br i1 %exitcond695.not.6, label %._crit_edge640, label %.lr.ph639.7, !llvm.loop !32

.lr.ph639.7:                                      ; preds = %.lr.ph639.6
  %876 = fmul double %.2512, -2.000000e+00
  %877 = load ptr, ptr %24, align 8, !tbaa !9
  %878 = getelementptr inbounds i8, ptr %877, i64 64
  store double %876, ptr %878, align 8, !tbaa !5
  br label %._crit_edge640

._crit_edge640:                                   ; preds = %.lr.ph639, %.lr.ph639.1, %.lr.ph639.2, %.lr.ph639.3, %.lr.ph639.4, %.lr.ph639.5, %.lr.ph639.6, %.lr.ph639.7, %848
  %.3513.lcssa = phi double [ %.2512, %848 ], [ %854, %.lr.ph639 ], [ %.2512, %.lr.ph639.1 ], [ %861, %.lr.ph639.2 ], [ %.2512, %.lr.ph639.3 ], [ %868, %.lr.ph639.4 ], [ %.2512, %.lr.ph639.5 ], [ %875, %.lr.ph639.6 ], [ %.2512, %.lr.ph639.7 ]
  %879 = load ptr, ptr %24, align 8, !tbaa !9
  %880 = getelementptr inbounds double, ptr %879, i64 %609
  store double %.3513.lcssa, ptr %880, align 8, !tbaa !5
  br label %881

881:                                              ; preds = %._crit_edge640, %.loopexit583
  %.4514 = phi double [ %.3513.lcssa, %._crit_edge640 ], [ %.2512, %.loopexit583 ]
  br i1 %799, label %882, label %.preheader733

882:                                              ; preds = %881
  %883 = load ptr, ptr %24, align 8, !tbaa !9
  store double %.4514, ptr %883, align 8, !tbaa !5
  %884 = fmul double %.4514, -3.000000e+00
  %885 = load ptr, ptr %24, align 8, !tbaa !9
  %886 = getelementptr inbounds i8, ptr %885, i64 8
  store double %884, ptr %886, align 8, !tbaa !5
  br i1 %.not555642, label %._crit_edge647, label %.lr.ph646.preheader

.lr.ph646.preheader:                              ; preds = %882
  br i1 %613, label %._crit_edge647.loopexit.unr-lcssa, label %.lr.ph646.preheader.new

.lr.ph646.preheader.new:                          ; preds = %.lr.ph646.preheader
  %887 = fmul double %.4514, 4.000000e+00
  %888 = fmul double %.4514, -4.000000e+00
  %889 = fmul double %.4514, 4.000000e+00
  %890 = fmul double %.4514, -4.000000e+00
  br label %.lr.ph646

.lr.ph646:                                        ; preds = %.lr.ph646, %.lr.ph646.preheader.new
  %.12643 = phi i64 [ 2, %.lr.ph646.preheader.new ], [ %902, %.lr.ph646 ]
  %niter761 = phi i64 [ 0, %.lr.ph646.preheader.new ], [ %niter761.next.3, %.lr.ph646 ]
  %891 = load ptr, ptr %24, align 8, !tbaa !9
  %892 = getelementptr inbounds double, ptr %891, i64 %.12643
  store double %887, ptr %892, align 8, !tbaa !5
  %893 = or disjoint i64 %.12643, 1
  %894 = load ptr, ptr %24, align 8, !tbaa !9
  %895 = getelementptr inbounds double, ptr %894, i64 %893
  store double %888, ptr %895, align 8, !tbaa !5
  %896 = load ptr, ptr %24, align 8, !tbaa !9
  %897 = getelementptr inbounds double, ptr %896, i64 %.12643
  %898 = getelementptr inbounds i8, ptr %897, i64 16
  store double %889, ptr %898, align 8, !tbaa !5
  %899 = load ptr, ptr %24, align 8, !tbaa !9
  %900 = getelementptr inbounds double, ptr %899, i64 %.12643
  %901 = getelementptr inbounds i8, ptr %900, i64 24
  store double %890, ptr %901, align 8, !tbaa !5
  %902 = add nuw nsw i64 %.12643, 4
  %niter761.next.3 = add i64 %niter761, 4
  %niter761.ncmp.3 = icmp eq i64 %niter761.next.3, %unroll_iter760
  br i1 %niter761.ncmp.3, label %._crit_edge647.loopexit.unr-lcssa, label %.lr.ph646, !llvm.loop !33

._crit_edge647.loopexit.unr-lcssa:                ; preds = %.lr.ph646, %.lr.ph646.preheader
  %.12643.unr = phi i64 [ 2, %.lr.ph646.preheader ], [ %902, %.lr.ph646 ]
  br i1 %lcmp.mod758.not, label %._crit_edge647, label %.lr.ph646.epil

.lr.ph646.epil:                                   ; preds = %._crit_edge647.loopexit.unr-lcssa, %.lr.ph646.epil
  %.5644.epil = phi double [ %906, %.lr.ph646.epil ], [ %.4514, %._crit_edge647.loopexit.unr-lcssa ]
  %.12643.epil = phi i64 [ %907, %.lr.ph646.epil ], [ %.12643.unr, %._crit_edge647.loopexit.unr-lcssa ]
  %epil.iter757 = phi i64 [ %epil.iter757.next, %.lr.ph646.epil ], [ 0, %._crit_edge647.loopexit.unr-lcssa ]
  %903 = fmul double %.5644.epil, 4.000000e+00
  %904 = load ptr, ptr %24, align 8, !tbaa !9
  %905 = getelementptr inbounds double, ptr %904, i64 %.12643.epil
  store double %903, ptr %905, align 8, !tbaa !5
  %906 = fneg double %.5644.epil
  %907 = add nuw nsw i64 %.12643.epil, 1
  %epil.iter757.next = add i64 %epil.iter757, 1
  %epil.iter757.cmp.not = icmp eq i64 %epil.iter757.next, %xtraiter756
  br i1 %epil.iter757.cmp.not, label %._crit_edge647, label %.lr.ph646.epil, !llvm.loop !34

._crit_edge647:                                   ; preds = %._crit_edge647.loopexit.unr-lcssa, %.lr.ph646.epil, %882
  %.5.lcssa = phi double [ %.4514, %882 ], [ %.4514, %._crit_edge647.loopexit.unr-lcssa ], [ %906, %.lr.ph646.epil ]
  %908 = fmul double %.5.lcssa, 3.000000e+00
  %909 = load ptr, ptr %24, align 8, !tbaa !9
  %910 = getelementptr double, ptr %909, i64 %.1540660
  %911 = getelementptr i8, ptr %910, i64 -16
  store double %908, ptr %911, align 8, !tbaa !5
  %912 = fneg double %.5.lcssa
  %913 = load ptr, ptr %24, align 8, !tbaa !9
  %914 = getelementptr inbounds double, ptr %913, i64 %609
  store double %912, ptr %914, align 8, !tbaa !5
  br label %.preheader733

.preheader733:                                    ; preds = %._crit_edge647, %881
  br label %915

915:                                              ; preds = %.preheader733, %939
  %.13649 = phi i64 [ %940, %939 ], [ 0, %.preheader733 ]
  %916 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %.1540660, ptr noundef %1)
  %.not558 = icmp eq i64 %916, %.13649
  br i1 %.not558, label %939, label %917

917:                                              ; preds = %915
  %918 = load ptr, ptr %22, align 8, !tbaa !9
  %919 = getelementptr inbounds double, ptr %918, i64 %.13649
  %920 = load double, ptr %919, align 8, !tbaa !5
  %921 = getelementptr inbounds double, ptr %918, i64 %916
  %922 = load double, ptr %921, align 8, !tbaa !5
  store double %922, ptr %919, align 8, !tbaa !5
  %923 = load ptr, ptr %22, align 8, !tbaa !9
  %924 = getelementptr inbounds double, ptr %923, i64 %916
  store double %920, ptr %924, align 8, !tbaa !5
  %925 = load ptr, ptr %23, align 8, !tbaa !9
  %926 = getelementptr inbounds double, ptr %925, i64 %.13649
  %927 = load double, ptr %926, align 8, !tbaa !5
  %928 = getelementptr inbounds double, ptr %925, i64 %916
  %929 = load double, ptr %928, align 8, !tbaa !5
  store double %929, ptr %926, align 8, !tbaa !5
  %930 = load ptr, ptr %23, align 8, !tbaa !9
  %931 = getelementptr inbounds double, ptr %930, i64 %916
  store double %927, ptr %931, align 8, !tbaa !5
  %932 = load ptr, ptr %24, align 8, !tbaa !9
  %933 = getelementptr inbounds double, ptr %932, i64 %.13649
  %934 = load double, ptr %933, align 8, !tbaa !5
  %935 = getelementptr inbounds double, ptr %932, i64 %916
  %936 = load double, ptr %935, align 8, !tbaa !5
  store double %936, ptr %933, align 8, !tbaa !5
  %937 = load ptr, ptr %24, align 8, !tbaa !9
  %938 = getelementptr inbounds double, ptr %937, i64 %916
  store double %934, ptr %938, align 8, !tbaa !5
  br label %939

939:                                              ; preds = %915, %917
  %940 = add nuw nsw i64 %.13649, 1
  %exitcond699.not = icmp eq i64 %940, %.1540660
  br i1 %exitcond699.not, label %.lr.ph654, label %915, !llvm.loop !35

.lr.ph654:                                        ; preds = %939
  call void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, i64 noundef %.1540660, i64 noundef %.0526658, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZN11alglib_impl19barycentricbuildxywEPNS_9ae_vectorES1_S1_lPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef %.1540660, ptr noundef nonnull %5, ptr noundef %1)
  br label %941

941:                                              ; preds = %.lr.ph654, %941
  %.6652 = phi double [ %.5520657, %.lr.ph654 ], [ %948, %941 ]
  %.14651 = phi i64 [ 1, %.lr.ph654 ], [ %949, %941 ]
  %942 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %943 = call double @llvm.fmuladd.f64(double %804, double %942, double %801)
  %944 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %4, double noundef %943, ptr noundef %1)
  %945 = call noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef nonnull %5, double noundef %943, ptr noundef %1)
  %946 = fsub double %944, %945
  %947 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %946, ptr noundef %1)
  %948 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.6652, double noundef %947, ptr noundef %1)
  %949 = add nuw nsw i64 %.14651, 1
  %.not557.not = icmp ult i64 %.14651, %611
  br i1 %.not557.not, label %941, label %.loopexit, !llvm.loop !36

.loopexit:                                        ; preds = %941
  %950 = add nuw nsw i64 %.4525656, 1
  %exitcond700.not = icmp eq i64 %950, 6
  br i1 %exitcond700.not, label %.split.us, label %.preheader585.split, !llvm.loop !37

.split.us:                                        ; preds = %.loopexit, %.preheader585
  %.us-phi = phi double [ %.4519659, %.preheader585 ], [ %948, %.loopexit ]
  %951 = add nuw nsw i64 %.0526658, 1
  %exitcond701.not = icmp eq i64 %951, 3
  br i1 %exitcond701.not, label %952, label %.preheader585, !llvm.loop !38

952:                                              ; preds = %.split.us
  %953 = add nuw nsw i64 %.1540660, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %indvars.iv.next697 = add nuw nsw i64 %indvars.iv696, 1
  %exitcond702.not = icmp eq i64 %indvars.iv.next697, 9
  br i1 %exitcond702.not, label %954, label %.preheader588, !llvm.loop !39

954:                                              ; preds = %952
  %955 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.us-phi, double noundef 5.000000e-10)
  br i1 %0, label %967, label %956

956:                                              ; preds = %954
  %957 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.611)
  %958 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.612)
  %.str.7..str.6 = select i1 %550, ptr @.str.7, ptr @.str.6
  %959 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7..str.6)
  %960 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.613)
  br i1 %955, label %.thread, label %962

.thread:                                          ; preds = %956
  %961 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %964

962:                                              ; preds = %956
  %963 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %spec.select = select i1 %550, ptr @.str.1, ptr @.str.2
  br label %964

964:                                              ; preds = %962, %.thread
  %.str.2.sink = phi ptr [ @.str.1, %.thread ], [ %spec.select, %962 ]
  %965 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink)
  %966 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %967

967:                                              ; preds = %964, %954
  %968 = or i1 %550, %955
  %969 = xor i1 %968, true
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret i1 %969
}

declare void @_ZN11alglib_impl28_barycentricinterpolant_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

declare 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 #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testratintunit_brcunsetPN11alglib_impl22barycentricinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN11alglib_impl17barycentricunpackEPNS_22barycentricinterpolantEPlPNS_9ae_vectorES4_S4_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl15barycentriccalcEPNS_22barycentricinterpolantEdPNS_8ae_stateE(ptr noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl15barycentriccopyEPNS_22barycentricinterpolantES1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare void @_ZN11alglib_impl16barycentricdiff1EPNS_22barycentricinterpolantEdPdS2_PNS_8ae_stateE(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl16barycentricdiff2EPNS_22barycentricinterpolantEdPdS2_S2_PNS_8ae_stateE(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl20barycentriclintransxEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl20barycentriclintransyEPNS_22barycentricinterpolantEddPNS_8ae_stateE(ptr noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl30barycentricbuildfloaterhormannEPNS_9ae_vectorES1_llPNS_22barycentricinterpolantEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl7ae_atanEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nofree nounwind "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 = { 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 #6 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !11}
!21 = distinct !{!21, !11}
!22 = distinct !{!22, !11}
!23 = distinct !{!23, !11}
!24 = distinct !{!24, !11}
!25 = distinct !{!25, !11}
!26 = distinct !{!26, !11}
!27 = distinct !{!27, !11}
!28 = distinct !{!28, !11}
!29 = distinct !{!29, !11}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.unroll.disable"}
!32 = distinct !{!32, !11}
!33 = distinct !{!33, !11}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !11}
!36 = distinct !{!36, !11}
!37 = distinct !{!37, !11}
!38 = distinct !{!38, !11}
!39 = distinct !{!39, !11}


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