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

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

@.str.327 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.410 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.411 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.412 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.413 = external hidden unnamed_addr constant [43 x i8], align 1

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

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

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl29lstfitpiecewiselinearrdpfixedEPNS_9ae_vectorES1_llS1_S1_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #3 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.alglib_impl::ae_frame", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca %"struct.alglib_impl::ae_vector", align 8
  %27 = alloca %"struct.alglib_impl::ae_vector", align 8
  %28 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca double, align 8
  %31 = alloca i64, align 8
  %32 = alloca double, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca %"struct.alglib_impl::ae_vector", align 8
  %38 = alloca %"struct.alglib_impl::ae_vector", align 8
  %39 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i64 %2, ptr %11, align 8, !tbaa !9
  store i64 %3, ptr %12, align 8, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #4
  %40 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %40, ptr noundef %17)
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %38, i8 0, i64 64, i1 false)
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %18, ptr noundef %41, ptr noundef %42, i1 noundef zeroext true)
  store ptr %18, ptr %9, align 8, !tbaa !5
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %19, ptr noundef %43, ptr noundef %44, i1 noundef zeroext true)
  store ptr %19, ptr %10, align 8, !tbaa !5
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %45)
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %46)
  %47 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 0, ptr %47, align 8, !tbaa !9
  %48 = load ptr, ptr %16, 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 %48, i1 noundef zeroext true)
  %49 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %27, i64 noundef 0, i64 noundef 3, ptr noundef %49, i1 noundef zeroext true)
  %50 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %28, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %50, i1 noundef zeroext true)
  %51 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %29, i64 noundef 0, i64 noundef 3, ptr noundef %51, i1 noundef zeroext true)
  %52 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %37, i64 noundef 0, i64 noundef 3, ptr noundef %52, i1 noundef zeroext true)
  %53 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %38, i64 noundef 0, i64 noundef 2, ptr noundef %53, i1 noundef zeroext true)
  %54 = load i64, ptr %11, align 8, !tbaa !9
  %55 = icmp sge i64 %54, 0
  %56 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %55, ptr noundef @.str.410, ptr noundef %56)
  %57 = load i64, ptr %12, align 8, !tbaa !9
  %58 = icmp sge i64 %57, 1
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %58, ptr noundef @.str.411, ptr noundef %59)
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %60, i32 0, i32 0
  %62 = load i64, ptr %61, align 8, !tbaa !11
  %63 = load i64, ptr %11, align 8, !tbaa !9
  %64 = icmp sge i64 %62, %63
  %65 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %64, ptr noundef @.str.412, ptr noundef %65)
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %66, i32 0, i32 0
  %68 = load i64, ptr %67, align 8, !tbaa !11
  %69 = load i64, ptr %11, align 8, !tbaa !9
  %70 = icmp sge i64 %68, %69
  %71 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %70, ptr noundef @.str.413, ptr noundef %71)
  %72 = load i64, ptr %11, align 8, !tbaa !9
  %73 = icmp sle i64 %72, 1
  br i1 %73, label %74, label %77

74:                                               ; preds = %8
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 0, ptr %75, align 8, !tbaa !9
  %76 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %76)
  store i32 1, ptr %39, align 4
  br label %493

77:                                               ; preds = %8
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = load i64, ptr %11, align 8, !tbaa !9
  %81 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl12tagsortfastrEPNS_9ae_vectorES1_S1_S1_lPNS_8ae_stateE(ptr noundef %78, ptr noundef %79, ptr noundef %26, ptr noundef %27, i64 noundef %80, ptr noundef %81)
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %151, %77
  %83 = load i64, ptr %20, align 8, !tbaa !9
  %84 = load i64, ptr %11, align 8, !tbaa !9
  %85 = sub nsw i64 %84, 1
  %86 = icmp sle i64 %83, %85
  br i1 %86, label %87, label %153

87:                                               ; preds = %82
  %88 = load i64, ptr %20, align 8, !tbaa !9
  %89 = add nsw i64 %88, 1
  store i64 %89, ptr %21, align 8, !tbaa !9
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %90, i32 0, i32 4
  %92 = load ptr, ptr %91, align 8, !tbaa !15
  %93 = load i64, ptr %20, align 8, !tbaa !9
  %94 = getelementptr inbounds double, ptr %92, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !16
  store double %95, ptr %30, align 8, !tbaa !16
  br label %96

96:                                               ; preds = %117, %87
  %97 = load i64, ptr %21, align 8, !tbaa !9
  %98 = load i64, ptr %11, align 8, !tbaa !9
  %99 = sub nsw i64 %98, 1
  %100 = icmp sle i64 %97, %99
  br i1 %100, label %101, label %115

101:                                              ; preds = %96
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %102, i32 0, i32 4
  %104 = load ptr, ptr %103, align 8, !tbaa !15
  %105 = load i64, ptr %21, align 8, !tbaa !9
  %106 = getelementptr inbounds double, ptr %104, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !16
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %108, i32 0, i32 4
  %110 = load ptr, ptr %109, align 8, !tbaa !15
  %111 = load i64, ptr %20, align 8, !tbaa !9
  %112 = getelementptr inbounds double, ptr %110, i64 %111
  %113 = load double, ptr %112, align 8, !tbaa !16
  %114 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %107, double noundef %113)
  br label %115

115:                                              ; preds = %101, %96
  %116 = phi i1 [ false, %96 ], [ %114, %101 ]
  br i1 %116, label %117, label %128

117:                                              ; preds = %115
  %118 = load double, ptr %30, align 8, !tbaa !16
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %119, i32 0, i32 4
  %121 = load ptr, ptr %120, align 8, !tbaa !15
  %122 = load i64, ptr %21, align 8, !tbaa !9
  %123 = getelementptr inbounds double, ptr %121, i64 %122
  %124 = load double, ptr %123, align 8, !tbaa !16
  %125 = fadd double %118, %124
  store double %125, ptr %30, align 8, !tbaa !16
  %126 = load i64, ptr %21, align 8, !tbaa !9
  %127 = add nsw i64 %126, 1
  store i64 %127, ptr %21, align 8, !tbaa !9
  br label %96, !llvm.loop !18

128:                                              ; preds = %115
  %129 = load double, ptr %30, align 8, !tbaa !16
  %130 = load i64, ptr %21, align 8, !tbaa !9
  %131 = load i64, ptr %20, align 8, !tbaa !9
  %132 = sub nsw i64 %130, %131
  %133 = sitofp i64 %132 to double
  %134 = fdiv double %129, %133
  store double %134, ptr %30, align 8, !tbaa !16
  %135 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %135, ptr %22, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %148, %128
  %137 = load i64, ptr %22, align 8, !tbaa !9
  %138 = load i64, ptr %21, align 8, !tbaa !9
  %139 = sub nsw i64 %138, 1
  %140 = icmp sle i64 %137, %139
  br i1 %140, label %141, label %151

141:                                              ; preds = %136
  %142 = load double, ptr %30, align 8, !tbaa !16
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %143, i32 0, i32 4
  %145 = load ptr, ptr %144, align 8, !tbaa !15
  %146 = load i64, ptr %22, align 8, !tbaa !9
  %147 = getelementptr inbounds double, ptr %145, i64 %146
  store double %142, ptr %147, align 8, !tbaa !16
  br label %148

148:                                              ; preds = %141
  %149 = load i64, ptr %22, align 8, !tbaa !9
  %150 = add nsw i64 %149, 1
  store i64 %150, ptr %22, align 8, !tbaa !9
  br label %136, !llvm.loop !20

151:                                              ; preds = %136
  %152 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %152, ptr %20, align 8, !tbaa !9
  br label %82, !llvm.loop !21

153:                                              ; preds = %82
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %154, i32 0, i32 4
  %156 = load ptr, ptr %155, align 8, !tbaa !15
  %157 = load i64, ptr %11, align 8, !tbaa !9
  %158 = sub nsw i64 %157, 1
  %159 = getelementptr inbounds double, ptr %156, i64 %158
  %160 = load double, ptr %159, align 8, !tbaa !16
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %161, i32 0, i32 4
  %163 = load ptr, ptr %162, align 8, !tbaa !15
  %164 = getelementptr inbounds double, ptr %163, i64 0
  %165 = load double, ptr %164, align 8, !tbaa !16
  %166 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %160, double noundef %165)
  br i1 %166, label %167, label %170

167:                                              ; preds = %153
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 0, ptr %168, align 8, !tbaa !9
  %169 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %169)
  store i32 1, ptr %39, align 4
  br label %493

170:                                              ; preds = %153
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = load ptr, ptr %10, align 8, !tbaa !5
  %173 = load i64, ptr %11, align 8, !tbaa !9
  %174 = sub nsw i64 %173, 1
  %175 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef %171, ptr noundef %172, i64 noundef 0, i64 noundef %174, ptr noundef %31, ptr noundef %32, ptr noundef %175)
  %176 = load i64, ptr %12, align 8, !tbaa !9
  %177 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %28, i64 noundef %176, i64 noundef 4, ptr noundef %177)
  %178 = load i64, ptr %12, align 8, !tbaa !9
  %179 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %37, i64 noundef %178, ptr noundef %179)
  %180 = load i64, ptr %12, align 8, !tbaa !9
  %181 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %38, i64 noundef %180, ptr noundef %181)
  %182 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 1, ptr %182, align 8, !tbaa !9
  %183 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %184 = load ptr, ptr %183, align 8, !tbaa !15
  %185 = getelementptr inbounds ptr, ptr %184, i64 0
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i64 0
  store double 0.000000e+00, ptr %187, align 8, !tbaa !16
  %188 = load i64, ptr %11, align 8, !tbaa !9
  %189 = sub nsw i64 %188, 1
  %190 = sitofp i64 %189 to double
  %191 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %192 = load ptr, ptr %191, align 8, !tbaa !15
  %193 = getelementptr inbounds ptr, ptr %192, i64 0
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = getelementptr inbounds double, ptr %194, i64 1
  store double %190, ptr %195, align 8, !tbaa !16
  %196 = load i64, ptr %31, align 8, !tbaa !9
  %197 = sitofp i64 %196 to double
  %198 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %199 = load ptr, ptr %198, align 8, !tbaa !15
  %200 = getelementptr inbounds ptr, ptr %199, i64 0
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = getelementptr inbounds double, ptr %201, i64 2
  store double %197, ptr %202, align 8, !tbaa !16
  %203 = load double, ptr %32, align 8, !tbaa !16
  %204 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %205 = load ptr, ptr %204, align 8, !tbaa !15
  %206 = getelementptr inbounds ptr, ptr %205, i64 0
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = getelementptr inbounds double, ptr %207, i64 3
  store double %203, ptr %208, align 8, !tbaa !16
  %209 = load double, ptr %32, align 8, !tbaa !16
  %210 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %211 = load ptr, ptr %210, align 8, !tbaa !15
  %212 = getelementptr inbounds double, ptr %211, i64 0
  store double %209, ptr %212, align 8, !tbaa !16
  %213 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %214 = load ptr, ptr %213, align 8, !tbaa !15
  %215 = getelementptr inbounds i64, ptr %214, i64 0
  store i64 0, ptr %215, align 8, !tbaa !9
  %216 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %217 = load ptr, ptr %216, align 8, !tbaa !15
  %218 = getelementptr inbounds ptr, ptr %217, i64 0
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  %220 = getelementptr inbounds double, ptr %219, i64 1
  %221 = load double, ptr %220, align 8, !tbaa !16
  %222 = load i64, ptr %11, align 8, !tbaa !9
  %223 = sub nsw i64 %222, 1
  %224 = sitofp i64 %223 to double
  %225 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %221, double noundef %224)
  %226 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %225, ptr noundef @.str.327, ptr noundef %226)
  br label %227

227:                                              ; preds = %239, %170
  %228 = load ptr, ptr %15, align 8, !tbaa !5
  %229 = load i64, ptr %228, align 8, !tbaa !9
  %230 = load i64, ptr %12, align 8, !tbaa !9
  %231 = icmp slt i64 %229, %230
  br i1 %231, label %232, label %357

232:                                              ; preds = %227
  %233 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 4
  %234 = load ptr, ptr %233, align 8, !tbaa !15
  %235 = getelementptr inbounds double, ptr %234, i64 0
  %236 = load double, ptr %235, align 8, !tbaa !16
  %237 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %236, double noundef 0.000000e+00)
  br i1 %237, label %238, label %239

238:                                              ; preds = %232
  br label %357

239:                                              ; preds = %232
  %240 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %38, i32 0, i32 4
  %241 = load ptr, ptr %240, align 8, !tbaa !15
  %242 = getelementptr inbounds i64, ptr %241, i64 0
  %243 = load i64, ptr %242, align 8, !tbaa !9
  store i64 %243, ptr %22, align 8, !tbaa !9
  %244 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %245 = load ptr, ptr %244, align 8, !tbaa !15
  %246 = load i64, ptr %22, align 8, !tbaa !9
  %247 = getelementptr inbounds ptr, ptr %245, i64 %246
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  %249 = getelementptr inbounds double, ptr %248, i64 0
  %250 = load double, ptr %249, align 8, !tbaa !16
  %251 = load ptr, ptr %16, align 8, !tbaa !5
  %252 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %250, ptr noundef %251)
  store i64 %252, ptr %23, align 8, !tbaa !9
  %253 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %254 = load ptr, ptr %253, align 8, !tbaa !15
  %255 = load i64, ptr %22, align 8, !tbaa !9
  %256 = getelementptr inbounds ptr, ptr %254, i64 %255
  %257 = load ptr, ptr %256, align 8, !tbaa !5
  %258 = getelementptr inbounds double, ptr %257, i64 1
  %259 = load double, ptr %258, align 8, !tbaa !16
  %260 = load ptr, ptr %16, align 8, !tbaa !5
  %261 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %259, ptr noundef %260)
  store i64 %261, ptr %24, align 8, !tbaa !9
  %262 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %263 = load ptr, ptr %262, align 8, !tbaa !15
  %264 = load i64, ptr %22, align 8, !tbaa !9
  %265 = getelementptr inbounds ptr, ptr %263, i64 %264
  %266 = load ptr, ptr %265, align 8, !tbaa !5
  %267 = getelementptr inbounds double, ptr %266, i64 2
  %268 = load double, ptr %267, align 8, !tbaa !16
  %269 = load ptr, ptr %16, align 8, !tbaa !5
  %270 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %268, ptr noundef %269)
  store i64 %270, ptr %25, align 8, !tbaa !9
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = load ptr, ptr %10, align 8, !tbaa !5
  %273 = load i64, ptr %23, align 8, !tbaa !9
  %274 = load i64, ptr %25, align 8, !tbaa !9
  %275 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef %271, ptr noundef %272, i64 noundef %273, i64 noundef %274, ptr noundef %33, ptr noundef %35, ptr noundef %275)
  %276 = load ptr, ptr %9, align 8, !tbaa !5
  %277 = load ptr, ptr %10, align 8, !tbaa !5
  %278 = load i64, ptr %25, align 8, !tbaa !9
  %279 = load i64, ptr %24, align 8, !tbaa !9
  %280 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef %276, ptr noundef %277, i64 noundef %278, i64 noundef %279, ptr noundef %34, ptr noundef %36, ptr noundef %280)
  %281 = load i64, ptr %23, align 8, !tbaa !9
  %282 = sitofp i64 %281 to double
  %283 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %284 = load ptr, ptr %283, align 8, !tbaa !15
  %285 = load i64, ptr %22, align 8, !tbaa !9
  %286 = getelementptr inbounds ptr, ptr %284, i64 %285
  %287 = load ptr, ptr %286, align 8, !tbaa !5
  %288 = getelementptr inbounds double, ptr %287, i64 0
  store double %282, ptr %288, align 8, !tbaa !16
  %289 = load i64, ptr %25, align 8, !tbaa !9
  %290 = sitofp i64 %289 to double
  %291 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %292 = load ptr, ptr %291, align 8, !tbaa !15
  %293 = load i64, ptr %22, align 8, !tbaa !9
  %294 = getelementptr inbounds ptr, ptr %292, i64 %293
  %295 = load ptr, ptr %294, align 8, !tbaa !5
  %296 = getelementptr inbounds double, ptr %295, i64 1
  store double %290, ptr %296, align 8, !tbaa !16
  %297 = load i64, ptr %33, align 8, !tbaa !9
  %298 = sitofp i64 %297 to double
  %299 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %300 = load ptr, ptr %299, align 8, !tbaa !15
  %301 = load i64, ptr %22, align 8, !tbaa !9
  %302 = getelementptr inbounds ptr, ptr %300, i64 %301
  %303 = load ptr, ptr %302, align 8, !tbaa !5
  %304 = getelementptr inbounds double, ptr %303, i64 2
  store double %298, ptr %304, align 8, !tbaa !16
  %305 = load double, ptr %35, align 8, !tbaa !16
  %306 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %307 = load ptr, ptr %306, align 8, !tbaa !15
  %308 = load i64, ptr %22, align 8, !tbaa !9
  %309 = getelementptr inbounds ptr, ptr %307, i64 %308
  %310 = load ptr, ptr %309, align 8, !tbaa !5
  %311 = getelementptr inbounds double, ptr %310, i64 3
  store double %305, ptr %311, align 8, !tbaa !16
  %312 = load ptr, ptr %15, align 8, !tbaa !5
  %313 = load i64, ptr %312, align 8, !tbaa !9
  %314 = load double, ptr %35, align 8, !tbaa !16
  %315 = load i64, ptr %22, align 8, !tbaa !9
  %316 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl18tagheapreplacetopiEPNS_9ae_vectorES1_ldlPNS_8ae_stateE(ptr noundef %37, ptr noundef %38, i64 noundef %313, double noundef %314, i64 noundef %315, ptr noundef %316)
  %317 = load i64, ptr %25, align 8, !tbaa !9
  %318 = sitofp i64 %317 to double
  %319 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %320 = load ptr, ptr %319, align 8, !tbaa !15
  %321 = load ptr, ptr %15, align 8, !tbaa !5
  %322 = load i64, ptr %321, align 8, !tbaa !9
  %323 = getelementptr inbounds ptr, ptr %320, i64 %322
  %324 = load ptr, ptr %323, align 8, !tbaa !5
  %325 = getelementptr inbounds double, ptr %324, i64 0
  store double %318, ptr %325, align 8, !tbaa !16
  %326 = load i64, ptr %24, align 8, !tbaa !9
  %327 = sitofp i64 %326 to double
  %328 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %329 = load ptr, ptr %328, align 8, !tbaa !15
  %330 = load ptr, ptr %15, align 8, !tbaa !5
  %331 = load i64, ptr %330, align 8, !tbaa !9
  %332 = getelementptr inbounds ptr, ptr %329, i64 %331
  %333 = load ptr, ptr %332, align 8, !tbaa !5
  %334 = getelementptr inbounds double, ptr %333, i64 1
  store double %327, ptr %334, align 8, !tbaa !16
  %335 = load i64, ptr %34, align 8, !tbaa !9
  %336 = sitofp i64 %335 to double
  %337 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %338 = load ptr, ptr %337, align 8, !tbaa !15
  %339 = load ptr, ptr %15, align 8, !tbaa !5
  %340 = load i64, ptr %339, align 8, !tbaa !9
  %341 = getelementptr inbounds ptr, ptr %338, i64 %340
  %342 = load ptr, ptr %341, align 8, !tbaa !5
  %343 = getelementptr inbounds double, ptr %342, i64 2
  store double %336, ptr %343, align 8, !tbaa !16
  %344 = load double, ptr %36, align 8, !tbaa !16
  %345 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %346 = load ptr, ptr %345, align 8, !tbaa !15
  %347 = load ptr, ptr %15, align 8, !tbaa !5
  %348 = load i64, ptr %347, align 8, !tbaa !9
  %349 = getelementptr inbounds ptr, ptr %346, i64 %348
  %350 = load ptr, ptr %349, align 8, !tbaa !5
  %351 = getelementptr inbounds double, ptr %350, i64 3
  store double %344, ptr %351, align 8, !tbaa !16
  %352 = load ptr, ptr %15, align 8, !tbaa !5
  %353 = load double, ptr %36, align 8, !tbaa !16
  %354 = load ptr, ptr %15, align 8, !tbaa !5
  %355 = load i64, ptr %354, align 8, !tbaa !9
  %356 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl12tagheappushiEPNS_9ae_vectorES1_PldlPNS_8ae_stateE(ptr noundef %37, ptr noundef %38, ptr noundef %352, double noundef %353, i64 noundef %355, ptr noundef %356)
  br label %227, !llvm.loop !22

357:                                              ; preds = %238, %227
  %358 = load ptr, ptr %15, align 8, !tbaa !5
  %359 = load i64, ptr %358, align 8, !tbaa !9
  %360 = add nsw i64 %359, 1
  %361 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %29, i64 noundef %360, ptr noundef %361)
  %362 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %363 = load ptr, ptr %362, align 8, !tbaa !15
  %364 = getelementptr inbounds ptr, ptr %363, i64 0
  %365 = load ptr, ptr %364, align 8, !tbaa !5
  %366 = getelementptr inbounds double, ptr %365, i64 1
  %367 = load double, ptr %366, align 8, !tbaa !16
  %368 = load ptr, ptr %16, align 8, !tbaa !5
  %369 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %367, ptr noundef %368)
  store i64 %369, ptr %22, align 8, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %370

370:                                              ; preds = %423, %357
  %371 = load i64, ptr %20, align 8, !tbaa !9
  %372 = load ptr, ptr %15, align 8, !tbaa !5
  %373 = load i64, ptr %372, align 8, !tbaa !9
  %374 = sub nsw i64 %373, 1
  %375 = icmp sle i64 %371, %374
  br i1 %375, label %376, label %426

376:                                              ; preds = %370
  %377 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %378 = load ptr, ptr %377, align 8, !tbaa !15
  %379 = load i64, ptr %20, align 8, !tbaa !9
  %380 = getelementptr inbounds ptr, ptr %378, i64 %379
  %381 = load ptr, ptr %380, align 8, !tbaa !5
  %382 = getelementptr inbounds double, ptr %381, i64 0
  %383 = load double, ptr %382, align 8, !tbaa !16
  %384 = load ptr, ptr %16, align 8, !tbaa !5
  %385 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %383, ptr noundef %384)
  %386 = sitofp i64 %385 to double
  %387 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %388 = load ptr, ptr %387, align 8, !tbaa !15
  %389 = load i64, ptr %20, align 8, !tbaa !9
  %390 = getelementptr inbounds double, ptr %388, i64 %389
  store double %386, ptr %390, align 8, !tbaa !16
  %391 = load ptr, ptr %9, align 8, !tbaa !5
  %392 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %391, i32 0, i32 4
  %393 = load ptr, ptr %392, align 8, !tbaa !15
  %394 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %395 = load ptr, ptr %394, align 8, !tbaa !15
  %396 = load i64, ptr %20, align 8, !tbaa !9
  %397 = getelementptr inbounds ptr, ptr %395, i64 %396
  %398 = load ptr, ptr %397, align 8, !tbaa !5
  %399 = getelementptr inbounds double, ptr %398, i64 1
  %400 = load double, ptr %399, align 8, !tbaa !16
  %401 = load ptr, ptr %16, align 8, !tbaa !5
  %402 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %400, ptr noundef %401)
  %403 = getelementptr inbounds double, ptr %393, i64 %402
  %404 = load double, ptr %403, align 8, !tbaa !16
  %405 = load ptr, ptr %9, align 8, !tbaa !5
  %406 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %405, i32 0, i32 4
  %407 = load ptr, ptr %406, align 8, !tbaa !15
  %408 = load i64, ptr %22, align 8, !tbaa !9
  %409 = getelementptr inbounds double, ptr %407, i64 %408
  %410 = load double, ptr %409, align 8, !tbaa !16
  %411 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %404, double noundef %410)
  br i1 %411, label %412, label %422

412:                                              ; preds = %376
  %413 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %28, i32 0, i32 6
  %414 = load ptr, ptr %413, align 8, !tbaa !15
  %415 = load i64, ptr %20, align 8, !tbaa !9
  %416 = getelementptr inbounds ptr, ptr %414, i64 %415
  %417 = load ptr, ptr %416, align 8, !tbaa !5
  %418 = getelementptr inbounds double, ptr %417, i64 1
  %419 = load double, ptr %418, align 8, !tbaa !16
  %420 = load ptr, ptr %16, align 8, !tbaa !5
  %421 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %419, ptr noundef %420)
  store i64 %421, ptr %22, align 8, !tbaa !9
  br label %422

422:                                              ; preds = %412, %376
  br label %423

423:                                              ; preds = %422
  %424 = load i64, ptr %20, align 8, !tbaa !9
  %425 = add nsw i64 %424, 1
  store i64 %425, ptr %20, align 8, !tbaa !9
  br label %370, !llvm.loop !23

426:                                              ; preds = %370
  %427 = load i64, ptr %22, align 8, !tbaa !9
  %428 = sitofp i64 %427 to double
  %429 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %430 = load ptr, ptr %429, align 8, !tbaa !15
  %431 = load ptr, ptr %15, align 8, !tbaa !5
  %432 = load i64, ptr %431, align 8, !tbaa !9
  %433 = getelementptr inbounds double, ptr %430, i64 %432
  store double %428, ptr %433, align 8, !tbaa !16
  %434 = load ptr, ptr %15, align 8, !tbaa !5
  %435 = load i64, ptr %434, align 8, !tbaa !9
  %436 = add nsw i64 %435, 1
  %437 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl11tagsortfastEPNS_9ae_vectorES1_lPNS_8ae_stateE(ptr noundef %29, ptr noundef %26, i64 noundef %436, ptr noundef %437)
  %438 = load ptr, ptr %13, align 8, !tbaa !5
  %439 = load ptr, ptr %15, align 8, !tbaa !5
  %440 = load i64, ptr %439, align 8, !tbaa !9
  %441 = add nsw i64 %440, 1
  %442 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %438, i64 noundef %441, ptr noundef %442)
  %443 = load ptr, ptr %14, align 8, !tbaa !5
  %444 = load ptr, ptr %15, align 8, !tbaa !5
  %445 = load i64, ptr %444, align 8, !tbaa !9
  %446 = add nsw i64 %445, 1
  %447 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %443, i64 noundef %446, ptr noundef %447)
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %448

448:                                              ; preds = %488, %426
  %449 = load i64, ptr %20, align 8, !tbaa !9
  %450 = load ptr, ptr %15, align 8, !tbaa !5
  %451 = load i64, ptr %450, align 8, !tbaa !9
  %452 = icmp sle i64 %449, %451
  br i1 %452, label %453, label %491

453:                                              ; preds = %448
  %454 = load ptr, ptr %9, align 8, !tbaa !5
  %455 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %454, i32 0, i32 4
  %456 = load ptr, ptr %455, align 8, !tbaa !15
  %457 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %458 = load ptr, ptr %457, align 8, !tbaa !15
  %459 = load i64, ptr %20, align 8, !tbaa !9
  %460 = getelementptr inbounds double, ptr %458, i64 %459
  %461 = load double, ptr %460, align 8, !tbaa !16
  %462 = load ptr, ptr %16, align 8, !tbaa !5
  %463 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %461, ptr noundef %462)
  %464 = getelementptr inbounds double, ptr %456, i64 %463
  %465 = load double, ptr %464, align 8, !tbaa !16
  %466 = load ptr, ptr %13, align 8, !tbaa !5
  %467 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %466, i32 0, i32 4
  %468 = load ptr, ptr %467, align 8, !tbaa !15
  %469 = load i64, ptr %20, align 8, !tbaa !9
  %470 = getelementptr inbounds double, ptr %468, i64 %469
  store double %465, ptr %470, align 8, !tbaa !16
  %471 = load ptr, ptr %10, align 8, !tbaa !5
  %472 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %471, i32 0, i32 4
  %473 = load ptr, ptr %472, align 8, !tbaa !15
  %474 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %475 = load ptr, ptr %474, align 8, !tbaa !15
  %476 = load i64, ptr %20, align 8, !tbaa !9
  %477 = getelementptr inbounds double, ptr %475, i64 %476
  %478 = load double, ptr %477, align 8, !tbaa !16
  %479 = load ptr, ptr %16, align 8, !tbaa !5
  %480 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %478, ptr noundef %479)
  %481 = getelementptr inbounds double, ptr %473, i64 %480
  %482 = load double, ptr %481, align 8, !tbaa !16
  %483 = load ptr, ptr %14, align 8, !tbaa !5
  %484 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %483, i32 0, i32 4
  %485 = load ptr, ptr %484, align 8, !tbaa !15
  %486 = load i64, ptr %20, align 8, !tbaa !9
  %487 = getelementptr inbounds double, ptr %485, i64 %486
  store double %482, ptr %487, align 8, !tbaa !16
  br label %488

488:                                              ; preds = %453
  %489 = load i64, ptr %20, align 8, !tbaa !9
  %490 = add nsw i64 %489, 1
  store i64 %490, ptr %20, align 8, !tbaa !9
  br label %448, !llvm.loop !24

491:                                              ; preds = %448
  %492 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %492)
  store i32 0, ptr %39, align 4
  br label %493

493:                                              ; preds = %491, %167, %74
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #4
  %494 = load i32, ptr %39, align 4
  switch i32 %494, label %496 [
    i32 0, label %495
    i32 1, label %495
  ]

495:                                              ; preds = %493, %493
  ret void

496:                                              ; preds = %493
  unreachable
}

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

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) #2

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

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) #2

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

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

declare void @_ZN11alglib_impl12tagsortfastrEPNS_9ae_vectorES1_S1_S1_lPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

declare noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare void @_ZN11alglib_impl18tagheapreplacetopiEPNS_9ae_vectorES1_ldlPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, double noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl12tagheappushiEPNS_9ae_vectorES1_PldlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, double noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl11tagsortfastEPNS_9ae_vectorES1_lPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

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


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

@.str.327 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.410 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.411 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.412 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.413 = external hidden unnamed_addr constant [43 x i8], align 1

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

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

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl29lstfitpiecewiselinearrdpfixedEPNS_9ae_vectorES1_llS1_S1_PlPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #3 {
  %9 = alloca %"struct.alglib_impl::ae_frame", align 8
  %10 = alloca %"struct.alglib_impl::ae_vector", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca i64, align 8
  %17 = alloca double, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %23) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %7, ptr noundef nonnull %9)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %10, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %14, i8 0, i64 80, 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) %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %23, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %10, ptr noundef %0, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %11, ptr noundef %1, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %4)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %5)
  store i64 0, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 3, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %7, 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 %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %22, i64 noundef 0, i64 noundef 3, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %23, i64 noundef 0, i64 noundef 2, ptr noundef %7, i1 noundef zeroext true)
  %24 = icmp sgt i64 %2, -1
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %24, ptr noundef nonnull @.str.410, ptr noundef %7)
  %25 = icmp sgt i64 %3, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %25, ptr noundef nonnull @.str.411, ptr noundef %7)
  %26 = load i64, ptr %10, align 8, !tbaa !9
  %27 = icmp sge i64 %26, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %27, ptr noundef nonnull @.str.412, ptr noundef %7)
  %28 = load i64, ptr %11, align 8, !tbaa !9
  %29 = icmp sge i64 %28, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %29, ptr noundef nonnull @.str.413, ptr noundef %7)
  %30 = icmp slt i64 %2, 2
  br i1 %30, label %._crit_edge192.sink.split, label %31

31:                                               ; preds = %8
  call void @_ZN11alglib_impl12tagsortfastrEPNS_9ae_vectorES1_S1_S1_lPNS_8ae_stateE(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i64 noundef %2, ptr noundef %7)
  %32 = add nsw i64 %2, -1
  %33 = getelementptr inbounds i8, ptr %11, i64 56
  %34 = getelementptr inbounds i8, ptr %10, i64 56
  br label %35

.loopexit:                                        ; preds = %.lr.ph176.prol.loopexit, %.lr.ph176, %.critedge
  %.not.not = icmp slt i64 %.0155.lcssa, %2
  br i1 %.not.not, label %35, label %77, !llvm.loop !14

35:                                               ; preds = %31, %.loopexit
  %.0151177 = phi i64 [ 0, %31 ], [ %.0155.lcssa, %.loopexit ]
  %36 = load ptr, ptr %33, align 8, !tbaa !16
  %37 = getelementptr inbounds double, ptr %36, i64 %.0151177
  %38 = load double, ptr %37, align 8, !tbaa !17
  %.0155163 = add nsw i64 %.0151177, 1
  %.not160.not164 = icmp slt i64 %.0151177, %32
  br i1 %.not160.not164, label %.lr.ph.preheader, label %.critedge

.lr.ph.preheader:                                 ; preds = %35
  %39 = load ptr, ptr %34, align 8, !tbaa !16
  %40 = getelementptr inbounds double, ptr %39, i64 %.0155163
  %41 = load double, ptr %40, align 8, !tbaa !17
  %42 = getelementptr inbounds double, ptr %39, i64 %.0151177
  %43 = load double, ptr %42, align 8, !tbaa !17
  %44 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %41, double noundef %43)
  br i1 %44, label %.lr.ph203, label %.critedge

.lr.ph:                                           ; preds = %.lr.ph203
  %45 = load ptr, ptr %34, align 8, !tbaa !16
  %46 = getelementptr inbounds double, ptr %45, i64 %.0155
  %47 = load double, ptr %46, align 8, !tbaa !17
  %48 = getelementptr inbounds double, ptr %45, i64 %.0151177
  %49 = load double, ptr %48, align 8, !tbaa !17
  %50 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %47, double noundef %49)
  br i1 %50, label %.lr.ph203, label %.critedge, !llvm.loop !19

.lr.ph203:                                        ; preds = %.lr.ph.preheader, %.lr.ph
  %.0166202 = phi double [ %54, %.lr.ph ], [ %38, %.lr.ph.preheader ]
  %.0155167201 = phi i64 [ %.0155, %.lr.ph ], [ %.0155163, %.lr.ph.preheader ]
  %51 = load ptr, ptr %33, align 8, !tbaa !16
  %52 = getelementptr inbounds double, ptr %51, i64 %.0155167201
  %53 = load double, ptr %52, align 8, !tbaa !17
  %54 = fadd double %.0166202, %53
  %.0155 = add i64 %.0155167201, 1
  %exitcond.not = icmp eq i64 %.0155, %2
  br i1 %exitcond.not, label %.critedge, label %.lr.ph, !llvm.loop !19

.critedge:                                        ; preds = %.lr.ph203, %.lr.ph, %.lr.ph.preheader, %35
  %.0155.in.lcssa = phi i64 [ %.0151177, %35 ], [ %.0151177, %.lr.ph.preheader ], [ %.0155167201, %.lr.ph ], [ %.0155167201, %.lr.ph203 ]
  %.0.lcssa = phi double [ %38, %35 ], [ %38, %.lr.ph.preheader ], [ %54, %.lr.ph ], [ %54, %.lr.ph203 ]
  %.0155.lcssa = phi i64 [ %.0155163, %35 ], [ %.0155163, %.lr.ph.preheader ], [ %.0155, %.lr.ph ], [ %2, %.lr.ph203 ]
  %55 = sub nsw i64 %.0155.lcssa, %.0151177
  %56 = sitofp i64 %55 to double
  %57 = fdiv double %.0.lcssa, %56
  %.not161174 = icmp sgt i64 %.0151177, %.0155.in.lcssa
  br i1 %.not161174, label %.loopexit, label %.lr.ph176.preheader

.lr.ph176.preheader:                              ; preds = %.critedge
  %58 = add i64 %.0155.in.lcssa, 1
  %59 = sub i64 %58, %.0151177
  %60 = sub i64 %.0155.in.lcssa, %.0151177
  %xtraiter = and i64 %59, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph176.prol.loopexit, label %.lr.ph176.prol

.lr.ph176.prol:                                   ; preds = %.lr.ph176.preheader, %.lr.ph176.prol
  %.0152175.prol = phi i64 [ %63, %.lr.ph176.prol ], [ %.0151177, %.lr.ph176.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph176.prol ], [ 0, %.lr.ph176.preheader ]
  %61 = load ptr, ptr %33, align 8, !tbaa !16
  %62 = getelementptr inbounds double, ptr %61, i64 %.0152175.prol
  store double %57, ptr %62, align 8, !tbaa !17
  %63 = add i64 %.0152175.prol, 1
  %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.ph176.prol.loopexit, label %.lr.ph176.prol, !llvm.loop !20

.lr.ph176.prol.loopexit:                          ; preds = %.lr.ph176.prol, %.lr.ph176.preheader
  %.0152175.unr = phi i64 [ %.0151177, %.lr.ph176.preheader ], [ %63, %.lr.ph176.prol ]
  %64 = icmp ult i64 %60, 3
  br i1 %64, label %.loopexit, label %.lr.ph176

.lr.ph176:                                        ; preds = %.lr.ph176.prol.loopexit, %.lr.ph176
  %.0152175 = phi i64 [ %76, %.lr.ph176 ], [ %.0152175.unr, %.lr.ph176.prol.loopexit ]
  %65 = load ptr, ptr %33, align 8, !tbaa !16
  %66 = getelementptr inbounds double, ptr %65, i64 %.0152175
  store double %57, ptr %66, align 8, !tbaa !17
  %67 = load ptr, ptr %33, align 8, !tbaa !16
  %68 = getelementptr double, ptr %67, i64 %.0152175
  %69 = getelementptr i8, ptr %68, i64 8
  store double %57, ptr %69, align 8, !tbaa !17
  %70 = load ptr, ptr %33, align 8, !tbaa !16
  %71 = getelementptr double, ptr %70, i64 %.0152175
  %72 = getelementptr i8, ptr %71, i64 16
  store double %57, ptr %72, align 8, !tbaa !17
  %73 = add i64 %.0152175, 3
  %74 = load ptr, ptr %33, align 8, !tbaa !16
  %75 = getelementptr inbounds double, ptr %74, i64 %73
  store double %57, ptr %75, align 8, !tbaa !17
  %76 = add i64 %.0152175, 4
  %exitcond195.not.3 = icmp eq i64 %73, %.0155.in.lcssa
  br i1 %exitcond195.not.3, label %.loopexit, label %.lr.ph176, !llvm.loop !22

77:                                               ; preds = %.loopexit
  %78 = load ptr, ptr %34, align 8, !tbaa !16
  %79 = getelementptr inbounds double, ptr %78, i64 %32
  %80 = load double, ptr %79, align 8, !tbaa !17
  %81 = load double, ptr %78, align 8, !tbaa !17
  %82 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %80, double noundef %81)
  br i1 %82, label %._crit_edge192.sink.split, label %83

83:                                               ; preds = %77
  call void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef nonnull %10, ptr noundef nonnull %11, i64 noundef 0, i64 noundef %32, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef %7)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %3, i64 noundef 4, ptr noundef %7)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %22, i64 noundef %3, ptr noundef %7)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %23, i64 noundef %3, ptr noundef %7)
  store i64 1, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %14, i64 72
  %85 = load ptr, ptr %84, align 8, !tbaa !16
  %86 = load ptr, ptr %85, align 8, !tbaa !23
  store double 0.000000e+00, ptr %86, align 8, !tbaa !17
  %87 = uitofp nneg i64 %32 to double
  %88 = load ptr, ptr %84, align 8, !tbaa !16
  %89 = load ptr, ptr %88, align 8, !tbaa !23
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  store double %87, ptr %90, align 8, !tbaa !17
  %91 = load i64, ptr %16, align 8, !tbaa !5
  %92 = sitofp i64 %91 to double
  %93 = load ptr, ptr %84, align 8, !tbaa !16
  %94 = load ptr, ptr %93, align 8, !tbaa !23
  %95 = getelementptr inbounds i8, ptr %94, i64 16
  store double %92, ptr %95, align 8, !tbaa !17
  %96 = load double, ptr %17, align 8, !tbaa !17
  %97 = load ptr, ptr %84, align 8, !tbaa !16
  %98 = load ptr, ptr %97, align 8, !tbaa !23
  %99 = getelementptr inbounds i8, ptr %98, i64 24
  store double %96, ptr %99, align 8, !tbaa !17
  %100 = getelementptr inbounds i8, ptr %22, i64 56
  %101 = load ptr, ptr %100, align 8, !tbaa !16
  store double %96, ptr %101, align 8, !tbaa !17
  %102 = getelementptr inbounds i8, ptr %23, i64 56
  %103 = load ptr, ptr %102, align 8, !tbaa !16
  store i64 0, ptr %103, align 8, !tbaa !5
  %104 = load ptr, ptr %84, align 8, !tbaa !16
  %105 = load ptr, ptr %104, align 8, !tbaa !23
  %106 = getelementptr inbounds i8, ptr %105, i64 8
  %107 = load double, ptr %106, align 8, !tbaa !17
  %108 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %107, double noundef %87)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %108, ptr noundef nonnull @.str.327, ptr noundef %7)
  %109 = load i64, ptr %6, align 8, !tbaa !5
  %110 = icmp slt i64 %109, %3
  br i1 %110, label %.lr.ph178, label %._crit_edge

.lr.ph178:                                        ; preds = %83, %114
  %111 = load ptr, ptr %100, align 8, !tbaa !16
  %112 = load double, ptr %111, align 8, !tbaa !17
  %113 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %112, double noundef 0.000000e+00)
  br i1 %113, label %.lr.ph178.._crit_edge.loopexit_crit_edge, label %114

.lr.ph178.._crit_edge.loopexit_crit_edge:         ; preds = %.lr.ph178
  %.pre.pre = load i64, ptr %6, align 8, !tbaa !5
  br label %._crit_edge

114:                                              ; preds = %.lr.ph178
  %115 = load ptr, ptr %102, align 8, !tbaa !16
  %116 = load i64, ptr %115, align 8, !tbaa !5
  %117 = load ptr, ptr %84, align 8, !tbaa !16
  %118 = getelementptr inbounds ptr, ptr %117, i64 %116
  %119 = load ptr, ptr %118, align 8, !tbaa !23
  %120 = load double, ptr %119, align 8, !tbaa !17
  %121 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %120, ptr noundef %7)
  %122 = load ptr, ptr %84, align 8, !tbaa !16
  %123 = getelementptr inbounds ptr, ptr %122, i64 %116
  %124 = load ptr, ptr %123, align 8, !tbaa !23
  %125 = getelementptr inbounds i8, ptr %124, i64 8
  %126 = load double, ptr %125, align 8, !tbaa !17
  %127 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %126, ptr noundef %7)
  %128 = load ptr, ptr %84, align 8, !tbaa !16
  %129 = getelementptr inbounds ptr, ptr %128, i64 %116
  %130 = load ptr, ptr %129, align 8, !tbaa !23
  %131 = getelementptr inbounds i8, ptr %130, i64 16
  %132 = load double, ptr %131, align 8, !tbaa !17
  %133 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %132, ptr noundef %7)
  call void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef nonnull %10, ptr noundef nonnull %11, i64 noundef %121, i64 noundef %133, ptr noundef nonnull %18, ptr noundef nonnull %20, ptr noundef %7)
  call void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef nonnull %10, ptr noundef nonnull %11, i64 noundef %133, i64 noundef %127, ptr noundef nonnull %19, ptr noundef nonnull %21, ptr noundef %7)
  %134 = sitofp i64 %121 to double
  %135 = load ptr, ptr %84, align 8, !tbaa !16
  %136 = getelementptr inbounds ptr, ptr %135, i64 %116
  %137 = load ptr, ptr %136, align 8, !tbaa !23
  store double %134, ptr %137, align 8, !tbaa !17
  %138 = sitofp i64 %133 to double
  %139 = load ptr, ptr %84, align 8, !tbaa !16
  %140 = getelementptr inbounds ptr, ptr %139, i64 %116
  %141 = load ptr, ptr %140, align 8, !tbaa !23
  %142 = getelementptr inbounds i8, ptr %141, i64 8
  store double %138, ptr %142, align 8, !tbaa !17
  %143 = load i64, ptr %18, align 8, !tbaa !5
  %144 = sitofp i64 %143 to double
  %145 = load ptr, ptr %84, align 8, !tbaa !16
  %146 = getelementptr inbounds ptr, ptr %145, i64 %116
  %147 = load ptr, ptr %146, align 8, !tbaa !23
  %148 = getelementptr inbounds i8, ptr %147, i64 16
  store double %144, ptr %148, align 8, !tbaa !17
  %149 = load double, ptr %20, align 8, !tbaa !17
  %150 = load ptr, ptr %84, align 8, !tbaa !16
  %151 = getelementptr inbounds ptr, ptr %150, i64 %116
  %152 = load ptr, ptr %151, align 8, !tbaa !23
  %153 = getelementptr inbounds i8, ptr %152, i64 24
  store double %149, ptr %153, align 8, !tbaa !17
  %154 = load i64, ptr %6, align 8, !tbaa !5
  call void @_ZN11alglib_impl18tagheapreplacetopiEPNS_9ae_vectorES1_ldlPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef nonnull %23, i64 noundef %154, double noundef %149, i64 noundef %116, ptr noundef %7)
  %155 = load ptr, ptr %84, align 8, !tbaa !16
  %156 = load i64, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds ptr, ptr %155, i64 %156
  %158 = load ptr, ptr %157, align 8, !tbaa !23
  store double %138, ptr %158, align 8, !tbaa !17
  %159 = sitofp i64 %127 to double
  %160 = load ptr, ptr %84, align 8, !tbaa !16
  %161 = getelementptr inbounds ptr, ptr %160, i64 %156
  %162 = load ptr, ptr %161, align 8, !tbaa !23
  %163 = getelementptr inbounds i8, ptr %162, i64 8
  store double %159, ptr %163, align 8, !tbaa !17
  %164 = load i64, ptr %19, align 8, !tbaa !5
  %165 = sitofp i64 %164 to double
  %166 = load ptr, ptr %84, align 8, !tbaa !16
  %167 = getelementptr inbounds ptr, ptr %166, i64 %156
  %168 = load ptr, ptr %167, align 8, !tbaa !23
  %169 = getelementptr inbounds i8, ptr %168, i64 16
  store double %165, ptr %169, align 8, !tbaa !17
  %170 = load double, ptr %21, align 8, !tbaa !17
  %171 = load ptr, ptr %84, align 8, !tbaa !16
  %172 = getelementptr inbounds ptr, ptr %171, i64 %156
  %173 = load ptr, ptr %172, align 8, !tbaa !23
  %174 = getelementptr inbounds i8, ptr %173, i64 24
  store double %170, ptr %174, align 8, !tbaa !17
  call void @_ZN11alglib_impl12tagheappushiEPNS_9ae_vectorES1_PldlPNS_8ae_stateE(ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %6, double noundef %170, i64 noundef %156, ptr noundef %7)
  %175 = load i64, ptr %6, align 8, !tbaa !5
  %176 = icmp slt i64 %175, %3
  br i1 %176, label %.lr.ph178, label %._crit_edge, !llvm.loop !24

._crit_edge:                                      ; preds = %114, %.lr.ph178.._crit_edge.loopexit_crit_edge, %83
  %177 = phi i64 [ %109, %83 ], [ %.pre.pre, %.lr.ph178.._crit_edge.loopexit_crit_edge ], [ %175, %114 ]
  %178 = add nsw i64 %177, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %178, ptr noundef %7)
  %179 = load ptr, ptr %84, align 8, !tbaa !16
  %180 = load ptr, ptr %179, align 8, !tbaa !23
  %181 = getelementptr inbounds i8, ptr %180, i64 8
  %182 = load double, ptr %181, align 8, !tbaa !17
  %183 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %182, ptr noundef %7)
  %184 = load i64, ptr %6, align 8, !tbaa !5
  %.not.not159180 = icmp sgt i64 %184, 0
  br i1 %.not.not159180, label %.lr.ph184, label %._crit_edge185

.lr.ph184:                                        ; preds = %._crit_edge
  %185 = getelementptr inbounds i8, ptr %15, i64 56
  br label %186

186:                                              ; preds = %.lr.ph184, %215
  %.1182 = phi i64 [ 0, %.lr.ph184 ], [ %216, %215 ]
  %.1153181 = phi i64 [ %183, %.lr.ph184 ], [ %.2154, %215 ]
  %187 = load ptr, ptr %84, align 8, !tbaa !16
  %188 = getelementptr inbounds ptr, ptr %187, i64 %.1182
  %189 = load ptr, ptr %188, align 8, !tbaa !23
  %190 = load double, ptr %189, align 8, !tbaa !17
  %191 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %190, ptr noundef %7)
  %192 = sitofp i64 %191 to double
  %193 = load ptr, ptr %185, align 8, !tbaa !16
  %194 = getelementptr inbounds double, ptr %193, i64 %.1182
  store double %192, ptr %194, align 8, !tbaa !17
  %195 = load ptr, ptr %34, align 8, !tbaa !16
  %196 = load ptr, ptr %84, align 8, !tbaa !16
  %197 = getelementptr inbounds ptr, ptr %196, i64 %.1182
  %198 = load ptr, ptr %197, align 8, !tbaa !23
  %199 = getelementptr inbounds i8, ptr %198, i64 8
  %200 = load double, ptr %199, align 8, !tbaa !17
  %201 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %200, ptr noundef %7)
  %202 = getelementptr inbounds double, ptr %195, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !17
  %204 = load ptr, ptr %34, align 8, !tbaa !16
  %205 = getelementptr inbounds double, ptr %204, i64 %.1153181
  %206 = load double, ptr %205, align 8, !tbaa !17
  %207 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %203, double noundef %206)
  br i1 %207, label %208, label %215

208:                                              ; preds = %186
  %209 = load ptr, ptr %84, align 8, !tbaa !16
  %210 = getelementptr inbounds ptr, ptr %209, i64 %.1182
  %211 = load ptr, ptr %210, align 8, !tbaa !23
  %212 = getelementptr inbounds i8, ptr %211, i64 8
  %213 = load double, ptr %212, align 8, !tbaa !17
  %214 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %213, ptr noundef %7)
  br label %215

215:                                              ; preds = %186, %208
  %.2154 = phi i64 [ %214, %208 ], [ %.1153181, %186 ]
  %216 = add nuw nsw i64 %.1182, 1
  %217 = load i64, ptr %6, align 8, !tbaa !5
  %.not.not159 = icmp slt i64 %216, %217
  br i1 %.not.not159, label %186, label %._crit_edge185, !llvm.loop !25

._crit_edge185:                                   ; preds = %215, %._crit_edge
  %.1153.lcssa = phi i64 [ %183, %._crit_edge ], [ %.2154, %215 ]
  %.lcssa = phi i64 [ %184, %._crit_edge ], [ %217, %215 ]
  %218 = sitofp i64 %.1153.lcssa to double
  %219 = getelementptr inbounds i8, ptr %15, i64 56
  %220 = load ptr, ptr %219, align 8, !tbaa !16
  %221 = getelementptr inbounds double, ptr %220, i64 %.lcssa
  store double %218, ptr %221, align 8, !tbaa !17
  %222 = add nsw i64 %.lcssa, 1
  call void @_ZN11alglib_impl11tagsortfastEPNS_9ae_vectorES1_lPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %12, i64 noundef %222, ptr noundef %7)
  %223 = load i64, ptr %6, align 8, !tbaa !5
  %224 = add nsw i64 %223, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %4, i64 noundef %224, ptr noundef %7)
  %225 = load i64, ptr %6, align 8, !tbaa !5
  %226 = add nsw i64 %225, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %5, i64 noundef %226, ptr noundef %7)
  %227 = load i64, ptr %6, align 8, !tbaa !5
  %.not188 = icmp slt i64 %227, 0
  br i1 %.not188, label %._crit_edge192, label %.lr.ph191

.lr.ph191:                                        ; preds = %._crit_edge185
  %228 = getelementptr inbounds i8, ptr %4, i64 56
  %229 = getelementptr inbounds i8, ptr %5, i64 56
  br label %230

230:                                              ; preds = %.lr.ph191, %230
  %.2189 = phi i64 [ 0, %.lr.ph191 ], [ %249, %230 ]
  %231 = load ptr, ptr %34, align 8, !tbaa !16
  %232 = load ptr, ptr %219, align 8, !tbaa !16
  %233 = getelementptr inbounds double, ptr %232, i64 %.2189
  %234 = load double, ptr %233, align 8, !tbaa !17
  %235 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %234, ptr noundef %7)
  %236 = getelementptr inbounds double, ptr %231, i64 %235
  %237 = load double, ptr %236, align 8, !tbaa !17
  %238 = load ptr, ptr %228, align 8, !tbaa !16
  %239 = getelementptr inbounds double, ptr %238, i64 %.2189
  store double %237, ptr %239, align 8, !tbaa !17
  %240 = load ptr, ptr %33, align 8, !tbaa !16
  %241 = load ptr, ptr %219, align 8, !tbaa !16
  %242 = getelementptr inbounds double, ptr %241, i64 %.2189
  %243 = load double, ptr %242, align 8, !tbaa !17
  %244 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %243, ptr noundef %7)
  %245 = getelementptr inbounds double, ptr %240, i64 %244
  %246 = load double, ptr %245, align 8, !tbaa !17
  %247 = load ptr, ptr %229, align 8, !tbaa !16
  %248 = getelementptr inbounds double, ptr %247, i64 %.2189
  store double %246, ptr %248, align 8, !tbaa !17
  %249 = add nuw nsw i64 %.2189, 1
  %250 = load i64, ptr %6, align 8, !tbaa !5
  %.not.not193 = icmp slt i64 %.2189, %250
  br i1 %.not.not193, label %230, label %._crit_edge192, !llvm.loop !26

._crit_edge192.sink.split:                        ; preds = %77, %8
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %._crit_edge192

._crit_edge192:                                   ; preds = %230, %._crit_edge192.sink.split, %._crit_edge185
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %7)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  ret void
}

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

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) local_unnamed_addr #2

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

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) local_unnamed_addr #2

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

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl12tagsortfastrEPNS_9ae_vectorES1_S1_S1_lPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl18tagheapreplacetopiEPNS_9ae_vectorES1_ldlPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, double noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl12tagheappushiEPNS_9ae_vectorES1_PldlPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, double noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl11tagsortfastEPNS_9ae_vectorES1_lPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL23lsfit_rdpanalyzesectionEPNS_9ae_vectorES1_llPlPdPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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


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