; LLVM IR from Dimandragon/non-parametric-dsp :: 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_impl13gqgeneraterecEPKNS_9ae_vectorES2_dlPlPS0_S4_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_impl14gkqgeneraterecEPKNS_9ae_vectorES2_dlPlPS0_S4_S4_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_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %20, ptr noundef %37, ptr noundef %38, i1 noundef zeroext true)
  %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_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %21, ptr noundef %39, ptr noundef %40, i1 noundef zeroext true)
  %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 %728

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

60:                                               ; preds = %81, %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 %84

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

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

80:                                               ; preds = %70
  br label %81

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

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

99:                                               ; preds = %84
  %100 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %100)
  store i32 1, ptr %35, align 4
  br label %728

101:                                              ; preds = %84
  %102 = load i64, ptr %13, align 8, !tbaa !11
  %103 = mul nsw i64 3, %102
  %104 = sitofp i64 %103 to double
  %105 = fdiv double %104, 2.000000e+00
  %106 = load ptr, ptr %18, align 8, !tbaa !5
  %107 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %105, ptr noundef %106)
  %108 = add nsw i64 %107, 1
  %109 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %108, ptr noundef %109)
  %110 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %111 = load ptr, ptr %110, align 8, !tbaa !13
  %112 = getelementptr inbounds double, ptr %111, i64 0
  %113 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %114 = load ptr, ptr %113, align 8, !tbaa !13
  %115 = getelementptr inbounds double, ptr %114, i64 0
  %116 = load i64, ptr %13, align 8, !tbaa !11
  %117 = mul nsw i64 3, %116
  %118 = sitofp i64 %117 to double
  %119 = fdiv double %118, 2.000000e+00
  %120 = load ptr, ptr %18, align 8, !tbaa !5
  %121 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %119, ptr noundef %120)
  %122 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %121)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %112, i64 noundef 1, ptr noundef %115, i64 noundef 1, i64 noundef %122)
  %123 = load i64, ptr %13, align 8, !tbaa !11
  %124 = mul nsw i64 2, %123
  %125 = add nsw i64 %124, 1
  %126 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %20, i64 noundef %125, ptr noundef %126)
  %127 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !13
  %129 = getelementptr inbounds double, ptr %128, i64 0
  %130 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !13
  %132 = getelementptr inbounds double, ptr %131, i64 0
  %133 = load i64, ptr %13, align 8, !tbaa !11
  %134 = mul nsw i64 3, %133
  %135 = sitofp i64 %134 to double
  %136 = fdiv double %135, 2.000000e+00
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = call noundef i64 @_ZN11alglib_impl9ae_ifloorEdPNS_8ae_stateE(double noundef %136, ptr noundef %137)
  %139 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %138)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %129, i64 noundef 1, ptr noundef %132, i64 noundef 1, i64 noundef %139)
  %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 = add nsw i64 %145, 1
  store i64 %146, ptr %23, align 8, !tbaa !11
  br label %147

147:                                              ; preds = %157, %101
  %148 = load i64, ptr %23, align 8, !tbaa !11
  %149 = load i64, ptr %13, align 8, !tbaa !11
  %150 = mul nsw i64 2, %149
  %151 = icmp sle i64 %148, %150
  br i1 %151, label %152, label %160

152:                                              ; preds = %147
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %154 = load ptr, ptr %153, align 8, !tbaa !13
  %155 = load i64, ptr %23, align 8, !tbaa !11
  %156 = getelementptr inbounds double, ptr %154, i64 %155
  store double 0.000000e+00, ptr %156, align 8, !tbaa !9
  br label %157

157:                                              ; preds = %152
  %158 = load i64, ptr %23, align 8, !tbaa !11
  %159 = add nsw i64 %158, 1
  store i64 %159, ptr %23, align 8, !tbaa !11
  br label %147, !llvm.loop !16

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

206:                                              ; preds = %216, %160
  %207 = load i64, ptr %23, align 8, !tbaa !11
  %208 = load i64, ptr %13, align 8, !tbaa !11
  %209 = mul nsw i64 2, %208
  %210 = icmp sle i64 %207, %209
  br i1 %210, label %211, label %219

211:                                              ; preds = %206
  %212 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %213 = load ptr, ptr %212, align 8, !tbaa !13
  %214 = load i64, ptr %23, align 8, !tbaa !11
  %215 = getelementptr inbounds double, ptr %213, i64 %214
  store double 0.000000e+00, ptr %215, align 8, !tbaa !9
  br label %216

216:                                              ; preds = %211
  %217 = load i64, ptr %23, align 8, !tbaa !11
  %218 = add nsw i64 %217, 1
  store i64 %218, ptr %23, align 8, !tbaa !11
  br label %206, !llvm.loop !17

219:                                              ; preds = %206
  %220 = load i64, ptr %13, align 8, !tbaa !11
  %221 = sdiv i64 %220, 2
  %222 = add nsw i64 2, %221
  store i64 %222, ptr %27, align 8, !tbaa !11
  %223 = load i64, ptr %27, align 8, !tbaa !11
  %224 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %25, i64 noundef %223, ptr noundef %224)
  %225 = load i64, ptr %27, align 8, !tbaa !11
  %226 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %26, i64 noundef %225, ptr noundef %226)
  %227 = load i64, ptr %27, align 8, !tbaa !11
  %228 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %227, ptr noundef %228)
  store i64 1, ptr %28, align 8, !tbaa !11
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %229

229:                                              ; preds = %243, %219
  %230 = load i64, ptr %23, align 8, !tbaa !11
  %231 = load i64, ptr %27, align 8, !tbaa !11
  %232 = sub nsw i64 %231, 1
  %233 = icmp sle i64 %230, %232
  br i1 %233, label %234, label %246

234:                                              ; preds = %229
  %235 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %236 = load ptr, ptr %235, align 8, !tbaa !13
  %237 = load i64, ptr %23, align 8, !tbaa !11
  %238 = getelementptr inbounds double, ptr %236, i64 %237
  store double 0.000000e+00, ptr %238, align 8, !tbaa !9
  %239 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %240 = load ptr, ptr %239, align 8, !tbaa !13
  %241 = load i64, ptr %23, align 8, !tbaa !11
  %242 = getelementptr inbounds double, ptr %240, i64 %241
  store double 0.000000e+00, ptr %242, align 8, !tbaa !9
  br label %243

243:                                              ; preds = %234
  %244 = load i64, ptr %23, align 8, !tbaa !11
  %245 = add nsw i64 %244, 1
  store i64 %245, ptr %23, align 8, !tbaa !11
  br label %229, !llvm.loop !18

246:                                              ; preds = %229
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !13
  %249 = load i64, ptr %13, align 8, !tbaa !11
  %250 = add nsw i64 %249, 1
  %251 = getelementptr inbounds double, ptr %248, i64 %250
  %252 = load double, ptr %251, align 8, !tbaa !9
  %253 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %254 = load ptr, ptr %253, align 8, !tbaa !13
  %255 = load i64, ptr %28, align 8, !tbaa !11
  %256 = add nsw i64 %255, 0
  %257 = getelementptr inbounds double, ptr %254, i64 %256
  store double %252, ptr %257, align 8, !tbaa !9
  store i64 0, ptr %30, align 8, !tbaa !11
  br label %258

258:                                              ; preds = %366, %246
  %259 = load i64, ptr %30, align 8, !tbaa !11
  %260 = load i64, ptr %13, align 8, !tbaa !11
  %261 = sub nsw i64 %260, 2
  %262 = icmp sle i64 %259, %261
  br i1 %262, label %263, label %369

263:                                              ; preds = %258
  store double 0.000000e+00, ptr %29, align 8, !tbaa !9
  %264 = load i64, ptr %30, align 8, !tbaa !11
  %265 = add nsw i64 %264, 1
  %266 = sdiv i64 %265, 2
  store i64 %266, ptr %32, align 8, !tbaa !11
  br label %267

267:                                              ; preds = %335, %263
  %268 = load i64, ptr %32, align 8, !tbaa !11
  %269 = icmp sge i64 %268, 0
  br i1 %269, label %270, label %338

270:                                              ; preds = %267
  %271 = load i64, ptr %30, align 8, !tbaa !11
  %272 = load i64, ptr %32, align 8, !tbaa !11
  %273 = sub nsw i64 %271, %272
  store i64 %273, ptr %31, align 8, !tbaa !11
  %274 = load double, ptr %29, align 8, !tbaa !9
  %275 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %276 = load ptr, ptr %275, align 8, !tbaa !13
  %277 = load i64, ptr %32, align 8, !tbaa !11
  %278 = load i64, ptr %13, align 8, !tbaa !11
  %279 = add nsw i64 %277, %278
  %280 = add nsw i64 %279, 1
  %281 = getelementptr inbounds double, ptr %276, i64 %280
  %282 = load double, ptr %281, align 8, !tbaa !9
  %283 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %284 = load ptr, ptr %283, align 8, !tbaa !13
  %285 = load i64, ptr %31, align 8, !tbaa !11
  %286 = getelementptr inbounds double, ptr %284, i64 %285
  %287 = load double, ptr %286, align 8, !tbaa !9
  %288 = fsub double %282, %287
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %290 = load ptr, ptr %289, align 8, !tbaa !13
  %291 = load i64, ptr %28, align 8, !tbaa !11
  %292 = load i64, ptr %32, align 8, !tbaa !11
  %293 = add nsw i64 %291, %292
  %294 = getelementptr inbounds double, ptr %290, i64 %293
  %295 = load double, ptr %294, align 8, !tbaa !9
  %296 = call double @llvm.fmuladd.f64(double %288, double %295, double %274)
  %297 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %298 = load ptr, ptr %297, align 8, !tbaa !13
  %299 = load i64, ptr %32, align 8, !tbaa !11
  %300 = load i64, ptr %13, align 8, !tbaa !11
  %301 = add nsw i64 %299, %300
  %302 = add nsw i64 %301, 1
  %303 = getelementptr inbounds double, ptr %298, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !9
  %305 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %306 = load ptr, ptr %305, align 8, !tbaa !13
  %307 = load i64, ptr %28, align 8, !tbaa !11
  %308 = load i64, ptr %32, align 8, !tbaa !11
  %309 = add nsw i64 %307, %308
  %310 = sub nsw i64 %309, 1
  %311 = getelementptr inbounds double, ptr %306, i64 %310
  %312 = load double, ptr %311, align 8, !tbaa !9
  %313 = call double @llvm.fmuladd.f64(double %304, double %312, double %296)
  %314 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %315 = load ptr, ptr %314, align 8, !tbaa !13
  %316 = load i64, ptr %31, align 8, !tbaa !11
  %317 = getelementptr inbounds double, ptr %315, i64 %316
  %318 = load double, ptr %317, align 8, !tbaa !9
  %319 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %320 = load ptr, ptr %319, align 8, !tbaa !13
  %321 = load i64, ptr %28, align 8, !tbaa !11
  %322 = load i64, ptr %32, align 8, !tbaa !11
  %323 = add nsw i64 %321, %322
  %324 = getelementptr inbounds double, ptr %320, i64 %323
  %325 = load double, ptr %324, align 8, !tbaa !9
  %326 = fneg double %318
  %327 = call double @llvm.fmuladd.f64(double %326, double %325, double %313)
  store double %327, ptr %29, align 8, !tbaa !9
  %328 = load double, ptr %29, align 8, !tbaa !9
  %329 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %330 = load ptr, ptr %329, align 8, !tbaa !13
  %331 = load i64, ptr %28, align 8, !tbaa !11
  %332 = load i64, ptr %32, align 8, !tbaa !11
  %333 = add nsw i64 %331, %332
  %334 = getelementptr inbounds double, ptr %330, i64 %333
  store double %328, ptr %334, align 8, !tbaa !9
  br label %335

335:                                              ; preds = %270
  %336 = load i64, ptr %32, align 8, !tbaa !11
  %337 = add nsw i64 %336, -1
  store i64 %337, ptr %32, align 8, !tbaa !11
  br label %267, !llvm.loop !19

338:                                              ; preds = %267
  %339 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %340 = load ptr, ptr %339, align 8, !tbaa !13
  %341 = getelementptr inbounds double, ptr %340, i64 0
  %342 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %343 = load ptr, ptr %342, align 8, !tbaa !13
  %344 = getelementptr inbounds double, ptr %343, i64 0
  %345 = load i64, ptr %27, align 8, !tbaa !11
  %346 = sub nsw i64 %345, 1
  %347 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %346)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %341, i64 noundef 1, ptr noundef %344, i64 noundef 1, i64 noundef %347)
  %348 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %349 = load ptr, ptr %348, align 8, !tbaa !13
  %350 = getelementptr inbounds double, ptr %349, i64 0
  %351 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %352 = load ptr, ptr %351, align 8, !tbaa !13
  %353 = getelementptr inbounds double, ptr %352, i64 0
  %354 = load i64, ptr %27, align 8, !tbaa !11
  %355 = sub nsw i64 %354, 1
  %356 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %355)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %350, i64 noundef 1, ptr noundef %353, i64 noundef 1, i64 noundef %356)
  %357 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %358 = load ptr, ptr %357, align 8, !tbaa !13
  %359 = getelementptr inbounds double, ptr %358, i64 0
  %360 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %361 = load ptr, ptr %360, align 8, !tbaa !13
  %362 = getelementptr inbounds double, ptr %361, i64 0
  %363 = load i64, ptr %27, align 8, !tbaa !11
  %364 = sub nsw i64 %363, 1
  %365 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %364)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %359, i64 noundef 1, ptr noundef %362, i64 noundef 1, i64 noundef %365)
  br label %366

366:                                              ; preds = %338
  %367 = load i64, ptr %30, align 8, !tbaa !11
  %368 = add nsw i64 %367, 1
  store i64 %368, ptr %30, align 8, !tbaa !11
  br label %258, !llvm.loop !20

369:                                              ; preds = %258
  %370 = load i64, ptr %13, align 8, !tbaa !11
  %371 = sdiv i64 %370, 2
  store i64 %371, ptr %24, align 8, !tbaa !11
  br label %372

372:                                              ; preds = %390, %369
  %373 = load i64, ptr %24, align 8, !tbaa !11
  %374 = icmp sge i64 %373, 0
  br i1 %374, label %375, label %393

375:                                              ; preds = %372
  %376 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %377 = load ptr, ptr %376, align 8, !tbaa !13
  %378 = load i64, ptr %28, align 8, !tbaa !11
  %379 = load i64, ptr %24, align 8, !tbaa !11
  %380 = add nsw i64 %378, %379
  %381 = sub nsw i64 %380, 1
  %382 = getelementptr inbounds double, ptr %377, i64 %381
  %383 = load double, ptr %382, align 8, !tbaa !9
  %384 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %385 = load ptr, ptr %384, align 8, !tbaa !13
  %386 = load i64, ptr %28, align 8, !tbaa !11
  %387 = load i64, ptr %24, align 8, !tbaa !11
  %388 = add nsw i64 %386, %387
  %389 = getelementptr inbounds double, ptr %385, i64 %388
  store double %383, ptr %389, align 8, !tbaa !9
  br label %390

390:                                              ; preds = %375
  %391 = load i64, ptr %24, align 8, !tbaa !11
  %392 = add nsw i64 %391, -1
  store i64 %392, ptr %24, align 8, !tbaa !11
  br label %372, !llvm.loop !21

393:                                              ; preds = %372
  %394 = load i64, ptr %13, align 8, !tbaa !11
  %395 = sub nsw i64 %394, 1
  store i64 %395, ptr %30, align 8, !tbaa !11
  br label %396

396:                                              ; preds = %595, %393
  %397 = load i64, ptr %30, align 8, !tbaa !11
  %398 = load i64, ptr %13, align 8, !tbaa !11
  %399 = mul nsw i64 2, %398
  %400 = sub nsw i64 %399, 3
  %401 = icmp sle i64 %397, %400
  br i1 %401, label %402, label %598

402:                                              ; preds = %396
  store double 0.000000e+00, ptr %29, align 8, !tbaa !9
  %403 = load i64, ptr %30, align 8, !tbaa !11
  %404 = add nsw i64 %403, 1
  %405 = load i64, ptr %13, align 8, !tbaa !11
  %406 = sub nsw i64 %404, %405
  store i64 %406, ptr %32, align 8, !tbaa !11
  br label %407

407:                                              ; preds = %483, %402
  %408 = load i64, ptr %32, align 8, !tbaa !11
  %409 = load i64, ptr %30, align 8, !tbaa !11
  %410 = sub nsw i64 %409, 1
  %411 = sdiv i64 %410, 2
  %412 = icmp sle i64 %408, %411
  br i1 %412, label %413, label %486

413:                                              ; preds = %407
  %414 = load i64, ptr %30, align 8, !tbaa !11
  %415 = load i64, ptr %32, align 8, !tbaa !11
  %416 = sub nsw i64 %414, %415
  store i64 %416, ptr %31, align 8, !tbaa !11
  %417 = load i64, ptr %13, align 8, !tbaa !11
  %418 = sub nsw i64 %417, 1
  %419 = load i64, ptr %31, align 8, !tbaa !11
  %420 = sub nsw i64 %418, %419
  store i64 %420, ptr %24, align 8, !tbaa !11
  %421 = load double, ptr %29, align 8, !tbaa !9
  %422 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %423 = load ptr, ptr %422, align 8, !tbaa !13
  %424 = load i64, ptr %32, align 8, !tbaa !11
  %425 = load i64, ptr %13, align 8, !tbaa !11
  %426 = add nsw i64 %424, %425
  %427 = add nsw i64 %426, 1
  %428 = getelementptr inbounds double, ptr %423, i64 %427
  %429 = load double, ptr %428, align 8, !tbaa !9
  %430 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %431 = load ptr, ptr %430, align 8, !tbaa !13
  %432 = load i64, ptr %31, align 8, !tbaa !11
  %433 = getelementptr inbounds double, ptr %431, i64 %432
  %434 = load double, ptr %433, align 8, !tbaa !9
  %435 = fsub double %429, %434
  %436 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %437 = load ptr, ptr %436, align 8, !tbaa !13
  %438 = load i64, ptr %28, align 8, !tbaa !11
  %439 = load i64, ptr %24, align 8, !tbaa !11
  %440 = add nsw i64 %438, %439
  %441 = getelementptr inbounds double, ptr %437, i64 %440
  %442 = load double, ptr %441, align 8, !tbaa !9
  %443 = fneg double %435
  %444 = call double @llvm.fmuladd.f64(double %443, double %442, double %421)
  %445 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %446 = load ptr, ptr %445, align 8, !tbaa !13
  %447 = load i64, ptr %32, align 8, !tbaa !11
  %448 = load i64, ptr %13, align 8, !tbaa !11
  %449 = add nsw i64 %447, %448
  %450 = add nsw i64 %449, 1
  %451 = getelementptr inbounds double, ptr %446, i64 %450
  %452 = load double, ptr %451, align 8, !tbaa !9
  %453 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %454 = load ptr, ptr %453, align 8, !tbaa !13
  %455 = load i64, ptr %28, align 8, !tbaa !11
  %456 = load i64, ptr %24, align 8, !tbaa !11
  %457 = add nsw i64 %455, %456
  %458 = getelementptr inbounds double, ptr %454, i64 %457
  %459 = load double, ptr %458, align 8, !tbaa !9
  %460 = fneg double %452
  %461 = call double @llvm.fmuladd.f64(double %460, double %459, double %444)
  %462 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %463 = load ptr, ptr %462, align 8, !tbaa !13
  %464 = load i64, ptr %31, align 8, !tbaa !11
  %465 = getelementptr inbounds double, ptr %463, i64 %464
  %466 = load double, ptr %465, align 8, !tbaa !9
  %467 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %468 = load ptr, ptr %467, align 8, !tbaa !13
  %469 = load i64, ptr %28, align 8, !tbaa !11
  %470 = load i64, ptr %24, align 8, !tbaa !11
  %471 = add nsw i64 %469, %470
  %472 = add nsw i64 %471, 1
  %473 = getelementptr inbounds double, ptr %468, i64 %472
  %474 = load double, ptr %473, align 8, !tbaa !9
  %475 = call double @llvm.fmuladd.f64(double %466, double %474, double %461)
  store double %475, ptr %29, align 8, !tbaa !9
  %476 = load double, ptr %29, align 8, !tbaa !9
  %477 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %478 = load ptr, ptr %477, align 8, !tbaa !13
  %479 = load i64, ptr %28, align 8, !tbaa !11
  %480 = load i64, ptr %24, align 8, !tbaa !11
  %481 = add nsw i64 %479, %480
  %482 = getelementptr inbounds double, ptr %478, i64 %481
  store double %476, ptr %482, align 8, !tbaa !9
  br label %483

483:                                              ; preds = %413
  %484 = load i64, ptr %32, align 8, !tbaa !11
  %485 = add nsw i64 %484, 1
  store i64 %485, ptr %32, align 8, !tbaa !11
  br label %407, !llvm.loop !22

486:                                              ; preds = %407
  %487 = load i64, ptr %30, align 8, !tbaa !11
  %488 = srem i64 %487, 2
  %489 = icmp eq i64 %488, 0
  br i1 %489, label %490, label %540

490:                                              ; preds = %486
  %491 = load i64, ptr %30, align 8, !tbaa !11
  %492 = sdiv i64 %491, 2
  store i64 %492, ptr %32, align 8, !tbaa !11
  %493 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %494 = load ptr, ptr %493, align 8, !tbaa !13
  %495 = load i64, ptr %32, align 8, !tbaa !11
  %496 = getelementptr inbounds double, ptr %494, i64 %495
  %497 = load double, ptr %496, 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
  %504 = load double, ptr %503, align 8, !tbaa !9
  %505 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %506 = load ptr, ptr %505, align 8, !tbaa !13
  %507 = load i64, ptr %32, align 8, !tbaa !11
  %508 = load i64, ptr %13, align 8, !tbaa !11
  %509 = add nsw i64 %507, %508
  %510 = add nsw i64 %509, 1
  %511 = getelementptr inbounds double, ptr %506, i64 %510
  %512 = load double, ptr %511, align 8, !tbaa !9
  %513 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %514 = load ptr, ptr %513, align 8, !tbaa !13
  %515 = load i64, ptr %28, align 8, !tbaa !11
  %516 = load i64, ptr %24, align 8, !tbaa !11
  %517 = add nsw i64 %515, %516
  %518 = add nsw i64 %517, 1
  %519 = getelementptr inbounds double, ptr %514, i64 %518
  %520 = load double, ptr %519, align 8, !tbaa !9
  %521 = fneg double %512
  %522 = call double @llvm.fmuladd.f64(double %521, double %520, double %504)
  %523 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %524 = load ptr, ptr %523, align 8, !tbaa !13
  %525 = load i64, ptr %28, align 8, !tbaa !11
  %526 = load i64, ptr %24, align 8, !tbaa !11
  %527 = add nsw i64 %525, %526
  %528 = add nsw i64 %527, 1
  %529 = getelementptr inbounds double, ptr %524, i64 %528
  %530 = load double, ptr %529, align 8, !tbaa !9
  %531 = fdiv double %522, %530
  %532 = fadd double %497, %531
  %533 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %534 = load ptr, ptr %533, align 8, !tbaa !13
  %535 = load i64, ptr %32, align 8, !tbaa !11
  %536 = load i64, ptr %13, align 8, !tbaa !11
  %537 = add nsw i64 %535, %536
  %538 = add nsw i64 %537, 1
  %539 = getelementptr inbounds double, ptr %534, i64 %538
  store double %532, ptr %539, align 8, !tbaa !9
  br label %567

540:                                              ; preds = %486
  %541 = load i64, ptr %30, align 8, !tbaa !11
  %542 = add nsw i64 %541, 1
  %543 = sdiv i64 %542, 2
  store i64 %543, ptr %32, align 8, !tbaa !11
  %544 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %545 = load ptr, ptr %544, align 8, !tbaa !13
  %546 = load i64, ptr %28, align 8, !tbaa !11
  %547 = load i64, ptr %24, align 8, !tbaa !11
  %548 = add nsw i64 %546, %547
  %549 = getelementptr inbounds double, ptr %545, i64 %548
  %550 = load double, ptr %549, align 8, !tbaa !9
  %551 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %552 = load ptr, ptr %551, align 8, !tbaa !13
  %553 = load i64, ptr %28, align 8, !tbaa !11
  %554 = load i64, ptr %24, align 8, !tbaa !11
  %555 = add nsw i64 %553, %554
  %556 = add nsw i64 %555, 1
  %557 = getelementptr inbounds double, ptr %552, i64 %556
  %558 = load double, ptr %557, align 8, !tbaa !9
  %559 = fdiv double %550, %558
  %560 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %561 = load ptr, ptr %560, align 8, !tbaa !13
  %562 = load i64, ptr %32, align 8, !tbaa !11
  %563 = load i64, ptr %13, align 8, !tbaa !11
  %564 = add nsw i64 %562, %563
  %565 = add nsw i64 %564, 1
  %566 = getelementptr inbounds double, ptr %561, i64 %565
  store double %559, ptr %566, align 8, !tbaa !9
  br label %567

567:                                              ; preds = %540, %490
  %568 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %569 = load ptr, ptr %568, align 8, !tbaa !13
  %570 = getelementptr inbounds double, ptr %569, i64 0
  %571 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %572 = load ptr, ptr %571, align 8, !tbaa !13
  %573 = getelementptr inbounds double, ptr %572, i64 0
  %574 = load i64, ptr %27, align 8, !tbaa !11
  %575 = sub nsw i64 %574, 1
  %576 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %575)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %570, i64 noundef 1, ptr noundef %573, i64 noundef 1, i64 noundef %576)
  %577 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %578 = load ptr, ptr %577, align 8, !tbaa !13
  %579 = getelementptr inbounds double, ptr %578, i64 0
  %580 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %581 = load ptr, ptr %580, align 8, !tbaa !13
  %582 = getelementptr inbounds double, ptr %581, i64 0
  %583 = load i64, ptr %27, align 8, !tbaa !11
  %584 = sub nsw i64 %583, 1
  %585 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %584)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %579, i64 noundef 1, ptr noundef %582, i64 noundef 1, i64 noundef %585)
  %586 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %587 = load ptr, ptr %586, align 8, !tbaa !13
  %588 = getelementptr inbounds double, ptr %587, i64 0
  %589 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %590 = load ptr, ptr %589, align 8, !tbaa !13
  %591 = getelementptr inbounds double, ptr %590, i64 0
  %592 = load i64, ptr %27, align 8, !tbaa !11
  %593 = sub nsw i64 %592, 1
  %594 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %593)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %588, i64 noundef 1, ptr noundef %591, i64 noundef 1, i64 noundef %594)
  br label %595

595:                                              ; preds = %567
  %596 = load i64, ptr %30, align 8, !tbaa !11
  %597 = add nsw i64 %596, 1
  store i64 %597, ptr %30, align 8, !tbaa !11
  br label %396, !llvm.loop !23

598:                                              ; preds = %396
  %599 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %600 = load ptr, ptr %599, align 8, !tbaa !13
  %601 = load i64, ptr %13, align 8, !tbaa !11
  %602 = sub nsw i64 %601, 1
  %603 = getelementptr inbounds double, ptr %600, i64 %602
  %604 = load double, ptr %603, align 8, !tbaa !9
  %605 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %606 = load ptr, ptr %605, align 8, !tbaa !13
  %607 = load i64, ptr %13, align 8, !tbaa !11
  %608 = mul nsw i64 2, %607
  %609 = getelementptr inbounds double, ptr %606, i64 %608
  %610 = load double, ptr %609, align 8, !tbaa !9
  %611 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %612 = load ptr, ptr %611, align 8, !tbaa !13
  %613 = load i64, ptr %28, align 8, !tbaa !11
  %614 = add nsw i64 %613, 0
  %615 = getelementptr inbounds double, ptr %612, i64 %614
  %616 = load double, ptr %615, align 8, !tbaa !9
  %617 = fmul double %610, %616
  %618 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %619 = load ptr, ptr %618, align 8, !tbaa !13
  %620 = load i64, ptr %28, align 8, !tbaa !11
  %621 = add nsw i64 %620, 0
  %622 = getelementptr inbounds double, ptr %619, i64 %621
  %623 = load double, ptr %622, align 8, !tbaa !9
  %624 = fdiv double %617, %623
  %625 = fsub double %604, %624
  %626 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %627 = load ptr, ptr %626, align 8, !tbaa !13
  %628 = load i64, ptr %13, align 8, !tbaa !11
  %629 = mul nsw i64 2, %628
  %630 = getelementptr inbounds double, ptr %627, i64 %629
  store double %625, ptr %630, align 8, !tbaa !9
  %631 = load double, ptr %12, align 8, !tbaa !9
  %632 = load i64, ptr %13, align 8, !tbaa !11
  %633 = mul nsw i64 2, %632
  %634 = add nsw i64 %633, 1
  %635 = load ptr, ptr %14, align 8, !tbaa !5
  %636 = load ptr, ptr %15, align 8, !tbaa !5
  %637 = load ptr, ptr %16, align 8, !tbaa !5
  %638 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl13gqgeneraterecEPKNS_9ae_vectorES2_dlPlPS0_S4_PNS_8ae_stateE(ptr noundef %20, ptr noundef %21, double noundef %631, i64 noundef %634, ptr noundef %635, ptr noundef %636, ptr noundef %637, ptr noundef %638)
  %639 = load ptr, ptr %14, align 8, !tbaa !5
  %640 = load i64, ptr %639, align 8, !tbaa !11
  %641 = icmp eq i64 %640, -2
  br i1 %641, label %642, label %644

642:                                              ; preds = %598
  %643 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 -5, ptr %643, align 8, !tbaa !11
  br label %644

644:                                              ; preds = %642, %598
  %645 = load ptr, ptr %14, align 8, !tbaa !5
  %646 = load i64, ptr %645, align 8, !tbaa !11
  %647 = icmp slt i64 %646, 0
  br i1 %647, label %648, label %650

648:                                              ; preds = %644
  %649 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %649)
  store i32 1, ptr %35, align 4
  br label %728

650:                                              ; preds = %644
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %651

651:                                              ; preds = %675, %650
  %652 = load i64, ptr %23, align 8, !tbaa !11
  %653 = load i64, ptr %13, align 8, !tbaa !11
  %654 = mul nsw i64 2, %653
  %655 = sub nsw i64 %654, 1
  %656 = icmp sle i64 %652, %655
  br i1 %656, label %657, label %678

657:                                              ; preds = %651
  %658 = load ptr, ptr %15, align 8, !tbaa !5
  %659 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %658, i32 0, i32 4
  %660 = load ptr, ptr %659, align 8, !tbaa !13
  %661 = load i64, ptr %23, align 8, !tbaa !11
  %662 = getelementptr inbounds double, ptr %660, i64 %661
  %663 = load double, ptr %662, align 8, !tbaa !9
  %664 = load ptr, ptr %15, align 8, !tbaa !5
  %665 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %664, i32 0, i32 4
  %666 = load ptr, ptr %665, align 8, !tbaa !13
  %667 = load i64, ptr %23, align 8, !tbaa !11
  %668 = add nsw i64 %667, 1
  %669 = getelementptr inbounds double, ptr %666, i64 %668
  %670 = load double, ptr %669, align 8, !tbaa !9
  %671 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %663, double noundef %670)
  br i1 %671, label %672, label %674

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

674:                                              ; preds = %672, %657
  br label %675

675:                                              ; preds = %674
  %676 = load i64, ptr %23, align 8, !tbaa !11
  %677 = add nsw i64 %676, 1
  store i64 %677, ptr %23, align 8, !tbaa !11
  br label %651, !llvm.loop !24

678:                                              ; preds = %651
  %679 = load ptr, ptr %14, align 8, !tbaa !5
  %680 = load i64, ptr %679, align 8, !tbaa !11
  %681 = icmp slt i64 %680, 0
  br i1 %681, label %682, label %684

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

684:                                              ; preds = %678
  %685 = load ptr, ptr %17, align 8, !tbaa !5
  %686 = load i64, ptr %13, align 8, !tbaa !11
  %687 = mul nsw i64 2, %686
  %688 = add nsw i64 %687, 1
  %689 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %685, i64 noundef %688, ptr noundef %689)
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %690

690:                                              ; preds = %701, %684
  %691 = load i64, ptr %23, align 8, !tbaa !11
  %692 = load i64, ptr %13, align 8, !tbaa !11
  %693 = mul nsw i64 2, %692
  %694 = icmp sle i64 %691, %693
  br i1 %694, label %695, label %704

695:                                              ; preds = %690
  %696 = load ptr, ptr %17, align 8, !tbaa !5
  %697 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %696, i32 0, i32 4
  %698 = load ptr, ptr %697, align 8, !tbaa !13
  %699 = load i64, ptr %23, align 8, !tbaa !11
  %700 = getelementptr inbounds double, ptr %698, i64 %699
  store double 0.000000e+00, ptr %700, align 8, !tbaa !9
  br label %701

701:                                              ; preds = %695
  %702 = load i64, ptr %23, align 8, !tbaa !11
  %703 = add nsw i64 %702, 1
  store i64 %703, ptr %23, align 8, !tbaa !11
  br label %690, !llvm.loop !25

704:                                              ; preds = %690
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %705

705:                                              ; preds = %723, %704
  %706 = load i64, ptr %23, align 8, !tbaa !11
  %707 = load i64, ptr %13, align 8, !tbaa !11
  %708 = sub nsw i64 %707, 1
  %709 = icmp sle i64 %706, %708
  br i1 %709, label %710, label %726

710:                                              ; preds = %705
  %711 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 4
  %712 = load ptr, ptr %711, align 8, !tbaa !13
  %713 = load i64, ptr %23, align 8, !tbaa !11
  %714 = getelementptr inbounds double, ptr %712, i64 %713
  %715 = load double, ptr %714, align 8, !tbaa !9
  %716 = load ptr, ptr %17, align 8, !tbaa !5
  %717 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %716, i32 0, i32 4
  %718 = load ptr, ptr %717, align 8, !tbaa !13
  %719 = load i64, ptr %23, align 8, !tbaa !11
  %720 = mul nsw i64 2, %719
  %721 = add nsw i64 %720, 1
  %722 = getelementptr inbounds double, ptr %718, i64 %721
  store double %715, ptr %722, align 8, !tbaa !9
  br label %723

723:                                              ; preds = %710
  %724 = load i64, ptr %23, align 8, !tbaa !11
  %725 = add nsw i64 %724, 1
  store i64 %725, ptr %23, align 8, !tbaa !11
  br label %705, !llvm.loop !26

726:                                              ; preds = %705
  %727 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %727)
  store i32 0, ptr %35, align 4
  br label %728

728:                                              ; preds = %726, %682, %648, %99, %77, %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
  %729 = load i32, ptr %35, align 4
  switch i32 %729, label %731 [
    i32 0, label %730
    i32 1, label %730
  ]

730:                                              ; preds = %728, %728
  ret void

731:                                              ; preds = %728
  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_vectorEPKS0_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_impl13gqgeneraterecEPKNS_9ae_vectorES2_dlPlPS0_S4_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_impl14gkqgeneraterecEPKNS_9ae_vectorES2_dlPlPS0_S4_S4_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_vectorEPKS0_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_vectorEPKS0_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_edge274.sink.split, label %.preheader227

.preheader227:                                    ; 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)
  %.not232 = icmp slt i64 %25, 0
  br i1 %.not232, label %._crit_edge, label %.lr.ph

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

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

30:                                               ; preds = %.lr.ph, %27
  %.0208233 = phi i64 [ 0, %.lr.ph ], [ %28, %27 ]
  %31 = load ptr, ptr %26, align 8, !tbaa !11
  %32 = getelementptr inbounds double, ptr %31, i64 %.0208233
  %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_edge274.sink.split, label %27

._crit_edge:                                      ; preds = %27, %.preheader227
  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_impl13gqgeneraterecEPKNS_9ae_vectorES2_dlPlPS0_S4_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_edge274, 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)
  %.not216.not235 = icmp slt i64 %53, %48
  br i1 %.not216.not235, label %.lr.ph238.preheader, label %._crit_edge239

.lr.ph238.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.ph238.prol.loopexit, label %.lr.ph238.prol

.lr.ph238.prol:                                   ; preds = %.lr.ph238.preheader, %.lr.ph238.prol
  %.1209.in236.prol = phi i64 [ %.1209.prol, %.lr.ph238.prol ], [ %53, %.lr.ph238.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph238.prol ], [ 0, %.lr.ph238.preheader ]
  %.1209.prol = add nsw i64 %.1209.in236.prol, 1
  %55 = load ptr, ptr %44, align 8, !tbaa !11
  %56 = getelementptr inbounds double, ptr %55, i64 %.1209.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.ph238.prol.loopexit, label %.lr.ph238.prol, !llvm.loop !14

.lr.ph238.prol.loopexit:                          ; preds = %.lr.ph238.prol, %.lr.ph238.preheader
  %.1209.in236.unr = phi i64 [ %53, %.lr.ph238.preheader ], [ %.1209.prol, %.lr.ph238.prol ]
  %57 = sub i64 %53, %48
  %58 = icmp ugt i64 %57, -4
  br i1 %58, label %._crit_edge239, label %.lr.ph238

.lr.ph238:                                        ; preds = %.lr.ph238.prol.loopexit, %.lr.ph238
  %.1209.in236 = phi i64 [ %.1209.3, %.lr.ph238 ], [ %.1209.in236.unr, %.lr.ph238.prol.loopexit ]
  %59 = load ptr, ptr %44, align 8, !tbaa !11
  %60 = getelementptr double, ptr %59, i64 %.1209.in236
  %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 %.1209.in236
  %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 %.1209.in236
  %67 = getelementptr i8, ptr %66, i64 24
  store double 0.000000e+00, ptr %67, align 8, !tbaa !12
  %.1209.3 = add nsw i64 %.1209.in236, 4
  %68 = load ptr, ptr %44, align 8, !tbaa !11
  %69 = getelementptr inbounds double, ptr %68, i64 %.1209.3
  store double 0.000000e+00, ptr %69, align 8, !tbaa !12
  %exitcond.not.3 = icmp eq i64 %.1209.3, %48
  br i1 %exitcond.not.3, label %._crit_edge239, label %.lr.ph238, !llvm.loop !16

._crit_edge239:                                   ; preds = %.lr.ph238.prol.loopexit, %.lr.ph238, %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)
  %.not217.not240 = icmp slt i64 %80, %48
  br i1 %.not217.not240, label %.lr.ph243.preheader, label %._crit_edge244

.lr.ph243.preheader:                              ; preds = %._crit_edge239
  %81 = sub i64 %48, %80
  %xtraiter281 = and i64 %81, 3
  %lcmp.mod282.not = icmp eq i64 %xtraiter281, 0
  br i1 %lcmp.mod282.not, label %.lr.ph243.prol.loopexit, label %.lr.ph243.prol

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

.lr.ph243.prol.loopexit:                          ; preds = %.lr.ph243.prol, %.lr.ph243.preheader
  %.2.in241.unr = phi i64 [ %80, %.lr.ph243.preheader ], [ %.2.prol, %.lr.ph243.prol ]
  %84 = sub i64 %80, %48
  %85 = icmp ugt i64 %84, -4
  br i1 %85, label %._crit_edge244, label %.lr.ph243

.lr.ph243:                                        ; preds = %.lr.ph243.prol.loopexit, %.lr.ph243
  %.2.in241 = phi i64 [ %.2.3, %.lr.ph243 ], [ %.2.in241.unr, %.lr.ph243.prol.loopexit ]
  %86 = load ptr, ptr %35, align 8, !tbaa !11
  %87 = getelementptr double, ptr %86, i64 %.2.in241
  %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 %.2.in241
  %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 %.2.in241
  %94 = getelementptr i8, ptr %93, i64 24
  store double 0.000000e+00, ptr %94, align 8, !tbaa !12
  %.2.3 = add nsw i64 %.2.in241, 4
  %95 = load ptr, ptr %35, align 8, !tbaa !11
  %96 = getelementptr inbounds double, ptr %95, i64 %.2.3
  store double 0.000000e+00, ptr %96, align 8, !tbaa !12
  %exitcond275.not.3 = icmp eq i64 %.2.3, %48
  br i1 %exitcond275.not.3, label %._crit_edge244, label %.lr.ph243, !llvm.loop !18

._crit_edge244:                                   ; preds = %.lr.ph243.prol.loopexit, %.lr.ph243, %._crit_edge239
  %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_edge244
  %.3245 = phi i64 [ 0, %._crit_edge244 ], [ %112, %102 ]
  %niter = phi i64 [ 0, %._crit_edge244 ], [ %niter.next.1, %102 ]
  %103 = load ptr, ptr %99, align 8, !tbaa !11
  %104 = getelementptr inbounds double, ptr %103, i64 %.3245
  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 %.3245
  store double 0.000000e+00, ptr %106, align 8, !tbaa !12
  %107 = or disjoint i64 %.3245, 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 %.3245, 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.mod285.not = icmp eq i64 %113, 0
  br i1 %lcmp.mod285.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
  %.not219248 = icmp ult i64 %3, 4
  br i1 %.not219248, label %.preheader226.preheader, label %.lr.ph251

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

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

131:                                              ; preds = %128, %131
  %.0247 = phi i64 [ %130, %128 ], [ %158, %131 ]
  %.0206246 = phi double [ 0.000000e+00, %128 ], [ %157, %131 ]
  %132 = sub nsw i64 %.0204249, %.0247
  %133 = load ptr, ptr %44, align 8, !tbaa !11
  %134 = add nuw nsw i64 %126, %.0247
  %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 %.0247, 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 %.0206246)
  %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 %.0247
  %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 %.0247, -1
  %.not = icmp eq i64 %.0247, 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)
  %exitcond277.not = icmp eq i64 %.0204249, %127
  br i1 %exitcond277.not, label %.preheader226.preheader, label %128, !llvm.loop !21

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

.preheader226.prol:                               ; preds = %.preheader226.preheader, %.preheader226.prol
  %.0210252.prol = phi i64 [ %173, %.preheader226.prol ], [ %97, %.preheader226.preheader ]
  %prol.iter288 = phi i64 [ %prol.iter288.next, %.preheader226.prol ], [ 0, %.preheader226.preheader ]
  %169 = load ptr, ptr %100, align 8, !tbaa !11
  %170 = getelementptr inbounds double, ptr %169, i64 %.0210252.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 %.0210252.prol, -1
  %prol.iter288.next = add i64 %prol.iter288, 1
  %prol.iter288.cmp.not = icmp eq i64 %prol.iter288.next, %xtraiter286
  br i1 %prol.iter288.cmp.not, label %.preheader226.prol.loopexit, label %.preheader226.prol, !llvm.loop !22

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

.preheader226:                                    ; preds = %.preheader226.prol.loopexit, %.preheader226
  %.0210252 = phi i64 [ %193, %.preheader226 ], [ %.0210252.unr, %.preheader226.prol.loopexit ]
  %175 = load ptr, ptr %100, align 8, !tbaa !11
  %176 = getelementptr inbounds double, ptr %175, i64 %.0210252
  %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 %.0210252
  %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 %.0210252
  %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 %.0210252
  %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 %.0210252, -4
  %194 = icmp sgt i64 %.0210252, 3
  br i1 %194, label %.preheader226, label %.unr-lcssa289, !llvm.loop !23

.unr-lcssa289:                                    ; preds = %.preheader226, %.preheader226.prol.loopexit
  %195 = add nsw i64 %21, -1
  %196 = add nsw i64 %48, -3
  %.not220260 = icmp sgt i64 %195, %196
  br i1 %.not220260, label %._crit_edge265, label %.lr.ph264

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

198:                                              ; preds = %.lr.ph264, %271
  %.1205262 = phi i64 [ %195, %.lr.ph264 ], [ %199, %271 ]
  %.1211261 = phi i64 [ -1, %.lr.ph264 ], [ %.2212.lcssa, %271 ]
  %199 = add nsw i64 %.1205262, 1
  %200 = sub nuw nsw i64 %199, %21
  %201 = add nsw i64 %.1205262, -1
  %202 = sdiv i64 %201, 2
  %.not224253 = icmp sgt i64 %200, %202
  br i1 %.not224253, label %._crit_edge258, label %.lr.ph257

.lr.ph257:                                        ; preds = %198, %.lr.ph257
  %.1255 = phi i64 [ %232, %.lr.ph257 ], [ %200, %198 ]
  %.1207254 = phi double [ %231, %.lr.ph257 ], [ 0.000000e+00, %198 ]
  %203 = sub nsw i64 %.1205262, %.1255
  %204 = sub nsw i64 %195, %203
  %205 = load ptr, ptr %44, align 8, !tbaa !11
  %206 = add nuw i64 %197, %.1255
  %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 %.1207254)
  %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 %.1255, 1
  %.not224.not = icmp slt i64 %.1255, %202
  br i1 %.not224.not, label %.lr.ph257, label %._crit_edge258, !llvm.loop !24

._crit_edge258:                                   ; preds = %.lr.ph257, %198
  %.2212.lcssa = phi i64 [ %.1211261, %198 ], [ %204, %.lr.ph257 ]
  %233 = and i64 %.1205262, 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_edge258
  %237 = ashr exact i64 %.1205262, 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 %.2212.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 %.2212.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_edge258
  %260 = lshr exact i64 %199, 1
  %261 = load ptr, ptr %100, align 8, !tbaa !11
  %262 = getelementptr double, ptr %261, i64 %.2212.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)
  %.not220.not = icmp slt i64 %.1205262, %196
  br i1 %.not220.not, label %198, label %._crit_edge265, !llvm.loop !25

._crit_edge265:                                   ; preds = %271, %.unr-lcssa289
  %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_impl13gqgeneraterecEPKNS_9ae_vectorES2_dlPlPS0_S4_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_edge274.sink.split, label %299

299:                                              ; preds = %._crit_edge265
  %300 = icmp slt i64 %297, 0
  br i1 %300, label %._crit_edge274, label %.preheader225

.preheader225:                                    ; preds = %299
  %.not221.not266.not = icmp eq i64 %48, 0
  br i1 %.not221.not266.not, label %._crit_edge269.thread, label %.lr.ph268

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

302:                                              ; preds = %.lr.ph268, %311
  %.4267 = phi i64 [ 0, %.lr.ph268 ], [ %306, %311 ]
  %303 = load ptr, ptr %301, align 8, !tbaa !11
  %304 = getelementptr inbounds double, ptr %303, i64 %.4267
  %305 = load double, ptr %304, align 8, !tbaa !12
  %306 = add nuw nsw i64 %.4267, 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
  %exitcond278.not = icmp eq i64 %306, %48
  br i1 %exitcond278.not, label %._crit_edge269, label %302, !llvm.loop !26

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

._crit_edge269.thread:                            ; preds = %.preheader225, %._crit_edge269
  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
  %xtraiter291 = and i64 %3, 3
  %315 = icmp ult i64 %314, 3
  br i1 %315, label %.epil.preheader290, label %._crit_edge269.thread.new

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

.epil.preheader290:                               ; preds = %._crit_edge269.thread, %322
  %.5270.unr = phi i64 [ 0, %._crit_edge269.thread ], [ %334, %322 ]
  br label %316

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

.preheader:                                       ; preds = %316
  %.not223.not271.not = icmp ult i64 %3, 2
  br i1 %.not223.not271.not, label %._crit_edge274, label %.lr.ph273

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

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

322:                                              ; preds = %322, %._crit_edge269.thread.new
  %.5270 = phi i64 [ 0, %._crit_edge269.thread.new ], [ %334, %322 ]
  %niter294 = phi i64 [ 0, %._crit_edge269.thread.new ], [ %niter294.next.3, %322 ]
  %323 = load ptr, ptr %313, align 8, !tbaa !11
  %324 = getelementptr inbounds double, ptr %323, i64 %.5270
  store double 0.000000e+00, ptr %324, align 8, !tbaa !12
  %325 = or disjoint i64 %.5270, 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 %.5270, 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 %.5270, 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 %.5270, 4
  %niter294.next.3 = add i64 %niter294, 4
  %niter294.ncmp.3 = icmp eq i64 %niter294.next.3, %unroll_iter293
  br i1 %niter294.ncmp.3, label %.epil.preheader290, label %322, !llvm.loop !28

335:                                              ; preds = %335, %.lr.ph273.new
  %.6272 = phi i64 [ 0, %.lr.ph273.new ], [ %351, %335 ]
  %niter300 = phi i64 [ 0, %.lr.ph273.new ], [ %niter300.next.1, %335 ]
  %336 = load ptr, ptr %320, align 8, !tbaa !11
  %337 = getelementptr inbounds double, ptr %336, i64 %.6272
  %338 = load double, ptr %337, align 8, !tbaa !12
  %339 = load ptr, ptr %313, align 8, !tbaa !11
  %340 = shl nuw nsw i64 %.6272, 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 %.6272, 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 %.6272, 2
  %niter300.next.1 = add i64 %niter300, 2
  %niter300.ncmp.1 = icmp eq i64 %niter300.next.1, %unroll_iter299
  br i1 %niter300.ncmp.1, label %._crit_edge274.loopexit.unr-lcssa, label %335, !llvm.loop !29

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

._crit_edge274.loopexit.unr-lcssa:                ; preds = %335, %.lr.ph273
  %.6272.unr = phi i64 [ 0, %.lr.ph273 ], [ %351, %335 ]
  %352 = and i64 %3, 2
  %lcmp.mod298.not = icmp eq i64 %352, 0
  br i1 %lcmp.mod298.not, label %._crit_edge274, label %._crit_edge274.loopexit.epilog-lcssa

._crit_edge274.loopexit.epilog-lcssa:             ; preds = %._crit_edge274.loopexit.unr-lcssa
  %353 = load ptr, ptr %320, align 8, !tbaa !11
  %354 = getelementptr inbounds double, ptr %353, i64 %.6272.unr
  %355 = load double, ptr %354, align 8, !tbaa !12
  %356 = load ptr, ptr %313, align 8, !tbaa !11
  %357 = shl nuw nsw i64 %.6272.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_edge274

._crit_edge274:                                   ; preds = %._crit_edge274.loopexit.epilog-lcssa, %._crit_edge274.loopexit.unr-lcssa, %._crit_edge274.sink.split, %.preheader, %._crit_edge269, %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_vectorEPKS0_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