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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl13gqgeneraterecEPNS_9ae_vectorES1_dlPlS1_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, double noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

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

53:                                               ; preds = %9
  %54 = load i64, ptr %13, align 8, !tbaa !11
  %55 = icmp slt i64 %54, 3
  br i1 %55, label %56, label %59

56:                                               ; preds = %53, %9
  %57 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 -1, ptr %57, align 8, !tbaa !11
  %58 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %58)
  store i32 1, ptr %35, align 4
  br label %758

59:                                               ; preds = %53
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %60

60:                                               ; preds = %82, %59
  %61 = load i64, ptr %23, align 8, !tbaa !11
  %62 = load i64, ptr %13, align 8, !tbaa !11
  %63 = sdiv i64 %62, 2
  %64 = mul nsw i64 3, %63
  %65 = sitofp i64 %64 to double
  %66 = fdiv double %65, 2.000000e+00
  %67 = load ptr, ptr %18, align 8, !tbaa !5
  %68 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %66, ptr noundef %67)
  %69 = icmp sle i64 %61, %68
  br i1 %69, label %70, label %85

70:                                               ; preds = %60
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %71, i32 0, i32 4
  %73 = load ptr, ptr %72, align 8, !tbaa !13
  %74 = load i64, ptr %23, align 8, !tbaa !11
  %75 = getelementptr inbounds double, ptr %73, i64 %74
  %76 = load double, ptr %75, align 8, !tbaa !9
  %77 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %76, double noundef 0.000000e+00)
  br i1 %77, label %78, label %81

78:                                               ; preds = %70
  %79 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 -2, ptr %79, align 8, !tbaa !11
  %80 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %80)
  store i32 1, ptr %35, align 4
  br label %758

81:                                               ; preds = %70
  br label %82

82:                                               ; preds = %81
  %83 = load i64, ptr %23, align 8, !tbaa !11
  %84 = add nsw i64 %83, 1
  store i64 %84, ptr %23, align 8, !tbaa !11
  br label %60, !llvm.loop !14

85:                                               ; preds = %60
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 1, ptr %86, align 8, !tbaa !11
  %87 = load i64, ptr %13, align 8, !tbaa !11
  %88 = sdiv i64 %87, 2
  store i64 %88, ptr %13, align 8, !tbaa !11
  %89 = load double, ptr %12, align 8, !tbaa !9
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %90, i32 0, i32 4
  %92 = load ptr, ptr %91, align 8, !tbaa !13
  %93 = getelementptr inbounds double, ptr %92, i64 0
  store double %89, ptr %93, align 8, !tbaa !9
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = load double, ptr %12, align 8, !tbaa !9
  %97 = load i64, ptr %13, align 8, !tbaa !11
  %98 = load ptr, ptr %14, align 8, !tbaa !5
  %99 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl13gqgeneraterecEPNS_9ae_vectorES1_dlPlS1_S1_PNS_8ae_stateE(ptr noundef %94, ptr noundef %95, double noundef %96, i64 noundef %97, ptr noundef %98, ptr noundef %33, ptr noundef %34, ptr noundef %99)
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = load i64, ptr %100, align 8, !tbaa !11
  %102 = icmp slt i64 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %85
  %104 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %104)
  store i32 1, ptr %35, align 4
  br label %758

105:                                              ; preds = %85
  %106 = load i64, ptr %13, align 8, !tbaa !11
  %107 = mul nsw i64 3, %106
  %108 = sitofp i64 %107 to double
  %109 = fdiv double %108, 2.000000e+00
  %110 = load ptr, ptr %18, align 8, !tbaa !5
  %111 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %109, ptr noundef %110)
  %112 = add nsw i64 %111, 1
  %113 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %112, ptr noundef %113)
  %114 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %115 = load ptr, ptr %114, align 8, !tbaa !13
  %116 = getelementptr inbounds double, ptr %115, i64 0
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %117, i32 0, i32 4
  %119 = load ptr, ptr %118, align 8, !tbaa !13
  %120 = getelementptr inbounds double, ptr %119, i64 0
  %121 = load i64, ptr %13, align 8, !tbaa !11
  %122 = mul nsw i64 3, %121
  %123 = sitofp i64 %122 to double
  %124 = fdiv double %123, 2.000000e+00
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  %126 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %124, ptr noundef %125)
  %127 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %126)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %116, i64 noundef 1, ptr noundef %120, i64 noundef 1, i64 noundef %127)
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = load i64, ptr %13, align 8, !tbaa !11
  %130 = mul nsw i64 2, %129
  %131 = add nsw i64 %130, 1
  %132 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %128, i64 noundef %131, ptr noundef %132)
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %133, i32 0, i32 4
  %135 = load ptr, ptr %134, align 8, !tbaa !13
  %136 = getelementptr inbounds double, ptr %135, i64 0
  %137 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %138 = load ptr, ptr %137, align 8, !tbaa !13
  %139 = getelementptr inbounds double, ptr %138, i64 0
  %140 = load i64, ptr %13, align 8, !tbaa !11
  %141 = mul nsw i64 3, %140
  %142 = sitofp i64 %141 to double
  %143 = fdiv double %142, 2.000000e+00
  %144 = load ptr, ptr %18, align 8, !tbaa !5
  %145 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %143, ptr noundef %144)
  %146 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %145)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %136, i64 noundef 1, ptr noundef %139, i64 noundef 1, i64 noundef %146)
  %147 = load i64, ptr %13, align 8, !tbaa !11
  %148 = mul nsw i64 3, %147
  %149 = sitofp i64 %148 to double
  %150 = fdiv double %149, 2.000000e+00
  %151 = load ptr, ptr %18, align 8, !tbaa !5
  %152 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %150, ptr noundef %151)
  %153 = add nsw i64 %152, 1
  store i64 %153, ptr %23, align 8, !tbaa !11
  br label %154

154:                                              ; preds = %165, %105
  %155 = load i64, ptr %23, align 8, !tbaa !11
  %156 = load i64, ptr %13, align 8, !tbaa !11
  %157 = mul nsw i64 2, %156
  %158 = icmp sle i64 %155, %157
  br i1 %158, label %159, label %168

159:                                              ; preds = %154
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %160, i32 0, i32 4
  %162 = load ptr, ptr %161, align 8, !tbaa !13
  %163 = load i64, ptr %23, align 8, !tbaa !11
  %164 = getelementptr inbounds double, ptr %162, i64 %163
  store double 0.000000e+00, ptr %164, align 8, !tbaa !9
  br label %165

165:                                              ; preds = %159
  %166 = load i64, ptr %23, align 8, !tbaa !11
  %167 = add nsw i64 %166, 1
  store i64 %167, ptr %23, align 8, !tbaa !11
  br label %154, !llvm.loop !16

168:                                              ; preds = %154
  %169 = load i64, ptr %13, align 8, !tbaa !11
  %170 = mul nsw i64 3, %169
  %171 = sitofp i64 %170 to double
  %172 = fdiv double %171, 2.000000e+00
  %173 = load ptr, ptr %18, align 8, !tbaa !5
  %174 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %172, ptr noundef %173)
  %175 = add nsw i64 %174, 1
  %176 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %175, ptr noundef %176)
  %177 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %178 = load ptr, ptr %177, align 8, !tbaa !13
  %179 = getelementptr inbounds double, ptr %178, i64 0
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %180, i32 0, i32 4
  %182 = load ptr, ptr %181, align 8, !tbaa !13
  %183 = getelementptr inbounds double, ptr %182, i64 0
  %184 = load i64, ptr %13, align 8, !tbaa !11
  %185 = mul nsw i64 3, %184
  %186 = sitofp i64 %185 to double
  %187 = fdiv double %186, 2.000000e+00
  %188 = load ptr, ptr %18, align 8, !tbaa !5
  %189 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %187, ptr noundef %188)
  %190 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %189)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %179, i64 noundef 1, ptr noundef %183, i64 noundef 1, i64 noundef %190)
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = load i64, ptr %13, align 8, !tbaa !11
  %193 = mul nsw i64 2, %192
  %194 = add nsw i64 %193, 1
  %195 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %191, i64 noundef %194, ptr noundef %195)
  %196 = load ptr, ptr %11, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %196, i32 0, i32 4
  %198 = load ptr, ptr %197, align 8, !tbaa !13
  %199 = getelementptr inbounds double, ptr %198, i64 0
  %200 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %201 = load ptr, ptr %200, align 8, !tbaa !13
  %202 = getelementptr inbounds double, ptr %201, i64 0
  %203 = load i64, ptr %13, align 8, !tbaa !11
  %204 = mul nsw i64 3, %203
  %205 = sitofp i64 %204 to double
  %206 = fdiv double %205, 2.000000e+00
  %207 = load ptr, ptr %18, align 8, !tbaa !5
  %208 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %206, ptr noundef %207)
  %209 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %208)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %199, i64 noundef 1, ptr noundef %202, i64 noundef 1, i64 noundef %209)
  %210 = load i64, ptr %13, align 8, !tbaa !11
  %211 = mul nsw i64 3, %210
  %212 = sitofp i64 %211 to double
  %213 = fdiv double %212, 2.000000e+00
  %214 = load ptr, ptr %18, align 8, !tbaa !5
  %215 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %213, ptr noundef %214)
  %216 = add nsw i64 %215, 1
  store i64 %216, ptr %23, align 8, !tbaa !11
  br label %217

217:                                              ; preds = %228, %168
  %218 = load i64, ptr %23, align 8, !tbaa !11
  %219 = load i64, ptr %13, align 8, !tbaa !11
  %220 = mul nsw i64 2, %219
  %221 = icmp sle i64 %218, %220
  br i1 %221, label %222, label %231

222:                                              ; preds = %217
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %223, i32 0, i32 4
  %225 = load ptr, ptr %224, align 8, !tbaa !13
  %226 = load i64, ptr %23, align 8, !tbaa !11
  %227 = getelementptr inbounds double, ptr %225, i64 %226
  store double 0.000000e+00, ptr %227, align 8, !tbaa !9
  br label %228

228:                                              ; preds = %222
  %229 = load i64, ptr %23, align 8, !tbaa !11
  %230 = add nsw i64 %229, 1
  store i64 %230, ptr %23, align 8, !tbaa !11
  br label %217, !llvm.loop !17

231:                                              ; preds = %217
  %232 = load i64, ptr %13, align 8, !tbaa !11
  %233 = sdiv i64 %232, 2
  %234 = add nsw i64 2, %233
  store i64 %234, ptr %27, align 8, !tbaa !11
  %235 = load i64, ptr %27, align 8, !tbaa !11
  %236 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %25, i64 noundef %235, ptr noundef %236)
  %237 = load i64, ptr %27, align 8, !tbaa !11
  %238 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %26, i64 noundef %237, ptr noundef %238)
  %239 = load i64, ptr %27, align 8, !tbaa !11
  %240 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %239, ptr noundef %240)
  store i64 1, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %241

241:                                              ; preds = %255, %231
  %242 = load i64, ptr %23, align 8, !tbaa !11
  %243 = load i64, ptr %27, align 8, !tbaa !11
  %244 = sub nsw i64 %243, 1
  %245 = icmp sle i64 %242, %244
  br i1 %245, label %246, label %258

246:                                              ; preds = %241
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !13
  %249 = load i64, ptr %23, align 8, !tbaa !11
  %250 = getelementptr inbounds double, ptr %248, i64 %249
  store double 0.000000e+00, ptr %250, align 8, !tbaa !9
  %251 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %252 = load ptr, ptr %251, align 8, !tbaa !13
  %253 = load i64, ptr %23, align 8, !tbaa !11
  %254 = getelementptr inbounds double, ptr %252, i64 %253
  store double 0.000000e+00, ptr %254, align 8, !tbaa !9
  br label %255

255:                                              ; preds = %246
  %256 = load i64, ptr %23, align 8, !tbaa !11
  %257 = add nsw i64 %256, 1
  store i64 %257, ptr %23, align 8, !tbaa !11
  br label %241, !llvm.loop !18

258:                                              ; preds = %241
  %259 = load ptr, ptr %11, align 8, !tbaa !5
  %260 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %259, i32 0, i32 4
  %261 = load ptr, ptr %260, align 8, !tbaa !13
  %262 = load i64, ptr %13, align 8, !tbaa !11
  %263 = add nsw i64 %262, 1
  %264 = getelementptr inbounds double, ptr %261, i64 %263
  %265 = load double, ptr %264, align 8, !tbaa !9
  %266 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %267 = load ptr, ptr %266, align 8, !tbaa !13
  %268 = load i64, ptr %28, align 8, !tbaa !11
  %269 = add nsw i64 %268, 0
  %270 = getelementptr inbounds double, ptr %267, i64 %269
  store double %265, ptr %270, align 8, !tbaa !9
  store i64 0, ptr %30, align 8, !tbaa !11
  br label %271

271:                                              ; preds = %383, %258
  %272 = load i64, ptr %30, align 8, !tbaa !11
  %273 = load i64, ptr %13, align 8, !tbaa !11
  %274 = sub nsw i64 %273, 2
  %275 = icmp sle i64 %272, %274
  br i1 %275, label %276, label %386

276:                                              ; preds = %271
  store double 0.000000e+00, ptr %29, align 8, !tbaa !9
  %277 = load i64, ptr %30, align 8, !tbaa !11
  %278 = add nsw i64 %277, 1
  %279 = sdiv i64 %278, 2
  store i64 %279, ptr %32, align 8, !tbaa !11
  br label %280

280:                                              ; preds = %352, %276
  %281 = load i64, ptr %32, align 8, !tbaa !11
  %282 = icmp sge i64 %281, 0
  br i1 %282, label %283, label %355

283:                                              ; preds = %280
  %284 = load i64, ptr %30, align 8, !tbaa !11
  %285 = load i64, ptr %32, align 8, !tbaa !11
  %286 = sub nsw i64 %284, %285
  store i64 %286, ptr %31, align 8, !tbaa !11
  %287 = load double, ptr %29, align 8, !tbaa !9
  %288 = load ptr, ptr %10, align 8, !tbaa !5
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %288, i32 0, i32 4
  %290 = load ptr, ptr %289, align 8, !tbaa !13
  %291 = load i64, ptr %32, align 8, !tbaa !11
  %292 = load i64, ptr %13, align 8, !tbaa !11
  %293 = add nsw i64 %291, %292
  %294 = add nsw i64 %293, 1
  %295 = getelementptr inbounds double, ptr %290, i64 %294
  %296 = load double, ptr %295, align 8, !tbaa !9
  %297 = load ptr, ptr %10, align 8, !tbaa !5
  %298 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %297, i32 0, i32 4
  %299 = load ptr, ptr %298, align 8, !tbaa !13
  %300 = load i64, ptr %31, align 8, !tbaa !11
  %301 = getelementptr inbounds double, ptr %299, i64 %300
  %302 = load double, ptr %301, align 8, !tbaa !9
  %303 = fsub double %296, %302
  %304 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %305 = load ptr, ptr %304, align 8, !tbaa !13
  %306 = load i64, ptr %28, align 8, !tbaa !11
  %307 = load i64, ptr %32, align 8, !tbaa !11
  %308 = add nsw i64 %306, %307
  %309 = getelementptr inbounds double, ptr %305, i64 %308
  %310 = load double, ptr %309, align 8, !tbaa !9
  %311 = call double @llvm.fmuladd.f64(double %303, double %310, double %287)
  %312 = load ptr, ptr %11, align 8, !tbaa !5
  %313 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %312, i32 0, i32 4
  %314 = load ptr, ptr %313, align 8, !tbaa !13
  %315 = load i64, ptr %32, align 8, !tbaa !11
  %316 = load i64, ptr %13, align 8, !tbaa !11
  %317 = add nsw i64 %315, %316
  %318 = add nsw i64 %317, 1
  %319 = getelementptr inbounds double, ptr %314, i64 %318
  %320 = load double, ptr %319, align 8, !tbaa !9
  %321 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %322 = load ptr, ptr %321, align 8, !tbaa !13
  %323 = load i64, ptr %28, align 8, !tbaa !11
  %324 = load i64, ptr %32, align 8, !tbaa !11
  %325 = add nsw i64 %323, %324
  %326 = sub nsw i64 %325, 1
  %327 = getelementptr inbounds double, ptr %322, i64 %326
  %328 = load double, ptr %327, align 8, !tbaa !9
  %329 = call double @llvm.fmuladd.f64(double %320, double %328, double %311)
  %330 = load ptr, ptr %11, align 8, !tbaa !5
  %331 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %330, i32 0, i32 4
  %332 = load ptr, ptr %331, align 8, !tbaa !13
  %333 = load i64, ptr %31, align 8, !tbaa !11
  %334 = getelementptr inbounds double, ptr %332, i64 %333
  %335 = load double, ptr %334, align 8, !tbaa !9
  %336 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %337 = load ptr, ptr %336, align 8, !tbaa !13
  %338 = load i64, ptr %28, align 8, !tbaa !11
  %339 = load i64, ptr %32, align 8, !tbaa !11
  %340 = add nsw i64 %338, %339
  %341 = getelementptr inbounds double, ptr %337, i64 %340
  %342 = load double, ptr %341, align 8, !tbaa !9
  %343 = fneg double %335
  %344 = call double @llvm.fmuladd.f64(double %343, double %342, double %329)
  store double %344, ptr %29, align 8, !tbaa !9
  %345 = load double, ptr %29, align 8, !tbaa !9
  %346 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %347 = load ptr, ptr %346, align 8, !tbaa !13
  %348 = load i64, ptr %28, align 8, !tbaa !11
  %349 = load i64, ptr %32, align 8, !tbaa !11
  %350 = add nsw i64 %348, %349
  %351 = getelementptr inbounds double, ptr %347, i64 %350
  store double %345, ptr %351, align 8, !tbaa !9
  br label %352

352:                                              ; preds = %283
  %353 = load i64, ptr %32, align 8, !tbaa !11
  %354 = add nsw i64 %353, -1
  store i64 %354, ptr %32, align 8, !tbaa !11
  br label %280, !llvm.loop !19

355:                                              ; preds = %280
  %356 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %357 = load ptr, ptr %356, align 8, !tbaa !13
  %358 = getelementptr inbounds double, ptr %357, i64 0
  %359 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %360 = load ptr, ptr %359, align 8, !tbaa !13
  %361 = getelementptr inbounds double, ptr %360, i64 0
  %362 = load i64, ptr %27, align 8, !tbaa !11
  %363 = sub nsw i64 %362, 1
  %364 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %363)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %358, i64 noundef 1, ptr noundef %361, i64 noundef 1, i64 noundef %364)
  %365 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %366 = load ptr, ptr %365, align 8, !tbaa !13
  %367 = getelementptr inbounds double, ptr %366, i64 0
  %368 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %369 = load ptr, ptr %368, align 8, !tbaa !13
  %370 = getelementptr inbounds double, ptr %369, i64 0
  %371 = load i64, ptr %27, align 8, !tbaa !11
  %372 = sub nsw i64 %371, 1
  %373 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %372)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %367, i64 noundef 1, ptr noundef %370, i64 noundef 1, i64 noundef %373)
  %374 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %375 = load ptr, ptr %374, align 8, !tbaa !13
  %376 = getelementptr inbounds double, ptr %375, i64 0
  %377 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %378 = load ptr, ptr %377, align 8, !tbaa !13
  %379 = getelementptr inbounds double, ptr %378, i64 0
  %380 = load i64, ptr %27, align 8, !tbaa !11
  %381 = sub nsw i64 %380, 1
  %382 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %381)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %376, i64 noundef 1, ptr noundef %379, i64 noundef 1, i64 noundef %382)
  br label %383

383:                                              ; preds = %355
  %384 = load i64, ptr %30, align 8, !tbaa !11
  %385 = add nsw i64 %384, 1
  store i64 %385, ptr %30, align 8, !tbaa !11
  br label %271, !llvm.loop !20

386:                                              ; preds = %271
  %387 = load i64, ptr %13, align 8, !tbaa !11
  %388 = sdiv i64 %387, 2
  store i64 %388, ptr %24, align 8, !tbaa !11
  br label %389

389:                                              ; preds = %407, %386
  %390 = load i64, ptr %24, align 8, !tbaa !11
  %391 = icmp sge i64 %390, 0
  br i1 %391, label %392, label %410

392:                                              ; preds = %389
  %393 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %394 = load ptr, ptr %393, align 8, !tbaa !13
  %395 = load i64, ptr %28, align 8, !tbaa !11
  %396 = load i64, ptr %24, align 8, !tbaa !11
  %397 = add nsw i64 %395, %396
  %398 = sub nsw i64 %397, 1
  %399 = getelementptr inbounds double, ptr %394, i64 %398
  %400 = load double, ptr %399, align 8, !tbaa !9
  %401 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %402 = load ptr, ptr %401, align 8, !tbaa !13
  %403 = load i64, ptr %28, align 8, !tbaa !11
  %404 = load i64, ptr %24, align 8, !tbaa !11
  %405 = add nsw i64 %403, %404
  %406 = getelementptr inbounds double, ptr %402, i64 %405
  store double %400, ptr %406, align 8, !tbaa !9
  br label %407

407:                                              ; preds = %392
  %408 = load i64, ptr %24, align 8, !tbaa !11
  %409 = add nsw i64 %408, -1
  store i64 %409, ptr %24, align 8, !tbaa !11
  br label %389, !llvm.loop !21

410:                                              ; preds = %389
  %411 = load i64, ptr %13, align 8, !tbaa !11
  %412 = sub nsw i64 %411, 1
  store i64 %412, ptr %30, align 8, !tbaa !11
  br label %413

413:                                              ; preds = %620, %410
  %414 = load i64, ptr %30, align 8, !tbaa !11
  %415 = load i64, ptr %13, align 8, !tbaa !11
  %416 = mul nsw i64 2, %415
  %417 = sub nsw i64 %416, 3
  %418 = icmp sle i64 %414, %417
  br i1 %418, label %419, label %623

419:                                              ; preds = %413
  store double 0.000000e+00, ptr %29, align 8, !tbaa !9
  %420 = load i64, ptr %30, align 8, !tbaa !11
  %421 = add nsw i64 %420, 1
  %422 = load i64, ptr %13, align 8, !tbaa !11
  %423 = sub nsw i64 %421, %422
  store i64 %423, ptr %32, align 8, !tbaa !11
  br label %424

424:                                              ; preds = %504, %419
  %425 = load i64, ptr %32, align 8, !tbaa !11
  %426 = load i64, ptr %30, align 8, !tbaa !11
  %427 = sub nsw i64 %426, 1
  %428 = sdiv i64 %427, 2
  %429 = icmp sle i64 %425, %428
  br i1 %429, label %430, label %507

430:                                              ; preds = %424
  %431 = load i64, ptr %30, align 8, !tbaa !11
  %432 = load i64, ptr %32, align 8, !tbaa !11
  %433 = sub nsw i64 %431, %432
  store i64 %433, ptr %31, align 8, !tbaa !11
  %434 = load i64, ptr %13, align 8, !tbaa !11
  %435 = sub nsw i64 %434, 1
  %436 = load i64, ptr %31, align 8, !tbaa !11
  %437 = sub nsw i64 %435, %436
  store i64 %437, ptr %24, align 8, !tbaa !11
  %438 = load double, ptr %29, align 8, !tbaa !9
  %439 = load ptr, ptr %10, align 8, !tbaa !5
  %440 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %439, i32 0, i32 4
  %441 = load ptr, ptr %440, align 8, !tbaa !13
  %442 = load i64, ptr %32, align 8, !tbaa !11
  %443 = load i64, ptr %13, align 8, !tbaa !11
  %444 = add nsw i64 %442, %443
  %445 = add nsw i64 %444, 1
  %446 = getelementptr inbounds double, ptr %441, i64 %445
  %447 = load double, ptr %446, align 8, !tbaa !9
  %448 = load ptr, ptr %10, align 8, !tbaa !5
  %449 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %448, i32 0, i32 4
  %450 = load ptr, ptr %449, align 8, !tbaa !13
  %451 = load i64, ptr %31, align 8, !tbaa !11
  %452 = getelementptr inbounds double, ptr %450, i64 %451
  %453 = load double, ptr %452, align 8, !tbaa !9
  %454 = fsub double %447, %453
  %455 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %456 = load ptr, ptr %455, align 8, !tbaa !13
  %457 = load i64, ptr %28, align 8, !tbaa !11
  %458 = load i64, ptr %24, align 8, !tbaa !11
  %459 = add nsw i64 %457, %458
  %460 = getelementptr inbounds double, ptr %456, i64 %459
  %461 = load double, ptr %460, align 8, !tbaa !9
  %462 = fneg double %454
  %463 = call double @llvm.fmuladd.f64(double %462, double %461, double %438)
  %464 = load ptr, ptr %11, align 8, !tbaa !5
  %465 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %464, i32 0, i32 4
  %466 = load ptr, ptr %465, align 8, !tbaa !13
  %467 = load i64, ptr %32, align 8, !tbaa !11
  %468 = load i64, ptr %13, align 8, !tbaa !11
  %469 = add nsw i64 %467, %468
  %470 = add nsw i64 %469, 1
  %471 = getelementptr inbounds double, ptr %466, i64 %470
  %472 = load double, ptr %471, align 8, !tbaa !9
  %473 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %474 = load ptr, ptr %473, align 8, !tbaa !13
  %475 = load i64, ptr %28, align 8, !tbaa !11
  %476 = load i64, ptr %24, align 8, !tbaa !11
  %477 = add nsw i64 %475, %476
  %478 = getelementptr inbounds double, ptr %474, i64 %477
  %479 = load double, ptr %478, align 8, !tbaa !9
  %480 = fneg double %472
  %481 = call double @llvm.fmuladd.f64(double %480, double %479, double %463)
  %482 = load ptr, ptr %11, align 8, !tbaa !5
  %483 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %482, i32 0, i32 4
  %484 = load ptr, ptr %483, align 8, !tbaa !13
  %485 = load i64, ptr %31, align 8, !tbaa !11
  %486 = getelementptr inbounds double, ptr %484, i64 %485
  %487 = load double, ptr %486, align 8, !tbaa !9
  %488 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %489 = load ptr, ptr %488, align 8, !tbaa !13
  %490 = load i64, ptr %28, align 8, !tbaa !11
  %491 = load i64, ptr %24, align 8, !tbaa !11
  %492 = add nsw i64 %490, %491
  %493 = add nsw i64 %492, 1
  %494 = getelementptr inbounds double, ptr %489, i64 %493
  %495 = load double, ptr %494, align 8, !tbaa !9
  %496 = call double @llvm.fmuladd.f64(double %487, double %495, double %481)
  store double %496, ptr %29, align 8, !tbaa !9
  %497 = load double, ptr %29, align 8, !tbaa !9
  %498 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %499 = load ptr, ptr %498, align 8, !tbaa !13
  %500 = load i64, ptr %28, align 8, !tbaa !11
  %501 = load i64, ptr %24, align 8, !tbaa !11
  %502 = add nsw i64 %500, %501
  %503 = getelementptr inbounds double, ptr %499, i64 %502
  store double %497, ptr %503, align 8, !tbaa !9
  br label %504

504:                                              ; preds = %430
  %505 = load i64, ptr %32, align 8, !tbaa !11
  %506 = add nsw i64 %505, 1
  store i64 %506, ptr %32, align 8, !tbaa !11
  br label %424, !llvm.loop !22

507:                                              ; preds = %424
  %508 = load i64, ptr %30, align 8, !tbaa !11
  %509 = srem i64 %508, 2
  %510 = icmp eq i64 %509, 0
  br i1 %510, label %511, label %564

511:                                              ; preds = %507
  %512 = load i64, ptr %30, align 8, !tbaa !11
  %513 = sdiv i64 %512, 2
  store i64 %513, ptr %32, align 8, !tbaa !11
  %514 = load ptr, ptr %10, align 8, !tbaa !5
  %515 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %514, i32 0, i32 4
  %516 = load ptr, ptr %515, align 8, !tbaa !13
  %517 = load i64, ptr %32, align 8, !tbaa !11
  %518 = getelementptr inbounds double, ptr %516, i64 %517
  %519 = load double, ptr %518, align 8, !tbaa !9
  %520 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %521 = load ptr, ptr %520, align 8, !tbaa !13
  %522 = load i64, ptr %28, align 8, !tbaa !11
  %523 = load i64, ptr %24, align 8, !tbaa !11
  %524 = add nsw i64 %522, %523
  %525 = getelementptr inbounds double, ptr %521, i64 %524
  %526 = load double, ptr %525, align 8, !tbaa !9
  %527 = load ptr, ptr %11, align 8, !tbaa !5
  %528 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %527, i32 0, i32 4
  %529 = load ptr, ptr %528, align 8, !tbaa !13
  %530 = load i64, ptr %32, align 8, !tbaa !11
  %531 = load i64, ptr %13, align 8, !tbaa !11
  %532 = add nsw i64 %530, %531
  %533 = add nsw i64 %532, 1
  %534 = getelementptr inbounds double, ptr %529, i64 %533
  %535 = load double, ptr %534, align 8, !tbaa !9
  %536 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %537 = load ptr, ptr %536, align 8, !tbaa !13
  %538 = load i64, ptr %28, align 8, !tbaa !11
  %539 = load i64, ptr %24, align 8, !tbaa !11
  %540 = add nsw i64 %538, %539
  %541 = add nsw i64 %540, 1
  %542 = getelementptr inbounds double, ptr %537, i64 %541
  %543 = load double, ptr %542, align 8, !tbaa !9
  %544 = fneg double %535
  %545 = call double @llvm.fmuladd.f64(double %544, double %543, double %526)
  %546 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %547 = load ptr, ptr %546, align 8, !tbaa !13
  %548 = load i64, ptr %28, align 8, !tbaa !11
  %549 = load i64, ptr %24, align 8, !tbaa !11
  %550 = add nsw i64 %548, %549
  %551 = add nsw i64 %550, 1
  %552 = getelementptr inbounds double, ptr %547, i64 %551
  %553 = load double, ptr %552, align 8, !tbaa !9
  %554 = fdiv double %545, %553
  %555 = fadd double %519, %554
  %556 = load ptr, ptr %10, align 8, !tbaa !5
  %557 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %556, i32 0, i32 4
  %558 = load ptr, ptr %557, align 8, !tbaa !13
  %559 = load i64, ptr %32, align 8, !tbaa !11
  %560 = load i64, ptr %13, align 8, !tbaa !11
  %561 = add nsw i64 %559, %560
  %562 = add nsw i64 %561, 1
  %563 = getelementptr inbounds double, ptr %558, i64 %562
  store double %555, ptr %563, align 8, !tbaa !9
  br label %592

564:                                              ; preds = %507
  %565 = load i64, ptr %30, align 8, !tbaa !11
  %566 = add nsw i64 %565, 1
  %567 = sdiv i64 %566, 2
  store i64 %567, ptr %32, align 8, !tbaa !11
  %568 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %569 = load ptr, ptr %568, align 8, !tbaa !13
  %570 = load i64, ptr %28, align 8, !tbaa !11
  %571 = load i64, ptr %24, align 8, !tbaa !11
  %572 = add nsw i64 %570, %571
  %573 = getelementptr inbounds double, ptr %569, i64 %572
  %574 = load double, ptr %573, align 8, !tbaa !9
  %575 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %576 = load ptr, ptr %575, align 8, !tbaa !13
  %577 = load i64, ptr %28, align 8, !tbaa !11
  %578 = load i64, ptr %24, align 8, !tbaa !11
  %579 = add nsw i64 %577, %578
  %580 = add nsw i64 %579, 1
  %581 = getelementptr inbounds double, ptr %576, i64 %580
  %582 = load double, ptr %581, align 8, !tbaa !9
  %583 = fdiv double %574, %582
  %584 = load ptr, ptr %11, align 8, !tbaa !5
  %585 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %584, i32 0, i32 4
  %586 = load ptr, ptr %585, align 8, !tbaa !13
  %587 = load i64, ptr %32, align 8, !tbaa !11
  %588 = load i64, ptr %13, align 8, !tbaa !11
  %589 = add nsw i64 %587, %588
  %590 = add nsw i64 %589, 1
  %591 = getelementptr inbounds double, ptr %586, i64 %590
  store double %583, ptr %591, align 8, !tbaa !9
  br label %592

592:                                              ; preds = %564, %511
  %593 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %594 = load ptr, ptr %593, align 8, !tbaa !13
  %595 = getelementptr inbounds double, ptr %594, i64 0
  %596 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %597 = load ptr, ptr %596, align 8, !tbaa !13
  %598 = getelementptr inbounds double, ptr %597, i64 0
  %599 = load i64, ptr %27, align 8, !tbaa !11
  %600 = sub nsw i64 %599, 1
  %601 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %600)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %595, i64 noundef 1, ptr noundef %598, i64 noundef 1, i64 noundef %601)
  %602 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %603 = load ptr, ptr %602, align 8, !tbaa !13
  %604 = getelementptr inbounds double, ptr %603, i64 0
  %605 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %606 = load ptr, ptr %605, align 8, !tbaa !13
  %607 = getelementptr inbounds double, ptr %606, i64 0
  %608 = load i64, ptr %27, align 8, !tbaa !11
  %609 = sub nsw i64 %608, 1
  %610 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %609)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %604, i64 noundef 1, ptr noundef %607, i64 noundef 1, i64 noundef %610)
  %611 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %612 = load ptr, ptr %611, align 8, !tbaa !13
  %613 = getelementptr inbounds double, ptr %612, i64 0
  %614 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %615 = load ptr, ptr %614, align 8, !tbaa !13
  %616 = getelementptr inbounds double, ptr %615, i64 0
  %617 = load i64, ptr %27, align 8, !tbaa !11
  %618 = sub nsw i64 %617, 1
  %619 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %618)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %613, i64 noundef 1, ptr noundef %616, i64 noundef 1, i64 noundef %619)
  br label %620

620:                                              ; preds = %592
  %621 = load i64, ptr %30, align 8, !tbaa !11
  %622 = add nsw i64 %621, 1
  store i64 %622, ptr %30, align 8, !tbaa !11
  br label %413, !llvm.loop !23

623:                                              ; preds = %413
  %624 = load ptr, ptr %10, align 8, !tbaa !5
  %625 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %624, i32 0, i32 4
  %626 = load ptr, ptr %625, align 8, !tbaa !13
  %627 = load i64, ptr %13, align 8, !tbaa !11
  %628 = sub nsw i64 %627, 1
  %629 = getelementptr inbounds double, ptr %626, i64 %628
  %630 = load double, ptr %629, align 8, !tbaa !9
  %631 = load ptr, ptr %11, align 8, !tbaa !5
  %632 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %631, i32 0, i32 4
  %633 = load ptr, ptr %632, align 8, !tbaa !13
  %634 = load i64, ptr %13, align 8, !tbaa !11
  %635 = mul nsw i64 2, %634
  %636 = getelementptr inbounds double, ptr %633, i64 %635
  %637 = load double, ptr %636, align 8, !tbaa !9
  %638 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %639 = load ptr, ptr %638, align 8, !tbaa !13
  %640 = load i64, ptr %28, align 8, !tbaa !11
  %641 = add nsw i64 %640, 0
  %642 = getelementptr inbounds double, ptr %639, i64 %641
  %643 = load double, ptr %642, align 8, !tbaa !9
  %644 = fmul double %637, %643
  %645 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %646 = load ptr, ptr %645, align 8, !tbaa !13
  %647 = load i64, ptr %28, align 8, !tbaa !11
  %648 = add nsw i64 %647, 0
  %649 = getelementptr inbounds double, ptr %646, i64 %648
  %650 = load double, ptr %649, align 8, !tbaa !9
  %651 = fdiv double %644, %650
  %652 = fsub double %630, %651
  %653 = load ptr, ptr %10, align 8, !tbaa !5
  %654 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %653, i32 0, i32 4
  %655 = load ptr, ptr %654, align 8, !tbaa !13
  %656 = load i64, ptr %13, align 8, !tbaa !11
  %657 = mul nsw i64 2, %656
  %658 = getelementptr inbounds double, ptr %655, i64 %657
  store double %652, ptr %658, align 8, !tbaa !9
  %659 = load ptr, ptr %10, align 8, !tbaa !5
  %660 = load ptr, ptr %11, align 8, !tbaa !5
  %661 = load double, ptr %12, align 8, !tbaa !9
  %662 = load i64, ptr %13, align 8, !tbaa !11
  %663 = mul nsw i64 2, %662
  %664 = add nsw i64 %663, 1
  %665 = load ptr, ptr %14, align 8, !tbaa !5
  %666 = load ptr, ptr %15, align 8, !tbaa !5
  %667 = load ptr, ptr %16, align 8, !tbaa !5
  %668 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl13gqgeneraterecEPNS_9ae_vectorES1_dlPlS1_S1_PNS_8ae_stateE(ptr noundef %659, ptr noundef %660, double noundef %661, i64 noundef %664, ptr noundef %665, ptr noundef %666, ptr noundef %667, ptr noundef %668)
  %669 = load ptr, ptr %14, align 8, !tbaa !5
  %670 = load i64, ptr %669, align 8, !tbaa !11
  %671 = icmp eq i64 %670, -2
  br i1 %671, label %672, label %674

672:                                              ; preds = %623
  %673 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 -5, ptr %673, align 8, !tbaa !11
  br label %674

674:                                              ; preds = %672, %623
  %675 = load ptr, ptr %14, align 8, !tbaa !5
  %676 = load i64, ptr %675, align 8, !tbaa !11
  %677 = icmp slt i64 %676, 0
  br i1 %677, label %678, label %680

678:                                              ; preds = %674
  %679 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %679)
  store i32 1, ptr %35, align 4
  br label %758

680:                                              ; preds = %674
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %681

681:                                              ; preds = %705, %680
  %682 = load i64, ptr %23, align 8, !tbaa !11
  %683 = load i64, ptr %13, align 8, !tbaa !11
  %684 = mul nsw i64 2, %683
  %685 = sub nsw i64 %684, 1
  %686 = icmp sle i64 %682, %685
  br i1 %686, label %687, label %708

687:                                              ; preds = %681
  %688 = load ptr, ptr %15, align 8, !tbaa !5
  %689 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %688, i32 0, i32 4
  %690 = load ptr, ptr %689, align 8, !tbaa !13
  %691 = load i64, ptr %23, align 8, !tbaa !11
  %692 = getelementptr inbounds double, ptr %690, i64 %691
  %693 = load double, ptr %692, align 8, !tbaa !9
  %694 = load ptr, ptr %15, align 8, !tbaa !5
  %695 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %694, i32 0, i32 4
  %696 = load ptr, ptr %695, align 8, !tbaa !13
  %697 = load i64, ptr %23, align 8, !tbaa !11
  %698 = add nsw i64 %697, 1
  %699 = getelementptr inbounds double, ptr %696, i64 %698
  %700 = load double, ptr %699, align 8, !tbaa !9
  %701 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %693, double noundef %700)
  br i1 %701, label %702, label %704

702:                                              ; preds = %687
  %703 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 -4, ptr %703, align 8, !tbaa !11
  br label %704

704:                                              ; preds = %702, %687
  br label %705

705:                                              ; preds = %704
  %706 = load i64, ptr %23, align 8, !tbaa !11
  %707 = add nsw i64 %706, 1
  store i64 %707, ptr %23, align 8, !tbaa !11
  br label %681, !llvm.loop !24

708:                                              ; preds = %681
  %709 = load ptr, ptr %14, align 8, !tbaa !5
  %710 = load i64, ptr %709, align 8, !tbaa !11
  %711 = icmp slt i64 %710, 0
  br i1 %711, label %712, label %714

712:                                              ; preds = %708
  %713 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %713)
  store i32 1, ptr %35, align 4
  br label %758

714:                                              ; preds = %708
  %715 = load ptr, ptr %17, align 8, !tbaa !5
  %716 = load i64, ptr %13, align 8, !tbaa !11
  %717 = mul nsw i64 2, %716
  %718 = add nsw i64 %717, 1
  %719 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %715, i64 noundef %718, ptr noundef %719)
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %720

720:                                              ; preds = %731, %714
  %721 = load i64, ptr %23, align 8, !tbaa !11
  %722 = load i64, ptr %13, align 8, !tbaa !11
  %723 = mul nsw i64 2, %722
  %724 = icmp sle i64 %721, %723
  br i1 %724, label %725, label %734

725:                                              ; preds = %720
  %726 = load ptr, ptr %17, align 8, !tbaa !5
  %727 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %726, i32 0, i32 4
  %728 = load ptr, ptr %727, align 8, !tbaa !13
  %729 = load i64, ptr %23, align 8, !tbaa !11
  %730 = getelementptr inbounds double, ptr %728, i64 %729
  store double 0.000000e+00, ptr %730, align 8, !tbaa !9
  br label %731

731:                                              ; preds = %725
  %732 = load i64, ptr %23, align 8, !tbaa !11
  %733 = add nsw i64 %732, 1
  store i64 %733, ptr %23, align 8, !tbaa !11
  br label %720, !llvm.loop !25

734:                                              ; preds = %720
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %735

735:                                              ; preds = %753, %734
  %736 = load i64, ptr %23, align 8, !tbaa !11
  %737 = load i64, ptr %13, align 8, !tbaa !11
  %738 = sub nsw i64 %737, 1
  %739 = icmp sle i64 %736, %738
  br i1 %739, label %740, label %756

740:                                              ; preds = %735
  %741 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %742 = load ptr, ptr %741, align 8, !tbaa !13
  %743 = load i64, ptr %23, align 8, !tbaa !11
  %744 = getelementptr inbounds double, ptr %742, i64 %743
  %745 = load double, ptr %744, align 8, !tbaa !9
  %746 = load ptr, ptr %17, align 8, !tbaa !5
  %747 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %746, i32 0, i32 4
  %748 = load ptr, ptr %747, align 8, !tbaa !13
  %749 = load i64, ptr %23, align 8, !tbaa !11
  %750 = mul nsw i64 2, %749
  %751 = add nsw i64 %750, 1
  %752 = getelementptr inbounds double, ptr %748, i64 %751
  store double %745, ptr %752, align 8, !tbaa !9
  br label %753

753:                                              ; preds = %740
  %754 = load i64, ptr %23, align 8, !tbaa !11
  %755 = add nsw i64 %754, 1
  store i64 %755, ptr %23, align 8, !tbaa !11
  br label %735, !llvm.loop !26

756:                                              ; preds = %735
  %757 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %757)
  store i32 0, ptr %35, align 4
  br label %758

758:                                              ; preds = %756, %712, %678, %103, %78, %56
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  %759 = load i32, ptr %35, align 4
  switch i32 %759, label %761 [
    i32 0, label %760
    i32 1, label %760
  ]

760:                                              ; preds = %758, %758
  ret void

761:                                              ; preds = %758
  unreachable
}

; 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_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #3

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) #3

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #3

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) #3

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #3

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

declare noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef, double noundef) #3

declare noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef, ptr noundef) #3

declare noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef, ptr noundef) #3

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #3

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}


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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl13gqgeneraterecEPNS_9ae_vectorES1_dlPlS1_S1_PNS_8ae_stateE(ptr noundef, ptr noundef, double noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl14gkqgeneraterecEPNS_9ae_vectorES1_dlPlS1_S1_S1_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, double noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #1 {
  %10 = alloca %"struct.alglib_impl::ae_frame", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %8, ptr noundef nonnull %10)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %11, ptr noundef %0, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %12, ptr noundef %1, ptr noundef %8, i1 noundef zeroext true)
  store i64 0, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %5)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %6)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %7)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %17, i64 noundef 0, i64 noundef 3, ptr noundef %8, i1 noundef zeroext true)
  %18 = and i64 %3, -9223372036854775807
  %19 = icmp ne i64 %18, 1
  %20 = icmp slt i64 %3, 3
  %or.cond = or i1 %20, %19
  br i1 %or.cond, label %._crit_edge304.sink.split, label %.preheader257

.preheader257:                                    ; preds = %9
  %21 = lshr i64 %3, 1
  %22 = mul nuw nsw i64 %21, 3
  %23 = uitofp nneg i64 %22 to double
  %24 = fmul double %23, 5.000000e-01
  %25 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %.not262 = icmp slt i64 %25, 0
  br i1 %.not262, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader257
  %26 = getelementptr inbounds i8, ptr %12, i64 56
  br label %30

27:                                               ; preds = %30
  %28 = add nuw nsw i64 %.0240263, 1
  %29 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %.not.not = icmp slt i64 %.0240263, %29
  br i1 %.not.not, label %30, label %._crit_edge, !llvm.loop !9

30:                                               ; preds = %.lr.ph, %27
  %.0240263 = phi i64 [ 0, %.lr.ph ], [ %28, %27 ]
  %31 = load ptr, ptr %26, align 8, !tbaa !11
  %32 = getelementptr inbounds double, ptr %31, i64 %.0240263
  %33 = load double, ptr %32, align 8, !tbaa !12
  %34 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %33, double noundef 0.000000e+00)
  br i1 %34, label %._crit_edge304.sink.split, label %27

._crit_edge:                                      ; preds = %27, %.preheader257
  store i64 1, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %12, i64 56
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  store double %2, ptr %36, align 8, !tbaa !12
  call void @_ZN11alglib_impl13gqgeneraterecEPNS_9ae_vectorES1_dlPlS1_S1_PNS_8ae_stateE(ptr noundef nonnull %11, ptr noundef nonnull %12, double noundef %2, i64 noundef %21, ptr noundef nonnull %4, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef %8)
  %37 = load i64, ptr %4, align 8, !tbaa !5
  %38 = icmp slt i64 %37, 0
  br i1 %38, label %._crit_edge304, label %39

39:                                               ; preds = %._crit_edge
  %40 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %41 = add nsw i64 %40, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %41, ptr noundef %8)
  %42 = getelementptr inbounds i8, ptr %13, i64 56
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds i8, ptr %11, i64 56
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %46 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %47 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %46)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %43, i64 noundef 1, ptr noundef %45, i64 noundef 1, i64 noundef %47)
  %48 = and i64 %3, 9223372036854775806
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %3, ptr noundef %8)
  %49 = load ptr, ptr %44, align 8, !tbaa !11
  %50 = load ptr, ptr %42, align 8, !tbaa !11
  %51 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %52 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %51)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %49, i64 noundef 1, ptr noundef %50, i64 noundef 1, i64 noundef %52)
  %53 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %.not246.not265 = icmp slt i64 %53, %48
  br i1 %.not246.not265, label %.lr.ph268.preheader, label %._crit_edge269

.lr.ph268.preheader:                              ; preds = %39
  %54 = sub i64 %48, %53
  %xtraiter = and i64 %54, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph268.prol.loopexit, label %.lr.ph268.prol

.lr.ph268.prol:                                   ; preds = %.lr.ph268.preheader, %.lr.ph268.prol
  %.1241.in266.prol = phi i64 [ %.1241.prol, %.lr.ph268.prol ], [ %53, %.lr.ph268.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph268.prol ], [ 0, %.lr.ph268.preheader ]
  %.1241.prol = add nsw i64 %.1241.in266.prol, 1
  %55 = load ptr, ptr %44, align 8, !tbaa !11
  %56 = getelementptr inbounds double, ptr %55, i64 %.1241.prol
  store double 0.000000e+00, ptr %56, align 8, !tbaa !12
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph268.prol.loopexit, label %.lr.ph268.prol, !llvm.loop !14

.lr.ph268.prol.loopexit:                          ; preds = %.lr.ph268.prol, %.lr.ph268.preheader
  %.1241.in266.unr = phi i64 [ %53, %.lr.ph268.preheader ], [ %.1241.prol, %.lr.ph268.prol ]
  %57 = sub i64 %53, %48
  %58 = icmp ugt i64 %57, -4
  br i1 %58, label %._crit_edge269, label %.lr.ph268

.lr.ph268:                                        ; preds = %.lr.ph268.prol.loopexit, %.lr.ph268
  %.1241.in266 = phi i64 [ %.1241.3, %.lr.ph268 ], [ %.1241.in266.unr, %.lr.ph268.prol.loopexit ]
  %59 = load ptr, ptr %44, align 8, !tbaa !11
  %60 = getelementptr double, ptr %59, i64 %.1241.in266
  %61 = getelementptr i8, ptr %60, i64 8
  store double 0.000000e+00, ptr %61, align 8, !tbaa !12
  %62 = load ptr, ptr %44, align 8, !tbaa !11
  %63 = getelementptr double, ptr %62, i64 %.1241.in266
  %64 = getelementptr i8, ptr %63, i64 16
  store double 0.000000e+00, ptr %64, align 8, !tbaa !12
  %65 = load ptr, ptr %44, align 8, !tbaa !11
  %66 = getelementptr double, ptr %65, i64 %.1241.in266
  %67 = getelementptr i8, ptr %66, i64 24
  store double 0.000000e+00, ptr %67, align 8, !tbaa !12
  %.1241.3 = add nsw i64 %.1241.in266, 4
  %68 = load ptr, ptr %44, align 8, !tbaa !11
  %69 = getelementptr inbounds double, ptr %68, i64 %.1241.3
  store double 0.000000e+00, ptr %69, align 8, !tbaa !12
  %exitcond.not.3 = icmp eq i64 %.1241.3, %48
  br i1 %exitcond.not.3, label %._crit_edge269, label %.lr.ph268, !llvm.loop !16

._crit_edge269:                                   ; preds = %.lr.ph268.prol.loopexit, %.lr.ph268, %39
  %70 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %71 = add nsw i64 %70, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %71, ptr noundef %8)
  %72 = load ptr, ptr %42, align 8, !tbaa !11
  %73 = load ptr, ptr %35, align 8, !tbaa !11
  %74 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %75 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %74)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %72, i64 noundef 1, ptr noundef %73, i64 noundef 1, i64 noundef %75)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %12, i64 noundef %3, ptr noundef %8)
  %76 = load ptr, ptr %35, align 8, !tbaa !11
  %77 = load ptr, ptr %42, align 8, !tbaa !11
  %78 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %79 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %78)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %76, i64 noundef 1, ptr noundef %77, i64 noundef 1, i64 noundef %79)
  %80 = call noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef %24, ptr noundef %8)
  %.not247.not270 = icmp slt i64 %80, %48
  br i1 %.not247.not270, label %.lr.ph273.preheader, label %._crit_edge274

.lr.ph273.preheader:                              ; preds = %._crit_edge269
  %81 = sub i64 %48, %80
  %xtraiter311 = and i64 %81, 3
  %lcmp.mod312.not = icmp eq i64 %xtraiter311, 0
  br i1 %lcmp.mod312.not, label %.lr.ph273.prol.loopexit, label %.lr.ph273.prol

.lr.ph273.prol:                                   ; preds = %.lr.ph273.preheader, %.lr.ph273.prol
  %.2242.in271.prol = phi i64 [ %.2242.prol, %.lr.ph273.prol ], [ %80, %.lr.ph273.preheader ]
  %prol.iter313 = phi i64 [ %prol.iter313.next, %.lr.ph273.prol ], [ 0, %.lr.ph273.preheader ]
  %.2242.prol = add nsw i64 %.2242.in271.prol, 1
  %82 = load ptr, ptr %35, align 8, !tbaa !11
  %83 = getelementptr inbounds double, ptr %82, i64 %.2242.prol
  store double 0.000000e+00, ptr %83, align 8, !tbaa !12
  %prol.iter313.next = add i64 %prol.iter313, 1
  %prol.iter313.cmp.not = icmp eq i64 %prol.iter313.next, %xtraiter311
  br i1 %prol.iter313.cmp.not, label %.lr.ph273.prol.loopexit, label %.lr.ph273.prol, !llvm.loop !17

.lr.ph273.prol.loopexit:                          ; preds = %.lr.ph273.prol, %.lr.ph273.preheader
  %.2242.in271.unr = phi i64 [ %80, %.lr.ph273.preheader ], [ %.2242.prol, %.lr.ph273.prol ]
  %84 = sub i64 %80, %48
  %85 = icmp ugt i64 %84, -4
  br i1 %85, label %._crit_edge274, label %.lr.ph273

.lr.ph273:                                        ; preds = %.lr.ph273.prol.loopexit, %.lr.ph273
  %.2242.in271 = phi i64 [ %.2242.3, %.lr.ph273 ], [ %.2242.in271.unr, %.lr.ph273.prol.loopexit ]
  %86 = load ptr, ptr %35, align 8, !tbaa !11
  %87 = getelementptr double, ptr %86, i64 %.2242.in271
  %88 = getelementptr i8, ptr %87, i64 8
  store double 0.000000e+00, ptr %88, align 8, !tbaa !12
  %89 = load ptr, ptr %35, align 8, !tbaa !11
  %90 = getelementptr double, ptr %89, i64 %.2242.in271
  %91 = getelementptr i8, ptr %90, i64 16
  store double 0.000000e+00, ptr %91, align 8, !tbaa !12
  %92 = load ptr, ptr %35, align 8, !tbaa !11
  %93 = getelementptr double, ptr %92, i64 %.2242.in271
  %94 = getelementptr i8, ptr %93, i64 24
  store double 0.000000e+00, ptr %94, align 8, !tbaa !12
  %.2242.3 = add nsw i64 %.2242.in271, 4
  %95 = load ptr, ptr %35, align 8, !tbaa !11
  %96 = getelementptr inbounds double, ptr %95, i64 %.2242.3
  store double 0.000000e+00, ptr %96, align 8, !tbaa !12
  %exitcond305.not.3 = icmp eq i64 %.2242.3, %48
  br i1 %exitcond305.not.3, label %._crit_edge274, label %.lr.ph273, !llvm.loop !18

._crit_edge274:                                   ; preds = %.lr.ph273.prol.loopexit, %.lr.ph273, %._crit_edge269
  %97 = lshr i64 %3, 2
  %98 = add nuw nsw i64 %97, 2
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %98, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %98, ptr noundef %8)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %13, i64 noundef %98, ptr noundef %8)
  %99 = getelementptr inbounds i8, ptr %14, i64 56
  %100 = getelementptr inbounds i8, ptr %15, i64 56
  %101 = add nuw nsw i64 %97, 1
  %unroll_iter = and i64 %98, 4611686018427387902
  br label %102

102:                                              ; preds = %102, %._crit_edge274
  %.3275 = phi i64 [ 0, %._crit_edge274 ], [ %112, %102 ]
  %niter = phi i64 [ 0, %._crit_edge274 ], [ %niter.next.1, %102 ]
  %103 = load ptr, ptr %99, align 8, !tbaa !11
  %104 = getelementptr inbounds double, ptr %103, i64 %.3275
  store double 0.000000e+00, ptr %104, align 8, !tbaa !12
  %105 = load ptr, ptr %100, align 8, !tbaa !11
  %106 = getelementptr inbounds double, ptr %105, i64 %.3275
  store double 0.000000e+00, ptr %106, align 8, !tbaa !12
  %107 = or disjoint i64 %.3275, 1
  %108 = load ptr, ptr %99, align 8, !tbaa !11
  %109 = getelementptr inbounds double, ptr %108, i64 %107
  store double 0.000000e+00, ptr %109, align 8, !tbaa !12
  %110 = load ptr, ptr %100, align 8, !tbaa !11
  %111 = getelementptr inbounds double, ptr %110, i64 %107
  store double 0.000000e+00, ptr %111, align 8, !tbaa !12
  %112 = add nuw nsw i64 %.3275, 2
  %niter.next.1 = add nuw nsw i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.unr-lcssa, label %102, !llvm.loop !19

.unr-lcssa:                                       ; preds = %102
  %113 = and i64 %3, 4
  %lcmp.mod315.not = icmp eq i64 %113, 0
  br i1 %lcmp.mod315.not, label %118, label %.epilog-lcssa

.epilog-lcssa:                                    ; preds = %.unr-lcssa
  %114 = load ptr, ptr %99, align 8, !tbaa !11
  %115 = getelementptr inbounds double, ptr %114, i64 %112
  store double 0.000000e+00, ptr %115, align 8, !tbaa !12
  %116 = load ptr, ptr %100, align 8, !tbaa !11
  %117 = getelementptr inbounds double, ptr %116, i64 %112
  store double 0.000000e+00, ptr %117, align 8, !tbaa !12
  br label %118

118:                                              ; preds = %.unr-lcssa, %.epilog-lcssa
  %119 = add nuw nsw i64 %97, 1
  %120 = load ptr, ptr %35, align 8, !tbaa !11
  %121 = getelementptr inbounds double, ptr %120, i64 %21
  %122 = getelementptr inbounds i8, ptr %121, i64 8
  %123 = load double, ptr %122, align 8, !tbaa !12
  %124 = load ptr, ptr %99, align 8, !tbaa !11
  %125 = getelementptr inbounds i8, ptr %124, i64 8
  store double %123, ptr %125, align 8, !tbaa !12
  %.not249278 = icmp ult i64 %3, 4
  br i1 %.not249278, label %.preheader256.preheader, label %.lr.ph281

.lr.ph281:                                        ; preds = %118
  %126 = add nuw nsw i64 %21, 1
  %127 = add nsw i64 %21, -2
  br label %128

128:                                              ; preds = %.lr.ph281, %159
  %.0234279 = phi i64 [ 0, %.lr.ph281 ], [ %129, %159 ]
  %129 = add nuw nsw i64 %.0234279, 1
  %130 = lshr i64 %129, 1
  br label %131

131:                                              ; preds = %128, %131
  %.0277 = phi i64 [ %130, %128 ], [ %158, %131 ]
  %.0236276 = phi double [ 0.000000e+00, %128 ], [ %157, %131 ]
  %132 = sub nsw i64 %.0234279, %.0277
  %133 = load ptr, ptr %44, align 8, !tbaa !11
  %134 = add nuw nsw i64 %126, %.0277
  %135 = getelementptr inbounds double, ptr %133, i64 %134
  %136 = load double, ptr %135, align 8, !tbaa !12
  %137 = getelementptr inbounds double, ptr %133, i64 %132
  %138 = load double, ptr %137, align 8, !tbaa !12
  %139 = fsub double %136, %138
  %140 = load ptr, ptr %99, align 8, !tbaa !11
  %141 = add nuw nsw i64 %.0277, 1
  %142 = getelementptr inbounds double, ptr %140, i64 %141
  %143 = load double, ptr %142, align 8, !tbaa !12
  %144 = call double @llvm.fmuladd.f64(double %139, double %143, double %.0236276)
  %145 = load ptr, ptr %35, align 8, !tbaa !11
  %146 = getelementptr inbounds double, ptr %145, i64 %134
  %147 = load double, ptr %146, align 8, !tbaa !12
  %148 = load ptr, ptr %100, align 8, !tbaa !11
  %149 = getelementptr inbounds double, ptr %148, i64 %.0277
  %150 = load double, ptr %149, align 8, !tbaa !12
  %151 = call double @llvm.fmuladd.f64(double %147, double %150, double %144)
  %152 = getelementptr inbounds double, ptr %145, i64 %132
  %153 = load double, ptr %152, align 8, !tbaa !12
  %154 = getelementptr inbounds double, ptr %148, i64 %141
  %155 = load double, ptr %154, align 8, !tbaa !12
  %156 = fneg double %153
  %157 = call double @llvm.fmuladd.f64(double %156, double %155, double %151)
  store double %157, ptr %154, align 8, !tbaa !12
  %158 = add nsw i64 %.0277, -1
  %.not = icmp eq i64 %.0277, 0
  br i1 %.not, label %159, label %131, !llvm.loop !20

159:                                              ; preds = %131
  %160 = load ptr, ptr %42, align 8, !tbaa !11
  %161 = load ptr, ptr %99, align 8, !tbaa !11
  %162 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %119)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %160, i64 noundef 1, ptr noundef %161, i64 noundef 1, i64 noundef %162)
  %163 = load ptr, ptr %99, align 8, !tbaa !11
  %164 = load ptr, ptr %100, align 8, !tbaa !11
  %165 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %119)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %163, i64 noundef 1, ptr noundef %164, i64 noundef 1, i64 noundef %165)
  %166 = load ptr, ptr %100, align 8, !tbaa !11
  %167 = load ptr, ptr %42, align 8, !tbaa !11
  %168 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %119)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %166, i64 noundef 1, ptr noundef %167, i64 noundef 1, i64 noundef %168)
  %exitcond307.not = icmp eq i64 %.0234279, %127
  br i1 %exitcond307.not, label %.preheader256.preheader, label %128, !llvm.loop !21

.preheader256.preheader:                          ; preds = %159, %118
  %xtraiter316 = and i64 %101, 3
  %lcmp.mod317.not = icmp eq i64 %xtraiter316, 0
  br i1 %lcmp.mod317.not, label %.preheader256.prol.loopexit, label %.preheader256.prol

.preheader256.prol:                               ; preds = %.preheader256.preheader, %.preheader256.prol
  %.0238282.prol = phi i64 [ %173, %.preheader256.prol ], [ %97, %.preheader256.preheader ]
  %prol.iter318 = phi i64 [ %prol.iter318.next, %.preheader256.prol ], [ 0, %.preheader256.preheader ]
  %169 = load ptr, ptr %100, align 8, !tbaa !11
  %170 = getelementptr inbounds double, ptr %169, i64 %.0238282.prol
  %171 = load double, ptr %170, align 8, !tbaa !12
  %172 = getelementptr inbounds i8, ptr %170, i64 8
  store double %171, ptr %172, align 8, !tbaa !12
  %173 = add nsw i64 %.0238282.prol, -1
  %prol.iter318.next = add i64 %prol.iter318, 1
  %prol.iter318.cmp.not = icmp eq i64 %prol.iter318.next, %xtraiter316
  br i1 %prol.iter318.cmp.not, label %.preheader256.prol.loopexit, label %.preheader256.prol, !llvm.loop !22

.preheader256.prol.loopexit:                      ; preds = %.preheader256.prol, %.preheader256.preheader
  %.0238282.unr = phi i64 [ %97, %.preheader256.preheader ], [ %173, %.preheader256.prol ]
  %174 = icmp ult i64 %3, 12
  br i1 %174, label %.unr-lcssa319, label %.preheader256

.preheader256:                                    ; preds = %.preheader256.prol.loopexit, %.preheader256
  %.0238282 = phi i64 [ %193, %.preheader256 ], [ %.0238282.unr, %.preheader256.prol.loopexit ]
  %175 = load ptr, ptr %100, align 8, !tbaa !11
  %176 = getelementptr inbounds double, ptr %175, i64 %.0238282
  %177 = load double, ptr %176, align 8, !tbaa !12
  %178 = getelementptr inbounds i8, ptr %176, i64 8
  store double %177, ptr %178, align 8, !tbaa !12
  %179 = load ptr, ptr %100, align 8, !tbaa !11
  %180 = getelementptr double, ptr %179, i64 %.0238282
  %181 = getelementptr i8, ptr %180, i64 -8
  %182 = load double, ptr %181, align 8, !tbaa !12
  store double %182, ptr %180, align 8, !tbaa !12
  %183 = load ptr, ptr %100, align 8, !tbaa !11
  %184 = getelementptr double, ptr %183, i64 %.0238282
  %185 = getelementptr i8, ptr %184, i64 -16
  %186 = load double, ptr %185, align 8, !tbaa !12
  %187 = getelementptr i8, ptr %184, i64 -8
  store double %186, ptr %187, align 8, !tbaa !12
  %188 = load ptr, ptr %100, align 8, !tbaa !11
  %189 = getelementptr double, ptr %188, i64 %.0238282
  %190 = getelementptr i8, ptr %189, i64 -24
  %191 = load double, ptr %190, align 8, !tbaa !12
  %192 = getelementptr i8, ptr %189, i64 -16
  store double %191, ptr %192, align 8, !tbaa !12
  %193 = add nsw i64 %.0238282, -4
  %194 = icmp sgt i64 %.0238282, 3
  br i1 %194, label %.preheader256, label %.unr-lcssa319, !llvm.loop !23

.unr-lcssa319:                                    ; preds = %.preheader256, %.preheader256.prol.loopexit
  %195 = add nsw i64 %21, -1
  %196 = add nsw i64 %48, -3
  %.not250290 = icmp sgt i64 %195, %196
  br i1 %.not250290, label %._crit_edge295, label %.lr.ph294

.lr.ph294:                                        ; preds = %.unr-lcssa319
  %197 = add nuw nsw i64 %21, 1
  br label %198

198:                                              ; preds = %.lr.ph294, %271
  %.1235292 = phi i64 [ %195, %.lr.ph294 ], [ %199, %271 ]
  %.1239291 = phi i64 [ -1, %.lr.ph294 ], [ %.2.lcssa, %271 ]
  %199 = add nsw i64 %.1235292, 1
  %200 = sub nuw nsw i64 %199, %21
  %201 = add nsw i64 %.1235292, -1
  %202 = sdiv i64 %201, 2
  %.not254283 = icmp sgt i64 %200, %202
  br i1 %.not254283, label %._crit_edge288, label %.lr.ph287

.lr.ph287:                                        ; preds = %198, %.lr.ph287
  %.1285 = phi i64 [ %232, %.lr.ph287 ], [ %200, %198 ]
  %.1237284 = phi double [ %231, %.lr.ph287 ], [ 0.000000e+00, %198 ]
  %203 = sub nsw i64 %.1235292, %.1285
  %204 = sub nsw i64 %195, %203
  %205 = load ptr, ptr %44, align 8, !tbaa !11
  %206 = add nuw i64 %197, %.1285
  %207 = getelementptr inbounds double, ptr %205, i64 %206
  %208 = load double, ptr %207, align 8, !tbaa !12
  %209 = getelementptr inbounds double, ptr %205, i64 %203
  %210 = load double, ptr %209, align 8, !tbaa !12
  %211 = fsub double %208, %210
  %212 = load ptr, ptr %99, align 8, !tbaa !11
  %213 = add nuw nsw i64 %204, 1
  %214 = getelementptr inbounds double, ptr %212, i64 %213
  %215 = load double, ptr %214, align 8, !tbaa !12
  %216 = fneg double %211
  %217 = call double @llvm.fmuladd.f64(double %216, double %215, double %.1237284)
  %218 = load ptr, ptr %35, align 8, !tbaa !11
  %219 = getelementptr inbounds double, ptr %218, i64 %206
  %220 = load double, ptr %219, align 8, !tbaa !12
  %221 = load ptr, ptr %100, align 8, !tbaa !11
  %222 = getelementptr inbounds double, ptr %221, i64 %213
  %223 = load double, ptr %222, align 8, !tbaa !12
  %224 = fneg double %220
  %225 = call double @llvm.fmuladd.f64(double %224, double %223, double %217)
  %226 = getelementptr inbounds double, ptr %218, i64 %203
  %227 = load double, ptr %226, align 8, !tbaa !12
  %228 = getelementptr double, ptr %221, i64 %204
  %229 = getelementptr i8, ptr %228, i64 16
  %230 = load double, ptr %229, align 8, !tbaa !12
  %231 = call double @llvm.fmuladd.f64(double %227, double %230, double %225)
  store double %231, ptr %222, align 8, !tbaa !12
  %232 = add nuw nsw i64 %.1285, 1
  %.not254.not = icmp slt i64 %.1285, %202
  br i1 %.not254.not, label %.lr.ph287, label %._crit_edge288, !llvm.loop !24

._crit_edge288:                                   ; preds = %.lr.ph287, %198
  %.2.lcssa = phi i64 [ %.1239291, %198 ], [ %204, %.lr.ph287 ]
  %233 = and i64 %.1235292, 1
  %234 = icmp eq i64 %233, 0
  %235 = load ptr, ptr %35, align 8, !tbaa !11
  br i1 %234, label %236, label %259

236:                                              ; preds = %._crit_edge288
  %237 = ashr exact i64 %.1235292, 1
  %238 = load ptr, ptr %44, align 8, !tbaa !11
  %239 = getelementptr inbounds double, ptr %238, i64 %237
  %240 = load double, ptr %239, align 8, !tbaa !12
  %241 = load ptr, ptr %100, align 8, !tbaa !11
  %242 = getelementptr double, ptr %241, i64 %.2.lcssa
  %243 = getelementptr i8, ptr %242, i64 8
  %244 = load double, ptr %243, align 8, !tbaa !12
  %245 = add i64 %197, %237
  %246 = getelementptr inbounds double, ptr %235, i64 %245
  %247 = load double, ptr %246, align 8, !tbaa !12
  %248 = add nsw i64 %.2.lcssa, 2
  %249 = getelementptr inbounds double, ptr %241, i64 %248
  %250 = load double, ptr %249, align 8, !tbaa !12
  %251 = fneg double %247
  %252 = call double @llvm.fmuladd.f64(double %251, double %250, double %244)
  %253 = load ptr, ptr %99, align 8, !tbaa !11
  %254 = getelementptr inbounds double, ptr %253, i64 %248
  %255 = load double, ptr %254, align 8, !tbaa !12
  %256 = fdiv double %252, %255
  %257 = fadd double %240, %256
  %258 = getelementptr inbounds double, ptr %238, i64 %245
  store double %257, ptr %258, align 8, !tbaa !12
  br label %271

259:                                              ; preds = %._crit_edge288
  %260 = lshr exact i64 %199, 1
  %261 = load ptr, ptr %100, align 8, !tbaa !11
  %262 = getelementptr double, ptr %261, i64 %.2.lcssa
  %263 = getelementptr i8, ptr %262, i64 8
  %264 = load double, ptr %263, align 8, !tbaa !12
  %265 = getelementptr i8, ptr %262, i64 16
  %266 = load double, ptr %265, align 8, !tbaa !12
  %267 = fdiv double %264, %266
  %268 = getelementptr double, ptr %235, i64 %260
  %269 = getelementptr double, ptr %268, i64 %21
  %270 = getelementptr i8, ptr %269, i64 8
  store double %267, ptr %270, align 8, !tbaa !12
  br label %271

271:                                              ; preds = %259, %236
  %272 = load ptr, ptr %42, align 8, !tbaa !11
  %273 = load ptr, ptr %99, align 8, !tbaa !11
  %274 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %119)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %272, i64 noundef 1, ptr noundef %273, i64 noundef 1, i64 noundef %274)
  %275 = load ptr, ptr %99, align 8, !tbaa !11
  %276 = load ptr, ptr %100, align 8, !tbaa !11
  %277 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %119)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %275, i64 noundef 1, ptr noundef %276, i64 noundef 1, i64 noundef %277)
  %278 = load ptr, ptr %100, align 8, !tbaa !11
  %279 = load ptr, ptr %42, align 8, !tbaa !11
  %280 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %119)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %278, i64 noundef 1, ptr noundef %279, i64 noundef 1, i64 noundef %280)
  %.not250.not = icmp slt i64 %.1235292, %196
  br i1 %.not250.not, label %198, label %._crit_edge295, !llvm.loop !25

._crit_edge295:                                   ; preds = %271, %.unr-lcssa319
  %281 = load ptr, ptr %44, align 8, !tbaa !11
  %282 = getelementptr inbounds double, ptr %281, i64 %195
  %283 = load double, ptr %282, align 8, !tbaa !12
  %284 = load ptr, ptr %35, align 8, !tbaa !11
  %285 = getelementptr inbounds double, ptr %284, i64 %48
  %286 = load double, ptr %285, align 8, !tbaa !12
  %287 = load ptr, ptr %100, align 8, !tbaa !11
  %288 = getelementptr inbounds i8, ptr %287, i64 8
  %289 = load double, ptr %288, align 8, !tbaa !12
  %290 = fmul double %286, %289
  %291 = load ptr, ptr %99, align 8, !tbaa !11
  %292 = getelementptr inbounds i8, ptr %291, i64 8
  %293 = load double, ptr %292, align 8, !tbaa !12
  %294 = fdiv double %290, %293
  %295 = fsub double %283, %294
  %296 = getelementptr inbounds double, ptr %281, i64 %48
  store double %295, ptr %296, align 8, !tbaa !12
  call void @_ZN11alglib_impl13gqgeneraterecEPNS_9ae_vectorES1_dlPlS1_S1_PNS_8ae_stateE(ptr noundef nonnull %11, ptr noundef nonnull %12, double noundef %2, i64 noundef %3, ptr noundef nonnull %4, ptr noundef %5, ptr noundef %6, ptr noundef %8)
  %297 = load i64, ptr %4, align 8, !tbaa !5
  %298 = icmp eq i64 %297, -2
  br i1 %298, label %._crit_edge304.sink.split, label %299

299:                                              ; preds = %._crit_edge295
  %300 = icmp slt i64 %297, 0
  br i1 %300, label %._crit_edge304, label %.preheader255

.preheader255:                                    ; preds = %299
  %.not251.not296.not = icmp eq i64 %48, 0
  br i1 %.not251.not296.not, label %._crit_edge299.thread, label %.lr.ph298

.lr.ph298:                                        ; preds = %.preheader255
  %301 = getelementptr inbounds i8, ptr %5, i64 56
  br label %302

302:                                              ; preds = %.lr.ph298, %311
  %.4297 = phi i64 [ 0, %.lr.ph298 ], [ %306, %311 ]
  %303 = load ptr, ptr %301, align 8, !tbaa !11
  %304 = getelementptr inbounds double, ptr %303, i64 %.4297
  %305 = load double, ptr %304, align 8, !tbaa !12
  %306 = add nuw nsw i64 %.4297, 1
  %307 = getelementptr inbounds double, ptr %303, i64 %306
  %308 = load double, ptr %307, align 8, !tbaa !12
  %309 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %305, double noundef %308)
  br i1 %309, label %310, label %311

310:                                              ; preds = %302
  store i64 -4, ptr %4, align 8, !tbaa !5
  br label %311

311:                                              ; preds = %302, %310
  %exitcond308.not = icmp eq i64 %306, %48
  br i1 %exitcond308.not, label %._crit_edge299, label %302, !llvm.loop !26

._crit_edge299:                                   ; preds = %311
  %.pre = load i64, ptr %4, align 8, !tbaa !5
  %312 = icmp slt i64 %.pre, 0
  br i1 %312, label %._crit_edge304, label %._crit_edge299.thread

._crit_edge299.thread:                            ; preds = %.preheader255, %._crit_edge299
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %7, i64 noundef %3, ptr noundef %8)
  %313 = getelementptr inbounds i8, ptr %7, i64 56
  %314 = add nsw i64 %3, -1
  %xtraiter321 = and i64 %3, 3
  %315 = icmp ult i64 %314, 3
  br i1 %315, label %.epil.preheader320, label %._crit_edge299.thread.new

._crit_edge299.thread.new:                        ; preds = %._crit_edge299.thread
  %unroll_iter323 = and i64 %3, 9223372036854775804
  br label %322

.epil.preheader320:                               ; preds = %._crit_edge299.thread, %322
  %.5300.unr = phi i64 [ 0, %._crit_edge299.thread ], [ %334, %322 ]
  br label %316

316:                                              ; preds = %316, %.epil.preheader320
  %.5300.epil = phi i64 [ %.5300.unr, %.epil.preheader320 ], [ %319, %316 ]
  %epil.iter = phi i64 [ 0, %.epil.preheader320 ], [ %epil.iter.next, %316 ]
  %317 = load ptr, ptr %313, align 8, !tbaa !11
  %318 = getelementptr inbounds double, ptr %317, i64 %.5300.epil
  store double 0.000000e+00, ptr %318, align 8, !tbaa !12
  %319 = add nuw nsw i64 %.5300.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter321
  br i1 %epil.iter.cmp.not, label %.preheader, label %316, !llvm.loop !27

.preheader:                                       ; preds = %316
  %.not253.not301.not = icmp ult i64 %3, 2
  br i1 %.not253.not301.not, label %._crit_edge304, label %.lr.ph303

.lr.ph303:                                        ; preds = %.preheader
  %320 = getelementptr inbounds i8, ptr %17, i64 56
  %321 = icmp eq i64 %195, 0
  br i1 %321, label %._crit_edge304.loopexit.unr-lcssa, label %.lr.ph303.new

.lr.ph303.new:                                    ; preds = %.lr.ph303
  %unroll_iter329 = and i64 %21, 4611686018427387902
  br label %335

322:                                              ; preds = %322, %._crit_edge299.thread.new
  %.5300 = phi i64 [ 0, %._crit_edge299.thread.new ], [ %334, %322 ]
  %niter324 = phi i64 [ 0, %._crit_edge299.thread.new ], [ %niter324.next.3, %322 ]
  %323 = load ptr, ptr %313, align 8, !tbaa !11
  %324 = getelementptr inbounds double, ptr %323, i64 %.5300
  store double 0.000000e+00, ptr %324, align 8, !tbaa !12
  %325 = or disjoint i64 %.5300, 1
  %326 = load ptr, ptr %313, align 8, !tbaa !11
  %327 = getelementptr inbounds double, ptr %326, i64 %325
  store double 0.000000e+00, ptr %327, align 8, !tbaa !12
  %328 = or disjoint i64 %.5300, 2
  %329 = load ptr, ptr %313, align 8, !tbaa !11
  %330 = getelementptr inbounds double, ptr %329, i64 %328
  store double 0.000000e+00, ptr %330, align 8, !tbaa !12
  %331 = or disjoint i64 %.5300, 3
  %332 = load ptr, ptr %313, align 8, !tbaa !11
  %333 = getelementptr inbounds double, ptr %332, i64 %331
  store double 0.000000e+00, ptr %333, align 8, !tbaa !12
  %334 = add nuw nsw i64 %.5300, 4
  %niter324.next.3 = add i64 %niter324, 4
  %niter324.ncmp.3 = icmp eq i64 %niter324.next.3, %unroll_iter323
  br i1 %niter324.ncmp.3, label %.epil.preheader320, label %322, !llvm.loop !28

335:                                              ; preds = %335, %.lr.ph303.new
  %.6302 = phi i64 [ 0, %.lr.ph303.new ], [ %351, %335 ]
  %niter330 = phi i64 [ 0, %.lr.ph303.new ], [ %niter330.next.1, %335 ]
  %336 = load ptr, ptr %320, align 8, !tbaa !11
  %337 = getelementptr inbounds double, ptr %336, i64 %.6302
  %338 = load double, ptr %337, align 8, !tbaa !12
  %339 = load ptr, ptr %313, align 8, !tbaa !11
  %340 = shl nuw nsw i64 %.6302, 1
  %341 = or disjoint i64 %340, 1
  %342 = getelementptr inbounds double, ptr %339, i64 %341
  store double %338, ptr %342, align 8, !tbaa !12
  %343 = or disjoint i64 %.6302, 1
  %344 = load ptr, ptr %320, align 8, !tbaa !11
  %345 = getelementptr inbounds double, ptr %344, i64 %343
  %346 = load double, ptr %345, align 8, !tbaa !12
  %347 = load ptr, ptr %313, align 8, !tbaa !11
  %348 = shl nuw nsw i64 %343, 1
  %349 = or disjoint i64 %348, 1
  %350 = getelementptr inbounds double, ptr %347, i64 %349
  store double %346, ptr %350, align 8, !tbaa !12
  %351 = add nuw nsw i64 %.6302, 2
  %niter330.next.1 = add i64 %niter330, 2
  %niter330.ncmp.1 = icmp eq i64 %niter330.next.1, %unroll_iter329
  br i1 %niter330.ncmp.1, label %._crit_edge304.loopexit.unr-lcssa, label %335, !llvm.loop !29

._crit_edge304.sink.split:                        ; preds = %30, %._crit_edge295, %9
  %.sink = phi i64 [ -1, %9 ], [ -5, %._crit_edge295 ], [ -2, %30 ]
  store i64 %.sink, ptr %4, align 8, !tbaa !5
  br label %._crit_edge304

._crit_edge304.loopexit.unr-lcssa:                ; preds = %335, %.lr.ph303
  %.6302.unr = phi i64 [ 0, %.lr.ph303 ], [ %351, %335 ]
  %352 = and i64 %3, 2
  %lcmp.mod328.not = icmp eq i64 %352, 0
  br i1 %lcmp.mod328.not, label %._crit_edge304, label %._crit_edge304.loopexit.epilog-lcssa

._crit_edge304.loopexit.epilog-lcssa:             ; preds = %._crit_edge304.loopexit.unr-lcssa
  %353 = load ptr, ptr %320, align 8, !tbaa !11
  %354 = getelementptr inbounds double, ptr %353, i64 %.6302.unr
  %355 = load double, ptr %354, align 8, !tbaa !12
  %356 = load ptr, ptr %313, align 8, !tbaa !11
  %357 = shl nuw nsw i64 %.6302.unr, 1
  %358 = or disjoint i64 %357, 1
  %359 = getelementptr inbounds double, ptr %356, i64 %358
  store double %355, ptr %359, align 8, !tbaa !12
  br label %._crit_edge304

._crit_edge304:                                   ; preds = %._crit_edge304.loopexit.epilog-lcssa, %._crit_edge304.loopexit.unr-lcssa, %._crit_edge304.sink.split, %.preheader, %._crit_edge299, %299, %._crit_edge
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %8)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  ret void
}

; 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_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) local_unnamed_addr #3

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef, double noundef) local_unnamed_addr #3

declare noundef i64 @_ZN11alglib_impl8ae_iceilEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #3

declare noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}


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