; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z11testhermitebPN11alglib_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::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.689 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.690 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.691 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.692 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.693 = external hidden unnamed_addr constant [49 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 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 zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z11testhermitebPN11alglib_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 double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = zext i1 %0 to i8
  store i8 %18, 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 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, 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 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  %19 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %19, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 64, i1 false)
  %20 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %13, i64 noundef 0, i64 noundef 3, ptr noundef %20, i1 noundef zeroext true)
  store double 0.000000e+00, ptr %6, align 8, !tbaa !11
  store double 0.000000e+00, ptr %7, align 8, !tbaa !11
  store double 0.000000e+00, ptr %8, align 8, !tbaa !11
  store double 1.000000e-09, ptr %9, align 8, !tbaa !11
  store i8 0, ptr %16, align 1, !tbaa !5
  store i64 0, ptr %10, align 8, !tbaa !13
  %21 = load double, ptr %6, align 8, !tbaa !11
  %22 = load i64, ptr %10, align 8, !tbaa !13
  %23 = load ptr, ptr %4, align 8, !tbaa !9
  %24 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %22, double noundef 1.000000e+00, ptr noundef %23)
  %25 = fsub double %24, 1.000000e+00
  %26 = load ptr, ptr %4, align 8, !tbaa !9
  %27 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %25, ptr noundef %26)
  %28 = load ptr, ptr %4, align 8, !tbaa !9
  %29 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %21, double noundef %27, ptr noundef %28)
  store double %29, ptr %6, align 8, !tbaa !11
  store i64 1, ptr %10, align 8, !tbaa !13
  %30 = load double, ptr %6, align 8, !tbaa !11
  %31 = load i64, ptr %10, align 8, !tbaa !13
  %32 = load ptr, ptr %4, align 8, !tbaa !9
  %33 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %31, double noundef 1.000000e+00, ptr noundef %32)
  %34 = fsub double %33, 2.000000e+00
  %35 = load ptr, ptr %4, align 8, !tbaa !9
  %36 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %34, ptr noundef %35)
  %37 = load ptr, ptr %4, align 8, !tbaa !9
  %38 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %30, double noundef %36, ptr noundef %37)
  store double %38, ptr %6, align 8, !tbaa !11
  store i64 2, ptr %10, align 8, !tbaa !13
  %39 = load double, ptr %6, align 8, !tbaa !11
  %40 = load i64, ptr %10, align 8, !tbaa !13
  %41 = load ptr, ptr %4, align 8, !tbaa !9
  %42 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %40, double noundef 1.000000e+00, ptr noundef %41)
  %43 = fsub double %42, 2.000000e+00
  %44 = load ptr, ptr %4, align 8, !tbaa !9
  %45 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %43, ptr noundef %44)
  %46 = load ptr, ptr %4, align 8, !tbaa !9
  %47 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %39, double noundef %45, ptr noundef %46)
  store double %47, ptr %6, align 8, !tbaa !11
  store i64 3, ptr %10, align 8, !tbaa !13
  %48 = load double, ptr %6, align 8, !tbaa !11
  %49 = load i64, ptr %10, align 8, !tbaa !13
  %50 = load ptr, ptr %4, align 8, !tbaa !9
  %51 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %49, double noundef 1.000000e+00, ptr noundef %50)
  %52 = fadd double %51, 4.000000e+00
  %53 = load ptr, ptr %4, align 8, !tbaa !9
  %54 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %52, ptr noundef %53)
  %55 = load ptr, ptr %4, align 8, !tbaa !9
  %56 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %48, double noundef %54, ptr noundef %55)
  store double %56, ptr %6, align 8, !tbaa !11
  store i64 4, ptr %10, align 8, !tbaa !13
  %57 = load double, ptr %6, align 8, !tbaa !11
  %58 = load i64, ptr %10, align 8, !tbaa !13
  %59 = load ptr, ptr %4, align 8, !tbaa !9
  %60 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %58, double noundef 1.000000e+00, ptr noundef %59)
  %61 = fadd double %60, 2.000000e+01
  %62 = load ptr, ptr %4, align 8, !tbaa !9
  %63 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %61, ptr noundef %62)
  %64 = load ptr, ptr %4, align 8, !tbaa !9
  %65 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %57, double noundef %63, ptr noundef %64)
  store double %65, ptr %6, align 8, !tbaa !11
  store i64 5, ptr %10, align 8, !tbaa !13
  %66 = load double, ptr %6, align 8, !tbaa !11
  %67 = load i64, ptr %10, align 8, !tbaa !13
  %68 = load ptr, ptr %4, align 8, !tbaa !9
  %69 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %67, double noundef 1.000000e+00, ptr noundef %68)
  %70 = fadd double %69, 8.000000e+00
  %71 = load ptr, ptr %4, align 8, !tbaa !9
  %72 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %70, ptr noundef %71)
  %73 = load ptr, ptr %4, align 8, !tbaa !9
  %74 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %66, double noundef %72, ptr noundef %73)
  store double %74, ptr %6, align 8, !tbaa !11
  store i64 6, ptr %10, align 8, !tbaa !13
  %75 = load double, ptr %6, align 8, !tbaa !11
  %76 = load i64, ptr %10, align 8, !tbaa !13
  %77 = load ptr, ptr %4, align 8, !tbaa !9
  %78 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %76, double noundef 1.000000e+00, ptr noundef %77)
  %79 = fsub double %78, 1.840000e+02
  %80 = load ptr, ptr %4, align 8, !tbaa !9
  %81 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %79, ptr noundef %80)
  %82 = load ptr, ptr %4, align 8, !tbaa !9
  %83 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %75, double noundef %81, ptr noundef %82)
  store double %83, ptr %6, align 8, !tbaa !11
  store i64 7, ptr %10, align 8, !tbaa !13
  %84 = load double, ptr %6, align 8, !tbaa !11
  %85 = load i64, ptr %10, align 8, !tbaa !13
  %86 = load ptr, ptr %4, align 8, !tbaa !9
  %87 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %85, double noundef 1.000000e+00, ptr noundef %86)
  %88 = fsub double %87, 4.640000e+02
  %89 = load ptr, ptr %4, align 8, !tbaa !9
  %90 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %88, ptr noundef %89)
  %91 = load ptr, ptr %4, align 8, !tbaa !9
  %92 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %84, double noundef %90, ptr noundef %91)
  store double %92, ptr %6, align 8, !tbaa !11
  store i64 11, ptr %10, align 8, !tbaa !13
  %93 = load double, ptr %6, align 8, !tbaa !11
  %94 = load i64, ptr %10, align 8, !tbaa !13
  %95 = load ptr, ptr %4, align 8, !tbaa !9
  %96 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %94, double noundef 1.000000e+00, ptr noundef %95)
  %97 = fsub double %96, 2.308480e+05
  %98 = load ptr, ptr %4, align 8, !tbaa !9
  %99 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %97, ptr noundef %98)
  %100 = load ptr, ptr %4, align 8, !tbaa !9
  %101 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %93, double noundef %99, ptr noundef %100)
  store double %101, ptr %6, align 8, !tbaa !11
  store i64 12, ptr %10, align 8, !tbaa !13
  %102 = load double, ptr %6, align 8, !tbaa !11
  %103 = load i64, ptr %10, align 8, !tbaa !13
  %104 = load ptr, ptr %4, align 8, !tbaa !9
  %105 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %103, double noundef 1.000000e+00, ptr noundef %104)
  %106 = fsub double %105, 2.807680e+05
  %107 = load ptr, ptr %4, align 8, !tbaa !9
  %108 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %106, ptr noundef %107)
  %109 = load ptr, ptr %4, align 8, !tbaa !9
  %110 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %102, double noundef %108, ptr noundef %109)
  store double %110, ptr %6, align 8, !tbaa !11
  store i64 10, ptr %11, align 8, !tbaa !13
  %111 = load i64, ptr %11, align 8, !tbaa !13
  %112 = add nsw i64 %111, 1
  %113 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %13, i64 noundef %112, ptr noundef %113)
  store i64 1, ptr %12, align 8, !tbaa !13
  br label %114

114:                                              ; preds = %159, %2
  %115 = load i64, ptr %12, align 8, !tbaa !13
  %116 = icmp sle i64 %115, 10
  br i1 %116, label %117, label %162

117:                                              ; preds = %114
  %118 = load ptr, ptr %4, align 8, !tbaa !9
  %119 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %118)
  %120 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %119, double -1.000000e+00)
  store double %120, ptr %14, align 8, !tbaa !11
  store double 0.000000e+00, ptr %15, align 8, !tbaa !11
  store i64 0, ptr %10, align 8, !tbaa !13
  br label %121

121:                                              ; preds = %155, %117
  %122 = load i64, ptr %10, align 8, !tbaa !13
  %123 = load i64, ptr %11, align 8, !tbaa !13
  %124 = icmp sle i64 %122, %123
  br i1 %124, label %125, label %158

125:                                              ; preds = %121
  %126 = load ptr, ptr %4, align 8, !tbaa !9
  %127 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %126)
  %128 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %127, double -1.000000e+00)
  %129 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %130 = load ptr, ptr %129, align 8, !tbaa !15
  %131 = load i64, ptr %10, align 8, !tbaa !13
  %132 = getelementptr inbounds double, ptr %130, i64 %131
  store double %128, ptr %132, align 8, !tbaa !11
  %133 = load double, ptr %15, align 8, !tbaa !11
  %134 = load i64, ptr %10, align 8, !tbaa !13
  %135 = load double, ptr %14, align 8, !tbaa !11
  %136 = load ptr, ptr %4, align 8, !tbaa !9
  %137 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %134, double noundef %135, ptr noundef %136)
  %138 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !15
  %140 = load i64, ptr %10, align 8, !tbaa !13
  %141 = getelementptr inbounds double, ptr %139, i64 %140
  %142 = load double, ptr %141, align 8, !tbaa !11
  %143 = call double @llvm.fmuladd.f64(double %137, double %142, double %133)
  store double %143, ptr %15, align 8, !tbaa !11
  %144 = load double, ptr %7, align 8, !tbaa !11
  %145 = load double, ptr %15, align 8, !tbaa !11
  %146 = load i64, ptr %10, align 8, !tbaa !13
  %147 = load double, ptr %14, align 8, !tbaa !11
  %148 = load ptr, ptr %4, align 8, !tbaa !9
  %149 = call noundef double @_ZN11alglib_impl10hermitesumEPNS_9ae_vectorEldPNS_8ae_stateE(ptr noundef %13, i64 noundef %146, double noundef %147, ptr noundef %148)
  %150 = fsub double %145, %149
  %151 = load ptr, ptr %4, align 8, !tbaa !9
  %152 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %150, ptr noundef %151)
  %153 = load ptr, ptr %4, align 8, !tbaa !9
  %154 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %144, double noundef %152, ptr noundef %153)
  store double %154, ptr %7, align 8, !tbaa !11
  br label %155

155:                                              ; preds = %125
  %156 = load i64, ptr %10, align 8, !tbaa !13
  %157 = add nsw i64 %156, 1
  store i64 %157, ptr %10, align 8, !tbaa !13
  br label %121, !llvm.loop !16

158:                                              ; preds = %121
  br label %159

159:                                              ; preds = %158
  %160 = load i64, ptr %12, align 8, !tbaa !13
  %161 = add nsw i64 %160, 1
  store i64 %161, ptr %12, align 8, !tbaa !13
  br label %114, !llvm.loop !18

162:                                              ; preds = %114
  %163 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 0, ptr noundef %13, ptr noundef %163)
  %164 = load double, ptr %8, align 8, !tbaa !11
  %165 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !15
  %167 = getelementptr inbounds double, ptr %166, i64 0
  %168 = load double, ptr %167, align 8, !tbaa !11
  %169 = fsub double %168, 1.000000e+00
  %170 = load ptr, ptr %4, align 8, !tbaa !9
  %171 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %169, ptr noundef %170)
  %172 = load ptr, ptr %4, align 8, !tbaa !9
  %173 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %164, double noundef %171, ptr noundef %172)
  store double %173, ptr %8, align 8, !tbaa !11
  %174 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 1, ptr noundef %13, ptr noundef %174)
  %175 = load double, ptr %8, align 8, !tbaa !11
  %176 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %177 = load ptr, ptr %176, align 8, !tbaa !15
  %178 = getelementptr inbounds double, ptr %177, i64 0
  %179 = load double, ptr %178, align 8, !tbaa !11
  %180 = fsub double %179, 0.000000e+00
  %181 = load ptr, ptr %4, align 8, !tbaa !9
  %182 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %180, ptr noundef %181)
  %183 = load ptr, ptr %4, align 8, !tbaa !9
  %184 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %175, double noundef %182, ptr noundef %183)
  store double %184, ptr %8, align 8, !tbaa !11
  %185 = load double, ptr %8, align 8, !tbaa !11
  %186 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %187 = load ptr, ptr %186, align 8, !tbaa !15
  %188 = getelementptr inbounds double, ptr %187, i64 1
  %189 = load double, ptr %188, align 8, !tbaa !11
  %190 = fsub double %189, 2.000000e+00
  %191 = load ptr, ptr %4, align 8, !tbaa !9
  %192 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %190, ptr noundef %191)
  %193 = load ptr, ptr %4, align 8, !tbaa !9
  %194 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %185, double noundef %192, ptr noundef %193)
  store double %194, ptr %8, align 8, !tbaa !11
  %195 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 2, ptr noundef %13, ptr noundef %195)
  %196 = load double, ptr %8, align 8, !tbaa !11
  %197 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %198 = load ptr, ptr %197, align 8, !tbaa !15
  %199 = getelementptr inbounds double, ptr %198, i64 0
  %200 = load double, ptr %199, align 8, !tbaa !11
  %201 = fadd double %200, 2.000000e+00
  %202 = load ptr, ptr %4, align 8, !tbaa !9
  %203 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %201, ptr noundef %202)
  %204 = load ptr, ptr %4, align 8, !tbaa !9
  %205 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %196, double noundef %203, ptr noundef %204)
  store double %205, ptr %8, align 8, !tbaa !11
  %206 = load double, ptr %8, align 8, !tbaa !11
  %207 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %208 = load ptr, ptr %207, align 8, !tbaa !15
  %209 = getelementptr inbounds double, ptr %208, i64 1
  %210 = load double, ptr %209, align 8, !tbaa !11
  %211 = fsub double %210, 0.000000e+00
  %212 = load ptr, ptr %4, align 8, !tbaa !9
  %213 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %211, ptr noundef %212)
  %214 = load ptr, ptr %4, align 8, !tbaa !9
  %215 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %206, double noundef %213, ptr noundef %214)
  store double %215, ptr %8, align 8, !tbaa !11
  %216 = load double, ptr %8, align 8, !tbaa !11
  %217 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %218 = load ptr, ptr %217, align 8, !tbaa !15
  %219 = getelementptr inbounds double, ptr %218, i64 2
  %220 = load double, ptr %219, align 8, !tbaa !11
  %221 = fsub double %220, 4.000000e+00
  %222 = load ptr, ptr %4, align 8, !tbaa !9
  %223 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %221, ptr noundef %222)
  %224 = load ptr, ptr %4, align 8, !tbaa !9
  %225 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %216, double noundef %223, ptr noundef %224)
  store double %225, ptr %8, align 8, !tbaa !11
  %226 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 3, ptr noundef %13, ptr noundef %226)
  %227 = load double, ptr %8, align 8, !tbaa !11
  %228 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %229 = load ptr, ptr %228, align 8, !tbaa !15
  %230 = getelementptr inbounds double, ptr %229, i64 0
  %231 = load double, ptr %230, align 8, !tbaa !11
  %232 = fsub double %231, 0.000000e+00
  %233 = load ptr, ptr %4, align 8, !tbaa !9
  %234 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %232, ptr noundef %233)
  %235 = load ptr, ptr %4, align 8, !tbaa !9
  %236 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %227, double noundef %234, ptr noundef %235)
  store double %236, ptr %8, align 8, !tbaa !11
  %237 = load double, ptr %8, align 8, !tbaa !11
  %238 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %239 = load ptr, ptr %238, align 8, !tbaa !15
  %240 = getelementptr inbounds double, ptr %239, i64 1
  %241 = load double, ptr %240, align 8, !tbaa !11
  %242 = fadd double %241, 1.200000e+01
  %243 = load ptr, ptr %4, align 8, !tbaa !9
  %244 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %242, ptr noundef %243)
  %245 = load ptr, ptr %4, align 8, !tbaa !9
  %246 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %237, double noundef %244, ptr noundef %245)
  store double %246, ptr %8, align 8, !tbaa !11
  %247 = load double, ptr %8, align 8, !tbaa !11
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %249 = load ptr, ptr %248, align 8, !tbaa !15
  %250 = getelementptr inbounds double, ptr %249, i64 2
  %251 = load double, ptr %250, align 8, !tbaa !11
  %252 = fsub double %251, 0.000000e+00
  %253 = load ptr, ptr %4, align 8, !tbaa !9
  %254 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %252, ptr noundef %253)
  %255 = load ptr, ptr %4, align 8, !tbaa !9
  %256 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %247, double noundef %254, ptr noundef %255)
  store double %256, ptr %8, align 8, !tbaa !11
  %257 = load double, ptr %8, align 8, !tbaa !11
  %258 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %259 = load ptr, ptr %258, align 8, !tbaa !15
  %260 = getelementptr inbounds double, ptr %259, i64 3
  %261 = load double, ptr %260, align 8, !tbaa !11
  %262 = fsub double %261, 8.000000e+00
  %263 = load ptr, ptr %4, align 8, !tbaa !9
  %264 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %262, ptr noundef %263)
  %265 = load ptr, ptr %4, align 8, !tbaa !9
  %266 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %257, double noundef %264, ptr noundef %265)
  store double %266, ptr %8, align 8, !tbaa !11
  %267 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 4, ptr noundef %13, ptr noundef %267)
  %268 = load double, ptr %8, align 8, !tbaa !11
  %269 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %270 = load ptr, ptr %269, align 8, !tbaa !15
  %271 = getelementptr inbounds double, ptr %270, i64 0
  %272 = load double, ptr %271, align 8, !tbaa !11
  %273 = fsub double %272, 1.200000e+01
  %274 = load ptr, ptr %4, align 8, !tbaa !9
  %275 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %273, ptr noundef %274)
  %276 = load ptr, ptr %4, align 8, !tbaa !9
  %277 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %268, double noundef %275, ptr noundef %276)
  store double %277, ptr %8, align 8, !tbaa !11
  %278 = load double, ptr %8, align 8, !tbaa !11
  %279 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %280 = load ptr, ptr %279, align 8, !tbaa !15
  %281 = getelementptr inbounds double, ptr %280, i64 1
  %282 = load double, ptr %281, align 8, !tbaa !11
  %283 = fsub double %282, 0.000000e+00
  %284 = load ptr, ptr %4, align 8, !tbaa !9
  %285 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %283, ptr noundef %284)
  %286 = load ptr, ptr %4, align 8, !tbaa !9
  %287 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %278, double noundef %285, ptr noundef %286)
  store double %287, ptr %8, align 8, !tbaa !11
  %288 = load double, ptr %8, align 8, !tbaa !11
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %290 = load ptr, ptr %289, align 8, !tbaa !15
  %291 = getelementptr inbounds double, ptr %290, i64 2
  %292 = load double, ptr %291, align 8, !tbaa !11
  %293 = fadd double %292, 4.800000e+01
  %294 = load ptr, ptr %4, align 8, !tbaa !9
  %295 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %293, ptr noundef %294)
  %296 = load ptr, ptr %4, align 8, !tbaa !9
  %297 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %288, double noundef %295, ptr noundef %296)
  store double %297, ptr %8, align 8, !tbaa !11
  %298 = load double, ptr %8, align 8, !tbaa !11
  %299 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %300 = load ptr, ptr %299, align 8, !tbaa !15
  %301 = getelementptr inbounds double, ptr %300, i64 3
  %302 = load double, ptr %301, align 8, !tbaa !11
  %303 = fsub double %302, 0.000000e+00
  %304 = load ptr, ptr %4, align 8, !tbaa !9
  %305 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %303, ptr noundef %304)
  %306 = load ptr, ptr %4, align 8, !tbaa !9
  %307 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %298, double noundef %305, ptr noundef %306)
  store double %307, ptr %8, align 8, !tbaa !11
  %308 = load double, ptr %8, align 8, !tbaa !11
  %309 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %310 = load ptr, ptr %309, align 8, !tbaa !15
  %311 = getelementptr inbounds double, ptr %310, i64 4
  %312 = load double, ptr %311, align 8, !tbaa !11
  %313 = fsub double %312, 1.600000e+01
  %314 = load ptr, ptr %4, align 8, !tbaa !9
  %315 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %313, ptr noundef %314)
  %316 = load ptr, ptr %4, align 8, !tbaa !9
  %317 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %308, double noundef %315, ptr noundef %316)
  store double %317, ptr %8, align 8, !tbaa !11
  %318 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 5, ptr noundef %13, ptr noundef %318)
  %319 = load double, ptr %8, align 8, !tbaa !11
  %320 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %321 = load ptr, ptr %320, align 8, !tbaa !15
  %322 = getelementptr inbounds double, ptr %321, i64 0
  %323 = load double, ptr %322, align 8, !tbaa !11
  %324 = fsub double %323, 0.000000e+00
  %325 = load ptr, ptr %4, align 8, !tbaa !9
  %326 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %324, ptr noundef %325)
  %327 = load ptr, ptr %4, align 8, !tbaa !9
  %328 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %319, double noundef %326, ptr noundef %327)
  store double %328, ptr %8, align 8, !tbaa !11
  %329 = load double, ptr %8, align 8, !tbaa !11
  %330 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %331 = load ptr, ptr %330, align 8, !tbaa !15
  %332 = getelementptr inbounds double, ptr %331, i64 1
  %333 = load double, ptr %332, align 8, !tbaa !11
  %334 = fsub double %333, 1.200000e+02
  %335 = load ptr, ptr %4, align 8, !tbaa !9
  %336 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %334, ptr noundef %335)
  %337 = load ptr, ptr %4, align 8, !tbaa !9
  %338 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %329, double noundef %336, ptr noundef %337)
  store double %338, ptr %8, align 8, !tbaa !11
  %339 = load double, ptr %8, align 8, !tbaa !11
  %340 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %341 = load ptr, ptr %340, align 8, !tbaa !15
  %342 = getelementptr inbounds double, ptr %341, i64 2
  %343 = load double, ptr %342, align 8, !tbaa !11
  %344 = fsub double %343, 0.000000e+00
  %345 = load ptr, ptr %4, align 8, !tbaa !9
  %346 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %344, ptr noundef %345)
  %347 = load ptr, ptr %4, align 8, !tbaa !9
  %348 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %339, double noundef %346, ptr noundef %347)
  store double %348, ptr %8, align 8, !tbaa !11
  %349 = load double, ptr %8, align 8, !tbaa !11
  %350 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %351 = load ptr, ptr %350, align 8, !tbaa !15
  %352 = getelementptr inbounds double, ptr %351, i64 3
  %353 = load double, ptr %352, align 8, !tbaa !11
  %354 = fadd double %353, 1.600000e+02
  %355 = load ptr, ptr %4, align 8, !tbaa !9
  %356 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %354, ptr noundef %355)
  %357 = load ptr, ptr %4, align 8, !tbaa !9
  %358 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %349, double noundef %356, ptr noundef %357)
  store double %358, ptr %8, align 8, !tbaa !11
  %359 = load double, ptr %8, align 8, !tbaa !11
  %360 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %361 = load ptr, ptr %360, align 8, !tbaa !15
  %362 = getelementptr inbounds double, ptr %361, i64 4
  %363 = load double, ptr %362, align 8, !tbaa !11
  %364 = fsub double %363, 0.000000e+00
  %365 = load ptr, ptr %4, align 8, !tbaa !9
  %366 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %364, ptr noundef %365)
  %367 = load ptr, ptr %4, align 8, !tbaa !9
  %368 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %359, double noundef %366, ptr noundef %367)
  store double %368, ptr %8, align 8, !tbaa !11
  %369 = load double, ptr %8, align 8, !tbaa !11
  %370 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %371 = load ptr, ptr %370, align 8, !tbaa !15
  %372 = getelementptr inbounds double, ptr %371, i64 5
  %373 = load double, ptr %372, align 8, !tbaa !11
  %374 = fsub double %373, 3.200000e+01
  %375 = load ptr, ptr %4, align 8, !tbaa !9
  %376 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %374, ptr noundef %375)
  %377 = load ptr, ptr %4, align 8, !tbaa !9
  %378 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %369, double noundef %376, ptr noundef %377)
  store double %378, ptr %8, align 8, !tbaa !11
  %379 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 6, ptr noundef %13, ptr noundef %379)
  %380 = load double, ptr %8, align 8, !tbaa !11
  %381 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %382 = load ptr, ptr %381, align 8, !tbaa !15
  %383 = getelementptr inbounds double, ptr %382, i64 0
  %384 = load double, ptr %383, align 8, !tbaa !11
  %385 = fadd double %384, 1.200000e+02
  %386 = load ptr, ptr %4, align 8, !tbaa !9
  %387 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %385, ptr noundef %386)
  %388 = load ptr, ptr %4, align 8, !tbaa !9
  %389 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %380, double noundef %387, ptr noundef %388)
  store double %389, ptr %8, align 8, !tbaa !11
  %390 = load double, ptr %8, align 8, !tbaa !11
  %391 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %392 = load ptr, ptr %391, align 8, !tbaa !15
  %393 = getelementptr inbounds double, ptr %392, i64 1
  %394 = load double, ptr %393, align 8, !tbaa !11
  %395 = fsub double %394, 0.000000e+00
  %396 = load ptr, ptr %4, align 8, !tbaa !9
  %397 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %395, ptr noundef %396)
  %398 = load ptr, ptr %4, align 8, !tbaa !9
  %399 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %390, double noundef %397, ptr noundef %398)
  store double %399, ptr %8, align 8, !tbaa !11
  %400 = load double, ptr %8, align 8, !tbaa !11
  %401 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %402 = load ptr, ptr %401, align 8, !tbaa !15
  %403 = getelementptr inbounds double, ptr %402, i64 2
  %404 = load double, ptr %403, align 8, !tbaa !11
  %405 = fsub double %404, 7.200000e+02
  %406 = load ptr, ptr %4, align 8, !tbaa !9
  %407 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %405, ptr noundef %406)
  %408 = load ptr, ptr %4, align 8, !tbaa !9
  %409 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %400, double noundef %407, ptr noundef %408)
  store double %409, ptr %8, align 8, !tbaa !11
  %410 = load double, ptr %8, align 8, !tbaa !11
  %411 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %412 = load ptr, ptr %411, align 8, !tbaa !15
  %413 = getelementptr inbounds double, ptr %412, i64 3
  %414 = load double, ptr %413, align 8, !tbaa !11
  %415 = fsub double %414, 0.000000e+00
  %416 = load ptr, ptr %4, align 8, !tbaa !9
  %417 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %415, ptr noundef %416)
  %418 = load ptr, ptr %4, align 8, !tbaa !9
  %419 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %410, double noundef %417, ptr noundef %418)
  store double %419, ptr %8, align 8, !tbaa !11
  %420 = load double, ptr %8, align 8, !tbaa !11
  %421 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %422 = load ptr, ptr %421, align 8, !tbaa !15
  %423 = getelementptr inbounds double, ptr %422, i64 4
  %424 = load double, ptr %423, align 8, !tbaa !11
  %425 = fadd double %424, 4.800000e+02
  %426 = load ptr, ptr %4, align 8, !tbaa !9
  %427 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %425, ptr noundef %426)
  %428 = load ptr, ptr %4, align 8, !tbaa !9
  %429 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %420, double noundef %427, ptr noundef %428)
  store double %429, ptr %8, align 8, !tbaa !11
  %430 = load double, ptr %8, align 8, !tbaa !11
  %431 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %432 = load ptr, ptr %431, align 8, !tbaa !15
  %433 = getelementptr inbounds double, ptr %432, i64 5
  %434 = load double, ptr %433, align 8, !tbaa !11
  %435 = fsub double %434, 0.000000e+00
  %436 = load ptr, ptr %4, align 8, !tbaa !9
  %437 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %435, ptr noundef %436)
  %438 = load ptr, ptr %4, align 8, !tbaa !9
  %439 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %430, double noundef %437, ptr noundef %438)
  store double %439, ptr %8, align 8, !tbaa !11
  %440 = load double, ptr %8, align 8, !tbaa !11
  %441 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %442 = load ptr, ptr %441, align 8, !tbaa !15
  %443 = getelementptr inbounds double, ptr %442, i64 6
  %444 = load double, ptr %443, align 8, !tbaa !11
  %445 = fsub double %444, 6.400000e+01
  %446 = load ptr, ptr %4, align 8, !tbaa !9
  %447 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %445, ptr noundef %446)
  %448 = load ptr, ptr %4, align 8, !tbaa !9
  %449 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %440, double noundef %447, ptr noundef %448)
  store double %449, ptr %8, align 8, !tbaa !11
  %450 = load double, ptr %6, align 8, !tbaa !11
  %451 = load double, ptr %9, align 8, !tbaa !11
  %452 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %450, double noundef %451)
  br i1 %452, label %461, label %453

453:                                              ; preds = %162
  %454 = load double, ptr %7, align 8, !tbaa !11
  %455 = load double, ptr %9, align 8, !tbaa !11
  %456 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %454, double noundef %455)
  br i1 %456, label %461, label %457

457:                                              ; preds = %453
  %458 = load double, ptr %8, align 8, !tbaa !11
  %459 = load double, ptr %9, align 8, !tbaa !11
  %460 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %458, double noundef %459)
  br label %461

461:                                              ; preds = %457, %453, %162
  %462 = phi i1 [ true, %453 ], [ true, %162 ], [ %460, %457 ]
  %463 = zext i1 %462 to i8
  store i8 %463, ptr %16, align 1, !tbaa !5
  %464 = load i8, ptr %3, align 1, !tbaa !5, !range !19, !noundef !20
  %465 = trunc i8 %464 to i1
  br i1 %465, label %483, label %466

466:                                              ; preds = %461
  %467 = call i32 (ptr, ...) @printf(ptr noundef @.str.689)
  %468 = load double, ptr %6, align 8, !tbaa !11
  %469 = call i32 (ptr, ...) @printf(ptr noundef @.str.690, double noundef %468)
  %470 = load double, ptr %7, align 8, !tbaa !11
  %471 = call i32 (ptr, ...) @printf(ptr noundef @.str.691, double noundef %470)
  %472 = load double, ptr %8, align 8, !tbaa !11
  %473 = call i32 (ptr, ...) @printf(ptr noundef @.str.692, double noundef %472)
  %474 = load double, ptr %9, align 8, !tbaa !11
  %475 = call i32 (ptr, ...) @printf(ptr noundef @.str.693, double noundef %474)
  %476 = load i8, ptr %16, align 1, !tbaa !5, !range !19, !noundef !20
  %477 = trunc i8 %476 to i1
  br i1 %477, label %480, label %478

478:                                              ; preds = %466
  %479 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %482

480:                                              ; preds = %466
  %481 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %482

482:                                              ; preds = %480, %478
  br label %483

483:                                              ; preds = %482, %461
  %484 = load i8, ptr %16, align 1, !tbaa !5, !range !19, !noundef !20
  %485 = trunc i8 %484 to i1
  %486 = xor i1 %485, true
  %487 = zext i1 %486 to i8
  store i8 %487, ptr %17, align 1, !tbaa !5
  %488 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %488)
  %489 = load i8, ptr %17, align 1, !tbaa !5, !range !19, !noundef !20
  %490 = trunc i8 %489 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  ret i1 %490
}

declare noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl10hermitesumEPNS_9ae_vectorEldPNS_8ae_stateE(ptr noundef, i64 noundef, double noundef, ptr noundef) #1

declare void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr 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 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{i8 0, i8 2}
!20 = !{}


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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::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.689 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.690 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.691 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.692 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.693 = external hidden unnamed_addr constant [49 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

; 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 zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z11testhermitebPN11alglib_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::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #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(64) %4, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %4, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  %5 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 0, double noundef 1.000000e+00, ptr noundef %1)
  %6 = fadd double %5, -1.000000e+00
  %7 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %6, ptr noundef %1)
  %8 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef 0.000000e+00, double noundef %7, ptr noundef %1)
  %9 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 1, double noundef 1.000000e+00, ptr noundef %1)
  %10 = fadd double %9, -2.000000e+00
  %11 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %10, ptr noundef %1)
  %12 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %8, double noundef %11, ptr noundef %1)
  %13 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 2, double noundef 1.000000e+00, ptr noundef %1)
  %14 = fadd double %13, -2.000000e+00
  %15 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %14, ptr noundef %1)
  %16 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %12, double noundef %15, ptr noundef %1)
  %17 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 3, double noundef 1.000000e+00, ptr noundef %1)
  %18 = fadd double %17, 4.000000e+00
  %19 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %18, ptr noundef %1)
  %20 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %16, double noundef %19, ptr noundef %1)
  %21 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 4, double noundef 1.000000e+00, ptr noundef %1)
  %22 = fadd double %21, 2.000000e+01
  %23 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %22, ptr noundef %1)
  %24 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %20, double noundef %23, ptr noundef %1)
  %25 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 5, double noundef 1.000000e+00, ptr noundef %1)
  %26 = fadd double %25, 8.000000e+00
  %27 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %26, ptr noundef %1)
  %28 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %24, double noundef %27, ptr noundef %1)
  %29 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 6, double noundef 1.000000e+00, ptr noundef %1)
  %30 = fadd double %29, -1.840000e+02
  %31 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %30, ptr noundef %1)
  %32 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %28, double noundef %31, ptr noundef %1)
  %33 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 7, double noundef 1.000000e+00, ptr noundef %1)
  %34 = fadd double %33, -4.640000e+02
  %35 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %34, ptr noundef %1)
  %36 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %32, double noundef %35, ptr noundef %1)
  %37 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 11, double noundef 1.000000e+00, ptr noundef %1)
  %38 = fadd double %37, -2.308480e+05
  %39 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %38, ptr noundef %1)
  %40 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %36, double noundef %39, ptr noundef %1)
  %41 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef 12, double noundef 1.000000e+00, ptr noundef %1)
  %42 = fadd double %41, -2.807680e+05
  %43 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %42, ptr noundef %1)
  %44 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %40, double noundef %43, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 11, ptr noundef %1)
  %45 = getelementptr inbounds i8, ptr %4, i64 56
  br label %46

46:                                               ; preds = %2, %64
  %.0179186 = phi double [ 0.000000e+00, %2 ], [ %62, %64 ]
  %.0180185 = phi i64 [ 1, %2 ], [ %65, %64 ]
  %47 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %48 = call double @llvm.fmuladd.f64(double %47, double 2.000000e+00, double -1.000000e+00)
  br label %49

49:                                               ; preds = %46, %49
  %.0184 = phi double [ 0.000000e+00, %46 ], [ %58, %49 ]
  %.1183 = phi double [ %.0179186, %46 ], [ %62, %49 ]
  %.0181182 = phi i64 [ 0, %46 ], [ %63, %49 ]
  %50 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %51 = call double @llvm.fmuladd.f64(double %50, double 2.000000e+00, double -1.000000e+00)
  %52 = load ptr, ptr %45, align 8, !tbaa !5
  %53 = getelementptr inbounds double, ptr %52, i64 %.0181182
  store double %51, ptr %53, align 8, !tbaa !8
  %54 = call noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef %.0181182, double noundef %48, ptr noundef %1)
  %55 = load ptr, ptr %45, align 8, !tbaa !5
  %56 = getelementptr inbounds double, ptr %55, i64 %.0181182
  %57 = load double, ptr %56, align 8, !tbaa !8
  %58 = call double @llvm.fmuladd.f64(double %54, double %57, double %.0184)
  %59 = call noundef double @_ZN11alglib_impl10hermitesumEPNS_9ae_vectorEldPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.0181182, double noundef %48, ptr noundef %1)
  %60 = fsub double %58, %59
  %61 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %60, ptr noundef %1)
  %62 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.1183, double noundef %61, ptr noundef %1)
  %63 = add nuw nsw i64 %.0181182, 1
  %exitcond.not = icmp eq i64 %63, 11
  br i1 %exitcond.not, label %64, label %49, !llvm.loop !10

64:                                               ; preds = %49
  %65 = add nuw nsw i64 %.0180185, 1
  %exitcond187.not = icmp eq i64 %65, 11
  br i1 %exitcond187.not, label %66, label %46, !llvm.loop !12

66:                                               ; preds = %64
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 0, ptr noundef nonnull %4, ptr noundef %1)
  %67 = load ptr, ptr %45, align 8, !tbaa !5
  %68 = load double, ptr %67, align 8, !tbaa !8
  %69 = fadd double %68, -1.000000e+00
  %70 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %69, ptr noundef %1)
  %71 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef 0.000000e+00, double noundef %70, ptr noundef %1)
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 1, ptr noundef nonnull %4, ptr noundef %1)
  %72 = load ptr, ptr %45, align 8, !tbaa !5
  %73 = load double, ptr %72, align 8, !tbaa !8
  %74 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %73, ptr noundef %1)
  %75 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %71, double noundef %74, ptr noundef %1)
  %76 = load ptr, ptr %45, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  %78 = load double, ptr %77, align 8, !tbaa !8
  %79 = fadd double %78, -2.000000e+00
  %80 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %79, ptr noundef %1)
  %81 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %75, double noundef %80, ptr noundef %1)
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 2, ptr noundef nonnull %4, ptr noundef %1)
  %82 = load ptr, ptr %45, align 8, !tbaa !5
  %83 = load double, ptr %82, align 8, !tbaa !8
  %84 = fadd double %83, 2.000000e+00
  %85 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %84, ptr noundef %1)
  %86 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %81, double noundef %85, ptr noundef %1)
  %87 = load ptr, ptr %45, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  %89 = load double, ptr %88, align 8, !tbaa !8
  %90 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %89, ptr noundef %1)
  %91 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %86, double noundef %90, ptr noundef %1)
  %92 = load ptr, ptr %45, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 16
  %94 = load double, ptr %93, align 8, !tbaa !8
  %95 = fadd double %94, -4.000000e+00
  %96 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %95, ptr noundef %1)
  %97 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %91, double noundef %96, ptr noundef %1)
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 3, ptr noundef nonnull %4, ptr noundef %1)
  %98 = load ptr, ptr %45, align 8, !tbaa !5
  %99 = load double, ptr %98, align 8, !tbaa !8
  %100 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %99, ptr noundef %1)
  %101 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %97, double noundef %100, ptr noundef %1)
  %102 = load ptr, ptr %45, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = load double, ptr %103, align 8, !tbaa !8
  %105 = fadd double %104, 1.200000e+01
  %106 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %105, ptr noundef %1)
  %107 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %101, double noundef %106, ptr noundef %1)
  %108 = load ptr, ptr %45, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 16
  %110 = load double, ptr %109, align 8, !tbaa !8
  %111 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %110, ptr noundef %1)
  %112 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %107, double noundef %111, ptr noundef %1)
  %113 = load ptr, ptr %45, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i64 24
  %115 = load double, ptr %114, align 8, !tbaa !8
  %116 = fadd double %115, -8.000000e+00
  %117 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %116, ptr noundef %1)
  %118 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %112, double noundef %117, ptr noundef %1)
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 4, ptr noundef nonnull %4, ptr noundef %1)
  %119 = load ptr, ptr %45, align 8, !tbaa !5
  %120 = load double, ptr %119, align 8, !tbaa !8
  %121 = fadd double %120, -1.200000e+01
  %122 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %121, ptr noundef %1)
  %123 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %118, double noundef %122, ptr noundef %1)
  %124 = load ptr, ptr %45, align 8, !tbaa !5
  %125 = getelementptr inbounds i8, ptr %124, i64 8
  %126 = load double, ptr %125, align 8, !tbaa !8
  %127 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %126, ptr noundef %1)
  %128 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %123, double noundef %127, ptr noundef %1)
  %129 = load ptr, ptr %45, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %129, i64 16
  %131 = load double, ptr %130, align 8, !tbaa !8
  %132 = fadd double %131, 4.800000e+01
  %133 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %132, ptr noundef %1)
  %134 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %128, double noundef %133, ptr noundef %1)
  %135 = load ptr, ptr %45, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i64 24
  %137 = load double, ptr %136, align 8, !tbaa !8
  %138 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %137, ptr noundef %1)
  %139 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %134, double noundef %138, ptr noundef %1)
  %140 = load ptr, ptr %45, align 8, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %140, i64 32
  %142 = load double, ptr %141, align 8, !tbaa !8
  %143 = fadd double %142, -1.600000e+01
  %144 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %143, ptr noundef %1)
  %145 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %139, double noundef %144, ptr noundef %1)
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 5, ptr noundef nonnull %4, ptr noundef %1)
  %146 = load ptr, ptr %45, align 8, !tbaa !5
  %147 = load double, ptr %146, align 8, !tbaa !8
  %148 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %147, ptr noundef %1)
  %149 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %145, double noundef %148, ptr noundef %1)
  %150 = load ptr, ptr %45, align 8, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %150, i64 8
  %152 = load double, ptr %151, align 8, !tbaa !8
  %153 = fadd double %152, -1.200000e+02
  %154 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %153, ptr noundef %1)
  %155 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %149, double noundef %154, ptr noundef %1)
  %156 = load ptr, ptr %45, align 8, !tbaa !5
  %157 = getelementptr inbounds i8, ptr %156, i64 16
  %158 = load double, ptr %157, align 8, !tbaa !8
  %159 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %158, ptr noundef %1)
  %160 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %155, double noundef %159, ptr noundef %1)
  %161 = load ptr, ptr %45, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i64 24
  %163 = load double, ptr %162, align 8, !tbaa !8
  %164 = fadd double %163, 1.600000e+02
  %165 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %164, ptr noundef %1)
  %166 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %160, double noundef %165, ptr noundef %1)
  %167 = load ptr, ptr %45, align 8, !tbaa !5
  %168 = getelementptr inbounds i8, ptr %167, i64 32
  %169 = load double, ptr %168, align 8, !tbaa !8
  %170 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %169, ptr noundef %1)
  %171 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %166, double noundef %170, ptr noundef %1)
  %172 = load ptr, ptr %45, align 8, !tbaa !5
  %173 = getelementptr inbounds i8, ptr %172, i64 40
  %174 = load double, ptr %173, align 8, !tbaa !8
  %175 = fadd double %174, -3.200000e+01
  %176 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %175, ptr noundef %1)
  %177 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %171, double noundef %176, ptr noundef %1)
  call void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef 6, ptr noundef nonnull %4, ptr noundef %1)
  %178 = load ptr, ptr %45, align 8, !tbaa !5
  %179 = load double, ptr %178, align 8, !tbaa !8
  %180 = fadd double %179, 1.200000e+02
  %181 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %180, ptr noundef %1)
  %182 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %177, double noundef %181, ptr noundef %1)
  %183 = load ptr, ptr %45, align 8, !tbaa !5
  %184 = getelementptr inbounds i8, ptr %183, i64 8
  %185 = load double, ptr %184, align 8, !tbaa !8
  %186 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %185, ptr noundef %1)
  %187 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %182, double noundef %186, ptr noundef %1)
  %188 = load ptr, ptr %45, align 8, !tbaa !5
  %189 = getelementptr inbounds i8, ptr %188, i64 16
  %190 = load double, ptr %189, align 8, !tbaa !8
  %191 = fadd double %190, -7.200000e+02
  %192 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %191, ptr noundef %1)
  %193 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %187, double noundef %192, ptr noundef %1)
  %194 = load ptr, ptr %45, align 8, !tbaa !5
  %195 = getelementptr inbounds i8, ptr %194, i64 24
  %196 = load double, ptr %195, align 8, !tbaa !8
  %197 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %196, ptr noundef %1)
  %198 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %193, double noundef %197, ptr noundef %1)
  %199 = load ptr, ptr %45, align 8, !tbaa !5
  %200 = getelementptr inbounds i8, ptr %199, i64 32
  %201 = load double, ptr %200, align 8, !tbaa !8
  %202 = fadd double %201, 4.800000e+02
  %203 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %202, ptr noundef %1)
  %204 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %198, double noundef %203, ptr noundef %1)
  %205 = load ptr, ptr %45, align 8, !tbaa !5
  %206 = getelementptr inbounds i8, ptr %205, i64 40
  %207 = load double, ptr %206, align 8, !tbaa !8
  %208 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %207, ptr noundef %1)
  %209 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %204, double noundef %208, ptr noundef %1)
  %210 = load ptr, ptr %45, align 8, !tbaa !5
  %211 = getelementptr inbounds i8, ptr %210, i64 48
  %212 = load double, ptr %211, align 8, !tbaa !8
  %213 = fadd double %212, -6.400000e+01
  %214 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %213, ptr noundef %1)
  %215 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %209, double noundef %214, ptr noundef %1)
  %216 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %44, double noundef 1.000000e-09)
  br i1 %216, label %221, label %217

217:                                              ; preds = %66
  %218 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %62, double noundef 1.000000e-09)
  br i1 %218, label %221, label %219

219:                                              ; preds = %217
  %220 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %215, double noundef 1.000000e-09)
  br label %221

221:                                              ; preds = %219, %217, %66
  %222 = phi i1 [ true, %217 ], [ true, %66 ], [ %220, %219 ]
  br i1 %0, label %229, label %.sink.split

.sink.split:                                      ; preds = %221
  %223 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.689)
  %224 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.690, double noundef %44)
  %225 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.691, double noundef %62)
  %226 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.692, double noundef %215)
  %227 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.693, double noundef 1.000000e-09)
  %.str.1..str.2 = select i1 %222, ptr @.str.1, ptr @.str.2
  %228 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.1..str.2)
  br label %229

229:                                              ; preds = %.sink.split, %221
  %230 = xor i1 %222, true
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret i1 %230
}

declare noundef double @_ZN11alglib_impl16hermitecalculateEldPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl10hermitesumEPNS_9ae_vectorEldPNS_8ae_stateE(ptr noundef, i64 noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl19hermitecoefficientsElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"double", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


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