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

; 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::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }

@.str.178 = external hidden unnamed_addr constant [41 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
declare dso_local void @_ZN11alglib_impl15sparsecreatebufElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl19sparseconverttohashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca %"struct.alglib_impl::ae_vector", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  %9 = alloca %"struct.alglib_impl::ae_vector", align 8
  %10 = alloca %"struct.alglib_impl::ae_vector", align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %18, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 64, i1 false)
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %6, i64 noundef 0, i64 noundef 2, ptr noundef %19, i1 noundef zeroext true)
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %7, i64 noundef 0, i64 noundef 2, ptr noundef %20, i1 noundef zeroext true)
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %8, i64 noundef 0, i64 noundef 2, ptr noundef %21, i1 noundef zeroext true)
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %9, i64 noundef 0, i64 noundef 2, ptr noundef %22, i1 noundef zeroext true)
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %10, i64 noundef 0, i64 noundef 3, ptr noundef %23, i1 noundef zeroext true)
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %24, i32 0, i32 5
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = icmp eq i64 %26, 0
  br i1 %27, label %38, label %28

28:                                               ; preds = %2
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %29, i32 0, i32 5
  %31 = load i64, ptr %30, align 8, !tbaa !9
  %32 = icmp eq i64 %31, 1
  br i1 %32, label %38, label %33

33:                                               ; preds = %28
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %34, i32 0, i32 5
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 2
  br label %38

38:                                               ; preds = %33, %28, %2
  %39 = phi i1 [ true, %28 ], [ true, %2 ], [ %37, %33 ]
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef @.str.178, ptr noundef %40)
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %41, i32 0, i32 5
  %43 = load i64, ptr %42, align 8, !tbaa !9
  %44 = icmp eq i64 %43, 0
  br i1 %44, label %45, label %47

45:                                               ; preds = %38
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %46)
  store i32 1, ptr %17, align 4
  br label %247

47:                                               ; preds = %38
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %48, i32 0, i32 5
  %50 = load i64, ptr %49, align 8, !tbaa !9
  %51 = icmp eq i64 %50, 1
  br i1 %51, label %52, label %120

52:                                               ; preds = %47
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %53, i32 0, i32 5
  store i64 0, ptr %54, align 8, !tbaa !9
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %55, i32 0, i32 6
  %57 = load i64, ptr %56, align 8, !tbaa !15
  store i64 %57, ptr %12, align 8, !tbaa !16
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %58, i32 0, i32 7
  %60 = load i64, ptr %59, align 8, !tbaa !17
  store i64 %60, ptr %11, align 8, !tbaa !16
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %61, i32 0, i32 1
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef %62, ptr noundef %6)
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %63, i32 0, i32 2
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef %64, ptr noundef %7)
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %65, i32 0, i32 0
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef %66, ptr noundef %10)
  %67 = load i64, ptr %12, align 8, !tbaa !16
  %68 = load i64, ptr %11, align 8, !tbaa !16
  %69 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %70 = load ptr, ptr %69, align 8, !tbaa !18
  %71 = load i64, ptr %12, align 8, !tbaa !16
  %72 = getelementptr inbounds i64, ptr %70, i64 %71
  %73 = load i64, ptr %72, align 8, !tbaa !16
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl15sparsecreatebufElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %67, i64 noundef %68, i64 noundef %73, ptr noundef %74, ptr noundef %75)
  store i64 0, ptr %14, align 8, !tbaa !16
  br label %76

76:                                               ; preds = %115, %52
  %77 = load i64, ptr %14, align 8, !tbaa !16
  %78 = load i64, ptr %12, align 8, !tbaa !16
  %79 = sub nsw i64 %78, 1
  %80 = icmp sle i64 %77, %79
  br i1 %80, label %81, label %118

81:                                               ; preds = %76
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !18
  %84 = load i64, ptr %14, align 8, !tbaa !16
  %85 = getelementptr inbounds i64, ptr %83, i64 %84
  %86 = load i64, ptr %85, align 8, !tbaa !16
  store i64 %86, ptr %15, align 8, !tbaa !16
  br label %87

87:                                               ; preds = %111, %81
  %88 = load i64, ptr %15, align 8, !tbaa !16
  %89 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %90 = load ptr, ptr %89, align 8, !tbaa !18
  %91 = load i64, ptr %14, align 8, !tbaa !16
  %92 = add nsw i64 %91, 1
  %93 = getelementptr inbounds i64, ptr %90, i64 %92
  %94 = load i64, ptr %93, align 8, !tbaa !16
  %95 = sub nsw i64 %94, 1
  %96 = icmp sle i64 %88, %95
  br i1 %96, label %97, label %114

97:                                               ; preds = %87
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = load i64, ptr %14, align 8, !tbaa !16
  %100 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %101 = load ptr, ptr %100, align 8, !tbaa !18
  %102 = load i64, ptr %15, align 8, !tbaa !16
  %103 = getelementptr inbounds i64, ptr %101, i64 %102
  %104 = load i64, ptr %103, align 8, !tbaa !16
  %105 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %10, i32 0, i32 4
  %106 = load ptr, ptr %105, align 8, !tbaa !18
  %107 = load i64, ptr %15, align 8, !tbaa !16
  %108 = getelementptr inbounds double, ptr %106, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !19
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %98, i64 noundef %99, i64 noundef %104, double noundef %109, ptr noundef %110)
  br label %111

111:                                              ; preds = %97
  %112 = load i64, ptr %15, align 8, !tbaa !16
  %113 = add nsw i64 %112, 1
  store i64 %113, ptr %15, align 8, !tbaa !16
  br label %87, !llvm.loop !21

114:                                              ; preds = %87
  br label %115

115:                                              ; preds = %114
  %116 = load i64, ptr %14, align 8, !tbaa !16
  %117 = add nsw i64 %116, 1
  store i64 %117, ptr %14, align 8, !tbaa !16
  br label %76, !llvm.loop !23

118:                                              ; preds = %76
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %119)
  store i32 1, ptr %17, align 4
  br label %247

120:                                              ; preds = %47
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %121, i32 0, i32 5
  %123 = load i64, ptr %122, align 8, !tbaa !9
  %124 = icmp eq i64 %123, 2
  br i1 %124, label %125, label %244

125:                                              ; preds = %120
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %126, i32 0, i32 5
  store i64 0, ptr %127, align 8, !tbaa !9
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %128, i32 0, i32 6
  %130 = load i64, ptr %129, align 8, !tbaa !15
  store i64 %130, ptr %12, align 8, !tbaa !16
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %131, i32 0, i32 7
  %133 = load i64, ptr %132, align 8, !tbaa !17
  store i64 %133, ptr %11, align 8, !tbaa !16
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %134, i32 0, i32 2
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef %135, ptr noundef %7)
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %136, i32 0, i32 3
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef %137, ptr noundef %8)
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %138, i32 0, i32 4
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef %139, ptr noundef %9)
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %140, i32 0, i32 0
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef %141, ptr noundef %10)
  %142 = load i64, ptr %12, align 8, !tbaa !16
  %143 = load i64, ptr %11, align 8, !tbaa !16
  %144 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %145 = load ptr, ptr %144, align 8, !tbaa !18
  %146 = load i64, ptr %12, align 8, !tbaa !16
  %147 = getelementptr inbounds i64, ptr %145, i64 %146
  %148 = load i64, ptr %147, align 8, !tbaa !16
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl15sparsecreatebufElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %142, i64 noundef %143, i64 noundef %148, ptr noundef %149, ptr noundef %150)
  store i64 0, ptr %14, align 8, !tbaa !16
  br label %151

151:                                              ; preds = %239, %125
  %152 = load i64, ptr %14, align 8, !tbaa !16
  %153 = load i64, ptr %12, align 8, !tbaa !16
  %154 = sub nsw i64 %153, 1
  %155 = icmp sle i64 %152, %154
  br i1 %155, label %156, label %242

156:                                              ; preds = %151
  %157 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %158 = load ptr, ptr %157, align 8, !tbaa !18
  %159 = load i64, ptr %14, align 8, !tbaa !16
  %160 = getelementptr inbounds i64, ptr %158, i64 %159
  %161 = load i64, ptr %160, align 8, !tbaa !16
  store i64 %161, ptr %13, align 8, !tbaa !16
  %162 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %8, i32 0, i32 4
  %163 = load ptr, ptr %162, align 8, !tbaa !18
  %164 = load i64, ptr %14, align 8, !tbaa !16
  %165 = getelementptr inbounds i64, ptr %163, i64 %164
  %166 = load i64, ptr %165, align 8, !tbaa !16
  %167 = add nsw i64 %166, 1
  store i64 %167, ptr %16, align 8, !tbaa !16
  store i64 0, ptr %15, align 8, !tbaa !16
  br label %168

168:                                              ; preds = %193, %156
  %169 = load i64, ptr %15, align 8, !tbaa !16
  %170 = load i64, ptr %16, align 8, !tbaa !16
  %171 = sub nsw i64 %170, 1
  %172 = icmp sle i64 %169, %171
  br i1 %172, label %173, label %196

173:                                              ; preds = %168
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = load i64, ptr %14, align 8, !tbaa !16
  %176 = load i64, ptr %14, align 8, !tbaa !16
  %177 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %8, i32 0, i32 4
  %178 = load ptr, ptr %177, align 8, !tbaa !18
  %179 = load i64, ptr %14, align 8, !tbaa !16
  %180 = getelementptr inbounds i64, ptr %178, i64 %179
  %181 = load i64, ptr %180, align 8, !tbaa !16
  %182 = sub nsw i64 %176, %181
  %183 = load i64, ptr %15, align 8, !tbaa !16
  %184 = add nsw i64 %182, %183
  %185 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %10, i32 0, i32 4
  %186 = load ptr, ptr %185, align 8, !tbaa !18
  %187 = load i64, ptr %13, align 8, !tbaa !16
  %188 = load i64, ptr %15, align 8, !tbaa !16
  %189 = add nsw i64 %187, %188
  %190 = getelementptr inbounds double, ptr %186, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !19
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %174, i64 noundef %175, i64 noundef %184, double noundef %191, ptr noundef %192)
  br label %193

193:                                              ; preds = %173
  %194 = load i64, ptr %15, align 8, !tbaa !16
  %195 = add nsw i64 %194, 1
  store i64 %195, ptr %15, align 8, !tbaa !16
  br label %168, !llvm.loop !24

196:                                              ; preds = %168
  %197 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %198 = load ptr, ptr %197, align 8, !tbaa !18
  %199 = load i64, ptr %14, align 8, !tbaa !16
  %200 = getelementptr inbounds i64, ptr %198, i64 %199
  %201 = load i64, ptr %200, align 8, !tbaa !16
  %202 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %8, i32 0, i32 4
  %203 = load ptr, ptr %202, align 8, !tbaa !18
  %204 = load i64, ptr %14, align 8, !tbaa !16
  %205 = getelementptr inbounds i64, ptr %203, i64 %204
  %206 = load i64, ptr %205, align 8, !tbaa !16
  %207 = add nsw i64 %201, %206
  %208 = add nsw i64 %207, 1
  store i64 %208, ptr %13, align 8, !tbaa !16
  %209 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %9, i32 0, i32 4
  %210 = load ptr, ptr %209, align 8, !tbaa !18
  %211 = load i64, ptr %14, align 8, !tbaa !16
  %212 = getelementptr inbounds i64, ptr %210, i64 %211
  %213 = load i64, ptr %212, align 8, !tbaa !16
  store i64 %213, ptr %16, align 8, !tbaa !16
  store i64 0, ptr %15, align 8, !tbaa !16
  br label %214

214:                                              ; preds = %235, %196
  %215 = load i64, ptr %15, align 8, !tbaa !16
  %216 = load i64, ptr %16, align 8, !tbaa !16
  %217 = sub nsw i64 %216, 1
  %218 = icmp sle i64 %215, %217
  br i1 %218, label %219, label %238

219:                                              ; preds = %214
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = load i64, ptr %14, align 8, !tbaa !16
  %222 = load i64, ptr %16, align 8, !tbaa !16
  %223 = sub nsw i64 %221, %222
  %224 = load i64, ptr %15, align 8, !tbaa !16
  %225 = add nsw i64 %223, %224
  %226 = load i64, ptr %14, align 8, !tbaa !16
  %227 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %10, i32 0, i32 4
  %228 = load ptr, ptr %227, align 8, !tbaa !18
  %229 = load i64, ptr %13, align 8, !tbaa !16
  %230 = load i64, ptr %15, align 8, !tbaa !16
  %231 = add nsw i64 %229, %230
  %232 = getelementptr inbounds double, ptr %228, i64 %231
  %233 = load double, ptr %232, align 8, !tbaa !19
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %220, i64 noundef %225, i64 noundef %226, double noundef %233, ptr noundef %234)
  br label %235

235:                                              ; preds = %219
  %236 = load i64, ptr %15, align 8, !tbaa !16
  %237 = add nsw i64 %236, 1
  store i64 %237, ptr %15, align 8, !tbaa !16
  br label %214, !llvm.loop !25

238:                                              ; preds = %214
  br label %239

239:                                              ; preds = %238
  %240 = load i64, ptr %14, align 8, !tbaa !16
  %241 = add nsw i64 %240, 1
  store i64 %241, ptr %14, align 8, !tbaa !16
  br label %151, !llvm.loop !26

242:                                              ; preds = %151
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %243)
  store i32 1, ptr %17, align 4
  br label %247

244:                                              ; preds = %120
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.178, ptr noundef %245)
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %246)
  store i32 0, ptr %17, align 4
  br label %247

247:                                              ; preds = %244, %242, %118, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #4
  %248 = load i32, ptr %17, align 4
  switch i32 %248, label %250 [
    i32 0, label %249
    i32 1, label %249
  ]

249:                                              ; preds = %247, %247
  ret void

250:                                              ; preds = %247
  unreachable
}

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

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr 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_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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, !12, i64 320}
!10 = !{!"_ZTSN11alglib_impl12sparsematrixE", !11, i64 0, !11, i64 64, !11, i64 128, !11, i64 192, !11, i64 256, !12, i64 320, !12, i64 328, !12, i64 336, !12, i64 344, !12, i64 352, !12, i64 360}
!11 = !{!"_ZTSN11alglib_impl9ae_vectorE", !12, i64 0, !12, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!12 = !{!"long", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!10, !12, i64 328}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !12, i64 336}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}


; 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 }

@.str.178 = external hidden unnamed_addr constant [41 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
declare dso_local void @_ZN11alglib_impl15sparsecreatebufElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl19sparseconverttohashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #3 {
switch.edge:
  %2 = alloca %"struct.alglib_impl::ae_frame", align 8
  %3 = alloca %"struct.alglib_impl::ae_vector", align 8
  %4 = alloca %"struct.alglib_impl::ae_vector", align 8
  %5 = alloca %"struct.alglib_impl::ae_vector", align 8
  %6 = alloca %"struct.alglib_impl::ae_vector", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %2)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %3, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %4, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %5, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %6, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %3, i64 noundef 0, i64 noundef 2, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %4, i64 noundef 0, i64 noundef 2, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %5, i64 noundef 0, i64 noundef 2, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 2, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  %8 = getelementptr inbounds i8, ptr %0, i64 320
  %9 = load i64, ptr %8, align 8, !tbaa !5
  %switch = icmp ult i64 %9, 3
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %switch, ptr noundef nonnull @.str.178, ptr noundef %1)
  %10 = load i64, ptr %8, align 8, !tbaa !5
  switch i64 %10, label %90 [
    i64 0, label %._crit_edge110
    i64 1, label %11
    i64 2, label %42
  ]

11:                                               ; preds = %switch.edge
  store i64 0, ptr %8, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 328
  %13 = load i64, ptr %12, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %0, i64 336
  %15 = load i64, ptr %14, align 8, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %0, i64 64
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef nonnull %16, ptr noundef nonnull %3)
  %17 = getelementptr inbounds i8, ptr %0, i64 128
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef nonnull %17, ptr noundef nonnull %4)
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef nonnull %0, ptr noundef nonnull %7)
  %18 = getelementptr inbounds i8, ptr %4, i64 56
  %19 = load ptr, ptr %18, align 8, !tbaa !16
  %20 = getelementptr inbounds i64, ptr %19, i64 %13
  %21 = load i64, ptr %20, align 8, !tbaa !17
  call void @_ZN11alglib_impl15sparsecreatebufElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %13, i64 noundef %15, i64 noundef %21, ptr noundef nonnull %0, ptr noundef %1)
  %.not87.not106 = icmp sgt i64 %13, 0
  br i1 %.not87.not106, label %.lr.ph109, label %._crit_edge110

.lr.ph109:                                        ; preds = %11
  %22 = getelementptr inbounds i8, ptr %3, i64 56
  %23 = getelementptr inbounds i8, ptr %7, i64 56
  %.pre119 = load ptr, ptr %18, align 8, !tbaa !16
  br label %25

.loopexit:                                        ; preds = %.lr.ph105, %25
  %24 = phi ptr [ %26, %25 ], [ %39, %.lr.ph105 ]
  %exitcond114.not = icmp eq i64 %29, %13
  br i1 %exitcond114.not, label %._crit_edge110, label %25, !llvm.loop !18

25:                                               ; preds = %.lr.ph109, %.loopexit
  %26 = phi ptr [ %.pre119, %.lr.ph109 ], [ %24, %.loopexit ]
  %.082107 = phi i64 [ 0, %.lr.ph109 ], [ %29, %.loopexit ]
  %27 = getelementptr inbounds i64, ptr %26, i64 %.082107
  %28 = load i64, ptr %27, align 8, !tbaa !17
  %29 = add nuw nsw i64 %.082107, 1
  %30 = getelementptr inbounds i64, ptr %26, i64 %29
  %31 = load i64, ptr %30, align 8, !tbaa !17
  %.not88.not102 = icmp slt i64 %28, %31
  br i1 %.not88.not102, label %.lr.ph105, label %.loopexit

.lr.ph105:                                        ; preds = %25, %.lr.ph105
  %.0103 = phi i64 [ %38, %.lr.ph105 ], [ %28, %25 ]
  %32 = load ptr, ptr %22, align 8, !tbaa !16
  %33 = getelementptr inbounds i64, ptr %32, i64 %.0103
  %34 = load i64, ptr %33, align 8, !tbaa !17
  %35 = load ptr, ptr %23, align 8, !tbaa !16
  %36 = getelementptr inbounds double, ptr %35, i64 %.0103
  %37 = load double, ptr %36, align 8, !tbaa !20
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %0, i64 noundef %.082107, i64 noundef %34, double noundef %37, ptr noundef %1)
  %38 = add nsw i64 %.0103, 1
  %39 = load ptr, ptr %18, align 8, !tbaa !16
  %40 = getelementptr inbounds i64, ptr %39, i64 %29
  %41 = load i64, ptr %40, align 8, !tbaa !17
  %.not88.not = icmp slt i64 %38, %41
  br i1 %.not88.not, label %.lr.ph105, label %.loopexit, !llvm.loop !22

42:                                               ; preds = %switch.edge
  store i64 0, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %0, i64 328
  %44 = load i64, ptr %43, align 8, !tbaa !14
  %45 = getelementptr inbounds i8, ptr %0, i64 336
  %46 = load i64, ptr %45, align 8, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %0, i64 128
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef nonnull %47, ptr noundef nonnull %4)
  %48 = getelementptr inbounds i8, ptr %0, i64 192
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef nonnull %48, ptr noundef nonnull %5)
  %49 = getelementptr inbounds i8, ptr %0, i64 256
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef nonnull %49, ptr noundef nonnull %6)
  call void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef nonnull %0, ptr noundef nonnull %7)
  %50 = getelementptr inbounds i8, ptr %4, i64 56
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %52 = getelementptr inbounds i64, ptr %51, i64 %44
  %53 = load i64, ptr %52, align 8, !tbaa !17
  call void @_ZN11alglib_impl15sparsecreatebufElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %44, i64 noundef %46, i64 noundef %53, ptr noundef nonnull %0, ptr noundef %1)
  %.not.not97 = icmp sgt i64 %44, 0
  br i1 %.not.not97, label %.lr.ph100, label %._crit_edge110

.lr.ph100:                                        ; preds = %42
  %54 = getelementptr inbounds i8, ptr %5, i64 56
  %55 = getelementptr inbounds i8, ptr %7, i64 56
  %56 = getelementptr inbounds i8, ptr %6, i64 56
  br label %57

57:                                               ; preds = %.lr.ph100, %._crit_edge96
  %.18398 = phi i64 [ 0, %.lr.ph100 ], [ %89, %._crit_edge96 ]
  %58 = load ptr, ptr %50, align 8, !tbaa !16
  %59 = getelementptr inbounds i64, ptr %58, i64 %.18398
  %60 = load i64, ptr %59, align 8, !tbaa !17
  %61 = load ptr, ptr %54, align 8, !tbaa !16
  %62 = getelementptr inbounds i64, ptr %61, i64 %.18398
  %63 = load i64, ptr %62, align 8, !tbaa !17
  %.not90 = icmp slt i64 %63, 0
  br i1 %.not90, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %57, %.lr.ph
  %.191 = phi i64 [ %73, %.lr.ph ], [ 0, %57 ]
  %64 = load ptr, ptr %54, align 8, !tbaa !16
  %65 = getelementptr inbounds i64, ptr %64, i64 %.18398
  %66 = load i64, ptr %65, align 8, !tbaa !17
  %67 = add nuw i64 %.191, %.18398
  %68 = sub i64 %67, %66
  %69 = load ptr, ptr %55, align 8, !tbaa !16
  %70 = getelementptr double, ptr %69, i64 %60
  %71 = getelementptr double, ptr %70, i64 %.191
  %72 = load double, ptr %71, align 8, !tbaa !20
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %0, i64 noundef %.18398, i64 noundef %68, double noundef %72, ptr noundef %1)
  %73 = add nuw i64 %.191, 1
  %exitcond.not = icmp eq i64 %.191, %63
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !23

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load ptr, ptr %50, align 8, !tbaa !16
  %.phi.trans.insert = getelementptr inbounds i64, ptr %.pre, i64 %.18398
  %.pre115 = load i64, ptr %.phi.trans.insert, align 8, !tbaa !17
  %.pre116 = load ptr, ptr %54, align 8, !tbaa !16
  %.phi.trans.insert117 = getelementptr inbounds i64, ptr %.pre116, i64 %.18398
  %.pre118 = load i64, ptr %.phi.trans.insert117, align 8, !tbaa !17
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %57
  %74 = phi i64 [ %.pre118, %._crit_edge.loopexit ], [ %63, %57 ]
  %75 = phi i64 [ %.pre115, %._crit_edge.loopexit ], [ %60, %57 ]
  %76 = load ptr, ptr %56, align 8, !tbaa !16
  %77 = getelementptr inbounds i64, ptr %76, i64 %.18398
  %78 = load i64, ptr %77, align 8, !tbaa !17
  %.not86.not92 = icmp sgt i64 %78, 0
  br i1 %.not86.not92, label %.lr.ph95, label %._crit_edge96

.lr.ph95:                                         ; preds = %._crit_edge
  %79 = sub nsw i64 %.18398, %78
  br label %80

80:                                               ; preds = %.lr.ph95, %80
  %.293 = phi i64 [ 0, %.lr.ph95 ], [ %88, %80 ]
  %81 = add nsw i64 %79, %.293
  %82 = load ptr, ptr %55, align 8, !tbaa !16
  %83 = getelementptr double, ptr %82, i64 %75
  %84 = getelementptr double, ptr %83, i64 %74
  %85 = getelementptr i8, ptr %84, i64 8
  %86 = getelementptr double, ptr %85, i64 %.293
  %87 = load double, ptr %86, align 8, !tbaa !20
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %0, i64 noundef %81, i64 noundef %.18398, double noundef %87, ptr noundef %1)
  %88 = add nuw nsw i64 %.293, 1
  %exitcond112.not = icmp eq i64 %88, %78
  br i1 %exitcond112.not, label %._crit_edge96, label %80, !llvm.loop !24

._crit_edge96:                                    ; preds = %80, %._crit_edge
  %89 = add nuw nsw i64 %.18398, 1
  %exitcond113.not = icmp eq i64 %89, %44
  br i1 %exitcond113.not, label %._crit_edge110, label %57, !llvm.loop !25

90:                                               ; preds = %switch.edge
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.178, ptr noundef %1)
  br label %._crit_edge110

._crit_edge110:                                   ; preds = %._crit_edge96, %.loopexit, %42, %11, %switch.edge, %90
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
  ret void
}

declare void @_ZN11alglib_impl15ae_swap_vectorsEPNS_9ae_vectorES1_(ptr noundef, ptr noundef) 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_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_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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, !8, i64 320}
!6 = !{!"_ZTSN11alglib_impl12sparsematrixE", !7, i64 0, !7, i64 64, !7, i64 128, !7, i64 192, !7, i64 256, !8, i64 320, !8, i64 328, !8, i64 336, !8, i64 344, !8, i64 352, !8, i64 360}
!7 = !{!"_ZTSN11alglib_impl9ae_vectorE", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !9, i64 56}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!6, !8, i64 328}
!15 = !{!6, !8, i64 336}
!16 = !{!9, !9, i64 0}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !9, i64 0}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}


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