; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z7testsmabPN11alglib_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.546 = external hidden unnamed_addr constant [13 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 zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double 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_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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z7testsmabPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #3 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca %"struct.alglib_impl::ae_vector", align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca double, align 8
  %10 = alloca i8, align 1
  %11 = zext i1 %0 to i8
  store i8 %11, 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) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %12 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %12, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 64, i1 false)
  %13 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %6, i64 noundef 0, i64 noundef 3, ptr noundef %13, i1 noundef zeroext true)
  store double 5.000000e-13, ptr %9, align 8, !tbaa !11
  %14 = load i8, ptr %3, align 1, !tbaa !5, !range !13, !noundef !14
  %15 = trunc i8 %14 to i1
  br i1 %15, label %18, label %16

16:                                               ; preds = %2
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.546)
  br label %18

18:                                               ; preds = %16, %2
  store i8 0, ptr %7, align 1, !tbaa !5
  %19 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %6, i64 noundef 1, ptr noundef %19)
  %20 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %21 = load ptr, ptr %20, align 8, !tbaa !15
  %22 = getelementptr inbounds double, ptr %21, i64 0
  store double 7.000000e+00, ptr %22, align 8, !tbaa !11
  %23 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %6, i64 noundef 1, i64 noundef 1, ptr noundef %23)
  %24 = load i8, ptr %7, align 1, !tbaa !5, !range !13, !noundef !14
  %25 = trunc i8 %24 to i1
  br i1 %25, label %32, label %26

26:                                               ; preds = %18
  %27 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %28 = load ptr, ptr %27, align 8, !tbaa !15
  %29 = getelementptr inbounds double, ptr %28, i64 0
  %30 = load double, ptr %29, align 8, !tbaa !11
  %31 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %30, double noundef 7.000000e+00)
  br label %32

32:                                               ; preds = %26, %18
  %33 = phi i1 [ true, %18 ], [ %31, %26 ]
  %34 = zext i1 %33 to i8
  store i8 %34, ptr %7, align 1, !tbaa !5
  %35 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %6, i64 noundef 3, ptr noundef %35)
  %36 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %37 = load ptr, ptr %36, align 8, !tbaa !15
  %38 = getelementptr inbounds double, ptr %37, i64 0
  store double 7.000000e+00, ptr %38, align 8, !tbaa !11
  %39 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = getelementptr inbounds double, ptr %40, i64 1
  store double 8.000000e+00, ptr %41, align 8, !tbaa !11
  %42 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %43 = load ptr, ptr %42, align 8, !tbaa !15
  %44 = getelementptr inbounds double, ptr %43, i64 2
  store double 9.000000e+00, ptr %44, align 8, !tbaa !11
  %45 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %6, i64 noundef 3, i64 noundef 1, ptr noundef %45)
  %46 = load i8, ptr %7, align 1, !tbaa !5, !range !13, !noundef !14
  %47 = trunc i8 %46 to i1
  br i1 %47, label %66, label %48

48:                                               ; preds = %32
  %49 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !15
  %51 = getelementptr inbounds double, ptr %50, i64 0
  %52 = load double, ptr %51, align 8, !tbaa !11
  %53 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %52, double noundef 7.000000e+00)
  br i1 %53, label %66, label %54

54:                                               ; preds = %48
  %55 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = getelementptr inbounds double, ptr %56, i64 1
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %58, double noundef 8.000000e+00)
  br i1 %59, label %66, label %60

60:                                               ; preds = %54
  %61 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %62 = load ptr, ptr %61, align 8, !tbaa !15
  %63 = getelementptr inbounds double, ptr %62, i64 2
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %64, double noundef 9.000000e+00)
  br label %66

66:                                               ; preds = %60, %54, %48, %32
  %67 = phi i1 [ true, %54 ], [ true, %48 ], [ true, %32 ], [ %65, %60 ]
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %7, align 1, !tbaa !5
  %69 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %6, i64 noundef 3, i64 noundef 2, ptr noundef %69)
  %70 = load i8, ptr %7, align 1, !tbaa !5, !range !13, !noundef !14
  %71 = trunc i8 %70 to i1
  br i1 %71, label %90, label %72

72:                                               ; preds = %66
  %73 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %74 = load ptr, ptr %73, align 8, !tbaa !15
  %75 = getelementptr inbounds double, ptr %74, i64 0
  %76 = load double, ptr %75, align 8, !tbaa !11
  %77 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %76, double noundef 7.000000e+00)
  br i1 %77, label %90, label %78

78:                                               ; preds = %72
  %79 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %80 = load ptr, ptr %79, align 8, !tbaa !15
  %81 = getelementptr inbounds double, ptr %80, i64 1
  %82 = load double, ptr %81, align 8, !tbaa !11
  %83 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %82, double noundef 7.500000e+00)
  br i1 %83, label %90, label %84

84:                                               ; preds = %78
  %85 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %86 = load ptr, ptr %85, align 8, !tbaa !15
  %87 = getelementptr inbounds double, ptr %86, i64 2
  %88 = load double, ptr %87, align 8, !tbaa !11
  %89 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %88, double noundef 8.500000e+00)
  br label %90

90:                                               ; preds = %84, %78, %72, %66
  %91 = phi i1 [ true, %78 ], [ true, %72 ], [ true, %66 ], [ %89, %84 ]
  %92 = zext i1 %91 to i8
  store i8 %92, ptr %7, align 1, !tbaa !5
  %93 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %6, i64 noundef 3, ptr noundef %93)
  %94 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %95 = load ptr, ptr %94, align 8, !tbaa !15
  %96 = getelementptr inbounds double, ptr %95, i64 0
  store double 7.000000e+00, ptr %96, align 8, !tbaa !11
  %97 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %98 = load ptr, ptr %97, align 8, !tbaa !15
  %99 = getelementptr inbounds double, ptr %98, i64 1
  store double 8.000000e+00, ptr %99, align 8, !tbaa !11
  %100 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %101 = load ptr, ptr %100, align 8, !tbaa !15
  %102 = getelementptr inbounds double, ptr %101, i64 2
  store double 9.000000e+00, ptr %102, align 8, !tbaa !11
  %103 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %6, i64 noundef 3, i64 noundef 4, ptr noundef %103)
  %104 = load i8, ptr %7, align 1, !tbaa !5, !range !13, !noundef !14
  %105 = trunc i8 %104 to i1
  br i1 %105, label %124, label %106

106:                                              ; preds = %90
  %107 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %108 = load ptr, ptr %107, align 8, !tbaa !15
  %109 = getelementptr inbounds double, ptr %108, i64 0
  %110 = load double, ptr %109, align 8, !tbaa !11
  %111 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %110, double noundef 7.000000e+00)
  br i1 %111, label %124, label %112

112:                                              ; preds = %106
  %113 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %114 = load ptr, ptr %113, align 8, !tbaa !15
  %115 = getelementptr inbounds double, ptr %114, i64 1
  %116 = load double, ptr %115, align 8, !tbaa !11
  %117 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %116, double noundef 7.500000e+00)
  br i1 %117, label %124, label %118

118:                                              ; preds = %112
  %119 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %120 = load ptr, ptr %119, align 8, !tbaa !15
  %121 = getelementptr inbounds double, ptr %120, i64 2
  %122 = load double, ptr %121, align 8, !tbaa !11
  %123 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %122, double noundef 8.000000e+00)
  br label %124

124:                                              ; preds = %118, %112, %106, %90
  %125 = phi i1 [ true, %112 ], [ true, %106 ], [ true, %90 ], [ %123, %118 ]
  %126 = zext i1 %125 to i8
  store i8 %126, ptr %7, align 1, !tbaa !5
  store i8 0, ptr %8, align 1, !tbaa !5
  %127 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %6, i64 noundef 10, ptr noundef %127)
  %128 = load ptr, ptr %4, align 8, !tbaa !9
  %129 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %128)
  %130 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !15
  %132 = getelementptr inbounds double, ptr %131, i64 0
  store double %129, ptr %132, align 8, !tbaa !11
  %133 = load ptr, ptr %4, align 8, !tbaa !9
  %134 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %133)
  %135 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %136 = load ptr, ptr %135, align 8, !tbaa !15
  %137 = getelementptr inbounds double, ptr %136, i64 1
  store double %134, ptr %137, align 8, !tbaa !11
  %138 = load ptr, ptr %4, align 8, !tbaa !9
  %139 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %138)
  %140 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %141 = load ptr, ptr %140, align 8, !tbaa !15
  %142 = getelementptr inbounds double, ptr %141, i64 2
  store double %139, ptr %142, align 8, !tbaa !11
  %143 = load ptr, ptr %4, align 8, !tbaa !9
  %144 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %143)
  %145 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %146 = load ptr, ptr %145, align 8, !tbaa !15
  %147 = getelementptr inbounds double, ptr %146, i64 3
  store double %144, ptr %147, align 8, !tbaa !11
  %148 = load ptr, ptr %4, align 8, !tbaa !9
  %149 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %148)
  %150 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %151 = load ptr, ptr %150, align 8, !tbaa !15
  %152 = getelementptr inbounds double, ptr %151, i64 4
  store double %149, ptr %152, align 8, !tbaa !11
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %154 = load ptr, ptr %153, align 8, !tbaa !15
  %155 = getelementptr inbounds double, ptr %154, i64 5
  store double 0.000000e+00, ptr %155, align 8, !tbaa !11
  %156 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %157 = load ptr, ptr %156, align 8, !tbaa !15
  %158 = getelementptr inbounds double, ptr %157, i64 6
  store double 0.000000e+00, ptr %158, align 8, !tbaa !11
  %159 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !15
  %161 = getelementptr inbounds double, ptr %160, i64 7
  store double 0.000000e+00, ptr %161, align 8, !tbaa !11
  %162 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %163 = load ptr, ptr %162, align 8, !tbaa !15
  %164 = getelementptr inbounds double, ptr %163, i64 8
  store double 0.000000e+00, ptr %164, align 8, !tbaa !11
  %165 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !15
  %167 = getelementptr inbounds double, ptr %166, i64 9
  store double 0.000000e+00, ptr %167, align 8, !tbaa !11
  %168 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %6, i64 noundef 10, i64 noundef 3, ptr noundef %168)
  %169 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %170 = trunc i8 %169 to i1
  br i1 %170, label %183, label %171

171:                                              ; preds = %124
  %172 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %173 = load ptr, ptr %172, align 8, !tbaa !15
  %174 = getelementptr inbounds double, ptr %173, i64 0
  %175 = load double, ptr %174, align 8, !tbaa !11
  %176 = load ptr, ptr %4, align 8, !tbaa !9
  %177 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %176)
  %178 = fsub double %175, %177
  %179 = load ptr, ptr %4, align 8, !tbaa !9
  %180 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %178, ptr noundef %179)
  %181 = load double, ptr %9, align 8, !tbaa !11
  %182 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %180, double noundef %181)
  br label %183

183:                                              ; preds = %171, %124
  %184 = phi i1 [ true, %124 ], [ %182, %171 ]
  %185 = zext i1 %184 to i8
  store i8 %185, ptr %8, align 1, !tbaa !5
  %186 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %187 = trunc i8 %186 to i1
  br i1 %187, label %204, label %188

188:                                              ; preds = %183
  %189 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %190 = load ptr, ptr %189, align 8, !tbaa !15
  %191 = getelementptr inbounds double, ptr %190, i64 1
  %192 = load double, ptr %191, align 8, !tbaa !11
  %193 = load ptr, ptr %4, align 8, !tbaa !9
  %194 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %193)
  %195 = load ptr, ptr %4, align 8, !tbaa !9
  %196 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %195)
  %197 = fadd double %194, %196
  %198 = fdiv double %197, 2.000000e+00
  %199 = fsub double %192, %198
  %200 = load ptr, ptr %4, align 8, !tbaa !9
  %201 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %199, ptr noundef %200)
  %202 = load double, ptr %9, align 8, !tbaa !11
  %203 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %201, double noundef %202)
  br label %204

204:                                              ; preds = %188, %183
  %205 = phi i1 [ true, %183 ], [ %203, %188 ]
  %206 = zext i1 %205 to i8
  store i8 %206, ptr %8, align 1, !tbaa !5
  %207 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %208 = trunc i8 %207 to i1
  br i1 %208, label %228, label %209

209:                                              ; preds = %204
  %210 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %211 = load ptr, ptr %210, align 8, !tbaa !15
  %212 = getelementptr inbounds double, ptr %211, i64 2
  %213 = load double, ptr %212, align 8, !tbaa !11
  %214 = load ptr, ptr %4, align 8, !tbaa !9
  %215 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %214)
  %216 = load ptr, ptr %4, align 8, !tbaa !9
  %217 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %216)
  %218 = fadd double %215, %217
  %219 = load ptr, ptr %4, align 8, !tbaa !9
  %220 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %219)
  %221 = fadd double %218, %220
  %222 = fdiv double %221, 3.000000e+00
  %223 = fsub double %213, %222
  %224 = load ptr, ptr %4, align 8, !tbaa !9
  %225 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %223, ptr noundef %224)
  %226 = load double, ptr %9, align 8, !tbaa !11
  %227 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %225, double noundef %226)
  br label %228

228:                                              ; preds = %209, %204
  %229 = phi i1 [ true, %204 ], [ %227, %209 ]
  %230 = zext i1 %229 to i8
  store i8 %230, ptr %8, align 1, !tbaa !5
  %231 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %232 = trunc i8 %231 to i1
  br i1 %232, label %252, label %233

233:                                              ; preds = %228
  %234 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %235 = load ptr, ptr %234, align 8, !tbaa !15
  %236 = getelementptr inbounds double, ptr %235, i64 3
  %237 = load double, ptr %236, align 8, !tbaa !11
  %238 = load ptr, ptr %4, align 8, !tbaa !9
  %239 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %238)
  %240 = load ptr, ptr %4, align 8, !tbaa !9
  %241 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %240)
  %242 = fadd double %239, %241
  %243 = load ptr, ptr %4, align 8, !tbaa !9
  %244 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %243)
  %245 = fadd double %242, %244
  %246 = fdiv double %245, 3.000000e+00
  %247 = fsub double %237, %246
  %248 = load ptr, ptr %4, align 8, !tbaa !9
  %249 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %247, ptr noundef %248)
  %250 = load double, ptr %9, align 8, !tbaa !11
  %251 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %249, double noundef %250)
  br label %252

252:                                              ; preds = %233, %228
  %253 = phi i1 [ true, %228 ], [ %251, %233 ]
  %254 = zext i1 %253 to i8
  store i8 %254, ptr %8, align 1, !tbaa !5
  %255 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %256 = trunc i8 %255 to i1
  br i1 %256, label %276, label %257

257:                                              ; preds = %252
  %258 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %259 = load ptr, ptr %258, align 8, !tbaa !15
  %260 = getelementptr inbounds double, ptr %259, i64 4
  %261 = load double, ptr %260, align 8, !tbaa !11
  %262 = load ptr, ptr %4, align 8, !tbaa !9
  %263 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %262)
  %264 = load ptr, ptr %4, align 8, !tbaa !9
  %265 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %264)
  %266 = fadd double %263, %265
  %267 = load ptr, ptr %4, align 8, !tbaa !9
  %268 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %267)
  %269 = fadd double %266, %268
  %270 = fdiv double %269, 3.000000e+00
  %271 = fsub double %261, %270
  %272 = load ptr, ptr %4, align 8, !tbaa !9
  %273 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %271, ptr noundef %272)
  %274 = load double, ptr %9, align 8, !tbaa !11
  %275 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %273, double noundef %274)
  br label %276

276:                                              ; preds = %257, %252
  %277 = phi i1 [ true, %252 ], [ %275, %257 ]
  %278 = zext i1 %277 to i8
  store i8 %278, ptr %8, align 1, !tbaa !5
  %279 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %280 = trunc i8 %279 to i1
  br i1 %280, label %297, label %281

281:                                              ; preds = %276
  %282 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %283 = load ptr, ptr %282, align 8, !tbaa !15
  %284 = getelementptr inbounds double, ptr %283, i64 5
  %285 = load double, ptr %284, align 8, !tbaa !11
  %286 = load ptr, ptr %4, align 8, !tbaa !9
  %287 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %286)
  %288 = load ptr, ptr %4, align 8, !tbaa !9
  %289 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %288)
  %290 = fadd double %287, %289
  %291 = fdiv double %290, 3.000000e+00
  %292 = fsub double %285, %291
  %293 = load ptr, ptr %4, align 8, !tbaa !9
  %294 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %292, ptr noundef %293)
  %295 = load double, ptr %9, align 8, !tbaa !11
  %296 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %294, double noundef %295)
  br label %297

297:                                              ; preds = %281, %276
  %298 = phi i1 [ true, %276 ], [ %296, %281 ]
  %299 = zext i1 %298 to i8
  store i8 %299, ptr %8, align 1, !tbaa !5
  %300 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %301 = trunc i8 %300 to i1
  br i1 %301, label %315, label %302

302:                                              ; preds = %297
  %303 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %304 = load ptr, ptr %303, align 8, !tbaa !15
  %305 = getelementptr inbounds double, ptr %304, i64 6
  %306 = load double, ptr %305, align 8, !tbaa !11
  %307 = load ptr, ptr %4, align 8, !tbaa !9
  %308 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %307)
  %309 = fdiv double %308, 3.000000e+00
  %310 = fsub double %306, %309
  %311 = load ptr, ptr %4, align 8, !tbaa !9
  %312 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %310, ptr noundef %311)
  %313 = load double, ptr %9, align 8, !tbaa !11
  %314 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %312, double noundef %313)
  br label %315

315:                                              ; preds = %302, %297
  %316 = phi i1 [ true, %297 ], [ %314, %302 ]
  %317 = zext i1 %316 to i8
  store i8 %317, ptr %8, align 1, !tbaa !5
  %318 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %319 = trunc i8 %318 to i1
  br i1 %319, label %326, label %320

320:                                              ; preds = %315
  %321 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %322 = load ptr, ptr %321, align 8, !tbaa !15
  %323 = getelementptr inbounds double, ptr %322, i64 7
  %324 = load double, ptr %323, align 8, !tbaa !11
  %325 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %324, double noundef 0.000000e+00)
  br label %326

326:                                              ; preds = %320, %315
  %327 = phi i1 [ true, %315 ], [ %325, %320 ]
  %328 = zext i1 %327 to i8
  store i8 %328, ptr %8, align 1, !tbaa !5
  %329 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %330 = trunc i8 %329 to i1
  br i1 %330, label %337, label %331

331:                                              ; preds = %326
  %332 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %333 = load ptr, ptr %332, align 8, !tbaa !15
  %334 = getelementptr inbounds double, ptr %333, i64 8
  %335 = load double, ptr %334, align 8, !tbaa !11
  %336 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %335, double noundef 0.000000e+00)
  br label %337

337:                                              ; preds = %331, %326
  %338 = phi i1 [ true, %326 ], [ %336, %331 ]
  %339 = zext i1 %338 to i8
  store i8 %339, ptr %8, align 1, !tbaa !5
  %340 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %341 = trunc i8 %340 to i1
  br i1 %341, label %348, label %342

342:                                              ; preds = %337
  %343 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %344 = load ptr, ptr %343, align 8, !tbaa !15
  %345 = getelementptr inbounds double, ptr %344, i64 9
  %346 = load double, ptr %345, align 8, !tbaa !11
  %347 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %346, double noundef 0.000000e+00)
  br label %348

348:                                              ; preds = %342, %337
  %349 = phi i1 [ true, %337 ], [ %347, %342 ]
  %350 = zext i1 %349 to i8
  store i8 %350, ptr %8, align 1, !tbaa !5
  %351 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %352 = load ptr, ptr %351, align 8, !tbaa !15
  %353 = getelementptr inbounds double, ptr %352, i64 0
  store double 0.000000e+00, ptr %353, align 8, !tbaa !11
  %354 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %355 = load ptr, ptr %354, align 8, !tbaa !15
  %356 = getelementptr inbounds double, ptr %355, i64 1
  store double 0.000000e+00, ptr %356, align 8, !tbaa !11
  %357 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %358 = load ptr, ptr %357, align 8, !tbaa !15
  %359 = getelementptr inbounds double, ptr %358, i64 2
  store double 0.000000e+00, ptr %359, align 8, !tbaa !11
  %360 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %361 = load ptr, ptr %360, align 8, !tbaa !15
  %362 = getelementptr inbounds double, ptr %361, i64 3
  store double 0.000000e+00, ptr %362, align 8, !tbaa !11
  %363 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %364 = load ptr, ptr %363, align 8, !tbaa !15
  %365 = getelementptr inbounds double, ptr %364, i64 4
  store double 0.000000e+00, ptr %365, align 8, !tbaa !11
  %366 = load ptr, ptr %4, align 8, !tbaa !9
  %367 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %366)
  %368 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %369 = load ptr, ptr %368, align 8, !tbaa !15
  %370 = getelementptr inbounds double, ptr %369, i64 5
  store double %367, ptr %370, align 8, !tbaa !11
  %371 = load ptr, ptr %4, align 8, !tbaa !9
  %372 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %371)
  %373 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %374 = load ptr, ptr %373, align 8, !tbaa !15
  %375 = getelementptr inbounds double, ptr %374, i64 6
  store double %372, ptr %375, align 8, !tbaa !11
  %376 = load ptr, ptr %4, align 8, !tbaa !9
  %377 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %376)
  %378 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %379 = load ptr, ptr %378, align 8, !tbaa !15
  %380 = getelementptr inbounds double, ptr %379, i64 7
  store double %377, ptr %380, align 8, !tbaa !11
  %381 = load ptr, ptr %4, align 8, !tbaa !9
  %382 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %381)
  %383 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %384 = load ptr, ptr %383, align 8, !tbaa !15
  %385 = getelementptr inbounds double, ptr %384, i64 8
  store double %382, ptr %385, align 8, !tbaa !11
  %386 = load ptr, ptr %4, align 8, !tbaa !9
  %387 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %386)
  %388 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %389 = load ptr, ptr %388, align 8, !tbaa !15
  %390 = getelementptr inbounds double, ptr %389, i64 9
  store double %387, ptr %390, align 8, !tbaa !11
  %391 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %6, i64 noundef 10, i64 noundef 3, ptr noundef %391)
  %392 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %393 = trunc i8 %392 to i1
  br i1 %393, label %400, label %394

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

400:                                              ; preds = %394, %348
  %401 = phi i1 [ true, %348 ], [ %399, %394 ]
  %402 = zext i1 %401 to i8
  store i8 %402, ptr %8, align 1, !tbaa !5
  %403 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %404 = trunc i8 %403 to i1
  br i1 %404, label %411, label %405

405:                                              ; preds = %400
  %406 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %407 = load ptr, ptr %406, align 8, !tbaa !15
  %408 = getelementptr inbounds double, ptr %407, i64 1
  %409 = load double, ptr %408, align 8, !tbaa !11
  %410 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %409, double noundef 0.000000e+00)
  br label %411

411:                                              ; preds = %405, %400
  %412 = phi i1 [ true, %400 ], [ %410, %405 ]
  %413 = zext i1 %412 to i8
  store i8 %413, ptr %8, align 1, !tbaa !5
  %414 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %415 = trunc i8 %414 to i1
  br i1 %415, label %422, label %416

416:                                              ; preds = %411
  %417 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %418 = load ptr, ptr %417, align 8, !tbaa !15
  %419 = getelementptr inbounds double, ptr %418, i64 2
  %420 = load double, ptr %419, align 8, !tbaa !11
  %421 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %420, double noundef 0.000000e+00)
  br label %422

422:                                              ; preds = %416, %411
  %423 = phi i1 [ true, %411 ], [ %421, %416 ]
  %424 = zext i1 %423 to i8
  store i8 %424, ptr %8, align 1, !tbaa !5
  %425 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %426 = trunc i8 %425 to i1
  br i1 %426, label %433, label %427

427:                                              ; preds = %422
  %428 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %429 = load ptr, ptr %428, align 8, !tbaa !15
  %430 = getelementptr inbounds double, ptr %429, i64 3
  %431 = load double, ptr %430, align 8, !tbaa !11
  %432 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %431, double noundef 0.000000e+00)
  br label %433

433:                                              ; preds = %427, %422
  %434 = phi i1 [ true, %422 ], [ %432, %427 ]
  %435 = zext i1 %434 to i8
  store i8 %435, ptr %8, align 1, !tbaa !5
  %436 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %437 = trunc i8 %436 to i1
  br i1 %437, label %444, label %438

438:                                              ; preds = %433
  %439 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %440 = load ptr, ptr %439, align 8, !tbaa !15
  %441 = getelementptr inbounds double, ptr %440, i64 4
  %442 = load double, ptr %441, align 8, !tbaa !11
  %443 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %442, double noundef 0.000000e+00)
  br label %444

444:                                              ; preds = %438, %433
  %445 = phi i1 [ true, %433 ], [ %443, %438 ]
  %446 = zext i1 %445 to i8
  store i8 %446, ptr %8, align 1, !tbaa !5
  %447 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %448 = trunc i8 %447 to i1
  br i1 %448, label %462, label %449

449:                                              ; preds = %444
  %450 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %451 = load ptr, ptr %450, align 8, !tbaa !15
  %452 = getelementptr inbounds double, ptr %451, i64 5
  %453 = load double, ptr %452, align 8, !tbaa !11
  %454 = load ptr, ptr %4, align 8, !tbaa !9
  %455 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %454)
  %456 = fdiv double %455, 3.000000e+00
  %457 = fsub double %453, %456
  %458 = load ptr, ptr %4, align 8, !tbaa !9
  %459 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %457, ptr noundef %458)
  %460 = load double, ptr %9, align 8, !tbaa !11
  %461 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %459, double noundef %460)
  br label %462

462:                                              ; preds = %449, %444
  %463 = phi i1 [ true, %444 ], [ %461, %449 ]
  %464 = zext i1 %463 to i8
  store i8 %464, ptr %8, align 1, !tbaa !5
  %465 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %466 = trunc i8 %465 to i1
  br i1 %466, label %483, label %467

467:                                              ; preds = %462
  %468 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %469 = load ptr, ptr %468, align 8, !tbaa !15
  %470 = getelementptr inbounds double, ptr %469, i64 6
  %471 = load double, ptr %470, align 8, !tbaa !11
  %472 = load ptr, ptr %4, align 8, !tbaa !9
  %473 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %472)
  %474 = load ptr, ptr %4, align 8, !tbaa !9
  %475 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %474)
  %476 = fadd double %473, %475
  %477 = fdiv double %476, 3.000000e+00
  %478 = fsub double %471, %477
  %479 = load ptr, ptr %4, align 8, !tbaa !9
  %480 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %478, ptr noundef %479)
  %481 = load double, ptr %9, align 8, !tbaa !11
  %482 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %480, double noundef %481)
  br label %483

483:                                              ; preds = %467, %462
  %484 = phi i1 [ true, %462 ], [ %482, %467 ]
  %485 = zext i1 %484 to i8
  store i8 %485, ptr %8, align 1, !tbaa !5
  %486 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %487 = trunc i8 %486 to i1
  br i1 %487, label %507, label %488

488:                                              ; preds = %483
  %489 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %490 = load ptr, ptr %489, align 8, !tbaa !15
  %491 = getelementptr inbounds double, ptr %490, i64 7
  %492 = load double, ptr %491, align 8, !tbaa !11
  %493 = load ptr, ptr %4, align 8, !tbaa !9
  %494 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %493)
  %495 = load ptr, ptr %4, align 8, !tbaa !9
  %496 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %495)
  %497 = fadd double %494, %496
  %498 = load ptr, ptr %4, align 8, !tbaa !9
  %499 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %498)
  %500 = fadd double %497, %499
  %501 = fdiv double %500, 3.000000e+00
  %502 = fsub double %492, %501
  %503 = load ptr, ptr %4, align 8, !tbaa !9
  %504 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %502, ptr noundef %503)
  %505 = load double, ptr %9, align 8, !tbaa !11
  %506 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %504, double noundef %505)
  br label %507

507:                                              ; preds = %488, %483
  %508 = phi i1 [ true, %483 ], [ %506, %488 ]
  %509 = zext i1 %508 to i8
  store i8 %509, ptr %8, align 1, !tbaa !5
  %510 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %511 = trunc i8 %510 to i1
  br i1 %511, label %531, label %512

512:                                              ; preds = %507
  %513 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %514 = load ptr, ptr %513, align 8, !tbaa !15
  %515 = getelementptr inbounds double, ptr %514, i64 8
  %516 = load double, ptr %515, align 8, !tbaa !11
  %517 = load ptr, ptr %4, align 8, !tbaa !9
  %518 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %517)
  %519 = load ptr, ptr %4, align 8, !tbaa !9
  %520 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %519)
  %521 = fadd double %518, %520
  %522 = load ptr, ptr %4, align 8, !tbaa !9
  %523 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %522)
  %524 = fadd double %521, %523
  %525 = fdiv double %524, 3.000000e+00
  %526 = fsub double %516, %525
  %527 = load ptr, ptr %4, align 8, !tbaa !9
  %528 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %526, ptr noundef %527)
  %529 = load double, ptr %9, align 8, !tbaa !11
  %530 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %528, double noundef %529)
  br label %531

531:                                              ; preds = %512, %507
  %532 = phi i1 [ true, %507 ], [ %530, %512 ]
  %533 = zext i1 %532 to i8
  store i8 %533, ptr %8, align 1, !tbaa !5
  %534 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %535 = trunc i8 %534 to i1
  br i1 %535, label %555, label %536

536:                                              ; preds = %531
  %537 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %538 = load ptr, ptr %537, align 8, !tbaa !15
  %539 = getelementptr inbounds double, ptr %538, i64 9
  %540 = load double, ptr %539, align 8, !tbaa !11
  %541 = load ptr, ptr %4, align 8, !tbaa !9
  %542 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %541)
  %543 = load ptr, ptr %4, align 8, !tbaa !9
  %544 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %543)
  %545 = fadd double %542, %544
  %546 = load ptr, ptr %4, align 8, !tbaa !9
  %547 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %546)
  %548 = fadd double %545, %547
  %549 = fdiv double %548, 3.000000e+00
  %550 = fsub double %540, %549
  %551 = load ptr, ptr %4, align 8, !tbaa !9
  %552 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %550, ptr noundef %551)
  %553 = load double, ptr %9, align 8, !tbaa !11
  %554 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %552, double noundef %553)
  br label %555

555:                                              ; preds = %536, %531
  %556 = phi i1 [ true, %531 ], [ %554, %536 ]
  %557 = zext i1 %556 to i8
  store i8 %557, ptr %8, align 1, !tbaa !5
  %558 = load i8, ptr %7, align 1, !tbaa !5, !range !13, !noundef !14
  %559 = trunc i8 %558 to i1
  br i1 %559, label %563, label %560

560:                                              ; preds = %555
  %561 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %562 = trunc i8 %561 to i1
  br label %563

563:                                              ; preds = %560, %555
  %564 = phi i1 [ true, %555 ], [ %562, %560 ]
  %565 = zext i1 %564 to i8
  store i8 %565, ptr %10, align 1, !tbaa !5
  %566 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %566)
  %567 = load i8, ptr %10, align 1, !tbaa !5, !range !13, !noundef !14
  %568 = trunc i8 %567 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #4
  ret i1 %568
}

declare void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!7, !7, i64 0}


; 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.546 = external hidden unnamed_addr constant [13 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 zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double 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_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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z7testsmabPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #4 {
  %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) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #5
  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)
  br i1 %0, label %7, label %5

5:                                                ; preds = %2
  %6 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.546)
  br label %7

7:                                                ; preds = %5, %2
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 1, ptr noundef %1)
  %8 = getelementptr inbounds i8, ptr %4, i64 56
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  store double 7.000000e+00, ptr %9, align 8, !tbaa !8
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 1, i64 noundef 1, ptr noundef %1)
  %10 = load ptr, ptr %8, align 8, !tbaa !5
  %11 = load double, ptr %10, align 8, !tbaa !8
  %12 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %11, double noundef 7.000000e+00)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, ptr noundef %1)
  %13 = load ptr, ptr %8, align 8, !tbaa !5
  store double 7.000000e+00, ptr %13, align 8, !tbaa !8
  %14 = load ptr, ptr %8, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  store double 8.000000e+00, ptr %15, align 8, !tbaa !8
  %16 = load ptr, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  store double 9.000000e+00, ptr %17, align 8, !tbaa !8
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, i64 noundef 1, ptr noundef %1)
  br i1 %12, label %.critedge, label %18

18:                                               ; preds = %7
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load double, ptr %19, align 8, !tbaa !8
  %21 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %20, double noundef 7.000000e+00)
  br i1 %21, label %.critedge, label %22

22:                                               ; preds = %18
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load double, ptr %24, align 8, !tbaa !8
  %26 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %25, double noundef 8.000000e+00)
  br i1 %26, label %.critedge, label %27

27:                                               ; preds = %22
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %30 = load double, ptr %29, align 8, !tbaa !8
  %31 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %30, double noundef 9.000000e+00)
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, i64 noundef 2, ptr noundef %1)
  br i1 %31, label %.critedge102, label %32

32:                                               ; preds = %27
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = load double, ptr %33, align 8, !tbaa !8
  %35 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %34, double noundef 7.000000e+00)
  br i1 %35, label %.critedge102, label %36

36:                                               ; preds = %32
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 8
  %39 = load double, ptr %38, align 8, !tbaa !8
  %40 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %39, double noundef 7.500000e+00)
  br i1 %40, label %.critedge102, label %41

41:                                               ; preds = %36
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %44 = load double, ptr %43, align 8, !tbaa !8
  %45 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %44, double noundef 8.500000e+00)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, ptr noundef %1)
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  store double 7.000000e+00, ptr %46, align 8, !tbaa !8
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  store double 8.000000e+00, ptr %48, align 8, !tbaa !8
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 16
  store double 9.000000e+00, ptr %50, align 8, !tbaa !8
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, i64 noundef 4, ptr noundef %1)
  br i1 %45, label %70, label %51

.critedge:                                        ; preds = %7, %18, %22
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, i64 noundef 2, ptr noundef %1)
  br label %.critedge102

51:                                               ; preds = %41
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = load double, ptr %52, align 8, !tbaa !8
  %54 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %53, double noundef 7.000000e+00)
  br i1 %54, label %70, label %55

55:                                               ; preds = %51
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  %58 = load double, ptr %57, align 8, !tbaa !8
  %59 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %58, double noundef 7.500000e+00)
  br i1 %59, label %70, label %60

60:                                               ; preds = %55
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %63 = load double, ptr %62, align 8, !tbaa !8
  %64 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %63, double noundef 8.000000e+00)
  br label %70

.critedge102:                                     ; preds = %.critedge, %27, %32, %36
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, ptr noundef %1)
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  store double 7.000000e+00, ptr %65, align 8, !tbaa !8
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  store double 8.000000e+00, ptr %67, align 8, !tbaa !8
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  store double 9.000000e+00, ptr %69, align 8, !tbaa !8
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 3, i64 noundef 4, ptr noundef %1)
  br label %70

70:                                               ; preds = %.critedge102, %60, %55, %51, %41
  %71 = phi i1 [ true, %55 ], [ true, %51 ], [ true, %41 ], [ %64, %60 ], [ true, %.critedge102 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 10, ptr noundef %1)
  %72 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  store double %72, ptr %73, align 8, !tbaa !8
  %74 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  store double %74, ptr %76, align 8, !tbaa !8
  %77 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 16
  store double %77, ptr %79, align 8, !tbaa !8
  %80 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %1)
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 24
  store double %80, ptr %82, align 8, !tbaa !8
  %83 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %1)
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 32
  store double %83, ptr %85, align 8, !tbaa !8
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %86, i64 40
  store double 0.000000e+00, ptr %87, align 8, !tbaa !8
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i64 48
  store double 0.000000e+00, ptr %89, align 8, !tbaa !8
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 56
  store double 0.000000e+00, ptr %91, align 8, !tbaa !8
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 64
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %93, i8 0, i64 16, i1 false)
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 10, i64 noundef 3, ptr noundef %1)
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = load double, ptr %94, align 8, !tbaa !8
  %96 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %97 = fsub double %95, %96
  %98 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %97, ptr noundef %1)
  %99 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %98, double noundef 5.000000e-13)
  br i1 %99, label %.critedge111, label %100

100:                                              ; preds = %70
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i64 8
  %103 = load double, ptr %102, align 8, !tbaa !8
  %104 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %105 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %106 = fadd double %104, %105
  %107 = fmul double %106, 5.000000e-01
  %108 = fsub double %103, %107
  %109 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %108, ptr noundef %1)
  %110 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %109, double noundef 5.000000e-13)
  br i1 %110, label %.critedge111, label %.critedge104

.critedge104:                                     ; preds = %100
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %111, i64 16
  %113 = load double, ptr %112, align 8, !tbaa !8
  %114 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %115 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %116 = fadd double %114, %115
  %117 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %118 = fadd double %116, %117
  %119 = fdiv double %118, 3.000000e+00
  %120 = fsub double %113, %119
  %121 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %120, ptr noundef %1)
  %122 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %121, double noundef 5.000000e-13)
  br i1 %122, label %.critedge111, label %.critedge105

.critedge105:                                     ; preds = %.critedge104
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %123, i64 24
  %125 = load double, ptr %124, align 8, !tbaa !8
  %126 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %127 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %128 = fadd double %126, %127
  %129 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %1)
  %130 = fadd double %128, %129
  %131 = fdiv double %130, 3.000000e+00
  %132 = fsub double %125, %131
  %133 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %132, ptr noundef %1)
  %134 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %133, double noundef 5.000000e-13)
  br i1 %134, label %.critedge111, label %.critedge106

.critedge106:                                     ; preds = %.critedge105
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i64 32
  %137 = load double, ptr %136, align 8, !tbaa !8
  %138 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %139 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %1)
  %140 = fadd double %138, %139
  %141 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %1)
  %142 = fadd double %140, %141
  %143 = fdiv double %142, 3.000000e+00
  %144 = fsub double %137, %143
  %145 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %144, ptr noundef %1)
  %146 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %145, double noundef 5.000000e-13)
  br i1 %146, label %.critedge111, label %.critedge107

.critedge107:                                     ; preds = %.critedge106
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %147, i64 40
  %149 = load double, ptr %148, align 8, !tbaa !8
  %150 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %1)
  %151 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %1)
  %152 = fadd double %150, %151
  %153 = fdiv double %152, 3.000000e+00
  %154 = fsub double %149, %153
  %155 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %154, ptr noundef %1)
  %156 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %155, double noundef 5.000000e-13)
  br i1 %156, label %.critedge111, label %.critedge108

.critedge108:                                     ; preds = %.critedge107
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = getelementptr inbounds i8, ptr %157, i64 48
  %159 = load double, ptr %158, align 8, !tbaa !8
  %160 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %1)
  %161 = fdiv double %160, 3.000000e+00
  %162 = fsub double %159, %161
  %163 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %162, ptr noundef %1)
  %164 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %163, double noundef 5.000000e-13)
  br i1 %164, label %.critedge111, label %.critedge109

.critedge109:                                     ; preds = %.critedge108
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %165, i64 56
  %167 = load double, ptr %166, align 8, !tbaa !8
  %168 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %167, double noundef 0.000000e+00)
  br i1 %168, label %.critedge111, label %.critedge110

.critedge110:                                     ; preds = %.critedge109
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds i8, ptr %169, i64 64
  %171 = load double, ptr %170, align 8, !tbaa !8
  %172 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %171, double noundef 0.000000e+00)
  br i1 %172, label %.critedge111, label %173

173:                                              ; preds = %.critedge110
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %174, i64 72
  %176 = load double, ptr %175, align 8, !tbaa !8
  %177 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %176, double noundef 0.000000e+00)
  br label %.critedge111

.critedge111:                                     ; preds = %.critedge109, %.critedge107, %.critedge105, %100, %70, %.critedge104, %.critedge106, %.critedge108, %173, %.critedge110
  %178 = phi i1 [ true, %.critedge110 ], [ %177, %173 ], [ true, %.critedge108 ], [ true, %.critedge106 ], [ true, %.critedge104 ], [ true, %70 ], [ true, %100 ], [ true, %.critedge105 ], [ true, %.critedge107 ], [ true, %.critedge109 ]
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  store double 0.000000e+00, ptr %179, align 8, !tbaa !8
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %180, i64 8
  store double 0.000000e+00, ptr %181, align 8, !tbaa !8
  %182 = load ptr, ptr %8, align 8, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %182, i64 16
  store double 0.000000e+00, ptr %183, align 8, !tbaa !8
  %184 = load ptr, ptr %8, align 8, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %184, i64 24
  store double 0.000000e+00, ptr %185, align 8, !tbaa !8
  %186 = load ptr, ptr %8, align 8, !tbaa !5
  %187 = getelementptr inbounds i8, ptr %186, i64 32
  store double 0.000000e+00, ptr %187, align 8, !tbaa !8
  %188 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = getelementptr inbounds i8, ptr %189, i64 40
  store double %188, ptr %190, align 8, !tbaa !8
  %191 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = getelementptr inbounds i8, ptr %192, i64 48
  store double %191, ptr %193, align 8, !tbaa !8
  %194 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = getelementptr inbounds i8, ptr %195, i64 56
  store double %194, ptr %196, align 8, !tbaa !8
  %197 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %1)
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = getelementptr inbounds i8, ptr %198, i64 64
  store double %197, ptr %199, align 8, !tbaa !8
  %200 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %1)
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = getelementptr inbounds i8, ptr %201, i64 72
  store double %200, ptr %202, align 8, !tbaa !8
  call void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 10, i64 noundef 3, ptr noundef %1)
  br i1 %178, label %.critedge121, label %203

203:                                              ; preds = %.critedge111
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = load double, ptr %204, align 8, !tbaa !8
  %206 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %205, double noundef 0.000000e+00)
  br i1 %206, label %.critedge121, label %.critedge113

.critedge113:                                     ; preds = %203
  %207 = load ptr, ptr %8, align 8, !tbaa !5
  %208 = getelementptr inbounds i8, ptr %207, i64 8
  %209 = load double, ptr %208, align 8, !tbaa !8
  %210 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %209, double noundef 0.000000e+00)
  br i1 %210, label %.critedge121, label %.critedge114

.critedge114:                                     ; preds = %.critedge113
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = getelementptr inbounds i8, ptr %211, i64 16
  %213 = load double, ptr %212, align 8, !tbaa !8
  %214 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %213, double noundef 0.000000e+00)
  br i1 %214, label %.critedge121, label %.critedge115

.critedge115:                                     ; preds = %.critedge114
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds i8, ptr %215, i64 24
  %217 = load double, ptr %216, align 8, !tbaa !8
  %218 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %217, double noundef 0.000000e+00)
  br i1 %218, label %.critedge121, label %.critedge116

.critedge116:                                     ; preds = %.critedge115
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = getelementptr inbounds i8, ptr %219, i64 32
  %221 = load double, ptr %220, align 8, !tbaa !8
  %222 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %221, double noundef 0.000000e+00)
  br i1 %222, label %.critedge121, label %.critedge117

.critedge117:                                     ; preds = %.critedge116
  %223 = load ptr, ptr %8, align 8, !tbaa !5
  %224 = getelementptr inbounds i8, ptr %223, i64 40
  %225 = load double, ptr %224, align 8, !tbaa !8
  %226 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %227 = fdiv double %226, 3.000000e+00
  %228 = fsub double %225, %227
  %229 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %228, ptr noundef %1)
  %230 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %229, double noundef 5.000000e-13)
  br i1 %230, label %.critedge121, label %.critedge118

.critedge118:                                     ; preds = %.critedge117
  %231 = load ptr, ptr %8, align 8, !tbaa !5
  %232 = getelementptr inbounds i8, ptr %231, i64 48
  %233 = load double, ptr %232, align 8, !tbaa !8
  %234 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %235 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %236 = fadd double %234, %235
  %237 = fdiv double %236, 3.000000e+00
  %238 = fsub double %233, %237
  %239 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %238, ptr noundef %1)
  %240 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %239, double noundef 5.000000e-13)
  br i1 %240, label %.critedge121, label %.critedge119

.critedge119:                                     ; preds = %.critedge118
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = getelementptr inbounds i8, ptr %241, i64 56
  %243 = load double, ptr %242, align 8, !tbaa !8
  %244 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 2.000000e+00, ptr noundef %1)
  %245 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %246 = fadd double %244, %245
  %247 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %248 = fadd double %246, %247
  %249 = fdiv double %248, 3.000000e+00
  %250 = fsub double %243, %249
  %251 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %250, ptr noundef %1)
  %252 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %251, double noundef 5.000000e-13)
  br i1 %252, label %.critedge121, label %.critedge120

.critedge120:                                     ; preds = %.critedge119
  %253 = load ptr, ptr %8, align 8, !tbaa !5
  %254 = getelementptr inbounds i8, ptr %253, i64 64
  %255 = load double, ptr %254, align 8, !tbaa !8
  %256 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 3.000000e+00, ptr noundef %1)
  %257 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %258 = fadd double %256, %257
  %259 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %1)
  %260 = fadd double %258, %259
  %261 = fdiv double %260, 3.000000e+00
  %262 = fsub double %255, %261
  %263 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %262, ptr noundef %1)
  %264 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %263, double noundef 5.000000e-13)
  br i1 %264, label %.critedge121, label %265

265:                                              ; preds = %.critedge120
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  %267 = getelementptr inbounds i8, ptr %266, i64 72
  %268 = load double, ptr %267, align 8, !tbaa !8
  %269 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 5.000000e+00, ptr noundef %1)
  %270 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 6.000000e+00, ptr noundef %1)
  %271 = fadd double %269, %270
  %272 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 7.000000e+00, ptr noundef %1)
  %273 = fadd double %271, %272
  %274 = fdiv double %273, 3.000000e+00
  %275 = fsub double %268, %274
  %276 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %275, ptr noundef %1)
  %277 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %276, double noundef 5.000000e-13)
  br label %.critedge121

.critedge121:                                     ; preds = %.critedge119, %.critedge117, %.critedge115, %.critedge113, %.critedge111, %203, %.critedge114, %.critedge116, %.critedge118, %265, %.critedge120
  %278 = phi i1 [ true, %.critedge120 ], [ %277, %265 ], [ true, %.critedge118 ], [ true, %.critedge116 ], [ true, %.critedge114 ], [ true, %203 ], [ true, %.critedge111 ], [ true, %.critedge113 ], [ true, %.critedge115 ], [ true, %.critedge117 ], [ true, %.critedge119 ]
  %279 = or i1 %71, %278
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret i1 %279
}

declare void @_ZN11alglib_impl9filtersmaEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 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 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"double", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass